From 2c8bfa1277094260cf9d4b8a7b97aefa928d7d0f Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Mon, 22 Jun 2020 14:19:06 -0700 Subject: [PATCH 01/36] Don't redact Key Vault header values in logs (#12077) --- sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md | 2 ++ .../azure/keyvault/certificates/_shared/client_base.py | 4 +++- sdk/keyvault/azure-keyvault-keys/CHANGELOG.md | 2 ++ .../azure/keyvault/keys/_shared/client_base.py | 4 +++- sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md | 2 ++ .../azure/keyvault/secrets/_shared/client_base.py | 4 +++- 6 files changed, 15 insertions(+), 3 deletions(-) diff --git a/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md b/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md index cfcc7560a734..b283fa6eae23 100644 --- a/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-certificates/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History ## 4.2.0b2 (Unreleased) +- Values of `x-ms-keyvault-region` and `x-ms-keyvault-service-version` headers + are no longer redacted in logging output. - Updated minimum `azure-core` version to 1.4.0 ## 4.2.0b1 (2020-03-10) diff --git a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/client_base.py b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/client_base.py index b1e1a2e997d2..6fccbaf5780e 100644 --- a/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/client_base.py +++ b/sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/_shared/client_base.py @@ -27,7 +27,9 @@ def _get_policies(config, **kwargs): logging_policy = HttpLoggingPolicy(**kwargs) - logging_policy.allowed_header_names.add("x-ms-keyvault-network-info") + logging_policy.allowed_header_names.update( + {"x-ms-keyvault-network-info", "x-ms-keyvault-region", "x-ms-keyvault-service-version"} + ) return [ config.headers_policy, diff --git a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md index 09e6365abe27..03d3eae08261 100644 --- a/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-keys/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History ## 4.2.0b2 (Unreleased) +- Values of `x-ms-keyvault-region` and `x-ms-keyvault-service-version` headers + are no longer redacted in logging output. - Updated minimum `azure-core` version to 1.4.0 - `CryptographyClient` will no longer perform encrypt or wrap operations when its key has expired or is not yet valid. diff --git a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/client_base.py b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/client_base.py index b1e1a2e997d2..6fccbaf5780e 100644 --- a/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/client_base.py +++ b/sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/_shared/client_base.py @@ -27,7 +27,9 @@ def _get_policies(config, **kwargs): logging_policy = HttpLoggingPolicy(**kwargs) - logging_policy.allowed_header_names.add("x-ms-keyvault-network-info") + logging_policy.allowed_header_names.update( + {"x-ms-keyvault-network-info", "x-ms-keyvault-region", "x-ms-keyvault-service-version"} + ) return [ config.headers_policy, diff --git a/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md b/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md index 206b9feea689..f13360a8f8b6 100644 --- a/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md +++ b/sdk/keyvault/azure-keyvault-secrets/CHANGELOG.md @@ -1,6 +1,8 @@ # Release History ## 4.2.0b2 (Unreleased) +- Values of `x-ms-keyvault-region` and `x-ms-keyvault-service-version` headers + are no longer redacted in logging output. - Updated minimum `azure-core` version to 1.4.0 ## 4.2.0b1 (2020-03-10) diff --git a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/client_base.py b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/client_base.py index b1e1a2e997d2..6fccbaf5780e 100644 --- a/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/client_base.py +++ b/sdk/keyvault/azure-keyvault-secrets/azure/keyvault/secrets/_shared/client_base.py @@ -27,7 +27,9 @@ def _get_policies(config, **kwargs): logging_policy = HttpLoggingPolicy(**kwargs) - logging_policy.allowed_header_names.add("x-ms-keyvault-network-info") + logging_policy.allowed_header_names.update( + {"x-ms-keyvault-network-info", "x-ms-keyvault-region", "x-ms-keyvault-service-version"} + ) return [ config.headers_policy, From 18f13aa2208b03fddc98b2636f1456adef345c3b Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Mon, 22 Jun 2020 15:39:17 -0700 Subject: [PATCH 02/36] Custom Vision Training: release_3_3 Prediction: release_3_1 (#12105) * Regenerate latest Custom Vision * Packaging --- .../CHANGELOG.md | 32 +- .../customvision/prediction/_configuration.py | 2 +- .../_custom_vision_prediction_client.py | 2 +- .../prediction/models/__init__.py | 2 + .../_custom_vision_prediction_client_enums.py | 25 ++ .../customvision/prediction/models/_models.py | 50 ++- .../prediction/models/_models_py3.py | 50 ++- ...tom_vision_prediction_client_operations.py | 140 +++--- .../customvision/training/_configuration.py | 2 +- .../_custom_vision_training_client.py | 3 +- .../customvision/training/models/__init__.py | 10 +- .../_custom_vision_training_client_enums.py | 30 +- .../customvision/training/models/_models.py | 155 ++++++- .../training/models/_models_py3.py | 161 +++++-- ...ustom_vision_training_client_operations.py | 404 ++++++++++++++++-- .../vision/customvision/version.py | 2 +- 16 files changed, 874 insertions(+), 196 deletions(-) diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md index bb340557b7f5..6101c87517a0 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md @@ -1,5 +1,35 @@ # Release History +## 3.0.0 (2020-06-22) + +*Training 3.3* + +**Features** + + - Model ImageUrlCreateBatch has a new parameter metadata + - Model ImageIdCreateBatch has a new parameter metadata + - Model Prediction has a new parameter tag_type + - Model ImageFileCreateBatch has a new parameter metadata + - Model Image has a new parameter metadata + - Added operation get_images + - Added operation update_image_metadata + - Added operation get_artifact + - Added operation get_image_count + +**Breaking changes** + + - Operation import_project has a new signature + - Operation publish_iteration has a new signature + - Operation create_images_from_files has a new signature + - Operation create_images_from_urls has a new signature + - Operation create_images_from_predictions has a new signature + +*Prediction 3.1* + +**Features** + + - Model Prediction has a new parameter tag_type + ## 2.0.0 (2020-05-14) **Features** @@ -21,7 +51,7 @@ **Breaking changes** -- Credentials are now longer a simple string, but a `msrest.authentication.ApiKeyCredentials` instance instead +- Credentials are now longer a simple string, but a `msrest.authentication.ApiKeyCredentials` instance instead **General Breaking changes** diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/_configuration.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/_configuration.py index 17c83361819f..da2695822d5b 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/_configuration.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/_configuration.py @@ -33,7 +33,7 @@ def __init__( raise ValueError("Parameter 'endpoint' must not be None.") if credentials is None: raise ValueError("Parameter 'credentials' must not be None.") - base_url = '{Endpoint}/customvision/v3.0/prediction' + base_url = '{Endpoint}/customvision/v3.1/prediction' super(CustomVisionPredictionClientConfiguration, self).__init__(base_url) diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/_custom_vision_prediction_client.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/_custom_vision_prediction_client.py index abfb4a51227f..74d0c50ec5cf 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/_custom_vision_prediction_client.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/_custom_vision_prediction_client.py @@ -37,7 +37,7 @@ def __init__( super(CustomVisionPredictionClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '3.0' + self.api_version = '3.1' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/__init__.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/__init__.py index d654981d00aa..3ec9e2927bba 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/__init__.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/__init__.py @@ -23,6 +23,7 @@ from ._models import Prediction from ._custom_vision_prediction_client_enums import ( CustomVisionErrorCodes, + TagType, ) __all__ = [ @@ -32,4 +33,5 @@ 'ImageUrl', 'Prediction', 'CustomVisionErrorCodes', + 'TagType', ] diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_custom_vision_prediction_client_enums.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_custom_vision_prediction_client_enums.py index cf908ce921ee..2282b02c977c 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_custom_vision_prediction_client_enums.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_custom_vision_prediction_client_enums.py @@ -26,10 +26,13 @@ class CustomVisionErrorCodes(str, Enum): bad_request_project_unknown_classification = "BadRequestProjectUnknownClassification" bad_request_project_unsupported_domain_type_change = "BadRequestProjectUnsupportedDomainTypeChange" bad_request_project_unsupported_export_platform = "BadRequestProjectUnsupportedExportPlatform" + bad_request_project_image_preprocessing_settings = "BadRequestProjectImagePreprocessingSettings" + bad_request_project_duplicated = "BadRequestProjectDuplicated" bad_request_iteration_name = "BadRequestIterationName" bad_request_iteration_name_not_unique = "BadRequestIterationNameNotUnique" bad_request_iteration_description = "BadRequestIterationDescription" bad_request_iteration_is_not_trained = "BadRequestIterationIsNotTrained" + bad_request_iteration_validation_failed = "BadRequestIterationValidationFailed" bad_request_workspace_cannot_be_modified = "BadRequestWorkspaceCannotBeModified" bad_request_workspace_not_deletable = "BadRequestWorkspaceNotDeletable" bad_request_tag_name = "BadRequestTagName" @@ -37,14 +40,17 @@ class CustomVisionErrorCodes(str, Enum): bad_request_tag_description = "BadRequestTagDescription" bad_request_tag_type = "BadRequestTagType" bad_request_multiple_negative_tag = "BadRequestMultipleNegativeTag" + bad_request_multiple_general_product_tag = "BadRequestMultipleGeneralProductTag" bad_request_image_tags = "BadRequestImageTags" bad_request_image_regions = "BadRequestImageRegions" bad_request_negative_and_regular_tag_on_same_image = "BadRequestNegativeAndRegularTagOnSameImage" + bad_request_unsupported_domain = "BadRequestUnsupportedDomain" bad_request_required_param_is_null = "BadRequestRequiredParamIsNull" bad_request_iteration_is_published = "BadRequestIterationIsPublished" bad_request_invalid_publish_name = "BadRequestInvalidPublishName" bad_request_invalid_publish_target = "BadRequestInvalidPublishTarget" bad_request_unpublish_failed = "BadRequestUnpublishFailed" + bad_request_iteration_not_published = "BadRequestIterationNotPublished" bad_request_subscription_api = "BadRequestSubscriptionApi" bad_request_exceed_project_limit = "BadRequestExceedProjectLimit" bad_request_exceed_iteration_per_project_limit = "BadRequestExceedIterationPerProjectLimit" @@ -58,6 +64,7 @@ class CustomVisionErrorCodes(str, Enum): bad_request_image_url = "BadRequestImageUrl" bad_request_image_format = "BadRequestImageFormat" bad_request_image_size_bytes = "BadRequestImageSizeBytes" + bad_request_image_dimensions = "BadRequestImageDimensions" bad_request_image_exceeded_count = "BadRequestImageExceededCount" bad_request_training_not_needed = "BadRequestTrainingNotNeeded" bad_request_training_not_needed_but_training_pipeline_updated = "BadRequestTrainingNotNeededButTrainingPipelineUpdated" @@ -80,6 +87,13 @@ class CustomVisionErrorCodes(str, Enum): bad_request_prediction_results_exceeded_count = "BadRequestPredictionResultsExceededCount" bad_request_prediction_invalid_application_name = "BadRequestPredictionInvalidApplicationName" bad_request_prediction_invalid_query_parameters = "BadRequestPredictionInvalidQueryParameters" + bad_request_invalid_import_token = "BadRequestInvalidImportToken" + bad_request_export_while_training = "BadRequestExportWhileTraining" + bad_request_image_metadata_key = "BadRequestImageMetadataKey" + bad_request_image_metadata_value = "BadRequestImageMetadataValue" + bad_request_operation_not_supported = "BadRequestOperationNotSupported" + bad_request_invalid_artifact_uri = "BadRequestInvalidArtifactUri" + bad_request_customer_managed_key_revoked = "BadRequestCustomerManagedKeyRevoked" bad_request_invalid = "BadRequestInvalid" unsupported_media_type = "UnsupportedMediaType" forbidden = "Forbidden" @@ -105,10 +119,13 @@ class CustomVisionErrorCodes(str, Enum): conflict = "Conflict" conflict_invalid = "ConflictInvalid" error_unknown = "ErrorUnknown" + error_iteration_copy_failed = "ErrorIterationCopyFailed" + error_prepare_performance_migration_failed = "ErrorPreparePerformanceMigrationFailed" error_project_invalid_workspace = "ErrorProjectInvalidWorkspace" error_project_invalid_pipeline_configuration = "ErrorProjectInvalidPipelineConfiguration" error_project_invalid_domain = "ErrorProjectInvalidDomain" error_project_training_request_failed = "ErrorProjectTrainingRequestFailed" + error_project_import_request_failed = "ErrorProjectImportRequestFailed" error_project_export_request_failed = "ErrorProjectExportRequestFailed" error_featurization_service_unavailable = "ErrorFeaturizationServiceUnavailable" error_featurization_queue_timeout = "ErrorFeaturizationQueueTimeout" @@ -125,4 +142,12 @@ class CustomVisionErrorCodes(str, Enum): error_prediction = "ErrorPrediction" error_prediction_storage = "ErrorPredictionStorage" error_region_proposal = "ErrorRegionProposal" + error_unknown_base_model = "ErrorUnknownBaseModel" error_invalid = "ErrorInvalid" + + +class TagType(str, Enum): + + regular = "Regular" + negative = "Negative" + general_product = "GeneralProduct" diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_models.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_models.py index 6c4860c8748c..b245eba70734 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_models.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_models.py @@ -62,25 +62,29 @@ class CustomVisionError(Model): 'BadRequestProjectUnknownDomain', 'BadRequestProjectUnknownClassification', 'BadRequestProjectUnsupportedDomainTypeChange', - 'BadRequestProjectUnsupportedExportPlatform', 'BadRequestIterationName', + 'BadRequestProjectUnsupportedExportPlatform', + 'BadRequestProjectImagePreprocessingSettings', + 'BadRequestProjectDuplicated', 'BadRequestIterationName', 'BadRequestIterationNameNotUnique', 'BadRequestIterationDescription', - 'BadRequestIterationIsNotTrained', 'BadRequestWorkspaceCannotBeModified', - 'BadRequestWorkspaceNotDeletable', 'BadRequestTagName', - 'BadRequestTagNameNotUnique', 'BadRequestTagDescription', - 'BadRequestTagType', 'BadRequestMultipleNegativeTag', + 'BadRequestIterationIsNotTrained', 'BadRequestIterationValidationFailed', + 'BadRequestWorkspaceCannotBeModified', 'BadRequestWorkspaceNotDeletable', + 'BadRequestTagName', 'BadRequestTagNameNotUnique', + 'BadRequestTagDescription', 'BadRequestTagType', + 'BadRequestMultipleNegativeTag', 'BadRequestMultipleGeneralProductTag', 'BadRequestImageTags', 'BadRequestImageRegions', 'BadRequestNegativeAndRegularTagOnSameImage', - 'BadRequestRequiredParamIsNull', 'BadRequestIterationIsPublished', - 'BadRequestInvalidPublishName', 'BadRequestInvalidPublishTarget', - 'BadRequestUnpublishFailed', 'BadRequestSubscriptionApi', + 'BadRequestUnsupportedDomain', 'BadRequestRequiredParamIsNull', + 'BadRequestIterationIsPublished', 'BadRequestInvalidPublishName', + 'BadRequestInvalidPublishTarget', 'BadRequestUnpublishFailed', + 'BadRequestIterationNotPublished', 'BadRequestSubscriptionApi', 'BadRequestExceedProjectLimit', 'BadRequestExceedIterationPerProjectLimit', 'BadRequestExceedTagPerProjectLimit', 'BadRequestExceedTagPerImageLimit', 'BadRequestExceededQuota', 'BadRequestCannotMigrateProjectWithName', 'BadRequestNotLimitedTrial', 'BadRequestImageBatch', 'BadRequestImageStream', 'BadRequestImageUrl', 'BadRequestImageFormat', - 'BadRequestImageSizeBytes', 'BadRequestImageExceededCount', - 'BadRequestTrainingNotNeeded', + 'BadRequestImageSizeBytes', 'BadRequestImageDimensions', + 'BadRequestImageExceededCount', 'BadRequestTrainingNotNeeded', 'BadRequestTrainingNotNeededButTrainingPipelineUpdated', 'BadRequestTrainingValidationFailed', 'BadRequestClassificationTrainingValidationFailed', @@ -98,7 +102,11 @@ class CustomVisionError(Model): 'BadRequestPredictionTagsExceededCount', 'BadRequestPredictionResultsExceededCount', 'BadRequestPredictionInvalidApplicationName', - 'BadRequestPredictionInvalidQueryParameters', 'BadRequestInvalid', + 'BadRequestPredictionInvalidQueryParameters', + 'BadRequestInvalidImportToken', 'BadRequestExportWhileTraining', + 'BadRequestImageMetadataKey', 'BadRequestImageMetadataValue', + 'BadRequestOperationNotSupported', 'BadRequestInvalidArtifactUri', + 'BadRequestCustomerManagedKeyRevoked', 'BadRequestInvalid', 'UnsupportedMediaType', 'Forbidden', 'ForbiddenUser', 'ForbiddenUserResource', 'ForbiddenUserSignupDisabled', 'ForbiddenUserSignupAllowanceExceeded', 'ForbiddenUserDoesNotExist', @@ -107,19 +115,20 @@ class CustomVisionError(Model): 'NotFoundProject', 'NotFoundProjectDefaultIteration', 'NotFoundIteration', 'NotFoundIterationPerformance', 'NotFoundTag', 'NotFoundImage', 'NotFoundDomain', 'NotFoundApimSubscription', 'NotFoundInvalid', - 'Conflict', 'ConflictInvalid', 'ErrorUnknown', - 'ErrorProjectInvalidWorkspace', + 'Conflict', 'ConflictInvalid', 'ErrorUnknown', 'ErrorIterationCopyFailed', + 'ErrorPreparePerformanceMigrationFailed', 'ErrorProjectInvalidWorkspace', 'ErrorProjectInvalidPipelineConfiguration', 'ErrorProjectInvalidDomain', - 'ErrorProjectTrainingRequestFailed', 'ErrorProjectExportRequestFailed', - 'ErrorFeaturizationServiceUnavailable', 'ErrorFeaturizationQueueTimeout', - 'ErrorFeaturizationInvalidFeaturizer', + 'ErrorProjectTrainingRequestFailed', 'ErrorProjectImportRequestFailed', + 'ErrorProjectExportRequestFailed', 'ErrorFeaturizationServiceUnavailable', + 'ErrorFeaturizationQueueTimeout', 'ErrorFeaturizationInvalidFeaturizer', 'ErrorFeaturizationAugmentationUnavailable', 'ErrorFeaturizationUnrecognizedJob', 'ErrorFeaturizationAugmentationError', 'ErrorExporterInvalidPlatform', 'ErrorExporterInvalidFeaturizer', 'ErrorExporterInvalidClassifier', 'ErrorPredictionServiceUnavailable', 'ErrorPredictionModelNotFound', 'ErrorPredictionModelNotCached', 'ErrorPrediction', - 'ErrorPredictionStorage', 'ErrorRegionProposal', 'ErrorInvalid' + 'ErrorPredictionStorage', 'ErrorRegionProposal', 'ErrorUnknownBaseModel', + 'ErrorInvalid' :type code: str or ~azure.cognitiveservices.vision.customvision.prediction.models.CustomVisionErrorCodes :param message: Required. A message explaining the error reported by the @@ -236,6 +245,10 @@ class Prediction(Model): :ivar bounding_box: Bounding box of the prediction. :vartype bounding_box: ~azure.cognitiveservices.vision.customvision.prediction.models.BoundingBox + :ivar tag_type: Type of the predicted tag. Possible values include: + 'Regular', 'Negative', 'GeneralProduct' + :vartype tag_type: str or + ~azure.cognitiveservices.vision.customvision.prediction.models.TagType """ _validation = { @@ -243,6 +256,7 @@ class Prediction(Model): 'tag_id': {'readonly': True}, 'tag_name': {'readonly': True}, 'bounding_box': {'readonly': True}, + 'tag_type': {'readonly': True}, } _attribute_map = { @@ -250,6 +264,7 @@ class Prediction(Model): 'tag_id': {'key': 'tagId', 'type': 'str'}, 'tag_name': {'key': 'tagName', 'type': 'str'}, 'bounding_box': {'key': 'boundingBox', 'type': 'BoundingBox'}, + 'tag_type': {'key': 'tagType', 'type': 'str'}, } def __init__(self, **kwargs): @@ -258,3 +273,4 @@ def __init__(self, **kwargs): self.tag_id = None self.tag_name = None self.bounding_box = None + self.tag_type = None diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_models_py3.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_models_py3.py index a7ef53998a0a..b9313dc78ab4 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_models_py3.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/models/_models_py3.py @@ -62,25 +62,29 @@ class CustomVisionError(Model): 'BadRequestProjectUnknownDomain', 'BadRequestProjectUnknownClassification', 'BadRequestProjectUnsupportedDomainTypeChange', - 'BadRequestProjectUnsupportedExportPlatform', 'BadRequestIterationName', + 'BadRequestProjectUnsupportedExportPlatform', + 'BadRequestProjectImagePreprocessingSettings', + 'BadRequestProjectDuplicated', 'BadRequestIterationName', 'BadRequestIterationNameNotUnique', 'BadRequestIterationDescription', - 'BadRequestIterationIsNotTrained', 'BadRequestWorkspaceCannotBeModified', - 'BadRequestWorkspaceNotDeletable', 'BadRequestTagName', - 'BadRequestTagNameNotUnique', 'BadRequestTagDescription', - 'BadRequestTagType', 'BadRequestMultipleNegativeTag', + 'BadRequestIterationIsNotTrained', 'BadRequestIterationValidationFailed', + 'BadRequestWorkspaceCannotBeModified', 'BadRequestWorkspaceNotDeletable', + 'BadRequestTagName', 'BadRequestTagNameNotUnique', + 'BadRequestTagDescription', 'BadRequestTagType', + 'BadRequestMultipleNegativeTag', 'BadRequestMultipleGeneralProductTag', 'BadRequestImageTags', 'BadRequestImageRegions', 'BadRequestNegativeAndRegularTagOnSameImage', - 'BadRequestRequiredParamIsNull', 'BadRequestIterationIsPublished', - 'BadRequestInvalidPublishName', 'BadRequestInvalidPublishTarget', - 'BadRequestUnpublishFailed', 'BadRequestSubscriptionApi', + 'BadRequestUnsupportedDomain', 'BadRequestRequiredParamIsNull', + 'BadRequestIterationIsPublished', 'BadRequestInvalidPublishName', + 'BadRequestInvalidPublishTarget', 'BadRequestUnpublishFailed', + 'BadRequestIterationNotPublished', 'BadRequestSubscriptionApi', 'BadRequestExceedProjectLimit', 'BadRequestExceedIterationPerProjectLimit', 'BadRequestExceedTagPerProjectLimit', 'BadRequestExceedTagPerImageLimit', 'BadRequestExceededQuota', 'BadRequestCannotMigrateProjectWithName', 'BadRequestNotLimitedTrial', 'BadRequestImageBatch', 'BadRequestImageStream', 'BadRequestImageUrl', 'BadRequestImageFormat', - 'BadRequestImageSizeBytes', 'BadRequestImageExceededCount', - 'BadRequestTrainingNotNeeded', + 'BadRequestImageSizeBytes', 'BadRequestImageDimensions', + 'BadRequestImageExceededCount', 'BadRequestTrainingNotNeeded', 'BadRequestTrainingNotNeededButTrainingPipelineUpdated', 'BadRequestTrainingValidationFailed', 'BadRequestClassificationTrainingValidationFailed', @@ -98,7 +102,11 @@ class CustomVisionError(Model): 'BadRequestPredictionTagsExceededCount', 'BadRequestPredictionResultsExceededCount', 'BadRequestPredictionInvalidApplicationName', - 'BadRequestPredictionInvalidQueryParameters', 'BadRequestInvalid', + 'BadRequestPredictionInvalidQueryParameters', + 'BadRequestInvalidImportToken', 'BadRequestExportWhileTraining', + 'BadRequestImageMetadataKey', 'BadRequestImageMetadataValue', + 'BadRequestOperationNotSupported', 'BadRequestInvalidArtifactUri', + 'BadRequestCustomerManagedKeyRevoked', 'BadRequestInvalid', 'UnsupportedMediaType', 'Forbidden', 'ForbiddenUser', 'ForbiddenUserResource', 'ForbiddenUserSignupDisabled', 'ForbiddenUserSignupAllowanceExceeded', 'ForbiddenUserDoesNotExist', @@ -107,19 +115,20 @@ class CustomVisionError(Model): 'NotFoundProject', 'NotFoundProjectDefaultIteration', 'NotFoundIteration', 'NotFoundIterationPerformance', 'NotFoundTag', 'NotFoundImage', 'NotFoundDomain', 'NotFoundApimSubscription', 'NotFoundInvalid', - 'Conflict', 'ConflictInvalid', 'ErrorUnknown', - 'ErrorProjectInvalidWorkspace', + 'Conflict', 'ConflictInvalid', 'ErrorUnknown', 'ErrorIterationCopyFailed', + 'ErrorPreparePerformanceMigrationFailed', 'ErrorProjectInvalidWorkspace', 'ErrorProjectInvalidPipelineConfiguration', 'ErrorProjectInvalidDomain', - 'ErrorProjectTrainingRequestFailed', 'ErrorProjectExportRequestFailed', - 'ErrorFeaturizationServiceUnavailable', 'ErrorFeaturizationQueueTimeout', - 'ErrorFeaturizationInvalidFeaturizer', + 'ErrorProjectTrainingRequestFailed', 'ErrorProjectImportRequestFailed', + 'ErrorProjectExportRequestFailed', 'ErrorFeaturizationServiceUnavailable', + 'ErrorFeaturizationQueueTimeout', 'ErrorFeaturizationInvalidFeaturizer', 'ErrorFeaturizationAugmentationUnavailable', 'ErrorFeaturizationUnrecognizedJob', 'ErrorFeaturizationAugmentationError', 'ErrorExporterInvalidPlatform', 'ErrorExporterInvalidFeaturizer', 'ErrorExporterInvalidClassifier', 'ErrorPredictionServiceUnavailable', 'ErrorPredictionModelNotFound', 'ErrorPredictionModelNotCached', 'ErrorPrediction', - 'ErrorPredictionStorage', 'ErrorRegionProposal', 'ErrorInvalid' + 'ErrorPredictionStorage', 'ErrorRegionProposal', 'ErrorUnknownBaseModel', + 'ErrorInvalid' :type code: str or ~azure.cognitiveservices.vision.customvision.prediction.models.CustomVisionErrorCodes :param message: Required. A message explaining the error reported by the @@ -236,6 +245,10 @@ class Prediction(Model): :ivar bounding_box: Bounding box of the prediction. :vartype bounding_box: ~azure.cognitiveservices.vision.customvision.prediction.models.BoundingBox + :ivar tag_type: Type of the predicted tag. Possible values include: + 'Regular', 'Negative', 'GeneralProduct' + :vartype tag_type: str or + ~azure.cognitiveservices.vision.customvision.prediction.models.TagType """ _validation = { @@ -243,6 +256,7 @@ class Prediction(Model): 'tag_id': {'readonly': True}, 'tag_name': {'readonly': True}, 'bounding_box': {'readonly': True}, + 'tag_type': {'readonly': True}, } _attribute_map = { @@ -250,6 +264,7 @@ class Prediction(Model): 'tag_id': {'key': 'tagId', 'type': 'str'}, 'tag_name': {'key': 'tagName', 'type': 'str'}, 'bounding_box': {'key': 'boundingBox', 'type': 'BoundingBox'}, + 'tag_type': {'key': 'tagType', 'type': 'str'}, } def __init__(self, **kwargs) -> None: @@ -258,3 +273,4 @@ def __init__(self, **kwargs) -> None: self.tag_id = None self.tag_name = None self.bounding_box = None + self.tag_type = None diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/operations/_custom_vision_prediction_client_operations.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/operations/_custom_vision_prediction_client_operations.py index 49127e2fb22c..9ee845e0360a 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/operations/_custom_vision_prediction_client_operations.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/prediction/operations/_custom_vision_prediction_client_operations.py @@ -15,17 +15,18 @@ class CustomVisionPredictionClientOperationsMixin(object): - def classify_image_url( - self, project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config): - """Classify an image url and saves the result. + def classify_image( + self, project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config): + """Classify an image and saves the result. :param project_id: The project id. :type project_id: str :param published_name: Specifies the name of the model to evaluate against. :type published_name: str - :param url: Url of the image. - :type url: str + :param image_data: Binary image data. Supported formats are JPEG, GIF, + PNG, and BMP. Supports images up to 4MB. + :type image_data: Generator :param application: Optional. Specifies the name of application using the endpoint. :type application: str @@ -41,10 +42,8 @@ def classify_image_url( :raises: :class:`CustomVisionErrorException` """ - image_url = models.ImageUrl(url=url) - # Construct URL - url = self.classify_image_url.metadata['url'] + url = self.classify_image.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'projectId': self._serialize.url("project_id", project_id, 'str'), @@ -60,15 +59,17 @@ def classify_image_url( # Construct headers header_parameters = {} header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Content-Type'] = 'multipart/form-data' if custom_headers: header_parameters.update(custom_headers) - # Construct body - body_content = self._serialize.body(image_url, 'ImageUrl') + # Construct form data + form_data_content = { + 'imageData': image_data, + } # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) + request = self._client.post(url, query_parameters, header_parameters, form_content=form_data_content) response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -83,11 +84,11 @@ def classify_image_url( return client_raw_response return deserialized - classify_image_url.metadata = {'url': '/{projectId}/classify/iterations/{publishedName}/url'} + classify_image.metadata = {'url': '/{projectId}/classify/iterations/{publishedName}/image'} - def classify_image( + def classify_image_with_no_store( self, project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config): - """Classify an image and saves the result. + """Classify an image without saving the result. :param project_id: The project id. :type project_id: str @@ -113,7 +114,7 @@ def classify_image( :class:`CustomVisionErrorException` """ # Construct URL - url = self.classify_image.metadata['url'] + url = self.classify_image_with_no_store.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'projectId': self._serialize.url("project_id", project_id, 'str'), @@ -154,11 +155,11 @@ def classify_image( return client_raw_response return deserialized - classify_image.metadata = {'url': '/{projectId}/classify/iterations/{publishedName}/image'} + classify_image_with_no_store.metadata = {'url': '/{projectId}/classify/iterations/{publishedName}/image/nostore'} - def classify_image_url_with_no_store( + def classify_image_url( self, project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config): - """Classify an image url without saving the result. + """Classify an image url and saves the result. :param project_id: The project id. :type project_id: str @@ -185,7 +186,7 @@ def classify_image_url_with_no_store( image_url = models.ImageUrl(url=url) # Construct URL - url = self.classify_image_url_with_no_store.metadata['url'] + url = self.classify_image_url.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'projectId': self._serialize.url("project_id", project_id, 'str'), @@ -224,20 +225,19 @@ def classify_image_url_with_no_store( return client_raw_response return deserialized - classify_image_url_with_no_store.metadata = {'url': '/{projectId}/classify/iterations/{publishedName}/url/nostore'} + classify_image_url.metadata = {'url': '/{projectId}/classify/iterations/{publishedName}/url'} - def classify_image_with_no_store( - self, project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config): - """Classify an image without saving the result. + def classify_image_url_with_no_store( + self, project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config): + """Classify an image url without saving the result. :param project_id: The project id. :type project_id: str :param published_name: Specifies the name of the model to evaluate against. :type published_name: str - :param image_data: Binary image data. Supported formats are JPEG, GIF, - PNG, and BMP. Supports images up to 0MB. - :type image_data: Generator + :param url: Url of the image. + :type url: str :param application: Optional. Specifies the name of application using the endpoint. :type application: str @@ -253,8 +253,10 @@ def classify_image_with_no_store( :raises: :class:`CustomVisionErrorException` """ + image_url = models.ImageUrl(url=url) + # Construct URL - url = self.classify_image_with_no_store.metadata['url'] + url = self.classify_image_url_with_no_store.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'projectId': self._serialize.url("project_id", project_id, 'str'), @@ -270,17 +272,15 @@ def classify_image_with_no_store( # Construct headers header_parameters = {} header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'multipart/form-data' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' if custom_headers: header_parameters.update(custom_headers) - # Construct form data - form_data_content = { - 'imageData': image_data, - } + # Construct body + body_content = self._serialize.body(image_url, 'ImageUrl') # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, form_content=form_data_content) + request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -295,19 +295,20 @@ def classify_image_with_no_store( return client_raw_response return deserialized - classify_image_with_no_store.metadata = {'url': '/{projectId}/classify/iterations/{publishedName}/image/nostore'} + classify_image_url_with_no_store.metadata = {'url': '/{projectId}/classify/iterations/{publishedName}/url/nostore'} - def detect_image_url( - self, project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config): - """Detect objects in an image url and saves the result. + def detect_image( + self, project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config): + """Detect objects in an image and saves the result. :param project_id: The project id. :type project_id: str :param published_name: Specifies the name of the model to evaluate against. :type published_name: str - :param url: Url of the image. - :type url: str + :param image_data: Binary image data. Supported formats are JPEG, GIF, + PNG, and BMP. Supports images up to 4MB. + :type image_data: Generator :param application: Optional. Specifies the name of application using the endpoint. :type application: str @@ -323,10 +324,8 @@ def detect_image_url( :raises: :class:`CustomVisionErrorException` """ - image_url = models.ImageUrl(url=url) - # Construct URL - url = self.detect_image_url.metadata['url'] + url = self.detect_image.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'projectId': self._serialize.url("project_id", project_id, 'str'), @@ -342,15 +341,17 @@ def detect_image_url( # Construct headers header_parameters = {} header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'application/json; charset=utf-8' + header_parameters['Content-Type'] = 'multipart/form-data' if custom_headers: header_parameters.update(custom_headers) - # Construct body - body_content = self._serialize.body(image_url, 'ImageUrl') + # Construct form data + form_data_content = { + 'imageData': image_data, + } # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, body_content) + request = self._client.post(url, query_parameters, header_parameters, form_content=form_data_content) response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -365,11 +366,11 @@ def detect_image_url( return client_raw_response return deserialized - detect_image_url.metadata = {'url': '/{projectId}/detect/iterations/{publishedName}/url'} + detect_image.metadata = {'url': '/{projectId}/detect/iterations/{publishedName}/image'} - def detect_image( + def detect_image_with_no_store( self, project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config): - """Detect objects in an image and saves the result. + """Detect objects in an image without saving the result. :param project_id: The project id. :type project_id: str @@ -395,7 +396,7 @@ def detect_image( :class:`CustomVisionErrorException` """ # Construct URL - url = self.detect_image.metadata['url'] + url = self.detect_image_with_no_store.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'projectId': self._serialize.url("project_id", project_id, 'str'), @@ -436,11 +437,11 @@ def detect_image( return client_raw_response return deserialized - detect_image.metadata = {'url': '/{projectId}/detect/iterations/{publishedName}/image'} + detect_image_with_no_store.metadata = {'url': '/{projectId}/detect/iterations/{publishedName}/image/nostore'} - def detect_image_url_with_no_store( + def detect_image_url( self, project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config): - """Detect objects in an image url without saving the result. + """Detect objects in an image url and saves the result. :param project_id: The project id. :type project_id: str @@ -467,7 +468,7 @@ def detect_image_url_with_no_store( image_url = models.ImageUrl(url=url) # Construct URL - url = self.detect_image_url_with_no_store.metadata['url'] + url = self.detect_image_url.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'projectId': self._serialize.url("project_id", project_id, 'str'), @@ -506,20 +507,19 @@ def detect_image_url_with_no_store( return client_raw_response return deserialized - detect_image_url_with_no_store.metadata = {'url': '/{projectId}/detect/iterations/{publishedName}/url/nostore'} + detect_image_url.metadata = {'url': '/{projectId}/detect/iterations/{publishedName}/url'} - def detect_image_with_no_store( - self, project_id, published_name, image_data, application=None, custom_headers=None, raw=False, **operation_config): - """Detect objects in an image without saving the result. + def detect_image_url_with_no_store( + self, project_id, published_name, url, application=None, custom_headers=None, raw=False, **operation_config): + """Detect objects in an image url without saving the result. :param project_id: The project id. :type project_id: str :param published_name: Specifies the name of the model to evaluate against. :type published_name: str - :param image_data: Binary image data. Supported formats are JPEG, GIF, - PNG, and BMP. Supports images up to 0MB. - :type image_data: Generator + :param url: Url of the image. + :type url: str :param application: Optional. Specifies the name of application using the endpoint. :type application: str @@ -535,8 +535,10 @@ def detect_image_with_no_store( :raises: :class:`CustomVisionErrorException` """ + image_url = models.ImageUrl(url=url) + # Construct URL - url = self.detect_image_with_no_store.metadata['url'] + url = self.detect_image_url_with_no_store.metadata['url'] path_format_arguments = { 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), 'projectId': self._serialize.url("project_id", project_id, 'str'), @@ -552,17 +554,15 @@ def detect_image_with_no_store( # Construct headers header_parameters = {} header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = 'multipart/form-data' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' if custom_headers: header_parameters.update(custom_headers) - # Construct form data - form_data_content = { - 'imageData': image_data, - } + # Construct body + body_content = self._serialize.body(image_url, 'ImageUrl') # Construct and send request - request = self._client.post(url, query_parameters, header_parameters, form_content=form_data_content) + request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) if response.status_code not in [200]: @@ -577,4 +577,4 @@ def detect_image_with_no_store( return client_raw_response return deserialized - detect_image_with_no_store.metadata = {'url': '/{projectId}/detect/iterations/{publishedName}/image/nostore'} + detect_image_url_with_no_store.metadata = {'url': '/{projectId}/detect/iterations/{publishedName}/url/nostore'} diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/_configuration.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/_configuration.py index 312e310eeab6..3ce58988527c 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/_configuration.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/_configuration.py @@ -33,7 +33,7 @@ def __init__( raise ValueError("Parameter 'endpoint' must not be None.") if credentials is None: raise ValueError("Parameter 'credentials' must not be None.") - base_url = '{Endpoint}/customvision/v3.2/training' + base_url = '{Endpoint}/customvision/v3.3/training' super(CustomVisionTrainingClientConfiguration, self).__init__(base_url) diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/_custom_vision_training_client.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/_custom_vision_training_client.py index a995accbf5c8..31f266dcda99 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/_custom_vision_training_client.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/_custom_vision_training_client.py @@ -14,6 +14,7 @@ from ._configuration import CustomVisionTrainingClientConfiguration from .operations import CustomVisionTrainingClientOperationsMixin +from msrest.exceptions import HttpOperationError from . import models @@ -37,7 +38,7 @@ def __init__( super(CustomVisionTrainingClient, self).__init__(self.config.credentials, self.config) client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} - self.api_version = '3.2' + self.api_version = '3.3' self._serialize = Serializer(client_models) self._deserialize = Deserializer(client_models) diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/__init__.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/__init__.py index 987b397f62fc..df2405aed22b 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/__init__.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/__init__.py @@ -21,6 +21,8 @@ from ._models_py3 import ImageFileCreateEntry from ._models_py3 import ImageIdCreateBatch from ._models_py3 import ImageIdCreateEntry + from ._models_py3 import ImageMetadataUpdateEntry + from ._models_py3 import ImageMetadataUpdateSummary from ._models_py3 import ImagePerformance from ._models_py3 import ImagePrediction from ._models_py3 import ImageProcessingSettings @@ -69,6 +71,8 @@ from ._models import ImageFileCreateEntry from ._models import ImageIdCreateBatch from ._models import ImageIdCreateEntry + from ._models import ImageMetadataUpdateEntry + from ._models import ImageMetadataUpdateSummary from ._models import ImagePerformance from ._models import ImagePrediction from ._models import ImageProcessingSettings @@ -113,6 +117,7 @@ ExportPlatform, ExportStatus, ImageCreateStatus, + ImageMetadataUpdateStatus, OrderBy, ProjectStatus, SortBy, @@ -132,6 +137,8 @@ 'ImageFileCreateEntry', 'ImageIdCreateBatch', 'ImageIdCreateEntry', + 'ImageMetadataUpdateEntry', + 'ImageMetadataUpdateSummary', 'ImagePerformance', 'ImagePrediction', 'ImageProcessingSettings', @@ -174,10 +181,11 @@ 'ExportStatus', 'ExportFlavor', 'ImageCreateStatus', + 'ImageMetadataUpdateStatus', + 'TagType', 'Classifier', 'TrainingType', 'OrderBy', 'ProjectStatus', 'SortBy', - 'TagType', ] diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_custom_vision_training_client_enums.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_custom_vision_training_client_enums.py index 8a23ddb1ad59..9aca554c0359 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_custom_vision_training_client_enums.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_custom_vision_training_client_enums.py @@ -40,9 +40,11 @@ class CustomVisionErrorCodes(str, Enum): bad_request_tag_description = "BadRequestTagDescription" bad_request_tag_type = "BadRequestTagType" bad_request_multiple_negative_tag = "BadRequestMultipleNegativeTag" + bad_request_multiple_general_product_tag = "BadRequestMultipleGeneralProductTag" bad_request_image_tags = "BadRequestImageTags" bad_request_image_regions = "BadRequestImageRegions" bad_request_negative_and_regular_tag_on_same_image = "BadRequestNegativeAndRegularTagOnSameImage" + bad_request_unsupported_domain = "BadRequestUnsupportedDomain" bad_request_required_param_is_null = "BadRequestRequiredParamIsNull" bad_request_iteration_is_published = "BadRequestIterationIsPublished" bad_request_invalid_publish_name = "BadRequestInvalidPublishName" @@ -62,6 +64,7 @@ class CustomVisionErrorCodes(str, Enum): bad_request_image_url = "BadRequestImageUrl" bad_request_image_format = "BadRequestImageFormat" bad_request_image_size_bytes = "BadRequestImageSizeBytes" + bad_request_image_dimensions = "BadRequestImageDimensions" bad_request_image_exceeded_count = "BadRequestImageExceededCount" bad_request_training_not_needed = "BadRequestTrainingNotNeeded" bad_request_training_not_needed_but_training_pipeline_updated = "BadRequestTrainingNotNeededButTrainingPipelineUpdated" @@ -86,6 +89,11 @@ class CustomVisionErrorCodes(str, Enum): bad_request_prediction_invalid_query_parameters = "BadRequestPredictionInvalidQueryParameters" bad_request_invalid_import_token = "BadRequestInvalidImportToken" bad_request_export_while_training = "BadRequestExportWhileTraining" + bad_request_image_metadata_key = "BadRequestImageMetadataKey" + bad_request_image_metadata_value = "BadRequestImageMetadataValue" + bad_request_operation_not_supported = "BadRequestOperationNotSupported" + bad_request_invalid_artifact_uri = "BadRequestInvalidArtifactUri" + bad_request_customer_managed_key_revoked = "BadRequestCustomerManagedKeyRevoked" bad_request_invalid = "BadRequestInvalid" unsupported_media_type = "UnsupportedMediaType" forbidden = "Forbidden" @@ -134,6 +142,7 @@ class CustomVisionErrorCodes(str, Enum): error_prediction = "ErrorPrediction" error_prediction_storage = "ErrorPredictionStorage" error_region_proposal = "ErrorRegionProposal" + error_unknown_base_model = "ErrorUnknownBaseModel" error_invalid = "ErrorInvalid" @@ -185,6 +194,21 @@ class ImageCreateStatus(str, Enum): error_negative_and_regular_tag_on_same_image = "ErrorNegativeAndRegularTagOnSameImage" +class ImageMetadataUpdateStatus(str, Enum): + + ok = "OK" + error_image_not_found = "ErrorImageNotFound" + error_limit_exceed = "ErrorLimitExceed" + error_unknown = "ErrorUnknown" + + +class TagType(str, Enum): + + regular = "Regular" + negative = "Negative" + general_product = "GeneralProduct" + + class Classifier(str, Enum): multiclass = "Multiclass" @@ -215,9 +239,3 @@ class SortBy(str, Enum): uncertainty_ascending = "UncertaintyAscending" uncertainty_descending = "UncertaintyDescending" - - -class TagType(str, Enum): - - regular = "Regular" - negative = "Negative" diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_models.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_models.py index 03c972188bfc..5f12784e1207 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_models.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_models.py @@ -70,19 +70,21 @@ class CustomVisionError(Model): 'BadRequestWorkspaceCannotBeModified', 'BadRequestWorkspaceNotDeletable', 'BadRequestTagName', 'BadRequestTagNameNotUnique', 'BadRequestTagDescription', 'BadRequestTagType', - 'BadRequestMultipleNegativeTag', 'BadRequestImageTags', - 'BadRequestImageRegions', 'BadRequestNegativeAndRegularTagOnSameImage', - 'BadRequestRequiredParamIsNull', 'BadRequestIterationIsPublished', - 'BadRequestInvalidPublishName', 'BadRequestInvalidPublishTarget', - 'BadRequestUnpublishFailed', 'BadRequestIterationNotPublished', - 'BadRequestSubscriptionApi', 'BadRequestExceedProjectLimit', + 'BadRequestMultipleNegativeTag', 'BadRequestMultipleGeneralProductTag', + 'BadRequestImageTags', 'BadRequestImageRegions', + 'BadRequestNegativeAndRegularTagOnSameImage', + 'BadRequestUnsupportedDomain', 'BadRequestRequiredParamIsNull', + 'BadRequestIterationIsPublished', 'BadRequestInvalidPublishName', + 'BadRequestInvalidPublishTarget', 'BadRequestUnpublishFailed', + 'BadRequestIterationNotPublished', 'BadRequestSubscriptionApi', + 'BadRequestExceedProjectLimit', 'BadRequestExceedIterationPerProjectLimit', 'BadRequestExceedTagPerProjectLimit', 'BadRequestExceedTagPerImageLimit', 'BadRequestExceededQuota', 'BadRequestCannotMigrateProjectWithName', 'BadRequestNotLimitedTrial', 'BadRequestImageBatch', 'BadRequestImageStream', 'BadRequestImageUrl', 'BadRequestImageFormat', - 'BadRequestImageSizeBytes', 'BadRequestImageExceededCount', - 'BadRequestTrainingNotNeeded', + 'BadRequestImageSizeBytes', 'BadRequestImageDimensions', + 'BadRequestImageExceededCount', 'BadRequestTrainingNotNeeded', 'BadRequestTrainingNotNeededButTrainingPipelineUpdated', 'BadRequestTrainingValidationFailed', 'BadRequestClassificationTrainingValidationFailed', @@ -102,7 +104,10 @@ class CustomVisionError(Model): 'BadRequestPredictionInvalidApplicationName', 'BadRequestPredictionInvalidQueryParameters', 'BadRequestInvalidImportToken', 'BadRequestExportWhileTraining', - 'BadRequestInvalid', 'UnsupportedMediaType', 'Forbidden', 'ForbiddenUser', + 'BadRequestImageMetadataKey', 'BadRequestImageMetadataValue', + 'BadRequestOperationNotSupported', 'BadRequestInvalidArtifactUri', + 'BadRequestCustomerManagedKeyRevoked', 'BadRequestInvalid', + 'UnsupportedMediaType', 'Forbidden', 'ForbiddenUser', 'ForbiddenUserResource', 'ForbiddenUserSignupDisabled', 'ForbiddenUserSignupAllowanceExceeded', 'ForbiddenUserDoesNotExist', 'ForbiddenUserDisabled', 'ForbiddenUserInsufficientCapability', @@ -122,7 +127,8 @@ class CustomVisionError(Model): 'ErrorExporterInvalidFeaturizer', 'ErrorExporterInvalidClassifier', 'ErrorPredictionServiceUnavailable', 'ErrorPredictionModelNotFound', 'ErrorPredictionModelNotCached', 'ErrorPrediction', - 'ErrorPredictionStorage', 'ErrorRegionProposal', 'ErrorInvalid' + 'ErrorPredictionStorage', 'ErrorRegionProposal', 'ErrorUnknownBaseModel', + 'ErrorInvalid' :type code: str or ~azure.cognitiveservices.vision.customvision.training.models.CustomVisionErrorCodes :param message: Required. A message explaining the error reported by the @@ -216,7 +222,9 @@ class Export(Model): 'Failed', 'Done' :vartype status: str or ~azure.cognitiveservices.vision.customvision.training.models.ExportStatus - :ivar download_uri: URI used to download the model. + :ivar download_uri: URI used to download the model. If VNET feature is + enabled this will be a relative path to be used with GetArtifact, + otherwise this will be an absolute URI to the resource. :vartype download_uri: str :ivar flavor: Flavor of the export. These are specializations of the export platform. @@ -272,10 +280,16 @@ class Image(Model): :ivar height: Height of the image. :vartype height: int :ivar resized_image_uri: The URI to the (resized) image used for training. + If VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype resized_image_uri: str - :ivar thumbnail_uri: The URI to the thumbnail of the original image. + :ivar thumbnail_uri: The URI to the thumbnail of the original image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype thumbnail_uri: str - :ivar original_image_uri: The URI to the original uploaded image. + :ivar original_image_uri: The URI to the original uploaded image. If VNET + feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype original_image_uri: str :ivar tags: Tags associated with this image. :vartype tags: @@ -283,6 +297,8 @@ class Image(Model): :ivar regions: Regions associated with this image. :vartype regions: list[~azure.cognitiveservices.vision.customvision.training.models.ImageRegion] + :ivar metadata: Metadata associated with this image. + :vartype metadata: dict[str, str] """ _validation = { @@ -295,6 +311,7 @@ class Image(Model): 'original_image_uri': {'readonly': True}, 'tags': {'readonly': True}, 'regions': {'readonly': True}, + 'metadata': {'readonly': True}, } _attribute_map = { @@ -307,6 +324,7 @@ class Image(Model): 'original_image_uri': {'key': 'originalImageUri', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '[ImageTag]'}, 'regions': {'key': 'regions', 'type': '[ImageRegion]'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, } def __init__(self, **kwargs): @@ -320,6 +338,7 @@ def __init__(self, **kwargs): self.original_image_uri = None self.tags = None self.regions = None + self.metadata = None class ImageCreateResult(Model): @@ -399,17 +418,23 @@ class ImageFileCreateBatch(Model): list[~azure.cognitiveservices.vision.customvision.training.models.ImageFileCreateEntry] :param tag_ids: :type tag_ids: list[str] + :param metadata: The metadata of image. Limited to 50 key-value pairs per + image. The length of key is limited to 256. The length of value is limited + to 512. + :type metadata: dict[str, str] """ _attribute_map = { 'images': {'key': 'images', 'type': '[ImageFileCreateEntry]'}, 'tag_ids': {'key': 'tagIds', 'type': '[str]'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, } def __init__(self, **kwargs): super(ImageFileCreateBatch, self).__init__(**kwargs) self.images = kwargs.get('images', None) self.tag_ids = kwargs.get('tag_ids', None) + self.metadata = kwargs.get('metadata', None) class ImageFileCreateEntry(Model): @@ -449,17 +474,23 @@ class ImageIdCreateBatch(Model): list[~azure.cognitiveservices.vision.customvision.training.models.ImageIdCreateEntry] :param tag_ids: :type tag_ids: list[str] + :param metadata: The metadata of image. Limited to 50 key-value pairs per + image. The length of key is limited to 256. The length of value is limited + to 512. + :type metadata: dict[str, str] """ _attribute_map = { 'images': {'key': 'images', 'type': '[ImageIdCreateEntry]'}, 'tag_ids': {'key': 'tagIds', 'type': '[str]'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, } def __init__(self, **kwargs): super(ImageIdCreateBatch, self).__init__(**kwargs) self.images = kwargs.get('images', None) self.tag_ids = kwargs.get('tag_ids', None) + self.metadata = kwargs.get('metadata', None) class ImageIdCreateEntry(Model): @@ -487,6 +518,61 @@ def __init__(self, **kwargs): self.regions = kwargs.get('regions', None) +class ImageMetadataUpdateEntry(Model): + """Entry associating a metadata to an image. + + :param image_id: Id of the image. + :type image_id: str + :param status: Status of the metadata update. Possible values include: + 'OK', 'ErrorImageNotFound', 'ErrorLimitExceed', 'ErrorUnknown' + :type status: str or + ~azure.cognitiveservices.vision.customvision.training.models.ImageMetadataUpdateStatus + :param metadata: Metadata of the image. + :type metadata: dict[str, str] + """ + + _attribute_map = { + 'image_id': {'key': 'imageId', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, + } + + def __init__(self, **kwargs): + super(ImageMetadataUpdateEntry, self).__init__(**kwargs) + self.image_id = kwargs.get('image_id', None) + self.status = kwargs.get('status', None) + self.metadata = kwargs.get('metadata', None) + + +class ImageMetadataUpdateSummary(Model): + """ImageMetadataUpdateSummary. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar is_batch_successful: + :vartype is_batch_successful: bool + :ivar images: + :vartype images: + list[~azure.cognitiveservices.vision.customvision.training.models.ImageMetadataUpdateEntry] + """ + + _validation = { + 'is_batch_successful': {'readonly': True}, + 'images': {'readonly': True}, + } + + _attribute_map = { + 'is_batch_successful': {'key': 'isBatchSuccessful', 'type': 'bool'}, + 'images': {'key': 'images', 'type': '[ImageMetadataUpdateEntry]'}, + } + + def __init__(self, **kwargs): + super(ImageMetadataUpdateSummary, self).__init__(**kwargs) + self.is_batch_successful = None + self.images = None + + class ImagePerformance(Model): """Image performance model. @@ -994,17 +1080,23 @@ class ImageUrlCreateBatch(Model): list[~azure.cognitiveservices.vision.customvision.training.models.ImageUrlCreateEntry] :param tag_ids: :type tag_ids: list[str] + :param metadata: The metadata of image. Limited to 50 key-value pairs per + image. The length of key is limited to 256. The length of value is limited + to 512. + :type metadata: dict[str, str] """ _attribute_map = { 'images': {'key': 'images', 'type': '[ImageUrlCreateEntry]'}, 'tag_ids': {'key': 'tagIds', 'type': '[str]'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, } def __init__(self, **kwargs): super(ImageUrlCreateBatch, self).__init__(**kwargs) self.images = kwargs.get('images', None) self.tag_ids = kwargs.get('tag_ids', None) + self.metadata = kwargs.get('metadata', None) class ImageUrlCreateEntry(Model): @@ -1212,6 +1304,10 @@ class Prediction(Model): :ivar bounding_box: Bounding box of the prediction. :vartype bounding_box: ~azure.cognitiveservices.vision.customvision.training.models.BoundingBox + :ivar tag_type: Type of the predicted tag. Possible values include: + 'Regular', 'Negative', 'GeneralProduct' + :vartype tag_type: str or + ~azure.cognitiveservices.vision.customvision.training.models.TagType """ _validation = { @@ -1219,6 +1315,7 @@ class Prediction(Model): 'tag_id': {'readonly': True}, 'tag_name': {'readonly': True}, 'bounding_box': {'readonly': True}, + 'tag_type': {'readonly': True}, } _attribute_map = { @@ -1226,6 +1323,7 @@ class Prediction(Model): 'tag_id': {'key': 'tagId', 'type': 'str'}, 'tag_name': {'key': 'tagName', 'type': 'str'}, 'bounding_box': {'key': 'boundingBox', 'type': 'BoundingBox'}, + 'tag_type': {'key': 'tagType', 'type': 'str'}, } def __init__(self, **kwargs): @@ -1234,6 +1332,7 @@ def __init__(self, **kwargs): self.tag_id = None self.tag_name = None self.bounding_box = None + self.tag_type = None class PredictionQueryResult(Model): @@ -1246,7 +1345,7 @@ class PredictionQueryResult(Model): :param token: Prediction Query Token. :type token: ~azure.cognitiveservices.vision.customvision.training.models.PredictionQueryToken - :ivar results: Result of an prediction request. + :ivar results: Result of an image prediction request. :vartype results: list[~azure.cognitiveservices.vision.customvision.training.models.StoredImagePrediction] """ @@ -1361,7 +1460,9 @@ class Project(Model): :vartype created: datetime :ivar last_modified: Gets the date this project was last modified. :vartype last_modified: datetime - :ivar thumbnail_uri: Gets the thumbnail url representing the image. + :ivar thumbnail_uri: Gets the thumbnail url representing the image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype thumbnail_uri: str :ivar dr_mode_enabled: Gets if the Disaster Recovery (DR) mode is on, indicating the project is temporarily read-only. @@ -1587,12 +1688,17 @@ class StoredImagePrediction(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar resized_image_uri: The URI to the (resized) prediction image. + :ivar resized_image_uri: The URI to the (resized) prediction image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype resized_image_uri: str :ivar thumbnail_uri: The URI to the thumbnail of the original prediction - image. + image. If VNET feature is enabled this will be a relative path to be used + with GetArtifact, otherwise this will be an absolute URI to the resource. :vartype thumbnail_uri: str - :ivar original_image_uri: The URI to the original prediction image. + :ivar original_image_uri: The URI to the original prediction image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype original_image_uri: str :ivar domain: Domain used for the prediction. :vartype domain: str @@ -1656,12 +1762,17 @@ class StoredSuggestedTagAndRegion(Model): :vartype width: int :ivar height: Height of the resized image. :vartype height: int - :ivar resized_image_uri: The URI to the (resized) prediction image. + :ivar resized_image_uri: The URI to the (resized) prediction image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype resized_image_uri: str :ivar thumbnail_uri: The URI to the thumbnail of the original prediction - image. + image. If VNET feature is enabled this will be a relative path to be used + with GetArtifact, otherwise this will be an absolute URI to the resource. :vartype thumbnail_uri: str - :ivar original_image_uri: The URI to the original prediction image. + :ivar original_image_uri: The URI to the original prediction image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype original_image_uri: str :ivar domain: Domain used for the prediction. :vartype domain: str @@ -1867,7 +1978,7 @@ class Tag(Model): :param description: Required. Gets or sets the description of the tag. :type description: str :param type: Required. Gets or sets the type of the tag. Possible values - include: 'Regular', 'Negative' + include: 'Regular', 'Negative', 'GeneralProduct' :type type: str or ~azure.cognitiveservices.vision.customvision.training.models.TagType :ivar image_count: Gets the number of images with this tag. diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_models_py3.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_models_py3.py index 8b0e1f518f20..b41b81244da9 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_models_py3.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/models/_models_py3.py @@ -70,19 +70,21 @@ class CustomVisionError(Model): 'BadRequestWorkspaceCannotBeModified', 'BadRequestWorkspaceNotDeletable', 'BadRequestTagName', 'BadRequestTagNameNotUnique', 'BadRequestTagDescription', 'BadRequestTagType', - 'BadRequestMultipleNegativeTag', 'BadRequestImageTags', - 'BadRequestImageRegions', 'BadRequestNegativeAndRegularTagOnSameImage', - 'BadRequestRequiredParamIsNull', 'BadRequestIterationIsPublished', - 'BadRequestInvalidPublishName', 'BadRequestInvalidPublishTarget', - 'BadRequestUnpublishFailed', 'BadRequestIterationNotPublished', - 'BadRequestSubscriptionApi', 'BadRequestExceedProjectLimit', + 'BadRequestMultipleNegativeTag', 'BadRequestMultipleGeneralProductTag', + 'BadRequestImageTags', 'BadRequestImageRegions', + 'BadRequestNegativeAndRegularTagOnSameImage', + 'BadRequestUnsupportedDomain', 'BadRequestRequiredParamIsNull', + 'BadRequestIterationIsPublished', 'BadRequestInvalidPublishName', + 'BadRequestInvalidPublishTarget', 'BadRequestUnpublishFailed', + 'BadRequestIterationNotPublished', 'BadRequestSubscriptionApi', + 'BadRequestExceedProjectLimit', 'BadRequestExceedIterationPerProjectLimit', 'BadRequestExceedTagPerProjectLimit', 'BadRequestExceedTagPerImageLimit', 'BadRequestExceededQuota', 'BadRequestCannotMigrateProjectWithName', 'BadRequestNotLimitedTrial', 'BadRequestImageBatch', 'BadRequestImageStream', 'BadRequestImageUrl', 'BadRequestImageFormat', - 'BadRequestImageSizeBytes', 'BadRequestImageExceededCount', - 'BadRequestTrainingNotNeeded', + 'BadRequestImageSizeBytes', 'BadRequestImageDimensions', + 'BadRequestImageExceededCount', 'BadRequestTrainingNotNeeded', 'BadRequestTrainingNotNeededButTrainingPipelineUpdated', 'BadRequestTrainingValidationFailed', 'BadRequestClassificationTrainingValidationFailed', @@ -102,7 +104,10 @@ class CustomVisionError(Model): 'BadRequestPredictionInvalidApplicationName', 'BadRequestPredictionInvalidQueryParameters', 'BadRequestInvalidImportToken', 'BadRequestExportWhileTraining', - 'BadRequestInvalid', 'UnsupportedMediaType', 'Forbidden', 'ForbiddenUser', + 'BadRequestImageMetadataKey', 'BadRequestImageMetadataValue', + 'BadRequestOperationNotSupported', 'BadRequestInvalidArtifactUri', + 'BadRequestCustomerManagedKeyRevoked', 'BadRequestInvalid', + 'UnsupportedMediaType', 'Forbidden', 'ForbiddenUser', 'ForbiddenUserResource', 'ForbiddenUserSignupDisabled', 'ForbiddenUserSignupAllowanceExceeded', 'ForbiddenUserDoesNotExist', 'ForbiddenUserDisabled', 'ForbiddenUserInsufficientCapability', @@ -122,7 +127,8 @@ class CustomVisionError(Model): 'ErrorExporterInvalidFeaturizer', 'ErrorExporterInvalidClassifier', 'ErrorPredictionServiceUnavailable', 'ErrorPredictionModelNotFound', 'ErrorPredictionModelNotCached', 'ErrorPrediction', - 'ErrorPredictionStorage', 'ErrorRegionProposal', 'ErrorInvalid' + 'ErrorPredictionStorage', 'ErrorRegionProposal', 'ErrorUnknownBaseModel', + 'ErrorInvalid' :type code: str or ~azure.cognitiveservices.vision.customvision.training.models.CustomVisionErrorCodes :param message: Required. A message explaining the error reported by the @@ -216,7 +222,9 @@ class Export(Model): 'Failed', 'Done' :vartype status: str or ~azure.cognitiveservices.vision.customvision.training.models.ExportStatus - :ivar download_uri: URI used to download the model. + :ivar download_uri: URI used to download the model. If VNET feature is + enabled this will be a relative path to be used with GetArtifact, + otherwise this will be an absolute URI to the resource. :vartype download_uri: str :ivar flavor: Flavor of the export. These are specializations of the export platform. @@ -272,10 +280,16 @@ class Image(Model): :ivar height: Height of the image. :vartype height: int :ivar resized_image_uri: The URI to the (resized) image used for training. + If VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype resized_image_uri: str - :ivar thumbnail_uri: The URI to the thumbnail of the original image. + :ivar thumbnail_uri: The URI to the thumbnail of the original image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype thumbnail_uri: str - :ivar original_image_uri: The URI to the original uploaded image. + :ivar original_image_uri: The URI to the original uploaded image. If VNET + feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype original_image_uri: str :ivar tags: Tags associated with this image. :vartype tags: @@ -283,6 +297,8 @@ class Image(Model): :ivar regions: Regions associated with this image. :vartype regions: list[~azure.cognitiveservices.vision.customvision.training.models.ImageRegion] + :ivar metadata: Metadata associated with this image. + :vartype metadata: dict[str, str] """ _validation = { @@ -295,6 +311,7 @@ class Image(Model): 'original_image_uri': {'readonly': True}, 'tags': {'readonly': True}, 'regions': {'readonly': True}, + 'metadata': {'readonly': True}, } _attribute_map = { @@ -307,6 +324,7 @@ class Image(Model): 'original_image_uri': {'key': 'originalImageUri', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '[ImageTag]'}, 'regions': {'key': 'regions', 'type': '[ImageRegion]'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, } def __init__(self, **kwargs) -> None: @@ -320,6 +338,7 @@ def __init__(self, **kwargs) -> None: self.original_image_uri = None self.tags = None self.regions = None + self.metadata = None class ImageCreateResult(Model): @@ -399,17 +418,23 @@ class ImageFileCreateBatch(Model): list[~azure.cognitiveservices.vision.customvision.training.models.ImageFileCreateEntry] :param tag_ids: :type tag_ids: list[str] + :param metadata: The metadata of image. Limited to 50 key-value pairs per + image. The length of key is limited to 256. The length of value is limited + to 512. + :type metadata: dict[str, str] """ _attribute_map = { 'images': {'key': 'images', 'type': '[ImageFileCreateEntry]'}, 'tag_ids': {'key': 'tagIds', 'type': '[str]'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, } - def __init__(self, *, images=None, tag_ids=None, **kwargs) -> None: + def __init__(self, *, images=None, tag_ids=None, metadata=None, **kwargs) -> None: super(ImageFileCreateBatch, self).__init__(**kwargs) self.images = images self.tag_ids = tag_ids + self.metadata = metadata class ImageFileCreateEntry(Model): @@ -449,17 +474,23 @@ class ImageIdCreateBatch(Model): list[~azure.cognitiveservices.vision.customvision.training.models.ImageIdCreateEntry] :param tag_ids: :type tag_ids: list[str] + :param metadata: The metadata of image. Limited to 50 key-value pairs per + image. The length of key is limited to 256. The length of value is limited + to 512. + :type metadata: dict[str, str] """ _attribute_map = { 'images': {'key': 'images', 'type': '[ImageIdCreateEntry]'}, 'tag_ids': {'key': 'tagIds', 'type': '[str]'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, } - def __init__(self, *, images=None, tag_ids=None, **kwargs) -> None: + def __init__(self, *, images=None, tag_ids=None, metadata=None, **kwargs) -> None: super(ImageIdCreateBatch, self).__init__(**kwargs) self.images = images self.tag_ids = tag_ids + self.metadata = metadata class ImageIdCreateEntry(Model): @@ -487,6 +518,61 @@ def __init__(self, *, id: str=None, tag_ids=None, regions=None, **kwargs) -> Non self.regions = regions +class ImageMetadataUpdateEntry(Model): + """Entry associating a metadata to an image. + + :param image_id: Id of the image. + :type image_id: str + :param status: Status of the metadata update. Possible values include: + 'OK', 'ErrorImageNotFound', 'ErrorLimitExceed', 'ErrorUnknown' + :type status: str or + ~azure.cognitiveservices.vision.customvision.training.models.ImageMetadataUpdateStatus + :param metadata: Metadata of the image. + :type metadata: dict[str, str] + """ + + _attribute_map = { + 'image_id': {'key': 'imageId', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, + } + + def __init__(self, *, image_id: str=None, status=None, metadata=None, **kwargs) -> None: + super(ImageMetadataUpdateEntry, self).__init__(**kwargs) + self.image_id = image_id + self.status = status + self.metadata = metadata + + +class ImageMetadataUpdateSummary(Model): + """ImageMetadataUpdateSummary. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar is_batch_successful: + :vartype is_batch_successful: bool + :ivar images: + :vartype images: + list[~azure.cognitiveservices.vision.customvision.training.models.ImageMetadataUpdateEntry] + """ + + _validation = { + 'is_batch_successful': {'readonly': True}, + 'images': {'readonly': True}, + } + + _attribute_map = { + 'is_batch_successful': {'key': 'isBatchSuccessful', 'type': 'bool'}, + 'images': {'key': 'images', 'type': '[ImageMetadataUpdateEntry]'}, + } + + def __init__(self, **kwargs) -> None: + super(ImageMetadataUpdateSummary, self).__init__(**kwargs) + self.is_batch_successful = None + self.images = None + + class ImagePerformance(Model): """Image performance model. @@ -994,17 +1080,23 @@ class ImageUrlCreateBatch(Model): list[~azure.cognitiveservices.vision.customvision.training.models.ImageUrlCreateEntry] :param tag_ids: :type tag_ids: list[str] + :param metadata: The metadata of image. Limited to 50 key-value pairs per + image. The length of key is limited to 256. The length of value is limited + to 512. + :type metadata: dict[str, str] """ _attribute_map = { 'images': {'key': 'images', 'type': '[ImageUrlCreateEntry]'}, 'tag_ids': {'key': 'tagIds', 'type': '[str]'}, + 'metadata': {'key': 'metadata', 'type': '{str}'}, } - def __init__(self, *, images=None, tag_ids=None, **kwargs) -> None: + def __init__(self, *, images=None, tag_ids=None, metadata=None, **kwargs) -> None: super(ImageUrlCreateBatch, self).__init__(**kwargs) self.images = images self.tag_ids = tag_ids + self.metadata = metadata class ImageUrlCreateEntry(Model): @@ -1212,6 +1304,10 @@ class Prediction(Model): :ivar bounding_box: Bounding box of the prediction. :vartype bounding_box: ~azure.cognitiveservices.vision.customvision.training.models.BoundingBox + :ivar tag_type: Type of the predicted tag. Possible values include: + 'Regular', 'Negative', 'GeneralProduct' + :vartype tag_type: str or + ~azure.cognitiveservices.vision.customvision.training.models.TagType """ _validation = { @@ -1219,6 +1315,7 @@ class Prediction(Model): 'tag_id': {'readonly': True}, 'tag_name': {'readonly': True}, 'bounding_box': {'readonly': True}, + 'tag_type': {'readonly': True}, } _attribute_map = { @@ -1226,6 +1323,7 @@ class Prediction(Model): 'tag_id': {'key': 'tagId', 'type': 'str'}, 'tag_name': {'key': 'tagName', 'type': 'str'}, 'bounding_box': {'key': 'boundingBox', 'type': 'BoundingBox'}, + 'tag_type': {'key': 'tagType', 'type': 'str'}, } def __init__(self, **kwargs) -> None: @@ -1234,6 +1332,7 @@ def __init__(self, **kwargs) -> None: self.tag_id = None self.tag_name = None self.bounding_box = None + self.tag_type = None class PredictionQueryResult(Model): @@ -1246,7 +1345,7 @@ class PredictionQueryResult(Model): :param token: Prediction Query Token. :type token: ~azure.cognitiveservices.vision.customvision.training.models.PredictionQueryToken - :ivar results: Result of an prediction request. + :ivar results: Result of an image prediction request. :vartype results: list[~azure.cognitiveservices.vision.customvision.training.models.StoredImagePrediction] """ @@ -1361,7 +1460,9 @@ class Project(Model): :vartype created: datetime :ivar last_modified: Gets the date this project was last modified. :vartype last_modified: datetime - :ivar thumbnail_uri: Gets the thumbnail url representing the image. + :ivar thumbnail_uri: Gets the thumbnail url representing the image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype thumbnail_uri: str :ivar dr_mode_enabled: Gets if the Disaster Recovery (DR) mode is on, indicating the project is temporarily read-only. @@ -1587,12 +1688,17 @@ class StoredImagePrediction(Model): Variables are only populated by the server, and will be ignored when sending a request. - :ivar resized_image_uri: The URI to the (resized) prediction image. + :ivar resized_image_uri: The URI to the (resized) prediction image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype resized_image_uri: str :ivar thumbnail_uri: The URI to the thumbnail of the original prediction - image. + image. If VNET feature is enabled this will be a relative path to be used + with GetArtifact, otherwise this will be an absolute URI to the resource. :vartype thumbnail_uri: str - :ivar original_image_uri: The URI to the original prediction image. + :ivar original_image_uri: The URI to the original prediction image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype original_image_uri: str :ivar domain: Domain used for the prediction. :vartype domain: str @@ -1656,12 +1762,17 @@ class StoredSuggestedTagAndRegion(Model): :vartype width: int :ivar height: Height of the resized image. :vartype height: int - :ivar resized_image_uri: The URI to the (resized) prediction image. + :ivar resized_image_uri: The URI to the (resized) prediction image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype resized_image_uri: str :ivar thumbnail_uri: The URI to the thumbnail of the original prediction - image. + image. If VNET feature is enabled this will be a relative path to be used + with GetArtifact, otherwise this will be an absolute URI to the resource. :vartype thumbnail_uri: str - :ivar original_image_uri: The URI to the original prediction image. + :ivar original_image_uri: The URI to the original prediction image. If + VNET feature is enabled this will be a relative path to be used with + GetArtifact, otherwise this will be an absolute URI to the resource. :vartype original_image_uri: str :ivar domain: Domain used for the prediction. :vartype domain: str @@ -1867,7 +1978,7 @@ class Tag(Model): :param description: Required. Gets or sets the description of the tag. :type description: str :param type: Required. Gets or sets the type of the tag. Possible values - include: 'Regular', 'Negative' + include: 'Regular', 'Negative', 'GeneralProduct' :type type: str or ~azure.cognitiveservices.vision.customvision.training.models.TagType :ivar image_count: Gets the number of images with this tag. diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/operations/_custom_vision_training_client_operations.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/operations/_custom_vision_training_client_operations.py index b9c93e6cd9d8..a8780ab7a40d 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/operations/_custom_vision_training_client_operations.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/training/operations/_custom_vision_training_client_operations.py @@ -10,6 +10,7 @@ # -------------------------------------------------------------------------- from msrest.pipeline import ClientRawResponse +from msrest.exceptions import HttpOperationError from .. import models @@ -397,6 +398,64 @@ def update_project( return deserialized update_project.metadata = {'url': '/projects/{projectId}'} + def get_artifact( + self, project_id, path, custom_headers=None, raw=False, callback=None, **operation_config): + """Get artifact content from blob storage, based on artifact relative path + in the blob. + + :param project_id: The project id. + :type project_id: str + :param path: The relative path for artifact. + :type path: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param callback: When specified, will be called with each chunk of + data that is streamed. The callback should take two arguments, the + bytes of the current chunk of data and the response object. If the + data is uploading, response will be None. + :type callback: Callable[Bytes, response=None] + :param operation_config: :ref:`Operation configuration + overrides`. + :return: object or ClientRawResponse if raw=true + :rtype: Generator or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`HttpOperationError` + """ + # Construct URL + url = self.get_artifact.metadata['url'] + path_format_arguments = { + 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), + 'projectId': self._serialize.url("project_id", project_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['path'] = self._serialize.query("path", path, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/octet-stream' + if custom_headers: + header_parameters.update(custom_headers) + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=True, **operation_config) + + if response.status_code not in [200]: + raise HttpOperationError(self._deserialize, response) + + deserialized = self._client.stream_download(response, callback) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get_artifact.metadata = {'url': '/projects/{projectId}/artifacts'} + def export_project( self, project_id, custom_headers=None, raw=False, **operation_config): """Exports a project. @@ -450,6 +509,107 @@ def export_project( return deserialized export_project.metadata = {'url': '/projects/{projectId}/export'} + def get_images( + self, project_id, iteration_id=None, tag_ids=None, tagging_status=None, filter=None, order_by=None, take=50, skip=0, custom_headers=None, raw=False, **operation_config): + """Get images for a given project iteration or workspace. + + This API supports batching and range selection. By default it will only + return first 50 images matching images. + Use the {take} and {skip} parameters to control how many images to + return in a given batch. + The filtering is on an and/or relationship. For example, if the + provided tag ids are for the "Dog" and + "Cat" tags, then only images tagged with Dog and/or Cat will be + returned. + + :param project_id: The project id. + :type project_id: str + :param iteration_id: The iteration id. Defaults to workspace. + :type iteration_id: str + :param tag_ids: A list of tags ids to filter the images. Defaults to + all tagged images when null. Limited to 20. + :type tag_ids: list[str] + :param tagging_status: The tagging status filter. It can be 'All', + 'Tagged', or 'Untagged'. Defaults to 'All'. Possible values include: + 'All', 'Tagged', 'Untagged' + :type tagging_status: str + :param filter: An expression to filter the images against image + metadata. Only images where the expression evaluates to true are + included in the response. + The expression supports eq (Equal), ne (Not equal), and (Logical and), + or (Logical or) operators. + Here is an example, metadata=key1 eq 'value1' and key2 ne 'value2'. + :type filter: str + :param order_by: The ordering. Defaults to newest. Possible values + include: 'Newest', 'Oldest' + :type order_by: str + :param take: Maximum number of images to return. Defaults to 50, + limited to 256. + :type take: int + :param skip: Number of images to skip before beginning the image + batch. Defaults to 0. + :type skip: int + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: list or ClientRawResponse if raw=true + :rtype: + list[~azure.cognitiveservices.vision.customvision.training.models.Image] + or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`CustomVisionErrorException` + """ + # Construct URL + url = self.get_images.metadata['url'] + path_format_arguments = { + 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), + 'projectId': self._serialize.url("project_id", project_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if iteration_id is not None: + query_parameters['iterationId'] = self._serialize.query("iteration_id", iteration_id, 'str') + if tag_ids is not None: + query_parameters['tagIds'] = self._serialize.query("tag_ids", tag_ids, '[str]', div=',', max_items=20, min_items=0) + if tagging_status is not None: + query_parameters['taggingStatus'] = self._serialize.query("tagging_status", tagging_status, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if order_by is not None: + query_parameters['orderBy'] = self._serialize.query("order_by", order_by, 'str') + if take is not None: + query_parameters['take'] = self._serialize.query("take", take, 'int', maximum=256, minimum=0) + if skip is not None: + query_parameters['skip'] = self._serialize.query("skip", skip, 'int') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if custom_headers: + header_parameters.update(custom_headers) + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.CustomVisionErrorException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('[Image]', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get_images.metadata = {'url': '/projects/{projectId}/images'} + def create_images_from_data( self, project_id, image_data, tag_ids=None, custom_headers=None, raw=False, **operation_config): """Add the provided images to the set of training images. @@ -457,6 +617,10 @@ def create_images_from_data( This API accepts body content as multipart/form-data and application/octet-stream. When using multipart multiple image files can be sent at once, with a maximum of 64 files. + If all images are successful created, 200(OK) status code will be + returned. + Otherwise, 207 (Multi-Status) status code will be returned and detail + status for each image will be listed in the response payload. :param project_id: The project id. :type project_id: str @@ -507,12 +671,14 @@ def create_images_from_data( request = self._client.post(url, query_parameters, header_parameters, form_content=form_data_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200]: + if response.status_code not in [200, 207]: raise models.CustomVisionErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('ImageCreateSummary', response) + if response.status_code == 207: + deserialized = self._deserialize('ImageCreateSummary', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -642,20 +808,103 @@ def get_image_region_proposals( return deserialized get_image_region_proposals.metadata = {'url': '/projects/{projectId}/images/{imageId}/regionproposals'} + def get_image_count( + self, project_id, iteration_id=None, tagging_status=None, filter=None, tag_ids=None, custom_headers=None, raw=False, **operation_config): + """Get the number of images. + + The filtering is on an and/or relationship. For example, if the + provided tag ids are for the "Dog" and + "Cat" tags, then only images tagged with Dog and/or Cat will be + returned. + + :param project_id: The project id. + :type project_id: str + :param iteration_id: The iteration id. Defaults to workspace. + :type iteration_id: str + :param tagging_status: The tagging status filter. It can be 'All', + 'Tagged', or 'Untagged'. Defaults to 'All'. Possible values include: + 'All', 'Tagged', 'Untagged' + :type tagging_status: str + :param filter: An expression to filter the images against image + metadata. Only images where the expression evaluates to true are + included in the response. + The expression supports eq (Equal), ne (Not equal), and (Logical and), + or (Logical or) operators. + Here is an example, metadata=key1 eq 'value1' and key2 ne 'value2'. + :type filter: str + :param tag_ids: A list of tags ids to filter the images to count. + Defaults to all tags when null. + :type tag_ids: list[str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: int or ClientRawResponse if raw=true + :rtype: int or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`CustomVisionErrorException` + """ + # Construct URL + url = self.get_image_count.metadata['url'] + path_format_arguments = { + 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), + 'projectId': self._serialize.url("project_id", project_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + if iteration_id is not None: + query_parameters['iterationId'] = self._serialize.query("iteration_id", iteration_id, 'str') + if tagging_status is not None: + query_parameters['taggingStatus'] = self._serialize.query("tagging_status", tagging_status, 'str') + if filter is not None: + query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + if tag_ids is not None: + query_parameters['tagIds'] = self._serialize.query("tag_ids", tag_ids, '[str]', div=',') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if custom_headers: + header_parameters.update(custom_headers) + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.CustomVisionErrorException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('int', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get_image_count.metadata = {'url': '/projects/{projectId}/images/count'} + def create_images_from_files( - self, project_id, images=None, tag_ids=None, custom_headers=None, raw=False, **operation_config): + self, project_id, batch, custom_headers=None, raw=False, **operation_config): """Add the provided batch of images to the set of training images. This API accepts a batch of files, and optionally tags, to create images. There is a limit of 64 images and 20 tags. + If all images are successful created, 200(OK) status code will be + returned. + Otherwise, 207 (Multi-Status) status code will be returned and detail + status for each image will be listed in the response payload. :param project_id: The project id. :type project_id: str - :param images: - :type images: - list[~azure.cognitiveservices.vision.customvision.training.models.ImageFileCreateEntry] - :param tag_ids: - :type tag_ids: list[str] + :param batch: The batch of image files to add. Limited to 64 images + and 20 tags per batch. + :type batch: + ~azure.cognitiveservices.vision.customvision.training.models.ImageFileCreateBatch :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -668,8 +917,6 @@ def create_images_from_files( :raises: :class:`CustomVisionErrorException` """ - batch = models.ImageFileCreateBatch(images=images, tag_ids=tag_ids) - # Construct URL url = self.create_images_from_files.metadata['url'] path_format_arguments = { @@ -695,12 +942,14 @@ def create_images_from_files( request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200]: + if response.status_code not in [200, 207]: raise models.CustomVisionErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('ImageCreateSummary', response) + if response.status_code == 207: + deserialized = self._deserialize('ImageCreateSummary', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -774,20 +1023,92 @@ def get_images_by_ids( return deserialized get_images_by_ids.metadata = {'url': '/projects/{projectId}/images/id'} + def update_image_metadata( + self, project_id, image_ids, metadata, custom_headers=None, raw=False, **operation_config): + """Update metadata of images. + + This API accepts a batch of image Ids, and metadata, to update images. + There is a limit of 64 images. + + :param project_id: The project id. + :type project_id: str + :param image_ids: The list of image ids to update. Limited to 64. + :type image_ids: list[str] + :param metadata: The metadata to be updated to the specified images. + Limited to 50 key-value pairs per image. The length of key is limited + to 256. The length of value is limited to 512. + :type metadata: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ImageMetadataUpdateSummary or ClientRawResponse if raw=true + :rtype: + ~azure.cognitiveservices.vision.customvision.training.models.ImageMetadataUpdateSummary + or ~msrest.pipeline.ClientRawResponse + :raises: + :class:`CustomVisionErrorException` + """ + # Construct URL + url = self.update_image_metadata.metadata['url'] + path_format_arguments = { + 'Endpoint': self._serialize.url("self.config.endpoint", self.config.endpoint, 'str', skip_quote=True), + 'projectId': self._serialize.url("project_id", project_id, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['imageIds'] = self._serialize.query("image_ids", image_ids, '[str]', div=',', max_items=256, min_items=0) + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if custom_headers: + header_parameters.update(custom_headers) + + # Construct body + body_content = self._serialize.body(metadata, '{str}') + + # Construct and send request + request = self._client.post(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 207]: + raise models.CustomVisionErrorException(self._deserialize, response) + + deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('ImageMetadataUpdateSummary', response) + if response.status_code == 207: + deserialized = self._deserialize('ImageMetadataUpdateSummary', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update_image_metadata.metadata = {'url': '/projects/{projectId}/images/metadata'} + def create_images_from_predictions( - self, project_id, images=None, tag_ids=None, custom_headers=None, raw=False, **operation_config): + self, project_id, batch, custom_headers=None, raw=False, **operation_config): """Add the specified predicted images to the set of training images. This API creates a batch of images from predicted images specified. There is a limit of 64 images and 20 tags. + If all images are successful created, 200(OK) status code will be + returned. + Otherwise, 207 (Multi-Status) status code will be returned and detail + status for each image will be listed in the response payload. :param project_id: The project id. :type project_id: str - :param images: - :type images: - list[~azure.cognitiveservices.vision.customvision.training.models.ImageIdCreateEntry] - :param tag_ids: - :type tag_ids: list[str] + :param batch: Image, tag ids, and metadata. Limited to 64 images and + 20 tags per batch. + :type batch: + ~azure.cognitiveservices.vision.customvision.training.models.ImageIdCreateBatch :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -800,8 +1121,6 @@ def create_images_from_predictions( :raises: :class:`CustomVisionErrorException` """ - batch = models.ImageIdCreateBatch(images=images, tag_ids=tag_ids) - # Construct URL url = self.create_images_from_predictions.metadata['url'] path_format_arguments = { @@ -827,12 +1146,14 @@ def create_images_from_predictions( request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200]: + if response.status_code not in [200, 207]: raise models.CustomVisionErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('ImageCreateSummary', response) + if response.status_code == 207: + deserialized = self._deserialize('ImageCreateSummary', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -848,6 +1169,10 @@ def create_image_regions( This API accepts a batch of image regions, and optionally tags, to update existing images with region information. There is a limit of 64 entries in the batch. + If all regions are successful created, 200(OK) status code will be + returned. + Otherwise, 207 (Multi-Status) status code will be returned and detail + status for each region will be listed in the response payload. :param project_id: The project id. :type project_id: str @@ -893,12 +1218,14 @@ def create_image_regions( request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200]: + if response.status_code not in [200, 207]: raise models.CustomVisionErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('ImageRegionCreateSummary', response) + if response.status_code == 207: + deserialized = self._deserialize('ImageRegionCreateSummary', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -1494,19 +1821,22 @@ def get_untagged_image_count( get_untagged_image_count.metadata = {'url': '/projects/{projectId}/images/untagged/count'} def create_images_from_urls( - self, project_id, images=None, tag_ids=None, custom_headers=None, raw=False, **operation_config): + self, project_id, batch, custom_headers=None, raw=False, **operation_config): """Add the provided images urls to the set of training images. This API accepts a batch of urls, and optionally tags, to create images. There is a limit of 64 images and 20 tags. + If all images are successful created, 200(OK) status code will be + returned. + Otherwise, 207 (Multi-Status) status code will be returned and detail + status for each image will be listed in the response payload. :param project_id: The project id. :type project_id: str - :param images: - :type images: - list[~azure.cognitiveservices.vision.customvision.training.models.ImageUrlCreateEntry] - :param tag_ids: - :type tag_ids: list[str] + :param batch: Image urls, tag ids, and metadata. Limited to 64 images + and 20 tags per batch. + :type batch: + ~azure.cognitiveservices.vision.customvision.training.models.ImageUrlCreateBatch :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -1519,8 +1849,6 @@ def create_images_from_urls( :raises: :class:`CustomVisionErrorException` """ - batch = models.ImageUrlCreateBatch(images=images, tag_ids=tag_ids) - # Construct URL url = self.create_images_from_urls.metadata['url'] path_format_arguments = { @@ -1546,12 +1874,14 @@ def create_images_from_urls( request = self._client.post(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [200]: + if response.status_code not in [200, 207]: raise models.CustomVisionErrorException(self._deserialize, response) deserialized = None if response.status_code == 200: deserialized = self._deserialize('ImageCreateSummary', response) + if response.status_code == 207: + deserialized = self._deserialize('ImageCreateSummary', response) if raw: client_raw_response = ClientRawResponse(deserialized, response) @@ -2119,7 +2449,7 @@ def get_image_performance_count( get_image_performance_count.metadata = {'url': '/projects/{projectId}/iterations/{iterationId}/performance/images/count'} def publish_iteration( - self, project_id, iteration_id, publish_name, prediction_id, custom_headers=None, raw=False, **operation_config): + self, project_id, iteration_id, publish_name, prediction_id, overwrite=None, custom_headers=None, raw=False, **operation_config): """Publish a specific iteration. :param project_id: The project id. @@ -2130,6 +2460,9 @@ def publish_iteration( :type publish_name: str :param prediction_id: The id of the prediction resource to publish to. :type prediction_id: str + :param overwrite: Whether to overwrite the published model with the + given name (default: false). + :type overwrite: bool :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -2153,6 +2486,8 @@ def publish_iteration( query_parameters = {} query_parameters['publishName'] = self._serialize.query("publish_name", publish_name, 'str') query_parameters['predictionId'] = self._serialize.query("prediction_id", prediction_id, 'str') + if overwrite is not None: + query_parameters['overwrite'] = self._serialize.query("overwrite", overwrite, 'bool') # Construct headers header_parameters = {} @@ -2547,7 +2882,7 @@ def create_tag( :param description: Optional description for the tag. :type description: str :param type: Optional type for the tag. Possible values include: - 'Regular', 'Negative' + 'Regular', 'Negative', 'GeneralProduct' :type type: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the @@ -2926,11 +3261,14 @@ def train_project( train_project.metadata = {'url': '/projects/{projectId}/train'} def import_project( - self, token, custom_headers=None, raw=False, **operation_config): + self, token, name=None, custom_headers=None, raw=False, **operation_config): """Imports a project. :param token: Token generated from the export project call. :type token: str + :param name: Optional, name of the project to use instead of + auto-generated name. + :type name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -2953,6 +3291,8 @@ def import_project( # Construct parameters query_parameters = {} query_parameters['token'] = self._serialize.query("token", token, 'str') + if name is not None: + query_parameters['name'] = self._serialize.query("name", name, 'str') # Construct headers header_parameters = {} diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/version.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/version.py index a89ae9805392..69dfaa9ef877 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/version.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/azure/cognitiveservices/vision/customvision/version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "2.0.0" +VERSION = "3.0.0" From f3522cd897ca6adf113b1a1204a2627d8ba76a6b Mon Sep 17 00:00:00 2001 From: KieranBrantnerMagee Date: Mon, 22 Jun 2020 18:55:41 -0700 Subject: [PATCH 03/36] Add set_delete_after_tag as a parameter on ResourceGroupPreparer (#11749) * Add set_delete_after_tag as a parameter on ResourceGroupPreparer so that test-prepared RGs can be automatically cleaned up by engsys. * Populate this into the two "default helper RG preparers" (randomized/cached) to implicitly opt-in the tests consuming those into the best practice. (Currently this is a very limited set of SDKs) * Make delete_after_tag take a timespan and be enabled by default. --- .../devtools_testutils/resource_testcase.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tools/azure-sdk-tools/devtools_testutils/resource_testcase.py b/tools/azure-sdk-tools/devtools_testutils/resource_testcase.py index 43d8df894857..daee710d6b73 100644 --- a/tools/azure-sdk-tools/devtools_testutils/resource_testcase.py +++ b/tools/azure-sdk-tools/devtools_testutils/resource_testcase.py @@ -6,6 +6,7 @@ from collections import namedtuple import functools import os +import datetime from functools import partial from azure_devtools.scenario_tests import AzureTestError, ReservedResourceNameError @@ -33,7 +34,8 @@ def __init__(self, name_prefix='', parameter_name_for_location='location', location='westus', disable_recording=True, playback_fake_resource=None, client_kwargs=None, - random_name_enabled=False): + random_name_enabled=False, + delete_after_tag_timedelta=datetime.timedelta(days=1)): super(ResourceGroupPreparer, self).__init__(name_prefix, random_name_length, disable_recording=disable_recording, playback_fake_resource=playback_fake_resource, @@ -50,13 +52,18 @@ def __init__(self, name_prefix='', if self.random_name_enabled: self.resource_moniker = self.name_prefix + "rgname" self.set_cache(use_cache, parameter_name) + self.delete_after_tag_timedelta = delete_after_tag_timedelta def create_resource(self, name, **kwargs): if self.is_live and self._need_creation: self.client = self.create_mgmt_client(ResourceManagementClient) + parameters = {'location': self.location} + if self.delete_after_tag_timedelta: + expiry = datetime.datetime.utcnow() + self.delete_after_tag_timedelta + parameters['tags'] = {'DeleteAfter': expiry.isoformat()} try: self.resource = self.client.resource_groups.create_or_update( - name, {'location': self.location} + name, parameters ) except Exception as ex: if "ReservedResourceName" in str(ex): @@ -92,4 +99,4 @@ def remove_resource(self, name, **kwargs): pass RandomNameResourceGroupPreparer = partial(ResourceGroupPreparer, random_name_enabled=True) -CachedResourceGroupPreparer = functools.partial(ResourceGroupPreparer, use_cache=True, random_name_enabled=True) +CachedResourceGroupPreparer = partial(ResourceGroupPreparer, use_cache=True, random_name_enabled=True) From 158f7e1021e3cf42241385b86dc49936e7b2c0d1 Mon Sep 17 00:00:00 2001 From: Yijun Xie <48257664+YijunXieMS@users.noreply.github.com> Date: Tue, 23 Jun 2020 09:17:13 -0700 Subject: [PATCH 04/36] [Service Bus] Delete swagger file (#12097) --- .../swagger/servicebus-swagger.json | 960 ------------------ 1 file changed, 960 deletions(-) delete mode 100644 sdk/servicebus/azure-servicebus/swagger/servicebus-swagger.json diff --git a/sdk/servicebus/azure-servicebus/swagger/servicebus-swagger.json b/sdk/servicebus/azure-servicebus/swagger/servicebus-swagger.json deleted file mode 100644 index 981615cac716..000000000000 --- a/sdk/servicebus/azure-servicebus/swagger/servicebus-swagger.json +++ /dev/null @@ -1,960 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2017_04", - "title": "ServiceBusManagementClient", - "description": "Azure Service Bus client for managing Queues, Topics, and Subscriptions.", - "x-ms-code-generation-settings": { - "internalConstructors": true, - "name": "ServiceBusManagementClient" - } - }, - "x-ms-parameterized-host": { - "hostTemplate": "{endpoint}", - "parameters": [ - { - "$ref": "#/parameters/Endpoint" - } - ] - }, - "schemes": [ - "https" - ], - "produces": [ - "application/xml" - ], - "consumes": [ - "application/xml" - ], - "tags": [ - { - "name": "Queue Operations" - }, - { - "name": "Topic Operations" - }, - { - "name": "Subscription Operations" - } - ], - "parameters": { - "ApiVersion": { - "name": "api-version", - "in": "query", - "type": "string", - "default": "2017-04", - "description": "Specifies the version of the REST protocol used for processing the request. This is required when using shared key authorization.", - "minLength": 1, - "x-ms-parameter-location": "client" - }, - "Endpoint": { - "in": "path", - "name": "endpoint", - "description": "The Service Bus fully qualified domain name.", - "required": true, - "type": "string", - "x-ms-skip-url-encoding": true, - "x-ms-parameter-location": "client" - }, - "Enrich": { - "name": "enrich", - "in": "query", - "description": "A query parameter that sets enrich to true or false.", - "type": "boolean", - "default": false, - "x-ms-parameter-location": "method" - } - }, - "definitions": { - "AccessRights": { - "description": "Access rights of the entity", - "type": "string", - "xml": { - "name": "AccessRights", - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - }, - "enum": [ - "Manage", - "Send", - "Listen" - ] - }, - "AuthorizationRule": { - "description": "Authorization rule of an entity", - "type": "object", - "xml": { - "name": "AuthorizationRule", - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - }, - "properties": { - "type": { - "type": "string", - "xml": { - "attribute": true, - "prefix": "i", - "namespace": "http://www.w3.org/2001/XMLSchema-instance" - } - }, - "ClaimType": { - "type": "string", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "ClaimValue": { - "type": "string", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "Rights": { - "description": "Access rights of the entity. Values are 'Send', 'Listen', or 'Manage'", - "type": "array", - "xml": { - "wrapped": true, - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - }, - "items": { - "type": "string", - "xml": { - "name": "AccessRights", - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - } - }, - "CreatedTime": { - "description": "The date and time when the authorization rule was created.", - "type": "string", - "format": "date-time", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "ModifiedTime": { - "description": "The date and time when the authorization rule was modified.", - "type": "string", - "format": "date-time", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "KeyName": { - "description": "The authorization rule key name", - "type": "string", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "PrimaryKey": { - "description": "The primary key of the authorization rule", - "type": "string", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "SecondaryKey": { - "description": "The primary key of the authorization rule", - "type": "string", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - } - } - }, - "CreateQueueBody": { - "description": "The request body for creating a queue.", - "type": "object", - "xml": { - "name": "entry", - "namespace": "http://www.w3.org/2005/Atom" - }, - "properties": { - "content": { - "description": "QueueDescription for the new queue.", - "type": "object", - "xml": { - "namespace": "http://www.w3.org/2005/Atom" - }, - "properties": { - "type": { - "description": "MIME type of content.", - "type": "string", - "default": "application/xml", - "xml": { - "attribute": true - } - }, - "QueueDescription": { - "description": "Properties of the new queue.", - "$ref": "#/definitions/QueueDescription" - } - } - } - } - }, - "CreateTopicBody": { - "description": "The request body for creating a topic.", - "type": "object", - "xml": { - "name": "entry", - "namespace": "http://www.w3.org/2005/Atom" - }, - "properties": { - "content": { - "description": "TopicDescription for the new topic.", - "type": "object", - "xml": { - "namespace": "http://www.w3.org/2005/Atom" - }, - "properties": { - "type": { - "description": "MIME type of content.", - "type": "string", - "default": "application/xml", - "xml": { - "attribute": true - } - }, - "TopicDescription": { - "description": "Topic information to create.", - "$ref": "#/definitions/TopicDescription" - } - } - } - } - }, - "EntityAvailabilityStatus": { - "description": "Availibility status of the entity", - "type": "string", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - }, - "enum": [ - "Available", - "Limited", - "Renaming", - "Restoring", - "Unknown" - ] - }, - "EntityStatus": { - "description": "Status of a Service Bus resource", - "type": "string", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - }, - "enum": [ - "Active", - "Creating", - "Deleting", - "Disabled", - "ReceiveDisabled", - "Renaming", - "Restoring", - "SendDisabled", - "Unknown" - ] - }, - "MessageCountDetails": { - "description": "Details about the message counts in queue.", - "type": "object", - "properties": { - "ActiveMessageCount": { - "description": "Number of active messages in the queue, topic, or subscription.", - "type": "integer", - "xml": { - "prefix": "d2p1", - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" - } - }, - "DeadLetterMessageCount": { - "description": "Number of messages that are dead lettered.", - "type": "integer", - "xml": { - "prefix": "d2p1", - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" - } - }, - "ScheduledMessageCount": { - "description": "Number of scheduled messages.", - "type": "integer", - "xml": { - "prefix": "d2p1", - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" - } - }, - "TransferDeadLetterMessageCount": { - "description": "Number of messages transferred into dead letters.", - "type": "integer", - "xml": { - "prefix": "d2p1", - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" - } - }, - "TransferMessageCount": { - "description": "Number of messages transferred to another queue, topic, or subscription.", - "type": "integer", - "xml": { - "prefix": "d2p1", - "namespace": "http://schemas.microsoft.com/netservices/2011/06/servicebus" - } - } - }, - "xml": { - "name": "CountDetails", - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "QueueDescription": { - "description": "Description of a Service Bus queue resource.", - "type": "object", - "xml": { - "name": "QueueDescription", - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - }, - "properties": { - "AuthorizationRules": { - "description": "Authorization rules for resource.", - "type": "array", - "xml": { - "name": "AuthorizationRules", - "wrapped": true, - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - }, - "items": { - "$ref": "#/definitions/AuthorizationRule" - } - }, - "AutoDeleteOnIdle": { - "description": "ISO 8601 timeSpan idle interval after which the queue is automatically deleted. The minimum duration is 5 minutes.", - "type": "string", - "format": "duration", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "CreatedAt": { - "description": "The exact time the queue was created.", - "type": "string", - "format": "date-time", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "DeadLetteringOnMessageExpiration": { - "description": "A value that indicates whether this queue has dead letter support when a message expires.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "DefaultMessageTimeToLive": { - "description": "ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.", - "type": "string", - "format": "duration", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "DuplicateDetectionHistoryTimeWindow": { - "description": "ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.", - "type": "string", - "format": "duration", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "EntityAvailabilityStatus": { - "$ref": "#/definitions/EntityAvailabilityStatus" - }, - "EnableBatchedOperations": { - "description": "Value that indicates whether server-side batched operations are enabled.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "EnableExpress": { - "description": "A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "EnablePartitioning": { - "description": "A value that indicates whether the queue is to be partitioned across multiple message brokers.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "IsAnonymousAccessible": { - "description": "A value indicating if the resource can be accessed without authorization.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "LockDuration": { - "description": "ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.", - "type": "string", - "format": "duration", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "MaxDeliveryCount": { - "description": "The maximum delivery count. A message is automatically deadlettered after this number of deliveries. Default value is 10.", - "type": "integer", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "MaxSizeInMegabytes": { - "description": "The maximum size of the queue in megabytes, which is the size of memory allocated for the queue.", - "type": "integer", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "RequiresDuplicateDetection": { - "description": "A value indicating if this queue requires duplicate detection.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "RequiresSession": { - "description": "A value that indicates whether the queue supports the concept of sessions.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "Status": { - "$ref": "#/definitions/EntityStatus" - }, - "SupportOrdering": { - "description": "A value that indicates whether the queue supports ordering.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "AccessedAt": { - "description": "Last time a message was sent, or the last time there was a receive request to this queue.", - "type": "string", - "format": "date-time", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "UpdatedAt": { - "description": "The exact time a message was updated in the queue.", - "type": "string", - "format": "date-time", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "SizeInBytes": { - "description": "The size of the queue, in bytes.", - "type": "integer", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "MessageCount": { - "description": "The number of messages in the queue.", - "type": "integer", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "MessageCountDetails": { - "$ref": "#/definitions/MessageCountDetails" - } - } - }, - "QueueDescriptionEntry": { - "description": "Represents an entry in the feed when querying queues", - "type": "object", - "properties": { - "base": { - "description": "Base URL for the query.", - "type": "string", - "xml": { - "name": "base", - "attribute": true, - "prefix": "xml" - } - }, - "id": { - "description": "The URL of the GET request", - "type": "string" - }, - "title": { - "description": "The name of the queue", - "$ref": "#/definitions/ResponseTitle" - }, - "published": { - "description": "The timestamp for when this queue was published", - "type": "string", - "format": "date-time" - }, - "updated": { - "description": "The timestamp for when this queue was last updated", - "type": "string", - "format": "date-time" - }, - "author": { - "$ref": "#/definitions/ResponseAuthor" - }, - "link": { - "$ref": "#/definitions/ResponseLink" - }, - "content": { - "description": "The QueueDescription", - "type": "object", - "properties": { - "type": { - "description": "Type of content in queue response", - "type": "string", - "xml": { - "attribute": true - } - }, - "QueueDescription": { - "$ref": "#/definitions/QueueDescription" - } - } - } - }, - "xml": { - "name": "entry", - "namespace": "http://www.w3.org/2005/Atom" - } - }, - "QueueDescriptionFeed": { - "description": "Response from listing Service Bus queues.", - "type": "object", - "xml": { - "name": "feed", - "namespace": "http://www.w3.org/2005/Atom" - }, - "properties": { - "id": { - "description": "URL of the list queues query.", - "type": "string" - }, - "title": { - "description": "The entity type for the feed.", - "type": "string" - }, - "updated": { - "description": "Datetime of the query.", - "type": "string", - "format": "date-time" - }, - "link": { - "description": "Links to paginated response.", - "type":"array", - "items": { - "$ref": "#/definitions/ResponseLink" - } - }, - "entry": { - "description": "Queue entries.", - "type": "array", - "items": { - "$ref": "#/definitions/QueueDescriptionEntry" - } - } - } - }, - "QueueDescriptionResponse": { - "description": "The response from a Queue_Get operation", - "type": "object", - "properties": { - "id": { - "description": "The URL of the GET request", - "type": "string" - }, - "title": { - "description": "The name of the queue", - "type": "string" - }, - "published": { - "description": "The timestamp for when this queue was published", - "type": "string" - }, - "updated": { - "description": "The timestamp for when this queue was last updated", - "type": "string" - }, - "author": { - "$ref": "#/definitions/ResponseAuthor" - }, - "link": { - "$ref": "#/definitions/ResponseLink" - }, - "content": { - "description": "Contents of a Queue_Get response", - "type": "object", - "properties": { - "type": { - "description": "Type of content in queue response", - "type": "string", - "xml": { - "attribute": true - } - }, - "QueueDescription": { - "$ref": "#/definitions/QueueDescription" - } - } - } - }, - "xml": { - "name": "entry", - "namespace": "http://www.w3.org/2005/Atom" - } - }, - "ResponseAuthor": { - "description": "The author that created this resource", - "type": "object", - "properties": { - "name": { - "description": "The Service Bus namespace", - "type": "string" - } - } - }, - "ResponseLink": { - "description": "The URL for the HTTP request", - "type": "object", - "properties": { - "href": { - "description": "The URL of the GET request", - "type": "string", - "xml": { - "attribute": true - } - }, - "rel": { - "description": "What the link href is relative to", - "type": "string", - "xml": { - "attribute": true - } - } - }, - "xml": { - "name": "link", - "namespace": "http://www.w3.org/2005/Atom" - } - }, - "ResponseTitle": { - "description": "The title of the response", - "type": "object", - "properties": { - "type": { - "description": "Type of value", - "type": "string", - "xml": { - "attribute": true - } - }, - "title": { - "description": "Contents of the title.", - "type": "string" - } - } - }, - "ServiceBusManagementError": { - "description": "The error response from Service Bus.", - "type": "object", - "properties": { - "Code": { - "description": "The service error code.", - "type": "integer" - }, - "Detail": { - "description": "The service error message.", - "type": "string" - } - } - }, - "TopicDescription": { - "description": "Description of a Service Bus topic resource.", - "type": "object", - "xml": { - "name": "TopicDescription", - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - }, - "properties": { - "TopicName": { - "description": "Name of the topic", - "type": "string" - }, - "AuthorizationRules": { - "description": "Authorization rules for resource.", - "type": "array", - "xml": { - "wrapped": true, - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - }, - "items": { - "$ref": "#/definitions/AuthorizationRule" - } - }, - "AutoDeleteOnIdle": { - "description": "ISO 8601 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.", - "type": "string", - "format": "duration", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "DefaultMessageTimeToLive": { - "description": "ISO 8601 default message timespan to live value. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.", - "type": "string", - "format": "duration", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "DuplicateDetectionHistoryTimeWindow": { - "description": "ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.", - "type": "string", - "format": "duration", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "EnableBatchedOperations": { - "description": "Value that indicates whether server-side batched operations are enabled.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "EnablePartitioning": { - "description": "A value that indicates whether the topic is to be partitioned across multiple message brokers.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "MaxSizeInMegabytes": { - "description": "The maximum size of the topic in megabytes, which is the size of memory allocated for the topic.", - "type": "integer", - "format": "int64" - }, - "RequiresDuplicateDetection": { - "description": "A value indicating if this topic requires duplicate detection.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "Status": { - "$ref": "#/definitions/EntityStatus" - }, - "SupportOrdering": { - "description": "A value that indicates whether the topic supports ordering.", - "type": "boolean", - "xml": { - "namespace": "http://schemas.microsoft.com/netservices/2010/10/servicebus/connect" - } - }, - "UserMetadata": { - "description": "Metadata associated with the topic.", - "type": "string" - } - } - } - }, - "responses": { - "ServiceBusManagementErrorResponse": { - "description": "An error occurred. The possible HTTP status, code, and message strings are listed below", - "headers": { - "x-ms-request-id": { - "description": "A server-generated UUID recorded in the analytics logs for troubleshooting and correlation.", - "pattern": "^[{(]?[0-9a-f]{8}[-]?([0-9a-f]{4}[-]?){3}[0-9a-f]{12}[)}]?$", - "type": "string" - }, - "x-ms-version": { - "description": "The version of the REST protocol used to process the request.", - "type": "string" - } - }, - "schema": { - "$ref": "#/definitions/ServiceBusManagementError" - } - } - }, - "paths": { - "/{queueName}": { - "parameters": [ - { - "name": "queueName", - "in": "path", - "description": "The name of the queue relative to the Service Bus namespace.", - "minLength": 1, - "x-ms-parameter-location": "method", - "required": true, - "type": "string" - } - ], - "get": { - "operationId": "Queue_Get", - "summary": "Get Queue", - "description": "Get the details about the Queue with the given queueName.", - "tags": [ - "Queue Operations" - ], - "parameters": [ - { - "$ref": "#/parameters/Enrich" - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/ServiceBusManagementErrorResponse" - } - } - }, - "put": { - "tags": [ - "Queue Operations" - ], - "operationId": "Queue_Put", - "description": "Create or update a queue at the provided queuePath", - "parameters": [ - { - "name": "requestBody", - "in": "body", - "schema": { - "type": "object" - }, - "required": true, - "description": "Parameters required to make or edit a queue.", - "x-ms-parameter-location": "method" - }, - { - "$ref": "#/parameters/ApiVersion" - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "Match condition for an entity to be updated. If specified and a matching entity is not found, an error will be raised. To force an unconditional update, set to the wildcard character (*). If not specified, an insert will be performed when no existing entity is found to update and a replace will be performed if an existing entity is found.", - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "description": "Update -- Update Queue operation completed successfully.", - "schema": { - "type": "object" - } - }, - "201": { - "description": "Created -- Create Queue operation completed successfully.", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/ServiceBusManagementErrorResponse" - } - } - }, - "delete": { - "operationId": "Queue_Delete", - "summary": "Delete Queue", - "description": "Delete the Queue with the given queueName.", - "tags": [ - "Queue Operations" - ], - "parameters": [ - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/ServiceBusManagementErrorResponse" - } - } - } - }, - "/$Resources/{entityType}": { - "parameters": [ - { - "name": "entityType", - "in": "path", - "description": "List all queues or all topics of the service bus. Value can be \"queues\" or \"topics\" ", - "minLength": 1, - "x-ms-parameter-location": "method", - "required": true, - "type": "string" - } - ], - "get": { - "operationId": "listEntities", - "summary": "Get Queues or topics", - "description": "Get the details about the entities of the given Service Bus namespace.", - "tags": [ - "Queue Operations", - "Topic Operations" - ], - "parameters": [ - { - "name": "$skip", - "type": "integer", - "in": "query", - "default": 0 - }, - { - "name": "$top", - "type": "integer", - "in": "query", - "default": 100 - }, - { - "$ref": "#/parameters/ApiVersion" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "object" - } - }, - "default": { - "$ref": "#/responses/ServiceBusManagementErrorResponse" - } - } - } - } - } -} \ No newline at end of file From c5ca969e5ffa4dbd5d91dfa646fb3fc29b29adc2 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Tue, 23 Jun 2020 11:21:35 -0700 Subject: [PATCH 05/36] Resolve Pip Related Errors (#12157) * update build-test invocation to set virtualenv prior to invoking setup_execute_tests --- eng/ci_tools.txt | 2 +- eng/pipelines/templates/steps/build-test.yml | 32 ++++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/eng/ci_tools.txt b/eng/ci_tools.txt index 92d6682453e1..6b7348e9adca 100644 --- a/eng/ci_tools.txt +++ b/eng/ci_tools.txt @@ -1,6 +1,7 @@ # requirements leveraged by ci tools setuptools==44.1.0; python_version == '2.7' setuptools==45.1.0; python_version >= '3.5' +virtualenv==20.0.24 wheel==0.34.2 Jinja2==2.11.1 packaging==20.4 @@ -32,4 +33,3 @@ pytest-cov==2.8.1 ./tools/azure-sdk-tools - diff --git a/eng/pipelines/templates/steps/build-test.yml b/eng/pipelines/templates/steps/build-test.yml index bc8451d96b5e..10aad24725d2 100644 --- a/eng/pipelines/templates/steps/build-test.yml +++ b/eng/pipelines/templates/steps/build-test.yml @@ -26,27 +26,27 @@ steps: - template: /eng/common/pipelines/templates/steps/verify-agent-os.yml - script: | - python -m pip install pip == 20.1 - pip install -r eng/ci_tools.txt - pip --version + python -m pip install -r eng/ci_tools.txt + mkdir $(Build.SourcesDirectory)/env + python -m virtualenv $(Build.SourcesDirectory)/env displayName: 'Prep Environment' - ${{ parameters.BeforeTestSteps }} - - task: PythonScript@0 - displayName: 'Run Tests' - inputs: - scriptPath: 'scripts/devops_tasks/setup_execute_tests.py' - arguments: >- - "${{ parameters.BuildTargetingString }}" - ${{ parameters.AdditionalTestArgs }} - ${{ parameters.CoverageArg }} - --mark_arg="${{ parameters.TestMarkArgument }}" - --service="${{ parameters.ServiceDirectory }}" - --toxenv="${{ parameters.ToxTestEnv }}" - --injected-packages="${{ parameters.InjectedPackages }}" - ${{ parameters.ToxEnvParallel }} + - pwsh: | + $env:Path = "$(Build.SourcesDirectory)/env;" + $env:Path + python -m pip install pip==20.1 + python -m pip install -r eng/ci_tools.txt + python -m pip --version + + $env:PYTHON_HOME = "" + $env:VIRTUAL_ENV = "$(Build.SourcesDirectory)/env" + + Write-Host 'python ./scripts/devops_tasks/setup_execute_tests.py "${{ parameters.BuildTargetingString }}" ${{ parameters.AdditionalTestArgs }} ${{ parameters.CoverageArg }} --mark_arg="${{ parameters.TestMarkArgument }}" --service="${{ parameters.ServiceDirectory }}" --toxenv="${{ parameters.ToxTestEnv }}" --injected-packages="${{ parameters.InjectedPackages }}" ${{ parameters.ToxEnvParallel }}"' + python ./scripts/devops_tasks/setup_execute_tests.py "${{ parameters.BuildTargetingString }}" ${{ parameters.AdditionalTestArgs }} ${{ parameters.CoverageArg }} --mark_arg="${{ parameters.TestMarkArgument }}" --service="${{ parameters.ServiceDirectory }}" --toxenv="${{ parameters.ToxTestEnv }}" --injected-packages="${{ parameters.InjectedPackages }}" ${{ parameters.ToxEnvParallel }} + env: ${{ parameters.EnvVars }} + displayName: 'Run Tests' - ${{ parameters.AfterTestSteps }} From ca4f2b1af6ecd884d404372f689602840779ea21 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 23 Jun 2020 12:57:04 -0700 Subject: [PATCH 06/36] fix sample in readme (#12144) --- sdk/formrecognizer/azure-ai-formrecognizer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/README.md index 5d511fa6002b..b04b31156170 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/README.md @@ -254,7 +254,7 @@ credential = AzureKeyCredential("") form_training_client = FormTrainingClient(endpoint, credential) container_sas_url = "xxx" # training documents uploaded to blob storage -poller = form_training_client.begin_training(container_sas_url) +poller = form_training_client.begin_training(container_sas_url, use_training_labels=False) model = poller.result() # Custom model information From 78ffbbaa69f5821c61c780cd993ef9a6b96b8856 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Tue, 23 Jun 2020 13:04:18 -0700 Subject: [PATCH 07/36] Add missing __init__ type annotations (#12146) --- .../azure-identity/azure/identity/_credentials/default.py | 1 + .../azure/identity/_credentials/vscode_credential.py | 7 +++---- .../azure/identity/aio/_credentials/default.py | 2 +- .../azure/identity/aio/_credentials/vscode_credential.py | 8 +++----- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/sdk/identity/azure-identity/azure/identity/_credentials/default.py b/sdk/identity/azure-identity/azure/identity/_credentials/default.py index c78dbc3503d0..44a802ee27c9 100644 --- a/sdk/identity/azure-identity/azure/identity/_credentials/default.py +++ b/sdk/identity/azure-identity/azure/identity/_credentials/default.py @@ -69,6 +69,7 @@ class DefaultAzureCredential(ChainedTokenCredential): """ def __init__(self, **kwargs): + # type: (**Any) -> None authority = kwargs.pop("authority", None) authority = normalize_authority(authority) if authority else get_default_authority() diff --git a/sdk/identity/azure-identity/azure/identity/_credentials/vscode_credential.py b/sdk/identity/azure-identity/azure/identity/_credentials/vscode_credential.py index c40636c24e96..d2c5e4ee6f6e 100644 --- a/sdk/identity/azure-identity/azure/identity/_credentials/vscode_credential.py +++ b/sdk/identity/azure-identity/azure/identity/_credentials/vscode_credential.py @@ -17,16 +17,15 @@ if TYPE_CHECKING: # pylint:disable=unused-import,ungrouped-imports - from typing import Any, Iterable, Optional + from typing import Any from azure.core.credentials import AccessToken class VSCodeCredential(object): - """Authenticates by redeeming a refresh token previously saved by VS Code - - """ + """Authenticates by redeeming a refresh token previously saved by VS Code""" def __init__(self, **kwargs): + # type: (**Any) -> None self._client = kwargs.pop("_client", None) or AadClient("organizations", AZURE_VSCODE_CLIENT_ID, **kwargs) self._refresh_token = None diff --git a/sdk/identity/azure-identity/azure/identity/aio/_credentials/default.py b/sdk/identity/azure-identity/azure/identity/aio/_credentials/default.py index 111511f52a4f..fb1c066390b5 100644 --- a/sdk/identity/azure-identity/azure/identity/aio/_credentials/default.py +++ b/sdk/identity/azure-identity/azure/identity/aio/_credentials/default.py @@ -56,7 +56,7 @@ class DefaultAzureCredential(ChainedTokenCredential): Defaults to the value of environment variable AZURE_TENANT_ID, if any. """ - def __init__(self, **kwargs): + def __init__(self, **kwargs: "Any") -> None: authority = kwargs.pop("authority", None) authority = normalize_authority(authority) if authority else get_default_authority() diff --git a/sdk/identity/azure-identity/azure/identity/aio/_credentials/vscode_credential.py b/sdk/identity/azure-identity/azure/identity/aio/_credentials/vscode_credential.py index fcf392421294..798aefe8c5c2 100644 --- a/sdk/identity/azure-identity/azure/identity/aio/_credentials/vscode_credential.py +++ b/sdk/identity/azure-identity/azure/identity/aio/_credentials/vscode_credential.py @@ -11,16 +11,14 @@ if TYPE_CHECKING: # pylint:disable=unused-import,ungrouped-imports - from typing import Any, Iterable, Optional + from typing import Any from azure.core.credentials import AccessToken class VSCodeCredential(AsyncCredentialBase): - """Authenticates by redeeming a refresh token previously saved by VS Code + """Authenticates by redeeming a refresh token previously saved by VS Code""" - """ - - def __init__(self, **kwargs): + def __init__(self, **kwargs: "Any") -> None: self._client = kwargs.pop("_client", None) or AadClient("organizations", AZURE_VSCODE_CLIENT_ID, **kwargs) self._refresh_token = None From 17ad1108416ec515bc20df179fabc1e0c3e0eb8e Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 23 Jun 2020 14:04:55 -0700 Subject: [PATCH 08/36] [formrecognizer] add strongly-typed receipt wrapper sample (#12128) * add strongly typed receipt samples * update sample tests * add link to doc showing receipt fields available * update receipt fields link to aka.ms --- .../formrecognizer/_form_recognizer_client.py | 6 + .../aio/_form_recognizer_client_async.py | 6 + .../azure-ai-formrecognizer/samples/README.md | 5 +- .../sample_recognize_receipts_async.py | 7 +- ...ample_recognize_receipts_from_url_async.py | 7 +- ...e_strongly_typing_recognized_form_async.py | 117 ++++++++++++++++++ .../samples/sample_recognize_receipts.py | 7 +- .../sample_recognize_receipts_from_url.py | 7 +- .../sample_strongly_typing_recognized_form.py | 110 ++++++++++++++++ .../tests/test_samples.py | 5 + .../tests/test_samples_async.py | 4 + 11 files changed, 276 insertions(+), 5 deletions(-) create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_strongly_typing_recognized_form_async.py create mode 100644 sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_strongly_typing_recognized_form.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py index 34889afbc6fa..4d219977fd54 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py @@ -87,6 +87,9 @@ def begin_recognize_receipts(self, receipt, **kwargs): The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or 'image/tiff'. + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields + :param receipt: JPEG, PNG, PDF and TIFF type file stream or bytes. Currently only supports US sales receipts. :type receipt: bytes or IO[bytes] @@ -141,6 +144,9 @@ def begin_recognize_receipts_from_url(self, receipt_url, **kwargs): """Extract field text and semantic values from a given US sales receipt. The input document must be the location (Url) of the receipt to be analyzed. + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields + :param str receipt_url: The url of the receipt to analyze. The input must be a valid, encoded url of one of the supported formats: JPEG, PNG, PDF and TIFF. Currently only supports US sales receipts. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py index c6f75d43d5db..fa9971bc77c5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py @@ -95,6 +95,9 @@ async def begin_recognize_receipts( The input document must be of one of the supported content types - 'application/pdf', 'image/jpeg', 'image/png' or 'image/tiff'. + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields + :param receipt: JPEG, PNG, PDF and TIFF type file stream or bytes. Currently only supports US sales receipts. :type receipt: bytes or IO[bytes] @@ -155,6 +158,9 @@ async def begin_recognize_receipts_from_url( """Extract field text and semantic values from a given US sales receipt. The input document must be the location (Url) of the receipt to be analyzed. + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields + :param str receipt_url: The url of the receipt to analyze. The input must be a valid, encoded url of one of the supported formats: JPEG, PNG, PDF and TIFF. Currently only supports US sales receipts. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md index d156fa3c7327..2cbdff253c77 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/README.md @@ -60,6 +60,7 @@ what you can do with the Azure Form Recognizer client library. |**Advanced Sample File Name**|**Description**| |----------------|-------------| +|[sample_strongly_typing_recognized_form.py][sample_strongly_typing_recognized_form] and [sample_strongly_typing_recognized_form_async.py][sample_strongly_typing_recognized_form_async]|Use the fields in your recognized forms to create an object with strongly-typed fields| |[sample_get_bounding_boxes.py][sample_get_bounding_boxes] and [sample_get_bounding_boxes_async.py][sample_get_bounding_boxes_async]|Get info to visualize the outlines of form content and fields, which can be used for manual validation| |[sample_differentiate_output_models_trained_with_and_without_labels.py][sample_differentiate_output_models_trained_with_and_without_labels] and [sample_differentiate_output_models_trained_with_and_without_labels_async.py][sample_differentiate_output_models_trained_with_and_without_labels_async]|See the differences in output when using a custom model trained with labeled data and one trained with unlabeled data| @@ -94,4 +95,6 @@ what you can do with the Azure Form Recognizer client library. [sample_train_model_without_labels]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_train_model_without_labels.py [sample_train_model_without_labels_async]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_train_model_without_labels_async.py [sample_copy_model]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_copy_model.py -[sample_copy_model_async]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_copy_model_async.py \ No newline at end of file +[sample_copy_model_async]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_copy_model_async.py +[sample_strongly_typing_recognized_form]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_strongly_typing_recognized_form.py +[sample_strongly_typing_recognized_form_async]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_strongly_typing_recognized_form_async.py \ No newline at end of file diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_async.py index 1b410bc6f20f..c9caa01b8903 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_async.py @@ -10,7 +10,12 @@ FILE: sample_recognize_receipts_async.py DESCRIPTION: - This sample demonstrates how to recognize US sales receipts from a file. + This sample demonstrates how to recognize and extract common fields from US receipts, + using a pre-trained receipt model. For a suggested approach to extracting information + from receipts, see sample_strongly_typed_recognized_form_async.py. + + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields USAGE: python sample_recognize_receipts_async.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_from_url_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_from_url_async.py index 8f244f8b20c4..a7732c34121e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_from_url_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_recognize_receipts_from_url_async.py @@ -10,7 +10,12 @@ FILE: sample_recognize_receipts_from_url_async.py DESCRIPTION: - This sample demonstrates how to recognize US sales receipts from a URL. + This sample demonstrates how to recognize and extract common fields from a US receipt URL, + using a pre-trained receipt model. For a suggested approach to extracting information + from receipts, see sample_strongly_typed_recognized_form_async.py. + + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields USAGE: python sample_recognize_receipts_from_url_async.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_strongly_typing_recognized_form_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_strongly_typing_recognized_form_async.py new file mode 100644 index 000000000000..7bcd77c0320e --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_strongly_typing_recognized_form_async.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +""" +FILE: sample_strongly_typed_recognized_form_async.py + +DESCRIPTION: + This sample demonstrates how to use the fields in your recognized forms to create an object with + strongly-typed fields. The pre-trained receipt method will be used to illustrate this sample, but + note that a similar approach can be used for any custom form as long as you properly update the + fields' names and types. + + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields + +USAGE: + python sample_strongly_typed_recognized_form_async.py + + Set the environment variables with your own values before running the sample: + 1) AZURE_FORM_RECOGNIZER_ENDPOINT - the endpoint to your Cognitive Services resource. + 2) AZURE_FORM_RECOGNIZER_KEY - your Form Recognizer API key +""" + +import os +import asyncio +from azure.ai.formrecognizer import FormField + + +class Receipt(object): + """Creates a strongly-typed Receipt class from the fields returned in a RecognizedForm. + If a specific field is not found on the receipt, it will return None. + + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields + """ + + def __init__(self, form): + self.receipt_type = form.fields.get("ReceiptType", FormField()) + self.merchant_name = form.fields.get("MerchantName", FormField()) + self.merchant_address = form.fields.get("MerchantAddress", FormField()) + self.merchant_phone_number = form.fields.get("MerchantPhoneNumber", FormField()) + self.receipt_items = self.convert_to_receipt_item(form.fields.get("Items", FormField())) + self.subtotal = form.fields.get("Subtotal", FormField()) + self.tax = form.fields.get("Tax", FormField()) + self.tip = form.fields.get("Tip", FormField()) + self.total = form.fields.get("Total", FormField()) + self.transaction_date = form.fields.get("TransactionDate", FormField()) + self.transaction_time = form.fields.get("TransactionTime", FormField()) + + def convert_to_receipt_item(self, items): + """Converts Items in a receipt to a list of strongly-typed ReceiptItem + """ + if items is None: + return [] + return [ReceiptItem(item) for item in items.value] + + +class ReceiptItem(object): + """Creates a strongly-typed ReceiptItem for every receipt item found in a RecognizedForm + """ + + def __init__(self, item): + self.name = item.value.get("Name", FormField()) + self.quantity = item.value.get("Quantity", FormField()) + self.price = item.value.get("Price", FormField()) + self.total_price = item.value.get("TotalPrice", FormField()) + + +class StronglyTypedRecognizedFormSampleAsync(object): + + async def strongly_typed_receipt_async(self): + path_to_sample_forms = os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "..", "./sample_forms/receipt/contoso-allinone.jpg")) + + from azure.core.credentials import AzureKeyCredential + from azure.ai.formrecognizer.aio import FormRecognizerClient + + endpoint = os.environ["AZURE_FORM_RECOGNIZER_ENDPOINT"] + key = os.environ["AZURE_FORM_RECOGNIZER_KEY"] + + async with FormRecognizerClient( + endpoint=endpoint, credential=AzureKeyCredential(key) + ) as form_recognizer_client: + + with open(path_to_sample_forms, "rb") as f: + poller = await form_recognizer_client.begin_recognize_receipts(receipt=f) + receipts = await poller.result() + + for receipt in receipts: + receipt = Receipt(receipt) + print("Receipt Type: {} has confidence: {}".format(receipt.receipt_type.value, receipt.receipt_type.confidence)) + print("Merchant Name: {} has confidence: {}".format(receipt.merchant_name.value, receipt.merchant_name.confidence)) + print("Transaction Date: {} has confidence: {}".format(receipt.transaction_date.value, receipt.transaction_date.confidence)) + print("Receipt items:") + for item in receipt.receipt_items: + print("...Item Name: {} has confidence: {}".format(item.name.value, item.name.confidence)) + print("...Item Quantity: {} has confidence: {}".format(item.quantity.value, item.quantity.confidence)) + print("...Individual Item Price: {} has confidence: {}".format(item.price.value, item.price.confidence)) + print("...Total Item Price: {} has confidence: {}".format(item.total_price.value, item.total_price.confidence)) + print("Subtotal: {} has confidence: {}".format(receipt.subtotal.value, receipt.subtotal.confidence)) + print("Tax: {} has confidence: {}".format(receipt.tax.value, receipt.tax.confidence)) + print("Tip: {} has confidence: {}".format(receipt.tip.value, receipt.tip.confidence)) + print("Total: {} has confidence: {}".format(receipt.total.value, receipt.total.confidence)) + + +async def main(): + sample = StronglyTypedRecognizedFormSampleAsync() + await sample.strongly_typed_receipt_async() + + +if __name__ == '__main__': + loop = asyncio.get_event_loop() + loop.run_until_complete(main()) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts.py index ff44a67e00f0..c2061ce14da9 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts.py @@ -10,7 +10,12 @@ FILE: sample_recognize_receipts.py DESCRIPTION: - This sample demonstrates how to recognize US sales receipts from a file. + This sample demonstrates how to recognize and extract common fields from US receipts, + using a pre-trained receipt model. For a suggested approach to extracting information + from receipts, see sample_strongly_typed_recognized_form.py. + + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields USAGE: python sample_recognize_receipts.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts_from_url.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts_from_url.py index f3b333c4d7f1..3ee25b4dd4ae 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts_from_url.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_recognize_receipts_from_url.py @@ -10,7 +10,12 @@ FILE: sample_recognize_receipts_from_url.py DESCRIPTION: - This sample demonstrates how to recognize US sales receipts from a URL. + This sample demonstrates how to recognize and extract common fields from a US receipt URL, + using a pre-trained receipt model. For a suggested approach to extracting information + from receipts, see sample_strongly_typed_recognized_form.py. + + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields USAGE: python sample_recognize_receipts_from_url.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_strongly_typing_recognized_form.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_strongly_typing_recognized_form.py new file mode 100644 index 000000000000..a552b8b75420 --- /dev/null +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_strongly_typing_recognized_form.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +# ------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +""" +FILE: sample_strongly_typed_recognized_form.py + +DESCRIPTION: + This sample demonstrates how to use the fields in your recognized forms to create an object with + strongly-typed fields. The pre-trained receipt method will be used to illustrate this sample, but + note that a similar approach can be used for any custom form as long as you properly update the + fields' names and types. + + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields + +USAGE: + python sample_strongly_typed_recognized_form.py + + Set the environment variables with your own values before running the sample: + 1) AZURE_FORM_RECOGNIZER_ENDPOINT - the endpoint to your Cognitive Services resource. + 2) AZURE_FORM_RECOGNIZER_KEY - your Form Recognizer API key +""" + +import os +from azure.ai.formrecognizer import FormField + + +class Receipt(object): + """Creates a strongly-typed Receipt class from the fields returned in a RecognizedForm. + If a specific field is not found on the receipt, it will return None. + + See fields found on a receipt here: + https://aka.ms/azsdk/python/formrecognizer/receiptfields + """ + + def __init__(self, form): + self.receipt_type = form.fields.get("ReceiptType", FormField()) + self.merchant_name = form.fields.get("MerchantName", FormField()) + self.merchant_address = form.fields.get("MerchantAddress", FormField()) + self.merchant_phone_number = form.fields.get("MerchantPhoneNumber", FormField()) + self.receipt_items = self.convert_to_receipt_item(form.fields.get("Items", FormField())) + self.subtotal = form.fields.get("Subtotal", FormField()) + self.tax = form.fields.get("Tax", FormField()) + self.tip = form.fields.get("Tip", FormField()) + self.total = form.fields.get("Total", FormField()) + self.transaction_date = form.fields.get("TransactionDate", FormField()) + self.transaction_time = form.fields.get("TransactionTime", FormField()) + + def convert_to_receipt_item(self, items): + """Converts Items in a receipt to a list of strongly-typed ReceiptItem + """ + if items is None: + return [] + return [ReceiptItem(item) for item in items.value] + + +class ReceiptItem(object): + """Creates a strongly-typed ReceiptItem for every receipt item found in a RecognizedForm + """ + + def __init__(self, item): + self.name = item.value.get("Name", FormField()) + self.quantity = item.value.get("Quantity", FormField()) + self.price = item.value.get("Price", FormField()) + self.total_price = item.value.get("TotalPrice", FormField()) + + +class StronglyTypedRecognizedFormSample(object): + + def strongly_typed_receipt(self): + path_to_sample_forms = os.path.abspath(os.path.join(os.path.abspath(__file__), "..", "./sample_forms/receipt/contoso-allinone.jpg")) + + from azure.core.credentials import AzureKeyCredential + from azure.ai.formrecognizer import FormRecognizerClient + + endpoint = os.environ["AZURE_FORM_RECOGNIZER_ENDPOINT"] + key = os.environ["AZURE_FORM_RECOGNIZER_KEY"] + + form_recognizer_client = FormRecognizerClient( + endpoint=endpoint, credential=AzureKeyCredential(key) + ) + with open(path_to_sample_forms, "rb") as f: + poller = form_recognizer_client.begin_recognize_receipts(receipt=f) + receipts = poller.result() + + for receipt in receipts: + receipt = Receipt(receipt) + print("Receipt Type: {} has confidence: {}".format(receipt.receipt_type.value, receipt.receipt_type.confidence)) + print("Merchant Name: {} has confidence: {}".format(receipt.merchant_name.value, receipt.merchant_name.confidence)) + print("Transaction Date: {} has confidence: {}".format(receipt.transaction_date.value, receipt.transaction_date.confidence)) + print("Receipt items:") + for item in receipt.receipt_items: + print("...Item Name: {} has confidence: {}".format(item.name.value, item.name.confidence)) + print("...Item Quantity: {} has confidence: {}".format(item.quantity.value, item.quantity.confidence)) + print("...Individual Item Price: {} has confidence: {}".format(item.price.value, item.price.confidence)) + print("...Total Item Price: {} has confidence: {}".format(item.total_price.value, item.total_price.confidence)) + print("Subtotal: {} has confidence: {}".format(receipt.subtotal.value, receipt.subtotal.confidence)) + print("Tax: {} has confidence: {}".format(receipt.tax.value, receipt.tax.confidence)) + print("Tip: {} has confidence: {}".format(receipt.tip.value, receipt.tip.confidence)) + print("Total: {} has confidence: {}".format(receipt.total.value, receipt.total.confidence)) + + +if __name__ == '__main__': + sample = StronglyTypedRecognizedFormSample() + sample.strongly_typed_receipt() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples.py index 2c282f1976cd..ba3e3c3c10fb 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples.py @@ -110,3 +110,8 @@ def test_sample_train_model_with_labels(self, resource_group, location, form_rec def test_sample_train_model_without_labels(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): os.environ['CONTAINER_SAS_URL'] = self.get_settings_value("FORM_RECOGNIZER_STORAGE_CONTAINER_SAS_URL") _test_file('sample_train_model_without_labels.py', form_recognizer_account, form_recognizer_account_key) + + @pytest.mark.live_test_only + @GlobalFormRecognizerAccountPreparer() + def test_sample_strongly_typing_recognized_form(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): + _test_file('sample_strongly_typing_recognized_form.py', form_recognizer_account, form_recognizer_account_key) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples_async.py index 88c74dfef491..59f14f0984dc 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_samples_async.py @@ -108,3 +108,7 @@ def test_sample_train_model_without_labels_async(self, resource_group, location, os.environ['CONTAINER_SAS_URL'] = self.get_settings_value("FORM_RECOGNIZER_STORAGE_CONTAINER_SAS_URL") _test_file('sample_train_model_without_labels_async.py', form_recognizer_account, form_recognizer_account_key) + @pytest.mark.live_test_only + @GlobalFormRecognizerAccountPreparer() + def test_sample_strongly_typing_recognized_form_async(self, resource_group, location, form_recognizer_account, form_recognizer_account_key): + _test_file('sample_strongly_typing_recognized_form_async.py', form_recognizer_account, form_recognizer_account_key) From 17d39be07f85bc83272daedf845f146febbd2380 Mon Sep 17 00:00:00 2001 From: Chidozie Ononiwu <31145988+chidozieononiwu@users.noreply.github.com> Date: Tue, 23 Jun 2020 14:15:06 -0700 Subject: [PATCH 09/36] Remove OSName Variable (#12147) --- sdk/eventhub/tests.yml | 4 ---- sdk/servicebus/tests.yml | 4 ---- 2 files changed, 8 deletions(-) diff --git a/sdk/eventhub/tests.yml b/sdk/eventhub/tests.yml index f477687d51bd..8b3513f01bad 100644 --- a/sdk/eventhub/tests.yml +++ b/sdk/eventhub/tests.yml @@ -7,19 +7,15 @@ jobs: ServiceDirectory: eventhub Matrix: Linux_Python35: - OSName: 'Linux' OSVmImage: 'ubuntu-18.04' PythonVersion: '3.5' Linux_Python38: - OSName: 'Linux' OSVmImage: 'ubuntu-18.04' PythonVersion: '3.8' Windows_Python27: - OSName: 'Windows' OSVmImage: 'windows-2019' PythonVersion: '2.7' MacOs_Python37: - OSName: 'MacOS' OSVmImage: 'macOS-10.15' PythonVersion: '3.7' EnvVars: diff --git a/sdk/servicebus/tests.yml b/sdk/servicebus/tests.yml index 52093ca97d5d..deda3e0586d1 100644 --- a/sdk/servicebus/tests.yml +++ b/sdk/servicebus/tests.yml @@ -14,18 +14,14 @@ jobs: AZURE_TEST_RUN_LIVE: 'true' Matrix: Linux_Python35: - OSName: 'Linux' OSVmImage: 'ubuntu-18.04' PythonVersion: '3.5' MacOs_Python37: - OSName: 'MacOS' OSVmImage: 'macOS-10.15' PythonVersion: '3.7' Windows_Python27: - OSName: 'Windows' OSVmImage: 'windows-2019' PythonVersion: '2.7' Linux_Python38: - OSName: 'Linux' OSVmImage: 'ubuntu-18.04' PythonVersion: '3.8' \ No newline at end of file From 11c8fc6fe1ebdb013f8b129bea85adec78509b64 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Tue, 23 Jun 2020 16:01:00 -0700 Subject: [PATCH 10/36] Smart text serialization (#12149) * Smart text serialization * Update test_pipeline.py --- sdk/core/azure-core/CHANGELOG.md | 1 + .../azure/core/pipeline/transport/_base.py | 25 +++++++++++++++++++ sdk/core/azure-core/tests/test_pipeline.py | 19 ++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md index 3e2a871b735d..4f6eda777df8 100644 --- a/sdk/core/azure-core/CHANGELOG.md +++ b/sdk/core/azure-core/CHANGELOG.md @@ -7,6 +7,7 @@ - `AzureKeyCredentialPolicy` will now accept (and ignore) passed in kwargs #11963 - Better error messages if passed endpoint is incorrect #12106 +- Do not JSON encore a string if content type is "text" #12137 ## 1.6.0 (2020-06-03) diff --git a/sdk/core/azure-core/azure/core/pipeline/transport/_base.py b/sdk/core/azure-core/azure/core/pipeline/transport/_base.py index f7e83aed4460..73ea08b3c1db 100644 --- a/sdk/core/azure-core/azure/core/pipeline/transport/_base.py +++ b/sdk/core/azure-core/azure/core/pipeline/transport/_base.py @@ -319,6 +319,19 @@ def set_streamed_data_body(self, data): self.data = data self.files = None + def set_text_body(self, data): + """Set a text as body of the request. + + :param data: A text to send as body. + :type data: str + """ + if data is None: + self.data = None + else: + self.data = data + self.headers["Content-Length"] = str(len(self.data)) + self.files = None + def set_xml_body(self, data): """Set an XML element tree as the body of the request. @@ -685,6 +698,11 @@ def _request( # type: (...) -> HttpRequest """Create HttpRequest object. + If content is not None, guesses will be used to set the right body: + - If content is an XML tree, will serialize as XML + - If content-type starts by "text/", set the content as text + - Else, try JSON serialization + :param str method: HTTP method (GET, HEAD, etc.) :param str url: URL for the request. :param dict params: URL query parameters. @@ -703,8 +721,15 @@ def _request( request.headers.update(headers) if content is not None: + content_type = request.headers.get("Content-Type") if isinstance(content, ET.Element): request.set_xml_body(content) + # https://github.com/Azure/azure-sdk-for-python/issues/12137 + # A string is valid JSON, make the difference between text + # and a plain JSON string. + # Content-Type is a good indicator of intent from user + elif content_type and content_type.startswith("text/"): + request.set_text_body(content) else: try: request.set_json_body(content) diff --git a/sdk/core/azure-core/tests/test_pipeline.py b/sdk/core/azure-core/tests/test_pipeline.py index bbbd37c09f5e..7b4cff1753b4 100644 --- a/sdk/core/azure-core/tests/test_pipeline.py +++ b/sdk/core/azure-core/tests/test_pipeline.py @@ -264,6 +264,25 @@ def test_request_url_with_params(self): self.assertIn(request.url, ["a/b/c?g=h&t=y", "a/b/c?t=y&g=h"]) + def test_request_text(self): + client = PipelineClientBase('http://example.org') + request = client.get( + "/", + content="foo" + ) + + # In absence of information, everything is JSON (double quote added) + assert request.data == json.dumps("foo") + + request = client.post( + "/", + headers={'content-type': 'text/whatever'}, + content="foo" + ) + + # We want a direct string + assert request.data == "foo" + if __name__ == "__main__": unittest.main() From 3c323e7c02cfd2daf063d4532a28d0cd7e7c439d Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Tue, 23 Jun 2020 17:32:12 -0700 Subject: [PATCH 11/36] Revert "Resolve Pip Related Errors (#12157)", Pin VirtualEnv (#12169) * Revert "Resolve Pip Related Errors (#12157)" This reverts commit c5ca969e5ffa4dbd5d91dfa646fb3fc29b29adc2. * pin virtualenv to 20.0.23 --- eng/ci_tools.txt | 3 +- eng/pipelines/templates/steps/build-test.yml | 32 ++++++++++---------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/eng/ci_tools.txt b/eng/ci_tools.txt index 6b7348e9adca..3315fe8a548c 100644 --- a/eng/ci_tools.txt +++ b/eng/ci_tools.txt @@ -1,7 +1,7 @@ # requirements leveraged by ci tools setuptools==44.1.0; python_version == '2.7' setuptools==45.1.0; python_version >= '3.5' -virtualenv==20.0.24 +virtualenv==20.0.23 wheel==0.34.2 Jinja2==2.11.1 packaging==20.4 @@ -33,3 +33,4 @@ pytest-cov==2.8.1 ./tools/azure-sdk-tools + diff --git a/eng/pipelines/templates/steps/build-test.yml b/eng/pipelines/templates/steps/build-test.yml index 10aad24725d2..bc8451d96b5e 100644 --- a/eng/pipelines/templates/steps/build-test.yml +++ b/eng/pipelines/templates/steps/build-test.yml @@ -26,27 +26,27 @@ steps: - template: /eng/common/pipelines/templates/steps/verify-agent-os.yml - script: | - python -m pip install -r eng/ci_tools.txt - mkdir $(Build.SourcesDirectory)/env - python -m virtualenv $(Build.SourcesDirectory)/env + python -m pip install pip == 20.1 + pip install -r eng/ci_tools.txt + pip --version displayName: 'Prep Environment' - ${{ parameters.BeforeTestSteps }} - - pwsh: | - $env:Path = "$(Build.SourcesDirectory)/env;" + $env:Path - python -m pip install pip==20.1 - python -m pip install -r eng/ci_tools.txt - python -m pip --version - - $env:PYTHON_HOME = "" - $env:VIRTUAL_ENV = "$(Build.SourcesDirectory)/env" - - Write-Host 'python ./scripts/devops_tasks/setup_execute_tests.py "${{ parameters.BuildTargetingString }}" ${{ parameters.AdditionalTestArgs }} ${{ parameters.CoverageArg }} --mark_arg="${{ parameters.TestMarkArgument }}" --service="${{ parameters.ServiceDirectory }}" --toxenv="${{ parameters.ToxTestEnv }}" --injected-packages="${{ parameters.InjectedPackages }}" ${{ parameters.ToxEnvParallel }}"' - python ./scripts/devops_tasks/setup_execute_tests.py "${{ parameters.BuildTargetingString }}" ${{ parameters.AdditionalTestArgs }} ${{ parameters.CoverageArg }} --mark_arg="${{ parameters.TestMarkArgument }}" --service="${{ parameters.ServiceDirectory }}" --toxenv="${{ parameters.ToxTestEnv }}" --injected-packages="${{ parameters.InjectedPackages }}" ${{ parameters.ToxEnvParallel }} - - env: ${{ parameters.EnvVars }} + - task: PythonScript@0 displayName: 'Run Tests' + inputs: + scriptPath: 'scripts/devops_tasks/setup_execute_tests.py' + arguments: >- + "${{ parameters.BuildTargetingString }}" + ${{ parameters.AdditionalTestArgs }} + ${{ parameters.CoverageArg }} + --mark_arg="${{ parameters.TestMarkArgument }}" + --service="${{ parameters.ServiceDirectory }}" + --toxenv="${{ parameters.ToxTestEnv }}" + --injected-packages="${{ parameters.InjectedPackages }}" + ${{ parameters.ToxEnvParallel }} + env: ${{ parameters.EnvVars }} - ${{ parameters.AfterTestSteps }} From 7b243f4e5e5eb9aa82cc1d1eb9ab0f19f06f5bd8 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Tue, 23 Jun 2020 20:50:29 -0700 Subject: [PATCH 12/36] Fix pip version requirement in build-test.yml (#12148) --- eng/pipelines/templates/steps/build-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/templates/steps/build-test.yml b/eng/pipelines/templates/steps/build-test.yml index bc8451d96b5e..947d9cce79bc 100644 --- a/eng/pipelines/templates/steps/build-test.yml +++ b/eng/pipelines/templates/steps/build-test.yml @@ -26,7 +26,7 @@ steps: - template: /eng/common/pipelines/templates/steps/verify-agent-os.yml - script: | - python -m pip install pip == 20.1 + python -m pip install pip==20.1 pip install -r eng/ci_tools.txt pip --version displayName: 'Prep Environment' From 7b8084b5117543e9e9b0af3a4c6803d7ee18aa82 Mon Sep 17 00:00:00 2001 From: changlong-liu <59815250+changlong-liu@users.noreply.github.com> Date: Wed, 24 Jun 2020 15:40:21 +0800 Subject: [PATCH 13/36] don't use mgmt track2 (#12183) --- .../packaging_tools/code_report.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tools/azure-sdk-tools/packaging_tools/code_report.py b/tools/azure-sdk-tools/packaging_tools/code_report.py index 672a26aef778..59002847bfaa 100644 --- a/tools/azure-sdk-tools/packaging_tools/code_report.py +++ b/tools/azure-sdk-tools/packaging_tools/code_report.py @@ -149,6 +149,22 @@ def merge_report(report_paths): merged_report["operations"].update(report_json["operations"]) return merged_report +def filter_track2_versions(package_name, versions): + track2_versions = { + 'azure-mgmt-appconfiguration': '1.0.0', + 'azure-mgmt-compute':'17.0.0', + 'azure-mgmt-eventhub':'8.0.0', + 'azure-mgmt-keyvault':'7.0.0', + 'azure-mgmt-monitor':'1.0.0', + 'azure-mgmt-network':'16.0.0', + 'azure-mgmt-resource':'15.0.0', + 'azure-mgmt-storage':'16.0.0', + } + upbound = track2_versions.get(package_name) + if not upbound: + return versions + return list(filter(lambda x: x < upbound, versions)) + def main(input_parameter: str, version: Optional[str] = None, no_venv: bool = False, pypi: bool = False, last_pypi: bool = False, output: str = None): package_name, module_name = parse_input(input_parameter) path_to_package = resolve_package_directory(package_name) @@ -164,6 +180,7 @@ def main(input_parameter: str, version: Optional[str] = None, no_venv: bool = Fa _LOGGER.info(f"Got {versions}") if last_pypi: _LOGGER.info(f"Only keep last PyPI version") + versions = filter_track2_versions(package_name, versions) versions = [versions[-1]] for version in versions: From 83b597036d20434e4a75eb505d4db6ad66c2ce50 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Wed, 24 Jun 2020 09:06:34 -0700 Subject: [PATCH 14/36] update training docstring (#12168) --- .../azure/ai/formrecognizer/_form_training_client.py | 12 ++++++------ .../aio/_form_training_client_async.py | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py index acb99b178a21..b79629f823e5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py @@ -100,12 +100,12 @@ def begin_training(self, training_files_url, use_training_labels, **kwargs): :param str training_files_url: An Azure Storage blob container's SAS URI. :param bool use_training_labels: Whether to train with labels or not. Corresponding labeled files must exist in the blob container. - :keyword str prefix: A case-sensitive prefix string to filter documents for training. - Use `prefix` to filter documents themselves, or to restrict sub folders for training - when `include_sub_folders` is set to True. Not supported if training with labels. - :keyword bool include_sub_folders: A flag to indicate if sub folders - will also need to be included when searching for content to be preprocessed. - Use with `prefix` to filter for only certain sub folders. Not supported if training with labels. + :keyword str prefix: A case-sensitive prefix string to filter documents in the source path for + training. For example, when using a Azure storage blob Uri, use the prefix to restrict sub + folders for training. + :keyword bool include_sub_folders: A flag to indicate if sub folders within the set of prefix folders + will also need to be included when searching for content to be preprocessed. Not supported if + training with labels. :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py index 8dd09b6db226..6299e9a71874 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py @@ -109,12 +109,12 @@ async def begin_training( :param str training_files_url: An Azure Storage blob container's SAS URI. :param bool use_training_labels: Whether to train with labels or not. Corresponding labeled files must exist in the blob container. - :keyword str prefix: A case-sensitive prefix string to filter documents for training. - Use `prefix` to filter documents themselves, or to restrict sub folders for training - when `include_sub_folders` is set to True. Not supported if training with labels. - :keyword bool include_sub_folders: A flag to indicate if sub folders - will also need to be included when searching for content to be preprocessed. - Use with `prefix` to filter for only certain sub folders. Not supported if training with labels. + :keyword str prefix: A case-sensitive prefix string to filter documents in the source path for + training. For example, when using a Azure storage blob Uri, use the prefix to restrict sub + folders for training. + :keyword bool include_sub_folders: A flag to indicate if sub folders within the set of prefix folders + will also need to be included when searching for content to be preprocessed. Not supported if + training with labels. :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. From 8979881c758c16b1ea9efc88bec53db41f90a4a7 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Wed, 24 Jun 2020 10:13:29 -0700 Subject: [PATCH 15/36] add search owver (#12190) --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ae8a8d5863e3..9860ee15b844 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -33,6 +33,7 @@ /sdk/hdinsight/ @idear1203 /sdk/machinelearningcompute/ @shutchings /sdk/recoveryservices/ @DheerendraRathor +/sdk/search/ @xiangyan99 /sdk/servicefabric/ @QingChenmsft @samedder /sql/sql/ @jaredmoo /sdk/servicebus/ @annatisch @yunhaoling @YijunXieMS @KieranBrantnerMagee From 5667b8b349d29e743201cc1a77a1c4a9f88bd6c4 Mon Sep 17 00:00:00 2001 From: "Adam Ling (MSFT)" <47871814+yunhaoling@users.noreply.github.com> Date: Wed, 24 Jun 2020 10:55:37 -0700 Subject: [PATCH 16/36] [ServiceBus] Enable Async Unittest (#12001) * enable async unittest * remove unnecessary annotation --- .../azure-servicebus/tests/async_tests/test_queues_async.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py b/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py index 60a7d75f477c..90e27a482d7b 100644 --- a/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py +++ b/sdk/servicebus/azure-servicebus/tests/async_tests/test_queues_async.py @@ -1103,6 +1103,7 @@ async def test_queue_message_settle_through_mgmt_link_due_to_broken_receiver_lin assert len(messages) == 1 await messages[0].complete() + @pytest.mark.asyncio async def test_async_queue_mock_no_reusing_auto_lock_renew(self): class MockReceivedMessage: def __init__(self): From f5008706ab5ee6b2827f47132571ad1fe25b3ba7 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Wed, 24 Jun 2020 15:44:30 -0700 Subject: [PATCH 17/36] FaceAPI 0.4.1 (#12199) * FaceAPI 0.4.1 * Packaging update of azure-cognitiveservices-vision-face Co-authored-by: Azure SDK Bot --- .../CHANGELOG.md | 6 ++ .../README.md | 23 +++--- .../vision/face/models/_face_client_enums.py | 1 + .../vision/face/models/_models.py | 12 ++-- .../vision/face/models/_models_py3.py | 12 ++-- .../face/operations/_face_list_operations.py | 49 ++++++------- .../face/operations/_face_operations.py | 72 ++++++++++--------- .../operations/_large_face_list_operations.py | 51 ++++++------- .../_large_person_group_operations.py | 21 +++--- .../_large_person_group_person_operations.py | 28 ++++---- .../operations/_person_group_operations.py | 23 +++--- .../_person_group_person_operations.py | 38 +++++----- .../cognitiveservices/vision/face/version.py | 2 +- .../setup.py | 5 +- 14 files changed, 179 insertions(+), 164 deletions(-) diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/CHANGELOG.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/CHANGELOG.md index 4f4f387ef392..d41740694d64 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/CHANGELOG.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 0.4.1 (2020-06-24) + +**Features** + +- Add recognition_03 support + ## 0.4.0 (2019-06-27) **Features** diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/README.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/README.md index c16696d61e34..858f4fa58c79 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/README.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/README.md @@ -1,22 +1,21 @@ -## Microsoft Azure SDK for Python +# Microsoft Azure SDK for Python This is the Microsoft Azure Cognitive Services Face Client Library. +This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8. +For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/) -This package has been tested with Python 2.7, 3.5, 3.6 and 3.7. -For a more complete set of Azure libraries, see the -[azure](https://pypi.python.org/pypi/azure) bundle package. +# Usage -## Usage - -For code examples, see [Cognitive Services -Face](https://docs.microsoft.com/python/api/overview/azure/cognitive-services) +For code examples, see [Cognitive Services Face](https://docs.microsoft.com/python/api/overview/azure/cognitive-services) on docs.microsoft.com. -## Provide Feedback -If you encounter any bugs or have suggestions, please file an issue in -the [Issues](https://github.com/Azure/azure-sdk-for-python/issues) +# Provide Feedback + +If you encounter any bugs or have suggestions, please file an issue in the +[Issues](https://github.com/Azure/azure-sdk-for-python/issues) section of the project. -![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-cognitiveservices-vision-face%2FREADME.png) + +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-cognitiveservices-vision-face%2FREADME.png) diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_face_client_enums.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_face_client_enums.py index b3fed2fd6d7f..0fa94e7e7355 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_face_client_enums.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_face_client_enums.py @@ -16,6 +16,7 @@ class RecognitionModel(str, Enum): recognition_01 = "recognition_01" recognition_02 = "recognition_02" + recognition_03 = "recognition_03" class Gender(str, Enum): diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_models.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_models.py index bc0b3049df8e..3d4b0c38de00 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_models.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_models.py @@ -153,7 +153,7 @@ class DetectedFace(Model): :param face_id: :type face_id: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param face_rectangle: Required. @@ -527,7 +527,7 @@ class MetaDataContract(NameAndUserDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel """ @@ -558,7 +558,7 @@ class FaceList(MetaDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param face_list_id: Required. FaceListId of the target face list. @@ -983,7 +983,7 @@ class LargeFaceList(MetaDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param large_face_list_id: Required. LargeFaceListId of the target large @@ -1019,7 +1019,7 @@ class LargePersonGroup(MetaDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param large_person_group_id: Required. LargePersonGroupId of the target @@ -1256,7 +1256,7 @@ class PersonGroup(MetaDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param person_group_id: Required. PersonGroupId of the target person diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_models_py3.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_models_py3.py index 64ac24c59ed7..44ec04f6a8fc 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_models_py3.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/models/_models_py3.py @@ -153,7 +153,7 @@ class DetectedFace(Model): :param face_id: :type face_id: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param face_rectangle: Required. @@ -527,7 +527,7 @@ class MetaDataContract(NameAndUserDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel """ @@ -558,7 +558,7 @@ class FaceList(MetaDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param face_list_id: Required. FaceListId of the target face list. @@ -983,7 +983,7 @@ class LargeFaceList(MetaDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param large_face_list_id: Required. LargeFaceListId of the target large @@ -1019,7 +1019,7 @@ class LargePersonGroup(MetaDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param large_person_group_id: Required. LargePersonGroupId of the target @@ -1256,7 +1256,7 @@ class PersonGroup(MetaDataContract): :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02'. Default value: "recognition_01" . + 'recognition_02', 'recognition_03'. Default value: "recognition_01" . :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param person_group_id: Required. PersonGroupId of the target person diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_face_list_operations.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_face_list_operations.py index 20457119ee27..ea195c665a64 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_face_list_operations.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_face_list_operations.py @@ -42,23 +42,23 @@ def create( in one subscription.
Face list is a list of faces, up to 1,000 faces, and used by [Face - Find - Similar](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237). + Similar](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/findsimilar).
After creation, user should use [FaceList - Add - Face](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395250) + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/addfacefromurl) to import the faces. No image will be stored. Only the extracted face features are stored on server until [FaceList - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524f) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/delete) is called.
Find Similar is used for scenario like finding celebrity-like faces, similar face filtering, or as a light way face identification. But if the actual use is to identify person, please use - [PersonGroup](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395244) + [PersonGroup](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroup) / - [LargePersonGroup](/docs/services/563879b61984550e40cbbe8d/operations/599acdee6ac60f11b48b5a9d) + [LargePersonGroup](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup) and [Face - - Identify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239). + Identify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/identify).
Please consider - [LargeFaceList](/docs/services/563879b61984550e40cbbe8d/operations/5a157b68d2de3616c086f2cc) + [LargeFaceList](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist) when the face number is large. It can support up to 1,000,000 faces.
'recognitionModel' should be specified to associate with this face list. The default value for 'recognitionModel' is @@ -69,12 +69,13 @@ def create( can't be updated to features extracted by another version of recognition model. * 'recognition_01': The default recognition model for [FaceList- - Create](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524b). + Create](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/create). All those face lists created before 2019 March are bonded with this recognition model. * 'recognition_02': Recognition model released in 2019 March. - 'recognition_02' is recommended since its overall accuracy is improved - compared with 'recognition_01'. + * 'recognition_03': Recognition model released in 2020 May. + 'recognition_03' is recommended since its overall accuracy is improved + compared with 'recognition_01' and 'recognition_02'. :param face_list_id: Id referencing a particular face list. :type face_list_id: str @@ -83,7 +84,7 @@ def create( :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02' + 'recognition_02', 'recognition_03' :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param dict custom_headers: headers that will be added to the request @@ -292,7 +293,7 @@ def list( """List face lists’ faceListId, name, userData and recognitionModel.
To get face information inside faceList use [FaceList - - Get](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524c) + Get](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/get) . :param return_recognition_model: A value indicating whether the @@ -404,13 +405,13 @@ def add_face_from_url( persistedFaceId representing the added face. No image will be stored. Only the extracted face feature will be stored on server until [FaceList - Delete - Face](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395251) + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/deleteface) or [FaceList - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524f) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/delete) is called.
Note persistedFaceId is different from faceId generated by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). * Higher face image quality means better detection and recognition precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger. @@ -419,7 +420,7 @@ def add_face_from_url( * "targetFace" rectangle should contain one face. Zero or multiple faces will be regarded as an error. If the provided "targetFace" rectangle is not returned from [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), there’s no guarantee to detect and add the face successfully. * Out of detectable face size (36x36 - 4096x4096 pixels), large head-pose, or large occlusions will cause failures. @@ -430,11 +431,11 @@ def add_face_from_url( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [FaceList - Add - Face](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395250). + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/addfacefromurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | @@ -528,13 +529,13 @@ def add_face_from_stream( persistedFaceId representing the added face. No image will be stored. Only the extracted face feature will be stored on server until [FaceList - Delete - Face](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395251) + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/deleteface) or [FaceList - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524f) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/delete) is called.
Note persistedFaceId is different from faceId generated by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). * Higher face image quality means better detection and recognition precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger. @@ -543,7 +544,7 @@ def add_face_from_stream( * "targetFace" rectangle should contain one face. Zero or multiple faces will be regarded as an error. If the provided "targetFace" rectangle is not returned from [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), there’s no guarantee to detect and add the face successfully. * Out of detectable face size (36x36 - 4096x4096 pixels), large head-pose, or large occlusions will cause failures. @@ -554,11 +555,11 @@ def add_face_from_stream( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [FaceList - Add - Face](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395250). + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/addfacefromurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_face_operations.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_face_operations.py index d2da536c3e62..d5617ce3868b 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_face_operations.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_face_operations.py @@ -40,13 +40,13 @@ def find_similar( """Given query face's faceId, to search the similar-looking faces from a faceId array, a face list or a large face list. faceId array contains the faces created by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), which will expire 24 hours after creation. A "faceListId" is created by [FaceList - - Create](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039524b) + Create](https://docs.microsoft.com/rest/api/cognitiveservices/face/facelist/create) containing persistedFaceIds that will not expire. And a "largeFaceListId" is created by [LargeFaceList - - Create](/docs/services/563879b61984550e40cbbe8d/operations/5a157b68d2de3616c086f2cc) + Create](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/create) containing persistedFaceIds that will also not expire. Depending on the input the returned similar faces list contains faceIds or persistedFaceIds ranked by similarity. @@ -156,7 +156,7 @@ def group( not appear in the result if all faces found their counterparts. * Group API needs at least 2 candidate faces and 1000 at most. We suggest to try [Face - - Verify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523a) + Verify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/verifyfacetoface) when you only have 2 candidate faces. * The 'recognitionModel' associated with the query faces' faceIds should be the same. @@ -227,9 +227,9 @@ def identify( ranked by similarity confidence. The person group/large person group should be trained to make it ready for identification. See more in [PersonGroup - - Train](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395249) + Train](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroup/train) and [LargePersonGroup - - Train](/docs/services/563879b61984550e40cbbe8d/operations/599ae2d16ac60f11b48b5aa4). + Train](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup/train).
Remarks:
* The algorithm allows more than one face to be identified @@ -243,7 +243,7 @@ def identify( maxNumOfCandidatesReturned and confidenceThreshold. If no person is identified, the returned candidates will be an empty array. * Try [Face - Find - Similar](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237) + Similar](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/findsimilar) when you need to find similar faces from a face list/large face list instead of a person group/large person group. * The 'recognitionModel' associated with the query faces' faceIds @@ -401,11 +401,11 @@ def detect_with_url( * No image will be stored. Only the extracted face feature will be stored on server. The faceId is an identifier of the face feature and will be used in [Face - - Identify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239), + Identify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/identify), [Face - - Verify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523a), + Verify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/verifyfacetoface), and [Face - Find - Similar](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237). + Similar](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/findsimilar). The stored face feature(s) will expire and be deleted 24 hours after the original detection call. * Optional parameters include faceId, landmarks, and attributes. @@ -418,11 +418,11 @@ def detect_with_url( * Up to 100 faces can be returned for an image. Faces are ranked by face rectangle size from large to small. * For optimal results when querying [Face - - Identify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239), + Identify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/identify), [Face - - Verify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523a), + Verify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/verifyfacetoface), and [Face - Find - Similar](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237) + Similar](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/findsimilar) ('returnFaceId' is true), please use faces that are: frontal, clear, and with a minimum size of 200x200 pixels (100 pixels between eyes). * The minimum detectable face size is 36x36 pixels in an image no @@ -430,11 +430,11 @@ def detect_with_url( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | @@ -448,16 +448,17 @@ def detect_with_url( parameter. Once specified, the detected faceIds will be associated with the specified recognition model. More details, please refer to [How to specify a recognition - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-recognition-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-recognition-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'recognition_01': | The default recognition model for [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). All those faceIds created before 2019 March are bonded with this recognition model. | - | 'recognition_02': | Recognition model released in 2019 March. - 'recognition_02' is recommended since its overall accuracy is improved - compared with 'recognition_01'. |. + | 'recognition_02': | Recognition model released in 2019 March. | + | 'recognition_03': | Recognition model released in 2020 May. + 'recognition_03' is recommended since its overall accuracy is improved + compared with 'recognition_01' and 'recognition_02'. |. :param url: Publicly reachable URL of an image :type url: str @@ -482,7 +483,7 @@ def detect_with_url( (Large)FaceList - Create or (Large)PersonGroup - Create. The default value is 'recognition_01', if latest model needed, please explicitly specify the model you need. Possible values include: 'recognition_01', - 'recognition_02' + 'recognition_02', 'recognition_03' :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param return_recognition_model: A value indicating whether the @@ -638,11 +639,11 @@ def detect_with_stream( * No image will be stored. Only the extracted face feature will be stored on server. The faceId is an identifier of the face feature and will be used in [Face - - Identify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239), + Identify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/identify), [Face - - Verify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523a), + Verify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/verifyfacetoface), and [Face - Find - Similar](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237). + Similar](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/findsimilar). The stored face feature(s) will expire and be deleted 24 hours after the original detection call. * Optional parameters include faceId, landmarks, and attributes. @@ -655,11 +656,11 @@ def detect_with_stream( * Up to 100 faces can be returned for an image. Faces are ranked by face rectangle size from large to small. * For optimal results when querying [Face - - Identify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239), + Identify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/identify), [Face - - Verify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523a), + Verify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/verifyfacetoface), and [Face - Find - Similar](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237) + Similar](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/findsimilar) ('returnFaceId' is true), please use faces that are: frontal, clear, and with a minimum size of 200x200 pixels (100 pixels between eyes). * The minimum detectable face size is 36x36 pixels in an image no @@ -667,11 +668,11 @@ def detect_with_stream( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | @@ -685,16 +686,17 @@ def detect_with_stream( parameter. Once specified, the detected faceIds will be associated with the specified recognition model. More details, please refer to [How to specify a recognition - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-recognition-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-recognition-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'recognition_01': | The default recognition model for [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). All those faceIds created before 2019 March are bonded with this recognition model. | - | 'recognition_02': | Recognition model released in 2019 March. - 'recognition_02' is recommended since its overall accuracy is improved - compared with 'recognition_01'. |. + | 'recognition_02': | Recognition model released in 2019 March. | + | 'recognition_03': | Recognition model released in 2020 May. + 'recognition_03' is recommended since its overall accuracy is improved + compared with 'recognition_01' and 'recognition_02'. |. :param image: An image stream. :type image: Generator @@ -719,7 +721,7 @@ def detect_with_stream( (Large)FaceList - Create or (Large)PersonGroup - Create. The default value is 'recognition_01', if latest model needed, please explicitly specify the model you need. Possible values include: 'recognition_01', - 'recognition_02' + 'recognition_02', 'recognition_03' :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param return_recognition_model: A value indicating whether the diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_face_list_operations.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_face_list_operations.py index 225794573afc..5d024fca92a3 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_face_list_operations.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_face_list_operations.py @@ -41,25 +41,25 @@ def create( name, an optional userData and recognitionModel.
Large face list is a list of faces, up to 1,000,000 faces, and used by [Face - Find - Similar](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237). + Similar](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/findsimilar).
After creation, user should use [LargeFaceList Face - - Add](/docs/services/563879b61984550e40cbbe8d/operations/5a158c10d2de3616c086f2d3) + Add](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/addfacefromurl) to import the faces and [LargeFaceList - - Train](/docs/services/563879b61984550e40cbbe8d/operations/5a158422d2de3616c086f2d1) + Train](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/train) to make it ready for [Face - Find - Similar](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237). + Similar](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/findsimilar). No image will be stored. Only the extracted face features are stored on server until [LargeFaceList - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/5a1580d5d2de3616c086f2cd) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/delete) is called.
Find Similar is used for scenario like finding celebrity-like faces, similar face filtering, or as a light way face identification. But if the actual use is to identify person, please use - [PersonGroup](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395244) + [PersonGroup](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroup) / - [LargePersonGroup](/docs/services/563879b61984550e40cbbe8d/operations/599acdee6ac60f11b48b5a9d) + [LargePersonGroup](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup) and [Face - - Identify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239). + Identify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/identify).
'recognitionModel' should be specified to associate with this large face list. The default value for 'recognitionModel' is 'recognition_01', if the latest model needed, please explicitly specify @@ -69,12 +69,13 @@ def create( list can't be updated to features extracted by another version of recognition model. * 'recognition_01': The default recognition model for [LargeFaceList- - Create](/docs/services/563879b61984550e40cbbe8d/operations/5a157b68d2de3616c086f2cc). + Create](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/create). All those large face lists created before 2019 March are bonded with this recognition model. * 'recognition_02': Recognition model released in 2019 March. - 'recognition_02' is recommended since its overall accuracy is improved - compared with 'recognition_01'. + * 'recognition_03': Recognition model released in 2020 May. + 'recognition_03' is recommended since its overall accuracy is improved + compared with 'recognition_01' and 'recognition_02'. Large face list quota: * Free-tier subscription quota: 64 large face lists. * S0-tier subscription quota: 1,000,000 large face lists. @@ -87,7 +88,7 @@ def create( :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02' + 'recognition_02', 'recognition_03' :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param dict custom_headers: headers that will be added to the request @@ -352,7 +353,7 @@ def list( """List large face lists’ information of largeFaceListId, name, userData and recognitionModel.
To get face information inside largeFaceList use [LargeFaceList Face - - Get](/docs/services/563879b61984550e40cbbe8d/operations/5a158cf2d2de3616c086f2d5)
* Large face lists are stored in alphabetical order of largeFaceListId. * "start" parameter (string, optional) is a user-provided @@ -644,13 +645,13 @@ def add_face_from_url( persistedFaceId representing the added face. No image will be stored. Only the extracted face feature will be stored on server until [LargeFaceList Face - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/5a158c8ad2de3616c086f2d4) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/deleteface) or [LargeFaceList - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/5a1580d5d2de3616c086f2cd) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/delete) is called.
Note persistedFaceId is different from faceId generated by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). * Higher face image quality means better recognition precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger. @@ -659,7 +660,7 @@ def add_face_from_url( * "targetFace" rectangle should contain one face. Zero or multiple faces will be regarded as an error. If the provided "targetFace" rectangle is not returned from [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), there’s no guarantee to detect and add the face successfully. * Out of detectable face size (36x36 - 4096x4096 pixels), large head-pose, or large occlusions will cause failures. @@ -670,12 +671,12 @@ def add_face_from_url( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [LargeFaceList - Add - Face](/docs/services/563879b61984550e40cbbe8d/operations/5a158c10d2de3616c086f2d3). + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/addfacefromurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | @@ -839,13 +840,13 @@ def add_face_from_stream( persistedFaceId representing the added face. No image will be stored. Only the extracted face feature will be stored on server until [LargeFaceList Face - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/5a158c8ad2de3616c086f2d4) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/deleteface) or [LargeFaceList - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/5a1580d5d2de3616c086f2cd) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/delete) is called.
Note persistedFaceId is different from faceId generated by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). * Higher face image quality means better recognition precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger. @@ -854,7 +855,7 @@ def add_face_from_stream( * "targetFace" rectangle should contain one face. Zero or multiple faces will be regarded as an error. If the provided "targetFace" rectangle is not returned from [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), there’s no guarantee to detect and add the face successfully. * Out of detectable face size (36x36 - 4096x4096 pixels), large head-pose, or large occlusions will cause failures. @@ -865,12 +866,12 @@ def add_face_from_stream( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [LargeFaceList - Add - Face](/docs/services/563879b61984550e40cbbe8d/operations/5a158c10d2de3616c086f2d3). + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/largefacelist/addfacefromurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_person_group_operations.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_person_group_operations.py index 4eb2a64c7dc5..acb548a0d854 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_person_group_operations.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_person_group_operations.py @@ -43,17 +43,17 @@ def create( data, including face recognition feature, and up to 1,000,000 people.
After creation, use [LargePersonGroup Person - - Create](/docs/services/563879b61984550e40cbbe8d/operations/599adcba3a7b9412a4d53f40) + Create](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroupperson/create) to add person into the group, and call [LargePersonGroup - - Train](/docs/services/563879b61984550e40cbbe8d/operations/599ae2d16ac60f11b48b5aa4) + Train](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup/train) to get this group ready for [Face - - Identify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239). + Identify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/identify).
No image will be stored. Only the person's extracted face features and userData will be stored on server until [LargePersonGroup Person - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/599ade5c6ac60f11b48b5aa2) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroupperson/delete) or [LargePersonGroup - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/599adc216ac60f11b48b5a9f) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup/delete) is called.
'recognitionModel' should be specified to associate with this large person group. The default value for 'recognitionModel' is @@ -65,12 +65,13 @@ def create( version of recognition model. * 'recognition_01': The default recognition model for [LargePersonGroup - - Create](/docs/services/563879b61984550e40cbbe8d/operations/599acdee6ac60f11b48b5a9d). + Create](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup/create). All those large person groups created before 2019 March are bonded with this recognition model. * 'recognition_02': Recognition model released in 2019 March. - 'recognition_02' is recommended since its overall accuracy is improved - compared with 'recognition_01'. + * 'recognition_03': Recognition model released in 2020 May. + 'recognition_03' is recommended since its overall accuracy is improved + compared with 'recognition_01' and 'recognition_02'. Large person group quota: * Free-tier subscription quota: 1,000 large person groups. * S0-tier subscription quota: 1,000,000 large person groups. @@ -83,7 +84,7 @@ def create( :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02' + 'recognition_02', 'recognition_03' :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param dict custom_headers: headers that will be added to the request @@ -181,7 +182,7 @@ def get( """Retrieve the information of a large person group, including its name, userData and recognitionModel. This API returns large person group information only, use [LargePersonGroup Person - - List](/docs/services/563879b61984550e40cbbe8d/operations/599adda06ac60f11b48b5aa1) + List](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroupperson/list) instead to retrieve person information under the large person group. . diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_person_group_person_operations.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_person_group_person_operations.py index 2e5dc3ffcee8..c872903b6164 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_person_group_person_operations.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_large_person_group_person_operations.py @@ -514,15 +514,15 @@ def add_face_from_url( rectangle. It returns a persistedFaceId representing the added face. No image will be stored. Only the extracted face feature will be stored on server until [LargePersonGroup PersonFace - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/599ae2966ac60f11b48b5aa3), + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroupperson/deleteface), [LargePersonGroup Person - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/599ade5c6ac60f11b48b5aa2) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroupperson/delete) or [LargePersonGroup - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/599adc216ac60f11b48b5a9f) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup/delete) is called.
Note persistedFaceId is different from faceId generated by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). * Higher face image quality means better recognition precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger. @@ -532,7 +532,7 @@ def add_face_from_url( * "targetFace" rectangle should contain one face. Zero or multiple faces will be regarded as an error. If the provided "targetFace" rectangle is not returned from [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), there’s no guarantee to detect and add the face successfully. * Out of detectable face size (36x36 - 4096x4096 pixels), large head-pose, or large occlusions will cause failures. @@ -544,12 +544,12 @@ def add_face_from_url( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [LargePersonGroup Person - Add - Face](/docs/services/563879b61984550e40cbbe8d/operations/599adf2a3a7b9412a4d53f42). + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroupperson/addfacefromurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | @@ -647,15 +647,15 @@ def add_face_from_stream( rectangle. It returns a persistedFaceId representing the added face. No image will be stored. Only the extracted face feature will be stored on server until [LargePersonGroup PersonFace - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/599ae2966ac60f11b48b5aa3), + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroupperson/deleteface), [LargePersonGroup Person - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/599ade5c6ac60f11b48b5aa2) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroupperson/delete) or [LargePersonGroup - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/599adc216ac60f11b48b5a9f) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup/delete) is called.
Note persistedFaceId is different from faceId generated by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). * Higher face image quality means better recognition precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger. @@ -665,7 +665,7 @@ def add_face_from_stream( * "targetFace" rectangle should contain one face. Zero or multiple faces will be regarded as an error. If the provided "targetFace" rectangle is not returned from [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), there’s no guarantee to detect and add the face successfully. * Out of detectable face size (36x36 - 4096x4096 pixels), large head-pose, or large occlusions will cause failures. @@ -677,12 +677,12 @@ def add_face_from_stream( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [LargePersonGroup Person - Add - Face](/docs/services/563879b61984550e40cbbe8d/operations/599adf2a3a7b9412a4d53f42). + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroupperson/addfacefromurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_person_group_operations.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_person_group_operations.py index 66cf2d6ca01c..c20110157e1e 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_person_group_operations.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_person_group_operations.py @@ -42,17 +42,17 @@ def create(
A person group is the container of the uploaded person data, including face recognition features.
After creation, use [PersonGroup Person - - Create](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523c) + Create](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/create) to add persons into the group, and then call [PersonGroup - - Train](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395249) + Train](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroup/train) to get this group ready for [Face - - Identify](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395239). + Identify](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/identify).
No image will be stored. Only the person's extracted face features and userData will be stored on server until [PersonGroup Person - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523d) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/delete) or [PersonGroup - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395245) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroup/delete) is called.
'recognitionModel' should be specified to associate with this person group. The default value for 'recognitionModel' is @@ -63,12 +63,13 @@ def create( group can't be updated to features extracted by another version of recognition model. * 'recognition_01': The default recognition model for [PersonGroup - - Create](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395244). + Create](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroup/create). All those person groups created before 2019 March are bonded with this recognition model. * 'recognition_02': Recognition model released in 2019 March. - 'recognition_02' is recommended since its overall accuracy is improved - compared with 'recognition_01'. + * 'recognition_03': Recognition model released in 2020 May. + 'recognition_03' is recommended since its overall accuracy is improved + compared with 'recognition_01' and 'recognition_02'. Person group quota: * Free-tier subscription quota: 1,000 person groups. Each holds up to 1,000 persons. @@ -76,7 +77,7 @@ def create( 10,000 persons. * to handle larger scale face identification problem, please consider using - [LargePersonGroup](/docs/services/563879b61984550e40cbbe8d/operations/599acdee6ac60f11b48b5a9d). + [LargePersonGroup](https://docs.microsoft.com/rest/api/cognitiveservices/face/largepersongroup). :param person_group_id: Id referencing a particular person group. :type person_group_id: str @@ -85,7 +86,7 @@ def create( :param user_data: User specified data. Length should not exceed 16KB. :type user_data: str :param recognition_model: Possible values include: 'recognition_01', - 'recognition_02' + 'recognition_02', 'recognition_03' :type recognition_model: str or ~azure.cognitiveservices.vision.face.models.RecognitionModel :param dict custom_headers: headers that will be added to the request @@ -181,7 +182,7 @@ def get( self, person_group_id, return_recognition_model=False, custom_headers=None, raw=False, **operation_config): """Retrieve person group name, userData and recognitionModel. To get person information under this personGroup, use [PersonGroup Person - - List](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395241). + List](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/list). :param person_group_id: Id referencing a particular person group. :type person_group_id: str diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_person_group_person_operations.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_person_group_person_operations.py index 3d62f95c7cee..26c26bc1406b 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_person_group_person_operations.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/operations/_person_group_person_operations.py @@ -446,15 +446,15 @@ def update_face( persistedFaceId representing the added face. No image will be stored. Only the extracted face feature will be stored on server until [PersonGroup PersonFace - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523e), + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/deleteface), [PersonGroup Person - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523d) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/delete) or [PersonGroup - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395245) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroup/delete) is called.
Note persistedFaceId is different from faceId generated by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). * Higher face image quality means better recognition precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger. @@ -464,7 +464,7 @@ def update_face( * "targetFace" rectangle should contain one face. Zero or multiple faces will be regarded as an error. If the provided "targetFace" rectangle is not returned from [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), there’s no guarantee to detect and add the face successfully. * Out of detectable face size (36x36 - 4096x4096 pixels), large head-pose, or large occlusions will cause failures. @@ -536,15 +536,15 @@ def add_face_from_url( persistedFaceId representing the added face. No image will be stored. Only the extracted face feature will be stored on server until [PersonGroup PersonFace - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523e), + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/deleteface), [PersonGroup Person - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523d) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/delete) or [PersonGroup - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395245) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroup/delete) is called.
Note persistedFaceId is different from faceId generated by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). * Higher face image quality means better recognition precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger. @@ -554,7 +554,7 @@ def add_face_from_url( * "targetFace" rectangle should contain one face. Zero or multiple faces will be regarded as an error. If the provided "targetFace" rectangle is not returned from [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), there’s no guarantee to detect and add the face successfully. * Out of detectable face size (36x36 - 4096x4096 pixels), large head-pose, or large occlusions will cause failures. @@ -566,12 +566,12 @@ def add_face_from_url( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [PersonGroup Person - Add - Face](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523b). + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/addfacefromurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | @@ -668,15 +668,15 @@ def add_face_from_stream( persistedFaceId representing the added face. No image will be stored. Only the extracted face feature will be stored on server until [PersonGroup PersonFace - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523e), + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/deleteface), [PersonGroup Person - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523d) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/delete) or [PersonGroup - - Delete](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395245) + Delete](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroup/delete) is called.
Note persistedFaceId is different from faceId generated by [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236). + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl). * Higher face image quality means better recognition precision. Please consider high-quality faces: frontal, clear, and face size is 200x200 pixels (100 pixels between eyes) or bigger. @@ -686,7 +686,7 @@ def add_face_from_stream( * "targetFace" rectangle should contain one face. Zero or multiple faces will be regarded as an error. If the provided "targetFace" rectangle is not returned from [Face - - Detect](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395236), + Detect](https://docs.microsoft.com/rest/api/cognitiveservices/face/face/detectwithurl), there’s no guarantee to detect and add the face successfully. * Out of detectable face size (36x36 - 4096x4096 pixels), large head-pose, or large occlusions will cause failures. @@ -698,12 +698,12 @@ def add_face_from_stream( 1920x1080 pixels will need a proportionally larger minimum face size. * Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to [How to specify a detection - model](https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) + model](https://docs.microsoft.com/azure/cognitive-services/face/face-api-how-to-topics/specify-detection-model) | Model | Recommended use-case(s) | | ---------- | -------- | | 'detection_01': | The default detection model for [PersonGroup Person - Add - Face](/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f3039523b). + Face](https://docs.microsoft.com/rest/api/cognitiveservices/face/persongroupperson/addfacefromurl). Recommend for near frontal face detection. For scenarios with exceptionally large angle (head-pose) faces, occluded faces or wrong image orientation, the faces in such cases may not be detected. | diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/version.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/version.py index 85da2c00c1a6..e9983c0d8c01 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/version.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/azure/cognitiveservices/vision/face/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.4.0" +VERSION = "0.4.1" diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/setup.py b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/setup.py index 9153d49002c4..6eec7ef224f0 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-face/setup.py +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-face/setup.py @@ -36,7 +36,9 @@ pass # Version extraction inspired from 'requests' -with open(os.path.join(package_folder_path, 'version.py'), 'r') as fd: +with open(os.path.join(package_folder_path, 'version.py') + if os.path.exists(os.path.join(package_folder_path, 'version.py')) + else os.path.join(package_folder_path, '_version.py'), 'r') as fd: version = re.search(r'^VERSION\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) @@ -67,6 +69,7 @@ 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'License :: OSI Approved :: MIT License', ], zip_safe=False, From 31fcfa26c8ffcd415895eab7dd6a827d79def001 Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Thu, 25 Jun 2020 11:03:13 -0700 Subject: [PATCH 18/36] adding a pip freeze to ensure we fully understand what our environment has (#12173) --- eng/pipelines/templates/steps/build-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/pipelines/templates/steps/build-test.yml b/eng/pipelines/templates/steps/build-test.yml index 947d9cce79bc..751925a0c603 100644 --- a/eng/pipelines/templates/steps/build-test.yml +++ b/eng/pipelines/templates/steps/build-test.yml @@ -29,6 +29,7 @@ steps: python -m pip install pip==20.1 pip install -r eng/ci_tools.txt pip --version + pip freeze displayName: 'Prep Environment' - ${{ parameters.BeforeTestSteps }} From 03f8223e35db75d6905a3e42bb48aee44f549cef Mon Sep 17 00:00:00 2001 From: Josh Free Date: Thu, 25 Jun 2020 14:39:19 -0700 Subject: [PATCH 19/36] Update SECURITY.md (#12209) --- SECURITY.md | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 79589f291845..926b8ae4059a 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,8 +1,41 @@ -# Security Policy + -## Reporting a Vulnerability +## Security -Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) . You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://www.microsoft.com/msrc/faqs-report-an-issue). +Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/). -Please do not open issues for anything you think might have a security implication. +If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)), please report it to us as described below. +## Reporting Security Issues + +**Please do not report security vulnerabilities through public GitHub issues.** + +Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report). + +If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc). + +You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). + +Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: + + * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) + * Full paths of source file(s) related to the manifestation of the issue + * The location of the affected source code (tag/branch/commit or direct URL) + * Any special configuration required to reproduce the issue + * Step-by-step instructions to reproduce the issue + * Proof-of-concept or exploit code (if possible) + * Impact of the issue, including how an attacker might exploit the issue + +This information will help us triage your report more quickly. + +If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs. + +## Preferred Languages + +We prefer all communications to be in English. + +## Policy + +Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd). + + From ace79c08498e5c49681fc98f9de0f6ae14298e1d Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Thu, 25 Jun 2020 14:56:31 -0700 Subject: [PATCH 20/36] update version number and API_version support (#12154) * update version number and API_version support --- .../azure-search-documents/CHANGELOG.md | 49 ++++++-- sdk/search/azure-search-documents/README.md | 23 +++- .../azure/search/documents/_api_versions.py | 24 ++++ .../documents/_internal/_search_client.py | 105 +++++++++++++++++- .../_internal/aio/_search_client_async.py | 105 +++++++++++++++++- .../azure/search/documents/_version.py | 2 +- .../indexes/_internal/_search_index_client.py | 9 ++ .../_internal/_search_indexer_client.py | 9 ++ .../_internal/aio/_search_index_client.py | 10 +- .../_internal/aio/_search_indexer_client.py | 9 ++ .../async_tests/test_index_live_async.py | 2 +- .../tests/test_index_live.py | 2 +- 12 files changed, 327 insertions(+), 22 deletions(-) create mode 100644 sdk/search/azure-search-documents/azure/search/documents/_api_versions.py diff --git a/sdk/search/azure-search-documents/CHANGELOG.md b/sdk/search/azure-search-documents/CHANGELOG.md index c98afa0f7947..86987b517c03 100644 --- a/sdk/search/azure-search-documents/CHANGELOG.md +++ b/sdk/search/azure-search-documents/CHANGELOG.md @@ -1,5 +1,30 @@ # Release History +## 11.0.0 (2020-07-07) + +**Features** + +- Exposed more models: + + * BM25SimilarityAlgorithm + * ClassicSimilarityAlgorithm + * EdgeNGramTokenFilterSide + * EntityCategory + * EntityRecognitionSkillLanguage + * FieldMapping + * FieldMappingFunction + * ImageAnalysisSkillLanguage + * ImageDetail + * IndexerExecutionStatus + * IndexerStatus + * KeyPhraseExtractionSkillLanguage + * MicrosoftStemmingTokenizerLanguage + * MicrosoftTokenizerLanguage + * OcrSkillLanguage + * PhoneticEncoder + * ScoringFunctionAggregation + * ScoringFunctionInterpolation + ## 1.0.0b4 (2020-06-09) **Breaking Changes** @@ -10,18 +35,18 @@ - Now Search Synonym Map creation/update returns a model #11514 - Renaming #11565 - SearchIndexerDataSource -> SearchIndexerDataSourceConnection - SearchField.SynonymMaps -> SearchField.SynonymMapNames - SearchField.Analyzer -> SearchField.AnalyzerName - SearchField.IndexAnalyzer -> SearchField.IndexAnalyzerName - SearchField.SearchAnalyzer -> SearchField.SearchAnalyzerName - SearchableField.SynonymMaps -> SearchableField.SynonymMapNames - SearchableField.Analyzer -> SearchableField.AnalyzerName - SearchableField.IndexAnalyzer -> SearchableField.IndexAnalyzerName - SearchableField.SearchAnalyzer -> SearchableField.SearchAnalyzerName - Similarity -> SimilarityAlgorithm - Suggester -> SearchSuggester - PathHierarchyTokenizerV2 -> PathHierarchyTokenizer + * SearchIndexerDataSource -> SearchIndexerDataSourceConnection + * SearchField.SynonymMaps -> SearchField.SynonymMapNames + * SearchField.Analyzer -> SearchField.AnalyzerName + * SearchField.IndexAnalyzer -> SearchField.IndexAnalyzerName + * SearchField.SearchAnalyzer -> SearchField.SearchAnalyzerName + * SearchableField.SynonymMaps -> SearchableField.SynonymMapNames + * SearchableField.Analyzer -> SearchableField.AnalyzerName + * SearchableField.IndexAnalyzer -> SearchableField.IndexAnalyzerName + * SearchableField.SearchAnalyzer -> SearchableField.SearchAnalyzerName + * Similarity -> SimilarityAlgorithm + * Suggester -> SearchSuggester + * PathHierarchyTokenizerV2 -> PathHierarchyTokenizer - Renamed DataSource methods to DataSourceConnection #11693 - Autocomplete & suggest methods now takes arguments search_text & suggester_name rather than query objects #11747 - Create_or_updates methods does not support partial updates #11800 diff --git a/sdk/search/azure-search-documents/README.md b/sdk/search/azure-search-documents/README.md index 8509a796c546..e96c01e5f2b6 100644 --- a/sdk/search/azure-search-documents/README.md +++ b/sdk/search/azure-search-documents/README.md @@ -133,7 +133,7 @@ client = SearchClient(endpoint=endpoint, credential=credential) # Let's get the top 5 jobs related to Microsoft -results = client.search(search_text="Microsoft", include_total_result_count=5) +results = client.search(search_text="Microsoft", top=5) for result in results: # Print out the title and job description @@ -325,6 +325,27 @@ print("Upload of new document succeeded: {}".format(result[0].succeeded)) ``` +### Async APIs +This library includes a complete async API supported on Python 3.5+. To use it, you must +first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/). +See +[azure-core documentation](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/README.md#transport) +for more information. + + +```py +from azure.core.credentials import AzureKeyCredential +from azure.search.documents.aio import SearchClient + +client = SearchClient(endpoint, index_name, AzureKeyCredential(api_key)) + +async with client: + results = await client.search(search_text="hotel") + async for result in results: + print("{}: {})".format(result["hotelId"], result["hotelName"])) +... + + ## Troubleshooting ### General diff --git a/sdk/search/azure-search-documents/azure/search/documents/_api_versions.py b/sdk/search/azure-search-documents/azure/search/documents/_api_versions.py new file mode 100644 index 000000000000..72934ea501b9 --- /dev/null +++ b/sdk/search/azure-search-documents/azure/search/documents/_api_versions.py @@ -0,0 +1,24 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ + +_SUPPORTED_API_VERSIONS = [ + "2019-05-06-Preview", +] + +def validate_api_version(api_version): + # type: (str) -> None + """Raise error if api_version is invalid """ + if not api_version: + return + if api_version not in _SUPPORTED_API_VERSIONS: + versions = '\n'.join(_SUPPORTED_API_VERSIONS) + raise ValueError("Unsupported API version '{}'. Please select from:\n{}".format(api_version, versions)) + + +def get_api_version(kwargs, default): + # type: (Dict[str, Any], str) -> str + api_version = kwargs.pop('api_version', None) + validate_api_version(api_version) + return api_version or default diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_client.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_client.py index 45694e8b6d00..de70b29cbc99 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_client.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_search_client.py @@ -8,6 +8,7 @@ import six from azure.core.tracing.decorator import distributed_trace +from .._api_versions import validate_api_version from ._generated import SearchIndexClient from ._generated.models import IndexBatch, IndexingResult from ._index_documents_batch import IndexDocumentsBatch @@ -59,6 +60,7 @@ class SearchClient(HeadersMixin): :type index_name: str :param credential: A credential to authorize search client requests :type credential: ~azure.core.credentials.AzureKeyCredential + :keyword str api_version: The Search API version to use for requests. .. admonition:: Example: @@ -75,6 +77,8 @@ class SearchClient(HeadersMixin): def __init__(self, endpoint, index_name, credential, **kwargs): # type: (str, str, AzureKeyCredential, **Any) -> None + api_version = kwargs.pop('api_version', None) + validate_api_version(api_version) self._endpoint = endpoint # type: str self._index_name = index_name # type: str self._credential = credential # type: AzureKeyCredential @@ -138,6 +142,54 @@ def search(self, search_text, **kwargs): :param str search_text: A full-text search query expression; Use "*" or omit this parameter to match all documents. + :keyword bool include_total_count: A value that specifies whether to fetch the total count of + results. Default is false. Setting this value to true may have a performance impact. Note that + the count returned is an approximation. + :keyword list[str] facets: The list of facet expressions to apply to the search query. Each facet + expression contains a field name, optionally followed by a comma-separated list of name:value + pairs. + :keyword str filter: The OData $filter expression to apply to the search query. + :keyword list[str] highlight_fields: The list of field names to use for hit highlights. Only searchable + fields can be used for hit highlighting. + :keyword str highlight_post_tag: A string tag that is appended to hit highlights. Must be set with + highlightPreTag. Default is </em>. + :keyword str highlight_pre_tag: A string tag that is prepended to hit highlights. Must be set with + highlightPostTag. Default is <em>. + :keyword float minimum_coverage: A number between 0 and 100 indicating the percentage of the index that + must be covered by a search query in order for the query to be reported as a success. This + parameter can be useful for ensuring search availability even for services with only one + replica. The default is 100. + :keyword list[str] order_by: The list of OData $orderby expressions by which to sort the results. Each + expression can be either a field name or a call to either the geo.distance() or the + search.score() functions. Each expression can be followed by asc to indicate ascending, and + desc to indicate descending. The default is ascending order. Ties will be broken by the match + scores of documents. If no OrderBy is specified, the default sort order is descending by + document match score. There can be at most 32 $orderby clauses. + :keyword query_type: A value that specifies the syntax of the search query. The default is + 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: + 'simple', 'full'. + :paramtype query_type: str or ~search_index_client.models.QueryType + :keyword list[str] scoring_parameters: The list of parameter values to be used in scoring functions (for + example, referencePointParameter) using the format name-values. For example, if the scoring + profile defines a function with a parameter called 'mylocation' the parameter string would be + "mylocation--122.2,44.8" (without the quotes). + :keyword str scoring_profile: The name of a scoring profile to evaluate match scores for matching + documents in order to sort the results. + :keyword list[str] search_fields: The list of field names to which to scope the full-text search. When + using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of + each fielded search expression take precedence over any field names listed in this parameter. + :keyword search_mode: A value that specifies whether any or all of the search terms must be + matched in order to count the document as a match. Possible values include: 'any', 'all'. + :paramtype search_mode: str or ~search_index_client.models.SearchMode + :keyword list[str] select: The list of fields to retrieve. If unspecified, all fields marked as retrievable + in the schema are included. + :keyword int skip: The number of search results to skip. This value cannot be greater than 100,000. + If you need to scan documents in sequence, but cannot use $skip due to this limitation, + consider using $orderby on a totally-ordered key and $filter with a range query instead. + :keyword int top: The number of search results to retrieve. This can be used in conjunction with + $skip to implement client-side paging of search results. If results are truncated due to + server-side paging, the response will include a continuation token that can be used to issue + another Search request for the next page of results. :rtype: SearchItemPaged[dict] .. admonition:: Example: @@ -167,7 +219,7 @@ def search(self, search_text, **kwargs): :dedent: 4 :caption: Get search result facets. """ - include_total_result_count = kwargs.pop("include_total_result_count", None) + include_total_result_count = kwargs.pop("include_total_count", None) facets = kwargs.pop("facets", None) filter_arg = kwargs.pop("filter", None) highlight_fields = kwargs.pop("highlight_fields", None) @@ -217,6 +269,32 @@ def suggest(self, search_text, suggester_name, **kwargs): character, and no more than 100 characters. :param str suggester_name: Required. The name of the suggester as specified in the suggesters collection that's part of the index definition. + :keyword str filter: An OData expression that filters the documents considered for suggestions. + :keyword bool use_fuzzy_matching: A value indicating whether to use fuzzy matching for the suggestions + query. Default is false. When set to true, the query will find terms even if there's a + substituted or missing character in the search text. While this provides a better experience in + some scenarios, it comes at a performance cost as fuzzy suggestions queries are slower and + consume more resources. + :keyword str highlight_post_tag: A string tag that is appended to hit highlights. Must be set with + highlightPreTag. If omitted, hit highlighting of suggestions is disabled. + :keyword str highlight_pre_tag: A string tag that is prepended to hit highlights. Must be set with + highlightPostTag. If omitted, hit highlighting of suggestions is disabled. + :keyword float minimum_coverage: A number between 0 and 100 indicating the percentage of the index that + must be covered by a suggestions query in order for the query to be reported as a success. This + parameter can be useful for ensuring search availability even for services with only one + replica. The default is 80. + :keyword list[str] order_by: The list of OData $orderby expressions by which to sort the results. Each + expression can be either a field name or a call to either the geo.distance() or the + search.score() functions. Each expression can be followed by asc to indicate ascending, or desc + to indicate descending. The default is ascending order. Ties will be broken by the match scores + of documents. If no $orderby is specified, the default sort order is descending by document + match score. There can be at most 32 $orderby clauses. + :keyword list[str] search_fields: The list of field names to search for the specified search text. Target + fields must be included in the specified suggester. + :keyword list[str] select: The list of fields to retrieve. If unspecified, only the key field will be + included in the results. + :keyword int top: The number of suggestions to retrieve. The value must be a number between 1 and + 100. The default is 5. :rtype: List[dict] .. admonition:: Example: @@ -266,6 +344,29 @@ def autocomplete(self, search_text, suggester_name, **kwargs): :param str search_text: The search text on which to base autocomplete results. :param str suggester_name: The name of the suggester as specified in the suggesters collection that's part of the index definition. + :keyword mode: Specifies the mode for Autocomplete. The default is 'oneTerm'. Use + 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing + auto-completed terms. Possible values include: 'oneTerm', 'twoTerms', 'oneTermWithContext'. + :paramtype mode: str or ~search_index_client.models.AutocompleteMode + :keyword str filter: An OData expression that filters the documents used to produce completed terms + for the Autocomplete result. + :keyword bool use_fuzzy_matching: A value indicating whether to use fuzzy matching for the + autocomplete query. Default is false. When set to true, the query will find terms even if + there's a substituted or missing character in the search text. While this provides a better + experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are + slower and consume more resources. + :keyword str highlight_post_tag: A string tag that is appended to hit highlights. Must be set with + highlightPreTag. If omitted, hit highlighting is disabled. + :keyword str highlight_pre_tag: A string tag that is prepended to hit highlights. Must be set with + highlightPostTag. If omitted, hit highlighting is disabled. + :keyword float minimum_coverage: A number between 0 and 100 indicating the percentage of the index that + must be covered by an autocomplete query in order for the query to be reported as a success. + This parameter can be useful for ensuring search availability even for services with only one + replica. The default is 80. + :keyword list[str] search_fields: The list of field names to consider when querying for auto-completed + terms. Target fields must be included in the specified suggester. + :keyword int top: The number of auto-completed terms to retrieve. This must be a value between 1 and + 100. The default is 5. :rtype: List[dict] .. admonition:: Example: @@ -277,7 +378,7 @@ def autocomplete(self, search_text, suggester_name, **kwargs): :dedent: 4 :caption: Get a auto-completions. """ - autocomplete_mode = kwargs.pop("autocomplete_mode", None) + autocomplete_mode = kwargs.pop("mode", None) filter_arg = kwargs.pop("filter", None) use_fuzzy_matching = kwargs.pop("use_fuzzy_matching", None) highlight_post_tag = kwargs.pop("highlight_post_tag", None) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_client_async.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_client_async.py index 7a2ed34e2402..084ebe9a2448 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_client_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/aio/_search_client_async.py @@ -11,6 +11,7 @@ from .._generated.models import IndexBatch, IndexingResult from .._index_documents_batch import IndexDocumentsBatch from .._queries import AutocompleteQuery, SearchQuery, SuggestQuery +from ..._api_versions import validate_api_version from ..._headers_mixin import HeadersMixin from ..._version import SDK_MONIKER @@ -29,6 +30,7 @@ class SearchClient(HeadersMixin): :type index_name: str :param credential: A credential to authorize search client requests :type credential: ~azure.core.credentials.AzureKeyCredential + :keyword str api_version: The Search API version to use for requests. .. admonition:: Example: @@ -45,6 +47,8 @@ class SearchClient(HeadersMixin): def __init__(self, endpoint, index_name, credential, **kwargs): # type: (str, str, AzureKeyCredential, **Any) -> None + api_version = kwargs.pop('api_version', None) + validate_api_version(api_version) self._endpoint = endpoint # type: str self._index_name = index_name # type: str self._credential = credential # type: AzureKeyCredential @@ -108,6 +112,54 @@ async def search(self, search_text, **kwargs): :param str search_text: A full-text search query expression; Use "*" or omit this parameter to match all documents. + :keyword bool include_total_count: A value that specifies whether to fetch the total count of + results. Default is false. Setting this value to true may have a performance impact. Note that + the count returned is an approximation. + :keyword list[str] facets: The list of facet expressions to apply to the search query. Each facet + expression contains a field name, optionally followed by a comma-separated list of name:value + pairs. + :keyword str filter: The OData $filter expression to apply to the search query. + :keyword list[str] highlight_fields: The list of field names to use for hit highlights. Only searchable + fields can be used for hit highlighting. + :keyword str highlight_post_tag: A string tag that is appended to hit highlights. Must be set with + highlightPreTag. Default is </em>. + :keyword str highlight_pre_tag: A string tag that is prepended to hit highlights. Must be set with + highlightPostTag. Default is <em>. + :keyword float minimum_coverage: A number between 0 and 100 indicating the percentage of the index that + must be covered by a search query in order for the query to be reported as a success. This + parameter can be useful for ensuring search availability even for services with only one + replica. The default is 100. + :keyword list[str] order_by: The list of OData $orderby expressions by which to sort the results. Each + expression can be either a field name or a call to either the geo.distance() or the + search.score() functions. Each expression can be followed by asc to indicate ascending, and + desc to indicate descending. The default is ascending order. Ties will be broken by the match + scores of documents. If no OrderBy is specified, the default sort order is descending by + document match score. There can be at most 32 $orderby clauses. + :keyword query_type: A value that specifies the syntax of the search query. The default is + 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: + 'simple', 'full'. + :paramtype query_type: str or ~search_index_client.models.QueryType + :keyword list[str] scoring_parameters: The list of parameter values to be used in scoring functions (for + example, referencePointParameter) using the format name-values. For example, if the scoring + profile defines a function with a parameter called 'mylocation' the parameter string would be + "mylocation--122.2,44.8" (without the quotes). + :keyword str scoring_profile: The name of a scoring profile to evaluate match scores for matching + documents in order to sort the results. + :keyword list[str] search_fields: The list of field names to which to scope the full-text search. When + using fielded search (fieldName:searchExpression) in a full Lucene query, the field names of + each fielded search expression take precedence over any field names listed in this parameter. + :keyword search_mode: A value that specifies whether any or all of the search terms must be + matched in order to count the document as a match. Possible values include: 'any', 'all'. + :paramtype search_mode: str or ~search_index_client.models.SearchMode + :keyword list[str] select: The list of fields to retrieve. If unspecified, all fields marked as retrievable + in the schema are included. + :keyword int skip: The number of search results to skip. This value cannot be greater than 100,000. + If you need to scan documents in sequence, but cannot use $skip due to this limitation, + consider using $orderby on a totally-ordered key and $filter with a range query instead. + :keyword int top: The number of search results to retrieve. This can be used in conjunction with + $skip to implement client-side paging of search results. If results are truncated due to + server-side paging, the response will include a continuation token that can be used to issue + another Search request for the next page of results. :rtype: AsyncSearchItemPaged[dict] .. admonition:: Example: @@ -137,7 +189,7 @@ async def search(self, search_text, **kwargs): :dedent: 4 :caption: Get search result facets. """ - include_total_result_count = kwargs.pop("include_total_result_count", None) + include_total_result_count = kwargs.pop("include_total_count", None) facets = kwargs.pop("facets", None) filter_arg = kwargs.pop("filter", None) highlight_fields = kwargs.pop("highlight_fields", None) @@ -187,6 +239,32 @@ async def suggest(self, search_text, suggester_name, **kwargs): character, and no more than 100 characters. :param str suggester_name: Required. The name of the suggester as specified in the suggesters collection that's part of the index definition. + :keyword str filter: An OData expression that filters the documents considered for suggestions. + :keyword bool use_fuzzy_matching: A value indicating whether to use fuzzy matching for the suggestions + query. Default is false. When set to true, the query will find terms even if there's a + substituted or missing character in the search text. While this provides a better experience in + some scenarios, it comes at a performance cost as fuzzy suggestions queries are slower and + consume more resources. + :keyword str highlight_post_tag: A string tag that is appended to hit highlights. Must be set with + highlightPreTag. If omitted, hit highlighting of suggestions is disabled. + :keyword str highlight_pre_tag: A string tag that is prepended to hit highlights. Must be set with + highlightPostTag. If omitted, hit highlighting of suggestions is disabled. + :keyword float minimum_coverage: A number between 0 and 100 indicating the percentage of the index that + must be covered by a suggestions query in order for the query to be reported as a success. This + parameter can be useful for ensuring search availability even for services with only one + replica. The default is 80. + :keyword list[str] order_by: The list of OData $orderby expressions by which to sort the results. Each + expression can be either a field name or a call to either the geo.distance() or the + search.score() functions. Each expression can be followed by asc to indicate ascending, or desc + to indicate descending. The default is ascending order. Ties will be broken by the match scores + of documents. If no $orderby is specified, the default sort order is descending by document + match score. There can be at most 32 $orderby clauses. + :keyword list[str] search_fields: The list of field names to search for the specified search text. Target + fields must be included in the specified suggester. + :keyword list[str] select: The list of fields to retrieve. If unspecified, only the key field will be + included in the results. + :keyword int top: The number of suggestions to retrieve. The value must be a number between 1 and + 100. The default is 5. :rtype: List[dict] .. admonition:: Example: @@ -236,6 +314,29 @@ async def autocomplete(self, search_text, suggester_name, **kwargs): :param str search_text: The search text on which to base autocomplete results. :param str suggester_name: The name of the suggester as specified in the suggesters collection that's part of the index definition. + :keyword mode: Specifies the mode for Autocomplete. The default is 'oneTerm'. Use + 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing + auto-completed terms. Possible values include: 'oneTerm', 'twoTerms', 'oneTermWithContext'. + :paramtype mode: str or ~search_index_client.models.AutocompleteMode + :keyword str filter: An OData expression that filters the documents used to produce completed terms + for the Autocomplete result. + :keyword bool use_fuzzy_matching: A value indicating whether to use fuzzy matching for the + autocomplete query. Default is false. When set to true, the query will find terms even if + there's a substituted or missing character in the search text. While this provides a better + experience in some scenarios, it comes at a performance cost as fuzzy autocomplete queries are + slower and consume more resources. + :keyword str highlight_post_tag: A string tag that is appended to hit highlights. Must be set with + highlightPreTag. If omitted, hit highlighting is disabled. + :keyword str highlight_pre_tag: A string tag that is prepended to hit highlights. Must be set with + highlightPostTag. If omitted, hit highlighting is disabled. + :keyword float minimum_coverage: A number between 0 and 100 indicating the percentage of the index that + must be covered by an autocomplete query in order for the query to be reported as a success. + This parameter can be useful for ensuring search availability even for services with only one + replica. The default is 80. + :keyword list[str] search_fields: The list of field names to consider when querying for auto-completed + terms. Target fields must be included in the specified suggester. + :keyword int top: The number of auto-completed terms to retrieve. This must be a value between 1 and + 100. The default is 5. :rtype: List[dict] .. admonition:: Example: @@ -247,7 +348,7 @@ async def autocomplete(self, search_text, suggester_name, **kwargs): :dedent: 4 :caption: Get a auto-completions. """ - autocomplete_mode = kwargs.pop("autocomplete_mode", None) + autocomplete_mode = kwargs.pop("mode", None) filter_arg = kwargs.pop("filter", None) use_fuzzy_matching = kwargs.pop("use_fuzzy_matching", None) highlight_post_tag = kwargs.pop("highlight_post_tag", None) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_version.py b/sdk/search/azure-search-documents/azure/search/documents/_version.py index 10e578c87b24..65eea3955bdf 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_version.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_version.py @@ -3,6 +3,6 @@ # Licensed under the MIT License. # ------------------------------------ -VERSION = "1.0.0b4" # type: str +VERSION = "11.0.0" # type: str SDK_MONIKER = "search-documents/{}".format(VERSION) # type: str diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_search_index_client.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_search_index_client.py index bb6c2cc46c27..8fe294555ec1 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_search_index_client.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_search_index_client.py @@ -9,6 +9,7 @@ from azure.core.tracing.decorator import distributed_trace from azure.core.paging import ItemPaged +from ..._api_versions import validate_api_version from ._generated import SearchServiceClient as _SearchServiceClient from ._utils import ( unpack_search_index, @@ -32,12 +33,20 @@ class SearchIndexClient(HeadersMixin): """A client to interact with Azure search service index. + :param endpoint: The URL endpoint of an Azure search service + :type endpoint: str + :param credential: A credential to authorize search client requests + :type credential: ~azure.core.credentials.AzureKeyCredential + :keyword str api_version: The Search API version to use for requests. + """ _ODATA_ACCEPT = "application/json;odata.metadata=minimal" # type: str def __init__(self, endpoint, credential, **kwargs): # type: (str, AzureKeyCredential, **Any) -> None + api_version = kwargs.pop('api_version', None) + validate_api_version(api_version) self._endpoint = normalize_endpoint(endpoint) # type: str self._credential = credential # type: AzureKeyCredential self._client = _SearchServiceClient( diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_search_indexer_client.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_search_indexer_client.py index 41c73f023fa7..243bd19369f4 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_search_indexer_client.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_search_indexer_client.py @@ -16,6 +16,7 @@ pack_search_indexer_data_source, unpack_search_indexer_data_source, ) +from ..._api_versions import validate_api_version from ..._headers_mixin import HeadersMixin from ..._version import SDK_MONIKER @@ -29,6 +30,12 @@ class SearchIndexerClient(HeadersMixin): # pylint: disable=R0904 """A client to interact with Azure search service Indexers. + :param endpoint: The URL endpoint of an Azure search service + :type endpoint: str + :param credential: A credential to authorize search client requests + :type credential: ~azure.core.credentials.AzureKeyCredential + :keyword str api_version: The Search API version to use for requests. + """ _ODATA_ACCEPT = "application/json;odata.metadata=minimal" # type: str @@ -36,6 +43,8 @@ class SearchIndexerClient(HeadersMixin): # pylint: disable=R0904 def __init__(self, endpoint, credential, **kwargs): # type: (str, AzureKeyCredential, **Any) -> None + api_version = kwargs.pop('api_version', None) + validate_api_version(api_version) self._endpoint = normalize_endpoint(endpoint) # type: str self._credential = credential # type: AzureKeyCredential self._client = _SearchServiceClient( diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/aio/_search_index_client.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/aio/_search_index_client.py index 49bcaace91e6..de914c628294 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/aio/_search_index_client.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/aio/_search_index_client.py @@ -19,6 +19,7 @@ get_access_conditions, normalize_endpoint, ) +from ...._api_versions import validate_api_version from ...._headers_mixin import HeadersMixin from ...._version import SDK_MONIKER @@ -33,8 +34,11 @@ class SearchIndexClient(HeadersMixin): """A client to interact with Azure search service Indexes. - This class is not normally instantiated directly, instead use - `get_skillsets_client()` from a `SearchServiceClient` + :param endpoint: The URL endpoint of an Azure search service + :type endpoint: str + :param credential: A credential to authorize search client requests + :type credential: ~azure.core.credentials.AzureKeyCredential + :keyword str api_version: The Search API version to use for requests. """ @@ -43,6 +47,8 @@ class SearchIndexClient(HeadersMixin): def __init__(self, endpoint, credential, **kwargs): # type: (str, AzureKeyCredential, **Any) -> None + api_version = kwargs.pop('api_version', None) + validate_api_version(api_version) self._endpoint = normalize_endpoint(endpoint) # type: str self._credential = credential # type: AzureKeyCredential self._client = _SearchServiceClient( diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/aio/_search_indexer_client.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/aio/_search_indexer_client.py index d4194179bcec..bb561041cc26 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/aio/_search_indexer_client.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/aio/_search_indexer_client.py @@ -16,6 +16,7 @@ pack_search_indexer_data_source, unpack_search_indexer_data_source, ) +from ...._api_versions import validate_api_version from ...._headers_mixin import HeadersMixin from ...._version import SDK_MONIKER @@ -29,6 +30,12 @@ class SearchIndexerClient(HeadersMixin): # pylint: disable=R0904 """A client to interact with Azure search service Indexers. + :param endpoint: The URL endpoint of an Azure search service + :type endpoint: str + :param credential: A credential to authorize search client requests + :type credential: ~azure.core.credentials.AzureKeyCredential + :keyword str api_version: The Search API version to use for requests. + """ _ODATA_ACCEPT = "application/json;odata.metadata=minimal" # type: str @@ -36,6 +43,8 @@ class SearchIndexerClient(HeadersMixin): # pylint: disable=R0904 def __init__(self, endpoint, credential, **kwargs): # type: (str, AzureKeyCredential, **Any) -> None + api_version = kwargs.pop('api_version', None) + validate_api_version(api_version) self._endpoint = normalize_endpoint(endpoint) # type: str self._credential = credential # type: AzureKeyCredential self._client = _SearchServiceClient( diff --git a/sdk/search/azure-search-documents/tests/async_tests/test_index_live_async.py b/sdk/search/azure-search-documents/tests/async_tests/test_index_live_async.py index b47e3c78ffcf..c2c674baf673 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/test_index_live_async.py +++ b/sdk/search/azure-search-documents/tests/async_tests/test_index_live_async.py @@ -135,7 +135,7 @@ async def test_get_search_counts(self, api_key, endpoint, index_name, **kwargs): results = await client.search(search_text="hotel") assert await results.get_count() is None - results = await client.search(search_text="hotel", include_total_result_count=True) + results = await client.search(search_text="hotel", include_total_count=True) assert await results.get_count() == 7 @ResourceGroupPreparer(random_name_enabled=True) diff --git a/sdk/search/azure-search-documents/tests/test_index_live.py b/sdk/search/azure-search-documents/tests/test_index_live.py index 4401009e4734..8b8317c14126 100644 --- a/sdk/search/azure-search-documents/tests/test_index_live.py +++ b/sdk/search/azure-search-documents/tests/test_index_live.py @@ -104,7 +104,7 @@ def test_get_search_counts(self, api_key, endpoint, index_name, **kwargs): results = client.search(search_text="hotel") assert results.get_count() is None - results = client.search(search_text="hotel", include_total_result_count=True) + results = client.search(search_text="hotel", include_total_count=True) assert results.get_count() == 7 @ResourceGroupPreparer(random_name_enabled=True) From 230afcfb50cea823d0fb23df75d740149ba5a503 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Thu, 25 Jun 2020 15:06:01 -0700 Subject: [PATCH 21/36] Dataplane autogeneration (#12210) * SwaggerToSdk configuration file Track1 * Add Github CLI to doc --- doc/dev/mgmt/mgmt_release.md | 16 ++++++++++++++++ eng/swagger_to_sdk_config_track1.json | 21 +++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 eng/swagger_to_sdk_config_track1.json diff --git a/doc/dev/mgmt/mgmt_release.md b/doc/dev/mgmt/mgmt_release.md index c515b38d2f65..4f6d6d16f2ca 100644 --- a/doc/dev/mgmt/mgmt_release.md +++ b/doc/dev/mgmt/mgmt_release.md @@ -18,6 +18,22 @@ Once you have a PR that contains accurate with correct tests (or no tests at all IMPORTANT NOTE: All the commands in this page assumes you have loaded the [dev_setup](../dev_setup.md) in your currently loaded virtual environment. +## Manual generation + +If the automation is not doing its job to create an auto PR, Python has a SwaggerToSdk CLI that can be used to generate a specific Readme. You need +a virtual environment loaded with at least `tools/azure-sdk-tools` installed. + +```shell +# Using default configuration (this can be a Github raw link) +generate_sdk -v -m ..\azure-rest-api-specs\specification\compute\resource-manager\readme.md + +# Forcing Track1 generation +generate_sdk -v -c eng\swagger_to_sdk_config_track1.json -m ..\azure-rest-api-specs\specification\cognitiveservices\data-plane\Face\readme.md + +# For more details about the available options +generate_sdk --help +``` + ## Building the packaging information If the automation is doing its job correctly, there is a pipeline called "update PR" that is supposed to update the package on the branch. diff --git a/eng/swagger_to_sdk_config_track1.json b/eng/swagger_to_sdk_config_track1.json new file mode 100644 index 000000000000..eeb46999ae52 --- /dev/null +++ b/eng/swagger_to_sdk_config_track1.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://openapistorageprod.blob.core.windows.net/sdkautomation/prod/schemas/swagger_to_sdk_config.schema.json", + "meta": { + "autorest_options": { + "version": "V2", + "use": "@microsoft.azure/autorest.python@~4.0.71", + "python": "", + "python-mode": "update", + "sdkrel:python-sdks-folder": "./sdk/.", + "multiapi": "", + "keep-version-file" :"", + "no-async": "" + }, + "advanced_options": { + "create_sdk_pull_requests": true, + "sdk_generation_pull_request_base": "integration_branch" + }, + "repotag": "azure-sdk-for-python", + "version": "0.2.0" + } +} From 32dbdce100479e768e5a5764181c9456823c9313 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Fri, 26 Jun 2020 10:36:50 -0700 Subject: [PATCH 22/36] [formrecognizer] arch board feedback renames (#12207) * renames requested_on -> training_started_on and completed_on -> training_completed_on * update docstring --- .../azure-ai-formrecognizer/CHANGELOG.md | 2 + .../azure-ai-formrecognizer/README.md | 8 ++-- .../azure/ai/formrecognizer/_models.py | 41 +++++++++---------- .../sample_manage_custom_models_async.py | 4 +- .../sample_train_model_with_labels_async.py | 4 +- ...sample_train_model_without_labels_async.py | 4 +- .../samples/sample_manage_custom_models.py | 4 +- .../samples/sample_train_model_with_labels.py | 4 +- .../sample_train_model_without_labels.py | 4 +- .../tests/test_copy_model.py | 8 ++-- .../tests/test_copy_model_async.py | 8 ++-- .../tests/test_mgmt.py | 16 ++++---- .../tests/test_mgmt_async.py | 16 ++++---- .../tests/test_repr.py | 12 +++--- .../tests/test_training.py | 16 ++++---- .../tests/test_training_async.py | 16 ++++---- .../azure-ai-formrecognizer/tests/testcase.py | 4 +- 17 files changed, 86 insertions(+), 85 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md index 96aa385cff03..c9739bfa2901 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md @@ -5,6 +5,8 @@ - Remove `RecognizedReceipts` Class. - `begin_recognize_receipts` and `begin_recognize_receipts_from_url` now return `RecognizedForm`. +- `requested_on` renamed to `training_started_on` and `completed_on` renamed to `training_completed_on` on `CustomFormModel` +and `CustomFormModelInfo` ## 1.0.0b3 (2020-06-10) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/README.md index b04b31156170..ee02bbe3a39b 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/README.md @@ -260,8 +260,8 @@ model = poller.result() # Custom model information print("Model ID: {}".format(model.model_id)) print("Status: {}".format(model.status)) -print("Requested on: {}".format(model.requested_on)) -print("Completed on: {}".format(model.completed_on)) +print("Training started on: {}".format(model.training_started_on)) +print("Training completed on: {}".format(model.training_completed_on)) print("Recognized fields:") # looping through the submodels, which contains the fields they were trained on @@ -309,8 +309,8 @@ model_id = "" custom_model = form_training_client.get_custom_model(model_id=model_id) print("Model ID: {}".format(custom_model.model_id)) print("Status: {}".format(custom_model.status)) -print("Requested on: {}".format(custom_model.requested_on)) -print("Completed on: {}".format(custom_model.completed_on)) +print("Training started on: {}".format(custom_model.training_started_on)) +print("Training completed on: {}".format(custom_model.training_completed_on)) # Finally, we will delete this model by ID form_training_client.delete_model(model_id=custom_model.model_id) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py index ffaeaa2e0538..27e0e32a6c3a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py @@ -517,9 +517,9 @@ class CustomFormModel(object): Status indicating the model's readiness for use, :class:`~azure.ai.formrecognizer.CustomFormModelStatus`. Possible values include: 'creating', 'ready', 'invalid'. - :ivar ~datetime.datetime requested_on: - The date and time (UTC) when model training was requested. - :ivar ~datetime.datetime completed_on: + :ivar ~datetime.datetime training_started_on: + The date and time (UTC) when model training was started. + :ivar ~datetime.datetime training_completed_on: Date and time (UTC) when model training completed. :ivar list[~azure.ai.formrecognizer.CustomFormSubmodel] submodels: A list of submodels that are part of this model, each of @@ -533,8 +533,8 @@ class CustomFormModel(object): def __init__(self, **kwargs): self.model_id = kwargs.get("model_id", None) self.status = kwargs.get("status", None) - self.requested_on = kwargs.get("requested_on", None) - self.completed_on = kwargs.get("completed_on", None) + self.training_started_on = kwargs.get("training_started_on", None) + self.training_completed_on = kwargs.get("training_completed_on", None) self.submodels = kwargs.get("submodels", None) self.errors = kwargs.get("errors", None) self.training_documents = kwargs.get("training_documents", []) @@ -544,8 +544,8 @@ def _from_generated(cls, model): return cls( model_id=model.model_info.model_id, status=model.model_info.status, - requested_on=model.model_info.created_date_time, - completed_on=model.model_info.last_updated_date_time, + training_started_on=model.model_info.created_date_time, + training_completed_on=model.model_info.last_updated_date_time, submodels=CustomFormSubmodel._from_generated_unlabeled(model) if model.keys else CustomFormSubmodel._from_generated_labeled(model), errors=FormRecognizerError._from_generated(model.train_result.errors) if model.train_result else None, @@ -554,11 +554,10 @@ def _from_generated(cls, model): ) def __repr__(self): - return "CustomFormModel(model_id={}, status={}, requested_on={}, completed_on={}, submodels={}, " \ - "errors={}, training_documents={})".format( - self.model_id, self.status, self.requested_on, self.completed_on, repr(self.submodels), - repr(self.errors), repr(self.training_documents) - )[:1024] + return "CustomFormModel(model_id={}, status={}, training_started_on={}, training_completed_on={}, " \ + "submodels={}, errors={}, training_documents={})".format( + self.model_id, self.status, self.training_started_on, self.training_completed_on, + repr(self.submodels), repr(self.errors), repr(self.training_documents))[:1024] class CustomFormSubmodel(object): @@ -698,17 +697,17 @@ class CustomFormModelInfo(object): :ivar str status: The status of the model, :class:`~azure.ai.formrecognizer.CustomFormModelStatus`. Possible values include: 'creating', 'ready', 'invalid'. - :ivar ~datetime.datetime requested_on: - Date and time (UTC) when model training was requested. - :ivar ~datetime.datetime completed_on: + :ivar ~datetime.datetime training_started_on: + Date and time (UTC) when model training was started. + :ivar ~datetime.datetime training_completed_on: Date and time (UTC) when model training completed. """ def __init__(self, **kwargs): self.model_id = kwargs.get("model_id", None) self.status = kwargs.get("status", None) - self.requested_on = kwargs.get("requested_on", None) - self.completed_on = kwargs.get("completed_on", None) + self.training_started_on = kwargs.get("training_started_on", None) + self.training_completed_on = kwargs.get("training_completed_on", None) @classmethod def _from_generated(cls, model, model_id=None): @@ -717,13 +716,13 @@ def _from_generated(cls, model, model_id=None): return cls( model_id=model_id if model_id else model.model_id, status=model.status, - requested_on=model.created_date_time, - completed_on=model.last_updated_date_time + training_started_on=model.created_date_time, + training_completed_on=model.last_updated_date_time ) def __repr__(self): - return "CustomFormModelInfo(model_id={}, status={}, requested_on={}, completed_on={})".format( - self.model_id, self.status, self.requested_on, self.completed_on + return "CustomFormModelInfo(model_id={}, status={}, training_started_on={}, training_completed_on={})".format( + self.model_id, self.status, self.training_started_on, self.training_completed_on )[:1024] diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_manage_custom_models_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_manage_custom_models_async.py index 6a1a5ba4a8ab..4c8ad4229181 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_manage_custom_models_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_manage_custom_models_async.py @@ -65,8 +65,8 @@ async def manage_custom_models(self): custom_model = await form_training_client.get_custom_model(model_id=first_model.model_id) print("Model ID: {}".format(custom_model.model_id)) print("Status: {}".format(custom_model.status)) - print("Requested on: {}".format(custom_model.requested_on)) - print("Completed on: {}".format(custom_model.completed_on)) + print("Training started on: {}".format(custom_model.training_started_on)) + print("Training completed on: {}".format(custom_model.training_completed_on)) # [END get_custom_model_async] # Finally, we will delete this model by ID diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_train_model_with_labels_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_train_model_with_labels_async.py index 21d897d5a680..9a6a21d8da8a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_train_model_with_labels_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_train_model_with_labels_async.py @@ -51,8 +51,8 @@ async def train_model_with_labels(self): # Custom model information print("Model ID: {}".format(model.model_id)) print("Status: {}".format(model.status)) - print("Requested on: {}".format(model.requested_on)) - print("Completed on: {}".format(model.completed_on)) + print("Training started on: {}".format(model.training_started_on)) + print("Training completed on: {}".format(model.training_completed_on)) print("Recognized fields:") # looping through the submodels, which contains the fields they were trained on diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_train_model_without_labels_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_train_model_without_labels_async.py index c483df401358..011a57e2aa3c 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_train_model_without_labels_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_train_model_without_labels_async.py @@ -48,8 +48,8 @@ async def train_model_without_labels(self): # Custom model information print("Model ID: {}".format(model.model_id)) print("Status: {}".format(model.status)) - print("Requested on: {}".format(model.requested_on)) - print("Completed on: {}".format(model.completed_on)) + print("Training started on: {}".format(model.training_started_on)) + print("Training completed on: {}".format(model.training_completed_on)) print("Recognized fields:") # Looping through the submodels, which contains the fields they were trained on diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_manage_custom_models.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_manage_custom_models.py index f828739a91d4..c37c12a3ea32 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_manage_custom_models.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_manage_custom_models.py @@ -61,8 +61,8 @@ def manage_custom_models(self): custom_model = form_training_client.get_custom_model(model_id=first_model.model_id) print("Model ID: {}".format(custom_model.model_id)) print("Status: {}".format(custom_model.status)) - print("Requested on: {}".format(custom_model.requested_on)) - print("Completed on: {}".format(custom_model.completed_on)) + print("Training started on: {}".format(custom_model.training_started_on)) + print("Training completed on: {}".format(custom_model.training_completed_on)) # [END get_custom_model] # Finally, we will delete this model by ID diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_train_model_with_labels.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_train_model_with_labels.py index 0f6efbe46937..183f491967b0 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_train_model_with_labels.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_train_model_with_labels.py @@ -46,8 +46,8 @@ def train_model_with_labels(self): # Custom model information print("Model ID: {}".format(model.model_id)) print("Status: {}".format(model.status)) - print("Requested on: {}".format(model.requested_on)) - print("Completed on: {}".format(model.completed_on)) + print("Training started on: {}".format(model.training_started_on)) + print("Training completed on: {}".format(model.training_completed_on)) print("Recognized fields:") # looping through the submodels, which contains the fields they were trained on diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_train_model_without_labels.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_train_model_without_labels.py index 9ddfbaaf2237..62ccff5b54d7 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_train_model_without_labels.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_train_model_without_labels.py @@ -44,8 +44,8 @@ def train_model_without_labels(self): # Custom model information print("Model ID: {}".format(model.model_id)) print("Status: {}".format(model.status)) - print("Requested on: {}".format(model.requested_on)) - print("Completed on: {}".format(model.completed_on)) + print("Training started on: {}".format(model.training_started_on)) + print("Training completed on: {}".format(model.training_completed_on)) print("Recognized fields:") # Looping through the submodels, which contains the fields they were trained on diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model.py index 97413a8ce155..08073e8b3c7b 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model.py @@ -46,8 +46,8 @@ def test_copy_model_successful(self, client, container_sas_url, location, resour copied_model = client.get_custom_model(copy.model_id) self.assertEqual(copy.status, "ready") - self.assertIsNotNone(copy.requested_on) - self.assertIsNotNone(copy.completed_on) + self.assertIsNotNone(copy.training_started_on) + self.assertIsNotNone(copy.training_completed_on) self.assertEqual(target["modelId"], copy.model_id) self.assertNotEqual(target["modelId"], model.model_id) self.assertIsNotNone(copied_model) @@ -103,9 +103,9 @@ def callback(response, _, headers): actual = raw_response[0] copy = raw_response[1] - self.assertEqual(copy.requested_on, actual.created_date_time) + self.assertEqual(copy.training_started_on, actual.created_date_time) self.assertEqual(copy.status, actual.status) - self.assertEqual(copy.completed_on, actual.last_updated_date_time) + self.assertEqual(copy.training_completed_on, actual.last_updated_date_time) self.assertEqual(copy.model_id, target["modelId"]) @GlobalFormRecognizerAccountPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model_async.py index 0aeb818d1c12..cd0ee6cb8ff3 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_copy_model_async.py @@ -47,8 +47,8 @@ async def test_copy_model_successful(self, client, container_sas_url, location, copied_model = await client.get_custom_model(copy.model_id) self.assertEqual(copy.status, "ready") - self.assertIsNotNone(copy.requested_on) - self.assertIsNotNone(copy.completed_on) + self.assertIsNotNone(copy.training_started_on) + self.assertIsNotNone(copy.training_completed_on) self.assertEqual(target["modelId"], copy.model_id) self.assertNotEqual(target["modelId"], model.model_id) self.assertIsNotNone(copied_model) @@ -104,9 +104,9 @@ def callback(response, _, headers): actual = raw_response[0] copy = raw_response[1] - self.assertEqual(copy.requested_on, actual.created_date_time) + self.assertEqual(copy.training_started_on, actual.created_date_time) self.assertEqual(copy.status, actual.status) - self.assertEqual(copy.completed_on, actual.last_updated_date_time) + self.assertEqual(copy.training_completed_on, actual.last_updated_date_time) self.assertEqual(copy.model_id, target["modelId"]) @GlobalFormRecognizerAccountPreparer() diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt.py index 668f8080e82f..2e8d0935fca0 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt.py @@ -87,8 +87,8 @@ def test_mgmt_model_labeled(self, client, container_sas_url): self.assertEqual(labeled_model_from_train.model_id, labeled_model_from_get.model_id) self.assertEqual(labeled_model_from_train.status, labeled_model_from_get.status) - self.assertEqual(labeled_model_from_train.requested_on, labeled_model_from_get.requested_on) - self.assertEqual(labeled_model_from_train.completed_on, labeled_model_from_get.completed_on) + self.assertEqual(labeled_model_from_train.training_started_on, labeled_model_from_get.training_started_on) + self.assertEqual(labeled_model_from_train.training_completed_on, labeled_model_from_get.training_completed_on) self.assertEqual(labeled_model_from_train.errors, labeled_model_from_get.errors) for a, b in zip(labeled_model_from_train.training_documents, labeled_model_from_get.training_documents): self.assertEqual(a.document_name, b.document_name) @@ -104,8 +104,8 @@ def test_mgmt_model_labeled(self, client, container_sas_url): for model in models_list: self.assertIsNotNone(model.model_id) self.assertIsNotNone(model.status) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) client.delete_model(labeled_model_from_train.model_id) @@ -123,8 +123,8 @@ def test_mgmt_model_unlabeled(self, client, container_sas_url): self.assertEqual(unlabeled_model_from_train.model_id, unlabeled_model_from_get.model_id) self.assertEqual(unlabeled_model_from_train.status, unlabeled_model_from_get.status) - self.assertEqual(unlabeled_model_from_train.requested_on, unlabeled_model_from_get.requested_on) - self.assertEqual(unlabeled_model_from_train.completed_on, unlabeled_model_from_get.completed_on) + self.assertEqual(unlabeled_model_from_train.training_started_on, unlabeled_model_from_get.training_started_on) + self.assertEqual(unlabeled_model_from_train.training_completed_on, unlabeled_model_from_get.training_completed_on) self.assertEqual(unlabeled_model_from_train.errors, unlabeled_model_from_get.errors) for a, b in zip(unlabeled_model_from_train.training_documents, unlabeled_model_from_get.training_documents): self.assertEqual(a.document_name, b.document_name) @@ -139,8 +139,8 @@ def test_mgmt_model_unlabeled(self, client, container_sas_url): for model in models_list: self.assertIsNotNone(model.model_id) self.assertIsNotNone(model.status) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) client.delete_model(unlabeled_model_from_train.model_id) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt_async.py index 013552bc98d4..6278cf8861d1 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_mgmt_async.py @@ -97,8 +97,8 @@ async def test_mgmt_model_labeled(self, client, container_sas_url): self.assertEqual(labeled_model_from_train.model_id, labeled_model_from_get.model_id) self.assertEqual(labeled_model_from_train.status, labeled_model_from_get.status) - self.assertEqual(labeled_model_from_train.requested_on, labeled_model_from_get.requested_on) - self.assertEqual(labeled_model_from_train.completed_on, labeled_model_from_get.completed_on) + self.assertEqual(labeled_model_from_train.training_started_on, labeled_model_from_get.training_started_on) + self.assertEqual(labeled_model_from_train.training_completed_on, labeled_model_from_get.training_completed_on) self.assertEqual(labeled_model_from_train.errors, labeled_model_from_get.errors) for a, b in zip(labeled_model_from_train.training_documents, labeled_model_from_get.training_documents): self.assertEqual(a.document_name, b.document_name) @@ -114,8 +114,8 @@ async def test_mgmt_model_labeled(self, client, container_sas_url): async for model in models_list: self.assertIsNotNone(model.model_id) self.assertIsNotNone(model.status) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) await client.delete_model(labeled_model_from_train.model_id) @@ -131,8 +131,8 @@ async def test_mgmt_model_unlabeled(self, client, container_sas_url): self.assertEqual(unlabeled_model_from_train.model_id, unlabeled_model_from_get.model_id) self.assertEqual(unlabeled_model_from_train.status, unlabeled_model_from_get.status) - self.assertEqual(unlabeled_model_from_train.requested_on, unlabeled_model_from_get.requested_on) - self.assertEqual(unlabeled_model_from_train.completed_on, unlabeled_model_from_get.completed_on) + self.assertEqual(unlabeled_model_from_train.training_started_on, unlabeled_model_from_get.training_started_on) + self.assertEqual(unlabeled_model_from_train.training_completed_on, unlabeled_model_from_get.training_completed_on) self.assertEqual(unlabeled_model_from_train.errors, unlabeled_model_from_get.errors) for a, b in zip(unlabeled_model_from_train.training_documents, unlabeled_model_from_get.training_documents): self.assertEqual(a.document_name, b.document_name) @@ -147,8 +147,8 @@ async def test_mgmt_model_unlabeled(self, client, container_sas_url): async for model in models_list: self.assertIsNotNone(model.model_id) self.assertIsNotNone(model.status) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) await client.delete_model(unlabeled_model_from_train.model_id) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_repr.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_repr.py index 4b53154b36b2..be5503eb809c 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_repr.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_repr.py @@ -138,15 +138,15 @@ def test_custom_form_model(self, custom_form_sub_model, form_recognizer_error, t model = _models.CustomFormModel( model_id=1, status=_models.CustomFormModelStatus.creating, - requested_on=datetime.datetime(1, 1, 1), - completed_on=datetime.datetime(1, 1, 1), + training_started_on=datetime.datetime(1, 1, 1), + training_completed_on=datetime.datetime(1, 1, 1), submodels=[custom_form_sub_model[0], custom_form_sub_model[0]], errors=[form_recognizer_error[0]], training_documents=[training_document_info[0], training_document_info[0]] ) - model_repr = "CustomFormModel(model_id=1, status=creating, requested_on=0001-01-01 00:00:00, " \ - "completed_on=0001-01-01 00:00:00, submodels=[{}, {}], errors=[{}], training_documents=[{}, {}])".format( + model_repr = "CustomFormModel(model_id=1, status=creating, training_started_on=0001-01-01 00:00:00, " \ + "training_completed_on=0001-01-01 00:00:00, submodels=[{}, {}], errors=[{}], training_documents=[{}, {}])".format( custom_form_sub_model[1], custom_form_sub_model[1], form_recognizer_error[1], training_document_info[1], training_document_info[1] )[:1024] @@ -154,9 +154,9 @@ def test_custom_form_model(self, custom_form_sub_model, form_recognizer_error, t def test_custom_form_model_info(self): model = _models.CustomFormModelInfo( - model_id=1, status=_models.CustomFormModelStatus.ready, requested_on=datetime.datetime(1, 1, 1), completed_on=datetime.datetime(1, 1, 1) + model_id=1, status=_models.CustomFormModelStatus.ready, training_started_on=datetime.datetime(1, 1, 1), training_completed_on=datetime.datetime(1, 1, 1) ) - model_repr = "CustomFormModelInfo(model_id=1, status=ready, requested_on=0001-01-01 00:00:00, completed_on=0001-01-01 00:00:00)"[:1024] + model_repr = "CustomFormModelInfo(model_id=1, status=ready, training_started_on=0001-01-01 00:00:00, training_completed_on=0001-01-01 00:00:00)"[:1024] assert repr(model) == model_repr def test_account_properties(self): diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training.py index 29a547a23480..93d255169d73 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training.py @@ -61,8 +61,8 @@ def test_training(self, client, container_sas_url): model = poller.result() self.assertIsNotNone(model.model_id) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) self.assertEqual(model.errors, []) self.assertEqual(model.status, "ready") for doc in model.training_documents: @@ -84,8 +84,8 @@ def test_training_multipage(self, client, container_sas_url): model = poller.result() self.assertIsNotNone(model.model_id) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) self.assertEqual(model.errors, []) self.assertEqual(model.status, "ready") for doc in model.training_documents: @@ -145,8 +145,8 @@ def test_training_with_labels(self, client, container_sas_url): model = poller.result() self.assertIsNotNone(model.model_id) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) self.assertEqual(model.errors, []) self.assertEqual(model.status, "ready") for doc in model.training_documents: @@ -169,8 +169,8 @@ def test_training_multipage_with_labels(self, client, container_sas_url): model = poller.result() self.assertIsNotNone(model.model_id) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) self.assertEqual(model.errors, []) self.assertEqual(model.status, "ready") for doc in model.training_documents: diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training_async.py index ddba4551403f..5ab3d350e920 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/test_training_async.py @@ -65,8 +65,8 @@ async def test_training(self, client, container_sas_url): model = await poller.result() self.assertIsNotNone(model.model_id) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) self.assertEqual(model.errors, []) self.assertEqual(model.status, "ready") for doc in model.training_documents: @@ -88,8 +88,8 @@ async def test_training_multipage(self, client, container_sas_url): model = await poller.result() self.assertIsNotNone(model.model_id) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) self.assertEqual(model.errors, []) self.assertEqual(model.status, "ready") for doc in model.training_documents: @@ -152,8 +152,8 @@ async def test_training_with_labels(self, client, container_sas_url): model = await poller.result() self.assertIsNotNone(model.model_id) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) self.assertEqual(model.errors, []) self.assertEqual(model.status, "ready") for doc in model.training_documents: @@ -175,8 +175,8 @@ async def test_training_multipage_with_labels(self, client, container_sas_url): model = await poller.result() self.assertIsNotNone(model.model_id) - self.assertIsNotNone(model.requested_on) - self.assertIsNotNone(model.completed_on) + self.assertIsNotNone(model.training_started_on) + self.assertIsNotNone(model.training_completed_on) self.assertEqual(model.errors, []) self.assertEqual(model.status, "ready") for doc in model.training_documents: diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py index 4bac1d78f572..406e59585b02 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py @@ -132,8 +132,8 @@ def disable_logging(self): def assertModelTransformCorrect(self, model, actual, unlabeled=False): self.assertEqual(model.model_id, actual.model_info.model_id) - self.assertEqual(model.requested_on, actual.model_info.created_date_time) - self.assertEqual(model.completed_on, actual.model_info.last_updated_date_time) + self.assertEqual(model.training_started_on, actual.model_info.created_date_time) + self.assertEqual(model.training_completed_on, actual.model_info.last_updated_date_time) self.assertEqual(model.status, actual.model_info.status) self.assertEqual(model.errors, actual.train_result.errors) for m, a in zip(model.training_documents, actual.train_result.training_documents): From b0d25bb0fe73d5d87c3e8377908250ab9e943607 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Fri, 26 Jun 2020 10:37:13 -0700 Subject: [PATCH 23/36] add breadcumbs for training filter (#12196) --- sdk/formrecognizer/azure-ai-formrecognizer/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/README.md index ee02bbe3a39b..1bbcb0d30f16 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/README.md @@ -241,8 +241,10 @@ for receipt in result: ### Train a model Train a machine-learned model on your own form type. The resulting model will be able to recognize values from the types of forms it was trained on. -Provide a container SAS url to your Azure Storage Blob container where you're storing the training documents. See details on setting this up -in the [service quickstart documentation][quickstart_training]. +Provide a container SAS url to your Azure Storage Blob container where you're storing the training documents. +If training files are within a subfolder in the container, use the [prefix][prefix_ref_docs] keyword argument to specify under which folder to train. + +More details on setting up a container and required file structure can be found in the [service quickstart documentation][quickstart_training]. ```python from azure.ai.formrecognizer import FormTrainingClient @@ -253,7 +255,7 @@ credential = AzureKeyCredential("") form_training_client = FormTrainingClient(endpoint, credential) -container_sas_url = "xxx" # training documents uploaded to blob storage +container_sas_url = "" # training documents uploaded to blob storage poller = form_training_client.begin_training(container_sas_url, use_training_labels=False) model = poller.result() @@ -417,6 +419,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [fr-labeling-tool]: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/quickstarts/label-tool [fr-train-without-labels]: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/overview#train-without-labels [fr-train-with-labels]: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/overview#train-with-labels +[prefix_ref_docs]: https://aka.ms/azsdk/python/formrecognizer/docs#azure.ai.formrecognizer.FormTrainingClient.begin_training [azure_core]: https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/README.md [azure_core_ref_docs]: https://aka.ms/azsdk/python/core/docs From fdf11b302b20821e94eae61a2eabd8eb1d776162 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Fri, 26 Jun 2020 11:59:40 -0700 Subject: [PATCH 24/36] Use MSAL's custom transport API (#11892) --- sdk/identity/azure-identity/CHANGELOG.md | 9 +- .../identity/_credentials/user_password.py | 7 +- .../azure/identity/_internal/__init__.py | 6 +- .../azure/identity/_internal/msal_client.py | 137 ++++++++++++++++++ .../identity/_internal/msal_credentials.py | 57 ++------ .../_internal/msal_transport_adapter.py | 134 ----------------- .../azure/identity/aio/_internal/__init__.py | 3 +- .../aio/_internal/msal_transport_adapter.py | 121 ---------------- sdk/identity/azure-identity/setup.py | 2 +- .../azure-identity/tests/test_live.py | 12 -- shared_requirements.txt | 2 +- 11 files changed, 158 insertions(+), 332 deletions(-) create mode 100644 sdk/identity/azure-identity/azure/identity/_internal/msal_client.py delete mode 100644 sdk/identity/azure-identity/azure/identity/_internal/msal_transport_adapter.py delete mode 100644 sdk/identity/azure-identity/azure/identity/aio/_internal/msal_transport_adapter.py diff --git a/sdk/identity/azure-identity/CHANGELOG.md b/sdk/identity/azure-identity/CHANGELOG.md index 3223ae7d8713..bd3a14d3805d 100644 --- a/sdk/identity/azure-identity/CHANGELOG.md +++ b/sdk/identity/azure-identity/CHANGELOG.md @@ -1,6 +1,7 @@ # Release History ## 1.4.0b6 (Unreleased) +- Upgraded minimum `msal` version to 1.3.0 - The async `AzureCliCredential` correctly invokes `/bin/sh` ([#12048](https://github.com/Azure/azure-sdk-for-python/issues/12048)) @@ -18,14 +19,14 @@ identity by its client ID, continue using the `client_id` argument. To specify an identity by any other ID, use the `identity_config` argument, for example: `ManagedIdentityCredential(identity_config={"object_id": ".."})` - ([#10989](https://github.com/Azure/azure-sdk-for-python/issues/10989)) + ([#10989](https://github.com/Azure/azure-sdk-for-python/issues/10989)) - `CertificateCredential` and `ClientSecretCredential` can optionally store access tokens they acquire in a persistent cache. To enable this, construct the credential with `enable_persistent_cache=True`. On Linux, the persistent cache requires libsecret and `pygobject`. If these are unavailable or unusable (e.g. in an SSH session), loading the persistent cache will raise an error. You may optionally configure the credential to fall back to an - unencrypted cache by constructing it with keyword argument + unencrypted cache by constructing it with keyword argument `allow_unencrypted_cache=True`. ([#11347](https://github.com/Azure/azure-sdk-for-python/issues/11347)) - `AzureCliCredential` raises `CredentialUnavailableError` when no user is @@ -66,7 +67,7 @@ ## 1.4.0b3 (2020-05-04) - `EnvironmentCredential` correctly initializes `UsernamePasswordCredential` -with the value of `AZURE_TENANT_ID` +with the value of `AZURE_TENANT_ID` ([#11127](https://github.com/Azure/azure-sdk-for-python/pull/11127)) - Values for the constructor keyword argument `authority` and `AZURE_AUTHORITY_HOST` may optionally specify an "https" scheme. For example, @@ -86,7 +87,7 @@ with the value of `AZURE_TENANT_ID` - `enable_persistent_cache=True` configures these credentials to use a persistent cache on supported platforms (in this release, Windows only). By default they cache in memory only. -- Now `DefaultAzureCredential` can authenticate with the identity signed in to +- Now `DefaultAzureCredential` can authenticate with the identity signed in to Visual Studio Code's Azure extension. ([#10472](https://github.com/Azure/azure-sdk-for-python/issues/10472)) diff --git a/sdk/identity/azure-identity/azure/identity/_credentials/user_password.py b/sdk/identity/azure-identity/azure/identity/_credentials/user_password.py index 2a5edf281a5d..d2a7a80c342a 100644 --- a/sdk/identity/azure-identity/azure/identity/_credentials/user_password.py +++ b/sdk/identity/azure-identity/azure/identity/_credentials/user_password.py @@ -55,7 +55,6 @@ def __init__(self, client_id, username, password, **kwargs): def _request_token(self, *scopes, **kwargs): # type: (*str, **Any) -> dict app = self._get_app() - with self._adapter: - return app.acquire_token_by_username_password( - username=self._username, password=self._password, scopes=list(scopes) - ) + return app.acquire_token_by_username_password( + username=self._username, password=self._password, scopes=list(scopes) + ) diff --git a/sdk/identity/azure-identity/azure/identity/_internal/__init__.py b/sdk/identity/azure-identity/azure/identity/_internal/__init__.py index 40a11461b559..4d4f3f5989a7 100644 --- a/sdk/identity/azure-identity/azure/identity/_internal/__init__.py +++ b/sdk/identity/azure-identity/azure/identity/_internal/__init__.py @@ -37,8 +37,7 @@ def get_default_authority(): from .certificate_credential_base import CertificateCredentialBase from .client_secret_credential_base import ClientSecretCredentialBase from .exception_wrapper import wrap_exceptions -from .msal_credentials import ConfidentialClientCredential, InteractiveCredential, PublicClientCredential -from .msal_transport_adapter import MsalTransportAdapter, MsalTransportResponse +from .msal_credentials import InteractiveCredential, PublicClientCredential def _scopes_to_resource(*scopes): @@ -62,11 +61,8 @@ def _scopes_to_resource(*scopes): "AadClientCertificate", "CertificateCredentialBase", "ClientSecretCredentialBase", - "ConfidentialClientCredential", "get_default_authority", "InteractiveCredential", - "MsalTransportAdapter", - "MsalTransportResponse", "normalize_authority", "PublicClientCredential", "wrap_exceptions", diff --git a/sdk/identity/azure-identity/azure/identity/_internal/msal_client.py b/sdk/identity/azure-identity/azure/identity/_internal/msal_client.py new file mode 100644 index 000000000000..6072e2af617f --- /dev/null +++ b/sdk/identity/azure-identity/azure/identity/_internal/msal_client.py @@ -0,0 +1,137 @@ +# ------------------------------------ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. +# ------------------------------------ +import six + +from azure.core.configuration import Configuration +from azure.core.exceptions import ClientAuthenticationError +from azure.core.pipeline import Pipeline +from azure.core.pipeline.policies import ( + ContentDecodePolicy, + DistributedTracingPolicy, + HttpLoggingPolicy, + NetworkTraceLoggingPolicy, + ProxyPolicy, + RetryPolicy, + UserAgentPolicy, +) +from azure.core.pipeline.transport import HttpRequest, RequestsTransport + +from .user_agent import USER_AGENT + +try: + from typing import TYPE_CHECKING +except ImportError: + TYPE_CHECKING = False + +if TYPE_CHECKING: + # pylint:disable=unused-import,ungrouped-imports + from typing import Any, Dict, List, Optional, Union + from azure.core.pipeline import PipelineResponse + from azure.core.pipeline.policies import HTTPPolicy, SansIOHTTPPolicy + from azure.core.pipeline.transport import HttpTransport + + PolicyList = List[Union[HTTPPolicy, SansIOHTTPPolicy]] + RequestData = Union[Dict[str, str], str] + + +class MsalResponse(object): + """Wraps HttpResponse according to msal.oauth2cli.http""" + + def __init__(self, response): + # type: (PipelineResponse) -> None + self._response = response + + @property + def status_code(self): + # type: () -> int + return self._response.http_response.status_code + + @property + def text(self): + # type: () -> str + return self._response.http_response.text(encoding="utf-8") + + def raise_for_status(self): + if self.status_code < 400: + return + + if ContentDecodePolicy.CONTEXT_NAME in self._response.context: + content = self._response.context[ContentDecodePolicy.CONTEXT_NAME] + if "error" in content or "error_description" in content: + message = "Authentication failed: {}".format(content.get("error_description") or content.get("error")) + else: + for secret in ("access_token", "refresh_token"): + if secret in content: + content[secret] = "***" + message = 'Unexpected response from Azure Active Directory: "{}"'.format(content) + else: + message = "Unexpected response from Azure Active Directory" + + raise ClientAuthenticationError(message=message, response=self._response.http_response) + + +class MsalClient(object): + """Wraps Pipeline according to msal.oauth2cli.http""" + + def __init__(self, **kwargs): # pylint:disable=missing-client-constructor-parameter-credential + # type: (**Any) -> None + self._pipeline = _build_pipeline(**kwargs) + + def post(self, url, params=None, data=None, headers=None, **kwargs): # pylint:disable=unused-argument + # type: (str, Optional[Dict[str, str]], RequestData, Optional[Dict[str, str]], **Any) -> MsalResponse + request = HttpRequest("POST", url, headers=headers) + if params: + request.format_parameters(params) + if data: + if isinstance(data, dict): + request.headers["Content-Type"] = "application/x-www-form-urlencoded" + request.set_formdata_body(data) + elif isinstance(data, six.text_type): + body_bytes = six.ensure_binary(data) + request.set_bytes_body(body_bytes) + else: + raise ValueError('expected "data" to be text or a dict') + + response = self._pipeline.run(request) + return MsalResponse(response) + + def get(self, url, params=None, headers=None, **kwargs): # pylint:disable=unused-argument + # type: (str, Optional[Dict[str, str]], Optional[Dict[str, str]], **Any) -> MsalResponse + request = HttpRequest("GET", url, headers=headers) + if params: + request.format_parameters(params) + response = self._pipeline.run(request) + return MsalResponse(response) + + +def _create_config(**kwargs): + # type: (Any) -> Configuration + config = Configuration(**kwargs) + config.logging_policy = NetworkTraceLoggingPolicy(**kwargs) + config.retry_policy = RetryPolicy(**kwargs) + config.proxy_policy = ProxyPolicy(**kwargs) + config.user_agent_policy = UserAgentPolicy(base_user_agent=USER_AGENT, **kwargs) + return config + + +def _build_pipeline(config=None, policies=None, transport=None, **kwargs): + # type: (Optional[Configuration], Optional[PolicyList], Optional[HttpTransport], **Any) -> Pipeline + config = config or _create_config(**kwargs) + + if policies is None: # [] is a valid policy list + policies = [ + ContentDecodePolicy(), + config.user_agent_policy, + config.proxy_policy, + config.retry_policy, + config.logging_policy, + DistributedTracingPolicy(**kwargs), + HttpLoggingPolicy(**kwargs), + ] + + if not transport: + transport = RequestsTransport(**kwargs) + + return Pipeline(transport=transport, policies=policies) diff --git a/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py b/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py index b408d37d69ac..826ed9ef50d2 100644 --- a/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py +++ b/sdk/identity/azure-identity/azure/identity/_internal/msal_credentials.py @@ -2,9 +2,6 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ -"""Credentials wrapping MSAL applications and delegating token acquisition and caching to them. -This entails monkeypatching MSAL's OAuth client with an adapter substituting an azure-core pipeline for Requests. -""" import abc import base64 import json @@ -17,7 +14,7 @@ from azure.core.exceptions import ClientAuthenticationError from .exception_wrapper import wrap_exceptions -from .msal_transport_adapter import MsalTransportAdapter +from .msal_client import MsalClient from .persistent_cache import load_user_cache from .._constants import KnownAuthorities from .._exceptions import AuthenticationRequiredError, CredentialUnavailableError @@ -102,7 +99,7 @@ def __init__(self, client_id, client_credential=None, **kwargs): else: self._cache = msal.TokenCache() - self._adapter = kwargs.pop("msal_adapter", None) or MsalTransportAdapter(**kwargs) + self._client = MsalClient(**kwargs) # postpone creating the wrapped application because its initializer uses the network self._msal_app = None # type: Optional[msal.ClientApplication] @@ -119,53 +116,17 @@ def _get_app(self): def _create_app(self, cls): # type: (Type[msal.ClientApplication]) -> msal.ClientApplication - """Creates an MSAL application, patching msal.authority to use an azure-core pipeline during tenant discovery""" - - # MSAL application initializers use msal.authority to send AAD tenant discovery requests - with self._adapter: - # MSAL's "authority" is a URL e.g. https://login.microsoftonline.com/common - app = cls( - client_id=self._client_id, - client_credential=self._client_credential, - authority="{}/{}".format(self._authority, self._tenant_id), - token_cache=self._cache, - ) - - # monkeypatch the app to replace requests.Session with MsalTransportAdapter - app.client.session.close() - app.client.session = self._adapter + app = cls( + client_id=self._client_id, + client_credential=self._client_credential, + authority="{}/{}".format(self._authority, self._tenant_id), + token_cache=self._cache, + http_client=self._client, + ) return app -class ConfidentialClientCredential(MsalCredential): - """Wraps an MSAL ConfidentialClientApplication with the TokenCredential API""" - - @wrap_exceptions - def get_token(self, *scopes, **kwargs): # pylint:disable=unused-argument - # type: (*str, **Any) -> AccessToken - - # MSAL requires scopes be a list - scopes = list(scopes) # type: ignore - now = int(time.time()) - - # First try to get a cached access token or if a refresh token is cached, redeem it for an access token. - # Failing that, acquire a new token. - app = self._get_app() - result = app.acquire_token_silent(scopes, account=None) or app.acquire_token_for_client(scopes) - - if "access_token" not in result: - raise ClientAuthenticationError(message="authentication failed: {}".format(result.get("error_description"))) - - return AccessToken(result["access_token"], now + int(result["expires_in"])) - - def _get_app(self): - # type: () -> msal.ConfidentialClientApplication - if not self._msal_app: - self._msal_app = self._create_app(msal.ConfidentialClientApplication) - return self._msal_app - - class PublicClientCredential(MsalCredential): """Wraps an MSAL PublicClientApplication with the TokenCredential API""" diff --git a/sdk/identity/azure-identity/azure/identity/_internal/msal_transport_adapter.py b/sdk/identity/azure-identity/azure/identity/_internal/msal_transport_adapter.py deleted file mode 100644 index d4bd1b3338ce..000000000000 --- a/sdk/identity/azure-identity/azure/identity/_internal/msal_transport_adapter.py +++ /dev/null @@ -1,134 +0,0 @@ -# ------------------------------------ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# ------------------------------------ -"""Adapter to substitute an azure-core pipeline for Requests in MSAL application token acquisition methods.""" - -import json - -from azure.core.configuration import Configuration -from azure.core.exceptions import ClientAuthenticationError -from azure.core.pipeline import Pipeline -from azure.core.pipeline.policies import ( - ContentDecodePolicy, - DistributedTracingPolicy, - HttpLoggingPolicy, - NetworkTraceLoggingPolicy, - ProxyPolicy, - RetryPolicy, - UserAgentPolicy, -) -from azure.core.pipeline.transport import HttpRequest, RequestsTransport - -from .user_agent import USER_AGENT - -try: - from unittest import mock -except ImportError: # python < 3.3 - import mock # type: ignore - -try: - from typing import TYPE_CHECKING -except ImportError: - TYPE_CHECKING = False - -if TYPE_CHECKING: - # pylint:disable=unused-import,ungrouped-imports - from typing import Any, Dict, Mapping, Optional - from azure.core.pipeline import PipelineResponse - - -class MsalTransportResponse: - """Wraps an azure-core PipelineResponse with the shape of requests.Response""" - - def __init__(self, pipeline_response): - # type: (PipelineResponse) -> None - self._response = pipeline_response.http_response - self.status_code = self._response.status_code - self.text = self._response.text() - - def json(self, **kwargs): - # type: (Any) -> Mapping[str, Any] - return json.loads(self.text, **kwargs) - - def raise_for_status(self): - # type: () -> None - if self.status_code >= 400: - raise ClientAuthenticationError("authentication failed", self._response) - - -class MsalTransportAdapter(object): - """Wraps an azure-core pipeline with the shape of ``requests.Session``. - - Used as a context manager, patches msal.authority to intercept calls to requests. - """ - - def __init__(self, **kwargs): - # type: (Any) -> None - super(MsalTransportAdapter, self).__init__() - self._patch = mock.patch("msal.authority.requests", self) - self._pipeline = self._build_pipeline(**kwargs) - - def __enter__(self): - self._patch.__enter__() - return self - - def __exit__(self, *args): - self._patch.__exit__(*args) - - @staticmethod - def _create_config(**kwargs): - # type: (Any) -> Configuration - config = Configuration(**kwargs) - config.logging_policy = NetworkTraceLoggingPolicy(**kwargs) - config.retry_policy = RetryPolicy(**kwargs) - config.proxy_policy = ProxyPolicy(**kwargs) - config.user_agent_policy = UserAgentPolicy(base_user_agent=USER_AGENT, **kwargs) - return config - - def _build_pipeline(self, config=None, policies=None, transport=None, **kwargs): - config = config or self._create_config(**kwargs) - policies = policies or [ - ContentDecodePolicy(), - config.user_agent_policy, - config.proxy_policy, - config.retry_policy, - config.logging_policy, - DistributedTracingPolicy(**kwargs), - HttpLoggingPolicy(**kwargs), - ] - if not transport: - transport = RequestsTransport(**kwargs) - return Pipeline(transport=transport, policies=policies) - - def get(self, url, headers=None, params=None, timeout=None, verify=None, **kwargs): - # type: (str, Optional[Mapping[str, str]], Optional[Dict[str, str]], float, bool, Any) -> MsalTransportResponse - request = HttpRequest("GET", url, headers=headers) - if params: - request.format_parameters(params) - response = self._pipeline.run( - request, stream=False, connection_timeout=timeout, connection_verify=verify, **kwargs - ) - return MsalTransportResponse(response) - - def post( - self, - url, # type: str - data=None, # type: Optional[Mapping[str, str]] - headers=None, # type: Optional[Mapping[str, str]] - params=None, # type: Optional[Dict[str, str]] - timeout=None, # type: float - verify=None, # type: bool - **kwargs # type: Any - ): - # type: (...) -> MsalTransportResponse - request = HttpRequest("POST", url, headers=headers) - if params: - request.format_parameters(params) - if data: - request.headers["Content-Type"] = "application/x-www-form-urlencoded" - request.set_formdata_body(data) - response = self._pipeline.run( - request, stream=False, connection_timeout=timeout, connection_verify=verify, **kwargs - ) - return MsalTransportResponse(response) diff --git a/sdk/identity/azure-identity/azure/identity/aio/_internal/__init__.py b/sdk/identity/azure-identity/azure/identity/aio/_internal/__init__.py index 097b56a96c85..82f17fb260f8 100644 --- a/sdk/identity/azure-identity/azure/identity/aio/_internal/__init__.py +++ b/sdk/identity/azure-identity/azure/identity/aio/_internal/__init__.py @@ -4,6 +4,5 @@ # ------------------------------------ from .aad_client import AadClient from .exception_wrapper import wrap_exceptions -from .msal_transport_adapter import MsalTransportAdapter -__all__ = ["AadClient", "MsalTransportAdapter", "wrap_exceptions"] +__all__ = ["AadClient", "wrap_exceptions"] diff --git a/sdk/identity/azure-identity/azure/identity/aio/_internal/msal_transport_adapter.py b/sdk/identity/azure-identity/azure/identity/aio/_internal/msal_transport_adapter.py deleted file mode 100644 index 1f4d12e151cc..000000000000 --- a/sdk/identity/azure-identity/azure/identity/aio/_internal/msal_transport_adapter.py +++ /dev/null @@ -1,121 +0,0 @@ -# ------------------------------------ -# Copyright (c) Microsoft Corporation. -# Licensed under the MIT License. -# ------------------------------------ -"""Adapter to substitute an async azure-core pipeline for Requests in MSAL application token acquisition methods.""" - -import asyncio -from typing import TYPE_CHECKING - -from azure.core.configuration import Configuration -from azure.core.pipeline import AsyncPipeline -from azure.core.pipeline.policies import ( - AsyncRetryPolicy, - DistributedTracingPolicy, - HttpLoggingPolicy, - NetworkTraceLoggingPolicy, - ProxyPolicy, - UserAgentPolicy, -) -from azure.core.pipeline.transport import AioHttpTransport, HttpRequest - -from ..._internal import MsalTransportResponse -from ..._internal.user_agent import USER_AGENT - -if TYPE_CHECKING: - # pylint:disable=unused-import - from typing import Any, Dict, Iterable, Optional - from azure.core.pipeline.policies import AsyncHTTPPolicy - from azure.core.pipeline.transport import AsyncHttpTransport - - -class MsalTransportAdapter: - """Wraps an async azure-core pipeline with the shape of a (synchronous) Requests Session""" - - def __init__( - self, - config: "Optional[Configuration]" = None, - policies: "Optional[Iterable[AsyncHTTPPolicy]]" = None, - transport: "Optional[AsyncHttpTransport]" = None, - **kwargs: "Any" - ) -> None: - - config = config or self._create_config(**kwargs) - policies = policies or [ - config.user_agent_policy, - config.proxy_policy, - config.retry_policy, - config.logging_policy, - DistributedTracingPolicy(**kwargs), - HttpLoggingPolicy(**kwargs), - ] - self._transport = transport or AioHttpTransport(configuration=config) - self._pipeline = AsyncPipeline(transport=self._transport, policies=policies) - - async def __aenter__(self): - await self._pipeline.__aenter__() - return self - - async def __aexit__(self, *args): - await self.close() - - async def close(self): - """Close the adapter's transport session.""" - await self._pipeline.__aexit__() - - def get( - self, - url: str, - loop: "asyncio.AbstractEventLoop", - headers: "Optional[Dict[str, str]]" = None, - params: "Optional[Dict[str, str]]" = None, - timeout: "Optional[float]" = None, - verify: "Optional[bool]" = None, - **kwargs: "Any" - ) -> MsalTransportResponse: - - request = HttpRequest("GET", url, headers=headers) - if params: - request.format_parameters(params) - - future = asyncio.run_coroutine_threadsafe( # type: ignore - self._pipeline.run(request, connection_timeout=timeout, connection_verify=verify, **kwargs), loop - ) - response = future.result(timeout=timeout) - - return MsalTransportResponse(response) - - def post( - self, - url: str, - loop: "asyncio.AbstractEventLoop", - data: "Any" = None, - headers: "Optional[Dict[str, str]]" = None, - params: "Optional[Dict[str, str]]" = None, - timeout: "Optional[float]" = None, - verify: "Optional[bool]" = None, - **kwargs: "Any" - ) -> MsalTransportResponse: - - request = HttpRequest("POST", url, headers=headers) - if params: - request.format_parameters(params) - if data: - request.headers["Content-Type"] = "application/x-www-form-urlencoded" - request.set_formdata_body(data) - - future = asyncio.run_coroutine_threadsafe( # type: ignore - self._pipeline.run(request, connection_timeout=timeout, connection_verify=verify, **kwargs), loop - ) - response = future.result(timeout=timeout) - - return MsalTransportResponse(response) - - @staticmethod - def _create_config(**kwargs: "Any") -> Configuration: - config = Configuration(**kwargs) - config.proxy_policy = ProxyPolicy(**kwargs) - config.logging_policy = NetworkTraceLoggingPolicy(**kwargs) - config.retry_policy = AsyncRetryPolicy(**kwargs) - config.user_agent_policy = UserAgentPolicy(base_user_agent=USER_AGENT, **kwargs) - return config diff --git a/sdk/identity/azure-identity/setup.py b/sdk/identity/azure-identity/setup.py index d356f803e476..95922e1a6d6a 100644 --- a/sdk/identity/azure-identity/setup.py +++ b/sdk/identity/azure-identity/setup.py @@ -73,7 +73,7 @@ install_requires=[ "azure-core<2.0.0,>=1.0.0", "cryptography>=2.1.4", - "msal<2.0.0,>=1.1.0", + "msal<2.0.0,>=1.3.0", "msal-extensions~=0.2.2", "six>=1.6", ], diff --git a/sdk/identity/azure-identity/tests/test_live.py b/sdk/identity/azure-identity/tests/test_live.py index 23d0779d0dc3..20521b54a2c0 100644 --- a/sdk/identity/azure-identity/tests/test_live.py +++ b/sdk/identity/azure-identity/tests/test_live.py @@ -9,12 +9,10 @@ CertificateCredential, ClientSecretCredential, DeviceCodeCredential, - KnownAuthorities, InteractiveBrowserCredential, UsernamePasswordCredential, ) from azure.identity._constants import AZURE_CLI_CLIENT_ID -from azure.identity._internal import ConfidentialClientCredential ARM_SCOPE = "https://management.azure.com/.default" @@ -57,16 +55,6 @@ def test_default_credential(live_service_principal): get_token(credential) -def test_confidential_client_credential(live_service_principal): - credential = ConfidentialClientCredential( - client_id=live_service_principal["client_id"], - client_credential=live_service_principal["client_secret"], - authority=KnownAuthorities.AZURE_PUBLIC_CLOUD, - tenant_id=live_service_principal["tenant_id"], - ) - get_token(credential) - - def test_username_password_auth(live_user_details): credential = UsernamePasswordCredential( client_id=live_user_details["client_id"], diff --git a/shared_requirements.txt b/shared_requirements.txt index 70acf0e54fe9..65f69e060da5 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -95,7 +95,7 @@ cryptography>=2.1.4 futures mock typing -msal<2.0.0,>=1.1.0 +msal<2.0.0,>=1.3.0 msal-extensions~=0.2.2 msrest>=0.5.0 msrestazure<2.0.0,>=0.4.32 From 61af105fdf232e07fb5f4206c2299906163cf142 Mon Sep 17 00:00:00 2001 From: Xiang Yan Date: Fri, 26 Jun 2020 14:54:55 -0700 Subject: [PATCH 25/36] update API version to use 2020-06-30 (#12208) * update API version to use 2020-06-30 * update --- .../_internal/_generated/__init__.py | 10 +- .../_internal/_generated/_configuration.py | 12 +- .../_generated/_search_index_client.py | 13 +- .../_internal/_generated/aio/__init__.py | 4 +- .../_generated/aio/_configuration_async.py | 6 +- .../aio/_search_index_client_async.py | 7 +- .../aio/operations_async/__init__.py | 4 +- .../_documents_operations_async.py | 191 +++++++++-------- .../_internal/_generated/models/__init__.py | 4 +- .../_internal/_generated/models/_models.py | 58 ++--- .../_generated/models/_models_py3.py | 50 +++-- .../models/_search_index_client_enums.py | 16 +- .../_generated/operations/__init__.py | 4 +- .../operations/_documents_operations.py | 201 +++++++++--------- .../search/documents/_internal/_paging.py | 2 +- .../indexes/_internal/_generated/__init__.py | 2 +- .../_internal/_generated/_configuration.py | 2 +- .../_generated/aio/_configuration_async.py | 2 +- .../_data_sources_operations_async.py | 36 ++-- .../_indexers_operations_async.py | 57 +++-- .../_indexes_operations_async.py | 85 ++++---- ..._search_service_client_operations_async.py | 7 +- .../_skillsets_operations_async.py | 36 ++-- .../_synonym_maps_operations_async.py | 36 ++-- .../_internal/_generated/models/__init__.py | 2 - .../_internal/_generated/models/_models.py | 168 +++++++-------- .../_generated/models/_models_py3.py | 169 +++++++-------- .../models/_search_service_client_enums.py | 17 +- .../operations/_data_sources_operations.py | 36 ++-- .../operations/_indexers_operations.py | 57 +++-- .../operations/_indexes_operations.py | 85 ++++---- .../_search_service_client_operations.py | 7 +- .../operations/_skillsets_operations.py | 36 ++-- .../operations/_synonym_maps_operations.py | 36 ++-- ...e_async.test_async_get_document_count.yaml | 4 +- ...st_index_live_async.test_autocomplete.yaml | 4 +- ..._async.test_delete_documents_existing.yaml | 16 +- ...e_async.test_delete_documents_missing.yaml | 16 +- ...st_index_live_async.test_get_document.yaml | 40 ++-- ..._live_async.test_get_document_missing.yaml | 4 +- ...dex_live_async.test_get_search_counts.yaml | 8 +- ...x_live_async.test_get_search_coverage.yaml | 8 +- ...ive_async.test_get_search_facets_none.yaml | 4 +- ...e_async.test_get_search_facets_result.yaml | 4 +- ...dex_live_async.test_get_search_filter.yaml | 4 +- ...dex_live_async.test_get_search_simple.yaml | 8 +- ...e_async.test_merge_documents_existing.yaml | 16 +- ...ve_async.test_merge_documents_missing.yaml | 16 +- ..._async.test_merge_or_upload_documents.yaml | 16 +- .../test_index_live_async.test_suggest.yaml | 4 +- ..._async.test_upload_documents_existing.yaml | 4 +- ..._live_async.test_upload_documents_new.yaml | 16 +- ..._service_live_async.test_analyze_text.yaml | 4 +- ...ve_async.test_create_datasource_async.yaml | 6 +- ..._service_live_async.test_create_index.yaml | 6 +- ...ervice_live_async.test_create_indexer.yaml | 18 +- ...est_create_or_update_datasource_async.yaml | 22 +- ...ate_or_update_datasource_if_unchanged.yaml | 14 +- ...ive_async.test_create_or_update_index.yaml | 10 +- ...e_async.test_create_or_update_indexer.yaml | 34 +-- ...create_or_update_indexer_if_unchanged.yaml | 26 +-- ...create_or_update_indexes_if_unchanged.yaml | 14 +- ..._async.test_create_or_update_skillset.yaml | 16 +- ...reate_or_update_skillset_if_unchanged.yaml | 18 +- ...est_create_or_update_skillset_inplace.yaml | 18 +- ...ync.test_create_or_update_synonym_map.yaml | 22 +- ...te_or_update_synonym_map_if_unchanged.yaml | 14 +- ...rvice_live_async.test_create_skillset.yaml | 8 +- ...ce_live_async.test_create_synonym_map.yaml | 10 +- ...ve_async.test_delete_datasource_async.yaml | 18 +- ...c.test_delete_datasource_if_unchanged.yaml | 14 +- ...ervice_live_async.test_delete_indexer.yaml | 30 +-- ...sync.test_delete_indexer_if_unchanged.yaml | 26 +-- ...ervice_live_async.test_delete_indexes.yaml | 8 +- ...sync.test_delete_indexes_if_unchanged.yaml | 14 +- ...rvice_live_async.test_delete_skillset.yaml | 16 +- ...ync.test_delete_skillset_if_unchanged.yaml | 14 +- ...ce_live_async.test_delete_synonym_map.yaml | 18 +- ....test_delete_synonym_map_if_unchanged.yaml | 14 +- ..._live_async.test_get_datasource_async.yaml | 10 +- ...est_service_live_async.test_get_index.yaml | 4 +- ..._live_async.test_get_index_statistics.yaml | 4 +- ...t_service_live_async.test_get_indexer.yaml | 22 +- ...ce_live_async.test_get_indexer_status.yaml | 22 +- ...ive_async.test_get_service_statistics.yaml | 4 +- ..._service_live_async.test_get_skillset.yaml | 12 +- ...service_live_async.test_get_skillsets.yaml | 16 +- ...rvice_live_async.test_get_synonym_map.yaml | 14 +- ...vice_live_async.test_get_synonym_maps.yaml | 16 +- ...live_async.test_list_datasource_async.yaml | 16 +- ..._service_live_async.test_list_indexer.yaml | 40 ++-- ..._service_live_async.test_list_indexes.yaml | 4 +- ...ce_live_async.test_list_indexes_empty.yaml | 4 +- ...service_live_async.test_reset_indexer.yaml | 30 +-- ...t_service_live_async.test_run_indexer.yaml | 30 +-- .../test_index_live.test_autocomplete.yaml | 2 +- ...x_live.test_delete_documents_existing.yaml | 8 +- ...ex_live.test_delete_documents_missing.yaml | 8 +- .../test_index_live.test_get_document.yaml | 20 +- ...st_index_live.test_get_document_count.yaml | 2 +- ..._index_live.test_get_document_missing.yaml | 2 +- ...est_index_live.test_get_search_counts.yaml | 4 +- ...t_index_live.test_get_search_coverage.yaml | 4 +- ...ndex_live.test_get_search_facets_none.yaml | 2 +- ...ex_live.test_get_search_facets_result.yaml | 2 +- ...est_index_live.test_get_search_filter.yaml | 2 +- ...est_index_live.test_get_search_simple.yaml | 4 +- ...ex_live.test_merge_documents_existing.yaml | 8 +- ...dex_live.test_merge_documents_missing.yaml | 8 +- ...x_live.test_merge_or_upload_documents.yaml | 8 +- .../test_index_live.test_suggest.yaml | 2 +- ...x_live.test_upload_documents_existing.yaml | 2 +- ..._index_live.test_upload_documents_new.yaml | 8 +- .../test_service_live.test_analyze_text.yaml | 2 +- ...t_service_live.test_create_datasource.yaml | 4 +- .../test_service_live.test_create_index.yaml | 4 +- ...test_service_live.test_create_indexer.yaml | 12 +- ...live.test_create_or_update_datasource.yaml | 12 +- ...ate_or_update_datasource_if_unchanged.yaml | 8 +- ...vice_live.test_create_or_update_index.yaml | 6 +- ...ce_live.test_create_or_update_indexer.yaml | 20 +- ...create_or_update_indexer_if_unchanged.yaml | 16 +- ...create_or_update_indexes_if_unchanged.yaml | 8 +- ...e_live.test_create_or_update_skillset.yaml | 10 +- ...reate_or_update_skillset_if_unchanged.yaml | 10 +- ...est_create_or_update_skillset_inplace.yaml | 10 +- ...ive.test_create_or_update_synonym_map.yaml | 12 +- ...te_or_update_synonym_map_if_unchanged.yaml | 8 +- ...est_service_live.test_create_skillset.yaml | 6 +- ..._service_live.test_create_synonym_map.yaml | 6 +- ...t_service_live.test_delete_datasource.yaml | 10 +- ...e.test_delete_datasource_if_unchanged.yaml | 8 +- ...delete_datasource_string_if_unchanged.yaml | 6 +- ...test_service_live.test_delete_indexer.yaml | 18 +- ...live.test_delete_indexer_if_unchanged.yaml | 16 +- ...test_service_live.test_delete_indexes.yaml | 4 +- ...live.test_delete_indexes_if_unchanged.yaml | 8 +- ...est_service_live.test_delete_skillset.yaml | 10 +- ...ive.test_delete_skillset_if_unchanged.yaml | 8 +- ..._service_live.test_delete_synonym_map.yaml | 10 +- ....test_delete_synonym_map_if_unchanged.yaml | 8 +- ...test_service_live.test_get_datasource.yaml | 6 +- .../test_service_live.test_get_index.yaml | 2 +- ...ervice_live.test_get_index_statistics.yaml | 2 +- .../test_service_live.test_get_indexer.yaml | 14 +- ..._service_live.test_get_indexer_status.yaml | 14 +- ...vice_live.test_get_service_statistics.yaml | 2 +- .../test_service_live.test_get_skillset.yaml | 8 +- .../test_service_live.test_get_skillsets.yaml | 10 +- ...est_service_live.test_get_synonym_map.yaml | 8 +- ...st_service_live.test_get_synonym_maps.yaml | 10 +- ...est_service_live.test_list_datasource.yaml | 10 +- .../test_service_live.test_list_indexer.yaml | 26 +-- .../test_service_live.test_list_indexes.yaml | 2 +- ..._service_live.test_list_indexes_empty.yaml | 2 +- .../test_service_live.test_reset_indexer.yaml | 18 +- .../test_service_live.test_run_indexer.yaml | 18 +- 157 files changed, 1401 insertions(+), 1437 deletions(-) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/__init__.py index 7363c23e25cd..e0c0b42fb8b2 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/__init__.py @@ -1,8 +1,16 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from ._search_index_client import SearchIndexClient __all__ = ['SearchIndexClient'] + +try: + from ._patch import patch_sdk # type: ignore + patch_sdk() +except ImportError: + pass diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_configuration.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_configuration.py index 4ad630688a33..f8e7961e2d76 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_configuration.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_configuration.py @@ -1,14 +1,20 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any +from typing import TYPE_CHECKING from azure.core.configuration import Configuration from azure.core.pipeline import policies +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + VERSION = "unknown" class SearchIndexClientConfiguration(Configuration): @@ -38,7 +44,7 @@ def __init__( self.endpoint = endpoint self.index_name = index_name - self.api_version = "2019-05-06-Preview" + self.api_version = "2020-06-30" kwargs.setdefault('sdk_moniker', 'searchindexclient/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_search_index_client.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_search_index_client.py index 8182e533ba81..9f9aa4fd4216 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_search_index_client.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/_search_index_client.py @@ -1,14 +1,20 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any +from typing import TYPE_CHECKING from azure.core import PipelineClient from msrest import Deserializer, Serializer +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any + from ._configuration import SearchIndexClientConfiguration from .operations import DocumentsOperations from . import models @@ -18,11 +24,12 @@ class SearchIndexClient(object): """Client that can be used to query an index and upload, merge, or delete documents. :ivar documents: DocumentsOperations operations - :vartype documents: search_index_client.operations.DocumentsOperations + :vartype documents: azure.search.documents.operations.DocumentsOperations :param endpoint: The endpoint URL of the search service. :type endpoint: str :param index_name: The name of the index. :type index_name: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ def __init__( diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/__init__.py index 921a60ecf1d2..8d58df3d101f 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/__init__.py @@ -1,6 +1,8 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration_async.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration_async.py index 54942faa0d61..b1c7f2589cea 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_configuration_async.py @@ -1,6 +1,8 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -37,7 +39,7 @@ def __init__( self.endpoint = endpoint self.index_name = index_name - self.api_version = "2019-05-06-Preview" + self.api_version = "2020-06-30" kwargs.setdefault('sdk_moniker', 'searchindexclient/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client_async.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client_async.py index 36f6ad7726e5..36a2b40be44f 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/_search_index_client_async.py @@ -1,6 +1,8 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -18,11 +20,12 @@ class SearchIndexClient(object): """Client that can be used to query an index and upload, merge, or delete documents. :ivar documents: DocumentsOperations operations - :vartype documents: search_index_client.aio.operations_async.DocumentsOperations + :vartype documents: azure.search.documents.aio.operations_async.DocumentsOperations :param endpoint: The endpoint URL of the search service. :type endpoint: str :param index_name: The name of the index. :type index_name: str + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. """ def __init__( diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/__init__.py index c3fee199ca19..f78fe2a3b285 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/__init__.py @@ -1,6 +1,8 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/_documents_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/_documents_operations_async.py index 0a25976ad253..a4ce707efdc5 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/_documents_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/aio/operations_async/_documents_operations_async.py @@ -1,6 +1,8 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union @@ -22,7 +24,7 @@ class DocumentsOperations: instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~search_index_client.models + :type models: ~azure.search.documents.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -45,22 +47,23 @@ async def count( """Queries the number of documents in the index. :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: long or the result of cls(response) + :return: long, or the result of cls(response) :rtype: long :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[int] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.count.metadata['url'] + url = self.count.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -77,7 +80,6 @@ async def count( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -90,10 +92,10 @@ async def count( deserialized = self._deserialize('long', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - count.metadata = {'url': '/docs/$count'} + count.metadata = {'url': '/docs/$count'} # type: ignore async def search_get( self, @@ -108,16 +110,17 @@ async def search_get( match all documents. :type search_text: str :param search_options: Parameter group. - :type search_options: ~search_index_client.models.SearchOptions + :type search_options: ~azure.search.documents.models.SearchOptions :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.SearchDocumentsResult + :return: SearchDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.SearchDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _include_total_result_count = None _facets = None @@ -155,10 +158,10 @@ async def search_get( _select = search_options.select _skip = search_options.skip _top = search_options.top - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.search_get.metadata['url'] + url = self.search_get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -209,7 +212,6 @@ async def search_get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -222,10 +224,10 @@ async def search_get( deserialized = self._deserialize('SearchDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - search_get.metadata = {'url': '/docs'} + search_get.metadata = {'url': '/docs'} # type: ignore async def search_post( self, @@ -236,24 +238,26 @@ async def search_post( """Searches for documents in the index. :param search_request: The definition of the Search request. - :type search_request: ~search_index_client.models.SearchRequest + :type search_request: ~azure.search.documents.models.SearchRequest :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.SearchDocumentsResult + :return: SearchDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.SearchDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" + content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self.search_post.metadata['url'] + url = self.search_post.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -268,10 +272,9 @@ async def search_post( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = kwargs.pop('content_type', 'application/json') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(search_request, 'SearchRequest') body_content_kwargs['content'] = body_content @@ -288,10 +291,10 @@ async def search_post( deserialized = self._deserialize('SearchDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - search_post.metadata = {'url': '/docs/search.post.search'} + search_post.metadata = {'url': '/docs/search.post.search'} # type: ignore async def get( self, @@ -308,22 +311,23 @@ async def get( retrieved will be missing from the returned document. :type selected_fields: list[str] :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: object or the result of cls(response) + :return: object, or the result of cls(response) :rtype: object :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[object] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -343,7 +347,6 @@ async def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -356,10 +359,10 @@ async def get( deserialized = self._deserialize('object', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/docs(\'{key}\')'} + get.metadata = {'url': '/docs(\'{key}\')'} # type: ignore async def suggest_get( self, @@ -378,16 +381,17 @@ async def suggest_get( that's part of the index definition. :type suggester_name: str :param suggest_options: Parameter group. - :type suggest_options: ~search_index_client.models.SuggestOptions + :type suggest_options: ~azure.search.documents.models.SuggestOptions :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SuggestDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.SuggestDocumentsResult + :return: SuggestDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.SuggestDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SuggestDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _filter = None _use_fuzzy_matching = None @@ -411,10 +415,10 @@ async def suggest_get( _search_fields = suggest_options.search_fields _select = suggest_options.select _top = suggest_options.top - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.suggest_get.metadata['url'] + url = self.suggest_get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -451,7 +455,6 @@ async def suggest_get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -464,10 +467,10 @@ async def suggest_get( deserialized = self._deserialize('SuggestDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - suggest_get.metadata = {'url': '/docs/search.suggest'} + suggest_get.metadata = {'url': '/docs/search.suggest'} # type: ignore async def suggest_post( self, @@ -478,24 +481,26 @@ async def suggest_post( """Suggests documents in the index that match the given partial query text. :param suggest_request: The Suggest request. - :type suggest_request: ~search_index_client.models.SuggestRequest + :type suggest_request: ~azure.search.documents.models.SuggestRequest :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SuggestDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.SuggestDocumentsResult + :return: SuggestDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.SuggestDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SuggestDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" + content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self.suggest_post.metadata['url'] + url = self.suggest_post.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -510,10 +515,9 @@ async def suggest_post( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = kwargs.pop('content_type', 'application/json') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(suggest_request, 'SuggestRequest') body_content_kwargs['content'] = body_content @@ -530,10 +534,10 @@ async def suggest_post( deserialized = self._deserialize('SuggestDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - suggest_post.metadata = {'url': '/docs/search.post.suggest'} + suggest_post.metadata = {'url': '/docs/search.post.suggest'} # type: ignore async def index( self, @@ -544,24 +548,26 @@ async def index( """Sends a batch of document write actions to the index. :param batch: The batch of index actions. - :type batch: ~search_index_client.models.IndexBatch + :type batch: ~azure.search.documents.models.IndexBatch :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: IndexDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.IndexDocumentsResult or ~search_index_client.models.IndexDocumentsResult + :return: IndexDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.IndexDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IndexDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" + content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self.index.metadata['url'] + url = self.index.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -576,10 +582,9 @@ async def index( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = kwargs.pop('content_type', 'application/json') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(batch, 'IndexBatch') body_content_kwargs['content'] = body_content @@ -593,7 +598,6 @@ async def index( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('IndexDocumentsResult', pipeline_response) @@ -601,10 +605,10 @@ async def index( deserialized = self._deserialize('IndexDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - index.metadata = {'url': '/docs/search.index'} + index.metadata = {'url': '/docs/search.index'} # type: ignore async def autocomplete_get( self, @@ -622,16 +626,17 @@ async def autocomplete_get( that's part of the index definition. :type suggester_name: str :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :param autocomplete_options: Parameter group. - :type autocomplete_options: ~search_index_client.models.AutocompleteOptions + :type autocomplete_options: ~azure.search.documents.models.AutocompleteOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: AutocompleteResult or the result of cls(response) - :rtype: ~search_index_client.models.AutocompleteResult + :return: AutocompleteResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.AutocompleteResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutocompleteResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None _autocomplete_mode = None @@ -653,10 +658,10 @@ async def autocomplete_get( _top = autocomplete_options.top if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.autocomplete_get.metadata['url'] + url = self.autocomplete_get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -691,7 +696,6 @@ async def autocomplete_get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -704,10 +708,10 @@ async def autocomplete_get( deserialized = self._deserialize('AutocompleteResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - autocomplete_get.metadata = {'url': '/docs/search.autocomplete'} + autocomplete_get.metadata = {'url': '/docs/search.autocomplete'} # type: ignore async def autocomplete_post( self, @@ -718,24 +722,26 @@ async def autocomplete_post( """Autocompletes incomplete query terms based on input text and matching terms in the index. :param autocomplete_request: The definition of the Autocomplete request. - :type autocomplete_request: ~search_index_client.models.AutocompleteRequest + :type autocomplete_request: ~azure.search.documents.models.AutocompleteRequest :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: AutocompleteResult or the result of cls(response) - :rtype: ~search_index_client.models.AutocompleteResult + :return: AutocompleteResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.AutocompleteResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutocompleteResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" + content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self.autocomplete_post.metadata['url'] + url = self.autocomplete_post.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -750,10 +756,9 @@ async def autocomplete_post( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = kwargs.pop('content_type', 'application/json') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(autocomplete_request, 'AutocompleteRequest') body_content_kwargs['content'] = body_content @@ -770,7 +775,7 @@ async def autocomplete_post( deserialized = self._deserialize('AutocompleteResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - autocomplete_post.metadata = {'url': '/docs/search.post.autocomplete'} + autocomplete_post.metadata = {'url': '/docs/search.post.autocomplete'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/__init__.py index 5971f054dfba..9e82c5c3a696 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/__init__.py @@ -1,6 +1,8 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models.py index 69693a04bf57..adf699024250 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models.py @@ -1,6 +1,8 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -45,8 +47,8 @@ class AutocompleteOptions(msrest.serialization.Model): :param autocomplete_mode: Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing - auto-completed terms. Possible values include: 'oneTerm', 'twoTerms', 'oneTermWithContext'. - :type autocomplete_mode: str or ~search_index_client.models.AutocompleteMode + auto-completed terms. Possible values include: "oneTerm", "twoTerms", "oneTermWithContext". + :type autocomplete_mode: str or ~azure.search.documents.models.AutocompleteMode :param filter: An OData expression that filters the documents used to produce completed terms for the Autocomplete result. :type filter: str @@ -110,8 +112,8 @@ class AutocompleteRequest(msrest.serialization.Model): :type search_text: str :param autocomplete_mode: Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing - auto-completed terms. Possible values include: 'oneTerm', 'twoTerms', 'oneTermWithContext'. - :type autocomplete_mode: str or ~search_index_client.models.AutocompleteMode + auto-completed terms. Possible values include: "oneTerm", "twoTerms", "oneTermWithContext". + :type autocomplete_mode: str or ~azure.search.documents.models.AutocompleteMode :param filter: An OData expression that filters the documents used to produce completed terms for the Autocomplete result. :type filter: str @@ -166,7 +168,7 @@ def __init__( **kwargs ): super(AutocompleteRequest, self).__init__(**kwargs) - self.search_text = kwargs.get('search_text', None) + self.search_text = kwargs['search_text'] self.autocomplete_mode = kwargs.get('autocomplete_mode', None) self.filter = kwargs.get('filter', None) self.use_fuzzy_matching = kwargs.get('use_fuzzy_matching', None) @@ -174,7 +176,7 @@ def __init__( self.highlight_pre_tag = kwargs.get('highlight_pre_tag', None) self.minimum_coverage = kwargs.get('minimum_coverage', None) self.search_fields = kwargs.get('search_fields', None) - self.suggester_name = kwargs.get('suggester_name', None) + self.suggester_name = kwargs['suggester_name'] self.top = kwargs.get('top', None) @@ -189,7 +191,7 @@ class AutocompleteResult(msrest.serialization.Model): autocomplete request, or null if minimumCoverage was not specified in the request. :vartype coverage: float :ivar results: Required. The list of returned Autocompleted items. - :vartype results: list[~search_index_client.models.AutocompleteItem] + :vartype results: list[~azure.search.documents.models.AutocompleteItem] """ _validation = { @@ -249,8 +251,8 @@ class IndexAction(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param action_type: The operation to perform on a document in an indexing batch. Possible - values include: 'upload', 'merge', 'mergeOrUpload', 'delete'. - :type action_type: str or ~search_index_client.models.IndexActionType + values include: "upload", "merge", "mergeOrUpload", "delete". + :type action_type: str or ~azure.search.documents.models.IndexActionType """ _attribute_map = { @@ -273,7 +275,7 @@ class IndexBatch(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param actions: Required. The actions in the batch. - :type actions: list[~search_index_client.models.IndexAction] + :type actions: list[~azure.search.documents.models.IndexAction] """ _validation = { @@ -289,7 +291,7 @@ def __init__( **kwargs ): super(IndexBatch, self).__init__(**kwargs) - self.actions = kwargs.get('actions', None) + self.actions = kwargs['actions'] class IndexDocumentsResult(msrest.serialization.Model): @@ -301,7 +303,7 @@ class IndexDocumentsResult(msrest.serialization.Model): :ivar results: Required. The list of status information for each document in the indexing request. - :vartype results: list[~search_index_client.models.IndexingResult] + :vartype results: list[~azure.search.documents.models.IndexingResult] """ _validation = { @@ -403,14 +405,14 @@ class SearchDocumentsResult(msrest.serialization.Model): :vartype coverage: float :ivar facets: The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions. - :vartype facets: dict[str, list[~search_index_client.models.FacetResult]] + :vartype facets: dict[str, list[~azure.search.documents.models.FacetResult]] :ivar next_page_parameters: Continuation JSON payload returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response. - :vartype next_page_parameters: ~search_index_client.models.SearchRequest + :vartype next_page_parameters: ~azure.search.documents.models.SearchRequest :ivar results: Required. The sequence of results returned by the query. - :vartype results: list[~search_index_client.models.SearchResult] + :vartype results: list[~azure.search.documents.models.SearchResult] :ivar next_link: Continuation URL returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb @@ -461,7 +463,7 @@ class SearchError(msrest.serialization.Model): :ivar message: Required. A human-readable representation of the error. :vartype message: str :ivar details: An array of details about specific errors that led to this reported error. - :vartype details: list[~search_index_client.models.SearchError] + :vartype details: list[~azure.search.documents.models.SearchError] """ _validation = { @@ -522,8 +524,8 @@ class SearchOptions(msrest.serialization.Model): :type order_by: list[str] :param query_type: A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: - 'simple', 'full'. - :type query_type: str or ~search_index_client.models.QueryType + "simple", "full". + :type query_type: str or ~azure.search.documents.models.QueryType :param scoring_parameters: The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be @@ -537,8 +539,8 @@ class SearchOptions(msrest.serialization.Model): each fielded search expression take precedence over any field names listed in this parameter. :type search_fields: list[str] :param search_mode: A value that specifies whether any or all of the search terms must be - matched in order to count the document as a match. Possible values include: 'any', 'all'. - :type search_mode: str or ~search_index_client.models.SearchMode + matched in order to count the document as a match. Possible values include: "any", "all". + :type search_mode: str or ~azure.search.documents.models.SearchMode :param select: The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. :type select: list[str] @@ -631,8 +633,8 @@ class SearchRequest(msrest.serialization.Model): :type order_by: str :param query_type: A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: - 'simple', 'full'. - :type query_type: str or ~search_index_client.models.QueryType + "simple", "full". + :type query_type: str or ~azure.search.documents.models.QueryType :param scoring_parameters: The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be @@ -650,8 +652,8 @@ class SearchRequest(msrest.serialization.Model): this parameter. :type search_fields: str :param search_mode: A value that specifies whether any or all of the search terms must be - matched in order to count the document as a match. Possible values include: 'any', 'all'. - :type search_mode: str or ~search_index_client.models.SearchMode + matched in order to count the document as a match. Possible values include: "any", "all". + :type search_mode: str or ~azure.search.documents.models.SearchMode :param select: The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. :type select: str @@ -757,7 +759,7 @@ class SuggestDocumentsResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :ivar results: Required. The sequence of results returned by the query. - :vartype results: list[~search_index_client.models.SuggestResult] + :vartype results: list[~azure.search.documents.models.SuggestResult] :ivar coverage: A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request. :vartype coverage: float @@ -928,10 +930,10 @@ def __init__( self.highlight_pre_tag = kwargs.get('highlight_pre_tag', None) self.minimum_coverage = kwargs.get('minimum_coverage', None) self.order_by = kwargs.get('order_by', None) - self.search_text = kwargs.get('search_text', None) + self.search_text = kwargs['search_text'] self.search_fields = kwargs.get('search_fields', None) self.select = kwargs.get('select', None) - self.suggester_name = kwargs.get('suggester_name', None) + self.suggester_name = kwargs['suggester_name'] self.top = kwargs.get('top', None) diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models_py3.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models_py3.py index 7e394ea69d39..cda94fd710cd 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models_py3.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_models_py3.py @@ -1,6 +1,8 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- @@ -9,6 +11,8 @@ from azure.core.exceptions import HttpResponseError import msrest.serialization +from ._search_index_client_enums import * + class AutocompleteItem(msrest.serialization.Model): """The result of Autocomplete requests. @@ -47,8 +51,8 @@ class AutocompleteOptions(msrest.serialization.Model): :param autocomplete_mode: Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing - auto-completed terms. Possible values include: 'oneTerm', 'twoTerms', 'oneTermWithContext'. - :type autocomplete_mode: str or ~search_index_client.models.AutocompleteMode + auto-completed terms. Possible values include: "oneTerm", "twoTerms", "oneTermWithContext". + :type autocomplete_mode: str or ~azure.search.documents.models.AutocompleteMode :param filter: An OData expression that filters the documents used to produce completed terms for the Autocomplete result. :type filter: str @@ -121,8 +125,8 @@ class AutocompleteRequest(msrest.serialization.Model): :type search_text: str :param autocomplete_mode: Specifies the mode for Autocomplete. The default is 'oneTerm'. Use 'twoTerms' to get shingles and 'oneTermWithContext' to use the current context while producing - auto-completed terms. Possible values include: 'oneTerm', 'twoTerms', 'oneTermWithContext'. - :type autocomplete_mode: str or ~search_index_client.models.AutocompleteMode + auto-completed terms. Possible values include: "oneTerm", "twoTerms", "oneTermWithContext". + :type autocomplete_mode: str or ~azure.search.documents.models.AutocompleteMode :param filter: An OData expression that filters the documents used to produce completed terms for the Autocomplete result. :type filter: str @@ -211,7 +215,7 @@ class AutocompleteResult(msrest.serialization.Model): autocomplete request, or null if minimumCoverage was not specified in the request. :vartype coverage: float :ivar results: Required. The list of returned Autocompleted items. - :vartype results: list[~search_index_client.models.AutocompleteItem] + :vartype results: list[~azure.search.documents.models.AutocompleteItem] """ _validation = { @@ -273,8 +277,8 @@ class IndexAction(msrest.serialization.Model): collection. :type additional_properties: dict[str, object] :param action_type: The operation to perform on a document in an indexing batch. Possible - values include: 'upload', 'merge', 'mergeOrUpload', 'delete'. - :type action_type: str or ~search_index_client.models.IndexActionType + values include: "upload", "merge", "mergeOrUpload", "delete". + :type action_type: str or ~azure.search.documents.models.IndexActionType """ _attribute_map = { @@ -300,7 +304,7 @@ class IndexBatch(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :param actions: Required. The actions in the batch. - :type actions: list[~search_index_client.models.IndexAction] + :type actions: list[~azure.search.documents.models.IndexAction] """ _validation = { @@ -330,7 +334,7 @@ class IndexDocumentsResult(msrest.serialization.Model): :ivar results: Required. The list of status information for each document in the indexing request. - :vartype results: list[~search_index_client.models.IndexingResult] + :vartype results: list[~azure.search.documents.models.IndexingResult] """ _validation = { @@ -434,14 +438,14 @@ class SearchDocumentsResult(msrest.serialization.Model): :vartype coverage: float :ivar facets: The facet query results for the search operation, organized as a collection of buckets for each faceted field; null if the query did not include any facet expressions. - :vartype facets: dict[str, list[~search_index_client.models.FacetResult]] + :vartype facets: dict[str, list[~azure.search.documents.models.FacetResult]] :ivar next_page_parameters: Continuation JSON payload returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this JSON along with @odata.nextLink to formulate another POST Search request to get the next part of the search response. - :vartype next_page_parameters: ~search_index_client.models.SearchRequest + :vartype next_page_parameters: ~azure.search.documents.models.SearchRequest :ivar results: Required. The sequence of results returned by the query. - :vartype results: list[~search_index_client.models.SearchResult] + :vartype results: list[~azure.search.documents.models.SearchResult] :ivar next_link: Continuation URL returned when Azure Cognitive Search can't return all the requested results in a single Search response. You can use this URL to formulate another GET or POST Search request to get the next part of the search response. Make sure to use the same verb @@ -492,7 +496,7 @@ class SearchError(msrest.serialization.Model): :ivar message: Required. A human-readable representation of the error. :vartype message: str :ivar details: An array of details about specific errors that led to this reported error. - :vartype details: list[~search_index_client.models.SearchError] + :vartype details: list[~azure.search.documents.models.SearchError] """ _validation = { @@ -553,8 +557,8 @@ class SearchOptions(msrest.serialization.Model): :type order_by: list[str] :param query_type: A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: - 'simple', 'full'. - :type query_type: str or ~search_index_client.models.QueryType + "simple", "full". + :type query_type: str or ~azure.search.documents.models.QueryType :param scoring_parameters: The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be @@ -568,8 +572,8 @@ class SearchOptions(msrest.serialization.Model): each fielded search expression take precedence over any field names listed in this parameter. :type search_fields: list[str] :param search_mode: A value that specifies whether any or all of the search terms must be - matched in order to count the document as a match. Possible values include: 'any', 'all'. - :type search_mode: str or ~search_index_client.models.SearchMode + matched in order to count the document as a match. Possible values include: "any", "all". + :type search_mode: str or ~azure.search.documents.models.SearchMode :param select: The list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. :type select: list[str] @@ -679,8 +683,8 @@ class SearchRequest(msrest.serialization.Model): :type order_by: str :param query_type: A value that specifies the syntax of the search query. The default is 'simple'. Use 'full' if your query uses the Lucene query syntax. Possible values include: - 'simple', 'full'. - :type query_type: str or ~search_index_client.models.QueryType + "simple", "full". + :type query_type: str or ~azure.search.documents.models.QueryType :param scoring_parameters: The list of parameter values to be used in scoring functions (for example, referencePointParameter) using the format name-values. For example, if the scoring profile defines a function with a parameter called 'mylocation' the parameter string would be @@ -698,8 +702,8 @@ class SearchRequest(msrest.serialization.Model): this parameter. :type search_fields: str :param search_mode: A value that specifies whether any or all of the search terms must be - matched in order to count the document as a match. Possible values include: 'any', 'all'. - :type search_mode: str or ~search_index_client.models.SearchMode + matched in order to count the document as a match. Possible values include: "any", "all". + :type search_mode: str or ~azure.search.documents.models.SearchMode :param select: The comma-separated list of fields to retrieve. If unspecified, all fields marked as retrievable in the schema are included. :type select: str @@ -825,7 +829,7 @@ class SuggestDocumentsResult(msrest.serialization.Model): All required parameters must be populated in order to send to Azure. :ivar results: Required. The sequence of results returned by the query. - :vartype results: list[~search_index_client.models.SuggestResult] + :vartype results: list[~azure.search.documents.models.SuggestResult] :ivar coverage: A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request. :vartype coverage: float diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_search_index_client_enums.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_search_index_client_enums.py index f8c0578dc65c..cf7a2fea4790 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_search_index_client_enums.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/models/_search_index_client_enums.py @@ -1,11 +1,19 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- from enum import Enum +class AutocompleteMode(str, Enum): + + one_term = "oneTerm" #: Only one term is suggested. If the query has two terms, only the last term is completed. For example, if the input is 'washington medic', the suggested terms could include 'medicaid', 'medicare', and 'medicine'. + two_terms = "twoTerms" #: Matching two-term phrases in the index will be suggested. For example, if the input is 'medic', the suggested terms could include 'medicare coverage' and 'medical assistant'. + one_term_with_context = "oneTermWithContext" #: Completes the last term in a query with two or more terms, where the last two terms are a phrase that exists in the index. For example, if the input is 'washington medic', the suggested terms could include 'washington medicaid' and 'washington medical'. + class IndexActionType(str, Enum): """The operation to perform on a document in an indexing batch. """ @@ -24,9 +32,3 @@ class SearchMode(str, Enum): any = "any" #: Any of the search terms must be matched in order to count the document as a match. all = "all" #: All of the search terms must be matched in order to count the document as a match. - -class AutocompleteMode(str, Enum): - - one_term = "oneTerm" #: Only one term is suggested. If the query has two terms, only the last term is completed. For example, if the input is 'washington medic', the suggested terms could include 'medicaid', 'medicare', and 'medicine'. - two_terms = "twoTerms" #: Matching two-term phrases in the index will be suggested. For example, if the input is 'medic', the suggested terms could include 'medicare coverage' and 'medical assistant'. - one_term_with_context = "oneTermWithContext" #: Completes the last term in a query with two or more terms, where the last two terms are a phrase that exists in the index. For example, if the input is 'washington medic', the suggested terms could include 'washington medicaid' and 'washington medical'. diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/__init__.py index bcb01fb453e2..76022eb9d305 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/__init__.py @@ -1,6 +1,8 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/_documents_operations.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/_documents_operations.py index 923e4fb4c95b..dbd911f08ff3 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/_documents_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_generated/operations/_documents_operations.py @@ -1,9 +1,11 @@ # coding=utf-8 # -------------------------------------------------------------------------- -# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.0.6257, generator: {generator}) +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is regenerated. # -------------------------------------------------------------------------- -from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union +from typing import TYPE_CHECKING import warnings from azure.core.exceptions import HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error @@ -12,8 +14,12 @@ from .. import models -T = TypeVar('T') -ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, List, Optional, TypeVar, Union + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] class DocumentsOperations(object): """DocumentsOperations operations. @@ -22,7 +28,7 @@ class DocumentsOperations(object): instantiates it for you and attaches it as an attribute. :ivar models: Alias to model classes used in this operation group. - :type models: ~search_index_client.models + :type models: ~azure.search.documents.models :param client: Client for service requests. :param config: Configuration of service client. :param serializer: An object model serializer. @@ -46,22 +52,23 @@ def count( """Queries the number of documents in the index. :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: long or the result of cls(response) + :return: long, or the result of cls(response) :rtype: long :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[int] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.count.metadata['url'] + url = self.count.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -78,7 +85,6 @@ def count( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -91,10 +97,10 @@ def count( deserialized = self._deserialize('long', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - count.metadata = {'url': '/docs/$count'} + count.metadata = {'url': '/docs/$count'} # type: ignore def search_get( self, @@ -110,16 +116,17 @@ def search_get( match all documents. :type search_text: str :param search_options: Parameter group. - :type search_options: ~search_index_client.models.SearchOptions + :type search_options: ~azure.search.documents.models.SearchOptions :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.SearchDocumentsResult + :return: SearchDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.SearchDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _include_total_result_count = None _facets = None @@ -157,10 +164,10 @@ def search_get( _select = search_options.select _skip = search_options.skip _top = search_options.top - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.search_get.metadata['url'] + url = self.search_get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -211,7 +218,6 @@ def search_get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -224,10 +230,10 @@ def search_get( deserialized = self._deserialize('SearchDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - search_get.metadata = {'url': '/docs'} + search_get.metadata = {'url': '/docs'} # type: ignore def search_post( self, @@ -239,24 +245,26 @@ def search_post( """Searches for documents in the index. :param search_request: The definition of the Search request. - :type search_request: ~search_index_client.models.SearchRequest + :type search_request: ~azure.search.documents.models.SearchRequest :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.SearchDocumentsResult + :return: SearchDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.SearchDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" + content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self.search_post.metadata['url'] + url = self.search_post.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -271,10 +279,9 @@ def search_post( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = kwargs.pop('content_type', 'application/json') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(search_request, 'SearchRequest') body_content_kwargs['content'] = body_content @@ -291,10 +298,10 @@ def search_post( deserialized = self._deserialize('SearchDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - search_post.metadata = {'url': '/docs/search.post.search'} + search_post.metadata = {'url': '/docs/search.post.search'} # type: ignore def get( self, @@ -312,22 +319,23 @@ def get( retrieved will be missing from the returned document. :type selected_fields: list[str] :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: object or the result of cls(response) + :return: object, or the result of cls(response) :rtype: object :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType[object] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.get.metadata['url'] + url = self.get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -347,7 +355,6 @@ def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -360,10 +367,10 @@ def get( deserialized = self._deserialize('object', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - get.metadata = {'url': '/docs(\'{key}\')'} + get.metadata = {'url': '/docs(\'{key}\')'} # type: ignore def suggest_get( self, @@ -383,16 +390,17 @@ def suggest_get( that's part of the index definition. :type suggester_name: str :param suggest_options: Parameter group. - :type suggest_options: ~search_index_client.models.SuggestOptions + :type suggest_options: ~azure.search.documents.models.SuggestOptions :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SuggestDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.SuggestDocumentsResult + :return: SuggestDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.SuggestDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SuggestDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _filter = None _use_fuzzy_matching = None @@ -416,10 +424,10 @@ def suggest_get( _search_fields = suggest_options.search_fields _select = suggest_options.select _top = suggest_options.top - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.suggest_get.metadata['url'] + url = self.suggest_get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -456,7 +464,6 @@ def suggest_get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -469,10 +476,10 @@ def suggest_get( deserialized = self._deserialize('SuggestDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - suggest_get.metadata = {'url': '/docs/search.suggest'} + suggest_get.metadata = {'url': '/docs/search.suggest'} # type: ignore def suggest_post( self, @@ -484,24 +491,26 @@ def suggest_post( """Suggests documents in the index that match the given partial query text. :param suggest_request: The Suggest request. - :type suggest_request: ~search_index_client.models.SuggestRequest + :type suggest_request: ~azure.search.documents.models.SuggestRequest :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SuggestDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.SuggestDocumentsResult + :return: SuggestDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.SuggestDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SuggestDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" + content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self.suggest_post.metadata['url'] + url = self.suggest_post.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -516,10 +525,9 @@ def suggest_post( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = kwargs.pop('content_type', 'application/json') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(suggest_request, 'SuggestRequest') body_content_kwargs['content'] = body_content @@ -536,10 +544,10 @@ def suggest_post( deserialized = self._deserialize('SuggestDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - suggest_post.metadata = {'url': '/docs/search.post.suggest'} + suggest_post.metadata = {'url': '/docs/search.post.suggest'} # type: ignore def index( self, @@ -551,24 +559,26 @@ def index( """Sends a batch of document write actions to the index. :param batch: The batch of index actions. - :type batch: ~search_index_client.models.IndexBatch + :type batch: ~azure.search.documents.models.IndexBatch :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: IndexDocumentsResult or the result of cls(response) - :rtype: ~search_index_client.models.IndexDocumentsResult or ~search_index_client.models.IndexDocumentsResult + :return: IndexDocumentsResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.IndexDocumentsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.IndexDocumentsResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" + content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self.index.metadata['url'] + url = self.index.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -583,10 +593,9 @@ def index( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = kwargs.pop('content_type', 'application/json') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(batch, 'IndexBatch') body_content_kwargs['content'] = body_content @@ -600,7 +609,6 @@ def index( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('IndexDocumentsResult', pipeline_response) @@ -608,10 +616,10 @@ def index( deserialized = self._deserialize('IndexDocumentsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - index.metadata = {'url': '/docs/search.index'} + index.metadata = {'url': '/docs/search.index'} # type: ignore def autocomplete_get( self, @@ -630,16 +638,17 @@ def autocomplete_get( that's part of the index definition. :type suggester_name: str :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :param autocomplete_options: Parameter group. - :type autocomplete_options: ~search_index_client.models.AutocompleteOptions + :type autocomplete_options: ~azure.search.documents.models.AutocompleteOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: AutocompleteResult or the result of cls(response) - :rtype: ~search_index_client.models.AutocompleteResult + :return: AutocompleteResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.AutocompleteResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutocompleteResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None _autocomplete_mode = None @@ -661,10 +670,10 @@ def autocomplete_get( _top = autocomplete_options.top if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL - url = self.autocomplete_get.metadata['url'] + url = self.autocomplete_get.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -699,7 +708,6 @@ def autocomplete_get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -712,10 +720,10 @@ def autocomplete_get( deserialized = self._deserialize('AutocompleteResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - autocomplete_get.metadata = {'url': '/docs/search.autocomplete'} + autocomplete_get.metadata = {'url': '/docs/search.autocomplete'} # type: ignore def autocomplete_post( self, @@ -727,24 +735,26 @@ def autocomplete_post( """Autocompletes incomplete query terms based on input text and matching terms in the index. :param autocomplete_request: The definition of the Autocomplete request. - :type autocomplete_request: ~search_index_client.models.AutocompleteRequest + :type autocomplete_request: ~azure.search.documents.models.AutocompleteRequest :param request_options: Parameter group. - :type request_options: ~search_index_client.models.RequestOptions + :type request_options: ~azure.search.documents.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: AutocompleteResult or the result of cls(response) - :rtype: ~search_index_client.models.AutocompleteResult + :return: AutocompleteResult, or the result of cls(response) + :rtype: ~azure.search.documents.models.AutocompleteResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AutocompleteResult"] - error_map = kwargs.pop('error_map', {404: ResourceNotFoundError, 409: ResourceExistsError}) + error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} + error_map.update(kwargs.pop('error_map', {})) _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" + content_type = kwargs.pop("content_type", "application/json") # Construct URL - url = self.autocomplete_post.metadata['url'] + url = self.autocomplete_post.metadata['url'] # type: ignore path_format_arguments = { 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), 'indexName': self._serialize.url("self._config.index_name", self._config.index_name, 'str'), @@ -759,10 +769,9 @@ def autocomplete_post( header_parameters = {} # type: Dict[str, Any] if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - header_parameters['Content-Type'] = kwargs.pop('content_type', 'application/json') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(autocomplete_request, 'AutocompleteRequest') body_content_kwargs['content'] = body_content @@ -779,7 +788,7 @@ def autocomplete_post( deserialized = self._deserialize('AutocompleteResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized - autocomplete_post.metadata = {'url': '/docs/search.post.autocomplete'} + autocomplete_post.metadata = {'url': '/docs/search.post.autocomplete'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/_internal/_paging.py b/sdk/search/azure-search-documents/azure/search/documents/_internal/_paging.py index 8c35fd6423a0..b8f80c70cf66 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/_internal/_paging.py +++ b/sdk/search/azure-search-documents/azure/search/documents/_internal/_paging.py @@ -25,7 +25,7 @@ def convert_search_result(result): def pack_continuation_token(response): - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" if response.next_page_parameters is not None: token = { "apiVersion": api_version, diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/__init__.py index 43602c89e078..6768e3864dca 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/__init__.py @@ -10,7 +10,7 @@ __all__ = ['SearchServiceClient'] try: - from ._patch import patch_sdk + from ._patch import patch_sdk # type: ignore patch_sdk() except ImportError: pass diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_configuration.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_configuration.py index a398a3277c31..2a23ee76017d 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_configuration.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/_configuration.py @@ -38,7 +38,7 @@ def __init__( super(SearchServiceClientConfiguration, self).__init__(**kwargs) self.endpoint = endpoint - self.api_version = "2019-05-06-Preview" + self.api_version = "2020-06-30" kwargs.setdefault('sdk_moniker', 'searchserviceclient/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration_async.py index d179b1eb3e0e..8d0da5ed7352 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/_configuration_async.py @@ -33,7 +33,7 @@ def __init__( super(SearchServiceClientConfiguration, self).__init__(**kwargs) self.endpoint = endpoint - self.api_version = "2019-05-06-Preview" + self.api_version = "2020-06-30" kwargs.setdefault('sdk_moniker', 'searchserviceclient/{}'.format(VERSION)) self._configure(**kwargs) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_data_sources_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_data_sources_operations_async.py index d3782d53e7c9..f8c11475256e 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_data_sources_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_data_sources_operations_async.py @@ -63,7 +63,7 @@ async def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerDataSource or the result of cls(response) + :return: SearchIndexerDataSource, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerDataSource :raises: ~azure.core.exceptions.HttpResponseError """ @@ -75,7 +75,7 @@ async def create_or_update( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -102,7 +102,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(data_source, 'SearchIndexerDataSource') body_content_kwargs['content'] = body_content @@ -116,7 +115,6 @@ async def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SearchIndexerDataSource', pipeline_response) @@ -124,7 +122,7 @@ async def create_or_update( deserialized = self._deserialize('SearchIndexerDataSource', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/datasources(\'{dataSourceName}\')'} # type: ignore @@ -150,7 +148,7 @@ async def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -161,7 +159,7 @@ async def delete( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -184,7 +182,6 @@ async def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -195,7 +192,7 @@ async def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/datasources(\'{dataSourceName}\')'} # type: ignore @@ -212,7 +209,7 @@ async def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerDataSource or the result of cls(response) + :return: SearchIndexerDataSource, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerDataSource :raises: ~azure.core.exceptions.HttpResponseError """ @@ -223,7 +220,7 @@ async def get( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -243,7 +240,6 @@ async def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -256,7 +252,7 @@ async def get( deserialized = self._deserialize('SearchIndexerDataSource', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/datasources(\'{dataSourceName}\')'} # type: ignore @@ -276,7 +272,7 @@ async def list( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListDataSourcesResult or the result of cls(response) + :return: ListDataSourcesResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ListDataSourcesResult :raises: ~azure.core.exceptions.HttpResponseError """ @@ -287,7 +283,7 @@ async def list( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -308,7 +304,6 @@ async def list( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -321,7 +316,7 @@ async def list( deserialized = self._deserialize('ListDataSourcesResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized list.metadata = {'url': '/datasources'} # type: ignore @@ -339,7 +334,7 @@ async def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerDataSource or the result of cls(response) + :return: SearchIndexerDataSource, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerDataSource :raises: ~azure.core.exceptions.HttpResponseError """ @@ -350,7 +345,7 @@ async def create( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -371,7 +366,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(data_source, 'SearchIndexerDataSource') body_content_kwargs['content'] = body_content @@ -388,7 +382,7 @@ async def create( deserialized = self._deserialize('SearchIndexerDataSource', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/datasources'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexers_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexers_operations_async.py index 43febb2b23e8..17d302274546 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexers_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexers_operations_async.py @@ -52,7 +52,7 @@ async def reset( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -63,7 +63,7 @@ async def reset( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.reset.metadata['url'] # type: ignore @@ -82,7 +82,6 @@ async def reset( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -93,7 +92,7 @@ async def reset( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) reset.metadata = {'url': '/indexers(\'{indexerName}\')/search.reset'} # type: ignore @@ -110,7 +109,7 @@ async def run( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -121,7 +120,7 @@ async def run( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.run.metadata['url'] # type: ignore @@ -140,7 +139,6 @@ async def run( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -151,7 +149,7 @@ async def run( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) run.metadata = {'url': '/indexers(\'{indexerName}\')/search.run'} # type: ignore @@ -179,7 +177,7 @@ async def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexer or the result of cls(response) + :return: SearchIndexer, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexer :raises: ~azure.core.exceptions.HttpResponseError """ @@ -191,7 +189,7 @@ async def create_or_update( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -218,7 +216,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(indexer, 'SearchIndexer') body_content_kwargs['content'] = body_content @@ -232,7 +229,6 @@ async def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SearchIndexer', pipeline_response) @@ -240,7 +236,7 @@ async def create_or_update( deserialized = self._deserialize('SearchIndexer', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/indexers(\'{indexerName}\')'} # type: ignore @@ -266,7 +262,7 @@ async def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -277,7 +273,7 @@ async def delete( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -300,7 +296,6 @@ async def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -311,7 +306,7 @@ async def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/indexers(\'{indexerName}\')'} # type: ignore @@ -328,7 +323,7 @@ async def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexer or the result of cls(response) + :return: SearchIndexer, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexer :raises: ~azure.core.exceptions.HttpResponseError """ @@ -339,7 +334,7 @@ async def get( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -359,7 +354,6 @@ async def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -372,7 +366,7 @@ async def get( deserialized = self._deserialize('SearchIndexer', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/indexers(\'{indexerName}\')'} # type: ignore @@ -392,7 +386,7 @@ async def list( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListIndexersResult or the result of cls(response) + :return: ListIndexersResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ListIndexersResult :raises: ~azure.core.exceptions.HttpResponseError """ @@ -403,7 +397,7 @@ async def list( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -424,7 +418,6 @@ async def list( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -437,7 +430,7 @@ async def list( deserialized = self._deserialize('ListIndexersResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized list.metadata = {'url': '/indexers'} # type: ignore @@ -455,7 +448,7 @@ async def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexer or the result of cls(response) + :return: SearchIndexer, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexer :raises: ~azure.core.exceptions.HttpResponseError """ @@ -466,7 +459,7 @@ async def create( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -487,7 +480,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(indexer, 'SearchIndexer') body_content_kwargs['content'] = body_content @@ -504,7 +496,7 @@ async def create( deserialized = self._deserialize('SearchIndexer', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/indexers'} # type: ignore @@ -522,7 +514,7 @@ async def get_status( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerStatus or the result of cls(response) + :return: SearchIndexerStatus, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerStatus :raises: ~azure.core.exceptions.HttpResponseError """ @@ -533,7 +525,7 @@ async def get_status( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get_status.metadata['url'] # type: ignore @@ -553,7 +545,6 @@ async def get_status( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -566,7 +557,7 @@ async def get_status( deserialized = self._deserialize('SearchIndexerStatus', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get_status.metadata = {'url': '/indexers(\'{indexerName}\')/search.status'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexes_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexes_operations_async.py index 44a0d72e616a..132b2842f63a 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexes_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_indexes_operations_async.py @@ -53,18 +53,18 @@ async def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndex or the result of cls(response) + :return: SearchIndex, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndex :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -85,7 +85,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(index, 'SearchIndex') body_content_kwargs['content'] = body_content @@ -102,7 +101,7 @@ async def create( deserialized = self._deserialize('SearchIndex', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/indexes'} # type: ignore @@ -116,26 +115,32 @@ def list( """Lists all indexes available for a search service. :param select: Selects which top-level properties of the index definitions to retrieve. - Specified as a comma-separated list of JSON property names, or '*' for all properties. The - default is all properties. + Specified as a comma-separated list of JSON property names, or '*' for all properties. The + default is all properties. :type select: str :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of ListIndexesResult or the result of cls(response) + :return: An iterator like instance of either ListIndexesResult or the result of cls(response) :rtype: ~azure.core.async_paging.AsyncItemPaged[~azure.search.documents.indexes.models.ListIndexesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListIndexesResult"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + if _x_ms_client_request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -149,6 +154,7 @@ def prepare_request(next_link=None): query_parameters['$select'] = self._serialize.query("select", select, 'str') query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] @@ -156,14 +162,7 @@ def prepare_request(next_link=None): 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), } url = self._client.format_url(url, **path_format_arguments) - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if _x_ms_client_request_id is not None: - header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -222,19 +221,19 @@ async def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndex or the result of cls(response) + :return: SearchIndex, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndex :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -263,7 +262,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(index, 'SearchIndex') body_content_kwargs['content'] = body_content @@ -277,7 +275,6 @@ async def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SearchIndex', pipeline_response) @@ -285,7 +282,7 @@ async def create_or_update( deserialized = self._deserialize('SearchIndex', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/indexes(\'{indexName}\')'} # type: ignore @@ -298,7 +295,9 @@ async def delete( request_options: Optional["models.RequestOptions"] = None, **kwargs ) -> None: - """Deletes a search index and all the documents it contains. This operation is permanent, with no recovery option. Make sure you have a master copy of your index definition, data ingestion code, and a backup of the primary data source in case you need to re-build the index. + """Deletes a search index and all the documents it contains. This operation is permanent, with no + recovery option. Make sure you have a master copy of your index definition, data ingestion + code, and a backup of the primary data source in case you need to re-build the index. :param index_name: The name of the index to delete. :type index_name: str @@ -311,18 +310,18 @@ async def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(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 = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -345,7 +344,6 @@ async def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -356,7 +354,7 @@ async def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/indexes(\'{indexName}\')'} # type: ignore @@ -373,18 +371,18 @@ async def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndex or the result of cls(response) + :return: SearchIndex, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndex :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -404,7 +402,6 @@ async def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -417,7 +414,7 @@ async def get( deserialized = self._deserialize('SearchIndex', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/indexes(\'{indexName}\')'} # type: ignore @@ -435,18 +432,18 @@ async def get_statistics( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: GetIndexStatisticsResult or the result of cls(response) + :return: GetIndexStatisticsResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.GetIndexStatisticsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.GetIndexStatisticsResult"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get_statistics.metadata['url'] # type: ignore @@ -466,7 +463,6 @@ async def get_statistics( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -479,7 +475,7 @@ async def get_statistics( deserialized = self._deserialize('GetIndexStatisticsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get_statistics.metadata = {'url': '/indexes(\'{indexName}\')/search.stats'} # type: ignore @@ -500,18 +496,18 @@ async def analyze( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: AnalyzeResult or the result of cls(response) + :return: AnalyzeResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.AnalyzeResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeResult"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -533,7 +529,6 @@ async def analyze( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(request, 'AnalyzeRequest') body_content_kwargs['content'] = body_content @@ -550,7 +545,7 @@ async def analyze( deserialized = self._deserialize('AnalyzeResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized analyze.metadata = {'url': '/indexes(\'{indexName}\')/search.analyze'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_search_service_client_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_search_service_client_operations_async.py index 58d5cc484857..026130f2a428 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_search_service_client_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_search_service_client_operations_async.py @@ -29,7 +29,7 @@ async def get_service_statistics( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ServiceStatistics or the result of cls(response) + :return: ServiceStatistics, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ServiceStatistics :raises: ~azure.core.exceptions.HttpResponseError """ @@ -40,7 +40,7 @@ async def get_service_statistics( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get_service_statistics.metadata['url'] # type: ignore @@ -59,7 +59,6 @@ async def get_service_statistics( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -72,7 +71,7 @@ async def get_service_statistics( deserialized = self._deserialize('ServiceStatistics', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get_service_statistics.metadata = {'url': '/servicestats'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_skillsets_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_skillsets_operations_async.py index 989641d054d3..e1527ffa8ff6 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_skillsets_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_skillsets_operations_async.py @@ -64,7 +64,7 @@ async def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerSkillset or the result of cls(response) + :return: SearchIndexerSkillset, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerSkillset :raises: ~azure.core.exceptions.HttpResponseError """ @@ -76,7 +76,7 @@ async def create_or_update( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -103,7 +103,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(skillset, 'SearchIndexerSkillset') body_content_kwargs['content'] = body_content @@ -117,7 +116,6 @@ async def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SearchIndexerSkillset', pipeline_response) @@ -125,7 +123,7 @@ async def create_or_update( deserialized = self._deserialize('SearchIndexerSkillset', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/skillsets(\'{skillsetName}\')'} # type: ignore @@ -151,7 +149,7 @@ async def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -162,7 +160,7 @@ async def delete( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -185,7 +183,6 @@ async def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -196,7 +193,7 @@ async def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/skillsets(\'{skillsetName}\')'} # type: ignore @@ -213,7 +210,7 @@ async def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerSkillset or the result of cls(response) + :return: SearchIndexerSkillset, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerSkillset :raises: ~azure.core.exceptions.HttpResponseError """ @@ -224,7 +221,7 @@ async def get( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -244,7 +241,6 @@ async def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -257,7 +253,7 @@ async def get( deserialized = self._deserialize('SearchIndexerSkillset', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/skillsets(\'{skillsetName}\')'} # type: ignore @@ -277,7 +273,7 @@ async def list( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListSkillsetsResult or the result of cls(response) + :return: ListSkillsetsResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ListSkillsetsResult :raises: ~azure.core.exceptions.HttpResponseError """ @@ -288,7 +284,7 @@ async def list( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -309,7 +305,6 @@ async def list( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -322,7 +317,7 @@ async def list( deserialized = self._deserialize('ListSkillsetsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized list.metadata = {'url': '/skillsets'} # type: ignore @@ -340,7 +335,7 @@ async def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerSkillset or the result of cls(response) + :return: SearchIndexerSkillset, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerSkillset :raises: ~azure.core.exceptions.HttpResponseError """ @@ -351,7 +346,7 @@ async def create( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -372,7 +367,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(skillset, 'SearchIndexerSkillset') body_content_kwargs['content'] = body_content @@ -389,7 +383,7 @@ async def create( deserialized = self._deserialize('SearchIndexerSkillset', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/skillsets'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_synonym_maps_operations_async.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_synonym_maps_operations_async.py index f2c1d4f3c259..1663e7259b7b 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_synonym_maps_operations_async.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/aio/operations_async/_synonym_maps_operations_async.py @@ -63,7 +63,7 @@ async def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SynonymMap or the result of cls(response) + :return: SynonymMap, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SynonymMap :raises: ~azure.core.exceptions.HttpResponseError """ @@ -75,7 +75,7 @@ async def create_or_update( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -102,7 +102,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(synonym_map, 'SynonymMap') body_content_kwargs['content'] = body_content @@ -116,7 +115,6 @@ async def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SynonymMap', pipeline_response) @@ -124,7 +122,7 @@ async def create_or_update( deserialized = self._deserialize('SynonymMap', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/synonymmaps(\'{synonymMapName}\')'} # type: ignore @@ -150,7 +148,7 @@ async def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -161,7 +159,7 @@ async def delete( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -184,7 +182,6 @@ async def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -195,7 +192,7 @@ async def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/synonymmaps(\'{synonymMapName}\')'} # type: ignore @@ -212,7 +209,7 @@ async def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SynonymMap or the result of cls(response) + :return: SynonymMap, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SynonymMap :raises: ~azure.core.exceptions.HttpResponseError """ @@ -223,7 +220,7 @@ async def get( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -243,7 +240,6 @@ async def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -256,7 +252,7 @@ async def get( deserialized = self._deserialize('SynonymMap', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/synonymmaps(\'{synonymMapName}\')'} # type: ignore @@ -276,7 +272,7 @@ async def list( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListSynonymMapsResult or the result of cls(response) + :return: ListSynonymMapsResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ListSynonymMapsResult :raises: ~azure.core.exceptions.HttpResponseError """ @@ -287,7 +283,7 @@ async def list( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -308,7 +304,6 @@ async def list( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -321,7 +316,7 @@ async def list( deserialized = self._deserialize('ListSynonymMapsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized list.metadata = {'url': '/synonymmaps'} # type: ignore @@ -339,7 +334,7 @@ async def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SynonymMap or the result of cls(response) + :return: SynonymMap, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SynonymMap :raises: ~azure.core.exceptions.HttpResponseError """ @@ -350,7 +345,7 @@ async def create( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -371,7 +366,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(synonym_map, 'SynonymMap') body_content_kwargs['content'] = body_content @@ -388,7 +382,7 @@ async def create( deserialized = self._deserialize('SynonymMap', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/synonymmaps'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/__init__.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/__init__.py index cc66379bb7a5..db5a2694d201 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/__init__.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/__init__.py @@ -275,7 +275,6 @@ SplitSkillLanguage, StemmerTokenFilterLanguage, StopwordsList, - TextExtractionAlgorithm, TextSplitMode, TextTranslationSkillLanguage, TokenCharacterKind, @@ -429,7 +428,6 @@ 'SplitSkillLanguage', 'StemmerTokenFilterLanguage', 'StopwordsList', - 'TextExtractionAlgorithm', 'TextSplitMode', 'TextTranslationSkillLanguage', 'TokenCharacterKind', diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models.py index b284a982b199..e8ca9eb0aafa 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models.py @@ -181,7 +181,7 @@ def __init__( **kwargs ): super(TokenFilter, self).__init__(**kwargs) - self.odata_type = None + self.odata_type = None # type: Optional[str] self.name = kwargs['name'] @@ -218,7 +218,7 @@ def __init__( **kwargs ): super(AsciiFoldingTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.AsciiFoldingTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.AsciiFoldingTokenFilter' # type: str self.preserve_original = kwargs.get('preserve_original', False) @@ -282,7 +282,7 @@ def __init__( **kwargs ): super(Similarity, self).__init__(**kwargs) - self.odata_type = None + self.odata_type = None # type: Optional[str] class BM25Similarity(Similarity): @@ -317,7 +317,7 @@ def __init__( **kwargs ): super(BM25Similarity, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.BM25Similarity' + self.odata_type = '#Microsoft.Azure.Search.BM25Similarity' # type: str self.k1 = kwargs.get('k1', None) self.b = kwargs.get('b', None) @@ -358,7 +358,7 @@ def __init__( **kwargs ): super(CharFilter, self).__init__(**kwargs) - self.odata_type = None + self.odata_type = None # type: Optional[str] self.name = kwargs['name'] @@ -399,7 +399,7 @@ def __init__( **kwargs ): super(CjkBigramTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.CjkBigramTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.CjkBigramTokenFilter' # type: str self.ignore_scripts = kwargs.get('ignore_scripts', None) self.output_unigrams = kwargs.get('output_unigrams', False) @@ -426,7 +426,7 @@ def __init__( **kwargs ): super(ClassicSimilarity, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.ClassicSimilarity' + self.odata_type = '#Microsoft.Azure.Search.ClassicSimilarity' # type: str class LexicalTokenizer(msrest.serialization.Model): @@ -465,7 +465,7 @@ def __init__( **kwargs ): super(LexicalTokenizer, self).__init__(**kwargs) - self.odata_type = None + self.odata_type = None # type: Optional[str] self.name = kwargs['name'] @@ -503,7 +503,7 @@ def __init__( **kwargs ): super(ClassicTokenizer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.ClassicTokenizer' + self.odata_type = '#Microsoft.Azure.Search.ClassicTokenizer' # type: str self.max_token_length = kwargs.get('max_token_length', 255) @@ -540,7 +540,7 @@ def __init__( **kwargs ): super(CognitiveServicesAccount, self).__init__(**kwargs) - self.odata_type = None + self.odata_type = None # type: Optional[str] self.description = kwargs.get('description', None) @@ -575,7 +575,7 @@ def __init__( **kwargs ): super(CognitiveServicesAccountKey, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.CognitiveServicesByKey' + self.odata_type = '#Microsoft.Azure.Search.CognitiveServicesByKey' # type: str self.key = kwargs['key'] @@ -621,7 +621,7 @@ def __init__( **kwargs ): super(CommonGramTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.CommonGramTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.CommonGramTokenFilter' # type: str self.common_words = kwargs['common_words'] self.ignore_case = kwargs.get('ignore_case', False) self.use_query_mode = kwargs.get('use_query_mode', False) @@ -680,7 +680,7 @@ def __init__( **kwargs ): super(SearchIndexerSkill, self).__init__(**kwargs) - self.odata_type = None + self.odata_type = None # type: Optional[str] self.name = kwargs.get('name', None) self.description = kwargs.get('description', None) self.context = kwargs.get('context', None) @@ -734,7 +734,7 @@ def __init__( **kwargs ): super(ConditionalSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Util.ConditionalSkill' + self.odata_type = '#Microsoft.Skills.Util.ConditionalSkill' # type: str class CorsOptions(msrest.serialization.Model): @@ -805,7 +805,7 @@ def __init__( **kwargs ): super(LexicalAnalyzer, self).__init__(**kwargs) - self.odata_type = None + self.odata_type = None # type: Optional[str] self.name = kwargs['name'] @@ -856,7 +856,7 @@ def __init__( **kwargs ): super(CustomAnalyzer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.CustomAnalyzer' + self.odata_type = '#Microsoft.Azure.Search.CustomAnalyzer' # type: str self.tokenizer = kwargs['tokenizer'] self.token_filters = kwargs.get('token_filters', None) self.char_filters = kwargs.get('char_filters', None) @@ -892,7 +892,7 @@ def __init__( **kwargs ): super(DataChangeDetectionPolicy, self).__init__(**kwargs) - self.odata_type = None + self.odata_type = None # type: Optional[str] class DataDeletionDetectionPolicy(msrest.serialization.Model): @@ -925,7 +925,7 @@ def __init__( **kwargs ): super(DataDeletionDetectionPolicy, self).__init__(**kwargs) - self.odata_type = None + self.odata_type = None # type: Optional[str] class DataSourceCredentials(msrest.serialization.Model): @@ -973,7 +973,7 @@ def __init__( **kwargs ): super(DefaultCognitiveServicesAccount, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.DefaultCognitiveServices' + self.odata_type = '#Microsoft.Azure.Search.DefaultCognitiveServices' # type: str class DictionaryDecompounderTokenFilter(TokenFilter): @@ -1028,7 +1028,7 @@ def __init__( **kwargs ): super(DictionaryDecompounderTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter' # type: str self.word_list = kwargs['word_list'] self.min_word_size = kwargs.get('min_word_size', 5) self.min_subword_size = kwargs.get('min_subword_size', 2) @@ -1080,7 +1080,7 @@ def __init__( **kwargs ): super(ScoringFunction, self).__init__(**kwargs) - self.type = None + self.type = None # type: Optional[str] self.field_name = kwargs['field_name'] self.boost = kwargs['boost'] self.interpolation = kwargs.get('interpolation', None) @@ -1127,7 +1127,7 @@ def __init__( **kwargs ): super(DistanceScoringFunction, self).__init__(**kwargs) - self.type = 'distance' + self.type = 'distance' # type: str self.parameters = kwargs['parameters'] @@ -1203,7 +1203,7 @@ def __init__( **kwargs ): super(EdgeNGramTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.EdgeNGramTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.EdgeNGramTokenFilter' # type: str self.min_gram = kwargs.get('min_gram', 1) self.max_gram = kwargs.get('max_gram', 2) self.side = kwargs.get('side', None) @@ -1251,7 +1251,7 @@ def __init__( **kwargs ): super(EdgeNGramTokenFilterV2, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.EdgeNGramTokenFilterV2' + self.odata_type = '#Microsoft.Azure.Search.EdgeNGramTokenFilterV2' # type: str self.min_gram = kwargs.get('min_gram', 1) self.max_gram = kwargs.get('max_gram', 2) self.side = kwargs.get('side', None) @@ -1298,7 +1298,7 @@ def __init__( **kwargs ): super(EdgeNGramTokenizer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.EdgeNGramTokenizer' + self.odata_type = '#Microsoft.Azure.Search.EdgeNGramTokenizer' # type: str self.min_gram = kwargs.get('min_gram', 1) self.max_gram = kwargs.get('max_gram', 2) self.token_chars = kwargs.get('token_chars', None) @@ -1336,7 +1336,7 @@ def __init__( **kwargs ): super(ElisionTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.ElisionTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.ElisionTokenFilter' # type: str self.articles = kwargs.get('articles', None) @@ -1406,7 +1406,7 @@ def __init__( **kwargs ): super(EntityRecognitionSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Text.EntityRecognitionSkill' + self.odata_type = '#Microsoft.Skills.Text.EntityRecognitionSkill' # type: str self.categories = kwargs.get('categories', None) self.default_language_code = kwargs.get('default_language_code', None) self.include_typeless_entities = kwargs.get('include_typeless_entities', None) @@ -1518,7 +1518,7 @@ def __init__( **kwargs ): super(FreshnessScoringFunction, self).__init__(**kwargs) - self.type = 'freshness' + self.type = 'freshness' # type: str self.parameters = kwargs['parameters'] @@ -1607,7 +1607,7 @@ def __init__( **kwargs ): super(HighWaterMarkChangeDetectionPolicy, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy' + self.odata_type = '#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy' # type: str self.high_water_mark_column_name = kwargs['high_water_mark_column_name'] @@ -1668,7 +1668,7 @@ def __init__( **kwargs ): super(ImageAnalysisSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Vision.ImageAnalysisSkill' + self.odata_type = '#Microsoft.Skills.Vision.ImageAnalysisSkill' # type: str self.default_language_code = kwargs.get('default_language_code', None) self.visual_features = kwargs.get('visual_features', None) self.details = kwargs.get('details', None) @@ -1888,7 +1888,7 @@ def __init__( **kwargs ): super(KeepTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.KeepTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.KeepTokenFilter' # type: str self.keep_words = kwargs['keep_words'] self.lower_case_keep_words = kwargs.get('lower_case_keep_words', False) @@ -1949,7 +1949,7 @@ def __init__( **kwargs ): super(KeyPhraseExtractionSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Text.KeyPhraseExtractionSkill' + self.odata_type = '#Microsoft.Skills.Text.KeyPhraseExtractionSkill' # type: str self.default_language_code = kwargs.get('default_language_code', None) self.max_key_phrase_count = kwargs.get('max_key_phrase_count', None) @@ -1991,7 +1991,7 @@ def __init__( **kwargs ): super(KeywordMarkerTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.KeywordMarkerTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.KeywordMarkerTokenFilter' # type: str self.keywords = kwargs['keywords'] self.ignore_case = kwargs.get('ignore_case', False) @@ -2028,7 +2028,7 @@ def __init__( **kwargs ): super(KeywordTokenizer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.KeywordTokenizer' + self.odata_type = '#Microsoft.Azure.Search.KeywordTokenizer' # type: str self.buffer_size = kwargs.get('buffer_size', 256) @@ -2066,7 +2066,7 @@ def __init__( **kwargs ): super(KeywordTokenizerV2, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.KeywordTokenizerV2' + self.odata_type = '#Microsoft.Azure.Search.KeywordTokenizerV2' # type: str self.max_token_length = kwargs.get('max_token_length', 256) @@ -2116,7 +2116,7 @@ def __init__( **kwargs ): super(LanguageDetectionSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Text.LanguageDetectionSkill' + self.odata_type = '#Microsoft.Skills.Text.LanguageDetectionSkill' # type: str class LengthTokenFilter(TokenFilter): @@ -2157,7 +2157,7 @@ def __init__( **kwargs ): super(LengthTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.LengthTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.LengthTokenFilter' # type: str self.min_length = kwargs.get('min_length', 0) self.max_length = kwargs.get('max_length', 300) @@ -2198,7 +2198,7 @@ def __init__( **kwargs ): super(LimitTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.LimitTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.LimitTokenFilter' # type: str self.max_token_count = kwargs.get('max_token_count', 1) self.consume_all_tokens = kwargs.get('consume_all_tokens', False) @@ -2375,7 +2375,7 @@ def __init__( **kwargs ): super(LuceneStandardAnalyzer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.StandardAnalyzer' + self.odata_type = '#Microsoft.Azure.Search.StandardAnalyzer' # type: str self.max_token_length = kwargs.get('max_token_length', 255) self.stopwords = kwargs.get('stopwords', None) @@ -2413,7 +2413,7 @@ def __init__( **kwargs ): super(LuceneStandardTokenizer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.StandardTokenizer' + self.odata_type = '#Microsoft.Azure.Search.StandardTokenizer' # type: str self.max_token_length = kwargs.get('max_token_length', 255) @@ -2451,7 +2451,7 @@ def __init__( **kwargs ): super(LuceneStandardTokenizerV2, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.StandardTokenizerV2' + self.odata_type = '#Microsoft.Azure.Search.StandardTokenizerV2' # type: str self.max_token_length = kwargs.get('max_token_length', 255) @@ -2496,7 +2496,7 @@ def __init__( **kwargs ): super(MagnitudeScoringFunction, self).__init__(**kwargs) - self.type = 'magnitude' + self.type = 'magnitude' # type: str self.parameters = kwargs['parameters'] @@ -2569,7 +2569,7 @@ def __init__( **kwargs ): super(MappingCharFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.MappingCharFilter' + self.odata_type = '#Microsoft.Azure.Search.MappingCharFilter' # type: str self.mappings = kwargs['mappings'] @@ -2627,7 +2627,7 @@ def __init__( **kwargs ): super(MergeSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Text.MergeSkill' + self.odata_type = '#Microsoft.Skills.Text.MergeSkill' # type: str self.insert_pre_tag = kwargs.get('insert_pre_tag', " ") self.insert_post_tag = kwargs.get('insert_post_tag', " ") @@ -2682,7 +2682,7 @@ def __init__( **kwargs ): super(MicrosoftLanguageStemmingTokenizer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.MicrosoftLanguageStemmingTokenizer' + self.odata_type = '#Microsoft.Azure.Search.MicrosoftLanguageStemmingTokenizer' # type: str self.max_token_length = kwargs.get('max_token_length', 255) self.is_search_tokenizer = kwargs.get('is_search_tokenizer', False) self.language = kwargs.get('language', None) @@ -2737,7 +2737,7 @@ def __init__( **kwargs ): super(MicrosoftLanguageTokenizer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.MicrosoftLanguageTokenizer' + self.odata_type = '#Microsoft.Azure.Search.MicrosoftLanguageTokenizer' # type: str self.max_token_length = kwargs.get('max_token_length', 255) self.is_search_tokenizer = kwargs.get('is_search_tokenizer', False) self.language = kwargs.get('language', None) @@ -2779,7 +2779,7 @@ def __init__( **kwargs ): super(NGramTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.NGramTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.NGramTokenFilter' # type: str self.min_gram = kwargs.get('min_gram', 1) self.max_gram = kwargs.get('max_gram', 2) @@ -2822,7 +2822,7 @@ def __init__( **kwargs ): super(NGramTokenFilterV2, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.NGramTokenFilterV2' + self.odata_type = '#Microsoft.Azure.Search.NGramTokenFilterV2' # type: str self.min_gram = kwargs.get('min_gram', 1) self.max_gram = kwargs.get('max_gram', 2) @@ -2868,7 +2868,7 @@ def __init__( **kwargs ): super(NGramTokenizer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.NGramTokenizer' + self.odata_type = '#Microsoft.Azure.Search.NGramTokenizer' # type: str self.min_gram = kwargs.get('min_gram', 1) self.max_gram = kwargs.get('max_gram', 2) self.token_chars = kwargs.get('token_chars', None) @@ -2898,10 +2898,6 @@ class OcrSkill(SearchIndexerSkill): :param outputs: Required. The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill. :type outputs: list[~azure.search.documents.indexes.models.OutputFieldMappingEntry] - :param text_extraction_algorithm: A value indicating which algorithm to use for extracting - text. Default is printed. Possible values include: "printed", "handwritten". - :type text_extraction_algorithm: str or - ~azure.search.documents.indexes.models.TextExtractionAlgorithm :param default_language_code: A value indicating which language code to use. Default is en. Possible values include: "zh-Hans", "zh-Hant", "cs", "da", "nl", "en", "fi", "fr", "de", "el", "hu", "it", "ja", "ko", "nb", "pl", "pt", "ru", "es", "sv", "tr", "ar", "ro", "sr-Cyrl", "sr- @@ -2925,7 +2921,6 @@ class OcrSkill(SearchIndexerSkill): 'context': {'key': 'context', 'type': 'str'}, 'inputs': {'key': 'inputs', 'type': '[InputFieldMappingEntry]'}, 'outputs': {'key': 'outputs', 'type': '[OutputFieldMappingEntry]'}, - 'text_extraction_algorithm': {'key': 'textExtractionAlgorithm', 'type': 'str'}, 'default_language_code': {'key': 'defaultLanguageCode', 'type': 'str'}, 'should_detect_orientation': {'key': 'detectOrientation', 'type': 'bool'}, } @@ -2935,8 +2930,7 @@ def __init__( **kwargs ): super(OcrSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Vision.OcrSkill' - self.text_extraction_algorithm = kwargs.get('text_extraction_algorithm', None) + self.odata_type = '#Microsoft.Skills.Vision.OcrSkill' # type: str self.default_language_code = kwargs.get('default_language_code', None) self.should_detect_orientation = kwargs.get('should_detect_orientation', False) @@ -3016,7 +3010,7 @@ def __init__( **kwargs ): super(PathHierarchyTokenizerV2, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.PathHierarchyTokenizerV2' + self.odata_type = '#Microsoft.Azure.Search.PathHierarchyTokenizerV2' # type: str self.delimiter = kwargs.get('delimiter', "/") self.replacement = kwargs.get('replacement', "/") self.max_token_length = kwargs.get('max_token_length', 300) @@ -3068,7 +3062,7 @@ def __init__( **kwargs ): super(PatternAnalyzer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.PatternAnalyzer' + self.odata_type = '#Microsoft.Azure.Search.PatternAnalyzer' # type: str self.lower_case_terms = kwargs.get('lower_case_terms', True) self.pattern = kwargs.get('pattern', "\W+") self.flags = kwargs.get('flags', None) @@ -3112,7 +3106,7 @@ def __init__( **kwargs ): super(PatternCaptureTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.PatternCaptureTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.PatternCaptureTokenFilter' # type: str self.patterns = kwargs['patterns'] self.preserve_original = kwargs.get('preserve_original', True) @@ -3154,7 +3148,7 @@ def __init__( **kwargs ): super(PatternReplaceCharFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.PatternReplaceCharFilter' + self.odata_type = '#Microsoft.Azure.Search.PatternReplaceCharFilter' # type: str self.pattern = kwargs['pattern'] self.replacement = kwargs['replacement'] @@ -3196,7 +3190,7 @@ def __init__( **kwargs ): super(PatternReplaceTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.PatternReplaceTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.PatternReplaceTokenFilter' # type: str self.pattern = kwargs['pattern'] self.replacement = kwargs['replacement'] @@ -3243,7 +3237,7 @@ def __init__( **kwargs ): super(PatternTokenizer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.PatternTokenizer' + self.odata_type = '#Microsoft.Azure.Search.PatternTokenizer' # type: str self.pattern = kwargs.get('pattern', "\W+") self.flags = kwargs.get('flags', None) self.group = kwargs.get('group', -1) @@ -3287,7 +3281,7 @@ def __init__( **kwargs ): super(PhoneticTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.PhoneticTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.PhoneticTokenFilter' # type: str self.encoder = kwargs.get('encoder', None) self.replace_original_tokens = kwargs.get('replace_original_tokens', True) @@ -3946,7 +3940,7 @@ class SearchIndexerSkillset(msrest.serialization.Model): :param name: Required. The name of the skillset. :type name: str - :param description: Required. The description of the skillset. + :param description: The description of the skillset. :type description: str :param skills: Required. A list of skills in the skillset. :type skills: list[~azure.search.documents.indexes.models.SearchIndexerSkill] @@ -3960,7 +3954,6 @@ class SearchIndexerSkillset(msrest.serialization.Model): _validation = { 'name': {'required': True}, - 'description': {'required': True}, 'skills': {'required': True}, } @@ -3978,7 +3971,7 @@ def __init__( ): super(SearchIndexerSkillset, self).__init__(**kwargs) self.name = kwargs['name'] - self.description = kwargs['description'] + self.description = kwargs.get('description', None) self.skills = kwargs['skills'] self.cognitive_services_account = kwargs.get('cognitive_services_account', None) self.e_tag = kwargs.get('e_tag', None) @@ -4176,7 +4169,7 @@ def __init__( **kwargs ): super(SentimentSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Text.SentimentSkill' + self.odata_type = '#Microsoft.Skills.Text.SentimentSkill' # type: str self.default_language_code = kwargs.get('default_language_code', None) @@ -4197,7 +4190,7 @@ class ServiceCounters(msrest.serialization.Model): :type storage_size_counter: ~azure.search.documents.indexes.models.ResourceCounter :param synonym_map_counter: Required. Total number of synonym maps. :type synonym_map_counter: ~azure.search.documents.indexes.models.ResourceCounter - :param skillset_counter: Required. Total number of skillsets. + :param skillset_counter: Total number of skillsets. :type skillset_counter: ~azure.search.documents.indexes.models.ResourceCounter """ @@ -4208,7 +4201,6 @@ class ServiceCounters(msrest.serialization.Model): 'data_source_counter': {'required': True}, 'storage_size_counter': {'required': True}, 'synonym_map_counter': {'required': True}, - 'skillset_counter': {'required': True}, } _attribute_map = { @@ -4232,7 +4224,7 @@ def __init__( self.data_source_counter = kwargs['data_source_counter'] self.storage_size_counter = kwargs['storage_size_counter'] self.synonym_map_counter = kwargs['synonym_map_counter'] - self.skillset_counter = kwargs['skillset_counter'] + self.skillset_counter = kwargs.get('skillset_counter', None) class ServiceLimits(msrest.serialization.Model): @@ -4345,7 +4337,7 @@ def __init__( **kwargs ): super(ShaperSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Util.ShaperSkill' + self.odata_type = '#Microsoft.Skills.Util.ShaperSkill' # type: str class ShingleTokenFilter(TokenFilter): @@ -4403,7 +4395,7 @@ def __init__( **kwargs ): super(ShingleTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.ShingleTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.ShingleTokenFilter' # type: str self.max_shingle_size = kwargs.get('max_shingle_size', 2) self.min_shingle_size = kwargs.get('min_shingle_size', 2) self.output_unigrams = kwargs.get('output_unigrams', True) @@ -4448,7 +4440,7 @@ def __init__( **kwargs ): super(SnowballTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.SnowballTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.SnowballTokenFilter' # type: str self.language = kwargs['language'] @@ -4481,7 +4473,7 @@ def __init__( **kwargs ): super(SoftDeleteColumnDeletionDetectionPolicy, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy' + self.odata_type = '#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy' # type: str self.soft_delete_column_name = kwargs.get('soft_delete_column_name', None) self.soft_delete_marker_value = kwargs.get('soft_delete_marker_value', None) @@ -4543,7 +4535,7 @@ def __init__( **kwargs ): super(SplitSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Text.SplitSkill' + self.odata_type = '#Microsoft.Skills.Text.SplitSkill' # type: str self.default_language_code = kwargs.get('default_language_code', None) self.text_split_mode = kwargs.get('text_split_mode', None) self.maximum_page_length = kwargs.get('maximum_page_length', None) @@ -4572,7 +4564,7 @@ def __init__( **kwargs ): super(SqlIntegratedChangeTrackingPolicy, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy' + self.odata_type = '#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy' # type: str class StemmerOverrideTokenFilter(TokenFilter): @@ -4609,7 +4601,7 @@ def __init__( **kwargs ): super(StemmerOverrideTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.StemmerOverrideTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.StemmerOverrideTokenFilter' # type: str self.rules = kwargs['rules'] @@ -4654,7 +4646,7 @@ def __init__( **kwargs ): super(StemmerTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.StemmerTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.StemmerTokenFilter' # type: str self.language = kwargs['language'] @@ -4690,7 +4682,7 @@ def __init__( **kwargs ): super(StopAnalyzer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.StopAnalyzer' + self.odata_type = '#Microsoft.Azure.Search.StopAnalyzer' # type: str self.stopwords = kwargs.get('stopwords', None) @@ -4743,7 +4735,7 @@ def __init__( **kwargs ): super(StopwordsTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.StopwordsTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.StopwordsTokenFilter' # type: str self.stopwords = kwargs.get('stopwords', None) self.stopwords_list = kwargs.get('stopwords_list', None) self.ignore_case = kwargs.get('ignore_case', False) @@ -4895,7 +4887,7 @@ def __init__( **kwargs ): super(SynonymTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.SynonymTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.SynonymTokenFilter' # type: str self.synonyms = kwargs['synonyms'] self.ignore_case = kwargs.get('ignore_case', False) self.expand = kwargs.get('expand', True) @@ -4942,7 +4934,7 @@ def __init__( **kwargs ): super(TagScoringFunction, self).__init__(**kwargs) - self.type = 'tag' + self.type = 'tag' # type: str self.parameters = kwargs['parameters'] @@ -5050,7 +5042,7 @@ def __init__( **kwargs ): super(TextTranslationSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Text.TranslationSkill' + self.odata_type = '#Microsoft.Skills.Text.TranslationSkill' # type: str self.default_to_language_code = kwargs['default_to_language_code'] self.default_from_language_code = kwargs.get('default_from_language_code', None) self.suggested_from = kwargs.get('suggested_from', None) @@ -5115,7 +5107,7 @@ def __init__( **kwargs ): super(TruncateTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.TruncateTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.TruncateTokenFilter' # type: str self.length = kwargs.get('length', 300) @@ -5153,7 +5145,7 @@ def __init__( **kwargs ): super(UaxUrlEmailTokenizer, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.UaxUrlEmailTokenizer' + self.odata_type = '#Microsoft.Azure.Search.UaxUrlEmailTokenizer' # type: str self.max_token_length = kwargs.get('max_token_length', 255) @@ -5190,7 +5182,7 @@ def __init__( **kwargs ): super(UniqueTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.UniqueTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.UniqueTokenFilter' # type: str self.only_on_same_position = kwargs.get('only_on_same_position', False) @@ -5260,7 +5252,7 @@ def __init__( **kwargs ): super(WebApiSkill, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Skills.Custom.WebApiSkill' + self.odata_type = '#Microsoft.Skills.Custom.WebApiSkill' # type: str self.uri = kwargs['uri'] self.http_headers = kwargs.get('http_headers', None) self.http_method = kwargs.get('http_method', None) @@ -5338,7 +5330,7 @@ def __init__( **kwargs ): super(WordDelimiterTokenFilter, self).__init__(**kwargs) - self.odata_type = '#Microsoft.Azure.Search.WordDelimiterTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.WordDelimiterTokenFilter' # type: str self.generate_word_parts = kwargs.get('generate_word_parts', True) self.generate_number_parts = kwargs.get('generate_number_parts', True) self.catenate_words = kwargs.get('catenate_words', False) diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models_py3.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models_py3.py index 6eba3a04cee0..3e87f5fe3811 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models_py3.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_models_py3.py @@ -196,7 +196,7 @@ def __init__( **kwargs ): super(TokenFilter, self).__init__(**kwargs) - self.odata_type: Optional[str] = None + self.odata_type = None # type: Optional[str] self.name = name @@ -236,7 +236,7 @@ def __init__( **kwargs ): super(AsciiFoldingTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.AsciiFoldingTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.AsciiFoldingTokenFilter' # type: str self.preserve_original = preserve_original @@ -303,7 +303,7 @@ def __init__( **kwargs ): super(Similarity, self).__init__(**kwargs) - self.odata_type: Optional[str] = None + self.odata_type = None # type: Optional[str] class BM25Similarity(Similarity): @@ -341,7 +341,7 @@ def __init__( **kwargs ): super(BM25Similarity, self).__init__(**kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.BM25Similarity' + self.odata_type = '#Microsoft.Azure.Search.BM25Similarity' # type: str self.k1 = k1 self.b = b @@ -384,7 +384,7 @@ def __init__( **kwargs ): super(CharFilter, self).__init__(**kwargs) - self.odata_type: Optional[str] = None + self.odata_type = None # type: Optional[str] self.name = name @@ -429,7 +429,7 @@ def __init__( **kwargs ): super(CjkBigramTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.CjkBigramTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.CjkBigramTokenFilter' # type: str self.ignore_scripts = ignore_scripts self.output_unigrams = output_unigrams @@ -456,7 +456,7 @@ def __init__( **kwargs ): super(ClassicSimilarity, self).__init__(**kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.ClassicSimilarity' + self.odata_type = '#Microsoft.Azure.Search.ClassicSimilarity' # type: str class LexicalTokenizer(msrest.serialization.Model): @@ -497,7 +497,7 @@ def __init__( **kwargs ): super(LexicalTokenizer, self).__init__(**kwargs) - self.odata_type: Optional[str] = None + self.odata_type = None # type: Optional[str] self.name = name @@ -538,7 +538,7 @@ def __init__( **kwargs ): super(ClassicTokenizer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.ClassicTokenizer' + self.odata_type = '#Microsoft.Azure.Search.ClassicTokenizer' # type: str self.max_token_length = max_token_length @@ -577,7 +577,7 @@ def __init__( **kwargs ): super(CognitiveServicesAccount, self).__init__(**kwargs) - self.odata_type: Optional[str] = None + self.odata_type = None # type: Optional[str] self.description = description @@ -615,7 +615,7 @@ def __init__( **kwargs ): super(CognitiveServicesAccountKey, self).__init__(description=description, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.CognitiveServicesByKey' + self.odata_type = '#Microsoft.Azure.Search.CognitiveServicesByKey' # type: str self.key = key @@ -666,7 +666,7 @@ def __init__( **kwargs ): super(CommonGramTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.CommonGramTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.CommonGramTokenFilter' # type: str self.common_words = common_words self.ignore_case = ignore_case self.use_query_mode = use_query_mode @@ -731,7 +731,7 @@ def __init__( **kwargs ): super(SearchIndexerSkill, self).__init__(**kwargs) - self.odata_type: Optional[str] = None + self.odata_type = None # type: Optional[str] self.name = name self.description = description self.context = context @@ -791,7 +791,7 @@ def __init__( **kwargs ): super(ConditionalSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Util.ConditionalSkill' + self.odata_type = '#Microsoft.Skills.Util.ConditionalSkill' # type: str class CorsOptions(msrest.serialization.Model): @@ -867,7 +867,7 @@ def __init__( **kwargs ): super(LexicalAnalyzer, self).__init__(**kwargs) - self.odata_type: Optional[str] = None + self.odata_type = None # type: Optional[str] self.name = name @@ -923,7 +923,7 @@ def __init__( **kwargs ): super(CustomAnalyzer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.CustomAnalyzer' + self.odata_type = '#Microsoft.Azure.Search.CustomAnalyzer' # type: str self.tokenizer = tokenizer self.token_filters = token_filters self.char_filters = char_filters @@ -959,7 +959,7 @@ def __init__( **kwargs ): super(DataChangeDetectionPolicy, self).__init__(**kwargs) - self.odata_type: Optional[str] = None + self.odata_type = None # type: Optional[str] class DataDeletionDetectionPolicy(msrest.serialization.Model): @@ -992,7 +992,7 @@ def __init__( **kwargs ): super(DataDeletionDetectionPolicy, self).__init__(**kwargs) - self.odata_type: Optional[str] = None + self.odata_type = None # type: Optional[str] class DataSourceCredentials(msrest.serialization.Model): @@ -1044,7 +1044,7 @@ def __init__( **kwargs ): super(DefaultCognitiveServicesAccount, self).__init__(description=description, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.DefaultCognitiveServices' + self.odata_type = '#Microsoft.Azure.Search.DefaultCognitiveServices' # type: str class DictionaryDecompounderTokenFilter(TokenFilter): @@ -1106,7 +1106,7 @@ def __init__( **kwargs ): super(DictionaryDecompounderTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.DictionaryDecompounderTokenFilter' # type: str self.word_list = word_list self.min_word_size = min_word_size self.min_subword_size = min_subword_size @@ -1162,7 +1162,7 @@ def __init__( **kwargs ): super(ScoringFunction, self).__init__(**kwargs) - self.type: Optional[str] = None + self.type = None # type: Optional[str] self.field_name = field_name self.boost = boost self.interpolation = interpolation @@ -1214,7 +1214,7 @@ def __init__( **kwargs ): super(DistanceScoringFunction, self).__init__(field_name=field_name, boost=boost, interpolation=interpolation, **kwargs) - self.type: str = 'distance' + self.type = 'distance' # type: str self.parameters = parameters @@ -1298,7 +1298,7 @@ def __init__( **kwargs ): super(EdgeNGramTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.EdgeNGramTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.EdgeNGramTokenFilter' # type: str self.min_gram = min_gram self.max_gram = max_gram self.side = side @@ -1351,7 +1351,7 @@ def __init__( **kwargs ): super(EdgeNGramTokenFilterV2, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.EdgeNGramTokenFilterV2' + self.odata_type = '#Microsoft.Azure.Search.EdgeNGramTokenFilterV2' # type: str self.min_gram = min_gram self.max_gram = max_gram self.side = side @@ -1403,7 +1403,7 @@ def __init__( **kwargs ): super(EdgeNGramTokenizer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.EdgeNGramTokenizer' + self.odata_type = '#Microsoft.Azure.Search.EdgeNGramTokenizer' # type: str self.min_gram = min_gram self.max_gram = max_gram self.token_chars = token_chars @@ -1444,7 +1444,7 @@ def __init__( **kwargs ): super(ElisionTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.ElisionTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.ElisionTokenFilter' # type: str self.articles = articles @@ -1524,7 +1524,7 @@ def __init__( **kwargs ): super(EntityRecognitionSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Text.EntityRecognitionSkill' + self.odata_type = '#Microsoft.Skills.Text.EntityRecognitionSkill' # type: str self.categories = categories self.default_language_code = default_language_code self.include_typeless_entities = include_typeless_entities @@ -1648,7 +1648,7 @@ def __init__( **kwargs ): super(FreshnessScoringFunction, self).__init__(field_name=field_name, boost=boost, interpolation=interpolation, **kwargs) - self.type: str = 'freshness' + self.type = 'freshness' # type: str self.parameters = parameters @@ -1741,7 +1741,7 @@ def __init__( **kwargs ): super(HighWaterMarkChangeDetectionPolicy, self).__init__(**kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy' + self.odata_type = '#Microsoft.Azure.Search.HighWaterMarkChangeDetectionPolicy' # type: str self.high_water_mark_column_name = high_water_mark_column_name @@ -1811,7 +1811,7 @@ def __init__( **kwargs ): super(ImageAnalysisSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Vision.ImageAnalysisSkill' + self.odata_type = '#Microsoft.Skills.Vision.ImageAnalysisSkill' # type: str self.default_language_code = default_language_code self.visual_features = visual_features self.details = details @@ -2048,7 +2048,7 @@ def __init__( **kwargs ): super(KeepTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.KeepTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.KeepTokenFilter' # type: str self.keep_words = keep_words self.lower_case_keep_words = lower_case_keep_words @@ -2117,7 +2117,7 @@ def __init__( **kwargs ): super(KeyPhraseExtractionSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Text.KeyPhraseExtractionSkill' + self.odata_type = '#Microsoft.Skills.Text.KeyPhraseExtractionSkill' # type: str self.default_language_code = default_language_code self.max_key_phrase_count = max_key_phrase_count @@ -2163,7 +2163,7 @@ def __init__( **kwargs ): super(KeywordMarkerTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.KeywordMarkerTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.KeywordMarkerTokenFilter' # type: str self.keywords = keywords self.ignore_case = ignore_case @@ -2203,7 +2203,7 @@ def __init__( **kwargs ): super(KeywordTokenizer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.KeywordTokenizer' + self.odata_type = '#Microsoft.Azure.Search.KeywordTokenizer' # type: str self.buffer_size = buffer_size @@ -2244,7 +2244,7 @@ def __init__( **kwargs ): super(KeywordTokenizerV2, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.KeywordTokenizerV2' + self.odata_type = '#Microsoft.Azure.Search.KeywordTokenizerV2' # type: str self.max_token_length = max_token_length @@ -2300,7 +2300,7 @@ def __init__( **kwargs ): super(LanguageDetectionSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Text.LanguageDetectionSkill' + self.odata_type = '#Microsoft.Skills.Text.LanguageDetectionSkill' # type: str class LengthTokenFilter(TokenFilter): @@ -2345,7 +2345,7 @@ def __init__( **kwargs ): super(LengthTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.LengthTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.LengthTokenFilter' # type: str self.min_length = min_length self.max_length = max_length @@ -2390,7 +2390,7 @@ def __init__( **kwargs ): super(LimitTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.LimitTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.LimitTokenFilter' # type: str self.max_token_count = max_token_count self.consume_all_tokens = consume_all_tokens @@ -2571,7 +2571,7 @@ def __init__( **kwargs ): super(LuceneStandardAnalyzer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.StandardAnalyzer' + self.odata_type = '#Microsoft.Azure.Search.StandardAnalyzer' # type: str self.max_token_length = max_token_length self.stopwords = stopwords @@ -2612,7 +2612,7 @@ def __init__( **kwargs ): super(LuceneStandardTokenizer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.StandardTokenizer' + self.odata_type = '#Microsoft.Azure.Search.StandardTokenizer' # type: str self.max_token_length = max_token_length @@ -2653,7 +2653,7 @@ def __init__( **kwargs ): super(LuceneStandardTokenizerV2, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.StandardTokenizerV2' + self.odata_type = '#Microsoft.Azure.Search.StandardTokenizerV2' # type: str self.max_token_length = max_token_length @@ -2703,7 +2703,7 @@ def __init__( **kwargs ): super(MagnitudeScoringFunction, self).__init__(field_name=field_name, boost=boost, interpolation=interpolation, **kwargs) - self.type: str = 'magnitude' + self.type = 'magnitude' # type: str self.parameters = parameters @@ -2783,7 +2783,7 @@ def __init__( **kwargs ): super(MappingCharFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.MappingCharFilter' + self.odata_type = '#Microsoft.Azure.Search.MappingCharFilter' # type: str self.mappings = mappings @@ -2849,7 +2849,7 @@ def __init__( **kwargs ): super(MergeSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Text.MergeSkill' + self.odata_type = '#Microsoft.Skills.Text.MergeSkill' # type: str self.insert_pre_tag = insert_pre_tag self.insert_post_tag = insert_post_tag @@ -2909,7 +2909,7 @@ def __init__( **kwargs ): super(MicrosoftLanguageStemmingTokenizer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.MicrosoftLanguageStemmingTokenizer' + self.odata_type = '#Microsoft.Azure.Search.MicrosoftLanguageStemmingTokenizer' # type: str self.max_token_length = max_token_length self.is_search_tokenizer = is_search_tokenizer self.language = language @@ -2969,7 +2969,7 @@ def __init__( **kwargs ): super(MicrosoftLanguageTokenizer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.MicrosoftLanguageTokenizer' + self.odata_type = '#Microsoft.Azure.Search.MicrosoftLanguageTokenizer' # type: str self.max_token_length = max_token_length self.is_search_tokenizer = is_search_tokenizer self.language = language @@ -3015,7 +3015,7 @@ def __init__( **kwargs ): super(NGramTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.NGramTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.NGramTokenFilter' # type: str self.min_gram = min_gram self.max_gram = max_gram @@ -3062,7 +3062,7 @@ def __init__( **kwargs ): super(NGramTokenFilterV2, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.NGramTokenFilterV2' + self.odata_type = '#Microsoft.Azure.Search.NGramTokenFilterV2' # type: str self.min_gram = min_gram self.max_gram = max_gram @@ -3113,7 +3113,7 @@ def __init__( **kwargs ): super(NGramTokenizer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.NGramTokenizer' + self.odata_type = '#Microsoft.Azure.Search.NGramTokenizer' # type: str self.min_gram = min_gram self.max_gram = max_gram self.token_chars = token_chars @@ -3143,10 +3143,6 @@ class OcrSkill(SearchIndexerSkill): :param outputs: Required. The output of a skill is either a field in a search index, or a value that can be consumed as an input by another skill. :type outputs: list[~azure.search.documents.indexes.models.OutputFieldMappingEntry] - :param text_extraction_algorithm: A value indicating which algorithm to use for extracting - text. Default is printed. Possible values include: "printed", "handwritten". - :type text_extraction_algorithm: str or - ~azure.search.documents.indexes.models.TextExtractionAlgorithm :param default_language_code: A value indicating which language code to use. Default is en. Possible values include: "zh-Hans", "zh-Hant", "cs", "da", "nl", "en", "fi", "fr", "de", "el", "hu", "it", "ja", "ko", "nb", "pl", "pt", "ru", "es", "sv", "tr", "ar", "ro", "sr-Cyrl", "sr- @@ -3170,7 +3166,6 @@ class OcrSkill(SearchIndexerSkill): 'context': {'key': 'context', 'type': 'str'}, 'inputs': {'key': 'inputs', 'type': '[InputFieldMappingEntry]'}, 'outputs': {'key': 'outputs', 'type': '[OutputFieldMappingEntry]'}, - 'text_extraction_algorithm': {'key': 'textExtractionAlgorithm', 'type': 'str'}, 'default_language_code': {'key': 'defaultLanguageCode', 'type': 'str'}, 'should_detect_orientation': {'key': 'detectOrientation', 'type': 'bool'}, } @@ -3183,14 +3178,12 @@ def __init__( name: Optional[str] = None, description: Optional[str] = None, context: Optional[str] = None, - text_extraction_algorithm: Optional[Union[str, "TextExtractionAlgorithm"]] = None, default_language_code: Optional[Union[str, "OcrSkillLanguage"]] = None, should_detect_orientation: Optional[bool] = False, **kwargs ): super(OcrSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Vision.OcrSkill' - self.text_extraction_algorithm = text_extraction_algorithm + self.odata_type = '#Microsoft.Skills.Vision.OcrSkill' # type: str self.default_language_code = default_language_code self.should_detect_orientation = should_detect_orientation @@ -3280,7 +3273,7 @@ def __init__( **kwargs ): super(PathHierarchyTokenizerV2, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.PathHierarchyTokenizerV2' + self.odata_type = '#Microsoft.Azure.Search.PathHierarchyTokenizerV2' # type: str self.delimiter = delimiter self.replacement = replacement self.max_token_length = max_token_length @@ -3338,7 +3331,7 @@ def __init__( **kwargs ): super(PatternAnalyzer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.PatternAnalyzer' + self.odata_type = '#Microsoft.Azure.Search.PatternAnalyzer' # type: str self.lower_case_terms = lower_case_terms self.pattern = pattern self.flags = flags @@ -3386,7 +3379,7 @@ def __init__( **kwargs ): super(PatternCaptureTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.PatternCaptureTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.PatternCaptureTokenFilter' # type: str self.patterns = patterns self.preserve_original = preserve_original @@ -3432,7 +3425,7 @@ def __init__( **kwargs ): super(PatternReplaceCharFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.PatternReplaceCharFilter' + self.odata_type = '#Microsoft.Azure.Search.PatternReplaceCharFilter' # type: str self.pattern = pattern self.replacement = replacement @@ -3478,7 +3471,7 @@ def __init__( **kwargs ): super(PatternReplaceTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.PatternReplaceTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.PatternReplaceTokenFilter' # type: str self.pattern = pattern self.replacement = replacement @@ -3530,7 +3523,7 @@ def __init__( **kwargs ): super(PatternTokenizer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.PatternTokenizer' + self.odata_type = '#Microsoft.Azure.Search.PatternTokenizer' # type: str self.pattern = pattern self.flags = flags self.group = group @@ -3578,7 +3571,7 @@ def __init__( **kwargs ): super(PhoneticTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.PhoneticTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.PhoneticTokenFilter' # type: str self.encoder = encoder self.replace_original_tokens = replace_original_tokens @@ -4299,7 +4292,7 @@ class SearchIndexerSkillset(msrest.serialization.Model): :param name: Required. The name of the skillset. :type name: str - :param description: Required. The description of the skillset. + :param description: The description of the skillset. :type description: str :param skills: Required. A list of skills in the skillset. :type skills: list[~azure.search.documents.indexes.models.SearchIndexerSkill] @@ -4313,7 +4306,6 @@ class SearchIndexerSkillset(msrest.serialization.Model): _validation = { 'name': {'required': True}, - 'description': {'required': True}, 'skills': {'required': True}, } @@ -4329,8 +4321,8 @@ def __init__( self, *, name: str, - description: str, skills: List["SearchIndexerSkill"], + description: Optional[str] = None, cognitive_services_account: Optional["CognitiveServicesAccount"] = None, e_tag: Optional[str] = None, **kwargs @@ -4547,7 +4539,7 @@ def __init__( **kwargs ): super(SentimentSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Text.SentimentSkill' + self.odata_type = '#Microsoft.Skills.Text.SentimentSkill' # type: str self.default_language_code = default_language_code @@ -4568,7 +4560,7 @@ class ServiceCounters(msrest.serialization.Model): :type storage_size_counter: ~azure.search.documents.indexes.models.ResourceCounter :param synonym_map_counter: Required. Total number of synonym maps. :type synonym_map_counter: ~azure.search.documents.indexes.models.ResourceCounter - :param skillset_counter: Required. Total number of skillsets. + :param skillset_counter: Total number of skillsets. :type skillset_counter: ~azure.search.documents.indexes.models.ResourceCounter """ @@ -4579,7 +4571,6 @@ class ServiceCounters(msrest.serialization.Model): 'data_source_counter': {'required': True}, 'storage_size_counter': {'required': True}, 'synonym_map_counter': {'required': True}, - 'skillset_counter': {'required': True}, } _attribute_map = { @@ -4601,7 +4592,7 @@ def __init__( data_source_counter: "ResourceCounter", storage_size_counter: "ResourceCounter", synonym_map_counter: "ResourceCounter", - skillset_counter: "ResourceCounter", + skillset_counter: Optional["ResourceCounter"] = None, **kwargs ): super(ServiceCounters, self).__init__(**kwargs) @@ -4738,7 +4729,7 @@ def __init__( **kwargs ): super(ShaperSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Util.ShaperSkill' + self.odata_type = '#Microsoft.Skills.Util.ShaperSkill' # type: str class ShingleTokenFilter(TokenFilter): @@ -4804,7 +4795,7 @@ def __init__( **kwargs ): super(ShingleTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.ShingleTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.ShingleTokenFilter' # type: str self.max_shingle_size = max_shingle_size self.min_shingle_size = min_shingle_size self.output_unigrams = output_unigrams @@ -4852,7 +4843,7 @@ def __init__( **kwargs ): super(SnowballTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.SnowballTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.SnowballTokenFilter' # type: str self.language = language @@ -4888,7 +4879,7 @@ def __init__( **kwargs ): super(SoftDeleteColumnDeletionDetectionPolicy, self).__init__(**kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy' + self.odata_type = '#Microsoft.Azure.Search.SoftDeleteColumnDeletionDetectionPolicy' # type: str self.soft_delete_column_name = soft_delete_column_name self.soft_delete_marker_value = soft_delete_marker_value @@ -4959,7 +4950,7 @@ def __init__( **kwargs ): super(SplitSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Text.SplitSkill' + self.odata_type = '#Microsoft.Skills.Text.SplitSkill' # type: str self.default_language_code = default_language_code self.text_split_mode = text_split_mode self.maximum_page_length = maximum_page_length @@ -4988,7 +4979,7 @@ def __init__( **kwargs ): super(SqlIntegratedChangeTrackingPolicy, self).__init__(**kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy' + self.odata_type = '#Microsoft.Azure.Search.SqlIntegratedChangeTrackingPolicy' # type: str class StemmerOverrideTokenFilter(TokenFilter): @@ -5028,7 +5019,7 @@ def __init__( **kwargs ): super(StemmerOverrideTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.StemmerOverrideTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.StemmerOverrideTokenFilter' # type: str self.rules = rules @@ -5076,7 +5067,7 @@ def __init__( **kwargs ): super(StemmerTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.StemmerTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.StemmerTokenFilter' # type: str self.language = language @@ -5115,7 +5106,7 @@ def __init__( **kwargs ): super(StopAnalyzer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.StopAnalyzer' + self.odata_type = '#Microsoft.Azure.Search.StopAnalyzer' # type: str self.stopwords = stopwords @@ -5174,7 +5165,7 @@ def __init__( **kwargs ): super(StopwordsTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.StopwordsTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.StopwordsTokenFilter' # type: str self.stopwords = stopwords self.stopwords_list = stopwords_list self.ignore_case = ignore_case @@ -5339,7 +5330,7 @@ def __init__( **kwargs ): super(SynonymTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.SynonymTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.SynonymTokenFilter' # type: str self.synonyms = synonyms self.ignore_case = ignore_case self.expand = expand @@ -5391,7 +5382,7 @@ def __init__( **kwargs ): super(TagScoringFunction, self).__init__(field_name=field_name, boost=boost, interpolation=interpolation, **kwargs) - self.type: str = 'tag' + self.type = 'tag' # type: str self.parameters = parameters @@ -5510,7 +5501,7 @@ def __init__( **kwargs ): super(TextTranslationSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Text.TranslationSkill' + self.odata_type = '#Microsoft.Skills.Text.TranslationSkill' # type: str self.default_to_language_code = default_to_language_code self.default_from_language_code = default_from_language_code self.suggested_from = suggested_from @@ -5580,7 +5571,7 @@ def __init__( **kwargs ): super(TruncateTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.TruncateTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.TruncateTokenFilter' # type: str self.length = length @@ -5621,7 +5612,7 @@ def __init__( **kwargs ): super(UaxUrlEmailTokenizer, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.UaxUrlEmailTokenizer' + self.odata_type = '#Microsoft.Azure.Search.UaxUrlEmailTokenizer' # type: str self.max_token_length = max_token_length @@ -5661,7 +5652,7 @@ def __init__( **kwargs ): super(UniqueTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.UniqueTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.UniqueTokenFilter' # type: str self.only_on_same_position = only_on_same_position @@ -5743,7 +5734,7 @@ def __init__( **kwargs ): super(WebApiSkill, self).__init__(name=name, description=description, context=context, inputs=inputs, outputs=outputs, **kwargs) - self.odata_type: str = '#Microsoft.Skills.Custom.WebApiSkill' + self.odata_type = '#Microsoft.Skills.Custom.WebApiSkill' # type: str self.uri = uri self.http_headers = http_headers self.http_method = http_method @@ -5833,7 +5824,7 @@ def __init__( **kwargs ): super(WordDelimiterTokenFilter, self).__init__(name=name, **kwargs) - self.odata_type: str = '#Microsoft.Azure.Search.WordDelimiterTokenFilter' + self.odata_type = '#Microsoft.Azure.Search.WordDelimiterTokenFilter' # type: str self.generate_word_parts = generate_word_parts self.generate_number_parts = generate_number_parts self.catenate_words = catenate_words diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_search_service_client_enums.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_search_service_client_enums.py index ee355eec0897..a5c5646c7ef7 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_search_service_client_enums.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/models/_search_service_client_enums.py @@ -57,7 +57,7 @@ class EntityRecognitionSkillLanguage(str, Enum): ko = "ko" #: Korean. no = "no" #: Norwegian (Bokmaal). pl = "pl" #: Polish. - pt = "pt-PT" #: Portuguese (Portugal). + pt_pt = "pt-PT" #: Portuguese (Portugal). pt_br = "pt-BR" #: Portuguese (Brazil). ru = "ru" #: Russian. es = "es" #: Spanish. @@ -113,7 +113,7 @@ class KeyPhraseExtractionSkillLanguage(str, Enum): ko = "ko" #: Korean. no = "no" #: Norwegian (Bokmaal). pl = "pl" #: Polish. - pt = "pt-PT" #: Portuguese (Portugal). + pt_pt = "pt-PT" #: Portuguese (Portugal). pt_br = "pt-BR" #: Portuguese (Brazil). ru = "ru" #: Russian. es = "es" #: Spanish. @@ -185,8 +185,8 @@ class LexicalAnalyzerName(str, Enum): pl_lucene = "pl.lucene" #: Lucene analyzer for Polish. pt_br_microsoft = "pt-BR.microsoft" #: Microsoft analyzer for Portuguese (Brazil). pt_br_lucene = "pt-BR.lucene" #: Lucene analyzer for Portuguese (Brazil). - pt_microsoft = "pt-PT.microsoft" #: Microsoft analyzer for Portuguese (Portugal). - pt_lucene = "pt-PT.lucene" #: Lucene analyzer for Portuguese (Portugal). + pt_pt_microsoft = "pt-PT.microsoft" #: Microsoft analyzer for Portuguese (Portugal). + pt_pt_lucene = "pt-PT.lucene" #: Lucene analyzer for Portuguese (Portugal). pa_microsoft = "pa.microsoft" #: Microsoft analyzer for Punjabi. ro_microsoft = "ro.microsoft" #: Microsoft analyzer for Romanian. ro_lucene = "ro.lucene" #: Lucene analyzer for Romanian. @@ -450,7 +450,7 @@ class SentimentSkillLanguage(str, Enum): it = "it" #: Italian. no = "no" #: Norwegian (Bokmaal). pl = "pl" #: Polish. - pt = "pt-PT" #: Portuguese (Portugal). + pt_pt = "pt-PT" #: Portuguese (Portugal). ru = "ru" #: Russian. es = "es" #: Spanish. sv = "sv" #: Swedish. @@ -592,13 +592,6 @@ class StopwordsList(str, Enum): thai = "thai" #: Selects the stopword list for Thai. turkish = "turkish" #: Selects the stopword list for Turkish. -class TextExtractionAlgorithm(str, Enum): - """A value indicating which algorithm to use. Default is printed. - """ - - printed = "printed" #: An algorithm suitable for printed text. - handwritten = "handwritten" #: An algorithm suitable for handwritten text. - class TextSplitMode(str, Enum): """A value indicating which split mode to perform. """ diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_data_sources_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_data_sources_operations.py index d3bf1a91e633..73ef675a37a5 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_data_sources_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_data_sources_operations.py @@ -68,7 +68,7 @@ def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerDataSource or the result of cls(response) + :return: SearchIndexerDataSource, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerDataSource :raises: ~azure.core.exceptions.HttpResponseError """ @@ -80,7 +80,7 @@ def create_or_update( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -107,7 +107,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(data_source, 'SearchIndexerDataSource') body_content_kwargs['content'] = body_content @@ -121,7 +120,6 @@ def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SearchIndexerDataSource', pipeline_response) @@ -129,7 +127,7 @@ def create_or_update( deserialized = self._deserialize('SearchIndexerDataSource', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/datasources(\'{dataSourceName}\')'} # type: ignore @@ -156,7 +154,7 @@ def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -167,7 +165,7 @@ def delete( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -190,7 +188,6 @@ def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -201,7 +198,7 @@ def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/datasources(\'{dataSourceName}\')'} # type: ignore @@ -219,7 +216,7 @@ def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerDataSource or the result of cls(response) + :return: SearchIndexerDataSource, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerDataSource :raises: ~azure.core.exceptions.HttpResponseError """ @@ -230,7 +227,7 @@ def get( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -250,7 +247,6 @@ def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -263,7 +259,7 @@ def get( deserialized = self._deserialize('SearchIndexerDataSource', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/datasources(\'{dataSourceName}\')'} # type: ignore @@ -284,7 +280,7 @@ def list( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListDataSourcesResult or the result of cls(response) + :return: ListDataSourcesResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ListDataSourcesResult :raises: ~azure.core.exceptions.HttpResponseError """ @@ -295,7 +291,7 @@ def list( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -316,7 +312,6 @@ def list( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -329,7 +324,7 @@ def list( deserialized = self._deserialize('ListDataSourcesResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized list.metadata = {'url': '/datasources'} # type: ignore @@ -348,7 +343,7 @@ def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerDataSource or the result of cls(response) + :return: SearchIndexerDataSource, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerDataSource :raises: ~azure.core.exceptions.HttpResponseError """ @@ -359,7 +354,7 @@ def create( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -380,7 +375,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(data_source, 'SearchIndexerDataSource') body_content_kwargs['content'] = body_content @@ -397,7 +391,7 @@ def create( deserialized = self._deserialize('SearchIndexerDataSource', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/datasources'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexers_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexers_operations.py index b55eb7d7b8d8..816353c65d4c 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexers_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexers_operations.py @@ -57,7 +57,7 @@ def reset( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -68,7 +68,7 @@ def reset( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.reset.metadata['url'] # type: ignore @@ -87,7 +87,6 @@ def reset( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -98,7 +97,7 @@ def reset( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) reset.metadata = {'url': '/indexers(\'{indexerName}\')/search.reset'} # type: ignore @@ -116,7 +115,7 @@ def run( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -127,7 +126,7 @@ def run( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.run.metadata['url'] # type: ignore @@ -146,7 +145,6 @@ def run( if _x_ms_client_request_id is not None: header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -157,7 +155,7 @@ def run( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) run.metadata = {'url': '/indexers(\'{indexerName}\')/search.run'} # type: ignore @@ -186,7 +184,7 @@ def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexer or the result of cls(response) + :return: SearchIndexer, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexer :raises: ~azure.core.exceptions.HttpResponseError """ @@ -198,7 +196,7 @@ def create_or_update( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -225,7 +223,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(indexer, 'SearchIndexer') body_content_kwargs['content'] = body_content @@ -239,7 +236,6 @@ def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SearchIndexer', pipeline_response) @@ -247,7 +243,7 @@ def create_or_update( deserialized = self._deserialize('SearchIndexer', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/indexers(\'{indexerName}\')'} # type: ignore @@ -274,7 +270,7 @@ def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -285,7 +281,7 @@ def delete( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -308,7 +304,6 @@ def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -319,7 +314,7 @@ def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/indexers(\'{indexerName}\')'} # type: ignore @@ -337,7 +332,7 @@ def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexer or the result of cls(response) + :return: SearchIndexer, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexer :raises: ~azure.core.exceptions.HttpResponseError """ @@ -348,7 +343,7 @@ def get( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -368,7 +363,6 @@ def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -381,7 +375,7 @@ def get( deserialized = self._deserialize('SearchIndexer', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/indexers(\'{indexerName}\')'} # type: ignore @@ -402,7 +396,7 @@ def list( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListIndexersResult or the result of cls(response) + :return: ListIndexersResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ListIndexersResult :raises: ~azure.core.exceptions.HttpResponseError """ @@ -413,7 +407,7 @@ def list( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -434,7 +428,6 @@ def list( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -447,7 +440,7 @@ def list( deserialized = self._deserialize('ListIndexersResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized list.metadata = {'url': '/indexers'} # type: ignore @@ -466,7 +459,7 @@ def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexer or the result of cls(response) + :return: SearchIndexer, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexer :raises: ~azure.core.exceptions.HttpResponseError """ @@ -477,7 +470,7 @@ def create( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -498,7 +491,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(indexer, 'SearchIndexer') body_content_kwargs['content'] = body_content @@ -515,7 +507,7 @@ def create( deserialized = self._deserialize('SearchIndexer', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/indexers'} # type: ignore @@ -534,7 +526,7 @@ def get_status( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerStatus or the result of cls(response) + :return: SearchIndexerStatus, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerStatus :raises: ~azure.core.exceptions.HttpResponseError """ @@ -545,7 +537,7 @@ def get_status( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get_status.metadata['url'] # type: ignore @@ -565,7 +557,6 @@ def get_status( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -578,7 +569,7 @@ def get_status( deserialized = self._deserialize('SearchIndexerStatus', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get_status.metadata = {'url': '/indexers(\'{indexerName}\')/search.status'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexes_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexes_operations.py index 65b556d45d82..6da39c28c26b 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexes_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_indexes_operations.py @@ -58,18 +58,18 @@ def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndex or the result of cls(response) + :return: SearchIndex, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndex :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -90,7 +90,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(index, 'SearchIndex') body_content_kwargs['content'] = body_content @@ -107,7 +106,7 @@ def create( deserialized = self._deserialize('SearchIndex', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/indexes'} # type: ignore @@ -122,26 +121,32 @@ def list( """Lists all indexes available for a search service. :param select: Selects which top-level properties of the index definitions to retrieve. - Specified as a comma-separated list of JSON property names, or '*' for all properties. The - default is all properties. + Specified as a comma-separated list of JSON property names, or '*' for all properties. The + default is all properties. :type select: str :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: An iterator like instance of ListIndexesResult or the result of cls(response) + :return: An iterator like instance of either ListIndexesResult or the result of cls(response) :rtype: ~azure.core.paging.ItemPaged[~azure.search.documents.indexes.models.ListIndexesResult] :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.ListIndexesResult"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + if _x_ms_client_request_id is not None: + header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -155,6 +160,7 @@ def prepare_request(next_link=None): query_parameters['$select'] = self._serialize.query("select", select, 'str') query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] @@ -162,14 +168,7 @@ def prepare_request(next_link=None): 'endpoint': self._serialize.url("self._config.endpoint", self._config.endpoint, 'str', skip_quote=True), } url = self._client.format_url(url, **path_format_arguments) - # Construct headers - header_parameters = {} # type: Dict[str, Any] - if _x_ms_client_request_id is not None: - header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -229,19 +228,19 @@ def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndex or the result of cls(response) + :return: SearchIndex, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndex :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -270,7 +269,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(index, 'SearchIndex') body_content_kwargs['content'] = body_content @@ -284,7 +282,6 @@ def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SearchIndex', pipeline_response) @@ -292,7 +289,7 @@ def create_or_update( deserialized = self._deserialize('SearchIndex', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/indexes(\'{indexName}\')'} # type: ignore @@ -306,7 +303,9 @@ def delete( **kwargs # type: Any ): # type: (...) -> None - """Deletes a search index and all the documents it contains. This operation is permanent, with no recovery option. Make sure you have a master copy of your index definition, data ingestion code, and a backup of the primary data source in case you need to re-build the index. + """Deletes a search index and all the documents it contains. This operation is permanent, with no + recovery option. Make sure you have a master copy of your index definition, data ingestion + code, and a backup of the primary data source in case you need to re-build the index. :param index_name: The name of the index to delete. :type index_name: str @@ -319,18 +318,18 @@ def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(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 = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -353,7 +352,6 @@ def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -364,7 +362,7 @@ def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/indexes(\'{indexName}\')'} # type: ignore @@ -382,18 +380,18 @@ def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndex or the result of cls(response) + :return: SearchIndex, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndex :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.SearchIndex"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -413,7 +411,6 @@ def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -426,7 +423,7 @@ def get( deserialized = self._deserialize('SearchIndex', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/indexes(\'{indexName}\')'} # type: ignore @@ -445,18 +442,18 @@ def get_statistics( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: GetIndexStatisticsResult or the result of cls(response) + :return: GetIndexStatisticsResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.GetIndexStatisticsResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.GetIndexStatisticsResult"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get_statistics.metadata['url'] # type: ignore @@ -476,7 +473,6 @@ def get_statistics( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -489,7 +485,7 @@ def get_statistics( deserialized = self._deserialize('GetIndexStatisticsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get_statistics.metadata = {'url': '/indexes(\'{indexName}\')/search.stats'} # type: ignore @@ -511,18 +507,18 @@ def analyze( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: AnalyzeResult or the result of cls(response) + :return: AnalyzeResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.AnalyzeResult :raises: ~azure.core.exceptions.HttpResponseError """ cls = kwargs.pop('cls', None) # type: ClsType["models.AnalyzeResult"] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) - + _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -544,7 +540,6 @@ def analyze( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(request, 'AnalyzeRequest') body_content_kwargs['content'] = body_content @@ -561,7 +556,7 @@ def analyze( deserialized = self._deserialize('AnalyzeResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized analyze.metadata = {'url': '/indexes(\'{indexName}\')/search.analyze'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_search_service_client_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_search_service_client_operations.py index 902e11c2d00f..2d0ebdefd643 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_search_service_client_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_search_service_client_operations.py @@ -34,7 +34,7 @@ def get_service_statistics( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ServiceStatistics or the result of cls(response) + :return: ServiceStatistics, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ServiceStatistics :raises: ~azure.core.exceptions.HttpResponseError """ @@ -45,7 +45,7 @@ def get_service_statistics( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get_service_statistics.metadata['url'] # type: ignore @@ -64,7 +64,6 @@ def get_service_statistics( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -77,7 +76,7 @@ def get_service_statistics( deserialized = self._deserialize('ServiceStatistics', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get_service_statistics.metadata = {'url': '/servicestats'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_skillsets_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_skillsets_operations.py index 05a54ccda442..cb65ab00454e 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_skillsets_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_skillsets_operations.py @@ -69,7 +69,7 @@ def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerSkillset or the result of cls(response) + :return: SearchIndexerSkillset, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerSkillset :raises: ~azure.core.exceptions.HttpResponseError """ @@ -81,7 +81,7 @@ def create_or_update( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -108,7 +108,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(skillset, 'SearchIndexerSkillset') body_content_kwargs['content'] = body_content @@ -122,7 +121,6 @@ def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SearchIndexerSkillset', pipeline_response) @@ -130,7 +128,7 @@ def create_or_update( deserialized = self._deserialize('SearchIndexerSkillset', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/skillsets(\'{skillsetName}\')'} # type: ignore @@ -157,7 +155,7 @@ def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -168,7 +166,7 @@ def delete( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -191,7 +189,6 @@ def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -202,7 +199,7 @@ def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/skillsets(\'{skillsetName}\')'} # type: ignore @@ -220,7 +217,7 @@ def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerSkillset or the result of cls(response) + :return: SearchIndexerSkillset, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerSkillset :raises: ~azure.core.exceptions.HttpResponseError """ @@ -231,7 +228,7 @@ def get( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -251,7 +248,6 @@ def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -264,7 +260,7 @@ def get( deserialized = self._deserialize('SearchIndexerSkillset', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/skillsets(\'{skillsetName}\')'} # type: ignore @@ -285,7 +281,7 @@ def list( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListSkillsetsResult or the result of cls(response) + :return: ListSkillsetsResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ListSkillsetsResult :raises: ~azure.core.exceptions.HttpResponseError """ @@ -296,7 +292,7 @@ def list( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -317,7 +313,6 @@ def list( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -330,7 +325,7 @@ def list( deserialized = self._deserialize('ListSkillsetsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized list.metadata = {'url': '/skillsets'} # type: ignore @@ -349,7 +344,7 @@ def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SearchIndexerSkillset or the result of cls(response) + :return: SearchIndexerSkillset, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SearchIndexerSkillset :raises: ~azure.core.exceptions.HttpResponseError """ @@ -360,7 +355,7 @@ def create( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -381,7 +376,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(skillset, 'SearchIndexerSkillset') body_content_kwargs['content'] = body_content @@ -398,7 +392,7 @@ def create( deserialized = self._deserialize('SearchIndexerSkillset', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/skillsets'} # type: ignore diff --git a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_synonym_maps_operations.py b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_synonym_maps_operations.py index 723ac8566f2b..49602bdcb37a 100644 --- a/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_synonym_maps_operations.py +++ b/sdk/search/azure-search-documents/azure/search/documents/indexes/_internal/_generated/operations/_synonym_maps_operations.py @@ -68,7 +68,7 @@ def create_or_update( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SynonymMap or the result of cls(response) + :return: SynonymMap, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SynonymMap :raises: ~azure.core.exceptions.HttpResponseError """ @@ -80,7 +80,7 @@ def create_or_update( if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id prefer = "return=representation" - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -107,7 +107,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(synonym_map, 'SynonymMap') body_content_kwargs['content'] = body_content @@ -121,7 +120,6 @@ def create_or_update( error = self._deserialize(models.SearchError, response) raise HttpResponseError(response=response, model=error) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('SynonymMap', pipeline_response) @@ -129,7 +127,7 @@ def create_or_update( deserialized = self._deserialize('SynonymMap', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create_or_update.metadata = {'url': '/synonymmaps(\'{synonymMapName}\')'} # type: ignore @@ -156,7 +154,7 @@ def delete( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: None or the result of cls(response) + :return: None, or the result of cls(response) :rtype: None :raises: ~azure.core.exceptions.HttpResponseError """ @@ -167,7 +165,7 @@ def delete( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.delete.metadata['url'] # type: ignore @@ -190,7 +188,6 @@ def delete( if if_none_match is not None: header_parameters['If-None-Match'] = self._serialize.header("if_none_match", if_none_match, 'str') - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -201,7 +198,7 @@ def delete( raise HttpResponseError(response=response, model=error) if cls: - return cls(pipeline_response, None, {}) + return cls(pipeline_response, None, {}) delete.metadata = {'url': '/synonymmaps(\'{synonymMapName}\')'} # type: ignore @@ -219,7 +216,7 @@ def get( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SynonymMap or the result of cls(response) + :return: SynonymMap, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SynonymMap :raises: ~azure.core.exceptions.HttpResponseError """ @@ -230,7 +227,7 @@ def get( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.get.metadata['url'] # type: ignore @@ -250,7 +247,6 @@ def get( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -263,7 +259,7 @@ def get( deserialized = self._deserialize('SynonymMap', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized get.metadata = {'url': '/synonymmaps(\'{synonymMapName}\')'} # type: ignore @@ -284,7 +280,7 @@ def list( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: ListSynonymMapsResult or the result of cls(response) + :return: ListSynonymMapsResult, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.ListSynonymMapsResult :raises: ~azure.core.exceptions.HttpResponseError """ @@ -295,7 +291,7 @@ def list( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" # Construct URL url = self.list.metadata['url'] # type: ignore @@ -316,7 +312,6 @@ def list( header_parameters['x-ms-client-request-id'] = self._serialize.header("x_ms_client_request_id", _x_ms_client_request_id, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -329,7 +324,7 @@ def list( deserialized = self._deserialize('ListSynonymMapsResult', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized list.metadata = {'url': '/synonymmaps'} # type: ignore @@ -348,7 +343,7 @@ def create( :param request_options: Parameter group. :type request_options: ~azure.search.documents.indexes.models.RequestOptions :keyword callable cls: A custom type or function that will be passed the direct response - :return: SynonymMap or the result of cls(response) + :return: SynonymMap, or the result of cls(response) :rtype: ~azure.search.documents.indexes.models.SynonymMap :raises: ~azure.core.exceptions.HttpResponseError """ @@ -359,7 +354,7 @@ def create( _x_ms_client_request_id = None if request_options is not None: _x_ms_client_request_id = request_options.x_ms_client_request_id - api_version = "2019-05-06-Preview" + api_version = "2020-06-30" content_type = kwargs.pop("content_type", "application/json") # Construct URL @@ -380,7 +375,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(synonym_map, 'SynonymMap') body_content_kwargs['content'] = body_content @@ -397,7 +391,7 @@ def create( deserialized = self._deserialize('SynonymMap', pipeline_response) if cls: - return cls(pipeline_response, deserialized, {}) + return cls(pipeline_response, deserialized, {}) return deserialized create.metadata = {'url': '/synonymmaps'} # type: ignore diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_async_get_document_count.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_async_get_document_count.yaml index d14d673a3662..75ec7200920a 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_async_get_document_count.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_async_get_document_count.yaml @@ -9,7 +9,7 @@ interactions: api-key: - 14143B3872694CCFBEFE981DD2C64829 method: GET - uri: https://search22c31514.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://search22c31514.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" @@ -30,5 +30,5 @@ interactions: status: code: 200 message: OK - url: https://search22c31514.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + url: https://search22c31514.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_autocomplete.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_autocomplete.yaml index 5f6a822575bd..a85f05a28ae3 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_autocomplete.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_autocomplete.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 74E424E128C2B04981151C353961D673 method: POST - uri: https://search42ca1023.search.windows.net/indexes('drgqefsg')/docs/search.post.autocomplete?api-version=2019-05-06-Preview + uri: https://search42ca1023.search.windows.net/indexes('drgqefsg')/docs/search.post.autocomplete?api-version=2020-06-30 response: body: string: '{"value":[{"text":"motel","queryPlusText":"motel"}]}' @@ -34,5 +34,5 @@ interactions: status: code: 200 message: OK - url: https://search42ca1023.search.windows.net/indexes('drgqefsg')/docs/search.post.autocomplete?api-version=2019-05-06-Preview + url: https://search42ca1023.search.windows.net/indexes('drgqefsg')/docs/search.post.autocomplete?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_delete_documents_existing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_delete_documents_existing.yaml index 1611b1e78e57..d58b3e780199 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_delete_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_delete_documents_existing.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 2786DDE4C12B551D17578A94A8CAD1CC method: POST - uri: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"3","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -35,7 +35,7 @@ interactions: status: code: 200 message: OK - url: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + url: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: @@ -46,7 +46,7 @@ interactions: api-key: - 2786DDE4C12B551D17578A94A8CAD1CC method: GET - uri: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF8" @@ -67,7 +67,7 @@ interactions: status: code: 200 message: OK - url: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + url: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: @@ -78,7 +78,7 @@ interactions: api-key: - 2786DDE4C12B551D17578A94A8CAD1CC method: GET - uri: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2019-05-06-Preview + uri: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '' @@ -94,7 +94,7 @@ interactions: status: code: 404 message: Not Found - url: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2019-05-06-Preview + url: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 - request: body: null headers: @@ -105,7 +105,7 @@ interactions: api-key: - 2786DDE4C12B551D17578A94A8CAD1CC method: GET - uri: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '' @@ -121,5 +121,5 @@ interactions: status: code: 404 message: Not Found - url: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + url: https://search37b1157f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_delete_documents_missing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_delete_documents_missing.yaml index d9a2c40e9776..8e7494fef5fb 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_delete_documents_missing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_delete_documents_missing.yaml @@ -14,7 +14,7 @@ interactions: api-key: - C3AE890D3C892CC8F95D58D7DB853379 method: POST - uri: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -35,7 +35,7 @@ interactions: status: code: 200 message: OK - url: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + url: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: @@ -46,7 +46,7 @@ interactions: api-key: - C3AE890D3C892CC8F95D58D7DB853379 method: GET - uri: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF9" @@ -67,7 +67,7 @@ interactions: status: code: 200 message: OK - url: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + url: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: @@ -78,7 +78,7 @@ interactions: api-key: - C3AE890D3C892CC8F95D58D7DB853379 method: GET - uri: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' @@ -94,7 +94,7 @@ interactions: status: code: 404 message: Not Found - url: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + url: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 - request: body: null headers: @@ -105,7 +105,7 @@ interactions: api-key: - C3AE890D3C892CC8F95D58D7DB853379 method: GET - uri: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '' @@ -121,5 +121,5 @@ interactions: status: code: 404 message: Not Found - url: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + url: https://search2224150e.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_document.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_document.yaml index ab51a43e5f45..c7a6f7bbd8f3 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_document.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_document.yaml @@ -9,7 +9,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('1')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('1')?api-version=2020-06-30 response: body: string: '{"hotelId":"1","hotelName":"Fancy Stay","description":"Best hotel in @@ -37,7 +37,7 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('1')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('1')?api-version=2020-06-30 - request: body: null headers: @@ -48,7 +48,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('2')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('2')?api-version=2020-06-30 response: body: string: '{"hotelId":"2","hotelName":"Roach Motel","description":"Cheapest hotel @@ -71,7 +71,7 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('2')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('2')?api-version=2020-06-30 - request: body: null headers: @@ -82,7 +82,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '{"hotelId":"3","hotelName":"EconoStay","description":"Very popular @@ -104,7 +104,7 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 - request: body: null headers: @@ -115,7 +115,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -137,7 +137,7 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 - request: body: null headers: @@ -148,7 +148,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('5')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('5')?api-version=2020-06-30 response: body: string: '{"hotelId":"5","hotelName":"Comfy Place","description":"Another good @@ -170,7 +170,7 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('5')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('5')?api-version=2020-06-30 - request: body: null headers: @@ -181,7 +181,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('6')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('6')?api-version=2020-06-30 response: body: string: '{"hotelId":"6","hotelName":null,"description":"Surprisingly expensive. @@ -203,7 +203,7 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('6')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('6')?api-version=2020-06-30 - request: body: null headers: @@ -214,7 +214,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('7')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('7')?api-version=2020-06-30 response: body: string: '{"hotelId":"7","hotelName":"Modern Stay","description":"Modern architecture, @@ -237,7 +237,7 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('7')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('7')?api-version=2020-06-30 - request: body: null headers: @@ -248,7 +248,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('8')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('8')?api-version=2020-06-30 response: body: string: '{"hotelId":"8","hotelName":null,"description":"Has some road noise @@ -272,7 +272,7 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('8')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('8')?api-version=2020-06-30 - request: body: null headers: @@ -283,7 +283,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('9')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('9')?api-version=2020-06-30 response: body: string: '{"hotelId":"9","hotelName":"Secret Point Motel","description":"The @@ -321,7 +321,7 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('9')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('9')?api-version=2020-06-30 - request: body: null headers: @@ -332,7 +332,7 @@ interactions: api-key: - AB0C0391C5B486DC4244CF967D7CAFD9 method: GET - uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('10')?api-version=2019-05-06-Preview + uri: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('10')?api-version=2020-06-30 response: body: string: '{"hotelId":"10","hotelName":"Countryside Hotel","description":"Save @@ -366,5 +366,5 @@ interactions: status: code: 200 message: OK - url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('10')?api-version=2019-05-06-Preview + url: https://search41be100f.search.windows.net/indexes('drgqefsg')/docs('10')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_document_missing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_document_missing.yaml index f9a6b57f3d00..638fc8d31bf4 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_document_missing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_document_missing.yaml @@ -9,7 +9,7 @@ interactions: api-key: - 0CF3302F0AB74F3241C00534746EFD38 method: GET - uri: https://searchd1281368.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://searchd1281368.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' @@ -25,5 +25,5 @@ interactions: status: code: 404 message: Not Found - url: https://searchd1281368.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + url: https://searchd1281368.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_counts.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_counts.yaml index e0406b275875..9caebe3eeb7e 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_counts.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_counts.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 748B4ADAF1B19F896323F9333355C5BF method: POST - uri: https://search97b31221.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search97b31221.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside @@ -77,7 +77,7 @@ interactions: status: code: 200 message: OK - url: https://search97b31221.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + url: https://search97b31221.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 - request: body: '{"count": true, "search": "hotel"}' headers: @@ -92,7 +92,7 @@ interactions: api-key: - 748B4ADAF1B19F896323F9333355C5BF method: POST - uri: https://search97b31221.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search97b31221.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"@odata.count":7,"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside @@ -156,5 +156,5 @@ interactions: status: code: 200 message: OK - url: https://search97b31221.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + url: https://search97b31221.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_coverage.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_coverage.yaml index d75cc54236e0..ec17e72c1dae 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_coverage.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_coverage.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 621610911B3D9D8BC6F4D01ACBF7CEDF method: POST - uri: https://searchbcc312d1.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://searchbcc312d1.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside @@ -77,7 +77,7 @@ interactions: status: code: 200 message: OK - url: https://searchbcc312d1.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + url: https://searchbcc312d1.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 - request: body: '{"minimumCoverage": 50.0, "search": "hotel"}' headers: @@ -92,7 +92,7 @@ interactions: api-key: - 621610911B3D9D8BC6F4D01ACBF7CEDF method: POST - uri: https://searchbcc312d1.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://searchbcc312d1.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"@search.coverage":100.0,"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside @@ -156,5 +156,5 @@ interactions: status: code: 200 message: OK - url: https://searchbcc312d1.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + url: https://searchbcc312d1.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_facets_none.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_facets_none.yaml index 3972a07f2c28..3e149ec8f780 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_facets_none.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_facets_none.yaml @@ -13,7 +13,7 @@ interactions: api-key: - B014CAE409517E3739DCEE8A22A1F630 method: POST - uri: https://searchf724140a.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://searchf724140a.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.2423066,"hotelName":"Countryside Hotel","description":"Save @@ -44,5 +44,5 @@ interactions: status: code: 200 message: OK - url: https://searchf724140a.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + url: https://searchf724140a.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_facets_result.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_facets_result.yaml index fda5ef81c85c..8bc9ba1ba329 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_facets_result.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_facets_result.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 6DF34EBCEF728149C24DAA6B4F57A090 method: POST - uri: https://search20bd14f9.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search20bd14f9.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"@search.facets":{"category":[{"count":4,"value":"Budget"},{"count":1,"value":"Luxury"}]},"value":[{"@search.score":0.2423066,"hotelName":"Countryside @@ -44,5 +44,5 @@ interactions: status: code: 200 message: OK - url: https://search20bd14f9.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + url: https://search20bd14f9.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_filter.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_filter.yaml index 7aabc95a802e..12c3a1eb6790 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_filter.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_filter.yaml @@ -14,7 +14,7 @@ interactions: api-key: - E6523D6B24E3D5FF5244EA40EE2C8867 method: POST - uri: https://search9776120b.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search9776120b.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.19169211,"hotelName":"Express Rooms","description":"Pretty @@ -41,5 +41,5 @@ interactions: status: code: 200 message: OK - url: https://search9776120b.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + url: https://search9776120b.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_simple.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_simple.yaml index 1d68f4f95738..33fd52d18e58 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_simple.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_get_search_simple.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 7AB8FFBA7B9EDE0DF1F968DDEDB0DE83 method: POST - uri: https://search97bd120f.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search97bd120f.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside @@ -77,7 +77,7 @@ interactions: status: code: 200 message: OK - url: https://search97bd120f.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + url: https://search97bd120f.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 - request: body: '{"search": "motel"}' headers: @@ -92,7 +92,7 @@ interactions: api-key: - 7AB8FFBA7B9EDE0DF1F968DDEDB0DE83 method: POST - uri: https://search97bd120f.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search97bd120f.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":1.2368374,"hotelId":"2","hotelName":"Roach @@ -132,5 +132,5 @@ interactions: status: code: 200 message: OK - url: https://search97bd120f.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + url: https://search97bd120f.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_documents_existing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_documents_existing.yaml index 8caccce7bc5d..1b20e123c65c 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_documents_existing.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 997EA709A1A4230F4F928B43047A5B90 method: POST - uri: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"3","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -35,7 +35,7 @@ interactions: status: code: 200 message: OK - url: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + url: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: @@ -46,7 +46,7 @@ interactions: api-key: - 997EA709A1A4230F4F928B43047A5B90 method: GET - uri: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" @@ -67,7 +67,7 @@ interactions: status: code: 200 message: OK - url: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + url: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: @@ -78,7 +78,7 @@ interactions: api-key: - 997EA709A1A4230F4F928B43047A5B90 method: GET - uri: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2019-05-06-Preview + uri: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '{"hotelId":"3","hotelName":"EconoStay","description":"Very popular @@ -100,7 +100,7 @@ interactions: status: code: 200 message: OK - url: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2019-05-06-Preview + url: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 - request: body: null headers: @@ -111,7 +111,7 @@ interactions: api-key: - 997EA709A1A4230F4F928B43047A5B90 method: GET - uri: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -133,5 +133,5 @@ interactions: status: code: 200 message: OK - url: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + url: https://search2308151c.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_documents_missing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_documents_missing.yaml index d1d8ea178ebe..214ddd7d8fa2 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_documents_missing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_documents_missing.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 1B247C95470A5FEF7DE61B9207A271A9 method: POST - uri: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":false,"errorMessage":"Document not @@ -36,7 +36,7 @@ interactions: status: code: 207 message: Multi-Status - url: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + url: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: @@ -47,7 +47,7 @@ interactions: api-key: - 1B247C95470A5FEF7DE61B9207A271A9 method: GET - uri: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" @@ -68,7 +68,7 @@ interactions: status: code: 200 message: OK - url: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + url: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: @@ -79,7 +79,7 @@ interactions: api-key: - 1B247C95470A5FEF7DE61B9207A271A9 method: GET - uri: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' @@ -95,7 +95,7 @@ interactions: status: code: 404 message: Not Found - url: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + url: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 - request: body: null headers: @@ -106,7 +106,7 @@ interactions: api-key: - 1B247C95470A5FEF7DE61B9207A271A9 method: GET - uri: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -128,5 +128,5 @@ interactions: status: code: 200 message: OK - url: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + url: https://searchdde14ab.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_or_upload_documents.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_or_upload_documents.yaml index faedb3bcf0c3..5f0e9b56e4be 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_or_upload_documents.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_merge_or_upload_documents.yaml @@ -14,7 +14,7 @@ interactions: api-key: - DF3A01F67870E9C3EA75AA1D1DCE0A9C method: POST - uri: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -35,7 +35,7 @@ interactions: status: code: 200 message: OK - url: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + url: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: @@ -46,7 +46,7 @@ interactions: api-key: - DF3A01F67870E9C3EA75AA1D1DCE0A9C method: GET - uri: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF11" @@ -67,7 +67,7 @@ interactions: status: code: 200 message: OK - url: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + url: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: @@ -78,7 +78,7 @@ interactions: api-key: - DF3A01F67870E9C3EA75AA1D1DCE0A9C method: GET - uri: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '{"hotelId":"1000","hotelName":null,"description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":1,"location":null,"address":null,"rooms":[]}' @@ -99,7 +99,7 @@ interactions: status: code: 200 message: OK - url: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + url: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 - request: body: null headers: @@ -110,7 +110,7 @@ interactions: api-key: - DF3A01F67870E9C3EA75AA1D1DCE0A9C method: GET - uri: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -132,5 +132,5 @@ interactions: status: code: 200 message: OK - url: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + url: https://search37e51576.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_suggest.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_suggest.yaml index 38a68f8aaa39..0c18edad7137 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_suggest.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_suggest.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 7399C73616B0BBA23C477AA593479766 method: POST - uri: https://searchf6640e13.search.windows.net/indexes('drgqefsg')/docs/search.post.suggest?api-version=2019-05-06-Preview + uri: https://searchf6640e13.search.windows.net/indexes('drgqefsg')/docs/search.post.suggest?api-version=2020-06-30 response: body: string: '{"value":[{"@search.text":"Cheapest hotel in town. Infact, a motel.","hotelId":"2"},{"@search.text":"Secret @@ -35,5 +35,5 @@ interactions: status: code: 200 message: OK - url: https://searchf6640e13.search.windows.net/indexes('drgqefsg')/docs/search.post.suggest?api-version=2019-05-06-Preview + url: https://searchf6640e13.search.windows.net/indexes('drgqefsg')/docs/search.post.suggest?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_upload_documents_existing.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_upload_documents_existing.yaml index 1fb5d4bba5b7..073a180694d7 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_upload_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_upload_documents_existing.yaml @@ -15,7 +15,7 @@ interactions: api-key: - F47F7007381641D41B993D937AF79882 method: POST - uri: https://search399b1591.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://search399b1591.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"3","status":true,"errorMessage":null,"statusCode":200}]}' @@ -36,5 +36,5 @@ interactions: status: code: 200 message: OK - url: https://search399b1591.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + url: https://search399b1591.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_upload_documents_new.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_upload_documents_new.yaml index 6eefefe55469..554118c0269b 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_upload_documents_new.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_index_live_async.test_upload_documents_new.yaml @@ -15,7 +15,7 @@ interactions: api-key: - 0A3266A57EF6CCD9A3923E5ED929B490 method: POST - uri: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"1001","status":true,"errorMessage":null,"statusCode":201}]}' @@ -36,7 +36,7 @@ interactions: status: code: 200 message: OK - url: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + url: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 - request: body: null headers: @@ -47,7 +47,7 @@ interactions: api-key: - 0A3266A57EF6CCD9A3923E5ED929B490 method: GET - uri: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF12" @@ -68,7 +68,7 @@ interactions: status: code: 200 message: OK - url: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + url: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 - request: body: null headers: @@ -79,7 +79,7 @@ interactions: api-key: - 0A3266A57EF6CCD9A3923E5ED929B490 method: GET - uri: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '{"hotelId":"1000","hotelName":"Azure Inn","description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":5,"location":null,"address":null,"rooms":[]}' @@ -100,7 +100,7 @@ interactions: status: code: 200 message: OK - url: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + url: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 - request: body: null headers: @@ -111,7 +111,7 @@ interactions: api-key: - 0A3266A57EF6CCD9A3923E5ED929B490 method: GET - uri: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2019-05-06-Preview + uri: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2020-06-30 response: body: string: '{"hotelId":"1001","hotelName":"Redmond Hotel","description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":4,"location":null,"address":null,"rooms":[]}' @@ -132,5 +132,5 @@ interactions: status: code: 200 message: OK - url: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2019-05-06-Preview + url: https://searchd1e61370.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_analyze_text.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_analyze_text.yaml index bc49f2601a51..afbd22836c9e 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_analyze_text.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_analyze_text.yaml @@ -13,7 +13,7 @@ interactions: api-key: - F43051603FFFF10DD5382D3E0CEA346A method: POST - uri: https://search64f01102.search.windows.net/indexes('drgqefsg')/search.analyze?api-version=2019-05-06-Preview + uri: https://search64f01102.search.windows.net/indexes('drgqefsg')/search.analyze?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search64f01102.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.AnalyzeResult","tokens":[{"token":"one''s","startOffset":0,"endOffset":5,"position":0},{"token":"two","startOffset":7,"endOffset":10,"position":1}]}' @@ -34,5 +34,5 @@ interactions: status: code: 200 message: OK - url: https://search64f01102.search.windows.net/indexes('drgqefsg')/search.analyze?api-version=2019-05-06-Preview + url: https://search64f01102.search.windows.net/indexes('drgqefsg')/search.analyze?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_datasource_async.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_datasource_async.yaml index 81f0a2221e5d..b445497d0865 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_datasource_async.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_datasource_async.yaml @@ -15,7 +15,7 @@ interactions: api-key: - A4A43DF80FCD8A1D7FC1AEE02327E6B9 method: POST - uri: https://search386b1565.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search386b1565.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search386b1565.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC95A74EC6BF\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -27,7 +27,7 @@ interactions: elapsed-time: '32' etag: W/"0x8D7EC95A74EC6BF" expires: '-1' - location: https://search386b1565.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search386b1565.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,5 +36,5 @@ interactions: status: code: 201 message: Created - url: https://search386b1565.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search386b1565.search.windows.net/datasources?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_index.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_index.yaml index 5be4f2d2f576..0f27e9d5078a 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_index.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_index.yaml @@ -16,7 +16,7 @@ interactions: api-key: - 2FAED7B0C4D2327B672209097091112D method: POST - uri: https://search640f10d5.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search640f10d5.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search640f10d5.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EC954E6DE3AF\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[{"name":"MyProfile","functionAggregation":null,"text":null,"functions":[]}],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -28,7 +28,7 @@ interactions: elapsed-time: '539' etag: W/"0x8D7EC954E6DE3AF" expires: '-1' - location: https://search640f10d5.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search640f10d5.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -37,5 +37,5 @@ interactions: status: code: 201 message: Created - url: https://search640f10d5.search.windows.net/indexes?api-version=2019-05-06-Preview + url: https://search640f10d5.search.windows.net/indexes?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_indexer.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_indexer.yaml index 762f27bc0169..0ee3da846366 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_indexer.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 744FFCF0491F0B26839B316B16315B14 method: POST - uri: https://search86f511ac.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search86f511ac.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86f511ac.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED523B5C3F45\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '59' etag: W/"0x8D7ED523B5C3F45" expires: '-1' - location: https://search86f511ac.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search86f511ac.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - search86f511ac.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - 744FFCF0491F0B26839B316B16315B14 method: POST - uri: https://search86f511ac.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search86f511ac.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86f511ac.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED523C16624C\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '1067' etag: W/"0x8D7ED523C16624C" expires: '-1' - location: https://search86f511ac.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search86f511ac.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - search86f511ac.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -102,7 +102,7 @@ interactions: api-key: - 744FFCF0491F0B26839B316B16315B14 method: POST - uri: https://search86f511ac.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search86f511ac.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86f511ac.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED523C6B487D\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '477' etag: W/"0x8D7ED523C6B487D" expires: '-1' - location: https://search86f511ac.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://search86f511ac.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,6 +129,6 @@ interactions: - https - search86f511ac.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_datasource_async.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_datasource_async.yaml index 3aab743a1793..47d61b2aeb37 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_datasource_async.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_datasource_async.yaml @@ -15,7 +15,7 @@ interactions: api-key: - F19957B5A218B7469E9FA58A5466BFB5 method: POST - uri: https://search251c1987.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search251c1987.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search251c1987.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC95AE9030E5\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -27,7 +27,7 @@ interactions: elapsed-time: '63' etag: W/"0x8D7EC95AE9030E5" expires: '-1' - location: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,7 +36,7 @@ interactions: status: code: 201 message: Created - url: https://search251c1987.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search251c1987.search.windows.net/datasources?api-version=2020-06-30 - request: body: null headers: @@ -47,7 +47,7 @@ interactions: api-key: - F19957B5A218B7469E9FA58A5466BFB5 method: GET - uri: https://search251c1987.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search251c1987.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search251c1987.search.windows.net/$metadata#datasources","value":[{"@odata.etag":"\"0x8D7EC95AE9030E5\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}]}' @@ -68,7 +68,7 @@ interactions: status: code: 200 message: OK - url: https://search251c1987.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search251c1987.search.windows.net/datasources?api-version=2020-06-30 - request: body: '{"name": "sample-datasource", "description": "updated", "type": "azureblob", "credentials": {"connectionString": "DefaultEndpointsProtocol=https;AccountName=storagename;AccountKey=NzhL3hKZbJBuJ2484dPTR+xF30kYaWSSCbs2BzLgVVI1woqeST/1IgqaLm6QAOTxtGvxctSNbIR/1hW8yH+bJg==;EndpointSuffix=core.windows.net"}, @@ -87,7 +87,7 @@ interactions: api-key: - F19957B5A218B7469E9FA58A5466BFB5 method: PUT - uri: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search251c1987.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC95AE9F4EDD\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -109,7 +109,7 @@ interactions: status: code: 200 message: OK - url: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + url: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 - request: body: null headers: @@ -120,7 +120,7 @@ interactions: api-key: - F19957B5A218B7469E9FA58A5466BFB5 method: GET - uri: https://search251c1987.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search251c1987.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search251c1987.search.windows.net/$metadata#datasources","value":[{"@odata.etag":"\"0x8D7EC95AE9F4EDD\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}]}' @@ -141,7 +141,7 @@ interactions: status: code: 200 message: OK - url: https://search251c1987.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search251c1987.search.windows.net/datasources?api-version=2020-06-30 - request: body: null headers: @@ -152,7 +152,7 @@ interactions: api-key: - F19957B5A218B7469E9FA58A5466BFB5 method: GET - uri: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search251c1987.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC95AE9F4EDD\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -174,5 +174,5 @@ interactions: status: code: 200 message: OK - url: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + url: https://search251c1987.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_datasource_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_datasource_if_unchanged.yaml index 84d3be04dc58..956b6c5c0649 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_datasource_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_datasource_if_unchanged.yaml @@ -15,7 +15,7 @@ interactions: api-key: - EB07460BE71D34ECEB27F2F290910C52 method: POST - uri: https://searche2561c44.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searche2561c44.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searche2561c44.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED71E13EFC4E\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -27,7 +27,7 @@ interactions: elapsed-time: '69' etag: W/"0x8D7ED71E13EFC4E" expires: '-1' - location: https://searche2561c44.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://searche2561c44.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -42,7 +42,7 @@ interactions: - https - searche2561c44.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-datasource", "description": "updated", "type": "azureblob", @@ -62,7 +62,7 @@ interactions: api-key: - EB07460BE71D34ECEB27F2F290910C52 method: PUT - uri: https://searche2561c44.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://searche2561c44.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searche2561c44.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED71E1512811\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -90,7 +90,7 @@ interactions: - https - searche2561c44.search.windows.net - /datasources('sample-datasource') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-datasource", "description": "changed", "type": "azureblob", @@ -112,7 +112,7 @@ interactions: api-key: - EB07460BE71D34ECEB27F2F290910C52 method: PUT - uri: https://searche2561c44.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://searche2561c44.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -140,6 +140,6 @@ interactions: - https - searche2561c44.search.windows.net - /datasources('sample-datasource') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_index.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_index.yaml index f88c1d8e270b..8a9902a9e746 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_index.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_index.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 6CF9D38E0C02AE7CBFF09C124F5A46F5 method: PUT - uri: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search234a14f7.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EC95562E8036\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -30,7 +30,7 @@ interactions: elapsed-time: '988' etag: W/"0x8D7EC95562E8036" expires: '-1' - location: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -39,7 +39,7 @@ interactions: status: code: 201 message: Created - url: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + url: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2020-06-30 - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", "key": true, "searchable": false}, {"name": "baseRate", "type": "Edm.Double"}], @@ -59,7 +59,7 @@ interactions: api-key: - 6CF9D38E0C02AE7CBFF09C124F5A46F5 method: PUT - uri: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search234a14f7.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EC9556534D05\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[{"name":"MyProfile","functionAggregation":null,"text":null,"functions":[]}],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -81,5 +81,5 @@ interactions: status: code: 200 message: OK - url: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + url: https://search234a14f7.search.windows.net/indexes('hotels')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexer.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexer.yaml index f7d434972654..4c492bd9a918 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexer.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 33CE7005C1C6B7AD1940F1F955206F0C method: POST - uri: https://search4e7415ce.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search4e7415ce.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4e7415ce.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED5245E6B25F\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '66' etag: W/"0x8D7ED5245E6B25F" expires: '-1' - location: https://search4e7415ce.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search4e7415ce.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - search4e7415ce.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - 33CE7005C1C6B7AD1940F1F955206F0C method: POST - uri: https://search4e7415ce.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search4e7415ce.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4e7415ce.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED5246809D54\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '937' etag: W/"0x8D7ED5246809D54" expires: '-1' - location: https://search4e7415ce.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search4e7415ce.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - search4e7415ce.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -102,7 +102,7 @@ interactions: api-key: - 33CE7005C1C6B7AD1940F1F955206F0C method: POST - uri: https://search4e7415ce.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search4e7415ce.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4e7415ce.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5246E0D021\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '497' etag: W/"0x8D7ED5246E0D021" expires: '-1' - location: https://search4e7415ce.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://search4e7415ce.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,7 +129,7 @@ interactions: - https - search4e7415ce.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -141,7 +141,7 @@ interactions: api-key: - 33CE7005C1C6B7AD1940F1F955206F0C method: GET - uri: https://search4e7415ce.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search4e7415ce.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4e7415ce.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED5246E0D021\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -168,7 +168,7 @@ interactions: - https - search4e7415ce.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "description": "updated", "dataSourceName": @@ -187,7 +187,7 @@ interactions: api-key: - 33CE7005C1C6B7AD1940F1F955206F0C method: PUT - uri: https://search4e7415ce.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://search4e7415ce.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4e7415ce.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED524712E5C1\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -215,7 +215,7 @@ interactions: - https - search4e7415ce.search.windows.net - /indexers('sample-indexer') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -227,7 +227,7 @@ interactions: api-key: - 33CE7005C1C6B7AD1940F1F955206F0C method: GET - uri: https://search4e7415ce.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search4e7415ce.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4e7415ce.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED524712E5C1\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -254,7 +254,7 @@ interactions: - https - search4e7415ce.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -266,7 +266,7 @@ interactions: api-key: - 33CE7005C1C6B7AD1940F1F955206F0C method: GET - uri: https://search4e7415ce.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://search4e7415ce.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4e7415ce.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED524712E5C1\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -294,6 +294,6 @@ interactions: - https - search4e7415ce.search.windows.net - /indexers('sample-indexer') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexer_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexer_if_unchanged.yaml index ca3b9d3159f8..2bd974199504 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexer_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexer_if_unchanged.yaml @@ -14,7 +14,7 @@ interactions: api-key: - CC67BBE5FAC0EC61208F4429C9C01592 method: POST - uri: https://search8e821b08.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search8e821b08.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search8e821b08.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EE17D9DD041D\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '32' etag: W/"0x8D7EE17D9DD041D" expires: '-1' - location: https://search8e821b08.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search8e821b08.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - search8e821b08.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - CC67BBE5FAC0EC61208F4429C9C01592 method: POST - uri: https://search8e821b08.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search8e821b08.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search8e821b08.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EE17DA8617D8\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '968' etag: W/"0x8D7EE17DA8617D8" expires: '-1' - location: https://search8e821b08.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search8e821b08.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - search8e821b08.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -102,7 +102,7 @@ interactions: api-key: - CC67BBE5FAC0EC61208F4429C9C01592 method: POST - uri: https://search8e821b08.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search8e821b08.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search8e821b08.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7EE17DAB71EF3\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '170' etag: W/"0x8D7EE17DAB71EF3" expires: '-1' - location: https://search8e821b08.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://search8e821b08.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,7 +129,7 @@ interactions: - https - search8e821b08.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "description": "updated", "dataSourceName": @@ -148,7 +148,7 @@ interactions: api-key: - CC67BBE5FAC0EC61208F4429C9C01592 method: PUT - uri: https://search8e821b08.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://search8e821b08.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search8e821b08.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7EE17DAD7A74B\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -176,7 +176,7 @@ interactions: - https - search8e821b08.search.windows.net - /indexers('sample-indexer') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "description": "updated", "dataSourceName": @@ -198,7 +198,7 @@ interactions: api-key: - CC67BBE5FAC0EC61208F4429C9C01592 method: PUT - uri: https://search8e821b08.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://search8e821b08.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -226,6 +226,6 @@ interactions: - https - search8e821b08.search.windows.net - /indexers('sample-indexer') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexes_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexes_if_unchanged.yaml index 199eebff5d04..a25c904ed403 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexes_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_indexes_if_unchanged.yaml @@ -16,7 +16,7 @@ interactions: api-key: - 27AABAAAD5E1BA1E8445B009D9CDC8D7 method: POST - uri: https://search8e901b09.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search8e901b09.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search8e901b09.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED71A617AE43\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[{"name":"MyProfile","functionAggregation":null,"text":null,"functions":[]}],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -28,7 +28,7 @@ interactions: elapsed-time: '560' etag: W/"0x8D7ED71A617AE43" expires: '-1' - location: https://search8e901b09.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search8e901b09.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -43,7 +43,7 @@ interactions: - https - search8e901b09.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -64,7 +64,7 @@ interactions: api-key: - 27AABAAAD5E1BA1E8445B009D9CDC8D7 method: PUT - uri: https://search8e901b09.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://search8e901b09.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search8e901b09.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED71A636ADAA\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -92,7 +92,7 @@ interactions: - https - search8e901b09.search.windows.net - /indexes('hotels') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -115,7 +115,7 @@ interactions: api-key: - 27AABAAAD5E1BA1E8445B009D9CDC8D7 method: PUT - uri: https://search8e901b09.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://search8e901b09.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -143,6 +143,6 @@ interactions: - https - search8e901b09.search.windows.net - /indexes('hotels') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset.yaml index 646b94ee507a..b49475307b76 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset.yaml @@ -18,7 +18,7 @@ interactions: api-key: - B1B1D09F8F6DD926768829455A6A5FD5 method: PUT - uri: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search6512164a.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E24A4BEF9EC0\"","name":"test-ss","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -132,7 +132,7 @@ interactions: status: code: 201 message: Created - url: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + url: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 - request: body: '{"name": "test-ss", "description": "desc2", "skills": [{"@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill", "inputs": [{"name": "text", @@ -152,7 +152,7 @@ interactions: api-key: - B1B1D09F8F6DD926768829455A6A5FD5 method: PUT - uri: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search6512164a.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E24A4BFDD235\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -174,7 +174,7 @@ interactions: status: code: 200 message: OK - url: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + url: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 - request: body: null headers: @@ -185,7 +185,7 @@ interactions: api-key: - B1B1D09F8F6DD926768829455A6A5FD5 method: GET - uri: https://search6512164a.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search6512164a.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search6512164a.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7E24A4BFDD235\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -206,7 +206,7 @@ interactions: status: code: 200 message: OK - url: https://search6512164a.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search6512164a.search.windows.net/skillsets?api-version=2020-06-30 - request: body: null headers: @@ -217,7 +217,7 @@ interactions: api-key: - B1B1D09F8F6DD926768829455A6A5FD5 method: GET - uri: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search6512164a.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E24A4BFDD235\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -239,5 +239,5 @@ interactions: status: code: 200 message: OK - url: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + url: https://search6512164a.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset_if_unchanged.yaml index 9ff0930d8908..6f499a6d98d1 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset_if_unchanged.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 44D0AAF55BE852CA16BF1BD860CFB5D1 method: PUT - uri: https://searchab6c1b84.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searchab6c1b84.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchab6c1b84.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7ED71C3B43149\"","name":"test-ss","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -30,7 +30,7 @@ interactions: elapsed-time: '63' etag: W/"0x8D7ED71C3B43149" expires: '-1' - location: https://searchab6c1b84.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + location: https://searchab6c1b84.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -45,7 +45,7 @@ interactions: - https - searchab6c1b84.search.windows.net - /skillsets('test-ss') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "test-ss", "description": "desc2", "skills": [{"@odata.type": @@ -66,7 +66,7 @@ interactions: api-key: - 44D0AAF55BE852CA16BF1BD860CFB5D1 method: PUT - uri: https://searchab6c1b84.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searchab6c1b84.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchab6c1b84.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7ED71C3C23D9E\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -94,7 +94,7 @@ interactions: - https - searchab6c1b84.search.windows.net - /skillsets('test-ss') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -106,7 +106,7 @@ interactions: api-key: - 44D0AAF55BE852CA16BF1BD860CFB5D1 method: GET - uri: https://searchab6c1b84.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://searchab6c1b84.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchab6c1b84.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7ED71C3C23D9E\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -133,7 +133,7 @@ interactions: - https - searchab6c1b84.search.windows.net - /skillsets - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "test-ss", "description": "desc1", "skills": [{"@odata.type": @@ -156,7 +156,7 @@ interactions: api-key: - 44D0AAF55BE852CA16BF1BD860CFB5D1 method: PUT - uri: https://searchab6c1b84.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searchab6c1b84.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -184,6 +184,6 @@ interactions: - https - searchab6c1b84.search.windows.net - /skillsets('test-ss') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset_inplace.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset_inplace.yaml index ffa253317a8c..d67e063d6ead 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset_inplace.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_skillset_inplace.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 949AB1B55EE17FD30AB635C811264965 method: PUT - uri: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search260a1985.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E5707C99B8B7\"","name":"test-ss","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -30,7 +30,7 @@ interactions: elapsed-time: '52' etag: W/"0x8D7E5707C99B8B7" expires: '-1' - location: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + location: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -39,7 +39,7 @@ interactions: status: code: 201 message: Created - url: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + url: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 - request: body: '{"name": "test-ss", "description": "desc2", "skills": [{"@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill", "inputs": [{"name": "text", @@ -59,7 +59,7 @@ interactions: api-key: - 949AB1B55EE17FD30AB635C811264965 method: PUT - uri: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search260a1985.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E5707CA3CC9F\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -81,7 +81,7 @@ interactions: status: code: 200 message: OK - url: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + url: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 - request: body: null headers: @@ -92,7 +92,7 @@ interactions: api-key: - 949AB1B55EE17FD30AB635C811264965 method: GET - uri: https://search260a1985.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search260a1985.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search260a1985.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7E5707CA3CC9F\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -113,7 +113,7 @@ interactions: status: code: 200 message: OK - url: https://search260a1985.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search260a1985.search.windows.net/skillsets?api-version=2020-06-30 - request: body: null headers: @@ -124,7 +124,7 @@ interactions: api-key: - 949AB1B55EE17FD30AB635C811264965 method: GET - uri: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search260a1985.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E5707CA3CC9F\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -146,5 +146,5 @@ interactions: status: code: 200 message: OK - url: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + url: https://search260a1985.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_synonym_map.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_synonym_map.yaml index 6bd1e6a145ee..96ac45935eb1 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_synonym_map.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_synonym_map.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 1EB3C43FAD17D88EF8BB4EEA004D98D3 method: POST - uri: https://searchab401799.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchab401799.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchab401799.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC9580AF6E73\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -27,7 +27,7 @@ interactions: elapsed-time: '54' etag: W/"0x8D7EC9580AF6E73" expires: '-1' - location: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + location: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,7 +36,7 @@ interactions: status: code: 201 message: Created - url: https://searchab401799.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchab401799.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: null headers: @@ -47,7 +47,7 @@ interactions: api-key: - 1EB3C43FAD17D88EF8BB4EEA004D98D3 method: GET - uri: https://searchab401799.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchab401799.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchab401799.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC9580AF6E73\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -69,7 +69,7 @@ interactions: status: code: 200 message: OK - url: https://searchab401799.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchab401799.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: '{"name": "test-syn-map", "format": "solr", "synonyms": "Washington, Wash. => WA"}' @@ -87,7 +87,7 @@ interactions: api-key: - 1EB3C43FAD17D88EF8BB4EEA004D98D3 method: PUT - uri: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchab401799.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC9580BBF3DC\"","name":"test-syn-map","format":"solr","synonyms":"Washington, @@ -110,7 +110,7 @@ interactions: status: code: 200 message: OK - url: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + url: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 - request: body: null headers: @@ -121,7 +121,7 @@ interactions: api-key: - 1EB3C43FAD17D88EF8BB4EEA004D98D3 method: GET - uri: https://searchab401799.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchab401799.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchab401799.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC9580BBF3DC\"","name":"test-syn-map","format":"solr","synonyms":"Washington, @@ -143,7 +143,7 @@ interactions: status: code: 200 message: OK - url: https://searchab401799.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchab401799.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: null headers: @@ -154,7 +154,7 @@ interactions: api-key: - 1EB3C43FAD17D88EF8BB4EEA004D98D3 method: GET - uri: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchab401799.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC9580BBF3DC\"","name":"test-syn-map","format":"solr","synonyms":"Washington, @@ -177,5 +177,5 @@ interactions: status: code: 200 message: OK - url: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + url: https://searchab401799.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_synonym_map_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_synonym_map_if_unchanged.yaml index 4b47c2404166..d14d33baeabe 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_synonym_map_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_or_update_synonym_map_if_unchanged.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 1F470418E60BD2366ACB8D27D1F361CA method: POST - uri: https://search2ac1cd3.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search2ac1cd3.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search2ac1cd3.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EBFE52E29170\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -27,7 +27,7 @@ interactions: elapsed-time: '22' etag: W/"0x8D7EBFE52E29170" expires: '-1' - location: https://search2ac1cd3.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + location: https://search2ac1cd3.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -42,7 +42,7 @@ interactions: - https - search2ac1cd3.search.windows.net - /synonymmaps - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "test-syn-map", "format": "solr", "synonyms": "Washington, Wash. @@ -61,7 +61,7 @@ interactions: api-key: - 1F470418E60BD2366ACB8D27D1F361CA method: PUT - uri: https://search2ac1cd3.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search2ac1cd3.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search2ac1cd3.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EBFE52ED8FE6\"","name":"test-syn-map","format":"solr","synonyms":"Washington, @@ -90,7 +90,7 @@ interactions: - https - search2ac1cd3.search.windows.net - /synonymmaps('test-syn-map') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "test-syn-map", "format": "solr", "synonyms": "[''USA, United @@ -111,7 +111,7 @@ interactions: api-key: - 1F470418E60BD2366ACB8D27D1F361CA method: PUT - uri: https://search2ac1cd3.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search2ac1cd3.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -139,6 +139,6 @@ interactions: - https - search2ac1cd3.search.windows.net - /synonymmaps('test-syn-map') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_skillset.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_skillset.yaml index cc2f11f3c245..0b7308e47d4d 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_skillset.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_skillset.yaml @@ -15,7 +15,7 @@ interactions: api-key: - 3A944C60AD0CFDB46ACAB43B837B1D1A method: POST - uri: https://search99711228.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search99711228.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search99711228.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E24A5315AC9C\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -129,7 +129,7 @@ interactions: status: code: 201 message: Created - url: https://search99711228.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search99711228.search.windows.net/skillsets?api-version=2020-06-30 - request: body: null headers: @@ -140,7 +140,7 @@ interactions: api-key: - 3A944C60AD0CFDB46ACAB43B837B1D1A method: GET - uri: https://search99711228.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search99711228.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search99711228.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7E24A5315AC9C\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -161,5 +161,5 @@ interactions: status: code: 200 message: OK - url: https://search99711228.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search99711228.search.windows.net/skillsets?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_synonym_map.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_synonym_map.yaml index c2ec94832f30..a49a8debe70b 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_synonym_map.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_create_synonym_map.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 98706CBE973D216459997E8D1CD455D0 method: POST - uri: https://searchd3391377.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchd3391377.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd3391377.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC95876239BF\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -27,7 +27,7 @@ interactions: elapsed-time: '59' etag: W/"0x8D7EC95876239BF" expires: '-1' - location: https://searchd3391377.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + location: https://searchd3391377.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,7 +36,7 @@ interactions: status: code: 201 message: Created - url: https://searchd3391377.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchd3391377.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: null headers: @@ -47,7 +47,7 @@ interactions: api-key: - 98706CBE973D216459997E8D1CD455D0 method: GET - uri: https://searchd3391377.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchd3391377.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd3391377.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC95876239BF\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -69,5 +69,5 @@ interactions: status: code: 200 message: OK - url: https://searchd3391377.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchd3391377.search.windows.net/synonymmaps?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_datasource_async.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_datasource_async.yaml index f80acb34d4af..65fc5c89e2da 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_datasource_async.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_datasource_async.yaml @@ -15,7 +15,7 @@ interactions: api-key: - 06B8336C26C304192C7B26FC455ACC25 method: POST - uri: https://search38471564.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search38471564.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search38471564.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC95B60E12E6\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -27,7 +27,7 @@ interactions: elapsed-time: '54' etag: W/"0x8D7EC95B60E12E6" expires: '-1' - location: https://search38471564.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search38471564.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,7 +36,7 @@ interactions: status: code: 201 message: Created - url: https://search38471564.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search38471564.search.windows.net/datasources?api-version=2020-06-30 - request: body: null headers: @@ -47,7 +47,7 @@ interactions: api-key: - 06B8336C26C304192C7B26FC455ACC25 method: GET - uri: https://search38471564.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search38471564.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search38471564.search.windows.net/$metadata#datasources","value":[{"@odata.etag":"\"0x8D7EC95B60E12E6\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}]}' @@ -68,7 +68,7 @@ interactions: status: code: 200 message: OK - url: https://search38471564.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search38471564.search.windows.net/datasources?api-version=2020-06-30 - request: body: null headers: @@ -79,7 +79,7 @@ interactions: api-key: - 06B8336C26C304192C7B26FC455ACC25 method: DELETE - uri: https://search38471564.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://search38471564.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '' @@ -94,7 +94,7 @@ interactions: status: code: 204 message: No Content - url: https://search38471564.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + url: https://search38471564.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 - request: body: null headers: @@ -105,7 +105,7 @@ interactions: api-key: - 06B8336C26C304192C7B26FC455ACC25 method: GET - uri: https://search38471564.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search38471564.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search38471564.search.windows.net/$metadata#datasources","value":[]}' @@ -126,5 +126,5 @@ interactions: status: code: 200 message: OK - url: https://search38471564.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search38471564.search.windows.net/datasources?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_datasource_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_datasource_if_unchanged.yaml index 7994cdc4fc4e..6a840a8ea75e 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_datasource_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_datasource_if_unchanged.yaml @@ -15,7 +15,7 @@ interactions: api-key: - EAB9451773DF47CC4948501A01AA8C5D method: POST - uri: https://searchd88c1821.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchd88c1821.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd88c1821.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED71EDA34383\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -27,7 +27,7 @@ interactions: elapsed-time: '52' etag: W/"0x8D7ED71EDA34383" expires: '-1' - location: https://searchd88c1821.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://searchd88c1821.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -42,7 +42,7 @@ interactions: - https - searchd88c1821.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-datasource", "description": "updated", "type": "azureblob", @@ -62,7 +62,7 @@ interactions: api-key: - EAB9451773DF47CC4948501A01AA8C5D method: PUT - uri: https://searchd88c1821.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://searchd88c1821.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd88c1821.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED71EDB1C519\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -90,7 +90,7 @@ interactions: - https - searchd88c1821.search.windows.net - /datasources('sample-datasource') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -104,7 +104,7 @@ interactions: api-key: - EAB9451773DF47CC4948501A01AA8C5D method: DELETE - uri: https://searchd88c1821.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://searchd88c1821.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -132,6 +132,6 @@ interactions: - https - searchd88c1821.search.windows.net - /datasources('sample-datasource') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexer.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexer.yaml index 711bacb35dd7..de520083f82d 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexer.yaml @@ -14,7 +14,7 @@ interactions: api-key: - A7E0BDA1BE1FB2465CBEE33F06D595D9 method: POST - uri: https://search86da11ab.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search86da11ab.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86da11ab.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED5250DC08AE\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '25' etag: W/"0x8D7ED5250DC08AE" expires: '-1' - location: https://search86da11ab.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search86da11ab.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - search86da11ab.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - A7E0BDA1BE1FB2465CBEE33F06D595D9 method: POST - uri: https://search86da11ab.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search86da11ab.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86da11ab.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED5251897F3E\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '1009' etag: W/"0x8D7ED5251897F3E" expires: '-1' - location: https://search86da11ab.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search86da11ab.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - search86da11ab.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -102,7 +102,7 @@ interactions: api-key: - A7E0BDA1BE1FB2465CBEE33F06D595D9 method: POST - uri: https://search86da11ab.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search86da11ab.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86da11ab.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5251C6452B\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '191' etag: W/"0x8D7ED5251C6452B" expires: '-1' - location: https://search86da11ab.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://search86da11ab.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,7 +129,7 @@ interactions: - https - search86da11ab.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -141,7 +141,7 @@ interactions: api-key: - A7E0BDA1BE1FB2465CBEE33F06D595D9 method: GET - uri: https://search86da11ab.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search86da11ab.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86da11ab.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED5251C6452B\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -168,7 +168,7 @@ interactions: - https - search86da11ab.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -180,7 +180,7 @@ interactions: api-key: - A7E0BDA1BE1FB2465CBEE33F06D595D9 method: DELETE - uri: https://search86da11ab.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://search86da11ab.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '' @@ -201,7 +201,7 @@ interactions: - https - search86da11ab.search.windows.net - /indexers('sample-indexer') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -213,7 +213,7 @@ interactions: api-key: - A7E0BDA1BE1FB2465CBEE33F06D595D9 method: GET - uri: https://search86da11ab.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search86da11ab.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86da11ab.search.windows.net/$metadata#indexers","value":[]}' @@ -240,6 +240,6 @@ interactions: - https - search86da11ab.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexer_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexer_if_unchanged.yaml index fbe9bda8f480..bdd2d4b4cbd5 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexer_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexer_if_unchanged.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 783079AE343B72D1129A6B85CDBDA067 method: POST - uri: https://search912116e5.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search912116e5.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search912116e5.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EE17E46EB769\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '29' etag: W/"0x8D7EE17E46EB769" expires: '-1' - location: https://search912116e5.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search912116e5.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - search912116e5.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - 783079AE343B72D1129A6B85CDBDA067 method: POST - uri: https://search912116e5.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search912116e5.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search912116e5.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EE17E50DDDD6\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '894' etag: W/"0x8D7EE17E50DDDD6" expires: '-1' - location: https://search912116e5.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search912116e5.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - search912116e5.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -102,7 +102,7 @@ interactions: api-key: - 783079AE343B72D1129A6B85CDBDA067 method: POST - uri: https://search912116e5.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search912116e5.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search912116e5.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7EE17E53FF6AF\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '178' etag: W/"0x8D7EE17E53FF6AF" expires: '-1' - location: https://search912116e5.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://search912116e5.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,7 +129,7 @@ interactions: - https - search912116e5.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "description": "updated", "dataSourceName": @@ -148,7 +148,7 @@ interactions: api-key: - 783079AE343B72D1129A6B85CDBDA067 method: PUT - uri: https://search912116e5.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://search912116e5.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search912116e5.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7EE17E55EA9CF\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -176,7 +176,7 @@ interactions: - https - search912116e5.search.windows.net - /indexers('sample-indexer') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -190,7 +190,7 @@ interactions: api-key: - 783079AE343B72D1129A6B85CDBDA067 method: DELETE - uri: https://search912116e5.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://search912116e5.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -218,6 +218,6 @@ interactions: - https - search912116e5.search.windows.net - /indexers('sample-indexer') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexes.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexes.yaml index c79ff09e5ef7..d53f6c73fca5 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexes.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexes.yaml @@ -9,7 +9,7 @@ interactions: api-key: - A267E470BFF120455C4300D9DF89C73B method: DELETE - uri: https://search86db11ac.search.windows.net/indexes('drgqefsg')?api-version=2019-05-06-Preview + uri: https://search86db11ac.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: string: '' @@ -24,7 +24,7 @@ interactions: status: code: 204 message: No Content - url: https://search86db11ac.search.windows.net/indexes('drgqefsg')?api-version=2019-05-06-Preview + url: https://search86db11ac.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 - request: body: null headers: @@ -35,7 +35,7 @@ interactions: api-key: - A267E470BFF120455C4300D9DF89C73B method: GET - uri: https://search86db11ac.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search86db11ac.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86db11ac.search.windows.net/$metadata#indexes","value":[]}' @@ -56,5 +56,5 @@ interactions: status: code: 200 message: OK - url: https://search86db11ac.search.windows.net/indexes?api-version=2019-05-06-Preview + url: https://search86db11ac.search.windows.net/indexes?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexes_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexes_if_unchanged.yaml index c9d04782ade4..a95f99b43f1e 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexes_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_indexes_if_unchanged.yaml @@ -16,7 +16,7 @@ interactions: api-key: - 80AE7802DD95A3AC15F78D806265235E method: POST - uri: https://search912f16e6.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search912f16e6.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search912f16e6.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED71B008B075\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[{"name":"MyProfile","functionAggregation":null,"text":null,"functions":[]}],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -28,7 +28,7 @@ interactions: elapsed-time: '571' etag: W/"0x8D7ED71B008B075" expires: '-1' - location: https://search912f16e6.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search912f16e6.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -43,7 +43,7 @@ interactions: - https - search912f16e6.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -64,7 +64,7 @@ interactions: api-key: - 80AE7802DD95A3AC15F78D806265235E method: PUT - uri: https://search912f16e6.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://search912f16e6.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search912f16e6.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED71B02BA833\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -92,7 +92,7 @@ interactions: - https - search912f16e6.search.windows.net - /indexes('hotels') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -106,7 +106,7 @@ interactions: api-key: - 80AE7802DD95A3AC15F78D806265235E method: DELETE - uri: https://search912f16e6.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://search912f16e6.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -134,6 +134,6 @@ interactions: - https - search912f16e6.search.windows.net - /indexes('hotels') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_skillset.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_skillset.yaml index c66bc532d412..1c15c2ee3fe2 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_skillset.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_skillset.yaml @@ -15,7 +15,7 @@ interactions: api-key: - FF7C90F7E91B46FA97FDC79B2C54A4F3 method: POST - uri: https://search99551227.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search99551227.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search99551227.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E24CB8674E6C\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -129,7 +129,7 @@ interactions: status: code: 201 message: Created - url: https://search99551227.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search99551227.search.windows.net/skillsets?api-version=2020-06-30 - request: body: null headers: @@ -140,7 +140,7 @@ interactions: api-key: - FF7C90F7E91B46FA97FDC79B2C54A4F3 method: GET - uri: https://search99551227.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search99551227.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search99551227.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7E24CB8674E6C\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -161,7 +161,7 @@ interactions: status: code: 200 message: OK - url: https://search99551227.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search99551227.search.windows.net/skillsets?api-version=2020-06-30 - request: body: null headers: @@ -172,7 +172,7 @@ interactions: api-key: - FF7C90F7E91B46FA97FDC79B2C54A4F3 method: DELETE - uri: https://search99551227.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search99551227.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '' @@ -187,7 +187,7 @@ interactions: status: code: 204 message: No Content - url: https://search99551227.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + url: https://search99551227.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 - request: body: null headers: @@ -198,7 +198,7 @@ interactions: api-key: - FF7C90F7E91B46FA97FDC79B2C54A4F3 method: GET - uri: https://search99551227.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search99551227.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search99551227.search.windows.net/$metadata#skillsets","value":[]}' @@ -219,5 +219,5 @@ interactions: status: code: 200 message: OK - url: https://search99551227.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search99551227.search.windows.net/skillsets?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_skillset_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_skillset_if_unchanged.yaml index cef66c94416f..05c260cbac2c 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_skillset_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_skillset_if_unchanged.yaml @@ -15,7 +15,7 @@ interactions: api-key: - 657C58F25F5510BEB3AB19482A2E8DD3 method: POST - uri: https://searcha9e81761.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://searcha9e81761.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searcha9e81761.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7ED71D4C7EB65\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -27,7 +27,7 @@ interactions: elapsed-time: '46' etag: W/"0x8D7ED71D4C7EB65" expires: '-1' - location: https://searcha9e81761.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + location: https://searcha9e81761.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -42,7 +42,7 @@ interactions: - https - searcha9e81761.search.windows.net - /skillsets - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "test-ss", "description": "updated", "skills": [{"@odata.type": @@ -63,7 +63,7 @@ interactions: api-key: - 657C58F25F5510BEB3AB19482A2E8DD3 method: PUT - uri: https://searcha9e81761.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searcha9e81761.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searcha9e81761.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7ED71D4DADAA4\"","name":"test-ss","description":"updated","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -91,7 +91,7 @@ interactions: - https - searcha9e81761.search.windows.net - /skillsets('test-ss') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -105,7 +105,7 @@ interactions: api-key: - 657C58F25F5510BEB3AB19482A2E8DD3 method: DELETE - uri: https://searcha9e81761.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searcha9e81761.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -133,6 +133,6 @@ interactions: - https - searcha9e81761.search.windows.net - /skillsets('test-ss') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_synonym_map.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_synonym_map.yaml index 16b6ee981391..d29956f77ce2 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_synonym_map.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_synonym_map.yaml @@ -14,7 +14,7 @@ interactions: api-key: - E68F8C2BAE2BDB711153395E8AF5DBA2 method: POST - uri: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd31a1376.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC958EB24C8F\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -27,7 +27,7 @@ interactions: elapsed-time: '42' etag: W/"0x8D7EC958EB24C8F" expires: '-1' - location: https://searchd31a1376.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + location: https://searchd31a1376.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,7 +36,7 @@ interactions: status: code: 201 message: Created - url: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: null headers: @@ -47,7 +47,7 @@ interactions: api-key: - E68F8C2BAE2BDB711153395E8AF5DBA2 method: GET - uri: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd31a1376.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC958EB24C8F\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -69,7 +69,7 @@ interactions: status: code: 200 message: OK - url: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: null headers: @@ -80,7 +80,7 @@ interactions: api-key: - E68F8C2BAE2BDB711153395E8AF5DBA2 method: DELETE - uri: https://searchd31a1376.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://searchd31a1376.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '' @@ -95,7 +95,7 @@ interactions: status: code: 204 message: No Content - url: https://searchd31a1376.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + url: https://searchd31a1376.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 - request: body: null headers: @@ -106,7 +106,7 @@ interactions: api-key: - E68F8C2BAE2BDB711153395E8AF5DBA2 method: GET - uri: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd31a1376.search.windows.net/$metadata#synonymmaps","value":[]}' @@ -127,5 +127,5 @@ interactions: status: code: 200 message: OK - url: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchd31a1376.search.windows.net/synonymmaps?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_synonym_map_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_synonym_map_if_unchanged.yaml index 67a5f805c66f..bdfd7f7f89d1 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_synonym_map_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_delete_synonym_map_if_unchanged.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 379F6C259E39EFF08F01F8D2429FF657 method: POST - uri: https://searchf4b018b0.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchf4b018b0.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf4b018b0.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7ED71BA2FE792\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -27,7 +27,7 @@ interactions: elapsed-time: '23' etag: W/"0x8D7ED71BA2FE792" expires: '-1' - location: https://searchf4b018b0.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + location: https://searchf4b018b0.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -42,7 +42,7 @@ interactions: - https - searchf4b018b0.search.windows.net - /synonymmaps - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "test-syn-map", "format": "solr", "synonyms": "Washington, Wash. @@ -61,7 +61,7 @@ interactions: api-key: - 379F6C259E39EFF08F01F8D2429FF657 method: PUT - uri: https://searchf4b018b0.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://searchf4b018b0.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf4b018b0.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7ED71BA3AE613\"","name":"test-syn-map","format":"solr","synonyms":"Washington, @@ -90,7 +90,7 @@ interactions: - https - searchf4b018b0.search.windows.net - /synonymmaps('test-syn-map') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -104,7 +104,7 @@ interactions: api-key: - 379F6C259E39EFF08F01F8D2429FF657 method: DELETE - uri: https://searchf4b018b0.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://searchf4b018b0.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the @@ -132,6 +132,6 @@ interactions: - https - searchf4b018b0.search.windows.net - /synonymmaps('test-syn-map') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_datasource_async.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_datasource_async.yaml index 47b1cdb6966c..3938e3e30096 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_datasource_async.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_datasource_async.yaml @@ -15,7 +15,7 @@ interactions: api-key: - 3C11009E981E0448385CCC14CFCA14D8 method: POST - uri: https://searchfa0d1431.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchfa0d1431.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchfa0d1431.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC95BD275436\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -27,7 +27,7 @@ interactions: elapsed-time: '52' etag: W/"0x8D7EC95BD275436" expires: '-1' - location: https://searchfa0d1431.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://searchfa0d1431.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,7 +36,7 @@ interactions: status: code: 201 message: Created - url: https://searchfa0d1431.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://searchfa0d1431.search.windows.net/datasources?api-version=2020-06-30 - request: body: null headers: @@ -47,7 +47,7 @@ interactions: api-key: - 3C11009E981E0448385CCC14CFCA14D8 method: GET - uri: https://searchfa0d1431.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://searchfa0d1431.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchfa0d1431.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC95BD275436\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -69,5 +69,5 @@ interactions: status: code: 200 message: OK - url: https://searchfa0d1431.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + url: https://searchfa0d1431.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_index.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_index.yaml index 7a28880bad37..e1be7ad466e5 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_index.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_index.yaml @@ -9,7 +9,7 @@ interactions: api-key: - 094C5091C3BFA239AA6E652B4F4BCF9E method: GET - uri: https://search32fc0fa1.search.windows.net/indexes('drgqefsg')?api-version=2019-05-06-Preview + uri: https://search32fc0fa1.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search32fc0fa1.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EC95653038C1\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -31,5 +31,5 @@ interactions: status: code: 200 message: OK - url: https://search32fc0fa1.search.windows.net/indexes('drgqefsg')?api-version=2019-05-06-Preview + url: https://search32fc0fa1.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_index_statistics.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_index_statistics.yaml index 097a2170a169..6d397e6702a4 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_index_statistics.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_index_statistics.yaml @@ -9,7 +9,7 @@ interactions: api-key: - 3DB2E070C62F5424D11A4BAAE184B3EF method: GET - uri: https://searchfabb144b.search.windows.net/indexes('drgqefsg')/search.stats?api-version=2019-05-06-Preview + uri: https://searchfabb144b.search.windows.net/indexes('drgqefsg')/search.stats?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchfabb144b.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.IndexStatistics","documentCount":0,"storageSize":0}' @@ -30,5 +30,5 @@ interactions: status: code: 200 message: OK - url: https://searchfabb144b.search.windows.net/indexes('drgqefsg')/search.stats?api-version=2019-05-06-Preview + url: https://searchfabb144b.search.windows.net/indexes('drgqefsg')/search.stats?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_indexer.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_indexer.yaml index 3de6bed0a700..277fb96a8369 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_indexer.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 593462469FF1D719FBE14D57F475C267 method: POST - uri: https://search537a1078.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search537a1078.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search537a1078.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED525B68C640\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '33' etag: W/"0x8D7ED525B68C640" expires: '-1' - location: https://search537a1078.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search537a1078.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - search537a1078.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - 593462469FF1D719FBE14D57F475C267 method: POST - uri: https://search537a1078.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search537a1078.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search537a1078.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED525C1CCDAF\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '1058' etag: W/"0x8D7ED525C1CCDAF" expires: '-1' - location: https://search537a1078.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search537a1078.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - search537a1078.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -102,7 +102,7 @@ interactions: api-key: - 593462469FF1D719FBE14D57F475C267 method: POST - uri: https://search537a1078.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search537a1078.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search537a1078.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED525C4AC3DD\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '158' etag: W/"0x8D7ED525C4AC3DD" expires: '-1' - location: https://search537a1078.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://search537a1078.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,7 +129,7 @@ interactions: - https - search537a1078.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -141,7 +141,7 @@ interactions: api-key: - 593462469FF1D719FBE14D57F475C267 method: GET - uri: https://search537a1078.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://search537a1078.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search537a1078.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED525C4AC3DD\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -169,6 +169,6 @@ interactions: - https - search537a1078.search.windows.net - /indexers('sample-indexer') - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_indexer_status.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_indexer_status.yaml index 143a371a0ac1..4b657a0e4515 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_indexer_status.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_indexer_status.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 8051098DD96B39E1AD1A3A668AAD41ED method: POST - uri: https://searchd28e137b.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchd28e137b.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd28e137b.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED5265E79E5F\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '80' etag: W/"0x8D7ED5265E79E5F" expires: '-1' - location: https://searchd28e137b.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://searchd28e137b.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - searchd28e137b.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - 8051098DD96B39E1AD1A3A668AAD41ED method: POST - uri: https://searchd28e137b.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://searchd28e137b.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd28e137b.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED5266AB38FF\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '1144' etag: W/"0x8D7ED5266AB38FF" expires: '-1' - location: https://searchd28e137b.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://searchd28e137b.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - searchd28e137b.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -102,7 +102,7 @@ interactions: api-key: - 8051098DD96B39E1AD1A3A668AAD41ED method: POST - uri: https://searchd28e137b.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://searchd28e137b.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd28e137b.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5266E0F8C5\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '221' etag: W/"0x8D7ED5266E0F8C5" expires: '-1' - location: https://searchd28e137b.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://searchd28e137b.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,7 +129,7 @@ interactions: - https - searchd28e137b.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -141,7 +141,7 @@ interactions: api-key: - 8051098DD96B39E1AD1A3A668AAD41ED method: GET - uri: https://searchd28e137b.search.windows.net/indexers('sample-indexer')/search.status?api-version=2019-05-06-Preview + uri: https://searchd28e137b.search.windows.net/indexers('sample-indexer')/search.status?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd28e137b.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.IndexerExecutionInfo","name":"sample-indexer","status":"running","lastResult":null,"executionHistory":[],"limits":{"maxRunTime":"PT0S","maxDocumentExtractionSize":0,"maxDocumentContentCharactersToExtract":0}}' @@ -168,6 +168,6 @@ interactions: - https - searchd28e137b.search.windows.net - /indexers('sample-indexer')/search.status - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_service_statistics.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_service_statistics.yaml index 152af87ead76..cb16c9b0d1e5 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_service_statistics.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_service_statistics.yaml @@ -9,7 +9,7 @@ interactions: api-key: - A4B33DCE35FD438DFDF33E31096E8B8A method: GET - uri: https://search24f71524.search.windows.net/servicestats?api-version=2019-05-06-Preview + uri: https://search24f71524.search.windows.net/servicestats?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search24f71524.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.ServiceStatistics","counters":{"documentCount":{"usage":0,"quota":null},"indexesCount":{"usage":0,"quota":3},"indexersCount":{"usage":0,"quota":3},"dataSourcesCount":{"usage":0,"quota":3},"storageSize":{"usage":0,"quota":52428800},"synonymMaps":{"usage":0,"quota":3},"skillsetCount":{"usage":0,"quota":3}},"limits":{"maxFieldsPerIndex":1000,"maxFieldNestingDepthPerIndex":10,"maxComplexCollectionFieldsPerIndex":40,"maxComplexObjectsInCollectionsPerDocument":3000}}' @@ -30,5 +30,5 @@ interactions: status: code: 200 message: OK - url: https://search24f71524.search.windows.net/servicestats?api-version=2019-05-06-Preview + url: https://search24f71524.search.windows.net/servicestats?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_skillset.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_skillset.yaml index 558331ff2141..b6acc9c8997a 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_skillset.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_skillset.yaml @@ -15,7 +15,7 @@ interactions: api-key: - C91B40DCD141C4903F6BF6DDE5C216B8 method: POST - uri: https://search64c210f4.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search64c210f4.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search64c210f4.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E24A617C32B0\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -129,7 +129,7 @@ interactions: status: code: 201 message: Created - url: https://search64c210f4.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search64c210f4.search.windows.net/skillsets?api-version=2020-06-30 - request: body: null headers: @@ -140,7 +140,7 @@ interactions: api-key: - C91B40DCD141C4903F6BF6DDE5C216B8 method: GET - uri: https://search64c210f4.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search64c210f4.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search64c210f4.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7E24A617C32B0\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -161,7 +161,7 @@ interactions: status: code: 200 message: OK - url: https://search64c210f4.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search64c210f4.search.windows.net/skillsets?api-version=2020-06-30 - request: body: null headers: @@ -172,7 +172,7 @@ interactions: api-key: - C91B40DCD141C4903F6BF6DDE5C216B8 method: GET - uri: https://search64c210f4.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search64c210f4.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search64c210f4.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E24A617C32B0\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -194,5 +194,5 @@ interactions: status: code: 200 message: OK - url: https://search64c210f4.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + url: https://search64c210f4.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_skillsets.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_skillsets.yaml index d9a9fdabb29f..8ad4c29f6196 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_skillsets.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_skillsets.yaml @@ -16,7 +16,7 @@ interactions: api-key: - E7DFF42D4A68C86549EE3712ACA7DDF9 method: POST - uri: https://search76291167.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search76291167.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search76291167.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E6369AF5F4FB\"","name":"test-ss-1","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -28,7 +28,7 @@ interactions: elapsed-time: '113' etag: W/"0x8D7E6369AF5F4FB" expires: '-1' - location: https://search76291167.search.windows.net/skillsets('test-ss-1')?api-version=2019-05-06-Preview + location: https://search76291167.search.windows.net/skillsets('test-ss-1')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -37,7 +37,7 @@ interactions: status: code: 201 message: Created - url: https://search76291167.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search76291167.search.windows.net/skillsets?api-version=2020-06-30 - request: body: '{"name": "test-ss-2", "description": "desc2", "skills": [{"@odata.type": "#Microsoft.Skills.Text.EntityRecognitionSkill", "inputs": [{"name": "text", @@ -55,7 +55,7 @@ interactions: api-key: - E7DFF42D4A68C86549EE3712ACA7DDF9 method: POST - uri: https://search76291167.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search76291167.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search76291167.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7E6369B020510\"","name":"test-ss-2","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -67,7 +67,7 @@ interactions: elapsed-time: '48' etag: W/"0x8D7E6369B020510" expires: '-1' - location: https://search76291167.search.windows.net/skillsets('test-ss-2')?api-version=2019-05-06-Preview + location: https://search76291167.search.windows.net/skillsets('test-ss-2')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -76,7 +76,7 @@ interactions: status: code: 201 message: Created - url: https://search76291167.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search76291167.search.windows.net/skillsets?api-version=2020-06-30 - request: body: null headers: @@ -87,7 +87,7 @@ interactions: api-key: - E7DFF42D4A68C86549EE3712ACA7DDF9 method: GET - uri: https://search76291167.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search76291167.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search76291167.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7E6369AF5F4FB\"","name":"test-ss-1","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null},{"@odata.etag":"\"0x8D7E6369B020510\"","name":"test-ss-2","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -108,5 +108,5 @@ interactions: status: code: 200 message: OK - url: https://search76291167.search.windows.net/skillsets?api-version=2019-05-06-Preview + url: https://search76291167.search.windows.net/skillsets?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_synonym_map.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_synonym_map.yaml index c442e06c0f1a..198886875d32 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_synonym_map.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_synonym_map.yaml @@ -14,7 +14,7 @@ interactions: api-key: - DDCE707C06F6DE83869CDD960F1756EC method: POST - uri: https://search9aee1243.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search9aee1243.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search9aee1243.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC95958C0C98\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -27,7 +27,7 @@ interactions: elapsed-time: '41' etag: W/"0x8D7EC95958C0C98" expires: '-1' - location: https://search9aee1243.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + location: https://search9aee1243.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,7 +36,7 @@ interactions: status: code: 201 message: Created - url: https://search9aee1243.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://search9aee1243.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: null headers: @@ -47,7 +47,7 @@ interactions: api-key: - DDCE707C06F6DE83869CDD960F1756EC method: GET - uri: https://search9aee1243.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search9aee1243.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search9aee1243.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC95958C0C98\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -69,7 +69,7 @@ interactions: status: code: 200 message: OK - url: https://search9aee1243.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://search9aee1243.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: null headers: @@ -80,7 +80,7 @@ interactions: api-key: - DDCE707C06F6DE83869CDD960F1756EC method: GET - uri: https://search9aee1243.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search9aee1243.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search9aee1243.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC95958C0C98\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -103,5 +103,5 @@ interactions: status: code: 200 message: OK - url: https://search9aee1243.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + url: https://search9aee1243.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_synonym_maps.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_synonym_maps.yaml index 9d023a9d9f9a..cf813df442a7 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_synonym_maps.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_get_synonym_maps.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 49925E98B4E6A6E7BB8023C66DCE85A0 method: POST - uri: https://searchada412b6.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchada412b6.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchada412b6.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC959CF79C3E\"","name":"test-syn-map-1","format":"solr","synonyms":"USA, @@ -27,7 +27,7 @@ interactions: elapsed-time: '35' etag: W/"0x8D7EC959CF79C3E" expires: '-1' - location: https://searchada412b6.search.windows.net/synonymmaps('test-syn-map-1')?api-version=2019-05-06-Preview + location: https://searchada412b6.search.windows.net/synonymmaps('test-syn-map-1')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,7 +36,7 @@ interactions: status: code: 201 message: Created - url: https://searchada412b6.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchada412b6.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: '{"name": "test-syn-map-2", "format": "solr", "synonyms": "Washington, Wash. => WA"}' @@ -52,7 +52,7 @@ interactions: api-key: - 49925E98B4E6A6E7BB8023C66DCE85A0 method: POST - uri: https://searchada412b6.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchada412b6.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchada412b6.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC959CFF17A5\"","name":"test-syn-map-2","format":"solr","synonyms":"Washington, @@ -65,7 +65,7 @@ interactions: elapsed-time: '24' etag: W/"0x8D7EC959CFF17A5" expires: '-1' - location: https://searchada412b6.search.windows.net/synonymmaps('test-syn-map-2')?api-version=2019-05-06-Preview + location: https://searchada412b6.search.windows.net/synonymmaps('test-syn-map-2')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -74,7 +74,7 @@ interactions: status: code: 201 message: Created - url: https://searchada412b6.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchada412b6.search.windows.net/synonymmaps?api-version=2020-06-30 - request: body: null headers: @@ -85,7 +85,7 @@ interactions: api-key: - 49925E98B4E6A6E7BB8023C66DCE85A0 method: GET - uri: https://searchada412b6.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://searchada412b6.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchada412b6.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC959CF79C3E\"","name":"test-syn-map-1","format":"solr","synonyms":"USA, @@ -108,5 +108,5 @@ interactions: status: code: 200 message: OK - url: https://searchada412b6.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + url: https://searchada412b6.search.windows.net/synonymmaps?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_datasource_async.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_datasource_async.yaml index eab17561e0e0..f3ddb2c48573 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_datasource_async.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_datasource_async.yaml @@ -15,7 +15,7 @@ interactions: api-key: - EB95AE283A4776332B8DEC0FB9C57ECE method: POST - uri: https://search101414ad.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search101414ad.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search101414ad.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC95C3D255DF\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -27,7 +27,7 @@ interactions: elapsed-time: '30' etag: W/"0x8D7EC95C3D255DF" expires: '-1' - location: https://search101414ad.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search101414ad.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -36,7 +36,7 @@ interactions: status: code: 201 message: Created - url: https://search101414ad.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search101414ad.search.windows.net/datasources?api-version=2020-06-30 - request: body: '{"name": "another-sample", "type": "azureblob", "credentials": {"connectionString": "DefaultEndpointsProtocol=https;AccountName=storagename;AccountKey=NzhL3hKZbJBuJ2484dPTR+xF30kYaWSSCbs2BzLgVVI1woqeST/1IgqaLm6QAOTxtGvxctSNbIR/1hW8yH+bJg==;EndpointSuffix=core.windows.net"}, @@ -53,7 +53,7 @@ interactions: api-key: - EB95AE283A4776332B8DEC0FB9C57ECE method: POST - uri: https://search101414ad.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search101414ad.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search101414ad.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC95C3DB0A09\"","name":"another-sample","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -65,7 +65,7 @@ interactions: elapsed-time: '31' etag: W/"0x8D7EC95C3DB0A09" expires: '-1' - location: https://search101414ad.search.windows.net/datasources('another-sample')?api-version=2019-05-06-Preview + location: https://search101414ad.search.windows.net/datasources('another-sample')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -74,7 +74,7 @@ interactions: status: code: 201 message: Created - url: https://search101414ad.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search101414ad.search.windows.net/datasources?api-version=2020-06-30 - request: body: null headers: @@ -85,7 +85,7 @@ interactions: api-key: - EB95AE283A4776332B8DEC0FB9C57ECE method: GET - uri: https://search101414ad.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search101414ad.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search101414ad.search.windows.net/$metadata#datasources","value":[{"@odata.etag":"\"0x8D7EC95C3DB0A09\"","name":"another-sample","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null},{"@odata.etag":"\"0x8D7EC95C3D255DF\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}]}' @@ -106,5 +106,5 @@ interactions: status: code: 200 message: OK - url: https://search101414ad.search.windows.net/datasources?api-version=2019-05-06-Preview + url: https://search101414ad.search.windows.net/datasources?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexer.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexer.yaml index 75860b380900..f1815a724a2e 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexer.yaml @@ -14,7 +14,7 @@ interactions: api-key: - E2F9A0F43525EBB186C916380F592AD1 method: POST - uri: https://search651610f4.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search651610f4.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search651610f4.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED52C4646503\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '29' etag: W/"0x8D7ED52C4646503" expires: '-1' - location: https://search651610f4.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search651610f4.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - search651610f4.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - E2F9A0F43525EBB186C916380F592AD1 method: POST - uri: https://search651610f4.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search651610f4.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search651610f4.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED52C4C9C8F3\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '501' etag: W/"0x8D7ED52C4C9C8F3" expires: '-1' - location: https://search651610f4.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search651610f4.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - search651610f4.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: 'b''{"name": "another-datasource", "type": "azureblob", "credentials": {"connectionString": @@ -102,7 +102,7 @@ interactions: api-key: - E2F9A0F43525EBB186C916380F592AD1 method: POST - uri: https://search651610f4.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search651610f4.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search651610f4.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED52C4FA097A\"","name":"another-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '32' etag: W/"0x8D7ED52C4FA097A" expires: '-1' - location: https://search651610f4.search.windows.net/datasources('another-datasource')?api-version=2019-05-06-Preview + location: https://search651610f4.search.windows.net/datasources('another-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,7 +129,7 @@ interactions: - https - search651610f4.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "another-index", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -146,7 +146,7 @@ interactions: api-key: - E2F9A0F43525EBB186C916380F592AD1 method: POST - uri: https://search651610f4.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search651610f4.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search651610f4.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED52C57E1E8D\"","name":"another-index","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -158,7 +158,7 @@ interactions: elapsed-time: '730' etag: W/"0x8D7ED52C57E1E8D" expires: '-1' - location: https://search651610f4.search.windows.net/indexes('another-index')?api-version=2019-05-06-Preview + location: https://search651610f4.search.windows.net/indexes('another-index')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -173,7 +173,7 @@ interactions: - https - search651610f4.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -190,7 +190,7 @@ interactions: api-key: - E2F9A0F43525EBB186C916380F592AD1 method: POST - uri: https://search651610f4.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search651610f4.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search651610f4.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED52C5DC2E27\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -202,7 +202,7 @@ interactions: elapsed-time: '540' etag: W/"0x8D7ED52C5DC2E27" expires: '-1' - location: https://search651610f4.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://search651610f4.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -217,7 +217,7 @@ interactions: - https - search651610f4.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "another-indexer", "dataSourceName": "another-datasource", "targetIndexName": @@ -234,7 +234,7 @@ interactions: api-key: - E2F9A0F43525EBB186C916380F592AD1 method: POST - uri: https://search651610f4.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search651610f4.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search651610f4.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED52C60A4B66\"","name":"another-indexer","description":null,"dataSourceName":"another-datasource","skillsetName":null,"targetIndexName":"another-index","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -246,7 +246,7 @@ interactions: elapsed-time: '191' etag: W/"0x8D7ED52C60A4B66" expires: '-1' - location: https://search651610f4.search.windows.net/indexers('another-indexer')?api-version=2019-05-06-Preview + location: https://search651610f4.search.windows.net/indexers('another-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -261,7 +261,7 @@ interactions: - https - search651610f4.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -273,7 +273,7 @@ interactions: api-key: - E2F9A0F43525EBB186C916380F592AD1 method: GET - uri: https://search651610f4.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search651610f4.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search651610f4.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED52C60A4B66\"","name":"another-indexer","description":null,"dataSourceName":"another-datasource","skillsetName":null,"targetIndexName":"another-index","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null},{"@odata.etag":"\"0x8D7ED52C5DC2E27\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -300,6 +300,6 @@ interactions: - https - search651610f4.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexes.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexes.yaml index 6690cd056e72..251238e6efed 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexes.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexes.yaml @@ -9,7 +9,7 @@ interactions: api-key: - 98F882124BE28E7E0EA564B871D89281 method: GET - uri: https://search651710f5.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search651710f5.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search651710f5.search.windows.net/$metadata#indexes","value":[{"@odata.etag":"\"0x8D7EC9573E8092C\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}]}' @@ -30,5 +30,5 @@ interactions: status: code: 200 message: OK - url: https://search651710f5.search.windows.net/indexes?api-version=2019-05-06-Preview + url: https://search651710f5.search.windows.net/indexes?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexes_empty.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexes_empty.yaml index 73afad0dac0f..2497965fca0a 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexes_empty.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_list_indexes_empty.yaml @@ -9,7 +9,7 @@ interactions: api-key: - 3047B2B0CC7B88CC2CE6D80B142582F2 method: GET - uri: https://searchd36d1383.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://searchd36d1383.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd36d1383.search.windows.net/$metadata#indexes","value":[]}' @@ -30,5 +30,5 @@ interactions: status: code: 200 message: OK - url: https://searchd36d1383.search.windows.net/indexes?api-version=2019-05-06-Preview + url: https://searchd36d1383.search.windows.net/indexes?api-version=2020-06-30 version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_reset_indexer.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_reset_indexer.yaml index 697f4653f8a4..835e6bdae465 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_reset_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_reset_indexer.yaml @@ -14,7 +14,7 @@ interactions: api-key: - B14D2D6E7CAFAD9A092431020450EC29 method: POST - uri: https://search7658115b.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search7658115b.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search7658115b.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED527A604F84\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '28' etag: W/"0x8D7ED527A604F84" expires: '-1' - location: https://search7658115b.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search7658115b.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - search7658115b.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - B14D2D6E7CAFAD9A092431020450EC29 method: POST - uri: https://search7658115b.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search7658115b.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search7658115b.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED527AF1D480\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '825' etag: W/"0x8D7ED527AF1D480" expires: '-1' - location: https://search7658115b.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search7658115b.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - search7658115b.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -102,7 +102,7 @@ interactions: api-key: - B14D2D6E7CAFAD9A092431020450EC29 method: POST - uri: https://search7658115b.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search7658115b.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search7658115b.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED527B299070\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '215' etag: W/"0x8D7ED527B299070" expires: '-1' - location: https://search7658115b.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://search7658115b.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,7 +129,7 @@ interactions: - https - search7658115b.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -141,7 +141,7 @@ interactions: api-key: - B14D2D6E7CAFAD9A092431020450EC29 method: GET - uri: https://search7658115b.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search7658115b.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search7658115b.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED527B299070\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -168,7 +168,7 @@ interactions: - https - search7658115b.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -180,7 +180,7 @@ interactions: api-key: - B14D2D6E7CAFAD9A092431020450EC29 method: POST - uri: https://search7658115b.search.windows.net/indexers('sample-indexer')/search.reset?api-version=2019-05-06-Preview + uri: https://search7658115b.search.windows.net/indexers('sample-indexer')/search.reset?api-version=2020-06-30 response: body: string: '' @@ -201,7 +201,7 @@ interactions: - https - search7658115b.search.windows.net - /indexers('sample-indexer')/search.reset - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -213,7 +213,7 @@ interactions: api-key: - B14D2D6E7CAFAD9A092431020450EC29 method: GET - uri: https://search7658115b.search.windows.net/indexers('sample-indexer')/search.status?api-version=2019-05-06-Preview + uri: https://search7658115b.search.windows.net/indexers('sample-indexer')/search.status?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search7658115b.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.IndexerExecutionInfo","name":"sample-indexer","status":"running","lastResult":{"status":"reset","errorMessage":null,"startTime":"2020-04-30T22:04:40.722Z","endTime":"2020-04-30T22:04:40.722Z","itemsProcessed":0,"itemsFailed":0,"initialTrackingState":null,"finalTrackingState":null,"errors":[],"warnings":[],"metrics":null},"executionHistory":[{"status":"reset","errorMessage":null,"startTime":"2020-04-30T22:04:40.722Z","endTime":"2020-04-30T22:04:40.722Z","itemsProcessed":0,"itemsFailed":0,"initialTrackingState":null,"finalTrackingState":null,"errors":[],"warnings":[],"metrics":null}],"limits":null}' @@ -240,6 +240,6 @@ interactions: - https - search7658115b.search.windows.net - /indexers('sample-indexer')/search.status - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_run_indexer.yaml b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_run_indexer.yaml index 651d2c9988c6..fa3749ad5b9b 100644 --- a/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_run_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/async_tests/recordings/test_service_live_async.test_run_indexer.yaml @@ -14,7 +14,7 @@ interactions: api-key: - 7249924270B36D2B8D2CB30BD19258AA method: POST - uri: https://search545d108d.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search545d108d.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search545d108d.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED5284CBEA3F\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -26,7 +26,7 @@ interactions: elapsed-time: '34' etag: W/"0x8D7ED5284CBEA3F" expires: '-1' - location: https://search545d108d.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + location: https://search545d108d.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -41,7 +41,7 @@ interactions: - https - search545d108d.search.windows.net - /datasources - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "hotels", "fields": [{"name": "hotelId", "type": "Edm.String", @@ -58,7 +58,7 @@ interactions: api-key: - 7249924270B36D2B8D2CB30BD19258AA method: POST - uri: https://search545d108d.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search545d108d.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search545d108d.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED5285782812\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -70,7 +70,7 @@ interactions: elapsed-time: '893' etag: W/"0x8D7ED5285782812" expires: '-1' - location: https://search545d108d.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + location: https://search545d108d.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -85,7 +85,7 @@ interactions: - https - search545d108d.search.windows.net - /indexes - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: '{"name": "sample-indexer", "dataSourceName": "sample-datasource", "targetIndexName": @@ -102,7 +102,7 @@ interactions: api-key: - 7249924270B36D2B8D2CB30BD19258AA method: POST - uri: https://search545d108d.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search545d108d.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search545d108d.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5285A6937E\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -114,7 +114,7 @@ interactions: elapsed-time: '168' etag: W/"0x8D7ED5285A6937E" expires: '-1' - location: https://search545d108d.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + location: https://search545d108d.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: '4.0' pragma: no-cache preference-applied: odata.include-annotations="*" @@ -129,7 +129,7 @@ interactions: - https - search545d108d.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -141,7 +141,7 @@ interactions: api-key: - 7249924270B36D2B8D2CB30BD19258AA method: GET - uri: https://search545d108d.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search545d108d.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search545d108d.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED5285A6937E\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -168,7 +168,7 @@ interactions: - https - search545d108d.search.windows.net - /indexers - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -180,7 +180,7 @@ interactions: api-key: - 7249924270B36D2B8D2CB30BD19258AA method: POST - uri: https://search545d108d.search.windows.net/indexers('sample-indexer')/search.run?api-version=2019-05-06-Preview + uri: https://search545d108d.search.windows.net/indexers('sample-indexer')/search.run?api-version=2020-06-30 response: body: string: '' @@ -202,7 +202,7 @@ interactions: - https - search545d108d.search.windows.net - /indexers('sample-indexer')/search.run - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' - request: body: null @@ -214,7 +214,7 @@ interactions: api-key: - 7249924270B36D2B8D2CB30BD19258AA method: GET - uri: https://search545d108d.search.windows.net/indexers('sample-indexer')/search.status?api-version=2019-05-06-Preview + uri: https://search545d108d.search.windows.net/indexers('sample-indexer')/search.status?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search545d108d.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.IndexerExecutionInfo","name":"sample-indexer","status":"running","lastResult":null,"executionHistory":[],"limits":{"maxRunTime":"PT0S","maxDocumentExtractionSize":0,"maxDocumentContentCharactersToExtract":0}}' @@ -241,6 +241,6 @@ interactions: - https - search545d108d.search.windows.net - /indexers('sample-indexer')/search.status - - api-version=2019-05-06-Preview + - api-version=2020-06-30 - '' version: 1 diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_autocomplete.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_autocomplete.yaml index 051afe8942fb..cc2d67bd2cd4 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_autocomplete.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_autocomplete.yaml @@ -17,7 +17,7 @@ interactions: api-key: - AE8D684F8B07A67E43EB160C1A508354 method: POST - uri: https://searche7b20da6.search.windows.net/indexes('drgqefsg')/docs/search.post.autocomplete?api-version=2019-05-06-Preview + uri: https://searche7b20da6.search.windows.net/indexes('drgqefsg')/docs/search.post.autocomplete?api-version=2020-06-30 response: body: string: '{"value":[{"text":"motel","queryPlusText":"motel"}]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_delete_documents_existing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_delete_documents_existing.yaml index 6a9604d9602e..b3f653b1df3a 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_delete_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_delete_documents_existing.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 7F7F23DF951321BB6EC0497B61BBBF99 method: POST - uri: https://searchbc401302.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://searchbc401302.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"3","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -64,7 +64,7 @@ interactions: api-key: - 7F7F23DF951321BB6EC0497B61BBBF99 method: GET - uri: https://searchbc401302.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://searchbc401302.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF8" @@ -110,7 +110,7 @@ interactions: api-key: - 7F7F23DF951321BB6EC0497B61BBBF99 method: GET - uri: https://searchbc401302.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2019-05-06-Preview + uri: https://searchbc401302.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '' @@ -148,7 +148,7 @@ interactions: api-key: - 7F7F23DF951321BB6EC0497B61BBBF99 method: GET - uri: https://searchbc401302.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://searchbc401302.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_delete_documents_missing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_delete_documents_missing.yaml index 51e3ce93e3f0..56b895c00f9c 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_delete_documents_missing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_delete_documents_missing.yaml @@ -18,7 +18,7 @@ interactions: api-key: - EF93A352FBEA8C4306E72E9FA5DE1C21 method: POST - uri: https://searcha9301291.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://searcha9301291.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -64,7 +64,7 @@ interactions: api-key: - EF93A352FBEA8C4306E72E9FA5DE1C21 method: GET - uri: https://searcha9301291.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://searcha9301291.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF9" @@ -110,7 +110,7 @@ interactions: api-key: - EF93A352FBEA8C4306E72E9FA5DE1C21 method: GET - uri: https://searcha9301291.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://searcha9301291.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' @@ -148,7 +148,7 @@ interactions: api-key: - EF93A352FBEA8C4306E72E9FA5DE1C21 method: GET - uri: https://searcha9301291.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://searcha9301291.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document.yaml index 97ccc72a9428..b0f0ee3413aa 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('1')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('1')?api-version=2020-06-30 response: body: string: '{"hotelId":"1","hotelName":"Fancy Stay","description":"Best hotel in @@ -66,7 +66,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('2')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('2')?api-version=2020-06-30 response: body: string: '{"hotelId":"2","hotelName":"Roach Motel","description":"Cheapest hotel @@ -114,7 +114,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '{"hotelId":"3","hotelName":"EconoStay","description":"Very popular @@ -161,7 +161,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good @@ -208,7 +208,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('5')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('5')?api-version=2020-06-30 response: body: string: '{"hotelId":"5","hotelName":"Comfy Place","description":"Another good @@ -255,7 +255,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('6')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('6')?api-version=2020-06-30 response: body: string: '{"hotelId":"6","hotelName":null,"description":"Surprisingly expensive. @@ -302,7 +302,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('7')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('7')?api-version=2020-06-30 response: body: string: '{"hotelId":"7","hotelName":"Modern Stay","description":"Modern architecture, @@ -350,7 +350,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('8')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('8')?api-version=2020-06-30 response: body: string: '{"hotelId":"8","hotelName":null,"description":"Has some road noise @@ -399,7 +399,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('9')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('9')?api-version=2020-06-30 response: body: string: '{"hotelId":"9","hotelName":"Secret Point Motel","description":"The @@ -462,7 +462,7 @@ interactions: api-key: - 52988C94E83C6EFD6D6B57723CC909C2 method: GET - uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('10')?api-version=2019-05-06-Preview + uri: https://searche6a60d92.search.windows.net/indexes('drgqefsg')/docs('10')?api-version=2020-06-30 response: body: string: '{"hotelId":"10","hotelName":"Countryside Hotel","description":"Save diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document_count.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document_count.yaml index fa790273d137..4c33d22dceee 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document_count.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document_count.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 4E1885551AC6A7AC5096353C8E0B706B method: GET - uri: https://search40b5101a.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://search40b5101a.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document_missing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document_missing.yaml index adbcad7483bd..db895803a728 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document_missing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_document_missing.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 1BBE70CA8604EF05ACBB2DE58FEBFA85 method: GET - uri: https://search623710eb.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://search623710eb.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_counts.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_counts.yaml index de9bb29e035c..03b1fd40c205 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_counts.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_counts.yaml @@ -17,7 +17,7 @@ interactions: api-key: - 6A55B07F42EFB9E6E03089F3F9A7220F method: POST - uri: https://search30390fa4.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search30390fa4.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside @@ -110,7 +110,7 @@ interactions: api-key: - 6A55B07F42EFB9E6E03089F3F9A7220F method: POST - uri: https://search30390fa4.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search30390fa4.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"@odata.count":7,"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_coverage.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_coverage.yaml index 6d81559ed8ea..c533b53d2b0c 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_coverage.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_coverage.yaml @@ -17,7 +17,7 @@ interactions: api-key: - 2012A83AD519035A878754DF20535EC1 method: POST - uri: https://search504f1054.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search504f1054.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside @@ -110,7 +110,7 @@ interactions: api-key: - 2012A83AD519035A878754DF20535EC1 method: POST - uri: https://search504f1054.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search504f1054.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"@search.coverage":100.0,"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_facets_none.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_facets_none.yaml index 43a8b61f589a..aabdde1b36d5 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_facets_none.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_facets_none.yaml @@ -17,7 +17,7 @@ interactions: api-key: - E708C0D55BDFCED551EEEFA491DAAF80 method: POST - uri: https://search8339118d.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search8339118d.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.2423066,"hotelName":"Countryside Hotel","description":"Save diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_facets_result.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_facets_result.yaml index 96704fc1f272..c043dbbb0f72 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_facets_result.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_facets_result.yaml @@ -17,7 +17,7 @@ interactions: api-key: - 3264E611B72761B1DD80EA3277F4EE84 method: POST - uri: https://searcha7c9127c.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://searcha7c9127c.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"@search.facets":{"category":[{"count":4,"value":"Budget"},{"count":1,"value":"Luxury"}]},"value":[{"@search.score":0.2423066,"hotelName":"Countryside diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_filter.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_filter.yaml index 43444d7d6b64..62b1a894b6ba 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_filter.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_filter.yaml @@ -18,7 +18,7 @@ interactions: api-key: - B583478EFB4C1DBC374E331DA859BE86 method: POST - uri: https://search2ffc0f8e.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search2ffc0f8e.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.19169211,"hotelName":"Express Rooms","description":"Pretty diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_simple.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_simple.yaml index 98812f5f8246..93d2a076f08b 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_simple.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_get_search_simple.yaml @@ -17,7 +17,7 @@ interactions: api-key: - 61C29831B328077CA7F9271631F6FACD method: POST - uri: https://search30430f92.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search30430f92.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":0.48248714,"hotelId":"10","hotelName":"Countryside @@ -110,7 +110,7 @@ interactions: api-key: - 61C29831B328077CA7F9271631F6FACD method: POST - uri: https://search30430f92.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2019-05-06-Preview + uri: https://search30430f92.search.windows.net/indexes('drgqefsg')/docs/search.post.search?api-version=2020-06-30 response: body: string: '{"value":[{"@search.score":1.2368374,"hotelId":"2","hotelName":"Roach diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_documents_existing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_documents_existing.yaml index 675228e4dc2a..a0276ad45b7b 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_documents_existing.yaml @@ -18,7 +18,7 @@ interactions: api-key: - F8DD003FC5552C963171F79B1E2FBCFF method: POST - uri: https://searchaa14129f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://searchaa14129f.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"3","status":true,"errorMessage":null,"statusCode":200},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -64,7 +64,7 @@ interactions: api-key: - F8DD003FC5552C963171F79B1E2FBCFF method: GET - uri: https://searchaa14129f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://searchaa14129f.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" @@ -110,7 +110,7 @@ interactions: api-key: - F8DD003FC5552C963171F79B1E2FBCFF method: GET - uri: https://searchaa14129f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2019-05-06-Preview + uri: https://searchaa14129f.search.windows.net/indexes('drgqefsg')/docs('3')?api-version=2020-06-30 response: body: string: '{"hotelId":"3","hotelName":"EconoStay","description":"Very popular @@ -157,7 +157,7 @@ interactions: api-key: - F8DD003FC5552C963171F79B1E2FBCFF method: GET - uri: https://searchaa14129f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://searchaa14129f.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_documents_missing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_documents_missing.yaml index bf2d5925dd31..88cf15aa9748 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_documents_missing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_documents_missing.yaml @@ -18,7 +18,7 @@ interactions: api-key: - C2268A70B7F246FB2B96488EBCFCEA29 method: POST - uri: https://search9767122e.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://search9767122e.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":false,"errorMessage":"Document not @@ -65,7 +65,7 @@ interactions: api-key: - C2268A70B7F246FB2B96488EBCFCEA29 method: GET - uri: https://search9767122e.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://search9767122e.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF10" @@ -111,7 +111,7 @@ interactions: api-key: - C2268A70B7F246FB2B96488EBCFCEA29 method: GET - uri: https://search9767122e.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://search9767122e.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '' @@ -149,7 +149,7 @@ interactions: api-key: - C2268A70B7F246FB2B96488EBCFCEA29 method: GET - uri: https://search9767122e.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://search9767122e.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_or_upload_documents.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_or_upload_documents.yaml index 68a475f548ef..a2f99cbae4a1 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_or_upload_documents.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_merge_or_upload_documents.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 8AAFBCAFAC7EBBE2BEB172384549698B method: POST - uri: https://searchbc7412f9.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://searchbc7412f9.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"4","status":true,"errorMessage":null,"statusCode":200}]}' @@ -64,7 +64,7 @@ interactions: api-key: - 8AAFBCAFAC7EBBE2BEB172384549698B method: GET - uri: https://searchbc7412f9.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://searchbc7412f9.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF11" @@ -110,7 +110,7 @@ interactions: api-key: - 8AAFBCAFAC7EBBE2BEB172384549698B method: GET - uri: https://searchbc7412f9.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://searchbc7412f9.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '{"hotelId":"1000","hotelName":null,"description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":1,"location":null,"address":null,"rooms":[]}' @@ -156,7 +156,7 @@ interactions: api-key: - 8AAFBCAFAC7EBBE2BEB172384549698B method: GET - uri: https://searchbc7412f9.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2019-05-06-Preview + uri: https://searchbc7412f9.search.windows.net/indexes('drgqefsg')/docs('4')?api-version=2020-06-30 response: body: string: '{"hotelId":"4","hotelName":"Express Rooms","description":"Pretty good diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_suggest.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_suggest.yaml index a769630595dc..476b450221df 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_suggest.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_suggest.yaml @@ -17,7 +17,7 @@ interactions: api-key: - 695188929E18C58655D330646534780F method: POST - uri: https://searcha7cc0b96.search.windows.net/indexes('drgqefsg')/docs/search.post.suggest?api-version=2019-05-06-Preview + uri: https://searcha7cc0b96.search.windows.net/indexes('drgqefsg')/docs/search.post.suggest?api-version=2020-06-30 response: body: string: '{"value":[{"@search.text":"Cheapest hotel in town. Infact, a motel.","hotelId":"2"},{"@search.text":"Secret diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_upload_documents_existing.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_upload_documents_existing.yaml index 6ecd5c13c53b..7b65eb4b1e8e 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_upload_documents_existing.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_upload_documents_existing.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 614F11610EB5311453B55AFF2AE5B215 method: POST - uri: https://searchbe2a1314.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://searchbe2a1314.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"3","status":true,"errorMessage":null,"statusCode":200}]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_upload_documents_new.yaml b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_upload_documents_new.yaml index 70db2461f6fa..5b45291f26af 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_upload_documents_new.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_index_live.test_upload_documents_new.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 21A4500B93DEC39E920E11ED8C2B1C48 method: POST - uri: https://search62f510f3.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2019-05-06-Preview + uri: https://search62f510f3.search.windows.net/indexes('drgqefsg')/docs/search.index?api-version=2020-06-30 response: body: string: '{"value":[{"key":"1000","status":true,"errorMessage":null,"statusCode":201},{"key":"1001","status":true,"errorMessage":null,"statusCode":201}]}' @@ -65,7 +65,7 @@ interactions: api-key: - 21A4500B93DEC39E920E11ED8C2B1C48 method: GET - uri: https://search62f510f3.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2019-05-06-Preview + uri: https://search62f510f3.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30 response: body: string: "\uFEFF12" @@ -111,7 +111,7 @@ interactions: api-key: - 21A4500B93DEC39E920E11ED8C2B1C48 method: GET - uri: https://search62f510f3.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2019-05-06-Preview + uri: https://search62f510f3.search.windows.net/indexes('drgqefsg')/docs('1000')?api-version=2020-06-30 response: body: string: '{"hotelId":"1000","hotelName":"Azure Inn","description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":5,"location":null,"address":null,"rooms":[]}' @@ -157,7 +157,7 @@ interactions: api-key: - 21A4500B93DEC39E920E11ED8C2B1C48 method: GET - uri: https://search62f510f3.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2019-05-06-Preview + uri: https://search62f510f3.search.windows.net/indexes('drgqefsg')/docs('1001')?api-version=2020-06-30 response: body: string: '{"hotelId":"1001","hotelName":"Redmond Hotel","description":null,"descriptionFr":null,"category":null,"tags":[],"parkingIncluded":null,"smokingAllowed":null,"lastRenovationDate":null,"rating":4,"location":null,"address":null,"rooms":[]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_analyze_text.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_analyze_text.yaml index 16852a3192c7..c6a092ce073e 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_analyze_text.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_analyze_text.yaml @@ -17,7 +17,7 @@ interactions: api-key: - 980E4A06562888E4EC5397BE01F2DE38 method: POST - uri: https://search4d10e85.search.windows.net/indexes('drgqefsg')/search.analyze?api-version=2019-05-06-Preview + uri: https://search4d10e85.search.windows.net/indexes('drgqefsg')/search.analyze?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4d10e85.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.AnalyzeResult","tokens":[{"token":"one''s","startOffset":0,"endOffset":5,"position":0},{"token":"two","startOffset":7,"endOffset":10,"position":1}]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_datasource.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_datasource.yaml index b00e9d7abd8d..232feca5e9c1 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_datasource.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_datasource.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 0E3774E832B8584D0AC648C5FAA3D77C method: POST - uri: https://search51c7106b.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search51c7106b.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search51c7106b.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC9494AD4705\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search51c7106b.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search51c7106b.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_index.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_index.yaml index 9fad4a97f87b..7ccda4c66d25 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_index.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_index.yaml @@ -20,7 +20,7 @@ interactions: api-key: - 1C166A5AB3A98880F52DC59909AC7CD1 method: POST - uri: https://search3f00e58.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search3f00e58.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search3f00e58.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EC94044D5005\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[{"name":"MyProfile","functionAggregation":null,"text":null,"functions":[]}],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -40,7 +40,7 @@ interactions: expires: - '-1' location: - - https://search3f00e58.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://search3f00e58.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_indexer.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_indexer.yaml index d9d9ead51262..8b7d7eee7caf 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_indexer.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 77C02FA230F2A765BD5521B74DD1F4A6 method: POST - uri: https://search21dc0f2f.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search21dc0f2f.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21dc0f2f.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED510D525790\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://search21dc0f2f.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search21dc0f2f.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - 77C02FA230F2A765BD5521B74DD1F4A6 method: POST - uri: https://search21dc0f2f.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search21dc0f2f.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21dc0f2f.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED510E3391AF\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://search21dc0f2f.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://search21dc0f2f.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - 77C02FA230F2A765BD5521B74DD1F4A6 method: POST - uri: https://search21dc0f2f.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search21dc0f2f.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21dc0f2f.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED510EA2BB62\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://search21dc0f2f.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://search21dc0f2f.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_datasource.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_datasource.yaml index 57d6517ef7e8..13b1616dc087 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_datasource.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_datasource.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 424F1875A344DE98823F9BD67139C0D1 method: POST - uri: https://searchcca148d.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchcca148d.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchcca148d.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC949C2A658D\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://searchcca148d.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://searchcca148d.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - 424F1875A344DE98823F9BD67139C0D1 method: GET - uri: https://searchcca148d.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchcca148d.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchcca148d.search.windows.net/$metadata#datasources","value":[{"@odata.etag":"\"0x8D7EC949C2A658D\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}]}' @@ -121,7 +121,7 @@ interactions: api-key: - 424F1875A344DE98823F9BD67139C0D1 method: PUT - uri: https://searchcca148d.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://searchcca148d.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchcca148d.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC949C3F02C7\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -169,7 +169,7 @@ interactions: api-key: - 424F1875A344DE98823F9BD67139C0D1 method: GET - uri: https://searchcca148d.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchcca148d.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchcca148d.search.windows.net/$metadata#datasources","value":[{"@odata.etag":"\"0x8D7EC949C3F02C7\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}]}' @@ -215,7 +215,7 @@ interactions: api-key: - 424F1875A344DE98823F9BD67139C0D1 method: GET - uri: https://searchcca148d.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://searchcca148d.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchcca148d.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC949C3F02C7\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_datasource_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_datasource_if_unchanged.yaml index 9f06288e8cd0..fd0ed9474580 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_datasource_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_datasource_if_unchanged.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 0DBCB3E23D05E4915AB588A0A3E6A929 method: POST - uri: https://search3c8b19c7.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search3c8b19c7.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search3c8b19c7.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED71775A7B36\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search3c8b19c7.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search3c8b19c7.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -75,7 +75,7 @@ interactions: api-key: - 0DBCB3E23D05E4915AB588A0A3E6A929 method: PUT - uri: https://search3c8b19c7.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://search3c8b19c7.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search3c8b19c7.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED717773D43C\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -133,7 +133,7 @@ interactions: api-key: - 0DBCB3E23D05E4915AB588A0A3E6A929 method: PUT - uri: https://search3c8b19c7.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://search3c8b19c7.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_index.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_index.yaml index d0f645812e6b..794b4a528f64 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_index.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_index.yaml @@ -22,7 +22,7 @@ interactions: api-key: - C02F3671BBF7211EEE91673DC882584B method: PUT - uri: https://searchaa3a127a.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://searchaa3a127a.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchaa3a127a.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EC940BA55393\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -42,7 +42,7 @@ interactions: expires: - '-1' location: - - https://searchaa3a127a.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://searchaa3a127a.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -79,7 +79,7 @@ interactions: api-key: - C02F3671BBF7211EEE91673DC882584B method: PUT - uri: https://searchaa3a127a.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://searchaa3a127a.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchaa3a127a.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EC940BEEC61E\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[{"name":"MyProfile","functionAggregation":null,"text":null,"functions":[]}],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexer.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexer.yaml index 0574fdf5ebdf..6b55bf9022ff 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexer.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 611B37AA724F1C68730D7CF6A8C3A842 method: POST - uri: https://searchd06a1351.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchd06a1351.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd06a1351.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED5117F9A6D3\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://searchd06a1351.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://searchd06a1351.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - 611B37AA724F1C68730D7CF6A8C3A842 method: POST - uri: https://searchd06a1351.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://searchd06a1351.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd06a1351.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED511891E3D4\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://searchd06a1351.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://searchd06a1351.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - 611B37AA724F1C68730D7CF6A8C3A842 method: POST - uri: https://searchd06a1351.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://searchd06a1351.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd06a1351.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5118EC7055\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://searchd06a1351.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://searchd06a1351.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -172,7 +172,7 @@ interactions: api-key: - 611B37AA724F1C68730D7CF6A8C3A842 method: GET - uri: https://searchd06a1351.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://searchd06a1351.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd06a1351.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED5118EC7055\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -225,7 +225,7 @@ interactions: api-key: - 611B37AA724F1C68730D7CF6A8C3A842 method: PUT - uri: https://searchd06a1351.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://searchd06a1351.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd06a1351.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED511931C355\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -273,7 +273,7 @@ interactions: api-key: - 611B37AA724F1C68730D7CF6A8C3A842 method: GET - uri: https://searchd06a1351.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://searchd06a1351.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd06a1351.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED511931C355\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -319,7 +319,7 @@ interactions: api-key: - 611B37AA724F1C68730D7CF6A8C3A842 method: GET - uri: https://searchd06a1351.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://searchd06a1351.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchd06a1351.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED511931C355\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexer_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexer_if_unchanged.yaml index 2ef20dfd9b3a..62ff90a85bdc 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexer_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexer_if_unchanged.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 7966DDD092384BAD2A12CDC8418DF7D1 method: POST - uri: https://searchf01f188b.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchf01f188b.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf01f188b.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EE17B51C89C5\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://searchf01f188b.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://searchf01f188b.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - 7966DDD092384BAD2A12CDC8418DF7D1 method: POST - uri: https://searchf01f188b.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://searchf01f188b.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf01f188b.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EE17B5D72DF6\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://searchf01f188b.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://searchf01f188b.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - 7966DDD092384BAD2A12CDC8418DF7D1 method: POST - uri: https://searchf01f188b.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://searchf01f188b.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf01f188b.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7EE17B61DBE45\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://searchf01f188b.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://searchf01f188b.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -179,7 +179,7 @@ interactions: api-key: - 7966DDD092384BAD2A12CDC8418DF7D1 method: PUT - uri: https://searchf01f188b.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://searchf01f188b.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf01f188b.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7EE17B646D43E\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -237,7 +237,7 @@ interactions: api-key: - 7966DDD092384BAD2A12CDC8418DF7D1 method: PUT - uri: https://searchf01f188b.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://searchf01f188b.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexes_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexes_if_unchanged.yaml index 365fc8599bfa..247d2d979d99 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexes_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_indexes_if_unchanged.yaml @@ -20,7 +20,7 @@ interactions: api-key: - 7EDDD034F9B54CB2E3BC204320340D62 method: POST - uri: https://searchf02d188c.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://searchf02d188c.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf02d188c.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED713C61993A\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[{"name":"MyProfile","functionAggregation":null,"text":null,"functions":[]}],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -40,7 +40,7 @@ interactions: expires: - '-1' location: - - https://searchf02d188c.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://searchf02d188c.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -77,7 +77,7 @@ interactions: api-key: - 7EDDD034F9B54CB2E3BC204320340D62 method: PUT - uri: https://searchf02d188c.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://searchf02d188c.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf02d188c.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED713C80E6C7\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -136,7 +136,7 @@ interactions: api-key: - 7EDDD034F9B54CB2E3BC204320340D62 method: PUT - uri: https://searchf02d188c.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://searchf02d188c.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset.yaml index 4fb71e6f399a..b6ddd4472f0a 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset.yaml @@ -22,7 +22,7 @@ interactions: api-key: - 137CEEC8B0A9B0FDC772FF8489590519 method: PUT - uri: https://searche48b13cd.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searche48b13cd.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searche48b13cd.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC945F838D92\"","name":"test-ss","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -42,7 +42,7 @@ interactions: expires: - '-1' location: - - https://searche48b13cd.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + - https://searche48b13cd.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -79,7 +79,7 @@ interactions: api-key: - 137CEEC8B0A9B0FDC772FF8489590519 method: PUT - uri: https://searche48b13cd.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searche48b13cd.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searche48b13cd.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC945F93BD2C\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -127,7 +127,7 @@ interactions: api-key: - 137CEEC8B0A9B0FDC772FF8489590519 method: GET - uri: https://searche48b13cd.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://searche48b13cd.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searche48b13cd.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7EC945F93BD2C\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -173,7 +173,7 @@ interactions: api-key: - 137CEEC8B0A9B0FDC772FF8489590519 method: GET - uri: https://searche48b13cd.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searche48b13cd.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searche48b13cd.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC945F93BD2C\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset_if_unchanged.yaml index ddc3cec1b1df..a6e702cf0d47 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset_if_unchanged.yaml @@ -22,7 +22,7 @@ interactions: api-key: - 898AD7814EFB81496ACE7ECB4B684BFD method: PUT - uri: https://searcha9b1907.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searcha9b1907.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searcha9b1907.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7ED716321E476\"","name":"test-ss","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -42,7 +42,7 @@ interactions: expires: - '-1' location: - - https://searcha9b1907.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + - https://searcha9b1907.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -79,7 +79,7 @@ interactions: api-key: - 898AD7814EFB81496ACE7ECB4B684BFD method: PUT - uri: https://searcha9b1907.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searcha9b1907.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searcha9b1907.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7ED716345788B\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -127,7 +127,7 @@ interactions: api-key: - 898AD7814EFB81496ACE7ECB4B684BFD method: GET - uri: https://searcha9b1907.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://searcha9b1907.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searcha9b1907.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7ED716345788B\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -184,7 +184,7 @@ interactions: api-key: - 898AD7814EFB81496ACE7ECB4B684BFD method: PUT - uri: https://searcha9b1907.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://searcha9b1907.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset_inplace.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset_inplace.yaml index 5d3240d4d89a..9d6ebbde69c8 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset_inplace.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_skillset_inplace.yaml @@ -22,7 +22,7 @@ interactions: api-key: - 7BCAA2A42703160BBB7A7EB13D0570A2 method: PUT - uri: https://search919b1708.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search919b1708.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search919b1708.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC946711539F\"","name":"test-ss","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -42,7 +42,7 @@ interactions: expires: - '-1' location: - - https://search919b1708.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + - https://search919b1708.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -79,7 +79,7 @@ interactions: api-key: - 7BCAA2A42703160BBB7A7EB13D0570A2 method: PUT - uri: https://search919b1708.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search919b1708.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search919b1708.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC94671E9C8A\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -127,7 +127,7 @@ interactions: api-key: - 7BCAA2A42703160BBB7A7EB13D0570A2 method: GET - uri: https://search919b1708.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search919b1708.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search919b1708.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7EC94671E9C8A\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -173,7 +173,7 @@ interactions: api-key: - 7BCAA2A42703160BBB7A7EB13D0570A2 method: GET - uri: https://search919b1708.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search919b1708.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search919b1708.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC94671E9C8A\"","name":"test-ss","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_synonym_map.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_synonym_map.yaml index ece53546cf6d..378f5d010a9e 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_synonym_map.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_synonym_map.yaml @@ -18,7 +18,7 @@ interactions: api-key: - EC1F64A6D07AB016456D278C08E0D3A0 method: POST - uri: https://search2351151c.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search2351151c.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search2351151c.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC94379003F5\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search2351151c.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + - https://search2351151c.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - EC1F64A6D07AB016456D278C08E0D3A0 method: GET - uri: https://search2351151c.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search2351151c.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search2351151c.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC94379003F5\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -121,7 +121,7 @@ interactions: api-key: - EC1F64A6D07AB016456D278C08E0D3A0 method: PUT - uri: https://search2351151c.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search2351151c.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search2351151c.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC9437A3416B\"","name":"test-syn-map","format":"solr","synonyms":"Washington, @@ -170,7 +170,7 @@ interactions: api-key: - EC1F64A6D07AB016456D278C08E0D3A0 method: GET - uri: https://search2351151c.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search2351151c.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search2351151c.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC9437A3416B\"","name":"test-syn-map","format":"solr","synonyms":"Washington, @@ -217,7 +217,7 @@ interactions: api-key: - EC1F64A6D07AB016456D278C08E0D3A0 method: GET - uri: https://search2351151c.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search2351151c.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search2351151c.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC9437A3416B\"","name":"test-syn-map","format":"solr","synonyms":"Washington, diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_synonym_map_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_synonym_map_if_unchanged.yaml index 920cac84f591..b3b5b144edd8 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_synonym_map_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_or_update_synonym_map_if_unchanged.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 46DF28A1622AC6557E74984EDD9A64E7 method: POST - uri: https://search5a551a56.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search5a551a56.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search5a551a56.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7ED71502253A0\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search5a551a56.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + - https://search5a551a56.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -74,7 +74,7 @@ interactions: api-key: - 46DF28A1622AC6557E74984EDD9A64E7 method: PUT - uri: https://search5a551a56.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search5a551a56.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search5a551a56.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7ED715031236D\"","name":"test-syn-map","format":"solr","synonyms":"Washington, @@ -132,7 +132,7 @@ interactions: api-key: - 46DF28A1622AC6557E74984EDD9A64E7 method: PUT - uri: https://search5a551a56.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search5a551a56.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_skillset.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_skillset.yaml index 7912c8bf6566..0fa770a429c2 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_skillset.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_skillset.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 190A4566DDA77F82BEE19B1588A89BA8 method: POST - uri: https://search31db0fab.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search31db0fab.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search31db0fab.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC946DEEBBDA\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search31db0fab.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + - https://search31db0fab.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - 190A4566DDA77F82BEE19B1588A89BA8 method: GET - uri: https://search31db0fab.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search31db0fab.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search31db0fab.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7EC946DEEBBDA\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_synonym_map.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_synonym_map.yaml index dbf1fb417ee7..4a2283486527 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_synonym_map.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_create_synonym_map.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 5466BA2F17F7BB274AF2C6FCDA6EE518 method: POST - uri: https://search642c10fa.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search642c10fa.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search642c10fa.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC943E5D3A13\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search642c10fa.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + - https://search642c10fa.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - 5466BA2F17F7BB274AF2C6FCDA6EE518 method: GET - uri: https://search642c10fa.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search642c10fa.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search642c10fa.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC943E5D3A13\"","name":"test-syn-map","format":"solr","synonyms":"USA, diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource.yaml index 916b6d9e7534..1212b611578a 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 1C5B43C52D408683A88B701C2E27EDD2 method: POST - uri: https://search51a9106a.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search51a9106a.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search51a9106a.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC94A414B210\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search51a9106a.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search51a9106a.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - 1C5B43C52D408683A88B701C2E27EDD2 method: GET - uri: https://search51a9106a.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search51a9106a.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search51a9106a.search.windows.net/$metadata#datasources","value":[{"@odata.etag":"\"0x8D7EC94A414B210\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}]}' @@ -115,7 +115,7 @@ interactions: api-key: - 1C5B43C52D408683A88B701C2E27EDD2 method: DELETE - uri: https://search51a9106a.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://search51a9106a.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '' @@ -151,7 +151,7 @@ interactions: api-key: - 1C5B43C52D408683A88B701C2E27EDD2 method: GET - uri: https://search51a9106a.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search51a9106a.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search51a9106a.search.windows.net/$metadata#datasources","value":[]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource_if_unchanged.yaml index 7d52e66e1304..264af1c2567e 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource_if_unchanged.yaml @@ -19,7 +19,7 @@ interactions: api-key: - F1F2BD64ED2A908278EBA8650A6C8DEE method: POST - uri: https://search4ba315a4.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search4ba315a4.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4ba315a4.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED7181869172\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search4ba315a4.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search4ba315a4.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -75,7 +75,7 @@ interactions: api-key: - F1F2BD64ED2A908278EBA8650A6C8DEE method: PUT - uri: https://search4ba315a4.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://search4ba315a4.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4ba315a4.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED71819F26FD\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -127,7 +127,7 @@ interactions: api-key: - F1F2BD64ED2A908278EBA8650A6C8DEE method: DELETE - uri: https://search4ba315a4.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://search4ba315a4.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource_string_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource_string_if_unchanged.yaml index a19a6b9709f4..a74a64681280 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource_string_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_datasource_string_if_unchanged.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 371E8B1C08DCB8B5AEF87D7E375D42AE method: POST - uri: https://searchf0dc189a.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchf0dc189a.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf0dc189a.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EE1DB1EEB45B\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://searchf0dc189a.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://searchf0dc189a.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -75,7 +75,7 @@ interactions: api-key: - 371E8B1C08DCB8B5AEF87D7E375D42AE method: PUT - uri: https://searchf0dc189a.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://searchf0dc189a.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf0dc189a.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EE1DB20218D0\"","name":"sample-datasource","description":"updated","type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexer.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexer.yaml index 3405a6a134d2..3417b5aa6198 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexer.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 9E6C3CF9019ACCA2B66CCE69981C8123 method: POST - uri: https://search21c10f2e.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search21c10f2e.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21c10f2e.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED5125E3C05D\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://search21c10f2e.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search21c10f2e.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - 9E6C3CF9019ACCA2B66CCE69981C8123 method: POST - uri: https://search21c10f2e.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search21c10f2e.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21c10f2e.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED5126BDF45D\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://search21c10f2e.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://search21c10f2e.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - 9E6C3CF9019ACCA2B66CCE69981C8123 method: POST - uri: https://search21c10f2e.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search21c10f2e.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21c10f2e.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5127191D3F\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://search21c10f2e.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://search21c10f2e.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -172,7 +172,7 @@ interactions: api-key: - 9E6C3CF9019ACCA2B66CCE69981C8123 method: GET - uri: https://search21c10f2e.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search21c10f2e.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21c10f2e.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED5127191D3F\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -220,7 +220,7 @@ interactions: api-key: - 9E6C3CF9019ACCA2B66CCE69981C8123 method: DELETE - uri: https://search21c10f2e.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://search21c10f2e.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '' @@ -256,7 +256,7 @@ interactions: api-key: - 9E6C3CF9019ACCA2B66CCE69981C8123 method: GET - uri: https://search21c10f2e.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search21c10f2e.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21c10f2e.search.windows.net/$metadata#indexers","value":[]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexer_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexer_if_unchanged.yaml index 2e561597eb11..b7c19d082a8e 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexer_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexer_if_unchanged.yaml @@ -18,7 +18,7 @@ interactions: api-key: - E3F54485B0A3180E091774FCC0413692 method: POST - uri: https://searchbaf1468.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchbaf1468.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchbaf1468.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EE17BEFA29F2\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://searchbaf1468.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://searchbaf1468.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - E3F54485B0A3180E091774FCC0413692 method: POST - uri: https://searchbaf1468.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://searchbaf1468.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchbaf1468.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EE17BF71C167\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://searchbaf1468.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://searchbaf1468.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - E3F54485B0A3180E091774FCC0413692 method: POST - uri: https://searchbaf1468.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://searchbaf1468.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchbaf1468.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7EE17BFE1B5D9\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://searchbaf1468.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://searchbaf1468.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -179,7 +179,7 @@ interactions: api-key: - E3F54485B0A3180E091774FCC0413692 method: PUT - uri: https://searchbaf1468.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://searchbaf1468.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchbaf1468.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7EE17C015077F\"","name":"sample-indexer","description":"updated","dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -231,7 +231,7 @@ interactions: api-key: - E3F54485B0A3180E091774FCC0413692 method: DELETE - uri: https://searchbaf1468.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://searchbaf1468.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexes.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexes.yaml index a4eda3a99d41..5ae73857d8f5 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexes.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexes.yaml @@ -15,7 +15,7 @@ interactions: api-key: - 4047D6344BEF3D3392D3F9E3C29654B1 method: DELETE - uri: https://search21c20f2f.search.windows.net/indexes('drgqefsg')?api-version=2019-05-06-Preview + uri: https://search21c20f2f.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: string: '' @@ -51,7 +51,7 @@ interactions: api-key: - 4047D6344BEF3D3392D3F9E3C29654B1 method: GET - uri: https://search21c20f2f.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search21c20f2f.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21c20f2f.search.windows.net/$metadata#indexes","value":[]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexes_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexes_if_unchanged.yaml index eb295a1b7e0b..82f7363da976 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexes_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_indexes_if_unchanged.yaml @@ -20,7 +20,7 @@ interactions: api-key: - 0ABC8B358D4D85386822B456F8767860 method: POST - uri: https://searchbbd1469.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://searchbbd1469.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchbbd1469.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED714678528F\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[{"name":"MyProfile","functionAggregation":null,"text":null,"functions":[]}],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -40,7 +40,7 @@ interactions: expires: - '-1' location: - - https://searchbbd1469.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://searchbbd1469.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -77,7 +77,7 @@ interactions: api-key: - 0ABC8B358D4D85386822B456F8767860 method: PUT - uri: https://searchbbd1469.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://searchbbd1469.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchbbd1469.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED714695F21D\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":{"allowedOrigins":["*"],"maxAgeInSeconds":60},"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -129,7 +129,7 @@ interactions: api-key: - 0ABC8B358D4D85386822B456F8767860 method: DELETE - uri: https://searchbbd1469.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + uri: https://searchbbd1469.search.windows.net/indexes('hotels')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_skillset.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_skillset.yaml index a0dc0ccf8f6b..b443f335f537 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_skillset.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_skillset.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 9715B5769069781F16C928BBC2605D8E method: POST - uri: https://search31bf0faa.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search31bf0faa.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search31bf0faa.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC9474EB318F\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search31bf0faa.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + - https://search31bf0faa.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - 9715B5769069781F16C928BBC2605D8E method: GET - uri: https://search31bf0faa.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search31bf0faa.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search31bf0faa.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7EC9474EB318F\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -115,7 +115,7 @@ interactions: api-key: - 9715B5769069781F16C928BBC2605D8E method: DELETE - uri: https://search31bf0faa.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search31bf0faa.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '' @@ -151,7 +151,7 @@ interactions: api-key: - 9715B5769069781F16C928BBC2605D8E method: GET - uri: https://search31bf0faa.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search31bf0faa.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search31bf0faa.search.windows.net/$metadata#skillsets","value":[]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_skillset_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_skillset_if_unchanged.yaml index 4da2935dfcb9..eb6907a14ee5 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_skillset_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_skillset_if_unchanged.yaml @@ -19,7 +19,7 @@ interactions: api-key: - E5E890D66B801E7867C9E374922FC838 method: POST - uri: https://search21f914e4.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search21f914e4.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21f914e4.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7ED716DB3B0F7\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search21f914e4.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + - https://search21f914e4.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -76,7 +76,7 @@ interactions: api-key: - E5E890D66B801E7867C9E374922FC838 method: PUT - uri: https://search21f914e4.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search21f914e4.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search21f914e4.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7ED716DCDF47B\"","name":"test-ss","description":"updated","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -128,7 +128,7 @@ interactions: api-key: - E5E890D66B801E7867C9E374922FC838 method: DELETE - uri: https://search21f914e4.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search21f914e4.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_synonym_map.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_synonym_map.yaml index 9eec4f287ded..1b4b8025864a 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_synonym_map.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_synonym_map.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 14E7C5E27E195E2E30A41D7A548E964C method: POST - uri: https://search640d10f9.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search640d10f9.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search640d10f9.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC944ADA1B1D\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search640d10f9.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + - https://search640d10f9.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - 14E7C5E27E195E2E30A41D7A548E964C method: GET - uri: https://search640d10f9.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search640d10f9.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search640d10f9.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC944ADA1B1D\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -116,7 +116,7 @@ interactions: api-key: - 14E7C5E27E195E2E30A41D7A548E964C method: DELETE - uri: https://search640d10f9.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search640d10f9.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '' @@ -152,7 +152,7 @@ interactions: api-key: - 14E7C5E27E195E2E30A41D7A548E964C method: GET - uri: https://search640d10f9.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search640d10f9.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search640d10f9.search.windows.net/$metadata#synonymmaps","value":[]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_synonym_map_if_unchanged.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_synonym_map_if_unchanged.yaml index 6ff7fb694176..298252573320 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_synonym_map_if_unchanged.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_delete_synonym_map_if_unchanged.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 3C7456D14A4C1D58E3B5C8338B829E8D method: POST - uri: https://search654a1633.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search654a1633.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search654a1633.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7ED715978F503\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search654a1633.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + - https://search654a1633.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -74,7 +74,7 @@ interactions: api-key: - 3C7456D14A4C1D58E3B5C8338B829E8D method: PUT - uri: https://search654a1633.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search654a1633.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search654a1633.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7ED71598DB954\"","name":"test-syn-map","format":"solr","synonyms":"Washington, @@ -127,7 +127,7 @@ interactions: api-key: - 3C7456D14A4C1D58E3B5C8338B829E8D method: DELETE - uri: https://search654a1633.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search654a1633.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"error":{"code":"","message":"The precondition given in one of the diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_datasource.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_datasource.yaml index 2aef0705fc74..2f08af96df39 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_datasource.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_datasource.yaml @@ -19,7 +19,7 @@ interactions: api-key: - E49D04111DCB1738A561CC9902D552FE method: POST - uri: https://search22270f37.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search22270f37.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search22270f37.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC94AADF76DE\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search22270f37.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search22270f37.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - E49D04111DCB1738A561CC9902D552FE method: GET - uri: https://search22270f37.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + uri: https://search22270f37.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search22270f37.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC94AADF76DE\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_index.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_index.yaml index 17f3f73b85f1..1716e52358a6 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_index.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_index.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 61B995D646A110CCEC888B68E298FD85 method: GET - uri: https://searchda450d24.search.windows.net/indexes('drgqefsg')?api-version=2019-05-06-Preview + uri: https://searchda450d24.search.windows.net/indexes('drgqefsg')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchda450d24.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7EC941B4C6FB2\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_index_statistics.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_index_statistics.yaml index 0a3b7252bcc0..abdc5d5ea81d 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_index_statistics.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_index_statistics.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 6FBCE200FF6D960D275576AD2F8FB6F7 method: GET - uri: https://search86b411ce.search.windows.net/indexes('drgqefsg')/search.stats?api-version=2019-05-06-Preview + uri: https://search86b411ce.search.windows.net/indexes('drgqefsg')/search.stats?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search86b411ce.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.IndexStatistics","documentCount":0,"storageSize":0}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_indexer.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_indexer.yaml index 93dd175e56f3..87df466b6794 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_indexer.yaml @@ -18,7 +18,7 @@ interactions: api-key: - EF6DF05F92A8948F94DCE2B89C2D1E9C method: POST - uri: https://searchf5c90dfb.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchf5c90dfb.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf5c90dfb.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED5130775CFC\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://searchf5c90dfb.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://searchf5c90dfb.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - EF6DF05F92A8948F94DCE2B89C2D1E9C method: POST - uri: https://searchf5c90dfb.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://searchf5c90dfb.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf5c90dfb.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED51313C576E\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://searchf5c90dfb.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://searchf5c90dfb.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - EF6DF05F92A8948F94DCE2B89C2D1E9C method: POST - uri: https://searchf5c90dfb.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://searchf5c90dfb.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf5c90dfb.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5131BBB0C0\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://searchf5c90dfb.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://searchf5c90dfb.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -172,7 +172,7 @@ interactions: api-key: - EF6DF05F92A8948F94DCE2B89C2D1E9C method: GET - uri: https://searchf5c90dfb.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + uri: https://searchf5c90dfb.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf5c90dfb.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5131BBB0C0\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_indexer_status.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_indexer_status.yaml index 369012392a66..2b2236927f69 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_indexer_status.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_indexer_status.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 58F301B68D82458CCAFF56AF190D90E9 method: POST - uri: https://search638110fe.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search638110fe.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search638110fe.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED513BD34FD0\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://search638110fe.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search638110fe.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - 58F301B68D82458CCAFF56AF190D90E9 method: POST - uri: https://search638110fe.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search638110fe.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search638110fe.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED513C63EA4A\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://search638110fe.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://search638110fe.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - 58F301B68D82458CCAFF56AF190D90E9 method: POST - uri: https://search638110fe.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search638110fe.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search638110fe.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED513CD9A4E5\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://search638110fe.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://search638110fe.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -172,7 +172,7 @@ interactions: api-key: - 58F301B68D82458CCAFF56AF190D90E9 method: GET - uri: https://search638110fe.search.windows.net/indexers('sample-indexer')/search.status?api-version=2019-05-06-Preview + uri: https://search638110fe.search.windows.net/indexers('sample-indexer')/search.status?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search638110fe.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.IndexerExecutionInfo","name":"sample-indexer","status":"running","lastResult":null,"executionHistory":[],"limits":{"maxRunTime":"PT0S","maxDocumentExtractionSize":0,"maxDocumentContentCharactersToExtract":0}}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_service_statistics.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_service_statistics.yaml index de630fb0691c..32a7cfd386c4 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_service_statistics.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_service_statistics.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 9099402AA5DD674D2F4AB5E4CFAE0073 method: GET - uri: https://searchabe712a7.search.windows.net/servicestats?api-version=2019-05-06-Preview + uri: https://searchabe712a7.search.windows.net/servicestats?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchabe712a7.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.ServiceStatistics","counters":{"documentCount":{"usage":0,"quota":null},"indexesCount":{"usage":0,"quota":3},"indexersCount":{"usage":0,"quota":3},"dataSourcesCount":{"usage":0,"quota":3},"storageSize":{"usage":0,"quota":52428800},"synonymMaps":{"usage":0,"quota":3},"skillsetCount":{"usage":0,"quota":3}},"limits":{"maxFieldsPerIndex":1000,"maxFieldNestingDepthPerIndex":10,"maxComplexCollectionFieldsPerIndex":40,"maxComplexObjectsInCollectionsPerDocument":3000}}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_skillset.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_skillset.yaml index 03483618e2dd..143a1beb3550 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_skillset.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_skillset.yaml @@ -19,7 +19,7 @@ interactions: api-key: - E526608EB11E433B65F1F2591FD92E31 method: POST - uri: https://search4a30e77.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search4a30e77.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4a30e77.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC947C1D56A3\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search4a30e77.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + - https://search4a30e77.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - E526608EB11E433B65F1F2591FD92E31 method: GET - uri: https://search4a30e77.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search4a30e77.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4a30e77.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7EC947C1D56A3\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' @@ -113,7 +113,7 @@ interactions: api-key: - E526608EB11E433B65F1F2591FD92E31 method: GET - uri: https://search4a30e77.search.windows.net/skillsets('test-ss')?api-version=2019-05-06-Preview + uri: https://search4a30e77.search.windows.net/skillsets('test-ss')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4a30e77.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC947C1D56A3\"","name":"test-ss","description":"desc","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_skillsets.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_skillsets.yaml index cda94fbcc32d..9bbd6107bd15 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_skillsets.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_skillsets.yaml @@ -20,7 +20,7 @@ interactions: api-key: - B6B0828C8EC0450A923A37B8076FB654 method: POST - uri: https://search138d0eea.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search138d0eea.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search138d0eea.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC948D7A3762\"","name":"test-ss-1","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -40,7 +40,7 @@ interactions: expires: - '-1' location: - - https://search138d0eea.search.windows.net/skillsets('test-ss-1')?api-version=2019-05-06-Preview + - https://search138d0eea.search.windows.net/skillsets('test-ss-1')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -75,7 +75,7 @@ interactions: api-key: - B6B0828C8EC0450A923A37B8076FB654 method: POST - uri: https://search138d0eea.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search138d0eea.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search138d0eea.search.windows.net/$metadata#skillsets/$entity","@odata.etag":"\"0x8D7EC948D8BEDF0\"","name":"test-ss-2","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":null,"description":null,"context":null,"categories":[],"defaultLanguageCode":null,"minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}' @@ -95,7 +95,7 @@ interactions: expires: - '-1' location: - - https://search138d0eea.search.windows.net/skillsets('test-ss-2')?api-version=2019-05-06-Preview + - https://search138d0eea.search.windows.net/skillsets('test-ss-2')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -123,7 +123,7 @@ interactions: api-key: - B6B0828C8EC0450A923A37B8076FB654 method: GET - uri: https://search138d0eea.search.windows.net/skillsets?api-version=2019-05-06-Preview + uri: https://search138d0eea.search.windows.net/skillsets?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search138d0eea.search.windows.net/$metadata#skillsets","value":[{"@odata.etag":"\"0x8D7EC948D7A3762\"","name":"test-ss-1","description":"desc1","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null},{"@odata.etag":"\"0x8D7EC948D8BEDF0\"","name":"test-ss-2","description":"desc2","skills":[{"@odata.type":"#Microsoft.Skills.Text.EntityRecognitionSkill","name":"#1","description":null,"context":"/document","categories":["Person","Quantity","Organization","URL","Email","Location","DateTime"],"defaultLanguageCode":"en","minimumPrecision":null,"includeTypelessEntities":null,"inputs":[{"name":"text","source":"/document/content","sourceContext":null,"inputs":[]}],"outputs":[{"name":"organizations","targetName":"organizations"}]}],"cognitiveServices":null,"knowledgeStore":null}]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_synonym_map.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_synonym_map.yaml index 901db9b1c578..68c3546bd748 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_synonym_map.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_synonym_map.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 6778A373F35558F2511949D53BFE7365 method: POST - uri: https://search33580fc6.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search33580fc6.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search33580fc6.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC94518B5F89\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search33580fc6.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + - https://search33580fc6.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -67,7 +67,7 @@ interactions: api-key: - 6778A373F35558F2511949D53BFE7365 method: GET - uri: https://search33580fc6.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search33580fc6.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search33580fc6.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC94518B5F89\"","name":"test-syn-map","format":"solr","synonyms":"USA, @@ -114,7 +114,7 @@ interactions: api-key: - 6778A373F35558F2511949D53BFE7365 method: GET - uri: https://search33580fc6.search.windows.net/synonymmaps('test-syn-map')?api-version=2019-05-06-Preview + uri: https://search33580fc6.search.windows.net/synonymmaps('test-syn-map')?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search33580fc6.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC94518B5F89\"","name":"test-syn-map","format":"solr","synonyms":"USA, diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_synonym_maps.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_synonym_maps.yaml index 34472431c710..696685d5fb0b 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_synonym_maps.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_get_synonym_maps.yaml @@ -18,7 +18,7 @@ interactions: api-key: - F38023663AA7831EE2B4F0FB244EF306 method: POST - uri: https://search43911039.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search43911039.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search43911039.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC9458B82C72\"","name":"test-syn-map-1","format":"solr","synonyms":"USA, @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search43911039.search.windows.net/synonymmaps('test-syn-map-1')?api-version=2019-05-06-Preview + - https://search43911039.search.windows.net/synonymmaps('test-syn-map-1')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -72,7 +72,7 @@ interactions: api-key: - F38023663AA7831EE2B4F0FB244EF306 method: POST - uri: https://search43911039.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search43911039.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search43911039.search.windows.net/$metadata#synonymmaps/$entity","@odata.etag":"\"0x8D7EC9458C32AF7\"","name":"test-syn-map-2","format":"solr","synonyms":"Washington, @@ -93,7 +93,7 @@ interactions: expires: - '-1' location: - - https://search43911039.search.windows.net/synonymmaps('test-syn-map-2')?api-version=2019-05-06-Preview + - https://search43911039.search.windows.net/synonymmaps('test-syn-map-2')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -121,7 +121,7 @@ interactions: api-key: - F38023663AA7831EE2B4F0FB244EF306 method: GET - uri: https://search43911039.search.windows.net/synonymmaps?api-version=2019-05-06-Preview + uri: https://search43911039.search.windows.net/synonymmaps?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search43911039.search.windows.net/$metadata#synonymmaps","value":[{"@odata.etag":"\"0x8D7EC9458B82C72\"","name":"test-syn-map-1","format":"solr","synonyms":"USA, diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_datasource.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_datasource.yaml index 971447773730..56c150e0722f 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_datasource.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_datasource.yaml @@ -19,7 +19,7 @@ interactions: api-key: - 6C051A73A19918FEDC9EFD419203F1C7 method: POST - uri: https://search32ba0fb3.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search32ba0fb3.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search32ba0fb3.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC94B2E20FAE\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -39,7 +39,7 @@ interactions: expires: - '-1' location: - - https://search32ba0fb3.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search32ba0fb3.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -73,7 +73,7 @@ interactions: api-key: - 6C051A73A19918FEDC9EFD419203F1C7 method: POST - uri: https://search32ba0fb3.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search32ba0fb3.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search32ba0fb3.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7EC94B2ED837E\"","name":"another-sample","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -93,7 +93,7 @@ interactions: expires: - '-1' location: - - https://search32ba0fb3.search.windows.net/datasources('another-sample')?api-version=2019-05-06-Preview + - https://search32ba0fb3.search.windows.net/datasources('another-sample')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -121,7 +121,7 @@ interactions: api-key: - 6C051A73A19918FEDC9EFD419203F1C7 method: GET - uri: https://search32ba0fb3.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search32ba0fb3.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search32ba0fb3.search.windows.net/$metadata#datasources","value":[{"@odata.etag":"\"0x8D7EC94B2ED837E\"","name":"another-sample","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null},{"@odata.etag":"\"0x8D7EC94B2E20FAE\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexer.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexer.yaml index e77207c1cc77..58b99fddae0d 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexer.yaml @@ -18,7 +18,7 @@ interactions: api-key: - FAD6BE165A2964FC68B2409CBD3188D3 method: POST - uri: https://search4f70e77.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search4f70e77.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4f70e77.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED5146AB7BFE\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://search4f70e77.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search4f70e77.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - FAD6BE165A2964FC68B2409CBD3188D3 method: POST - uri: https://search4f70e77.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search4f70e77.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4f70e77.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED5147408421\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://search4f70e77.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://search4f70e77.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - FAD6BE165A2964FC68B2409CBD3188D3 method: POST - uri: https://search4f70e77.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search4f70e77.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4f70e77.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED514792D1C2\"","name":"another-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://search4f70e77.search.windows.net/datasources('another-datasource')?api-version=2019-05-06-Preview + - https://search4f70e77.search.windows.net/datasources('another-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -177,7 +177,7 @@ interactions: api-key: - FAD6BE165A2964FC68B2409CBD3188D3 method: POST - uri: https://search4f70e77.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search4f70e77.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4f70e77.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED51484C7F82\"","name":"another-index","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -197,7 +197,7 @@ interactions: expires: - '-1' location: - - https://search4f70e77.search.windows.net/indexes('another-index')?api-version=2019-05-06-Preview + - https://search4f70e77.search.windows.net/indexes('another-index')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -230,7 +230,7 @@ interactions: api-key: - FAD6BE165A2964FC68B2409CBD3188D3 method: POST - uri: https://search4f70e77.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search4f70e77.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4f70e77.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED51489A5F94\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -250,7 +250,7 @@ interactions: expires: - '-1' location: - - https://search4f70e77.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://search4f70e77.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -283,7 +283,7 @@ interactions: api-key: - FAD6BE165A2964FC68B2409CBD3188D3 method: POST - uri: https://search4f70e77.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search4f70e77.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4f70e77.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5148C94048\"","name":"another-indexer","description":null,"dataSourceName":"another-datasource","skillsetName":null,"targetIndexName":"another-index","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -303,7 +303,7 @@ interactions: expires: - '-1' location: - - https://search4f70e77.search.windows.net/indexers('another-indexer')?api-version=2019-05-06-Preview + - https://search4f70e77.search.windows.net/indexers('another-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -331,7 +331,7 @@ interactions: api-key: - FAD6BE165A2964FC68B2409CBD3188D3 method: GET - uri: https://search4f70e77.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search4f70e77.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4f70e77.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED5148C94048\"","name":"another-indexer","description":null,"dataSourceName":"another-datasource","skillsetName":null,"targetIndexName":"another-index","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null},{"@odata.etag":"\"0x8D7ED51489A5F94\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexes.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexes.yaml index 257fc77927de..b20808a684b5 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexes.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexes.yaml @@ -13,7 +13,7 @@ interactions: api-key: - FF50C21851A8A287CCB25DE530228B72 method: GET - uri: https://search4f80e78.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search4f80e78.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search4f80e78.search.windows.net/$metadata#indexes","value":[{"@odata.etag":"\"0x8D7EC94296AF173\"","name":"drgqefsg","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"hotelName","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"category","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"parkingIncluded","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"lastRenovationDate","type":"Edm.DateTimeOffset","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"rating","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"location","type":"Edm.GeographyPoint","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"address","type":"Edm.ComplexType","fields":[{"name":"streetAddress","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"city","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"stateProvince","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"country","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"postalCode","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]},{"name":"rooms","type":"Collection(Edm.ComplexType)","fields":[{"name":"description","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"en.lucene","synonymMaps":[]},{"name":"descriptionFr","type":"Edm.String","searchable":true,"filterable":false,"retrievable":true,"sortable":false,"facetable":false,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":"fr.lucene","synonymMaps":[]},{"name":"type","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"baseRate","type":"Edm.Double","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"bedOptions","type":"Edm.String","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"sleepsCount","type":"Edm.Int32","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"smokingAllowed","type":"Edm.Boolean","searchable":false,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]},{"name":"tags","type":"Collection(Edm.String)","searchable":true,"filterable":true,"retrievable":true,"sortable":false,"facetable":true,"key":false,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}]}],"scoringProfiles":[{"name":"nearest","functionAggregation":"sum","text":null,"functions":[{"fieldName":"location","interpolation":"linear","type":"distance","boost":2.0,"freshness":null,"magnitude":null,"distance":{"referencePointParameter":"myloc","boostingDistance":100.0},"tag":null}]}],"corsOptions":null,"suggesters":[{"name":"sg","searchMode":"analyzingInfixMatching","sourceFields":["description","hotelName"]}],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexes_empty.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexes_empty.yaml index af5124e52072..6de55d5d250d 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexes_empty.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_list_indexes_empty.yaml @@ -13,7 +13,7 @@ interactions: api-key: - 5E8598A1BBC6C32219175B1F71F10648 method: GET - uri: https://search64601106.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search64601106.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search64601106.search.windows.net/$metadata#indexes","value":[]}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_reset_indexer.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_reset_indexer.yaml index e24449563398..efe4cc0736bd 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_reset_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_reset_indexer.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 7F271F32C4D5BFC55396C3FF580E49E7 method: POST - uri: https://search13bc0ede.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://search13bc0ede.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search13bc0ede.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED51B1466EFF\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://search13bc0ede.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://search13bc0ede.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - 7F271F32C4D5BFC55396C3FF580E49E7 method: POST - uri: https://search13bc0ede.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://search13bc0ede.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search13bc0ede.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED51B2085B9F\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://search13bc0ede.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://search13bc0ede.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - 7F271F32C4D5BFC55396C3FF580E49E7 method: POST - uri: https://search13bc0ede.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search13bc0ede.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search13bc0ede.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED51B275D75A\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://search13bc0ede.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://search13bc0ede.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -172,7 +172,7 @@ interactions: api-key: - 7F271F32C4D5BFC55396C3FF580E49E7 method: GET - uri: https://search13bc0ede.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://search13bc0ede.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search13bc0ede.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED51B275D75A\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -220,7 +220,7 @@ interactions: api-key: - 7F271F32C4D5BFC55396C3FF580E49E7 method: POST - uri: https://search13bc0ede.search.windows.net/indexers('sample-indexer')/search.reset?api-version=2019-05-06-Preview + uri: https://search13bc0ede.search.windows.net/indexers('sample-indexer')/search.reset?api-version=2020-06-30 response: body: string: '' @@ -256,7 +256,7 @@ interactions: api-key: - 7F271F32C4D5BFC55396C3FF580E49E7 method: GET - uri: https://search13bc0ede.search.windows.net/indexers('sample-indexer')/search.status?api-version=2019-05-06-Preview + uri: https://search13bc0ede.search.windows.net/indexers('sample-indexer')/search.status?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://search13bc0ede.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.IndexerExecutionInfo","name":"sample-indexer","status":"running","lastResult":{"status":"reset","errorMessage":null,"startTime":"2020-04-30T21:59:04.132Z","endTime":"2020-04-30T21:59:04.132Z","itemsProcessed":0,"itemsFailed":0,"initialTrackingState":null,"finalTrackingState":null,"errors":[],"warnings":[],"metrics":null},"executionHistory":[{"status":"reset","errorMessage":null,"startTime":"2020-04-30T21:59:04.132Z","endTime":"2020-04-30T21:59:04.132Z","itemsProcessed":0,"itemsFailed":0,"initialTrackingState":null,"finalTrackingState":null,"errors":[],"warnings":[],"metrics":null}],"limits":null}' diff --git a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_run_indexer.yaml b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_run_indexer.yaml index d688ad66c35a..21529220b0d4 100644 --- a/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_run_indexer.yaml +++ b/sdk/search/azure-search-documents/tests/recordings/test_service_live.test_run_indexer.yaml @@ -18,7 +18,7 @@ interactions: api-key: - 46F2314D8E0FDB67E7AB8379484C7D80 method: POST - uri: https://searchf6ac0e10.search.windows.net/datasources?api-version=2019-05-06-Preview + uri: https://searchf6ac0e10.search.windows.net/datasources?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf6ac0e10.search.windows.net/$metadata#datasources/$entity","@odata.etag":"\"0x8D7ED5160A7FF06\"","name":"sample-datasource","description":null,"type":"azureblob","subtype":null,"credentials":{"connectionString":null},"container":{"name":"searchcontainer","query":null},"dataChangeDetectionPolicy":null,"dataDeletionDetectionPolicy":null}' @@ -38,7 +38,7 @@ interactions: expires: - '-1' location: - - https://searchf6ac0e10.search.windows.net/datasources('sample-datasource')?api-version=2019-05-06-Preview + - https://searchf6ac0e10.search.windows.net/datasources('sample-datasource')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -71,7 +71,7 @@ interactions: api-key: - 46F2314D8E0FDB67E7AB8379484C7D80 method: POST - uri: https://searchf6ac0e10.search.windows.net/indexes?api-version=2019-05-06-Preview + uri: https://searchf6ac0e10.search.windows.net/indexes?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf6ac0e10.search.windows.net/$metadata#indexes/$entity","@odata.etag":"\"0x8D7ED5162298E08\"","name":"hotels","defaultScoringProfile":null,"fields":[{"name":"hotelId","type":"Edm.String","searchable":false,"filterable":true,"retrievable":true,"sortable":true,"facetable":true,"key":true,"indexAnalyzer":null,"searchAnalyzer":null,"analyzer":null,"synonymMaps":[]}],"scoringProfiles":[],"corsOptions":null,"suggesters":[],"analyzers":[],"tokenizers":[],"tokenFilters":[],"charFilters":[],"encryptionKey":null,"similarity":null}' @@ -91,7 +91,7 @@ interactions: expires: - '-1' location: - - https://searchf6ac0e10.search.windows.net/indexes('hotels')?api-version=2019-05-06-Preview + - https://searchf6ac0e10.search.windows.net/indexes('hotels')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -124,7 +124,7 @@ interactions: api-key: - 46F2314D8E0FDB67E7AB8379484C7D80 method: POST - uri: https://searchf6ac0e10.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://searchf6ac0e10.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf6ac0e10.search.windows.net/$metadata#indexers/$entity","@odata.etag":"\"0x8D7ED5162765C60\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}' @@ -144,7 +144,7 @@ interactions: expires: - '-1' location: - - https://searchf6ac0e10.search.windows.net/indexers('sample-indexer')?api-version=2019-05-06-Preview + - https://searchf6ac0e10.search.windows.net/indexers('sample-indexer')?api-version=2020-06-30 odata-version: - '4.0' pragma: @@ -172,7 +172,7 @@ interactions: api-key: - 46F2314D8E0FDB67E7AB8379484C7D80 method: GET - uri: https://searchf6ac0e10.search.windows.net/indexers?api-version=2019-05-06-Preview + uri: https://searchf6ac0e10.search.windows.net/indexers?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf6ac0e10.search.windows.net/$metadata#indexers","value":[{"@odata.etag":"\"0x8D7ED5162765C60\"","name":"sample-indexer","description":null,"dataSourceName":"sample-datasource","skillsetName":null,"targetIndexName":"hotels","disabled":false,"schedule":null,"parameters":null,"fieldMappings":[],"outputFieldMappings":[],"cache":null}]}' @@ -220,7 +220,7 @@ interactions: api-key: - 46F2314D8E0FDB67E7AB8379484C7D80 method: POST - uri: https://searchf6ac0e10.search.windows.net/indexers('sample-indexer')/search.run?api-version=2019-05-06-Preview + uri: https://searchf6ac0e10.search.windows.net/indexers('sample-indexer')/search.run?api-version=2020-06-30 response: body: string: '' @@ -258,7 +258,7 @@ interactions: api-key: - 46F2314D8E0FDB67E7AB8379484C7D80 method: GET - uri: https://searchf6ac0e10.search.windows.net/indexers('sample-indexer')/search.status?api-version=2019-05-06-Preview + uri: https://searchf6ac0e10.search.windows.net/indexers('sample-indexer')/search.status?api-version=2020-06-30 response: body: string: '{"@odata.context":"https://searchf6ac0e10.search.windows.net/$metadata#Microsoft.Azure.Search.V2019_05_06_Preview.IndexerExecutionInfo","name":"sample-indexer","status":"running","lastResult":null,"executionHistory":[],"limits":{"maxRunTime":"PT0S","maxDocumentExtractionSize":0,"maxDocumentContentCharactersToExtract":0}}' From 6b9754162724d7a1db49e13814059a0a0954dbbc Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Fri, 26 Jun 2020 15:13:27 -0700 Subject: [PATCH 26/36] update doc for content_type (#12220) --- .../azure/ai/formrecognizer/_form_recognizer_client.py | 9 ++++++--- .../formrecognizer/aio/_form_recognizer_client_async.py | 9 ++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py index 4d219977fd54..c6669af5aade 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_recognizer_client.py @@ -95,9 +95,10 @@ def begin_recognize_receipts(self, receipt, **kwargs): :type receipt: bytes or IO[bytes] :keyword bool include_text_content: Whether or not to include text elements such as lines and words in addition to form fields. - :keyword str content_type: Media type of the body sent to the API. Content-type is + :keyword content_type: Media type of the body sent to the API. Content-type is auto-detected, but can be overridden by passing this keyword argument. For options, see :class:`~azure.ai.formrecognizer.FormContentType`. + :paramtype: str or ~azure.ai.formrecognizer.FormContentType :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -197,9 +198,10 @@ def begin_recognize_content(self, form, **kwargs): :param form: JPEG, PNG, PDF and TIFF type file stream or bytes. :type form: bytes or IO[bytes] - :keyword str content_type: Media type of the body sent to the API. Content-type is + :keyword content_type: Media type of the body sent to the API. Content-type is auto-detected, but can be overridden by passing this keyword argument. For options, see :class:`~azure.ai.formrecognizer.FormContentType`. + :paramtype: str or ~azure.ai.formrecognizer.FormContentType :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -279,9 +281,10 @@ def begin_recognize_custom_forms(self, model_id, form, **kwargs): :type form: bytes or IO[bytes] :keyword bool include_text_content: Whether or not to include text elements such as lines and words in addition to form fields. - :keyword str content_type: Media type of the body sent to the API. Content-type is + :keyword content_type: Media type of the body sent to the API. Content-type is auto-detected, but can be overridden by passing this keyword argument. For options, see :class:`~azure.ai.formrecognizer.FormContentType`. + :paramtype: str or ~azure.ai.formrecognizer.FormContentType :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py index fa9971bc77c5..967046d24ea3 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_recognizer_client_async.py @@ -103,9 +103,10 @@ async def begin_recognize_receipts( :type receipt: bytes or IO[bytes] :keyword bool include_text_content: Whether or not to include text elements such as lines and words in addition to form fields. - :keyword str content_type: Media type of the body sent to the API. Content-type is + :keyword content_type: Media type of the body sent to the API. Content-type is auto-detected, but can be overridden by passing this keyword argument. For options, see :class:`~azure.ai.formrecognizer.FormContentType`. + :paramtype: str or ~azure.ai.formrecognizer.FormContentType :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -217,9 +218,10 @@ async def begin_recognize_content( :param form: JPEG, PNG, PDF and TIFF type file stream or bytes. :type form: bytes or IO[bytes] - :keyword str content_type: Media type of the body sent to the API. Content-type is + :keyword content_type: Media type of the body sent to the API. Content-type is auto-detected, but can be overridden by passing this keyword argument. For options, see :class:`~azure.ai.formrecognizer.FormContentType`. + :paramtype: str or ~azure.ai.formrecognizer.FormContentType :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. @@ -307,9 +309,10 @@ async def begin_recognize_custom_forms( :type form: bytes or IO[bytes] :keyword bool include_text_content: Whether or not to include text elements such as lines and words in addition to form fields. - :keyword str content_type: Media type of the body sent to the API. Content-type is + :keyword content_type: Media type of the body sent to the API. Content-type is auto-detected, but can be overridden by passing this keyword argument. For options, see :class:`~azure.ai.formrecognizer.FormContentType`. + :paramtype: str or ~azure.ai.formrecognizer.FormContentType :keyword int polling_interval: Waiting time between two polls for LRO operations if no Retry-After header is present. Defaults to 5 seconds. :keyword str continuation_token: A continuation token to restart a poller from a saved state. From c13032ff8d4b6b937e1ccf089860dc478e973269 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Fri, 26 Jun 2020 16:49:03 -0700 Subject: [PATCH 27/36] Doc update for conf file name (#12224) --- doc/dev/mgmt/mgmt_release.md | 2 +- ..._to_sdk_config_track1.json => swagger_to_sdk_config_v4.json} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename eng/{swagger_to_sdk_config_track1.json => swagger_to_sdk_config_v4.json} (100%) diff --git a/doc/dev/mgmt/mgmt_release.md b/doc/dev/mgmt/mgmt_release.md index 4f6d6d16f2ca..bce50207768a 100644 --- a/doc/dev/mgmt/mgmt_release.md +++ b/doc/dev/mgmt/mgmt_release.md @@ -28,7 +28,7 @@ a virtual environment loaded with at least `tools/azure-sdk-tools` installed. generate_sdk -v -m ..\azure-rest-api-specs\specification\compute\resource-manager\readme.md # Forcing Track1 generation -generate_sdk -v -c eng\swagger_to_sdk_config_track1.json -m ..\azure-rest-api-specs\specification\cognitiveservices\data-plane\Face\readme.md +generate_sdk -v -c eng\swagger_to_sdk_config_v4.json -m ..\azure-rest-api-specs\specification\cognitiveservices\data-plane\Face\readme.md # For more details about the available options generate_sdk --help diff --git a/eng/swagger_to_sdk_config_track1.json b/eng/swagger_to_sdk_config_v4.json similarity index 100% rename from eng/swagger_to_sdk_config_track1.json rename to eng/swagger_to_sdk_config_v4.json From 531dd2cd66790841b3a5e747fd0ef6db555dfcb5 Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Fri, 26 Jun 2020 17:02:15 -0700 Subject: [PATCH 28/36] Fix changelog of CustomVision (#12225) --- .../CHANGELOG.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md index 6101c87517a0..1fe9cadd7a7d 100644 --- a/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md +++ b/sdk/cognitiveservices/azure-cognitiveservices-vision-customvision/CHANGELOG.md @@ -61,10 +61,10 @@ were incorrectly visible/importable and have been renamed. This fixed several issues caused by usage of classes that were not supposed to be used in the first place. - - CustomVisionPredictionClient cannot be imported from `azure.cognitiveservices.vision.customvision.prediction` - anymore (import from `azure.cognitiveservices.vision.customvision` works like before) + - CustomVisionPredictionClient cannot be imported from `azure.cognitiveservices.vision.customvision.prediction.custom_vision_prediction_client` + anymore (import from `azure.cognitiveservices.vision.customvision.prediction` works like before) - CustomVisionPredictionClientConfiguration import has been moved from - `azure.cognitiveservices.vision.customvision.prediction` to `azure.cognitiveservices.vision.customvision.prediction` + `azure.cognitiveservices.vision.customvision.prediction.custom_vision_prediction_client` to `azure.cognitiveservices.vision.customvision.prediction` - A model `MyClass` from a "models" sub-module cannot be imported anymore using `azure.cognitiveservices.vision.customvision.prediction.models.my_class` (import from `azure.cognitiveservices.vision.customvision.prediction.models` works like before) @@ -72,10 +72,10 @@ used in the first place. sub-module cannot be imported anymore using `azure.cognitiveservices.vision.customvision.operations.prediction.my_class_operations` (import from `azure.cognitiveservices.vision.customvision.prediction.operations` works like before) - - CustomVisionTrainingClient cannot be imported from `azure.cognitiveservices.vision.customvision.training` - anymore (import from `azure.cognitiveservices.vision.customvision` works like before) + - CustomVisionTrainingClient cannot be imported from `azure.cognitiveservices.vision.customvision.training.custom_vision_training_client` + anymore (import from `azure.cognitiveservices.vision.customvision.training` works like before) - CustomVisionTrainingClientConfiguration import has been moved from - `azure.cognitiveservices.vision.customvision.training` to `azure.cognitiveservices.vision.customvision.training` + `azure.cognitiveservices.vision.customvision.training.custom_vision_training_client` to `azure.cognitiveservices.vision.customvision.training` - A model `MyClass` from a "models" sub-module cannot be imported anymore using `azure.cognitiveservices.vision.customvision.training.models.my_class` (import from `azure.cognitiveservices.vision.customvision.training.models` works like before) From fff6eb39d73b45748d1ca07790e1f13c28df670c Mon Sep 17 00:00:00 2001 From: changlong-liu <59815250+changlong-liu@users.noreply.github.com> Date: Mon, 29 Jun 2020 11:06:49 +0800 Subject: [PATCH 29/36] Sdk automation/track2 azure mgmt storage (#12238) * Update from master * run test * version * add last line Co-authored-by: SDK Automation --- sdk/storage/azure-mgmt-storage/CHANGELOG.md | 5 + .../azure/mgmt/storage/_version.py | 2 +- .../_storage_accounts_operations_async.py | 41 +- .../_usage_operations_async.py | 12 +- .../_storage_accounts_operations.py | 37 +- .../operations/_usage_operations.py | 12 +- .../_storage_accounts_operations_async.py | 41 +- .../_usage_operations_async.py | 12 +- .../_storage_accounts_operations.py | 37 +- .../operations/_usage_operations.py | 12 +- .../_storage_accounts_operations_async.py | 43 +- .../_usage_operations_async.py | 12 +- .../_storage_accounts_operations.py | 39 +- .../operations/_usage_operations.py | 12 +- .../aio/operations_async/_operations_async.py | 12 +- .../_skus_operations_async.py | 12 +- .../_storage_accounts_operations_async.py | 43 +- .../_usage_operations_async.py | 12 +- .../v2017_06_01/operations/_operations.py | 12 +- .../operations/_skus_operations.py | 12 +- .../_storage_accounts_operations.py | 39 +- .../operations/_usage_operations.py | 12 +- .../aio/operations_async/_operations_async.py | 12 +- .../_skus_operations_async.py | 12 +- .../_storage_accounts_operations_async.py | 43 +- .../_usage_operations_async.py | 12 +- .../v2017_10_01/operations/_operations.py | 12 +- .../operations/_skus_operations.py | 12 +- .../_storage_accounts_operations.py | 39 +- .../operations/_usage_operations.py | 12 +- .../_blob_containers_operations_async.py | 13 - .../aio/operations_async/_operations_async.py | 12 +- .../_skus_operations_async.py | 12 +- .../_storage_accounts_operations_async.py | 43 +- .../_usage_operations_async.py | 24 +- .../operations/_blob_containers_operations.py | 13 - .../v2018_02_01/operations/_operations.py | 12 +- .../operations/_skus_operations.py | 12 +- .../_storage_accounts_operations.py | 39 +- .../operations/_usage_operations.py | 24 +- .../_blob_containers_operations_async.py | 13 - .../aio/operations_async/_operations_async.py | 12 +- .../_skus_operations_async.py | 12 +- .../_storage_accounts_operations_async.py | 46 +- .../_usages_operations_async.py | 24 +- .../operations/_blob_containers_operations.py | 13 - .../operations/_operations.py | 12 +- .../operations/_skus_operations.py | 12 +- .../_storage_accounts_operations.py | 42 +- .../operations/_usages_operations.py | 24 +- .../_blob_containers_operations_async.py | 13 - .../_blob_services_operations_async.py | 2 - .../_management_policies_operations_async.py | 3 - .../aio/operations_async/_operations_async.py | 12 +- .../_skus_operations_async.py | 12 +- .../_storage_accounts_operations_async.py | 50 +- .../_usages_operations_async.py | 12 +- .../operations/_blob_containers_operations.py | 13 - .../operations/_blob_services_operations.py | 2 - .../_management_policies_operations.py | 3 - .../v2018_07_01/operations/_operations.py | 12 +- .../operations/_skus_operations.py | 12 +- .../_storage_accounts_operations.py | 42 +- .../operations/_usages_operations.py | 12 +- .../_blob_containers_operations_async.py | 14 - .../_blob_services_operations_async.py | 2 - .../_management_policies_operations_async.py | 3 - .../aio/operations_async/_operations_async.py | 12 +- .../_skus_operations_async.py | 12 +- .../_storage_accounts_operations_async.py | 51 +- .../_usages_operations_async.py | 12 +- .../operations/_blob_containers_operations.py | 14 - .../operations/_blob_services_operations.py | 2 - .../_management_policies_operations.py | 3 - .../v2018_11_01/operations/_operations.py | 12 +- .../operations/_skus_operations.py | 12 +- .../_storage_accounts_operations.py | 43 +- .../operations/_usages_operations.py | 12 +- .../_blob_containers_operations_async.py | 25 +- .../_blob_services_operations_async.py | 14 +- .../_file_services_operations_async.py | 3 - .../_file_shares_operations_async.py | 17 +- .../_management_policies_operations_async.py | 3 - .../aio/operations_async/_operations_async.py | 12 +- .../_skus_operations_async.py | 12 +- .../_storage_accounts_operations_async.py | 51 +- .../_usages_operations_async.py | 12 +- .../storage/v2019_04_01/models/__init__.py | 2 + .../storage/v2019_04_01/models/_models.py | 33 + .../storage/v2019_04_01/models/_models_py3.py | 39 + .../_storage_management_client_enums.py | 9 + .../operations/_blob_containers_operations.py | 25 +- .../operations/_blob_services_operations.py | 14 +- .../operations/_file_services_operations.py | 3 - .../operations/_file_shares_operations.py | 17 +- .../_management_policies_operations.py | 3 - .../v2019_04_01/operations/_operations.py | 12 +- .../operations/_skus_operations.py | 12 +- .../_storage_accounts_operations.py | 43 +- .../operations/_usages_operations.py | 12 +- .../_blob_containers_operations_async.py | 25 +- .../_blob_services_operations_async.py | 14 +- .../_encryption_scopes_operations_async.py | 16 +- .../_file_services_operations_async.py | 3 - .../_file_shares_operations_async.py | 18 +- .../_management_policies_operations_async.py | 3 - ...t_replication_policies_operations_async.py | 15 +- .../aio/operations_async/_operations_async.py | 12 +- ...e_endpoint_connections_operations_async.py | 15 +- ...private_link_resources_operations_async.py | 1 - .../_queue_operations_async.py | 16 +- .../_queue_services_operations_async.py | 3 - .../_skus_operations_async.py | 12 +- .../_storage_accounts_operations_async.py | 59 +- .../_table_operations_async.py | 16 +- .../_table_services_operations_async.py | 3 - .../_usages_operations_async.py | 12 +- .../storage/v2019_06_01/models/__init__.py | 2 + .../storage/v2019_06_01/models/_models.py | 33 + .../storage/v2019_06_01/models/_models_py3.py | 39 + .../_storage_management_client_enums.py | 9 + .../operations/_blob_containers_operations.py | 25 +- .../operations/_blob_services_operations.py | 14 +- .../_encryption_scopes_operations.py | 16 +- .../operations/_file_services_operations.py | 3 - .../operations/_file_shares_operations.py | 18 +- .../_management_policies_operations.py | 3 - ..._object_replication_policies_operations.py | 15 +- .../v2019_06_01/operations/_operations.py | 12 +- ...private_endpoint_connections_operations.py | 15 +- .../_private_link_resources_operations.py | 1 - .../operations/_queue_operations.py | 16 +- .../operations/_queue_services_operations.py | 3 - .../operations/_skus_operations.py | 12 +- .../_storage_accounts_operations.py | 47 +- .../operations/_table_operations.py | 16 +- .../operations/_table_services_operations.py | 3 - .../operations/_usages_operations.py | 12 +- .../test_cli_mgmt_storage.test_storage.yaml | 725 +++--- ...t_cli_mgmt_storage_async.test_storage.yaml | 2189 +++++++---------- .../tests/test_cli_mgmt_storage.py | 7 +- .../tests/test_cli_mgmt_storage_async.py | 7 +- 142 files changed, 2317 insertions(+), 2984 deletions(-) diff --git a/sdk/storage/azure-mgmt-storage/CHANGELOG.md b/sdk/storage/azure-mgmt-storage/CHANGELOG.md index c15d7b806ced..220909c8defb 100644 --- a/sdk/storage/azure-mgmt-storage/CHANGELOG.md +++ b/sdk/storage/azure-mgmt-storage/CHANGELOG.md @@ -1,5 +1,10 @@ # Release History +## 16.0.0b2 (2020-06-29) + +This is beta preview version. +For detailed changelog please refer to equivalent stable version 11.1.0 (https://pypi.org/project/azure-mgmt-storage/11.1.0/) + ## 16.0.0b1 (2020-06-17) This is beta preview version. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py index 91f529ff9b7f..e15a9cd926e7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py @@ -5,4 +5,4 @@ # license information. # -------------------------------------------------------------------------- -VERSION = "16.0.0b1" \ No newline at end of file +VERSION = "16.0.0b2" diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_storage_accounts_operations_async.py index a091b05cc0ec..a88b2d9eb412 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2015_06_15.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2015_06_15.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -326,7 +323,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -397,7 +393,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -436,6 +431,10 @@ def list( api_version = "2015-06-15" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -447,15 +446,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -504,6 +499,10 @@ def list_by_resource_group( api_version = "2015-06-15" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -516,15 +515,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -593,7 +588,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -657,7 +651,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_usage_operations_async.py index 2f3fbe4fbb46..f98c34dae312 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/aio/operations_async/_usage_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2015-06-15" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py index 24530177ea64..38770359f95d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2015-06-15" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -335,7 +332,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -407,7 +403,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -447,6 +442,10 @@ def list( api_version = "2015-06-15" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -458,15 +457,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -516,6 +511,10 @@ def list_by_resource_group( api_version = "2015-06-15" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -528,15 +527,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -606,7 +601,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -671,7 +665,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py index 6ccd86015435..a820df476bb5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2015_06_15/operations/_usage_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2015-06-15" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_storage_accounts_operations_async.py index 82ee55d5b3bf..f28b8e6831bf 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -182,8 +180,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2016_01_01.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2016_01_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -266,7 +264,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -323,7 +320,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -393,7 +389,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -432,6 +427,10 @@ def list( api_version = "2016-01-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -443,15 +442,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -499,6 +494,10 @@ def list_by_resource_group( api_version = "2016-01-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -511,15 +510,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -587,7 +582,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -650,7 +644,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_usage_operations_async.py index 8a8afcca6be4..74f548bec650 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/aio/operations_async/_usage_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2016-01-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py index 3966b8164afc..615d8baf5c35 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2016-01-01" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -274,7 +272,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -332,7 +329,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -403,7 +399,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -443,6 +438,10 @@ def list( api_version = "2016-01-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -454,15 +453,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -511,6 +506,10 @@ def list_by_resource_group( api_version = "2016-01-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -523,15 +522,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -600,7 +595,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -664,7 +658,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py index 6c20ac61ef55..627ea06a3786 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_01_01/operations/_usage_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2016-01-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_storage_accounts_operations_async.py index 1b3cfccb4550..e5c1c901a9b9 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2016_12_01.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2016_12_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -326,7 +323,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -397,7 +393,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -436,6 +431,10 @@ def list( api_version = "2016-12-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -447,15 +446,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -504,6 +499,10 @@ def list_by_resource_group( api_version = "2016-12-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -516,15 +515,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -593,7 +588,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -657,7 +651,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -725,7 +718,6 @@ async def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -793,7 +785,6 @@ async def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_usage_operations_async.py index 7b90d1ef19e3..fce0ef1b1d8d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/aio/operations_async/_usage_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2016-12-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py index 234d68bdf6da..f138afa34f44 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2016-12-01" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -335,7 +332,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -407,7 +403,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -447,6 +442,10 @@ def list( api_version = "2016-12-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -458,15 +457,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -516,6 +511,10 @@ def list_by_resource_group( api_version = "2016-12-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -528,15 +527,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -606,7 +601,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -671,7 +665,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -740,7 +733,6 @@ def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -809,7 +801,6 @@ def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py index 1c52d1e8402f..0862dc9e01fb 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2016_12_01/operations/_usage_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2016-12-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_operations_async.py index 827b0c9baaf7..e72dd471387a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -65,15 +69,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_skus_operations_async.py index 904216ddc443..e3851afd5517 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_skus_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_storage_accounts_operations_async.py index bf43f4647d4f..115df9ced623 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2017_06_01.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2017_06_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -326,7 +323,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -397,7 +393,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -436,6 +431,10 @@ def list( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -447,15 +446,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -504,6 +499,10 @@ def list_by_resource_group( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -516,15 +515,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -593,7 +588,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -657,7 +651,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -725,7 +718,6 @@ async def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -793,7 +785,6 @@ async def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_usage_operations_async.py index 271027b839c6..4f2eb67bda32 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/aio/operations_async/_usage_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_operations.py index cd0849b388a4..1bdc0a734197 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -70,15 +74,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py index 3407b148cc17..1eb16e1b1cab 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_skus_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py index d7a46a7a8d56..f9fa7832eae8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2017-06-01" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -335,7 +332,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -407,7 +403,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -447,6 +442,10 @@ def list( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -458,15 +457,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -516,6 +511,10 @@ def list_by_resource_group( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -528,15 +527,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -606,7 +601,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -671,7 +665,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -740,7 +733,6 @@ def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -809,7 +801,6 @@ def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py index 165cfe87469f..3d1da57533f4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_06_01/operations/_usage_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2017-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_operations_async.py index 3bdd7744d0b7..d37b8e40a911 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -65,15 +69,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_skus_operations_async.py index 011c88a2bde7..fd22f15b7e3b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_skus_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_storage_accounts_operations_async.py index c68f67ac2eb6..fef013156915 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2017_10_01.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2017_10_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -326,7 +323,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -397,7 +393,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -436,6 +431,10 @@ def list( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -447,15 +446,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -504,6 +499,10 @@ def list_by_resource_group( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -516,15 +515,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -593,7 +588,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -657,7 +651,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -725,7 +718,6 @@ async def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -793,7 +785,6 @@ async def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_usage_operations_async.py index 2b8fe599d8a4..ae56f20cc4f5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/aio/operations_async/_usage_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_operations.py index 797c3ef951f9..98ac71d12c2f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -70,15 +74,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py index d19b6fab09b5..6624b80a8698 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_skus_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py index d74dd18b2596..768f76815b03 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2017-10-01" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -335,7 +332,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -407,7 +403,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -447,6 +442,10 @@ def list( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -458,15 +457,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -516,6 +511,10 @@ def list_by_resource_group( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -528,15 +527,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -606,7 +601,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -671,7 +665,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -740,7 +733,6 @@ def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -809,7 +801,6 @@ def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py index 2799594026d0..4bf2e6732463 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2017_10_01/operations/_usage_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2017-10-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_blob_containers_operations_async.py index c7b2c36eb2de..dba9ec651542 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_blob_containers_operations_async.py @@ -83,7 +83,6 @@ async def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -232,7 +230,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -302,7 +299,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -367,7 +363,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -437,7 +432,6 @@ async def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -513,7 +507,6 @@ async def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -599,7 +592,6 @@ async def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -684,7 +676,6 @@ async def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -763,7 +754,6 @@ async def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -838,7 +828,6 @@ async def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -920,7 +909,6 @@ async def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1001,7 +989,6 @@ async def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_operations_async.py index 2a4b3c5fa776..457fb294c26b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -65,15 +69,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_skus_operations_async.py index fb053d4df026..ed3d69d361c3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_skus_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_storage_accounts_operations_async.py index 71c08625ed7c..f925636452fe 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2018_02_01.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2018_02_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -326,7 +323,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -397,7 +393,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -436,6 +431,10 @@ def list( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -447,15 +446,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -504,6 +499,10 @@ def list_by_resource_group( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -516,15 +515,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -593,7 +588,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -657,7 +651,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -725,7 +718,6 @@ async def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -793,7 +785,6 @@ async def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_usage_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_usage_operations_async.py index a5e9c59b7f25..d41b295c9f68 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_usage_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/aio/operations_async/_usage_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -125,6 +125,10 @@ def list_by_location( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -137,15 +141,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py index 48ab133d819a..7499b5f22b9f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_blob_containers_operations.py @@ -88,7 +88,6 @@ def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,7 +161,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -239,7 +237,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -310,7 +307,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -376,7 +372,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -447,7 +442,6 @@ def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -524,7 +518,6 @@ def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -611,7 +604,6 @@ def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -697,7 +689,6 @@ def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -777,7 +768,6 @@ def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -853,7 +843,6 @@ def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -936,7 +925,6 @@ def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1018,7 +1006,6 @@ def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_operations.py index c48c465bf835..9dc46ea50e40 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -70,15 +74,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py index 2ffc1f4504e1..ef5ff21d52ea 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_skus_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py index 71c9a80eefb4..dabd7384e67c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2018-02-01" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -335,7 +332,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -407,7 +403,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -447,6 +442,10 @@ def list( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -458,15 +457,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -516,6 +511,10 @@ def list_by_resource_group( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -528,15 +527,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -606,7 +601,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -671,7 +665,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -740,7 +733,6 @@ def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -809,7 +801,6 @@ def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py index 027d28f1607d..0b324a3c4f6d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_02_01/operations/_usage_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -131,6 +131,10 @@ def list_by_location( api_version = "2018-02-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -143,15 +147,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_blob_containers_operations_async.py index 0059dc14ec1b..ac0a69b3a889 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_blob_containers_operations_async.py @@ -83,7 +83,6 @@ async def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -232,7 +230,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -302,7 +299,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -367,7 +363,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -437,7 +432,6 @@ async def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -513,7 +507,6 @@ async def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -599,7 +592,6 @@ async def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -684,7 +676,6 @@ async def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -763,7 +754,6 @@ async def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -838,7 +828,6 @@ async def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -920,7 +909,6 @@ async def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1001,7 +989,6 @@ async def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_operations_async.py index 530ab649312e..50d31b76659b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -65,15 +69,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_skus_operations_async.py index 4db0b2e3c4f3..bf11f15fc384 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_skus_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_storage_accounts_operations_async.py index a582c67e0d49..223090303883 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2018_03_01_preview.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -326,7 +323,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -397,7 +393,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -436,6 +431,10 @@ def list( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -447,15 +446,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -504,6 +499,10 @@ def list_by_resource_group( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -516,15 +515,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -593,7 +588,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -657,7 +651,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -725,7 +718,6 @@ async def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -793,7 +785,6 @@ async def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -858,7 +849,6 @@ async def get_management_policies( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -924,7 +914,6 @@ async def create_or_update_management_policies( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPoliciesRulesSetParameter') body_content_kwargs['content'] = body_content @@ -988,7 +977,6 @@ async def delete_management_policies( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_usages_operations_async.py index 03763a08445f..4a667b23697d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/aio/operations_async/_usages_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -125,6 +125,10 @@ def list_by_location( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -137,15 +141,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py index 191ec2be4f8c..afe10ee7c94c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_blob_containers_operations.py @@ -88,7 +88,6 @@ def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,7 +161,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -239,7 +237,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -310,7 +307,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -376,7 +372,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -447,7 +442,6 @@ def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -524,7 +518,6 @@ def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -611,7 +604,6 @@ def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -697,7 +689,6 @@ def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -777,7 +768,6 @@ def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -853,7 +843,6 @@ def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -936,7 +925,6 @@ def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1018,7 +1006,6 @@ def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py index ce44cc75d342..1122d99e5ee4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -70,15 +74,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py index 44e5ae19acd3..c480af531318 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_skus_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py index 043e2474c0cb..06812c0b2d34 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2018-03-01-preview" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -335,7 +332,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -407,7 +403,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -447,6 +442,10 @@ def list( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -458,15 +457,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -516,6 +511,10 @@ def list_by_resource_group( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -528,15 +527,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -606,7 +601,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -671,7 +665,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -740,7 +733,6 @@ def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -809,7 +801,6 @@ def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -875,7 +866,6 @@ def get_management_policies( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -942,7 +932,6 @@ def create_or_update_management_policies( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPoliciesRulesSetParameter') body_content_kwargs['content'] = body_content @@ -1007,7 +996,6 @@ def delete_management_policies( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py index 6d3990557c61..693aecc845a6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_03_01_preview/operations/_usages_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -131,6 +131,10 @@ def list_by_location( api_version = "2018-03-01-preview" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -143,15 +147,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_containers_operations_async.py index 84783279b247..ab94ff10fd86 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_containers_operations_async.py @@ -83,7 +83,6 @@ async def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -232,7 +230,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -302,7 +299,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -367,7 +363,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -437,7 +432,6 @@ async def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -513,7 +507,6 @@ async def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -599,7 +592,6 @@ async def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -684,7 +676,6 @@ async def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -763,7 +754,6 @@ async def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -838,7 +828,6 @@ async def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -920,7 +909,6 @@ async def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1001,7 +989,6 @@ async def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_services_operations_async.py index e5e3c1c4d238..a971a4a9f22a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_blob_services_operations_async.py @@ -91,7 +91,6 @@ async def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content @@ -157,7 +156,6 @@ async def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_management_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_management_policies_operations_async.py index dc4fe40e6fe9..cf05c80b4306 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_management_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_management_policies_operations_async.py @@ -84,7 +84,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -150,7 +149,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPoliciesRulesSetParameter') body_content_kwargs['content'] = body_content @@ -214,7 +212,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_operations_async.py index ec8248790727..e0ba44f81efa 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -65,15 +69,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_skus_operations_async.py index d0529341af88..896656c4b119 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_skus_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_storage_accounts_operations_async.py index 53273215dedc..e4dcad868eff 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2018_07_01.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2018_07_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -332,7 +329,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -403,7 +399,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -442,6 +437,10 @@ def list( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -453,15 +452,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -510,6 +505,10 @@ def list_by_resource_group( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -522,15 +521,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -599,7 +594,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -663,7 +657,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -731,7 +724,6 @@ async def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -799,7 +791,6 @@ async def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -847,7 +838,6 @@ async def _failover_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -866,7 +856,7 @@ async def begin_failover( resource_group_name: str, account_name: str, **kwargs - ) -> None: + ) -> AsyncLROPoller[None]: """Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. @@ -884,8 +874,8 @@ async def begin_failover( polling object for 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: None, or the result of cls(response) - :rtype: None + :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: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_usages_operations_async.py index 3d94f2728dda..a474686e7001 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/aio/operations_async/_usages_operations_async.py @@ -62,6 +62,10 @@ def list_by_location( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py index dc5bb9781233..4cc74743cec6 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_containers_operations.py @@ -88,7 +88,6 @@ def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,7 +161,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -239,7 +237,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -310,7 +307,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -376,7 +372,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -447,7 +442,6 @@ def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -524,7 +518,6 @@ def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -611,7 +604,6 @@ def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -697,7 +689,6 @@ def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -777,7 +768,6 @@ def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -853,7 +843,6 @@ def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -936,7 +925,6 @@ def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1018,7 +1006,6 @@ def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py index 0ebe9c30eda8..17610e3a1b39 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_blob_services_operations.py @@ -96,7 +96,6 @@ def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content @@ -163,7 +162,6 @@ def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py index 87c087705ac1..6bbf0de90283 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_management_policies_operations.py @@ -89,7 +89,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPoliciesRulesSetParameter') body_content_kwargs['content'] = body_content @@ -221,7 +219,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_operations.py index e28c8d18464f..9dd97a37821e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -70,15 +74,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py index b824d09256c2..27af368b8066 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_skus_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py index 6980c9bd5052..6d28b576e4b1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2018-07-01" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -341,7 +338,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -413,7 +409,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -453,6 +448,10 @@ def list( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -464,15 +463,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -522,6 +517,10 @@ def list_by_resource_group( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -534,15 +533,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -612,7 +607,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -677,7 +671,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -746,7 +739,6 @@ def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -815,7 +807,6 @@ def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -864,7 +855,6 @@ def _failover_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -884,7 +874,7 @@ def begin_failover( account_name, # type: str **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller[None] """Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py index 4be6c2f94d72..98785c085012 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_07_01/operations/_usages_operations.py @@ -67,6 +67,10 @@ def list_by_location( api_version = "2018-07-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -79,15 +83,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_containers_operations_async.py index 1d9e5f9edfa0..c7085e67b6ae 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_containers_operations_async.py @@ -83,7 +83,6 @@ async def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -169,7 +167,6 @@ async def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('BlobContainer', pipeline_response) @@ -237,7 +234,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -307,7 +303,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -372,7 +367,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -442,7 +436,6 @@ async def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -518,7 +511,6 @@ async def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -604,7 +596,6 @@ async def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -689,7 +680,6 @@ async def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -768,7 +758,6 @@ async def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -843,7 +832,6 @@ async def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -925,7 +913,6 @@ async def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1006,7 +993,6 @@ async def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_services_operations_async.py index a4728542a492..dd5c61d74aec 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_blob_services_operations_async.py @@ -91,7 +91,6 @@ async def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content @@ -157,7 +156,6 @@ async def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_management_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_management_policies_operations_async.py index a773e1f08873..f4af328d0bc5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_management_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_management_policies_operations_async.py @@ -84,7 +84,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -150,7 +149,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content @@ -214,7 +212,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_operations_async.py index 2c703423837e..134895f1df82 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -65,15 +69,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_skus_operations_async.py index f8c4c87df38d..100f4da91d53 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_skus_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_storage_accounts_operations_async.py index cb9619f742c1..a16cb68a0916 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2018_11_01.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2018_11_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -332,7 +329,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -403,7 +399,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -442,6 +437,10 @@ def list( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -453,15 +452,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -510,6 +505,10 @@ def list_by_resource_group( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -522,15 +521,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -599,7 +594,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -663,7 +657,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -731,7 +724,6 @@ async def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -799,7 +791,6 @@ async def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -847,7 +838,6 @@ async def _failover_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -866,7 +856,7 @@ async def begin_failover( resource_group_name: str, account_name: str, **kwargs - ) -> None: + ) -> AsyncLROPoller[None]: """Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. @@ -884,8 +874,8 @@ async def begin_failover( polling object for 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: None, or the result of cls(response) - :rtype: None + :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: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -965,7 +955,6 @@ async def revoke_user_delegation_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_usages_operations_async.py index aa5266da4c59..2f3705cc0f7a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/aio/operations_async/_usages_operations_async.py @@ -62,6 +62,10 @@ def list_by_location( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py index 17e2e48c112b..46f3760f345e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_containers_operations.py @@ -88,7 +88,6 @@ def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -162,7 +161,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -175,7 +173,6 @@ def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('BlobContainer', pipeline_response) @@ -244,7 +241,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -315,7 +311,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -381,7 +376,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -452,7 +446,6 @@ def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -529,7 +522,6 @@ def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -616,7 +608,6 @@ def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -702,7 +693,6 @@ def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -782,7 +772,6 @@ def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -858,7 +847,6 @@ def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -941,7 +929,6 @@ def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1023,7 +1010,6 @@ def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py index 32f8ca71fed7..32e9ce4fc830 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_blob_services_operations.py @@ -96,7 +96,6 @@ def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content @@ -163,7 +162,6 @@ def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py index 680c905b823f..37fe6e5e97fd 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_management_policies_operations.py @@ -89,7 +89,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content @@ -221,7 +219,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_operations.py index 32147126b1fd..ebe715b1a77a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -70,15 +74,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py index 4f24a956d021..d226ffdbc398 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_skus_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py index a5b29acfae98..709d5896fc87 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2018-11-01" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -341,7 +338,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -413,7 +409,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -453,6 +448,10 @@ def list( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -464,15 +463,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -522,6 +517,10 @@ def list_by_resource_group( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -534,15 +533,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -612,7 +607,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -677,7 +671,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -746,7 +739,6 @@ def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -815,7 +807,6 @@ def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -864,7 +855,6 @@ def _failover_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -884,7 +874,7 @@ def begin_failover( account_name, # type: str **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller[None] """Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. @@ -984,7 +974,6 @@ def revoke_user_delegation_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py index 730297435682..9cba12333d49 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2018_11_01/operations/_usages_operations.py @@ -67,6 +67,10 @@ def list_by_location( api_version = "2018-11-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -79,15 +83,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_containers_operations_async.py index a778d4d6552e..28c16d7c0bd4 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_containers_operations_async.py @@ -79,6 +79,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -98,15 +102,11 @@ def prepare_request(next_link=None): if filter is not None: query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -189,7 +189,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -202,7 +201,6 @@ async def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('BlobContainer', pipeline_response) @@ -270,7 +268,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -340,7 +337,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -405,7 +401,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -475,7 +470,6 @@ async def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -551,7 +545,6 @@ async def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -637,7 +630,6 @@ async def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -722,7 +714,6 @@ async def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -801,7 +792,6 @@ async def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -876,7 +866,6 @@ async def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -958,7 +947,6 @@ async def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1039,7 +1027,6 @@ async def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_services_operations_async.py index aab24057bf42..81217f59d59a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_blob_services_operations_async.py @@ -67,6 +67,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -80,15 +84,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -166,7 +166,6 @@ async def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content @@ -232,7 +231,6 @@ async def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_services_operations_async.py index d116c71f03b7..c8638c09c682 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_services_operations_async.py @@ -82,7 +82,6 @@ async def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -150,7 +149,6 @@ async def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'FileServiceProperties') body_content_kwargs['content'] = body_content @@ -216,7 +214,6 @@ async def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_shares_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_shares_operations_async.py index 5047ec49b5fa..eeae198a84d7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_shares_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_file_shares_operations_async.py @@ -78,6 +78,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -97,15 +101,11 @@ def prepare_request(next_link=None): if filter is not None: query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -188,7 +188,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content @@ -201,7 +200,6 @@ async def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('FileShare', pipeline_response) @@ -269,7 +267,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content @@ -339,7 +336,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -404,7 +400,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_management_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_management_policies_operations_async.py index 6536cd596a40..c0d7c4753b12 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_management_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_management_policies_operations_async.py @@ -84,7 +84,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -150,7 +149,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content @@ -214,7 +212,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_operations_async.py index 205821212eaf..6d3a121cca64 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -65,15 +69,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_skus_operations_async.py index 27b4529b6e82..1da152cbc18d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_skus_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_storage_accounts_operations_async.py index 7601f811e825..a8f0fa8dfd35 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2019_04_01.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2019_04_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -332,7 +329,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -403,7 +399,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -442,6 +437,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -453,15 +452,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -510,6 +505,10 @@ def list_by_resource_group( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -522,15 +521,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -605,7 +600,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -670,7 +664,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -738,7 +731,6 @@ async def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -806,7 +798,6 @@ async def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -854,7 +845,6 @@ async def _failover_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -873,7 +863,7 @@ async def begin_failover( resource_group_name: str, account_name: str, **kwargs - ) -> None: + ) -> AsyncLROPoller[None]: """Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. @@ -891,8 +881,8 @@ async def begin_failover( polling object for 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: None, or the result of cls(response) - :rtype: None + :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: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -972,7 +962,6 @@ async def revoke_user_delegation_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_usages_operations_async.py index 69df4807a381..73fa553dca6f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/aio/operations_async/_usages_operations_async.py @@ -62,6 +62,10 @@ def list_by_location( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/__init__.py index 8307b823af91..da9c6749e32d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/__init__.py @@ -178,6 +178,7 @@ LeaseDuration, LeaseState, LeaseStatus, + MinimumTlsVersion, Permissions, ProvisioningState, PublicAccess, @@ -286,6 +287,7 @@ 'LeaseDuration', 'LeaseState', 'LeaseStatus', + 'MinimumTlsVersion', 'Permissions', 'ProvisioningState', 'PublicAccess', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py index 08f291b36d98..bd53ac60ab67 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models.py @@ -2412,6 +2412,13 @@ class StorageAccount(TrackedResource): disabled once it is enabled. Possible values include: "Disabled", "Enabled". :type large_file_shares_state: str or ~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion """ _validation = { @@ -2466,6 +2473,8 @@ class StorageAccount(TrackedResource): 'geo_replication_stats': {'key': 'properties.geoReplicationStats', 'type': 'GeoReplicationStats'}, 'failover_in_progress': {'key': 'properties.failoverInProgress', 'type': 'bool'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -2495,6 +2504,8 @@ def __init__( self.geo_replication_stats = None self.failover_in_progress = None self.large_file_shares_state = kwargs.get('large_file_shares_state', None) + self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None) + self.minimum_tls_version = kwargs.get('minimum_tls_version', None) class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model): @@ -2578,6 +2589,13 @@ class StorageAccountCreateParameters(msrest.serialization.Model): disabled once it is enabled. Possible values include: "Disabled", "Enabled". :type large_file_shares_state: str or ~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion """ _validation = { @@ -2600,6 +2618,8 @@ class StorageAccountCreateParameters(msrest.serialization.Model): 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, 'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -2620,6 +2640,8 @@ def __init__( self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', None) self.is_hns_enabled = kwargs.get('is_hns_enabled', None) self.large_file_shares_state = kwargs.get('large_file_shares_state', None) + self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None) + self.minimum_tls_version = kwargs.get('minimum_tls_version', None) class StorageAccountKey(msrest.serialization.Model): @@ -2781,6 +2803,13 @@ class StorageAccountUpdateParameters(msrest.serialization.Model): disabled once it is enabled. Possible values include: "Disabled", "Enabled". :type large_file_shares_state: str or ~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion """ _attribute_map = { @@ -2795,6 +2824,8 @@ class StorageAccountUpdateParameters(msrest.serialization.Model): 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -2813,6 +2844,8 @@ def __init__( self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', None) self.network_rule_set = kwargs.get('network_rule_set', None) self.large_file_shares_state = kwargs.get('large_file_shares_state', None) + self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None) + self.minimum_tls_version = kwargs.get('minimum_tls_version', None) class StorageSkuListResult(msrest.serialization.Model): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py index 65890a799ca3..de079471d2e3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_models_py3.py @@ -2595,6 +2595,13 @@ class StorageAccount(TrackedResource): disabled once it is enabled. Possible values include: "Disabled", "Enabled". :type large_file_shares_state: str or ~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion """ _validation = { @@ -2649,6 +2656,8 @@ class StorageAccount(TrackedResource): 'geo_replication_stats': {'key': 'properties.geoReplicationStats', 'type': 'GeoReplicationStats'}, 'failover_in_progress': {'key': 'properties.failoverInProgress', 'type': 'bool'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -2661,6 +2670,8 @@ def __init__( enable_https_traffic_only: Optional[bool] = None, is_hns_enabled: Optional[bool] = None, large_file_shares_state: Optional[Union[str, "LargeFileSharesState"]] = None, + allow_blob_public_access: Optional[bool] = None, + minimum_tls_version: Optional[Union[str, "MinimumTlsVersion"]] = None, **kwargs ): super(StorageAccount, self).__init__(tags=tags, location=location, **kwargs) @@ -2686,6 +2697,8 @@ def __init__( self.geo_replication_stats = None self.failover_in_progress = None self.large_file_shares_state = large_file_shares_state + self.allow_blob_public_access = allow_blob_public_access + self.minimum_tls_version = minimum_tls_version class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model): @@ -2771,6 +2784,13 @@ class StorageAccountCreateParameters(msrest.serialization.Model): disabled once it is enabled. Possible values include: "Disabled", "Enabled". :type large_file_shares_state: str or ~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion """ _validation = { @@ -2793,6 +2813,8 @@ class StorageAccountCreateParameters(msrest.serialization.Model): 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, 'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -2811,6 +2833,8 @@ def __init__( enable_https_traffic_only: Optional[bool] = None, is_hns_enabled: Optional[bool] = None, large_file_shares_state: Optional[Union[str, "LargeFileSharesState"]] = None, + allow_blob_public_access: Optional[bool] = None, + minimum_tls_version: Optional[Union[str, "MinimumTlsVersion"]] = None, **kwargs ): super(StorageAccountCreateParameters, self).__init__(**kwargs) @@ -2827,6 +2851,8 @@ def __init__( self.enable_https_traffic_only = enable_https_traffic_only self.is_hns_enabled = is_hns_enabled self.large_file_shares_state = large_file_shares_state + self.allow_blob_public_access = allow_blob_public_access + self.minimum_tls_version = minimum_tls_version class StorageAccountKey(msrest.serialization.Model): @@ -2990,6 +3016,13 @@ class StorageAccountUpdateParameters(msrest.serialization.Model): disabled once it is enabled. Possible values include: "Disabled", "Enabled". :type large_file_shares_state: str or ~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion """ _attribute_map = { @@ -3004,6 +3037,8 @@ class StorageAccountUpdateParameters(msrest.serialization.Model): 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -3020,6 +3055,8 @@ def __init__( enable_https_traffic_only: Optional[bool] = None, network_rule_set: Optional["NetworkRuleSet"] = None, large_file_shares_state: Optional[Union[str, "LargeFileSharesState"]] = None, + allow_blob_public_access: Optional[bool] = None, + minimum_tls_version: Optional[Union[str, "MinimumTlsVersion"]] = None, **kwargs ): super(StorageAccountUpdateParameters, self).__init__(**kwargs) @@ -3034,6 +3071,8 @@ def __init__( self.enable_https_traffic_only = enable_https_traffic_only self.network_rule_set = network_rule_set self.large_file_shares_state = large_file_shares_state + self.allow_blob_public_access = allow_blob_public_access + self.minimum_tls_version = minimum_tls_version class StorageSkuListResult(msrest.serialization.Model): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py index 2d43b20059de..c3be42d9cfed 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/models/_storage_management_client_enums.py @@ -161,6 +161,15 @@ class LeaseStatus(str, Enum): locked = "Locked" unlocked = "Unlocked" +class MinimumTlsVersion(str, Enum): + """Set the minimum TLS version to be permitted on requests to storage. The default interpretation + is TLS 1.0 for this property. + """ + + tls1_0 = "TLS1_0" + tls1_1 = "TLS1_1" + tls1_2 = "TLS1_2" + class Permissions(str, Enum): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py index f4e651f70cc3..8ab61de95270 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_containers_operations.py @@ -84,6 +84,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -103,15 +107,11 @@ def prepare_request(next_link=None): if filter is not None: query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -195,7 +195,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -208,7 +207,6 @@ def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('BlobContainer', pipeline_response) @@ -277,7 +275,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -348,7 +345,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -414,7 +410,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -485,7 +480,6 @@ def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -562,7 +556,6 @@ def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -649,7 +642,6 @@ def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -735,7 +727,6 @@ def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -815,7 +806,6 @@ def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -891,7 +881,6 @@ def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -974,7 +963,6 @@ def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1056,7 +1044,6 @@ def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py index 7c0aadd01138..fd4958a3fe05 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_blob_services_operations.py @@ -72,6 +72,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -85,15 +89,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -172,7 +172,6 @@ def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content @@ -239,7 +238,6 @@ def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py index 44c1d3f5af69..28d93330ffc5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_services_operations.py @@ -87,7 +87,6 @@ def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'FileServiceProperties') body_content_kwargs['content'] = body_content @@ -223,7 +221,6 @@ def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py index 1735652825eb..d2f9973e5a4e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_file_shares_operations.py @@ -83,6 +83,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -102,15 +106,11 @@ def prepare_request(next_link=None): if filter is not None: query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -194,7 +194,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content @@ -207,7 +206,6 @@ def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('FileShare', pipeline_response) @@ -276,7 +274,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content @@ -347,7 +344,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -413,7 +409,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py index 9dc23cbefd45..82dec88fd9f2 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_management_policies_operations.py @@ -89,7 +89,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content @@ -221,7 +219,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_operations.py index f5f0ef8624ae..a1dbcdc57f0e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -70,15 +74,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py index f2cd61812177..9abb217d94fe 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_skus_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py index 5a03e63e4a33..e606ed9e292c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2019-04-01" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -341,7 +338,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -413,7 +409,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -453,6 +448,10 @@ def list( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -464,15 +463,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -522,6 +517,10 @@ def list_by_resource_group( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -534,15 +533,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -618,7 +613,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -684,7 +678,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -753,7 +746,6 @@ def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -822,7 +814,6 @@ def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -871,7 +862,6 @@ def _failover_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -891,7 +881,7 @@ def begin_failover( account_name, # type: str **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller[None] """Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. @@ -991,7 +981,6 @@ def revoke_user_delegation_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py index e844cc9754b4..7c330ad3155a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_04_01/operations/_usages_operations.py @@ -67,6 +67,10 @@ def list_by_location( api_version = "2019-04-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -79,15 +83,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_containers_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_containers_operations_async.py index 5044ab0fd431..7dd55db64a8a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_containers_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_containers_operations_async.py @@ -79,6 +79,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -98,15 +102,11 @@ def prepare_request(next_link=None): if include is not None: query_parameters['$include'] = self._serialize.query("include", include, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -189,7 +189,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -202,7 +201,6 @@ async def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('BlobContainer', pipeline_response) @@ -270,7 +268,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -340,7 +337,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -405,7 +401,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -475,7 +470,6 @@ async def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -551,7 +545,6 @@ async def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -637,7 +630,6 @@ async def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -722,7 +714,6 @@ async def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -801,7 +792,6 @@ async def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -876,7 +866,6 @@ async def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -958,7 +947,6 @@ async def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1039,7 +1027,6 @@ async def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_services_operations_async.py index 84ea922e495a..39ae3f280828 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_blob_services_operations_async.py @@ -67,6 +67,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -80,15 +84,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -166,7 +166,6 @@ async def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content @@ -232,7 +231,6 @@ async def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_encryption_scopes_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_encryption_scopes_operations_async.py index d519f077fb25..80bba99aa220 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_encryption_scopes_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_encryption_scopes_operations_async.py @@ -97,7 +97,6 @@ async def put( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(encryption_scope, 'EncryptionScope') body_content_kwargs['content'] = body_content @@ -111,7 +110,6 @@ async def put( error = self._deserialize(models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('EncryptionScope', pipeline_response) @@ -179,7 +177,6 @@ async def patch( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(encryption_scope, 'EncryptionScope') body_content_kwargs['content'] = body_content @@ -250,7 +247,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -294,6 +290,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -307,15 +307,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_services_operations_async.py index 0aa71990b1e7..d2cb6a1bb84f 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_services_operations_async.py @@ -82,7 +82,6 @@ async def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -150,7 +149,6 @@ async def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'FileServiceProperties') body_content_kwargs['content'] = body_content @@ -216,7 +214,6 @@ async def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_shares_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_shares_operations_async.py index 8e11ddaf8396..f1c362fb7775 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_shares_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_file_shares_operations_async.py @@ -78,6 +78,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -97,15 +101,11 @@ def prepare_request(next_link=None): if expand is not None: query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -188,7 +188,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content @@ -201,7 +200,6 @@ async def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('FileShare', pipeline_response) @@ -269,7 +267,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content @@ -344,7 +341,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -409,7 +405,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -476,7 +471,6 @@ async def restore( header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(deleted_share, 'DeletedShare') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_management_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_management_policies_operations_async.py index 7bebbcd7e215..a4ab24aa25a8 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_management_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_management_policies_operations_async.py @@ -84,7 +84,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -150,7 +149,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content @@ -214,7 +212,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_object_replication_policies_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_object_replication_policies_operations_async.py index a57105844d8f..86412e1ed8f0 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_object_replication_policies_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_object_replication_policies_operations_async.py @@ -67,6 +67,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -80,15 +84,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -163,7 +163,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -234,7 +233,6 @@ async def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ObjectReplicationPolicy') body_content_kwargs['content'] = body_content @@ -302,7 +300,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_operations_async.py index c34c7ede33c6..0d148f8183a3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -65,15 +69,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_endpoint_connections_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_endpoint_connections_operations_async.py index 8d1ea0633b3f..986a94f3a24a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_endpoint_connections_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_endpoint_connections_operations_async.py @@ -67,6 +67,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -80,15 +84,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -162,7 +162,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -232,7 +231,6 @@ async def put( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'PrivateEndpointConnection') body_content_kwargs['content'] = body_content @@ -300,7 +298,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_link_resources_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_link_resources_operations_async.py index 2944970e7c16..a7bf4e7ccb1a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_link_resources_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_private_link_resources_operations_async.py @@ -82,7 +82,6 @@ async def list_by_storage_account( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_operations_async.py index 2158b5c65d63..15808f67d5d7 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_operations_async.py @@ -95,7 +95,6 @@ async def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(queue, 'StorageQueue') body_content_kwargs['content'] = body_content @@ -170,7 +169,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(queue, 'StorageQueue') body_content_kwargs['content'] = body_content @@ -240,7 +238,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -305,7 +302,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -353,6 +349,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -370,15 +370,11 @@ def prepare_request(next_link=None): if filter is not None: query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_services_operations_async.py index 07c517779286..2b4bdc3ebc90 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_queue_services_operations_async.py @@ -82,7 +82,6 @@ async def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -150,7 +149,6 @@ async def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'QueueServiceProperties') body_content_kwargs['content'] = body_content @@ -216,7 +214,6 @@ async def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_skus_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_skus_operations_async.py index 564696bbf091..322a19ed8218 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_skus_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_skus_operations_async.py @@ -58,6 +58,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -69,15 +73,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_storage_accounts_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_storage_accounts_operations_async.py index a7c52a53e409..9ed244f73fa3 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_storage_accounts_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_storage_accounts_operations_async.py @@ -81,7 +81,6 @@ async def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -108,8 +107,8 @@ async def _create_initial( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + ) -> Optional["models.StorageAccount"]: + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" @@ -133,7 +132,6 @@ async def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -162,7 +160,7 @@ async def begin_create( account_name: str, parameters: "models.StorageAccountCreateParameters", **kwargs - ) -> "models.StorageAccount": + ) -> AsyncLROPoller["models.StorageAccount"]: """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -183,8 +181,8 @@ async def begin_create( polling object for 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: StorageAccount, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2019_06_01.models.StorageAccount + :return: An instance of AsyncLROPoller that returns either StorageAccount or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2019_06_01.models.StorageAccount] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -268,7 +266,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -333,7 +330,6 @@ async def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -404,7 +400,6 @@ async def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -443,6 +438,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -454,15 +453,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -511,6 +506,10 @@ def list_by_resource_group( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -523,15 +522,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): @@ -606,7 +601,6 @@ async def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -671,7 +665,6 @@ async def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -739,7 +732,6 @@ async def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -807,7 +799,6 @@ async def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -855,7 +846,6 @@ async def _failover_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -874,7 +864,7 @@ async def begin_failover( resource_group_name: str, account_name: str, **kwargs - ) -> None: + ) -> AsyncLROPoller[None]: """Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. @@ -892,8 +882,8 @@ async def begin_failover( polling object for 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: None, or the result of cls(response) - :rtype: None + :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: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -963,7 +953,6 @@ async def _restore_blob_ranges_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobRestoreParameters') body_content_kwargs['content'] = body_content @@ -976,7 +965,6 @@ async def _restore_blob_ranges_initial( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('BlobRestoreStatus', pipeline_response) @@ -995,7 +983,7 @@ async def begin_restore_blob_ranges( account_name: str, parameters: "models.BlobRestoreParameters", **kwargs - ) -> "models.BlobRestoreStatus": + ) -> AsyncLROPoller["models.BlobRestoreStatus"]: """Restore blobs in the specified blob ranges. :param resource_group_name: The name of the resource group within the user's subscription. The @@ -1013,8 +1001,8 @@ async def begin_restore_blob_ranges( polling object for 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: BlobRestoreStatus, or the result of cls(response) - :rtype: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreStatus + :return: An instance of AsyncLROPoller that returns either BlobRestoreStatus or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[~azure.mgmt.storage.v2019_06_01.models.BlobRestoreStatus] :raises ~azure.core.exceptions.HttpResponseError: """ polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] @@ -1098,7 +1086,6 @@ async def revoke_user_delegation_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_operations_async.py index 2e342baf6f55..60ebc5dc9a5c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_operations_async.py @@ -89,7 +89,6 @@ async def create( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.put(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -154,7 +153,6 @@ async def update( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.patch(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -219,7 +217,6 @@ async def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -283,7 +280,6 @@ async def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -323,6 +319,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -336,15 +336,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_services_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_services_operations_async.py index 929500ab5f6b..9a11a829461c 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_services_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_table_services_operations_async.py @@ -82,7 +82,6 @@ async def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -150,7 +149,6 @@ async def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'TableServiceProperties') body_content_kwargs['content'] = body_content @@ -216,7 +214,6 @@ async def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_usages_operations_async.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_usages_operations_async.py index 8c06bb30c3ec..becbfa6543de 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_usages_operations_async.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/aio/operations_async/_usages_operations_async.py @@ -62,6 +62,10 @@ def list_by_location( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request async def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/__init__.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/__init__.py index 32a018ec0264..8d759b696b29 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/__init__.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/__init__.py @@ -249,6 +249,7 @@ LeaseDuration, LeaseState, LeaseStatus, + MinimumTlsVersion, Permissions, PrivateEndpointConnectionProvisioningState, PrivateEndpointServiceConnectionStatus, @@ -401,6 +402,7 @@ 'LeaseDuration', 'LeaseState', 'LeaseStatus', + 'MinimumTlsVersion', 'Permissions', 'PrivateEndpointConnectionProvisioningState', 'PrivateEndpointServiceConnectionStatus', diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py index c1ef1a694ba4..712f5fcbdd58 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models.py @@ -3560,6 +3560,13 @@ class StorageAccount(TrackedResource): :type routing_preference: ~azure.mgmt.storage.v2019_06_01.models.RoutingPreference :ivar blob_restore_status: Blob restore status. :vartype blob_restore_status: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreStatus + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_06_01.models.MinimumTlsVersion """ _validation = { @@ -3619,6 +3626,8 @@ class StorageAccount(TrackedResource): 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, 'blob_restore_status': {'key': 'properties.blobRestoreStatus', 'type': 'BlobRestoreStatus'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -3651,6 +3660,8 @@ def __init__( self.private_endpoint_connections = None self.routing_preference = kwargs.get('routing_preference', None) self.blob_restore_status = None + self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None) + self.minimum_tls_version = kwargs.get('minimum_tls_version', None) class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model): @@ -3737,6 +3748,13 @@ class StorageAccountCreateParameters(msrest.serialization.Model): :param routing_preference: Maintains information about the network routing choice opted by the user for data transfer. :type routing_preference: ~azure.mgmt.storage.v2019_06_01.models.RoutingPreference + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_06_01.models.MinimumTlsVersion """ _validation = { @@ -3760,6 +3778,8 @@ class StorageAccountCreateParameters(msrest.serialization.Model): 'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -3781,6 +3801,8 @@ def __init__( self.is_hns_enabled = kwargs.get('is_hns_enabled', None) self.large_file_shares_state = kwargs.get('large_file_shares_state', None) self.routing_preference = kwargs.get('routing_preference', None) + self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None) + self.minimum_tls_version = kwargs.get('minimum_tls_version', None) class StorageAccountInternetEndpoints(msrest.serialization.Model): @@ -4035,6 +4057,13 @@ class StorageAccountUpdateParameters(msrest.serialization.Model): :param routing_preference: Maintains information about the network routing choice opted by the user for data transfer. :type routing_preference: ~azure.mgmt.storage.v2019_06_01.models.RoutingPreference + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_06_01.models.MinimumTlsVersion """ _attribute_map = { @@ -4050,6 +4079,8 @@ class StorageAccountUpdateParameters(msrest.serialization.Model): 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -4069,6 +4100,8 @@ def __init__( self.network_rule_set = kwargs.get('network_rule_set', None) self.large_file_shares_state = kwargs.get('large_file_shares_state', None) self.routing_preference = kwargs.get('routing_preference', None) + self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None) + self.minimum_tls_version = kwargs.get('minimum_tls_version', None) class StorageQueue(Resource): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py index f4477e9e3b4f..9d2385010723 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_models_py3.py @@ -3825,6 +3825,13 @@ class StorageAccount(TrackedResource): :type routing_preference: ~azure.mgmt.storage.v2019_06_01.models.RoutingPreference :ivar blob_restore_status: Blob restore status. :vartype blob_restore_status: ~azure.mgmt.storage.v2019_06_01.models.BlobRestoreStatus + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_06_01.models.MinimumTlsVersion """ _validation = { @@ -3884,6 +3891,8 @@ class StorageAccount(TrackedResource): 'private_endpoint_connections': {'key': 'properties.privateEndpointConnections', 'type': '[PrivateEndpointConnection]'}, 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, 'blob_restore_status': {'key': 'properties.blobRestoreStatus', 'type': 'BlobRestoreStatus'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -3897,6 +3906,8 @@ def __init__( is_hns_enabled: Optional[bool] = None, large_file_shares_state: Optional[Union[str, "LargeFileSharesState"]] = None, routing_preference: Optional["RoutingPreference"] = None, + allow_blob_public_access: Optional[bool] = None, + minimum_tls_version: Optional[Union[str, "MinimumTlsVersion"]] = None, **kwargs ): super(StorageAccount, self).__init__(tags=tags, location=location, **kwargs) @@ -3925,6 +3936,8 @@ def __init__( self.private_endpoint_connections = None self.routing_preference = routing_preference self.blob_restore_status = None + self.allow_blob_public_access = allow_blob_public_access + self.minimum_tls_version = minimum_tls_version class StorageAccountCheckNameAvailabilityParameters(msrest.serialization.Model): @@ -4013,6 +4026,13 @@ class StorageAccountCreateParameters(msrest.serialization.Model): :param routing_preference: Maintains information about the network routing choice opted by the user for data transfer. :type routing_preference: ~azure.mgmt.storage.v2019_06_01.models.RoutingPreference + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_06_01.models.MinimumTlsVersion """ _validation = { @@ -4036,6 +4056,8 @@ class StorageAccountCreateParameters(msrest.serialization.Model): 'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -4055,6 +4077,8 @@ def __init__( is_hns_enabled: Optional[bool] = None, large_file_shares_state: Optional[Union[str, "LargeFileSharesState"]] = None, routing_preference: Optional["RoutingPreference"] = None, + allow_blob_public_access: Optional[bool] = None, + minimum_tls_version: Optional[Union[str, "MinimumTlsVersion"]] = None, **kwargs ): super(StorageAccountCreateParameters, self).__init__(**kwargs) @@ -4072,6 +4096,8 @@ def __init__( self.is_hns_enabled = is_hns_enabled self.large_file_shares_state = large_file_shares_state self.routing_preference = routing_preference + self.allow_blob_public_access = allow_blob_public_access + self.minimum_tls_version = minimum_tls_version class StorageAccountInternetEndpoints(msrest.serialization.Model): @@ -4328,6 +4354,13 @@ class StorageAccountUpdateParameters(msrest.serialization.Model): :param routing_preference: Maintains information about the network routing choice opted by the user for data transfer. :type routing_preference: ~azure.mgmt.storage.v2019_06_01.models.RoutingPreference + :param allow_blob_public_access: Allow or disallow public access to all blobs or containers in + the storage account. The default interpretation is true for this property. + :type allow_blob_public_access: bool + :param minimum_tls_version: Set the minimum TLS version to be permitted on requests to storage. + The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", + "TLS1_1", "TLS1_2". + :type minimum_tls_version: str or ~azure.mgmt.storage.v2019_06_01.models.MinimumTlsVersion """ _attribute_map = { @@ -4343,6 +4376,8 @@ class StorageAccountUpdateParameters(msrest.serialization.Model): 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, 'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'}, 'routing_preference': {'key': 'properties.routingPreference', 'type': 'RoutingPreference'}, + 'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'}, + 'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'}, } def __init__( @@ -4360,6 +4395,8 @@ def __init__( network_rule_set: Optional["NetworkRuleSet"] = None, large_file_shares_state: Optional[Union[str, "LargeFileSharesState"]] = None, routing_preference: Optional["RoutingPreference"] = None, + allow_blob_public_access: Optional[bool] = None, + minimum_tls_version: Optional[Union[str, "MinimumTlsVersion"]] = None, **kwargs ): super(StorageAccountUpdateParameters, self).__init__(**kwargs) @@ -4375,6 +4412,8 @@ def __init__( self.network_rule_set = network_rule_set self.large_file_shares_state = large_file_shares_state self.routing_preference = routing_preference + self.allow_blob_public_access = allow_blob_public_access + self.minimum_tls_version = minimum_tls_version class StorageQueue(Resource): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py index ef2117b3b872..a8bdfcf95a5e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/models/_storage_management_client_enums.py @@ -203,6 +203,15 @@ class LeaseStatus(str, Enum): locked = "Locked" unlocked = "Unlocked" +class MinimumTlsVersion(str, Enum): + """Set the minimum TLS version to be permitted on requests to storage. The default interpretation + is TLS 1.0 for this property. + """ + + tls1_0 = "TLS1_0" + tls1_1 = "TLS1_1" + tls1_2 = "TLS1_2" + class Permissions(str, Enum): """The signed permissions for the account SAS. Possible values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create (c), Update (u) and Process (p). diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py index ebb8400c4a5e..53b725c813da 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_containers_operations.py @@ -84,6 +84,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -103,15 +107,11 @@ def prepare_request(next_link=None): if include is not None: query_parameters['$include'] = self._serialize.query("include", include, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -195,7 +195,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -208,7 +207,6 @@ def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('BlobContainer', pipeline_response) @@ -277,7 +275,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(blob_container, 'BlobContainer') body_content_kwargs['content'] = body_content @@ -348,7 +345,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -414,7 +410,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -485,7 +480,6 @@ def set_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -562,7 +556,6 @@ def clear_legal_hold( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(legal_hold, 'LegalHold') body_content_kwargs['content'] = body_content @@ -649,7 +642,6 @@ def create_or_update_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -735,7 +727,6 @@ def get_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -815,7 +806,6 @@ def delete_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -891,7 +881,6 @@ def lock_immutability_policy( header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -974,7 +963,6 @@ def extend_immutability_policy( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') @@ -1056,7 +1044,6 @@ def lease( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] if parameters is not None: body_content = self._serialize.body(parameters, 'LeaseContainerRequest') diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py index 1c9996a2a973..91649245ffa1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_blob_services_operations.py @@ -72,6 +72,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -85,15 +89,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -172,7 +172,6 @@ def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobServiceProperties') body_content_kwargs['content'] = body_content @@ -239,7 +238,6 @@ def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py index 835c90764e2b..f6cbc6bdfa08 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_encryption_scopes_operations.py @@ -102,7 +102,6 @@ def put( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(encryption_scope, 'EncryptionScope') body_content_kwargs['content'] = body_content @@ -116,7 +115,6 @@ def put( error = self._deserialize(models.ErrorResponse, response) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('EncryptionScope', pipeline_response) @@ -185,7 +183,6 @@ def patch( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(encryption_scope, 'EncryptionScope') body_content_kwargs['content'] = body_content @@ -257,7 +254,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -302,6 +298,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -315,15 +315,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py index 5254144d9109..1b2b7659a853 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_services_operations.py @@ -87,7 +87,6 @@ def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'FileServiceProperties') body_content_kwargs['content'] = body_content @@ -223,7 +221,6 @@ def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py index 5c36a9e6f602..d03b65635d3e 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_file_shares_operations.py @@ -83,6 +83,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -102,15 +106,11 @@ def prepare_request(next_link=None): if expand is not None: query_parameters['$expand'] = self._serialize.query("expand", expand, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -194,7 +194,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content @@ -207,7 +206,6 @@ def create( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('FileShare', pipeline_response) @@ -276,7 +274,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(file_share, 'FileShare') body_content_kwargs['content'] = body_content @@ -352,7 +349,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -418,7 +414,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -486,7 +481,6 @@ def restore( header_parameters = {} # type: Dict[str, Any] header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(deleted_share, 'DeletedShare') body_content_kwargs['content'] = body_content diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py index 8786df6ad3b7..95e9a993de61 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_management_policies_operations.py @@ -89,7 +89,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ManagementPolicy') body_content_kwargs['content'] = body_content @@ -221,7 +219,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py index 22d31865de7f..db5446bce705 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_object_replication_policies_operations.py @@ -72,6 +72,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -85,15 +89,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -169,7 +169,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -241,7 +240,6 @@ def create_or_update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'ObjectReplicationPolicy') body_content_kwargs['content'] = body_content @@ -310,7 +308,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_operations.py index 0ebd59884e6c..8a78d8c60d6b 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -70,15 +74,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py index b4f7ba922150..cc78ce2e8b09 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_endpoint_connections_operations.py @@ -72,6 +72,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -85,15 +89,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -168,7 +168,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -239,7 +238,6 @@ def put( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(properties, 'PrivateEndpointConnection') body_content_kwargs['content'] = body_content @@ -308,7 +306,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py index f9a68bb7e855..b2f0772cc3d5 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_private_link_resources_operations.py @@ -87,7 +87,6 @@ def list_by_storage_account( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py index 9640c5100780..db6f8691a441 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_operations.py @@ -100,7 +100,6 @@ def create( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(queue, 'StorageQueue') body_content_kwargs['content'] = body_content @@ -176,7 +175,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(queue, 'StorageQueue') body_content_kwargs['content'] = body_content @@ -247,7 +245,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -313,7 +310,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -362,6 +358,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -379,15 +379,11 @@ def prepare_request(next_link=None): if filter is not None: query_parameters['$filter'] = self._serialize.query("filter", filter, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py index 4bf8c71e8a49..a6c043104d2d 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_queue_services_operations.py @@ -87,7 +87,6 @@ def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'QueueServiceProperties') body_content_kwargs['content'] = body_content @@ -223,7 +221,6 @@ def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py index d9c005afdde9..7ccef498545a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_skus_operations.py @@ -63,6 +63,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -74,15 +78,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py index 40bb6fe22db2..64d4a5d66145 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_storage_accounts_operations.py @@ -86,7 +86,6 @@ def check_name_availability( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') body_content_kwargs['content'] = body_content @@ -114,8 +113,8 @@ def _create_initial( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> "models.StorageAccount" - cls = kwargs.pop('cls', None) # type: ClsType["models.StorageAccount"] + # type: (...) -> Optional["models.StorageAccount"] + cls = kwargs.pop('cls', None) # type: ClsType[Optional["models.StorageAccount"]] error_map = {404: ResourceNotFoundError, 409: ResourceExistsError} error_map.update(kwargs.pop('error_map', {})) api_version = "2019-06-01" @@ -139,7 +138,6 @@ def _create_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') body_content_kwargs['content'] = body_content @@ -169,7 +167,7 @@ def begin_create( parameters, # type: "models.StorageAccountCreateParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.StorageAccount"] """Asynchronously creates a new storage account with the specified parameters. If an account is already created and a subsequent create request is issued with different properties, the account properties will be updated. If an account is already created and a subsequent create or @@ -276,7 +274,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -342,7 +339,6 @@ def get_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -414,7 +410,6 @@ def update( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') body_content_kwargs['content'] = body_content @@ -454,6 +449,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -465,15 +464,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -523,6 +518,10 @@ def list_by_resource_group( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_resource_group.metadata['url'] # type: ignore @@ -535,15 +534,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): @@ -619,7 +614,6 @@ def list_keys( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -685,7 +679,6 @@ def regenerate_key( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(regenerate_key, 'StorageAccountRegenerateKeyParameters') body_content_kwargs['content'] = body_content @@ -754,7 +747,6 @@ def list_account_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'AccountSasParameters') body_content_kwargs['content'] = body_content @@ -823,7 +815,6 @@ def list_service_sas( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'ServiceSasParameters') body_content_kwargs['content'] = body_content @@ -872,7 +863,6 @@ def _failover_initial( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -892,7 +882,7 @@ def begin_failover( account_name, # type: str **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller[None] """Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. @@ -982,7 +972,6 @@ def _restore_blob_ranges_initial( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'BlobRestoreParameters') body_content_kwargs['content'] = body_content @@ -995,7 +984,6 @@ def _restore_blob_ranges_initial( map_error(status_code=response.status_code, response=response, error_map=error_map) raise HttpResponseError(response=response, error_format=ARMErrorFormat) - deserialized = None if response.status_code == 200: deserialized = self._deserialize('BlobRestoreStatus', pipeline_response) @@ -1015,7 +1003,7 @@ def begin_restore_blob_ranges( parameters, # type: "models.BlobRestoreParameters" **kwargs # type: Any ): - # type: (...) -> LROPoller + # type: (...) -> LROPoller["models.BlobRestoreStatus"] """Restore blobs in the specified blob ranges. :param resource_group_name: The name of the resource group within the user's subscription. The @@ -1119,7 +1107,6 @@ def revoke_user_delegation_keys( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.post(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py index f138e8486c12..818ec9084187 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_operations.py @@ -94,7 +94,6 @@ def create( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.put(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -160,7 +159,6 @@ def update( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.patch(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -226,7 +224,6 @@ def get( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -291,7 +288,6 @@ def delete( # Construct headers header_parameters = {} # type: Dict[str, Any] - # Construct and send request request = self._client.delete(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -332,6 +328,10 @@ def list( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list.metadata['url'] # type: ignore @@ -345,15 +345,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py index 56f975c0cf4c..5a4a93d3673a 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_table_services_operations.py @@ -87,7 +87,6 @@ def list( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response @@ -156,7 +155,6 @@ def set_service_properties( header_parameters['Content-Type'] = self._serialize.header("content_type", content_type, 'str') header_parameters['Accept'] = 'application/json' - # Construct and send request body_content_kwargs = {} # type: Dict[str, Any] body_content = self._serialize.body(parameters, 'TableServiceProperties') body_content_kwargs['content'] = body_content @@ -223,7 +221,6 @@ def get_service_properties( header_parameters = {} # type: Dict[str, Any] header_parameters['Accept'] = 'application/json' - # Construct and send request request = self._client.get(url, query_parameters, header_parameters) pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) response = pipeline_response.http_response diff --git a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py index 6ccc31861bf8..013f258f41f1 100644 --- a/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py +++ b/sdk/storage/azure-mgmt-storage/azure/mgmt/storage/v2019_06_01/operations/_usages_operations.py @@ -67,6 +67,10 @@ def list_by_location( api_version = "2019-06-01" def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = 'application/json' + if not next_link: # Construct URL url = self.list_by_location.metadata['url'] # type: ignore @@ -79,15 +83,11 @@ def prepare_request(next_link=None): query_parameters = {} # type: Dict[str, Any] query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + request = self._client.get(url, query_parameters, header_parameters) else: url = next_link query_parameters = {} # type: Dict[str, Any] - # Construct headers - header_parameters = {} # type: Dict[str, Any] - header_parameters['Accept'] = 'application/json' - - # Construct and send request - request = self._client.get(url, query_parameters, header_parameters) + request = self._client.get(url, query_parameters, header_parameters) return request def extract_data(pipeline_response): diff --git a/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage.test_storage.yaml b/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage.test_storage.yaml index 3d1c26928e4f..e6904f69d154 100644 --- a/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage.test_storage.yaml +++ b/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage.test_storage.yaml @@ -16,7 +16,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: @@ -30,11 +30,11 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 26 May 2020 06:13:30 GMT + - Sun, 28 Jun 2020 06:09:51 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/8ddc7edf-5aca-4901-b94f-0b059e85c964?monitor=true&api-version=2019-06-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/ac278141-6b05-448a-beec-5673b275d20f?monitor=true&api-version=2019-06-01 pragma: - no-cache server: @@ -44,7 +44,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -58,21 +58,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/8ddc7edf-5aca-4901-b94f-0b059e85c964?monitor=true&api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/ac278141-6b05-448a-beec-5673b275d20f?monitor=true&api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:13:30.2151976Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:13:30.2151976Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:13:30.1214415Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:09:50.9392454Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: - no-cache content-length: - - '1438' + - '1471' content-type: - application/json date: - - Tue, 26 May 2020 06:13:47 GMT + - Sun, 28 Jun 2020 06:10:08 GMT expires: - '-1' pragma: @@ -103,38 +103,34 @@ interactions: Content-Length: - '96' Content-Type: - - application/json; charset=utf-8 + - application/json User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\"\ - ,\r\n \"etag\": \"W/\\\"c837e8e8-5cee-4e15-ad7f-f7ce05456790\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"5586aef3-1a31-488a-8ba2-15f08a167622\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ - : false\r\n }\r\n}" + string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\",\r\n + \ \"etag\": \"W/\\\"7edad613-9593-4e50-9a57-2a74c6309c65\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"f188f150-84dd-4f6d-8a9b-34717d683b3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n + \ \"enableVmProtection\": false\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/e4e5f5c5-8c61-459d-8c53-b42be13298a1?api-version=2019-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/8210efd6-74b8-4a56-83b4-39026e14e07d?api-version=2020-04-01 cache-control: - no-cache content-length: - - '690' + - '723' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:13:53 GMT + - Sun, 28 Jun 2020 06:10:15 GMT expires: - '-1' pragma: @@ -147,9 +143,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1d324e52-6b37-4e90-a1b8-3ca34b7ca573 + - 8f597146-8e55-45a8-9274-e7146637a729 x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1197' status: code: 201 message: Created @@ -157,16 +153,15 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/e4e5f5c5-8c61-459d-8c53-b42be13298a1?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/8210efd6-74b8-4a56-83b4-39026e14e07d?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -178,7 +173,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:13:57 GMT + - Sun, 28 Jun 2020 06:10:19 GMT expires: - '-1' pragma: @@ -195,7 +190,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 035988e7-864e-4c91-87bc-cd57f287f381 + - a876d891-2893-4c8c-a492-f037b234ea3b status: code: 200 message: OK @@ -203,38 +198,36 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\"\ - ,\r\n \"etag\": \"W/\\\"39f40589-3e30-4e1a-9323-2faf8bb405ec\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"5586aef3-1a31-488a-8ba2-15f08a167622\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ - : false\r\n }\r\n}" + string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\",\r\n + \ \"etag\": \"W/\\\"3ad86f4b-b8bd-47d2-9b4c-1babf09a69a5\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"f188f150-84dd-4f6d-8a9b-34717d683b3a\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n + \ \"enableVmProtection\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '691' + - '724' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:13:57 GMT + - Sun, 28 Jun 2020 06:10:19 GMT etag: - - W/"39f40589-3e30-4e1a-9323-2faf8bb405ec" + - W/"3ad86f4b-b8bd-47d2-9b4c-1babf09a69a5" expires: - '-1' pragma: @@ -251,7 +244,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d63399bd-cc3d-4efe-8db7-5b4ae07a1016 + - 3c4a0195-423d-45fa-b887-f7ab8b07d674 status: code: 200 message: OK @@ -268,33 +261,30 @@ interactions: Content-Length: - '143' Content-Type: - - application/json; charset=utf-8 + - application/json User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ - ,\r\n \"etag\": \"W/\\\"b45ebcfb-0663-4529-b635-f3cb7ce56106\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\ - \r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\",\r\n + \ \"etag\": \"W/\\\"d0f16321-58e2-4f00-8bd8-72946be00e7d\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/55e02c89-8cb1-4b27-9873-8f7b9386171f?api-version=2019-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/3c167a47-9bf4-4fa7-a10c-ef985cd5d0b2?api-version=2020-04-01 cache-control: - no-cache content-length: - - '569' + - '602' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:13:58 GMT + - Sun, 28 Jun 2020 06:10:20 GMT expires: - '-1' pragma: @@ -307,9 +297,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - f6edf3cc-e018-4395-9f84-84a7889ea9cb + - 68bdca48-7ffc-4878-a6b5-dfca92fe96db x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1196' status: code: 201 message: Created @@ -317,16 +307,15 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/55e02c89-8cb1-4b27-9873-8f7b9386171f?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/3c167a47-9bf4-4fa7-a10c-ef985cd5d0b2?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -338,7 +327,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:14:02 GMT + - Sun, 28 Jun 2020 06:10:23 GMT expires: - '-1' pragma: @@ -355,7 +344,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 000b1243-109b-4262-bc81-2c5e4acd890b + - de82e096-03b2-4bb9-b7bd-5636b783da97 status: code: 200 message: OK @@ -363,35 +352,34 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ - ,\r\n \"etag\": \"W/\\\"6652ce4a-c91e-4108-b9c7-859fbac78636\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\ - \r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\",\r\n + \ \"etag\": \"W/\\\"b923729c-a40a-403c-af49-a8878863e847\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache content-length: - - '570' + - '603' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:14:02 GMT + - Sun, 28 Jun 2020 06:10:23 GMT etag: - - W/"6652ce4a-c91e-4108-b9c7-859fbac78636" + - W/"b923729c-a40a-403c-af49-a8878863e847" expires: - '-1' pragma: @@ -408,14 +396,15 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 61120437-d21d-4675-bbb6-602135b5e095 + - 26d80aee-1c72-4a4c-bdd1-dd3f9cf9f769 status: code: 200 message: OK - request: - body: 'b''{"location": "westeurope", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111"}, - "privateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn", - "groupIds": ["blob"]}, "name": "myconnection"}]}}''' + body: 'b''b\''{"location": "westeurope", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111"}, + "privateLinkServiceConnections": [{"name": "myconnection", "properties": {"privateLinkServiceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn", + "groupIds": ["blob"]}}]}}\''''' headers: Accept: - application/json @@ -424,50 +413,45 @@ interactions: Connection: - keep-alive Content-Length: - - '554' + - '620' Content-Type: - - application/json; charset=utf-8 + - application/json User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\"\ - ,\r\n \"etag\": \"W/\\\"427ca301-56f8-48e5-9594-a97fc4d385c4\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ - westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"20d72b6b-102b-4def-936a-a1a7559bf658\",\r\n \ - \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ - myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\"\ - ,\r\n \"etag\": \"W/\\\"427ca301-56f8-48e5-9594-a97fc4d385c4\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\"\ - ,\r\n \"groupIds\": [\r\n \"blob\"\r\n ],\r\n\ - \ \"privateLinkServiceConnectionState\": {\r\n \"status\"\ - : \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\"\ - : \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ - \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ - \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ - \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.d5aefaed-e9a8-47fa-ac83-7a58468a3eb1\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\",\r\n + \ \"etag\": \"W/\\\"3467a377-fce0-421d-8e8f-7270b04a342b\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westeurope\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"3c4ba9db-20a0-4d05-a16f-fd5c80bc7c62\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\",\r\n + \ \"etag\": \"W/\\\"3467a377-fce0-421d-8e8f-7270b04a342b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": + \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.f05f6dab-e745-4e6f-bfea-7aed774595ee\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/302e75ba-f830-463c-a8c8-499cf6e859e2?api-version=2019-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b87d89fe-4676-4488-aa57-1ef84c752f9c?api-version=2020-04-01 cache-control: - no-cache content-length: - - '2033' + - '2227' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:14:08 GMT + - Sun, 28 Jun 2020 06:10:29 GMT expires: - '-1' pragma: @@ -480,9 +464,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d31f6af9-06b8-477e-b1a1-a7e3727bb691 + - d4a369fb-b14e-4ce8-9213-93f02010764f x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1195' status: code: 201 message: Created @@ -490,16 +474,105 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b87d89fe-4676-4488-aa57-1ef84c752f9c?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 28 Jun 2020 06:10:39 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 9cfd6af7-2648-46e3-85ee-214743321eb9 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/302e75ba-f830-463c-a8c8-499cf6e859e2?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b87d89fe-4676-4488-aa57-1ef84c752f9c?api-version=2020-04-01 + response: + body: + string: "{\r\n \"status\": \"InProgress\"\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '30' + content-type: + - application/json; charset=utf-8 + date: + - Sun, 28 Jun 2020 06:10:49 GMT + expires: + - '-1' + pragma: + - no-cache + server: + - Microsoft-HTTPAPI/2.0 + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-arm-service-request-id: + - 5395f944-efcd-470e-9d9b-7b0189f2ae49 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/b87d89fe-4676-4488-aa57-1ef84c752f9c?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -511,7 +584,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:14:17 GMT + - Sun, 28 Jun 2020 06:10:59 GMT expires: - '-1' pragma: @@ -528,7 +601,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e9a796a2-a270-4cb8-b7ce-8f9175b7ffe9 + - e74ecac0-5352-436f-8d0b-5c5797e1cc30 status: code: 200 message: OK @@ -536,49 +609,47 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\"\ - ,\r\n \"etag\": \"W/\\\"2f418f7c-5c6b-418a-bf9c-3ef37c998075\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ - westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"20d72b6b-102b-4def-936a-a1a7559bf658\",\r\n \ - \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ - myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\"\ - ,\r\n \"etag\": \"W/\\\"2f418f7c-5c6b-418a-bf9c-3ef37c998075\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\"\ - ,\r\n \"groupIds\": [\r\n \"blob\"\r\n ],\r\n\ - \ \"privateLinkServiceConnectionState\": {\r\n \"status\"\ - : \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n \ - \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ - \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ - \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ - \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.d5aefaed-e9a8-47fa-ac83-7a58468a3eb1\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\",\r\n + \ \"etag\": \"W/\\\"025098dc-8108-4027-9364-4b8c508b440b\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westeurope\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"3c4ba9db-20a0-4d05-a16f-fd5c80bc7c62\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\",\r\n + \ \"etag\": \"W/\\\"025098dc-8108-4027-9364-4b8c508b440b\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": + \"Auto-Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.f05f6dab-e745-4e6f-bfea-7aed774595ee\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": + \"storageaccountxxyyzzn.blob.core.windows.net\",\r\n \"ipAddresses\": + [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2047' + - '2388' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:14:18 GMT + - Sun, 28 Jun 2020 06:10:59 GMT etag: - - W/"2f418f7c-5c6b-418a-bf9c-3ef37c998075" + - W/"025098dc-8108-4027-9364-4b8c508b440b" expires: - '-1' pragma: @@ -595,7 +666,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 56244747-63e1-430f-bc8f-1c996d44299f + - 65a7175f-07da-44bb-a23e-814728e877f0 status: code: 200 message: OK @@ -613,7 +684,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 response: @@ -627,7 +698,7 @@ interactions: content-type: - application/json date: - - Tue, 26 May 2020 06:14:18 GMT + - Sun, 28 Jun 2020 06:11:00 GMT expires: - '-1' pragma: @@ -643,7 +714,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' status: code: 200 message: OK @@ -670,7 +741,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 response: @@ -681,11 +752,11 @@ interactions: cache-control: - no-cache content-length: - - '1032' + - '1065' content-type: - application/json date: - - Tue, 26 May 2020 06:14:19 GMT + - Sun, 28 Jun 2020 06:11:01 GMT expires: - '-1' pragma: @@ -701,7 +772,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1196' status: code: 200 message: OK @@ -719,21 +790,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-05-26T06:14:21.0053940Z","lastModifiedTime":"2020-05-26T06:14:21.0053940Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-06-28T06:11:02.9310848Z","lastModifiedTime":"2020-06-28T06:11:02.9310848Z","state":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '496' + - '529' content-type: - application/json date: - - Tue, 26 May 2020 06:14:20 GMT + - Sun, 28 Jun 2020 06:11:02 GMT expires: - '-1' pragma: @@ -745,7 +816,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1196' + - '1195' status: code: 201 message: Created @@ -767,21 +838,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-05-26T06:14:21.4858835Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-06-28T06:11:03.4586709Z"}}' headers: cache-control: - no-cache content-length: - - '786' + - '819' content-type: - application/json date: - - Tue, 26 May 2020 06:14:20 GMT + - Sun, 28 Jun 2020 06:11:02 GMT expires: - '-1' pragma: @@ -797,7 +868,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1195' + - '1194' status: code: 200 message: OK @@ -815,7 +886,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: @@ -825,13 +896,13 @@ interactions: cache-control: - no-cache content-length: - - '324' + - '357' content-type: - application/json date: - - Tue, 26 May 2020 06:14:21 GMT + - Sun, 28 Jun 2020 06:11:03 GMT etag: - - '"0x8D8013C083D5F94"' + - '"0x8D81B2A09D17431"' expires: - '-1' pragma: @@ -843,7 +914,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1194' + - '1193' status: code: 201 message: Created @@ -857,21 +928,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","name":"storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:13:30.2151976Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:13:30.2151976Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:13:30.1214415Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:09:50.9392454Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: - no-cache content-length: - - '2202' + - '2301' content-type: - application/json date: - - Tue, 26 May 2020 06:14:21 GMT + - Sun, 28 Jun 2020 06:11:03 GMT expires: - '-1' pragma: @@ -904,21 +975,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","name":"storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: - no-cache content-length: - - '764' + - '830' content-type: - application/json date: - - Tue, 26 May 2020 06:14:23 GMT + - Sun, 28 Jun 2020 06:11:07 GMT expires: - '-1' pragma: @@ -934,7 +1005,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1193' + - '1192' status: code: 200 message: OK @@ -952,7 +1023,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: @@ -962,13 +1033,13 @@ interactions: cache-control: - no-cache content-length: - - '332' + - '365' content-type: - application/json date: - - Tue, 26 May 2020 06:14:24 GMT + - Sun, 28 Jun 2020 06:11:07 GMT etag: - - '"0x8D8013C0A169CE8"' + - '"0x8D81B2A0BD2D324"' expires: - '-1' pragma: @@ -980,7 +1051,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1192' + - '1191' status: code: 201 message: Created @@ -999,23 +1070,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013c0a570c9f\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a0c1965ea\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: - no-cache content-length: - - '509' + - '542' content-type: - application/json date: - - Tue, 26 May 2020 06:14:24 GMT + - Sun, 28 Jun 2020 06:11:08 GMT etag: - - '"8d8013c0a570c9f"' + - '"8d81b2a0c1965ea"' expires: - '-1' pragma: @@ -1031,7 +1102,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1191' + - '1190' status: code: 200 message: OK @@ -1047,25 +1118,25 @@ interactions: Content-Length: - '0' If-Match: - - '"8d8013c0a570c9f"' + - '"8d81b2a0c1965ea"' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013c0a976c00\"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Deleted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a0c5e8ba0\"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Deleted"}}' headers: cache-control: - no-cache content-length: - - '474' + - '507' content-type: - application/json date: - - Tue, 26 May 2020 06:14:25 GMT + - Sun, 28 Jun 2020 06:11:08 GMT etag: - - '"8d8013c0a976c00"' + - '"8d81b2a0c5e8ba0"' expires: - '-1' pragma: @@ -1081,7 +1152,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14999' + - '14998' status: code: 200 message: OK @@ -1100,23 +1171,23 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013c0ad56926\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a0ca14c87\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: - no-cache content-length: - - '509' + - '542' content-type: - application/json date: - - Tue, 26 May 2020 06:14:25 GMT + - Sun, 28 Jun 2020 06:11:08 GMT etag: - - '"8d8013c0ad56926"' + - '"8d81b2a0ca14c87"' expires: - '-1' pragma: @@ -1132,7 +1203,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1190' + - '1189' status: code: 200 message: OK @@ -1146,23 +1217,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013c0ad56926\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a0ca14c87\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: - no-cache content-length: - - '509' + - '542' content-type: - application/json date: - - Tue, 26 May 2020 06:14:25 GMT + - Sun, 28 Jun 2020 06:11:09 GMT etag: - - '"8d8013c0ad56926"' + - '"8d81b2a0ca14c87"' expires: - '-1' pragma: @@ -1190,23 +1261,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D8013C0AD7784A\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-05-26T06:14:26.0000000Z","immutabilityPolicy":{"etag":"\"8d8013c0ad56926\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"},"updateHistory":[{"allowProtectedAppendWrites":true,"update":"put","immutabilityPeriodSinceCreationInDays":3,"timestamp":"2020-05-26T06:14:26.4505314Z","objectIdentifier":"123743cc-88ef-49ee-920e-13958fe5697d","tenantId":"00000000-0000-0000-0000-000000000000"}]},"legalHold":{"hasLegalHold":false,"tags":[]},"hasImmutabilityPolicy":true,"hasLegalHold":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D81B2A0CA341B5\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-06-28T06:11:08.0000000Z","immutabilityPolicy":{"etag":"\"8d81b2a0ca14c87\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"},"updateHistory":[{"allowProtectedAppendWrites":true,"update":"put","immutabilityPeriodSinceCreationInDays":3,"timestamp":"2020-06-28T06:11:08.7555500Z","objectIdentifier":"b8d54648-e120-4a1f-8da0-38788dc0090c","tenantId":"00000000-0000-0000-0000-000000000000"}]},"legalHold":{"hasLegalHold":false,"tags":[]},"hasImmutabilityPolicy":true,"hasLegalHold":false}}' headers: cache-control: - no-cache content-length: - - '1149' + - '1182' content-type: - application/json date: - - Tue, 26 May 2020 06:14:26 GMT + - Sun, 28 Jun 2020 06:11:09 GMT etag: - - '"0x8D8013C0AD7784A"' + - '"0x8D81B2A0CA341B5"' expires: - '-1' pragma: @@ -1234,21 +1305,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","name":"storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: - no-cache content-length: - - '764' + - '830' content-type: - application/json date: - - Tue, 26 May 2020 06:14:26 GMT + - Sun, 28 Jun 2020 06:11:09 GMT expires: - '-1' pragma: @@ -1276,23 +1347,23 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D8013C083D5F94\"","properties":{"shareUsageBytes":0,"lastModifiedTime":"2020-05-26T06:14:22.0000000Z","shareQuota":5120}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D81B2A09D17431\"","properties":{"shareUsageBytes":0,"lastModifiedTime":"2020-06-28T06:11:04.0000000Z","shareQuota":5120}}' headers: cache-control: - no-cache content-length: - - '458' + - '491' content-type: - application/json date: - - Tue, 26 May 2020 06:14:26 GMT + - Sun, 28 Jun 2020 06:11:10 GMT etag: - - '"0x8D8013C083D5F94"' + - '"0x8D81B2A09D17431"' expires: - '-1' pragma: @@ -1320,21 +1391,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-05-26T06:14:21.4858835Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-06-28T06:11:03.4586709Z"}}' headers: cache-control: - no-cache content-length: - - '786' + - '819' content-type: - application/json date: - - Tue, 26 May 2020 06:14:27 GMT + - Sun, 28 Jun 2020 06:11:10 GMT expires: - '-1' pragma: @@ -1362,21 +1433,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-05-26T06:14:21.0053940Z","lastModifiedTime":"2020-05-26T06:14:21.0053940Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","creationTime":"2020-06-28T06:11:02.9310848Z","lastModifiedTime":"2020-06-28T06:11:02.9310848Z","state":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '496' + - '505' content-type: - application/json date: - - Tue, 26 May 2020 06:14:27 GMT + - Sun, 28 Jun 2020 06:11:10 GMT expires: - '-1' pragma: @@ -1404,7 +1475,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 response: @@ -1415,11 +1486,11 @@ interactions: cache-control: - no-cache content-length: - - '1080' + - '1113' content-type: - application/json date: - - Tue, 26 May 2020 06:14:27 GMT + - Sun, 28 Jun 2020 06:11:10 GMT expires: - '-1' pragma: @@ -1447,7 +1518,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 response: @@ -1457,11 +1528,11 @@ interactions: cache-control: - no-cache content-length: - - '365' + - '398' content-type: - application/json date: - - Tue, 26 May 2020 06:14:27 GMT + - Sun, 28 Jun 2020 06:11:11 GMT expires: - '-1' pragma: @@ -1489,7 +1560,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources?api-version=2019-06-01 response: @@ -1499,11 +1570,11 @@ interactions: cache-control: - no-cache content-length: - - '2447' + - '2645' content-type: - application/json date: - - Tue, 26 May 2020 06:14:29 GMT + - Sun, 28 Jun 2020 06:11:11 GMT expires: - '-1' pragma: @@ -1531,7 +1602,7 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices?api-version=2019-06-01 response: @@ -1541,11 +1612,11 @@ interactions: cache-control: - no-cache content-length: - - '377' + - '410' content-type: - application/json date: - - Tue, 26 May 2020 06:14:29 GMT + - Sun, 28 Jun 2020 06:11:11 GMT expires: - '-1' pragma: @@ -1573,21 +1644,21 @@ interactions: Connection: - keep-alive User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","name":"storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:13:30.2151976Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:13:30.2151976Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:13:30.1214415Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:09:50.9392454Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: - no-cache content-length: - - '2202' + - '2301' content-type: - application/json date: - - Tue, 26 May 2020 06:14:29 GMT + - Sun, 28 Jun 2020 06:11:12 GMT expires: - '-1' pragma: @@ -1619,7 +1690,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 response: @@ -1633,7 +1704,7 @@ interactions: content-type: - application/json date: - - Tue, 26 May 2020 06:14:30 GMT + - Sun, 28 Jun 2020 06:11:12 GMT expires: - '-1' pragma: @@ -1667,7 +1738,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 response: @@ -1681,7 +1752,7 @@ interactions: content-type: - application/json date: - - Tue, 26 May 2020 06:14:30 GMT + - Sun, 28 Jun 2020 06:11:12 GMT expires: - '-1' pragma: @@ -1715,12 +1786,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 response: body: - string: '{"leaseId":"c4e14c1f-1632-4cab-a8d1-357cb67bf0ac"}' + string: '{"leaseId":"1cd5c10b-ce5b-4119-ba96-4d4c08c7aabe"}' headers: cache-control: - no-cache @@ -1729,9 +1800,9 @@ interactions: content-type: - application/json date: - - Tue, 26 May 2020 06:14:30 GMT + - Sun, 28 Jun 2020 06:11:13 GMT etag: - - '"0x8D8013C0D37AA09"' + - '"0x8D81B2A0F1B4567"' expires: - '-1' pragma: @@ -1752,7 +1823,7 @@ interactions: code: 200 message: OK - request: - body: '{"action": "Break", "leaseId": "c4e14c1f-1632-4cab-a8d1-357cb67bf0ac"}' + body: '{"action": "Break", "leaseId": "1cd5c10b-ce5b-4119-ba96-4d4c08c7aabe"}' headers: Accept: - application/json @@ -1765,7 +1836,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 response: @@ -1779,9 +1850,9 @@ interactions: content-type: - application/json date: - - Tue, 26 May 2020 06:14:31 GMT + - Sun, 28 Jun 2020 06:11:13 GMT etag: - - '"0x8D8013C0D37AA09"' + - '"0x8D81B2A0F1B4567"' expires: - '-1' pragma: @@ -1815,7 +1886,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: @@ -1825,13 +1896,13 @@ interactions: cache-control: - no-cache content-length: - - '499' + - '532' content-type: - application/json date: - - Tue, 26 May 2020 06:14:31 GMT + - Sun, 28 Jun 2020 06:11:14 GMT etag: - - '"0x8D8013C0DF0E2D2"' + - '"0x8D81B2A0FD36C90"' expires: - '-1' pragma: @@ -1847,7 +1918,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1189' + - '1188' status: code: 200 message: OK @@ -1865,7 +1936,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: @@ -1875,13 +1946,13 @@ interactions: cache-control: - no-cache content-length: - - '367' + - '400' content-type: - application/json date: - - Tue, 26 May 2020 06:14:32 GMT + - Sun, 28 Jun 2020 06:11:14 GMT etag: - - '"0x8D8013C0E3F569B"' + - '"0x8D81B2A101CA53E"' expires: - '-1' pragma: @@ -1897,7 +1968,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1188' + - '1187' status: code: 200 message: OK @@ -1915,21 +1986,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-05-26T06:14:21.0053940Z","lastModifiedTime":"2020-05-26T06:14:21.0053940Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-06-28T06:11:02.9310848Z","lastModifiedTime":"2020-06-28T06:11:02.9310848Z","state":"Enabled"}}' headers: cache-control: - no-cache content-length: - - '496' + - '529' content-type: - application/json date: - - Tue, 26 May 2020 06:14:32 GMT + - Sun, 28 Jun 2020 06:11:15 GMT expires: - '-1' pragma: @@ -1945,7 +2016,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1186' status: code: 200 message: OK @@ -1961,7 +2032,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/revokeUserDelegationKeys?api-version=2019-06-01 response: @@ -1975,7 +2046,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 26 May 2020 06:14:33 GMT + - Sun, 28 Jun 2020 06:11:15 GMT expires: - '-1' pragma: @@ -2005,12 +2076,12 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/regenerateKey?api-version=2019-06-01 response: body: - string: '{"keys":[{"keyName":"key1","value":"fFuuOOELCtPYES2P9dfJKgA7Nb54/s1393QC7Tyuun4/YzQQJW9xTU91goV7Qzw5QuLb/TRUMGlY7eQhHZr1Tg==","permissions":"FULL"},{"keyName":"key2","value":"L1yYk7fuCfKcCfVbC5qQ+86MyKnV6YE+L3qhtD0ehjte9R7c60e6gV9sZMzZ9ewoloCeGh77ajZ1MaklV1Rwpw==","permissions":"FULL"}]}' + string: '{"keys":[{"keyName":"key1","value":"X6Fp+5ixf3LuFfqaRuplB/gmR32iF1tMIMHrPRqYpO3t45T68oY5a92fOGjw0KayjoFCTmwqmIgU9yWzotR3og==","permissions":"FULL"},{"keyName":"key2","value":"LBw3AZ3sdF5Fx0DOMuMtgDWqxpeyTq1nzYIPrGpUziHHWRF97LnQsHxH1FgxJQKnbZ2HmHPkq/CLSp22vS99Xg==","permissions":"FULL"}]}' headers: cache-control: - no-cache @@ -2019,7 +2090,7 @@ interactions: content-type: - application/json date: - - Tue, 26 May 2020 06:14:33 GMT + - Sun, 28 Jun 2020 06:11:15 GMT expires: - '-1' pragma: @@ -2051,12 +2122,12 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/listKeys?api-version=2019-06-01&$expand=kerb response: body: - string: '{"keys":[{"keyName":"key1","value":"fFuuOOELCtPYES2P9dfJKgA7Nb54/s1393QC7Tyuun4/YzQQJW9xTU91goV7Qzw5QuLb/TRUMGlY7eQhHZr1Tg==","permissions":"FULL"},{"keyName":"key2","value":"L1yYk7fuCfKcCfVbC5qQ+86MyKnV6YE+L3qhtD0ehjte9R7c60e6gV9sZMzZ9ewoloCeGh77ajZ1MaklV1Rwpw==","permissions":"FULL"}]}' + string: '{"keys":[{"keyName":"key1","value":"X6Fp+5ixf3LuFfqaRuplB/gmR32iF1tMIMHrPRqYpO3t45T68oY5a92fOGjw0KayjoFCTmwqmIgU9yWzotR3og==","permissions":"FULL"},{"keyName":"key2","value":"LBw3AZ3sdF5Fx0DOMuMtgDWqxpeyTq1nzYIPrGpUziHHWRF97LnQsHxH1FgxJQKnbZ2HmHPkq/CLSp22vS99Xg==","permissions":"FULL"}]}' headers: cache-control: - no-cache @@ -2065,7 +2136,7 @@ interactions: content-type: - application/json date: - - Tue, 26 May 2020 06:14:33 GMT + - Sun, 28 Jun 2020 06:11:16 GMT expires: - '-1' pragma: @@ -2100,21 +2171,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","name":"storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:13:30.2151976Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:13:30.2151976Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:13:30.1214415Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","name":"storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:09:51.0173972Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:09:50.9392454Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: - no-cache content-length: - - '2202' + - '2301' content-type: - application/json date: - - Tue, 26 May 2020 06:14:34 GMT + - Sun, 28 Jun 2020 06:11:17 GMT expires: - '-1' pragma: @@ -2130,7 +2201,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1185' status: code: 200 message: OK @@ -2146,25 +2217,25 @@ interactions: Content-Length: - '0' If-Match: - - '"8d8013c0ad56926"' + - '"8d81b2a0ca14c87"' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013c0fd5b8e9\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Locked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a11f9d194\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Locked"}}' headers: cache-control: - no-cache content-length: - - '507' + - '540' content-type: - application/json date: - - Tue, 26 May 2020 06:14:34 GMT + - Sun, 28 Jun 2020 06:11:17 GMT etag: - - '"8d8013c0fd5b8e9"' + - '"8d81b2a11f9d194"' expires: - '-1' pragma: @@ -2198,25 +2269,25 @@ interactions: Content-Type: - application/json If-Match: - - '"8d8013c0fd5b8e9"' + - '"8d81b2a11f9d194"' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013c101153fc\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":100,"state":"Locked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2a12330b71\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":100,"state":"Locked"}}' headers: cache-control: - no-cache content-length: - - '509' + - '542' content-type: - application/json date: - - Tue, 26 May 2020 06:14:35 GMT + - Sun, 28 Jun 2020 06:11:18 GMT etag: - - '"8d8013c101153fc"' + - '"8d81b2a12330b71"' expires: - '-1' pragma: @@ -2250,7 +2321,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2019-06-01 response: @@ -2264,7 +2335,7 @@ interactions: content-type: - application/json date: - - Tue, 26 May 2020 06:14:36 GMT + - Sun, 28 Jun 2020 06:11:18 GMT expires: - '-1' pragma: @@ -2294,7 +2365,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: @@ -2308,7 +2379,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 26 May 2020 06:14:36 GMT + - Sun, 28 Jun 2020 06:11:19 GMT expires: - '-1' pragma: @@ -2320,7 +2391,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14998' + - '14997' status: code: 200 message: OK @@ -2336,9 +2407,9 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.fa29f3c6-ff57-4d2b-9a46-2eb770e6ca51?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.a65052b9-83ae-4ce6-8166-3fbd2683d629?api-version=2019-06-01 response: body: string: '' @@ -2350,7 +2421,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 26 May 2020 06:14:38 GMT + - Sun, 28 Jun 2020 06:11:21 GMT expires: - '-1' pragma: @@ -2362,7 +2433,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14997' + - '14996' status: code: 200 message: OK @@ -2378,7 +2449,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: @@ -2392,7 +2463,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 26 May 2020 06:14:38 GMT + - Sun, 28 Jun 2020 06:11:22 GMT expires: - '-1' pragma: @@ -2404,7 +2475,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14996' + - '14995' status: code: 200 message: OK @@ -2420,7 +2491,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 response: @@ -2434,7 +2505,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 26 May 2020 06:14:39 GMT + - Sun, 28 Jun 2020 06:11:22 GMT expires: - '-1' pragma: @@ -2446,7 +2517,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14995' + - '14994' status: code: 200 message: OK @@ -2462,7 +2533,7 @@ interactions: Content-Length: - '0' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: @@ -2476,7 +2547,7 @@ interactions: content-type: - text/plain; charset=utf-8 date: - - Tue, 26 May 2020 06:14:44 GMT + - Sun, 28 Jun 2020 06:11:27 GMT expires: - '-1' pragma: @@ -2488,7 +2559,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-deletes: - - '14994' + - '14993' status: code: 200 message: OK diff --git a/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage_async.test_storage.yaml b/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage_async.test_storage.yaml index cab15c8c09a5..08ad5df1795d 100644 --- a/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage_async.test_storage.yaml +++ b/sdk/storage/azure-mgmt-storage/tests/recordings/test_cli_mgmt_storage_async.test_storage.yaml @@ -12,7 +12,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: @@ -22,34 +22,34 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Tue, 26 May 2020 06:39:01 GMT + date: Sun, 28 Jun 2020 06:21:47 GMT expires: '-1' - location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/1ea056ad-85f6-4020-a9a3-9f4e6d9cc82d?monitor=true&api-version=2019-06-01 + location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/086e1265-6363-43ae-a5a9-743b4624bd61?monitor=true&api-version=2019-06-01 pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1196' + x-ms-ratelimit-remaining-subscription-writes: '1198' status: code: 202 message: Accepted - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/1ea056ad-85f6-4020-a9a3-9f4e6d9cc82d?monitor=true&api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/asyncoperations/086e1265-6363-43ae-a5a9-743b4624bd61?monitor=true&api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:39:01.3471184Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:39:19 GMT + date: Sun, 28 Jun 2020 06:22:05 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -61,7 +61,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/providers/Microsoft.Storage/locations/westeurope/asyncoperations/1ea056ad-85f6-4020-a9a3-9f4e6d9cc82d?monitor=true&api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/providers/Microsoft.Storage/locations/westeurope/asyncoperations/086e1265-6363-43ae-a5a9-743b4624bd61?monitor=true&api-version=2019-06-01 - request: body: '{"location": "westeurope", "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}}' @@ -75,38 +75,34 @@ interactions: Content-Length: - '96' Content-Type: - - application/json; charset=utf-8 + - application/json User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\"\ - ,\r\n \"etag\": \"W/\\\"a83dc33d-5f30-4afd-a913-e5cfa96d81b7\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \ - \ \"resourceGuid\": \"074788af-44c0-4595-a2ea-e0d1750dd1ff\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ - : false\r\n }\r\n}" + string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\",\r\n + \ \"etag\": \"W/\\\"34718c40-fb38-4329-ac9d-e62613ed1dcb\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"05fc4376-1ed5-4e4f-bda8-bad83b7c7489\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n + \ \"enableVmProtection\": false\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/0edde4da-5093-41e8-8c80-78ed7f00c4ee?api-version=2019-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/402f3b47-1a92-4e42-bf76-7ca53f61adcf?api-version=2020-04-01 cache-control: - no-cache content-length: - - '696' + - '723' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:39:25 GMT + - Sun, 28 Jun 2020 06:22:12 GMT expires: - '-1' pragma: @@ -119,9 +115,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 147feb3d-7f7b-435c-9559-dc0f6de47e7b + - b88443ec-3a3a-4bf6-a725-e4c1affeb841 x-ms-ratelimit-remaining-subscription-writes: - - '1187' + - '1198' status: code: 201 message: Created @@ -129,16 +125,15 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/0edde4da-5093-41e8-8c80-78ed7f00c4ee?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/402f3b47-1a92-4e42-bf76-7ca53f61adcf?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -150,7 +145,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:39:29 GMT + - Sun, 28 Jun 2020 06:22:15 GMT expires: - '-1' pragma: @@ -167,7 +162,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1e8a12d0-c9e1-4183-92f1-eee7d83aad4c + - d015c9b0-db97-48e0-84a3-a7d004d41709 status: code: 200 message: OK @@ -175,38 +170,36 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\"\ - ,\r\n \"etag\": \"W/\\\"95d995d6-1be4-411d-a638-ea41bd47484d\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n\ - \ \"resourceGuid\": \"074788af-44c0-4595-a2ea-e0d1750dd1ff\",\r\n \"\ - addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\ - \r\n ]\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ - : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ - : false\r\n }\r\n}" + string: "{\r\n \"name\": \"virualnetwork111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111\",\r\n + \ \"etag\": \"W/\\\"8dc48a62-d89e-4469-9bdc-3981d9126a2c\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"05fc4376-1ed5-4e4f-bda8-bad83b7c7489\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": + [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [],\r\n + \ \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false,\r\n + \ \"enableVmProtection\": false\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '697' + - '724' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:39:30 GMT + - Sun, 28 Jun 2020 06:22:16 GMT etag: - - W/"95d995d6-1be4-411d-a638-ea41bd47484d" + - W/"8dc48a62-d89e-4469-9bdc-3981d9126a2c" expires: - '-1' pragma: @@ -223,7 +216,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b00e1783-d72f-4329-af4f-498205974061 + - 5a51c50a-9902-467f-b3b6-3f210b5873b7 status: code: 200 message: OK @@ -240,33 +233,30 @@ interactions: Content-Length: - '143' Content-Type: - - application/json; charset=utf-8 + - application/json User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ - ,\r\n \"etag\": \"W/\\\"a27b9caa-1c2c-435a-b0ee-f641125bf2c5\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\ - \r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\",\r\n + \ \"etag\": \"W/\\\"1b11b763-5972-4baa-99ce-f6ddce7715bd\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/5f16f860-6f04-4cb9-b9d6-e7f6fae41f4c?api-version=2019-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/ae439846-69cf-4737-bf7e-44891e1d213a?api-version=2020-04-01 cache-control: - no-cache content-length: - - '575' + - '602' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:39:30 GMT + - Sun, 28 Jun 2020 06:22:16 GMT expires: - '-1' pragma: @@ -279,9 +269,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9acee4f6-82e5-4316-b5b7-cb860b395d65 + - 26a16b94-c656-426b-a055-f2decbd43810 x-ms-ratelimit-remaining-subscription-writes: - - '1186' + - '1197' status: code: 201 message: Created @@ -289,16 +279,15 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/5f16f860-6f04-4cb9-b9d6-e7f6fae41f4c?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/ae439846-69cf-4737-bf7e-44891e1d213a?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -310,7 +299,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:39:35 GMT + - Sun, 28 Jun 2020 06:22:20 GMT expires: - '-1' pragma: @@ -327,7 +316,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2f9b4bb7-5c07-47dc-ab20-e1a4c8b2d84e + - 4fa9fd1f-b144-4b06-b8ae-1b52dfe1dcf5 status: code: 200 message: OK @@ -335,35 +324,34 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ - ,\r\n \"etag\": \"W/\\\"5e2e57b8-8d2f-4d40-ae15-f2093802333d\\\"\",\r\n \ - \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\"\ - : \"Disabled\",\r\n \"privateLinkServiceNetworkPolicies\": \"Disabled\"\ - \r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" + string: "{\r\n \"name\": \"subnet111\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\",\r\n + \ \"etag\": \"W/\\\"77c7033d-106b-4894-912c-c6011d3bed59\\\"\",\r\n \"properties\": + {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.0.0/24\",\r\n + \ \"delegations\": [],\r\n \"privateEndpointNetworkPolicies\": \"Disabled\",\r\n + \ \"privateLinkServiceNetworkPolicies\": \"Disabled\"\r\n },\r\n \"type\": + \"Microsoft.Network/virtualNetworks/subnets\"\r\n}" headers: cache-control: - no-cache content-length: - - '576' + - '603' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:39:35 GMT + - Sun, 28 Jun 2020 06:22:20 GMT etag: - - W/"5e2e57b8-8d2f-4d40-ae15-f2093802333d" + - W/"77c7033d-106b-4894-912c-c6011d3bed59" expires: - '-1' pragma: @@ -380,14 +368,15 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a7232a67-51a9-412b-983a-ebae6c8b2b34 + - 32073c8a-f5c0-485a-8e0f-a0f851ae1d7f status: code: 200 message: OK - request: - body: 'b''{"location": "westeurope", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111"}, - "privateLinkServiceConnections": [{"properties": {"privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn", - "groupIds": ["blob"]}, "name": "myconnection"}]}}''' + body: 'b''b\''{"location": "westeurope", "properties": {"subnet": {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111"}, + "privateLinkServiceConnections": [{"name": "myconnection", "properties": {"privateLinkServiceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn", + "groupIds": ["blob"]}}]}}\''''' headers: Accept: - application/json @@ -396,50 +385,45 @@ interactions: Connection: - keep-alive Content-Length: - - '566' + - '620' Content-Type: - - application/json; charset=utf-8 + - application/json User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python - accept-language: - - en-US + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\"\ - ,\r\n \"etag\": \"W/\\\"6091049c-abfa-4683-b8ca-4c4311e3c468\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ - westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ - ,\r\n \"resourceGuid\": \"59994a8d-f2df-4400-b964-04816a9f29ee\",\r\n \ - \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ - myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\"\ - ,\r\n \"etag\": \"W/\\\"6091049c-abfa-4683-b8ca-4c4311e3c468\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\"\ - ,\r\n \"groupIds\": [\r\n \"blob\"\r\n ],\r\n\ - \ \"privateLinkServiceConnectionState\": {\r\n \"status\"\ - : \"Approved\",\r\n \"description\": \"\",\r\n \"actionsRequired\"\ - : \"None\"\r\n }\r\n },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ - \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ - \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ - \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.644aea9c-a435-4086-85e4-235d7564a3b9\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\",\r\n + \ \"etag\": \"W/\\\"eb411f69-d7b4-4dfe-8da9-708094ae98b1\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westeurope\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": + \"0b7c6c13-c0b8-47d0-9cb8-cc18c19d98c1\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\",\r\n + \ \"etag\": \"W/\\\"eb411f69-d7b4-4dfe-8da9-708094ae98b1\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": + \"\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n },\r\n + \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.956d035f-9558-4e36-8de8-e6d2d7cf71ab\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": []\r\n }\r\n}" headers: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/4e69b8ea-637c-4534-9b60-a7b63e51b3e8?api-version=2019-09-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/58f8f751-e30b-4f58-9f4f-6ae498c52c91?api-version=2020-04-01 cache-control: - no-cache content-length: - - '2063' + - '2227' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:39:39 GMT + - Sun, 28 Jun 2020 06:22:24 GMT expires: - '-1' pragma: @@ -452,9 +436,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 58cb00dc-89d1-442c-85c2-0694153f14b5 + - 97c7daa4-ee9e-4da9-befc-8d17b85b5912 x-ms-ratelimit-remaining-subscription-writes: - - '1185' + - '1196' status: code: 201 message: Created @@ -462,16 +446,15 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/4e69b8ea-637c-4534-9b60-a7b63e51b3e8?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/58f8f751-e30b-4f58-9f4f-6ae498c52c91?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -483,7 +466,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:39:50 GMT + - Sun, 28 Jun 2020 06:22:35 GMT expires: - '-1' pragma: @@ -500,7 +483,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 9ab552fb-65c2-41a5-a9bb-55342c223350 + - 6527a2c7-ad63-4939-91a0-c095e1f81467 status: code: 200 message: OK @@ -508,16 +491,15 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/4e69b8ea-637c-4534-9b60-a7b63e51b3e8?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/58f8f751-e30b-4f58-9f4f-6ae498c52c91?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"InProgress\"\r\n}" @@ -529,7 +511,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:40:00 GMT + - Sun, 28 Jun 2020 06:22:45 GMT expires: - '-1' pragma: @@ -546,7 +528,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 09e5c0c9-1926-43e0-865c-b77aa262f849 + - 2d254713-ec98-4bb3-9ddf-2126a561ef8e status: code: 200 message: OK @@ -554,16 +536,15 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/4e69b8ea-637c-4534-9b60-a7b63e51b3e8?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/58f8f751-e30b-4f58-9f4f-6ae498c52c91?api-version=2020-04-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -575,7 +556,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:40:11 GMT + - Sun, 28 Jun 2020 06:22:55 GMT expires: - '-1' pragma: @@ -592,7 +573,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a3df200b-a173-4d8b-b13d-7ba5b69f1eb2 + - f71a7b25-187e-492e-8768-0cd5f7c0cd8d status: code: 200 message: OK @@ -600,49 +581,47 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive User-Agent: - - python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) msrest/0.6.10 - msrest_azure/0.6.2 azure-mgmt-network/7.0.0 Azure-SDK-For-Python + - azsdk-python-azure-mgmt-network/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2019-09-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx?api-version=2020-04-01 response: body: - string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\"\ - ,\r\n \"etag\": \"W/\\\"60d20f10-257d-4481-96af-2434345e34a3\\\"\",\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"\ - westeurope\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"resourceGuid\": \"59994a8d-f2df-4400-b964-04816a9f29ee\",\r\n \ - \ \"privateLinkServiceConnections\": [\r\n {\r\n \"name\": \"\ - myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\"\ - ,\r\n \"etag\": \"W/\\\"60d20f10-257d-4481-96af-2434345e34a3\\\"\"\ - ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ - ,\r\n \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\"\ - ,\r\n \"groupIds\": [\r\n \"blob\"\r\n ],\r\n\ - \ \"privateLinkServiceConnectionState\": {\r\n \"status\"\ - : \"Approved\",\r\n \"description\": \"Auto-Approved\",\r\n \ - \ \"actionsRequired\": \"None\"\r\n }\r\n },\r\n \ - \ \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\ - \r\n }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\ - \n \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\ - \r\n },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.644aea9c-a435-4086-85e4-235d7564a3b9\"\ - \r\n }\r\n ]\r\n }\r\n}" + string: "{\r\n \"name\": \"endpoint123xxx\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx\",\r\n + \ \"etag\": \"W/\\\"30c99cd2-5c0d-44eb-90f9-b8776645f762\\\"\",\r\n \"type\": + \"Microsoft.Network/privateEndpoints\",\r\n \"location\": \"westeurope\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": + \"0b7c6c13-c0b8-47d0-9cb8-cc18c19d98c1\",\r\n \"privateLinkServiceConnections\": + [\r\n {\r\n \"name\": \"myconnection\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx/privateLinkServiceConnections/myconnection\",\r\n + \ \"etag\": \"W/\\\"30c99cd2-5c0d-44eb-90f9-b8776645f762\\\"\",\r\n + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n + \ \"privateLinkServiceId\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn\",\r\n + \ \"groupIds\": [\r\n \"blob\"\r\n ],\r\n \"privateLinkServiceConnectionState\": + {\r\n \"status\": \"Approved\",\r\n \"description\": + \"Auto-Approved\",\r\n \"actionsRequired\": \"None\"\r\n }\r\n + \ },\r\n \"type\": \"Microsoft.Network/privateEndpoints/privateLinkServiceConnections\"\r\n + \ }\r\n ],\r\n \"manualPrivateLinkServiceConnections\": [],\r\n + \ \"subnet\": {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/virtualNetworks/virualnetwork111/subnets/subnet111\"\r\n + \ },\r\n \"networkInterfaces\": [\r\n {\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/networkInterfaces/endpoint123xxx.nic.956d035f-9558-4e36-8de8-e6d2d7cf71ab\"\r\n + \ }\r\n ],\r\n \"customDnsConfigs\": [\r\n {\r\n \"fqdn\": + \"storageaccountxxyyzzn.blob.core.windows.net\",\r\n \"ipAddresses\": + [\r\n \"10.0.0.4\"\r\n ]\r\n }\r\n ]\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '2077' + - '2388' content-type: - application/json; charset=utf-8 date: - - Tue, 26 May 2020 06:40:11 GMT + - Sun, 28 Jun 2020 06:22:56 GMT etag: - - W/"60d20f10-257d-4481-96af-2434345e34a3" + - W/"30c99cd2-5c0d-44eb-90f9-b8776645f762" expires: - '-1' pragma: @@ -659,7 +638,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 02ef3510-d328-4452-be36-37816dcd34da + - dc403308-0244-4e8e-89bc-cd8b1aed9142 status: code: 200 message: OK @@ -673,7 +652,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 response: @@ -683,7 +662,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:12 GMT + date: Sun, 28 Jun 2020 06:22:56 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -692,11 +671,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1199' + x-ms-ratelimit-remaining-subscription-writes: '1196' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 - request: body: '{"properties": {"cors": {"corsRules": [{"allowedOrigins": ["http://www.contoso.com", "http://www.fabrikam.com"], "allowedMethods": ["GET", "HEAD", "POST", "OPTIONS", @@ -716,7 +695,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 response: @@ -727,7 +706,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:13 GMT + date: Sun, 28 Jun 2020 06:22:57 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -736,11 +715,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1198' + x-ms-ratelimit-remaining-subscription-writes: '1195' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 - request: body: '{"properties": {"source": "Microsoft.Storage", "state": "Enabled"}}' headers: @@ -751,28 +730,28 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-05-26T06:40:14.1395228Z","lastModifiedTime":"2020-05-26T06:40:14.1395228Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-06-28T06:22:58.4796418Z","lastModifiedTime":"2020-06-28T06:22:58.4796418Z","state":"Enabled"}}' headers: cache-control: no-cache - content-length: '502' + content-length: '529' content-type: application/json - date: Tue, 26 May 2020 06:40:13 GMT + date: Sun, 28 Jun 2020 06:22:57 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1197' + x-ms-ratelimit-remaining-subscription-writes: '1194' status: code: 201 message: Created - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 - request: body: '{"properties": {"policy": {"rules": [{"enabled": true, "name": "olcmtest", "type": "Lifecycle", "definition": {"actions": {"baseBlob": {"tierToCool": {"daysAfterModificationGreaterThan": @@ -787,17 +766,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-05-26T06:40:14.6235652Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-06-28T06:22:58.9907811Z"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:14 GMT + date: Sun, 28 Jun 2020 06:22:58 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -806,11 +785,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1196' + x-ms-ratelimit-remaining-subscription-writes: '1193' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 - request: body: '{}' headers: @@ -821,7 +800,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: @@ -829,38 +808,38 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares"}' headers: cache-control: no-cache - content-length: '330' + content-length: '357' content-type: application/json - date: Tue, 26 May 2020 06:40:14 GMT - etag: '"0x8D8013FA5FF65C8"' + date: Sun, 28 Jun 2020 06:22:58 GMT + etag: '"0x8D81B2BB473806E"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1195' + x-ms-ratelimit-remaining-subscription-writes: '1192' status: code: 201 message: Created - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","name":"storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:39:01.3471184Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Approved","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:14 GMT + date: Sun, 28 Jun 2020 06:22:59 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -872,7 +851,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 - request: body: '{"properties": {"privateLinkServiceConnectionState": {"status": "Rejected", "description": "Auto-Approved"}}}' @@ -884,17 +863,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","name":"storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:17 GMT + date: Sun, 28 Jun 2020 06:23:03 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -903,11 +882,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1194' + x-ms-ratelimit-remaining-subscription-writes: '1191' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 - request: body: '{}' headers: @@ -918,7 +897,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: @@ -926,21 +905,21 @@ interactions: string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers"}' headers: cache-control: no-cache - content-length: '338' + content-length: '365' content-type: application/json - date: Tue, 26 May 2020 06:40:17 GMT - etag: '"0x8D8013FA7FDA2E2"' + date: Sun, 28 Jun 2020 06:23:03 GMT + etag: '"0x8D81B2BB6BDDE36"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1193' + x-ms-ratelimit-remaining-subscription-writes: '1190' status: code: 201 message: Created - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 - request: body: '{"properties": {"immutabilityPeriodSinceCreationInDays": 3, "allowProtectedAppendWrites": true}}' @@ -952,18 +931,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013fa83bd3bb\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bb6fda623\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:18 GMT - etag: '"8d8013fa83bd3bb"' + date: Sun, 28 Jun 2020 06:23:04 GMT + etag: '"8d81b2bb6fda623"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -972,31 +951,31 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1192' + x-ms-ratelimit-remaining-subscription-writes: '1189' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json If-Match: - - '"8d8013fa83bd3bb"' + - '"8d81b2bb6fda623"' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013fa87c3380\"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Deleted"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bb7406644\"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Deleted"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:18 GMT - etag: '"8d8013fa87c3380"' + date: Sun, 28 Jun 2020 06:23:04 GMT + etag: '"8d81b2bb7406644"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1005,11 +984,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-deletes: '14999' + x-ms-ratelimit-remaining-subscription-deletes: '14998' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 - request: body: '{"properties": {"immutabilityPeriodSinceCreationInDays": 3, "allowProtectedAppendWrites": true}}' @@ -1021,18 +1000,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013fa8bc9309\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bb77e6544\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:19 GMT - etag: '"8d8013fa8bc9309"' + date: Sun, 28 Jun 2020 06:23:05 GMT + etag: '"8d81b2bb77e6544"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1041,29 +1020,29 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1191' + x-ms-ratelimit-remaining-subscription-writes: '1188' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013fa8bc9309\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bb77e6544\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:19 GMT - etag: '"8d8013fa8bc9309"' + date: Sun, 28 Jun 2020 06:23:05 GMT + etag: '"8d81b2bb77e6544"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1075,25 +1054,25 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D8013FA8BEA468\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-05-26T06:40:19.0000000Z","immutabilityPolicy":{"etag":"\"8d8013fa8bc9309\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"},"updateHistory":[{"allowProtectedAppendWrites":true,"update":"put","immutabilityPeriodSinceCreationInDays":3,"timestamp":"2020-05-26T06:40:19.8579488Z","objectIdentifier":"123743cc-88ef-49ee-920e-13958fe5697d","tenantId":"00000000-0000-0000-0000-000000000000"}]},"legalHold":{"hasLegalHold":false,"tags":[]},"hasImmutabilityPolicy":true,"hasLegalHold":false}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D81B2BB78103ED\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-06-28T06:23:04.0000000Z","immutabilityPolicy":{"etag":"\"8d81b2bb77e6544\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Unlocked"},"updateHistory":[{"allowProtectedAppendWrites":true,"update":"put","immutabilityPeriodSinceCreationInDays":3,"timestamp":"2020-06-28T06:23:04.9138904Z","objectIdentifier":"b8d54648-e120-4a1f-8da0-38788dc0090c","tenantId":"00000000-0000-0000-0000-000000000000"}]},"legalHold":{"hasLegalHold":false,"tags":[]},"hasImmutabilityPolicy":true,"hasLegalHold":false}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:19 GMT - etag: '"0x8D8013FA8BEA468"' + date: Sun, 28 Jun 2020 06:23:05 GMT + etag: '"0x8D81B2BB78103ED"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1105,24 +1084,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","name":"storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:20 GMT + date: Sun, 28 Jun 2020 06:23:05 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1134,25 +1113,25 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D8013FA5FF65C8\"","properties":{"shareUsageBytes":0,"lastModifiedTime":"2020-05-26T06:40:15.0000000Z","shareQuota":5120}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D81B2BB473806E\"","properties":{"shareUsageBytes":0,"lastModifiedTime":"2020-06-28T06:22:59.0000000Z","shareQuota":5120}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:20 GMT - etag: '"0x8D8013FA5FF65C8"' + date: Sun, 28 Jun 2020 06:23:06 GMT + etag: '"0x8D81B2BB473806E"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1164,24 +1143,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01&$expand=stats - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-05-26T06:40:14.6235652Z"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default","name":"DefaultManagementPolicy","type":"Microsoft.Storage/storageAccounts/managementPolicies","properties":{"policy":{"rules":[{"enabled":true,"name":"olcmtest","type":"Lifecycle","definition":{"actions":{"baseBlob":{"tierToCool":{"daysAfterModificationGreaterThan":30.0},"tierToArchive":{"daysAfterModificationGreaterThan":90.0},"delete":{"daysAfterModificationGreaterThan":1000.0}},"snapshot":{"delete":{"daysAfterCreationGreaterThan":30.0}}},"filters":{"blobTypes":["blockBlob"],"prefixMatch":["olcmtestcontainer"]}}}]},"lastModifiedTime":"2020-06-28T06:22:58.9907811Z"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:20 GMT + date: Sun, 28 Jun 2020 06:23:06 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1193,24 +1172,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers?api-version=2019-06-01&$include=deleted response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D8013FA8BEA468\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-05-26T06:40:19.0000000Z","hasImmutabilityPolicy":true,"hasLegalHold":false}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz","name":"containernamexxyyzz","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D81B2BB78103ED\"","properties":{"deleted":false,"remainingRetentionDays":0,"defaultEncryptionScope":"$account-encryption-key","denyEncryptionScopeOverride":false,"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2020-06-28T06:23:04.0000000Z","hasImmutabilityPolicy":true,"hasLegalHold":false}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:21 GMT + date: Sun, 28 Jun 2020 06:23:06 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1222,24 +1201,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers?api-version=2019-06-01&$include=deleted + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers?api-version=2019-06-01&$include=deleted - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-05-26T06:40:14.1395228Z","lastModifiedTime":"2020-05-26T06:40:14.1395228Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","creationTime":"2020-06-28T06:22:58.4796418Z","lastModifiedTime":"2020-06-28T06:22:58.4796418Z","state":"Enabled"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:21 GMT + date: Sun, 28 Jun 2020 06:23:07 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1251,24 +1230,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares?api-version=2019-06-01&$expand=deleted response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D8013FA5FF65C8\"","properties":{"accessTier":"TransactionOptimized","lastModifiedTime":"2020-05-26T06:40:15.0000000Z","shareQuota":5120,"enabledProtocols":"SMB"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz","name":"filesharenamexxyyzz","type":"Microsoft.Storage/storageAccounts/fileServices/shares","etag":"\"0x8D81B2BB473806E\"","properties":{"accessTier":"TransactionOptimized","lastModifiedTime":"2020-06-28T06:22:59.0000000Z","shareQuota":5120,"enabledProtocols":"SMB"}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:21 GMT + date: Sun, 28 Jun 2020 06:23:07 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1280,14 +1259,14 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares?api-version=2019-06-01&$expand=deleted + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares?api-version=2019-06-01&$expand=deleted - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 response: @@ -1298,7 +1277,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:21 GMT + date: Sun, 28 Jun 2020 06:23:07 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1310,14 +1289,14 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 response: @@ -1327,7 +1306,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:22 GMT + date: Sun, 28 Jun 2020 06:23:07 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1339,14 +1318,14 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources?api-version=2019-06-01 response: @@ -1356,7 +1335,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:22 GMT + date: Sun, 28 Jun 2020 06:23:08 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1368,24 +1347,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateLinkResources?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes?api-version=2019-06-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-05-26T06:40:14.1395228Z","lastModifiedTime":"2020-05-26T06:40:14.1395228Z","state":"Enabled"}}]}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","creationTime":"2020-06-28T06:22:58.4796418Z","lastModifiedTime":"2020-06-28T06:22:58.4796418Z","state":"Enabled"}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:22 GMT + date: Sun, 28 Jun 2020 06:23:08 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1397,14 +1376,14 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices?api-version=2019-06-01 response: @@ -1415,7 +1394,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:22 GMT + date: Sun, 28 Jun 2020 06:23:08 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1427,14 +1406,14 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices?api-version=2019-06-01 response: @@ -1444,7 +1423,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:23 GMT + date: Sun, 28 Jun 2020 06:23:09 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1456,24 +1435,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","name":"storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:39:01.3471184Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:23 GMT + date: Sun, 28 Jun 2020 06:23:09 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1485,24 +1464,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 response: body: - string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","name":"storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:39:01.3471184Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}]}' + string: '{"value":[{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:23 GMT + date: Sun, 28 Jun 2020 06:23:09 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1514,25 +1493,25 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westeurope/usages?api-version=2019-06-01 response: body: - string: '{"value":[{"unit":"Count","currentValue":2,"limit":250,"name":{"value":"StorageAccounts","localizedValue":"Storage + string: '{"value":[{"unit":"Count","currentValue":3,"limit":250,"name":{"value":"StorageAccounts","localizedValue":"Storage Accounts"}}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:24 GMT + date: Sun, 28 Jun 2020 06:23:09 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -1551,24 +1530,24 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01 response: body: - string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/IT_awxdx7x2w42dnihlmciaropy454gia4tuk4kytfd_ba3e8225-b61a-4af4-8bcd-2c1827d6fb2e/providers/Microsoft.Storage/storageAccounts/3zbiis2lz0z0mvagxoe0mn24","name":"3zbiis2lz0z0mvagxoe0mn24","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{"createdby":"azureimagebuilder","magicvalue":"0d819542a3774a2a8709401a7cd09eb8"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-28T08:45:39.2260435Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-28T08:45:39.2260435Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-04-28T08:45:39.1479168Z","primaryEndpoints":{"blob":"https://3zbiis2lz0z0mvagxoe0mn24.blob.core.windows.net/","queue":"https://3zbiis2lz0z0mvagxoe0mn24.queue.core.windows.net/","table":"https://3zbiis2lz0z0mvagxoe0mn24.table.core.windows.net/","file":"https://3zbiis2lz0z0mvagxoe0mn24.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/IT_cafkkxao3up6mhasfalpf3bya4ckrefgcxmbhec7_4b3f70c7-334e-4380-968d-eeb13c406e05/providers/Microsoft.Storage/storageAccounts/48nc5xsopazmdt319zd182nk","name":"48nc5xsopazmdt319zd182nk","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{"createdby":"azureimagebuilder","magicvalue":"0d819542a3774a2a8709401a7cd09eb8"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-28T05:06:56.0502388Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-28T05:06:56.0502388Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-04-28T05:06:55.9720965Z","primaryEndpoints":{"blob":"https://48nc5xsopazmdt319zd182nk.blob.core.windows.net/","queue":"https://48nc5xsopazmdt319zd182nk.queue.core.windows.net/","table":"https://48nc5xsopazmdt319zd182nk.table.core.windows.net/","file":"https://48nc5xsopazmdt319zd182nk.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/qiaozhatestdiag","name":"qiaozhatestdiag","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-01T03:28:36.6558790Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-01T03:28:36.6558790Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-01T03:28:36.5776009Z","primaryEndpoints":{"blob":"https://qiaozhatestdiag.blob.core.windows.net/","queue":"https://qiaozhatestdiag.queue.core.windows.net/","table":"https://qiaozhatestdiag.table.core.windows.net/","file":"https://qiaozhatestdiag.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-changlong/providers/Microsoft.Storage/storageAccounts/testchanglongdiag","name":"testchanglongdiag","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-30T03:03:27.1157738Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-30T03:03:27.1157738Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-04-30T03:03:27.0377169Z","primaryEndpoints":{"blob":"https://testchanglongdiag.blob.core.windows.net/","queue":"https://testchanglongdiag.queue.core.windows.net/","table":"https://testchanglongdiag.table.core.windows.net/","file":"https://testchanglongdiag.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/IT_pcodogvglm7lkk32ymil2uey4ohpexgcexgx5hc4_e48166ab-9535-46c0-aea5-65ab7ad129bc/providers/Microsoft.Storage/storageAccounts/z7uon92zalebarxh8d31gl6o","name":"z7uon92zalebarxh8d31gl6o","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{"createdby":"azureimagebuilder","magicvalue":"0d819542a3774a2a8709401a7cd09eb8"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-30T03:34:00.6749902Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-30T03:34:00.6749902Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-04-30T03:34:00.5968347Z","primaryEndpoints":{"blob":"https://z7uon92zalebarxh8d31gl6o.blob.core.windows.net/","queue":"https://z7uon92zalebarxh8d31gl6o.queue.core.windows.net/","table":"https://z7uon92zalebarxh8d31gl6o.table.core.windows.net/","file":"https://z7uon92zalebarxh8d31gl6o.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/IT_cafkkxao3up6mhasfalpf3bya4ckrefgcxmbhec7_4b3f70c7-334e-4380-968d-eeb13c406e05/providers/Microsoft.Storage/storageAccounts/1r4tyc75pzzblo5fbr3e7mur","name":"1r4tyc75pzzblo5fbr3e7mur","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"createdby":"azureimagebuilder","magicvalue":"0d819542a3774a2a8709401a7cd09eb8"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-28T05:00:29.9405859Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-28T05:00:29.9405859Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-04-28T05:00:29.8624810Z","primaryEndpoints":{"blob":"https://1r4tyc75pzzblo5fbr3e7mur.blob.core.windows.net/","queue":"https://1r4tyc75pzzblo5fbr3e7mur.queue.core.windows.net/","table":"https://1r4tyc75pzzblo5fbr3e7mur.table.core.windows.net/","file":"https://1r4tyc75pzzblo5fbr3e7mur.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/IT_pcodogvglm7lkk32ymil2uey4ohpexgcexgx5hc4_e48166ab-9535-46c0-aea5-65ab7ad129bc/providers/Microsoft.Storage/storageAccounts/1ydxrd6izduvbhi1bo03r9za","name":"1ydxrd6izduvbhi1bo03r9za","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"createdby":"azureimagebuilder","magicvalue":"0d819542a3774a2a8709401a7cd09eb8"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-30T03:25:37.3489320Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-30T03:25:37.3489320Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-04-30T03:25:37.3020933Z","primaryEndpoints":{"blob":"https://1ydxrd6izduvbhi1bo03r9za.blob.core.windows.net/","queue":"https://1ydxrd6izduvbhi1bo03r9za.queue.core.windows.net/","table":"https://1ydxrd6izduvbhi1bo03r9za.table.core.windows.net/","file":"https://1ydxrd6izduvbhi1bo03r9za.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/IT_awxdx7x2w42dnihlmciaropy454gia4tuk4kytfd_ba3e8225-b61a-4af4-8bcd-2c1827d6fb2e/providers/Microsoft.Storage/storageAccounts/6vej6w2pz16grst6yn93t7v9","name":"6vej6w2pz16grst6yn93t7v9","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"createdby":"azureimagebuilder","magicvalue":"0d819542a3774a2a8709401a7cd09eb8"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-28T08:38:21.8770511Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-04-28T08:38:21.8770511Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-04-28T08:38:21.7831689Z","primaryEndpoints":{"blob":"https://6vej6w2pz16grst6yn93t7v9.blob.core.windows.net/","queue":"https://6vej6w2pz16grst6yn93t7v9.queue.core.windows.net/","table":"https://6vej6w2pz16grst6yn93t7v9.table.core.windows.net/","file":"https://6vej6w2pz16grst6yn93t7v9.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-sdk-for-node/providers/Microsoft.Storage/storageAccounts/azuresdkfornodediag","name":"azuresdkfornodediag","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-10T22:40:25.4342475Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-10T22:40:25.4342475Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-01-10T22:40:25.3405525Z","primaryEndpoints":{"blob":"https://azuresdkfornodediag.blob.core.windows.net/","queue":"https://azuresdkfornodediag.queue.core.windows.net/","table":"https://azuresdkfornodediag.table.core.windows.net/","file":"https://azuresdkfornodediag.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dev-box/providers/Microsoft.Storage/storageAccounts/devboxdiag862","name":"devboxdiag862","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-08-06T17:53:31.3605408Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-08-06T17:53:31.3605408Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-08-06T17:53:31.2355702Z","primaryEndpoints":{"blob":"https://devboxdiag862.blob.core.windows.net/","queue":"https://devboxdiag862.queue.core.windows.net/","table":"https://devboxdiag862.table.core.windows.net/","file":"https://devboxdiag862.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/msi-test-functions/providers/Microsoft.Storage/storageAccounts/msitestfunctionbc63","name":"msitestfunctionbc63","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-14T18:44:56.9136213Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-14T18:44:56.9136213Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-01-14T18:44:56.8042783Z","primaryEndpoints":{"blob":"https://msitestfunctionbc63.blob.core.windows.net/","queue":"https://msitestfunctionbc63.queue.core.windows.net/","table":"https://msitestfunctionbc63.table.core.windows.net/","file":"https://msitestfunctionbc63.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-sdk-for-js/providers/Microsoft.Storage/storageAccounts/proxytestjs","name":"proxytestjs","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-17T18:51:16.0174916Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-17T18:51:16.0174916Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2019-01-17T18:51:15.9237740Z","primaryEndpoints":{"dfs":"https://proxytestjs.dfs.core.windows.net/","web":"https://proxytestjs.z22.web.core.windows.net/","blob":"https://proxytestjs.blob.core.windows.net/","queue":"https://proxytestjs.queue.core.windows.net/","table":"https://proxytestjs.table.core.windows.net/","file":"https://proxytestjs.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://proxytestjs-secondary.dfs.core.windows.net/","web":"https://proxytestjs-secondary.z22.web.core.windows.net/","blob":"https://proxytestjs-secondary.blob.core.windows.net/","queue":"https://proxytestjs-secondary.queue.core.windows.net/","table":"https://proxytestjs-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/qiaozhadftest","name":"qiaozhadftest","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-18T13:26:28.6688154Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-18T13:26:28.6688154Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-03-18T13:26:28.5907139Z","primaryEndpoints":{"blob":"https://qiaozhadftest.blob.core.windows.net/","queue":"https://qiaozhadftest.queue.core.windows.net/","table":"https://qiaozhadftest.table.core.windows.net/","file":"https://qiaozhadftest.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/arm-python-RG/providers/Microsoft.Storage/storageAccounts/armpythonrgdiag","name":"armpythonrgdiag","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-08T08:37:58.4541510Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-08T08:37:58.4541510Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-08T08:37:58.3603956Z","primaryEndpoints":{"blob":"https://armpythonrgdiag.blob.core.windows.net/","queue":"https://armpythonrgdiag.queue.core.windows.net/","table":"https://armpythonrgdiag.table.core.windows.net/","file":"https://armpythonrgdiag.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","name":"storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:39:01.3471184Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-southeastasia/providers/Microsoft.Storage/storageAccounts/cs192f95d8f3c67x4124x91c","name":"cs192f95d8f3c67x4124x91c","type":"Microsoft.Storage/storageAccounts","location":"southeastasia","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-01-19T06:50:51.6330046Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-01-19T06:50:51.6330046Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-01-19T06:50:51.5705351Z","primaryEndpoints":{"dfs":"https://cs192f95d8f3c67x4124x91c.dfs.core.windows.net/","web":"https://cs192f95d8f3c67x4124x91c.z23.web.core.windows.net/","blob":"https://cs192f95d8f3c67x4124x91c.blob.core.windows.net/","queue":"https://cs192f95d8f3c67x4124x91c.queue.core.windows.net/","table":"https://cs192f95d8f3c67x4124x91c.table.core.windows.net/","file":"https://cs192f95d8f3c67x4124x91c.file.core.windows.net/"},"primaryLocation":"southeastasia","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ml-test/providers/Microsoft.Storage/storageAccounts/billymlteststorage","name":"billymlteststorage","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-11T04:48:02.8290793Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-11T04:48:02.8290793Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-11T04:48:02.7509575Z","primaryEndpoints":{"blob":"https://billymlteststorage.blob.core.windows.net/","queue":"https://billymlteststorage.queue.core.windows.net/","table":"https://billymlteststorage.table.core.windows.net/","file":"https://billymlteststorage.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/git2gridtesting/providers/Microsoft.Storage/storageAccounts/git2gridb900","name":"git2gridb900","type":"Microsoft.Storage/storageAccounts","location":"centralus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-13T01:56:00.4853173Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-13T01:56:00.4853173Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-13T01:56:00.3446936Z","primaryEndpoints":{"blob":"https://git2gridb900.blob.core.windows.net/","queue":"https://git2gridb900.queue.core.windows.net/","table":"https://git2gridb900.table.core.windows.net/","file":"https://git2gridb900.file.core.windows.net/"},"primaryLocation":"centralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vpn-lon/providers/Microsoft.Storage/storageAccounts/vpnlondiag","name":"vpnlondiag","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-08T20:09:35.3071398Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-08T20:09:35.3071398Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-08T20:09:35.2602311Z","primaryEndpoints":{"blob":"https://vpnlondiag.blob.core.windows.net/","queue":"https://vpnlondiag.queue.core.windows.net/","table":"https://vpnlondiag.table.core.windows.net/","file":"https://vpnlondiag.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}]}' + string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/qiaozhatestdiag","name":"qiaozhatestdiag","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-01T03:28:36.6558790Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-01T03:28:36.6558790Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-01T03:28:36.5776009Z","primaryEndpoints":{"blob":"https://qiaozhatestdiag.blob.core.windows.net/","queue":"https://qiaozhatestdiag.queue.core.windows.net/","table":"https://qiaozhatestdiag.table.core.windows.net/","file":"https://qiaozhatestdiag.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-sdk-for-node/providers/Microsoft.Storage/storageAccounts/azuresdkfornodediag","name":"azuresdkfornodediag","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-10T22:40:25.4342475Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-10T22:40:25.4342475Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-01-10T22:40:25.3405525Z","primaryEndpoints":{"blob":"https://azuresdkfornodediag.blob.core.windows.net/","queue":"https://azuresdkfornodediag.queue.core.windows.net/","table":"https://azuresdkfornodediag.table.core.windows.net/","file":"https://azuresdkfornodediag.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dev-box/providers/Microsoft.Storage/storageAccounts/devboxdiag862","name":"devboxdiag862","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-08-06T17:53:31.3605408Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-08-06T17:53:31.3605408Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-08-06T17:53:31.2355702Z","primaryEndpoints":{"blob":"https://devboxdiag862.blob.core.windows.net/","queue":"https://devboxdiag862.queue.core.windows.net/","table":"https://devboxdiag862.table.core.windows.net/","file":"https://devboxdiag862.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/msi-test-functions/providers/Microsoft.Storage/storageAccounts/msitestfunctionbc63","name":"msitestfunctionbc63","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-14T18:44:56.9136213Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-14T18:44:56.9136213Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2019-01-14T18:44:56.8042783Z","primaryEndpoints":{"blob":"https://msitestfunctionbc63.blob.core.windows.net/","queue":"https://msitestfunctionbc63.queue.core.windows.net/","table":"https://msitestfunctionbc63.table.core.windows.net/","file":"https://msitestfunctionbc63.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azure-sdk-for-js/providers/Microsoft.Storage/storageAccounts/proxytestjs","name":"proxytestjs","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-17T18:51:16.0174916Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2019-01-17T18:51:16.0174916Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2019-01-17T18:51:15.9237740Z","primaryEndpoints":{"dfs":"https://proxytestjs.dfs.core.windows.net/","web":"https://proxytestjs.z22.web.core.windows.net/","blob":"https://proxytestjs.blob.core.windows.net/","queue":"https://proxytestjs.queue.core.windows.net/","table":"https://proxytestjs.table.core.windows.net/","file":"https://proxytestjs.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://proxytestjs-secondary.dfs.core.windows.net/","web":"https://proxytestjs-secondary.z22.web.core.windows.net/","blob":"https://proxytestjs-secondary.blob.core.windows.net/","queue":"https://proxytestjs-secondary.queue.core.windows.net/","table":"https://proxytestjs-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test_mgmt_compute_test_vm_extensions15a60f10/providers/Microsoft.Storage/storageAccounts/pyvmextstor15a60f10","name":"pyvmextstor15a60f10","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-17T04:30:54.7950234Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-17T04:30:54.7950234Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-06-17T04:30:54.7169469Z","primaryEndpoints":{"blob":"https://pyvmextstor15a60f10.blob.core.windows.net/","queue":"https://pyvmextstor15a60f10.queue.core.windows.net/","table":"https://pyvmextstor15a60f10.table.core.windows.net/","file":"https://pyvmextstor15a60f10.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/qiaozhatest/providers/Microsoft.Storage/storageAccounts/qiaozhadftest","name":"qiaozhadftest","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-18T13:26:28.6688154Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-03-18T13:26:28.6688154Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-03-18T13:26:28.5907139Z","primaryEndpoints":{"blob":"https://qiaozhadftest.blob.core.windows.net/","queue":"https://qiaozhadftest.queue.core.windows.net/","table":"https://qiaozhadftest.table.core.windows.net/","file":"https://qiaozhadftest.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/arm-python-RG/providers/Microsoft.Storage/storageAccounts/armpythonrgdiag","name":"armpythonrgdiag","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-08T08:37:58.4541510Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-08T08:37:58.4541510Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2020-05-08T08:37:58.3603956Z","primaryEndpoints":{"blob":"https://armpythonrgdiag.blob.core.windows.net/","queue":"https://armpythonrgdiag.queue.core.windows.net/","table":"https://armpythonrgdiag.table.core.windows.net/","file":"https://armpythonrgdiag.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-changlong/providers/Microsoft.Storage/storageAccounts/testchanglong","name":"testchanglong","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{},"properties":{"privateEndpointConnections":[],"minimumTlsVersion":"TLS1_0","allowBlobPublicAccess":true,"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T02:38:27.0613852Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T02:38:27.0613852Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T02:38:26.9983339Z","primaryEndpoints":{"dfs":"https://testchanglong.dfs.core.windows.net/","web":"https://testchanglong.z6.web.core.windows.net/","blob":"https://testchanglong.blob.core.windows.net/","queue":"https://testchanglong.queue.core.windows.net/","table":"https://testchanglong.table.core.windows.net/","file":"https://testchanglong.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available","secondaryEndpoints":{"dfs":"https://testchanglong-secondary.dfs.core.windows.net/","web":"https://testchanglong-secondary.z6.web.core.windows.net/","blob":"https://testchanglong-secondary.blob.core.windows.net/","queue":"https://testchanglong-secondary.queue.core.windows.net/","table":"https://testchanglong-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-southeastasia/providers/Microsoft.Storage/storageAccounts/cs1100320006f639ac4","name":"cs1100320006f639ac4","type":"Microsoft.Storage/storageAccounts","location":"southeastasia","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-22T09:18:47.2076778Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-22T09:18:47.2076778Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-22T09:18:47.1451761Z","primaryEndpoints":{"dfs":"https://cs1100320006f639ac4.dfs.core.windows.net/","web":"https://cs1100320006f639ac4.z23.web.core.windows.net/","blob":"https://cs1100320006f639ac4.blob.core.windows.net/","queue":"https://cs1100320006f639ac4.queue.core.windows.net/","table":"https://cs1100320006f639ac4.table.core.windows.net/","file":"https://cs1100320006f639ac4.file.core.windows.net/"},"primaryLocation":"southeastasia","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-southeastasia/providers/Microsoft.Storage/storageAccounts/cs192f95d8f3c67x4124x91c","name":"cs192f95d8f3c67x4124x91c","type":"Microsoft.Storage/storageAccounts","location":"southeastasia","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-01-19T06:50:51.6330046Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-01-19T06:50:51.6330046Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-01-19T06:50:51.5705351Z","primaryEndpoints":{"dfs":"https://cs192f95d8f3c67x4124x91c.dfs.core.windows.net/","web":"https://cs192f95d8f3c67x4124x91c.z23.web.core.windows.net/","blob":"https://cs192f95d8f3c67x4124x91c.blob.core.windows.net/","queue":"https://cs192f95d8f3c67x4124x91c.queue.core.windows.net/","table":"https://cs192f95d8f3c67x4124x91c.table.core.windows.net/","file":"https://cs192f95d8f3c67x4124x91c.file.core.windows.net/"},"primaryLocation":"southeastasia","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ml-test/providers/Microsoft.Storage/storageAccounts/billymlteststorage","name":"billymlteststorage","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-11T04:48:02.8290793Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-11T04:48:02.8290793Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-11T04:48:02.7509575Z","primaryEndpoints":{"blob":"https://billymlteststorage.blob.core.windows.net/","queue":"https://billymlteststorage.queue.core.windows.net/","table":"https://billymlteststorage.table.core.windows.net/","file":"https://billymlteststorage.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/git2gridtesting/providers/Microsoft.Storage/storageAccounts/git2gridb900","name":"git2gridb900","type":"Microsoft.Storage/storageAccounts","location":"centralus","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-13T01:56:00.4853173Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-13T01:56:00.4853173Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-13T01:56:00.3446936Z","primaryEndpoints":{"blob":"https://git2gridb900.blob.core.windows.net/","queue":"https://git2gridb900.queue.core.windows.net/","table":"https://git2gridb900.table.core.windows.net/","file":"https://git2gridb900.file.core.windows.net/"},"primaryLocation":"centralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vpn-lon/providers/Microsoft.Storage/storageAccounts/vpnlondiag","name":"vpnlondiag","type":"Microsoft.Storage/storageAccounts","location":"ukwest","tags":{},"properties":{"privateEndpointConnections":[],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-08T20:09:35.3071398Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2018-10-08T20:09:35.3071398Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-10-08T20:09:35.2602311Z","primaryEndpoints":{"blob":"https://vpnlondiag.blob.core.windows.net/","queue":"https://vpnlondiag.queue.core.windows.net/","table":"https://vpnlondiag.table.core.windows.net/","file":"https://vpnlondiag.file.core.windows.net/"},"primaryLocation":"ukwest","statusOfPrimary":"available"}}]}' headers: cache-control: no-cache content-encoding: gzip - content-length: '3869' + content-length: '3211' content-type: application/json; charset=utf-8 - date: Tue, 26 May 2020 06:40:25 GMT + date: Sun, 28 Jun 2020 06:23:10 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000; includeSubDomains vary: Accept-Encoding x-content-type-options: nosniff - x-ms-original-request-ids: 14a1ca1e-adba-4db0-a539-efc7499dbc54 + x-ms-original-request-ids: 61ced99c-acef-4f9a-a055-2e0f0fb4900f status: code: 200 message: OK @@ -1579,18 +1558,18 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/skus?api-version=2019-06-01 response: body: - string: '{"value":[{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]}]}' + string: '{"value":[{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus"],"locationInfo":[{"location":"eastus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2"],"locationInfo":[{"location":"eastus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2(stage)"],"locationInfo":[{"location":"eastus2(stage)","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westus"],"locationInfo":[{"location":"westus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westeurope"],"locationInfo":[{"location":"westeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["eastasia"],"locationInfo":[{"location":"eastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"FileStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_ZRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southeastasia"],"locationInfo":[{"location":"southeastasia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["japaneast"],"locationInfo":[{"location":"japaneast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["japanwest"],"locationInfo":[{"location":"japanwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["northcentralus"],"locationInfo":[{"location":"northcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["southcentralus"],"locationInfo":[{"location":"southcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["centralus"],"locationInfo":[{"location":"centralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsfilestorage","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["northeurope"],"locationInfo":[{"location":"northeurope","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsouth"],"locationInfo":[{"location":"brazilsouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["australiaeast"],"locationInfo":[{"location":"australiaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiasoutheast"],"locationInfo":[{"location":"australiasoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southindia"],"locationInfo":[{"location":"southindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centralindia"],"locationInfo":[{"location":"centralindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westindia"],"locationInfo":[{"location":"westindia","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["canadaeast"],"locationInfo":[{"location":"canadaeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["canadacentral"],"locationInfo":[{"location":"canadacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westus2"],"locationInfo":[{"location":"westus2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["westcentralus"],"locationInfo":[{"location":"westcentralus","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["uksouth"],"locationInfo":[{"location":"uksouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["ukwest"],"locationInfo":[{"location":"ukwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["koreacentral"],"locationInfo":[{"location":"koreacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["koreasouth"],"locationInfo":[{"location":"koreasouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGZRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["eastus2euap"],"locationInfo":[{"location":"eastus2euap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsLcmVersionAndSnapshotActions","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"FileStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"BlockBlobStorage","locations":["centraluseuap"],"locationInfo":[{"location":"centraluseuap","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsNfsv3","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsLATFeature","value":"true"},{"name":"supportsChangeFeedRetention","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"},{"name":"supportsBlobContainerRetention","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportshoeboxcapacitymetrics","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["francecentral"],"locationInfo":[{"location":"francecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsblobtagfiltering","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["francesouth"],"locationInfo":[{"location":"francesouth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportsAutomaticSnapshot","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportschangefeed","value":"true"},{"name":"supportsfileactivedirectory","value":"true"},{"name":"supportsadlsgen2snapshot","value":"true"},{"name":"supportsadlsgen2staticwebsite","value":"true"},{"name":"supportsadlsgen2wormpolicy","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral"],"locationInfo":[{"location":"australiacentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["australiacentral2"],"locationInfo":[{"location":"australiacentral2","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsarchivepreview","value":"true"},{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southafricawest"],"locationInfo":[{"location":"southafricawest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southafricanorth"],"locationInfo":[{"location":"southafricanorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uaecentral"],"locationInfo":[{"location":"uaecentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["uaenorth"],"locationInfo":[{"location":"uaenorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandnorth"],"locationInfo":[{"location":"switzerlandnorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["switzerlandwest"],"locationInfo":[{"location":"switzerlandwest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["germanywestcentral"],"locationInfo":[{"location":"germanywestcentral","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsRoutingPreferences","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["germanynorth"],"locationInfo":[{"location":"germanynorth","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportsthreatdetection","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["norwayeast"],"locationInfo":[{"location":"norwayeast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportslargefileshares","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["norwaywest"],"locationInfo":[{"location":"norwaywest","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportschangenotification","value":"true"},{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Premium_LRS","tier":"Premium","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsnetworkacls","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["southcentralusstg"],"locationInfo":[{"location":"southcentralusstg","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_ZRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"Storage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"StorageV2","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsfileencryption","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportsstaticwebsite","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_LRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_GRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]},{"resourceType":"storageAccounts","name":"Standard_RAGRS","tier":"Standard","kind":"BlobStorage","locations":["brazilsoutheast"],"locationInfo":[{"location":"brazilsoutheast","zones":[],"zoneDetails":[]}],"capabilities":[{"name":"supportsmanagementpolicy","value":"true"},{"name":"supportsnetworkacls","value":"true"},{"name":"supportshierarchicalnamespace","value":"true"},{"name":"supportsazureblobfs","value":"true"},{"name":"supportscompliancepolicy","value":"true"},{"name":"supportscustomercontrolledfailover","value":"true"},{"name":"supportseventgridforadls","value":"true"},{"name":"supportsPrivateEndpointConnections","value":"true"},{"name":"supportsMultiProtocolAccess","value":"true"},{"name":"supportsfileactivedirectory","value":"true"}],"restrictions":[]}]}' headers: cache-control: no-cache content-encoding: gzip - content-length: '17584' + content-length: '18261' content-type: application/json; charset=utf-8 - date: Tue, 26 May 2020 06:40:25 GMT + date: Sun, 28 Jun 2020 06:23:10 GMT expires: '-1' pragma: no-cache strict-transport-security: max-age=31536000; includeSubDomains @@ -1606,927 +1585,537 @@ interactions: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: GET uri: https://management.azure.com/providers/Microsoft.Storage/operations?api-version=2019-06-01 response: body: - string: "{\"value\":[{\"name\":\"Microsoft.Storage/locations/deleteVirtualNetworkOrSubnets/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Location\",\"operation\":\"Delete virtual network or subnets\ - \ notifications\",\"description\":\"Notifies Microsoft.Storage that virtual\ - \ network or subnet is being deleted\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/delete\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/read\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/write\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/deletedAccounts/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/localUsers/delete\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Local\ - \ User\",\"operation\":\"Delete Local User\",\"description\":\"Delete local\ - \ user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/listKeys/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Local User\",\"operation\":\"List Local User Keys\",\"description\"\ - :\"List local user keys\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Local User\",\"operation\":\"List Local Users\",\"description\"\ - :\"List local users\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Local User\",\"operation\":\"Get Local User\",\"description\"\ - :\"Get local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Local User\",\"operation\":\"Put Local User\",\"description\"\ - :\"Create or update local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/delete\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Object Replication Policy\",\"operation\":\"Delete Object Replication\ - \ Policy\",\"description\":\"Delete object replication policy\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Object\ - \ Replication Policy\",\"operation\":\"Get Object Replication Policy\",\"\ - description\":\"Get object replication policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Object Replication Policy\",\"operation\":\"List Object Replication\ - \ Policies\",\"description\":\"List object replication policies\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\",\"\ - isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\"\ - :\"Storage Account Private Endpoint Connections\",\"operation\":\"List Private\ - \ Endpoint Connections\",\"description\":\"List Private Endpoint Connections\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Object Replication Policy\",\"operation\":\"Put Object Replication\ - \ Policy\",\"description\":\"Create or update object replication policy\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\"\ - isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/write\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/delete\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account Management Policies\",\"operation\":\"Delete\ - \ storage account management policies\",\"description\":\"Delete storage account\ - \ management policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account Management Policies\",\"operation\":\"Get storage\ - \ account management policies\",\"description\":\"Get storage management account\ - \ policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account Management Policies\",\"operation\":\"Put storage\ - \ account management policies\",\"description\":\"Put storage account management\ - \ policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account Private Endpoint Connection Proxy\",\"operation\"\ - :\"Get Private Endpoint Connection Proxy\",\"description\":\"Get Private Endpoint\ - \ Connection Proxy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/restoreBlobRanges/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers\",\"operation\":\"Restore blob\ - \ ranges\",\"description\":\"Restore blob ranges to the state of the specified\ - \ time\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/delete\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account Private Endpoint Connection Proxies\",\"operation\"\ - :\"Delete Private Endpoint Connection Proxies\",\"description\":\"Delete Private\ - \ Endpoint Connection Proxies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/PrivateEndpointConnectionsApproval/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account Private Endpoint Connections\",\"operation\"\ - :\"Approve Private Endpoint Connections\",\"description\":\"Approve Private\ - \ Endpoint Connections\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/delete\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File Share\",\"operation\":\"Delete File Share\",\"description\"\ - :\"Delete file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File Share\",\"operation\":\"Get File Share\",\"description\"\ - :\"Get file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File Share\",\"operation\":\"List File Shares\",\"description\"\ - :\"List file shares\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File Share\",\"operation\":\"Put File Share\",\"description\"\ - :\"Create or update file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File Share\",\"operation\":\"Restore File Share\",\"description\"\ - :\"Restore file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File Service\",\"operation\":\"List File Services\",\"description\"\ - :\"List file services\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File Service\",\"operation\":\"Put File Service Properties\"\ - ,\"description\":\"Put file service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"\ - isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/queueServices/write\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/delete\",\"\ - isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/tableServices/read\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/tableServices/read\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Table Service\",\"operation\":\"Get Table service properties\",\"description\"\ - :\"Get Table service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/tableServices/write\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/delete\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"\ - Delete Private Endpoint Connection\",\"description\":\"Delete Private Endpoint\ - \ Connection\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"\ - Get Private Endpoint Connection\",\"description\":\"Get Private Endpoint Connection\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/privateLinkResources/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage account groupids\",\"operation\":\"Get StorageAccount\ - \ groupids\",\"description\":\"Get StorageAccount groupids\"}},{\"name\":\"\ - Microsoft.Storage/storageAccounts/privateEndpointConnections/write\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Account Private Endpoint Connection\",\"operation\":\"Put Private Endpoint\ - \ Connection\",\"description\":\"Put Private Endpoint Connection\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account Private Endpoint Connection Proxies\",\"operation\"\ - :\"Put Private Endpoint Connection Proxies\",\"description\":\"Put Private\ - \ Endpoint Connection Proxies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Blob Service\",\"operation\":\"List Blob Services\",\"description\"\ - :\"List blob services\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers\",\"operation\":\"Patch blob\ - \ container\",\"description\":\"Returns the result of patch blob container\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/generateUserDelegationKey/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Services\",\"operation\":\"Generate a user delegation\ - \ key\",\"description\":\"Returns a user delegation key for the blob service\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Read Blob\",\"description\"\ - :\"Returns a blob or a list of blobs\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Write Blob\",\"\ - description\":\"Returns the result of writing a blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Delete blob\",\"\ - description\":\"Returns the result of deleting a blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/deleteBlobVersion/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Delete blob versions\"\ - ,\"description\":\"Returns the result of deleting a blob version\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Add blob content\"\ - ,\"description\":\"Returns the result of adding blob content\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/read\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Read blob tags\"\ - ,\"description\":\"Returns the result of reading blob tags\"}},{\"name\":\"\ - Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/write\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Write blob tags\"\ - ,\"description\":\"Returns the result of writing blob tags\"}},{\"name\":\"\ - Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Accounts\",\"operation\":\"Filter blobs\",\"description\"\ - :\"Returns the list of blobs under an account with matching tags filter\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/move/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Move blobs\",\"\ - description\":\"Moves the blob from one path to another\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/manageOwnership/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Manage blob ownership\"\ - ,\"description\":\"Changes ownership of the blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/modifyPermissions/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Modify blob permissions\"\ - ,\"description\":\"Modifies permissions of the blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/runAsSuperUser/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Blobs\",\"operation\":\"Execute the command\ - \ as super user\",\"description\":\"Returns the result of the blob command\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/delete\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers\",\"operation\":\"Delete blob\ - \ container\",\"description\":\"Returns the result of deleting a container\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/read\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ File Service\",\"operation\":\"Get file service properties\",\"description\"\ - :\"Get file service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/read\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage File Service Files\",\"operation\":\"Read Files\",\"\ - description\":\"Returns a file/folder or a list of files/folders\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/write\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage File Service Files\",\"operation\":\"Write Files\",\"\ - description\":\"Returns the result of writing a file or creating a folder\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/delete\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage File Service Files\",\"operation\":\"Delete Files\",\"\ - description\":\"Returns the result of deleting a file/folder\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/modifypermissions/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage File Service Files\",\"operation\":\"Modify File Acl\"\ - ,\"description\":\"Returns the result of modifying permission on a file/folder\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/actassuperuser/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage File Service Files\",\"operation\":\"Get File Admin Privileges\"\ - ,\"description\":\"Get File Admin Privileges\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Queue Service\",\"operation\":\"Get Queue service properties\"\ - ,\"description\":\"Get Queue service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/extend/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ - :\"Extend blob container immutability policy\",\"description\":\"Extend blob\ - \ container immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/delete\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ - :\"Delete blob container immutability policy\",\"description\":\"Delete blob\ - \ container immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ - :\"Put blob container immutability policy\",\"description\":\"Put blob container\ - \ immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/lock/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ - :\"Lock blob container immutability policy\",\"description\":\"Lock blob container\ - \ immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\"\ - :\"Get blob container immutability policy\",\"description\":\"Get blob container\ - \ immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers\",\"operation\":\"Get blob container\"\ - ,\"description\":\"Returns a container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers\",\"operation\":\"List of blob\ - \ containers\",\"description\":\"Returns list of containers\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/blobServices/containers/lease/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers\",\"operation\":\"Lease blob\ - \ container\",\"description\":\"Returns the result of leasing blob container\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers\",\"operation\":\"Put blob container\"\ - ,\"description\":\"Returns the result of put blob container\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/blobServices/containers/clearLegalHold/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers\",\"operation\":\"Clear blob\ - \ container legal hold\",\"description\":\"Clear blob container legal hold\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/setLegalHold/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Service Containers\",\"operation\":\"Set blob container\ - \ legal hold\",\"description\":\"Set blob container legal hold\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Queue Services\",\"operation\":\"Get queue service properties or statistics\"\ - ,\"description\":\"Returns queue service properties or statistics.\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/queueServices/write\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Queue Services\",\"operation\":\"Set queue service properties\",\"description\"\ - :\"Returns the result of setting queue service properties\"}},{\"name\":\"\ - Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Queue Service Queues\",\"operation\":\"Read a queue or list queues\",\"\ - description\":\"Returns a queue or a list of queues.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Queue Service Queues\",\"operation\":\"Write queue\"\ - ,\"description\":\"Returns the result of writing a queue\"}},{\"name\":\"\ - Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Queue Service Queues\",\"operation\":\"Delete queue\",\"description\":\"\ - Returns the result of deleting a queue\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/read\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Queue Service Messages\",\"operation\":\"Read message\"\ - ,\"description\":\"Returns a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/write\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Queue Service Messages\",\"operation\":\"Write message\"\ - ,\"description\":\"Returns the result of writing a message\"}},{\"name\":\"\ - Microsoft.Storage/storageAccounts/queueServices/queues/messages/delete\",\"\ - isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\"\ - :\"Storage Queue Service Messages\",\"operation\":\"Delete message\",\"description\"\ - :\"Returns the result of deleting a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/add/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Queue Service Messages\",\"operation\":\"Add message\"\ - ,\"description\":\"Returns the result of adding a message\"}},{\"name\":\"\ - Microsoft.Storage/storageAccounts/queueServices/queues/messages/process/action\"\ - ,\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Queue Service Messages\",\"operation\":\"Process message\"\ - ,\"description\":\"Returns the result of processing a message\"}},{\"name\"\ - :\"Microsoft.Storage/storageAccounts/blobServices/write\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Blob Services\",\"operation\":\"Put blob service properties\",\"description\"\ - :\"Returns the result of put blob service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/failover/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Accounts\",\"operation\":\"Storage Account Failover\"\ - ,\"description\":\"Customer is able to control the failover in case of availability\ - \ issues\"}},{\"name\":\"Microsoft.Storage/locations/checknameavailability/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Name Availability\",\"operation\":\"Check Name Availability\"\ - ,\"description\":\"Checks that account name is valid and is not in use.\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/listkeys/action\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Accounts\",\"operation\":\"List Storage Account Keys\",\"description\":\"\ - Returns the access keys for the specified storage account.\"}},{\"name\":\"\ - Microsoft.Storage/storageAccounts/regeneratekey/action\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Accounts\",\"operation\":\"Regenerate Storage Account Keys\",\"description\"\ - :\"Regenerates the access keys for the specified storage account.\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/revokeUserDelegationKeys/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Accounts\",\"operation\":\"Revoke Storage Account User\ - \ Delegation Keys\",\"description\":\"Revokes all the user delegation keys\ - \ for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/register/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Resource Provider\",\"operation\":\"Registers the Storage\ - \ Resource Provider\",\"description\":\"Registers the subscription for the\ - \ storage resource provider and enables the creation of storage accounts.\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/services/diagnosticSettings/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Accounts\",\"operation\":\"Create/Update Diagnostic Settings\"\ - ,\"description\":\"Create/Update storage account diagnostic settings.\"}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/metricDefinitions/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Accounts\",\"operation\":\"Get list of Microsoft Storage\ - \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ - \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ - :{\"metricSpecifications\":[{\"name\":\"UsedCapacity\",\"displayName\":\"\ - Used capacity\",\"displayDescription\":\"Account used capacity\",\"unit\"\ - :\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\"\ - ,\"fillGapWithZero\":false,\"category\":\"Capacity\",\"resourceIdDimensionNameOverride\"\ - :\"AccountResourceId\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ - :[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\"\ - ,\"displayDescription\":\"The number of requests made to a storage service\ - \ or the specified API operation. This number includes successful and failed\ - \ requests, as well as requests which produced errors. Use ResponseType dimension\ - \ for the number of different type of response.\",\"unit\":\"Count\",\"aggregationType\"\ - :\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response\ - \ type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\"\ - :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ - :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ - ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ - :false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"\ - AccountResourceId\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"\ - Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The amount\ - \ of ingress data, in bytes. This number includes ingress from an external\ - \ client into Azure Storage as well as ingress within Azure.\",\"unit\":\"\ - Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\"\ - ,\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"\ - ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\"\ - :true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\"\ - :\"AccountResourceId\",\"supportedAggregationTypes\":[\"Total\",\"Average\"\ - ,\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\"\ - ,\"displayDescription\":\"The amount of egress data, in bytes. This number\ - \ includes egress from an external client into Azure Storage as well as egress\ - \ within Azure. As a result, this number does not reflect billable egress.\"\ - ,\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\"\ - :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"\ - supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"\ - ]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success Server Latency\"\ - ,\"displayDescription\":\"The average latency used by Azure Storage to process\ - \ a successful request, in milliseconds. This value does not include the network\ - \ latency specified in AverageE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\"\ - :\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ - ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ - API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ - displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ - :false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"\ - AccountResourceId\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\"\ - ,\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success E2E\ - \ Latency\",\"displayDescription\":\"The average end-to-end latency of successful\ - \ requests made to a storage service or the specified API operation, in milliseconds.\ - \ This value includes the required processing time within Azure Storage to\ - \ read the request, send the response, and receive acknowledgment of the response.\"\ - ,\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\"\ - :[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"\ - supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\"\ - :\"Availability\",\"displayName\":\"Availability\",\"displayDescription\"\ - :\"The percentage of availability for the storage service or the specified\ - \ API operation. Availability is calculated by taking the TotalBillableRequests\ - \ value and dividing it by the number of applicable requests, including those\ - \ that produced unexpected errors. All unexpected errors result in reduced\ - \ availability for the storage service or the specified API operation.\",\"\ - unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\"\ - :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"\ - supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Accounts\",\"operation\":\"Read diagnostic setting\"\ - ,\"description\":\"Gets the diagnostic setting for the resource.\"},\"origin\"\ - :\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Accounts\",\"operation\":\"Write diagnostic setting\"\ - ,\"description\":\"Creates or updates the diagnostic setting for the resource.\"\ - },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/metricDefinitions/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Blob service\",\"operation\":\"Get list of Microsoft Storage\ - \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ - \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ - :{\"metricSpecifications\":[{\"name\":\"BlobCapacity\",\"displayName\":\"\ - Blob Capacity\",\"displayDescription\":\"The amount of storage used by the\ - \ storage account\u2019s Blob service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\"\ - :\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"\ - BlobType\",\"displayName\":\"Blob type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"Tier\",\"displayName\":\"Blob tier\",\"toBeExportedForShoebox\":true}],\"\ - fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"BlobCount\"\ - ,\"displayName\":\"Blob Count\",\"displayDescription\":\"The number of Blob\ - \ in the storage account\u2019s Blob service.\",\"unit\":\"Count\",\"aggregationType\"\ - :\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"\ - BlobType\",\"displayName\":\"Blob type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"Tier\",\"displayName\":\"Blob tier\",\"toBeExportedForShoebox\":true}],\"\ - fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"BlobProvisionedSize\"\ - ,\"displayName\":\"Blob Provisioned Size\",\"displayDescription\":\"The amount\ - \ of storage provisioned in the storage account\u2019s Blob service in bytes.\"\ - ,\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\"\ - :\"Total\",\"dimensions\":[{\"name\":\"BlobType\",\"displayName\":\"Blob type\"\ - ,\"toBeExportedForShoebox\":true},{\"name\":\"Tier\",\"displayName\":\"Blob\ - \ tier\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\"\ - :\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ - :[\"Average\"],\"metricFilterPattern\":\"Premium\"},{\"name\":\"ContainerCount\"\ - ,\"displayName\":\"Blob Container Count\",\"displayDescription\":\"The number\ - \ of containers in the storage account\u2019s Blob service.\",\"unit\":\"\ - Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\"\ - :\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ - :[\"Average\"]},{\"name\":\"IndexCapacity\",\"displayName\":\"Index Capacity\"\ - ,\"displayDescription\":\"The amount of storage used by ADLS Gen2 (Hierarchical)\ - \ Index in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"\ - lockAggregationType\":\"Total\",\"fillGapWithZero\":false,\"category\":\"\ - Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ - :[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\"\ - ,\"displayDescription\":\"The number of requests made to a storage service\ - \ or the specified API operation. This number includes successful and failed\ - \ requests, as well as requests which produced errors. Use ResponseType dimension\ - \ for the number of different type of response.\",\"unit\":\"Count\",\"aggregationType\"\ - :\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response\ - \ type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\"\ - :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ - :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ - ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ - :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ - ]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\"\ - :\"The amount of ingress data, in bytes. This number includes ingress from\ - \ an external client into Azure Storage as well as ingress within Azure.\"\ - ,\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\"\ - :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\"\ - ,\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\"\ - :\"The amount of egress data, in bytes. This number includes egress from an\ - \ external client into Azure Storage as well as egress within Azure. As a\ - \ result, this number does not reflect billable egress.\",\"unit\":\"Bytes\"\ - ,\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\"\ - :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ - :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ - ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ - :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ - ,\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\"\ - ,\"displayName\":\"Success Server Latency\",\"displayDescription\":\"The average\ - \ latency used by Azure Storage to process a successful request, in milliseconds.\ - \ This value does not include the network latency specified in AverageE2ELatency.\"\ - ,\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\"\ - :[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ - ]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success E2E Latency\"\ - ,\"displayDescription\":\"The average end-to-end latency of successful requests\ - \ made to a storage service or the specified API operation, in milliseconds.\ - \ This value includes the required processing time within Azure Storage to\ - \ read the request, send the response, and receive acknowledgment of the response.\"\ - ,\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\"\ - :[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ - ]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\"\ - :\"The percentage of availability for the storage service or the specified\ - \ API operation. Availability is calculated by taking the TotalBillableRequests\ - \ value and dividing it by the number of applicable requests, including those\ - \ that produced unexpected errors. All unexpected errors result in reduced\ - \ availability for the storage service or the specified API operation.\",\"\ - unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\"\ - :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ - ]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Blob service\",\"operation\":\"Read diagnostic setting\",\"description\"\ - :\"Gets the diagnostic setting for the resource.\"},\"origin\":\"system\"\ - },{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Blob service\",\"operation\":\"Write diagnostic setting\",\"\ - description\":\"Creates or updates the diagnostic setting for the resource.\"\ - },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/metricDefinitions/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Table service\",\"operation\":\"Get list of Microsoft Storage\ - \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ - \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ - :{\"metricSpecifications\":[{\"name\":\"TableCapacity\",\"displayName\":\"\ - Table Capacity\",\"displayDescription\":\"The amount of storage used by the\ - \ storage account\u2019s Table service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\"\ - :\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"TableCount\"\ - ,\"displayName\":\"Table Count\",\"displayDescription\":\"The number of table\ - \ in the storage account\u2019s Table service.\",\"unit\":\"Count\",\"aggregationType\"\ - :\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"TableEntityCount\"\ - ,\"displayName\":\"Table Entity Count\",\"displayDescription\":\"The number\ - \ of table entities in the storage account\u2019s Table service.\",\"unit\"\ - :\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\"\ - :\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ - :[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\"\ - ,\"displayDescription\":\"The number of requests made to a storage service\ - \ or the specified API operation. This number includes successful and failed\ - \ requests, as well as requests which produced errors. Use ResponseType dimension\ - \ for the number of different type of response.\",\"unit\":\"Count\",\"aggregationType\"\ - :\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response\ - \ type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\"\ - :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ - :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ - ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ - :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ - ]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\"\ - :\"The amount of ingress data, in bytes. This number includes ingress from\ - \ an external client into Azure Storage as well as ingress within Azure.\"\ - ,\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\"\ - :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\"\ - ,\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\"\ - :\"The amount of egress data, in bytes. This number includes egress from an\ - \ external client into Azure Storage as well as egress within Azure. As a\ - \ result, this number does not reflect billable egress.\",\"unit\":\"Bytes\"\ - ,\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\"\ - :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ - :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ - ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ - :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ - ,\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\"\ - ,\"displayName\":\"Success Server Latency\",\"displayDescription\":\"The average\ - \ latency used by Azure Storage to process a successful request, in milliseconds.\ - \ This value does not include the network latency specified in AverageE2ELatency.\"\ - ,\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\"\ - :[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ - ]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success E2E Latency\"\ - ,\"displayDescription\":\"The average end-to-end latency of successful requests\ - \ made to a storage service or the specified API operation, in milliseconds.\ - \ This value includes the required processing time within Azure Storage to\ - \ read the request, send the response, and receive acknowledgment of the response.\"\ - ,\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\"\ - :[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ - ]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\"\ - :\"The percentage of availability for the storage service or the specified\ - \ API operation. Availability is calculated by taking the TotalBillableRequests\ - \ value and dividing it by the number of applicable requests, including those\ - \ that produced unexpected errors. All unexpected errors result in reduced\ - \ availability for the storage service or the specified API operation.\",\"\ - unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\"\ - :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ - ]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Table service\",\"operation\":\"Read diagnostic setting\",\"\ - description\":\"Gets the diagnostic setting for the resource.\"},\"origin\"\ - :\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Table service\",\"operation\":\"Write diagnostic setting\",\"\ - description\":\"Creates or updates the diagnostic setting for the resource.\"\ - },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/metricDefinitions/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File service\",\"operation\":\"Get list of Microsoft Storage\ - \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ - \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ - :{\"metricSpecifications\":[{\"name\":\"FileCapacity\",\"displayName\":\"\ - File Capacity\",\"displayDescription\":\"The amount of storage used by the\ - \ storage account\u2019s File service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\"\ - :\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"\ - FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true}],\"\ - fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileCount\"\ - ,\"displayName\":\"File Count\",\"displayDescription\":\"The number of file\ - \ in the storage account\u2019s File service.\",\"unit\":\"Count\",\"aggregationType\"\ - :\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"\ - FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true}],\"\ - fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareCount\"\ - ,\"displayName\":\"File Share Count\",\"displayDescription\":\"The number\ - \ of file shares in the storage account\u2019s File service.\",\"unit\":\"\ - Count\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\"\ - ,\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareSnapshotCount\"\ - ,\"displayName\":\"File Share Snapshot Count\",\"displayDescription\":\"The\ - \ number of snapshots present on the share in storage account\u2019s Files\ - \ Service.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\"\ - :\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File\ - \ Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\"\ - :\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ - :[\"Average\"]},{\"name\":\"FileShareSnapshotSize\",\"displayName\":\"File\ - \ Share Snapshot Size\",\"displayDescription\":\"The amount of storage used\ - \ by the snapshots in storage account\u2019s File service in bytes.\",\"unit\"\ - :\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\"\ - ,\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File Share\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ - :[\"Average\"]},{\"name\":\"FileShareCapacityQuota\",\"internalMetricName\"\ - :\"FileShareQuota\",\"displayName\":\"File Share Capacity Quota\",\"displayDescription\"\ - :\"The upper limit on the amount of storage that can be used by Azure Files\ - \ Service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"\ - lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"\ - displayName\":\"File Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ - :false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"\ - supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareProvisionedIOPS\"\ - ,\"displayName\":\"File Share Provisioned IOPS\",\"displayDescription\":\"\ - The baseline number of provisioned IOPS for the premium file share in the\ - \ premium files storage account. This number is calculated based on the provisioned\ - \ size (quota) of the share capacity.\",\"unit\":\"Bytes\",\"aggregationType\"\ - :\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"\ - FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true}],\"\ - fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"],\"metricFilterPattern\"\ - :\"Premium\"},{\"name\":\"Transactions\",\"displayName\":\"Transactions\"\ - ,\"displayDescription\":\"The number of requests made to a storage service\ - \ or the specified API operation. This number includes successful and failed\ - \ requests, as well as requests which produced errors. Use ResponseType dimension\ - \ for the number of different type of response.\",\"unit\":\"Count\",\"aggregationType\"\ - :\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response\ - \ type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\"\ - :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ - :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ - ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ - :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ - internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ - ,\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\"\ - :\"Ingress\",\"displayDescription\":\"The amount of ingress data, in bytes.\ - \ This number includes ingress from an external client into Azure Storage\ - \ as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\"\ - :\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ - ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ - API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ - displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ - :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ - internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ - ,\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"\ - ]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\"\ - :\"The amount of egress data, in bytes. This number includes egress from an\ - \ external client into Azure Storage as well as egress within Azure. As a\ - \ result, this number does not reflect billable egress.\",\"unit\":\"Bytes\"\ - ,\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\"\ - :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ - :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ - ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ - :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ - internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ - ,\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"\ - ]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success Server Latency\"\ - ,\"displayDescription\":\"The average latency used by Azure Storage to process\ - \ a successful request, in milliseconds. This value does not include the network\ - \ latency specified in AverageE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\"\ - :\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ - ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ - API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ - displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ - :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ - internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ - ,\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"\ - name\":\"SuccessE2ELatency\",\"displayName\":\"Success E2E Latency\",\"displayDescription\"\ - :\"The average end-to-end latency of successful requests made to a storage\ - \ service or the specified API operation, in milliseconds. This value includes\ - \ the required processing time within Azure Storage to read the request, send\ - \ the response, and receive acknowledgment of the response.\",\"unit\":\"\ - Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"\ - GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"\ - File Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"\ - }],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\"\ - :[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\"\ - :\"Availability\",\"displayDescription\":\"The percentage of availability\ - \ for the storage service or the specified API operation. Availability is\ - \ calculated by taking the TotalBillableRequests value and dividing it by\ - \ the number of applicable requests, including those that produced unexpected\ - \ errors. All unexpected errors result in reduced availability for the storage\ - \ service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\"\ - :\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo type\"\ - ,\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"\ - API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"\ - displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\"\ - :\"FileShare\",\"displayName\":\"File Share\",\"toBeExportedForShoebox\":true,\"\ - internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\"\ - ,\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"\ - name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File service\",\"operation\":\"Read diagnostic setting\",\"description\"\ - :\"Gets the diagnostic setting for the resource.\"},\"origin\":\"system\"\ - },{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File service\",\"operation\":\"Write diagnostic setting\",\"\ - description\":\"Creates or updates the diagnostic setting for the resource.\"\ - },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/metricDefinitions/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Queue service\",\"operation\":\"Get list of Microsoft Storage\ - \ Metrics definitions\",\"description\":\"Get list of Microsoft Storage Metrics\ - \ definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\"\ - :{\"metricSpecifications\":[{\"name\":\"QueueCapacity\",\"displayName\":\"\ - Queue Capacity\",\"displayDescription\":\"The amount of storage used by the\ - \ storage account\u2019s Queue service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\"\ - :\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"QueueCount\"\ - ,\"displayName\":\"Queue Count\",\"displayDescription\":\"The number of queue\ - \ in the storage account\u2019s Queue service.\",\"unit\":\"Count\",\"aggregationType\"\ - :\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\"\ - :[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"QueueMessageCount\"\ - ,\"displayName\":\"Queue Message Count\",\"displayDescription\":\"The approximate\ - \ number of queue messages in the storage account\u2019s Queue service.\"\ - ,\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"\ - category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\"\ - :[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\"\ - ,\"displayDescription\":\"The number of requests made to a storage service\ - \ or the specified API operation. This number includes successful and failed\ - \ requests, as well as requests which produced errors. Use ResponseType dimension\ - \ for the number of different type of response.\",\"unit\":\"Count\",\"aggregationType\"\ - :\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response\ - \ type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\"\ - :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ - :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ - ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ - :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ - ]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\"\ - :\"The amount of ingress data, in bytes. This number includes ingress from\ - \ an external client into Azure Storage as well as ingress within Azure.\"\ - ,\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\"\ - :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\"\ - ,\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\"\ - :\"The amount of egress data, in bytes. This number includes egress from an\ - \ external client into Azure Storage as well as egress within Azure. As a\ - \ result, this number does not reflect billable egress.\",\"unit\":\"Bytes\"\ - ,\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\"\ - :\"Geo type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\"\ - :\"API name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\"\ - ,\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\"\ - :false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"\ - ,\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\"\ - ,\"displayName\":\"Success Server Latency\",\"displayDescription\":\"The average\ - \ latency used by Azure Storage to process a successful request, in milliseconds.\ - \ This value does not include the network latency specified in AverageE2ELatency.\"\ - ,\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\"\ - :[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ - ]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success E2E Latency\"\ - ,\"displayDescription\":\"The average end-to-end latency of successful requests\ - \ made to a storage service or the specified API operation, in milliseconds.\ - \ This value includes the required processing time within Azure Storage to\ - \ read the request, send the response, and receive acknowledgment of the response.\"\ - ,\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\"\ - :[{\"name\":\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ - ]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\"\ - :\"The percentage of availability for the storage service or the specified\ - \ API operation. Availability is calculated by taking the TotalBillableRequests\ - \ value and dividing it by the number of applicable requests, including those\ - \ that produced unexpected errors. All unexpected errors result in reduced\ - \ availability for the storage service or the specified API operation.\",\"\ - unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\"\ - :\"GeoType\",\"displayName\":\"Geo type\",\"toBeExportedForShoebox\":true},{\"\ - name\":\"ApiName\",\"displayName\":\"API name\",\"toBeExportedForShoebox\"\ - :true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"\ - toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"\ - Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"\ - ]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Queue service\",\"operation\":\"Read diagnostic setting\",\"\ - description\":\"Gets the diagnostic setting for the resource.\"},\"origin\"\ - :\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Queue service\",\"operation\":\"Write diagnostic setting\",\"\ - description\":\"Creates or updates the diagnostic setting for the resource.\"\ - },\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/logDefinitions/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Table Service\",\"operation\":\"Read log definition\",\"description\"\ - :\"Gets the log definition for Table\"},\"origin\":\"system\",\"properties\"\ - :{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\"\ - ,\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\"\ - ,\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"\ - StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"\ - }]}}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/logDefinitions/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Blob Service\",\"operation\":\"Read log definition\",\"description\"\ - :\"Gets the log definition for Blob\"},\"origin\":\"system\",\"properties\"\ - :{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\"\ - ,\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\"\ - ,\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"\ - StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"\ - }]}}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/logDefinitions/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"File Service\",\"operation\":\"Read log definition\",\"description\"\ - :\"Gets the log definition for File\"},\"origin\":\"system\",\"properties\"\ - :{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\"\ - ,\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\"\ - ,\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"\ - StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"\ - }]}}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/logDefinitions/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Queue Service\",\"operation\":\"Read log definition\",\"description\"\ - :\"Gets the log definition for Queue\"},\"origin\":\"system\",\"properties\"\ - :{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\"\ - ,\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\"\ - ,\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"\ - StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"\ - }]}}},{\"name\":\"Microsoft.Storage/skus/read\",\"isDataAction\":false,\"\ - display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Sku\",\"operation\"\ - :\"List Skus\",\"description\":\"Lists the Skus supported by Microsoft.Storage.\"\ - }},{\"name\":\"Microsoft.Storage/operations/read\",\"isDataAction\":false,\"\ - display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Operations\"\ - ,\"operation\":\"Poll Asynchronous Operation\",\"description\":\"Polls the\ - \ status of an asynchronous operation.\"}},{\"name\":\"Microsoft.Storage/checknameavailability/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Name Availability\",\"operation\":\"Check Name Availability\"\ - ,\"description\":\"Checks that account name is valid and is not in use.\"\ - }},{\"name\":\"Microsoft.Storage/storageAccounts/delete\",\"isDataAction\"\ - :false,\"display\":{\"provider\":\"Microsoft Storage\",\"resource\":\"Storage\ - \ Accounts\",\"operation\":\"Delete Storage Account\",\"description\":\"Deletes\ - \ an existing storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Accounts\",\"operation\":\"List/Get Storage Account(s)\"\ - ,\"description\":\"Returns the list of storage accounts or gets the properties\ - \ for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listAccountSas/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Account SAS Token\",\"operation\":\"Returns Storage Account\ - \ SAS Token\",\"description\":\"Returns the Account SAS token for the specified\ - \ storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listServiceSas/action\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Service SAS Token\",\"operation\":\"Returns Storage Service\ - \ SAS Token\",\"description\":\"Returns the Service SAS token for the specified\ - \ storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/write\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Accounts\",\"operation\":\"Create/Update Storage Account\"\ - ,\"description\":\"Creates a storage account with the specified parameters\ - \ or update the properties or tags or adds custom domain for the specified\ - \ storage account.\"}},{\"name\":\"Microsoft.Storage/locations/usages/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Usage Metrics\",\"operation\":\"Get Subscription Usages\",\"\ - description\":\"Returns the limit and the current usage count for resources\ - \ in the specified subscription\"}},{\"name\":\"Microsoft.Storage/usages/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Usage Metrics\",\"operation\":\"Get Subscription Usages\",\"\ - description\":\"Returns the limit and the current usage count for resources\ - \ in the specified subscription\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/read\"\ - ,\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft Storage\",\"\ - resource\":\"Storage Blob Services\",\"operation\":\"Get blob service properties\ - \ or statistics\",\"description\":\"Returns blob service properties or statistics\"\ - }}]}" + string: "{\"value\":[{\"name\":\"Microsoft.Storage/locations/deleteVirtualNetworkOrSubnets/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Location\",\"operation\":\"Delete virtual network + or subnets notifications\",\"description\":\"Notifies Microsoft.Storage that + virtual network or subnet is being deleted\"}},{\"name\":\"Microsoft.Storage/storageAccounts/inventoryPolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/inventoryPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/dataSharePolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/deletedAccounts/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localUsers/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Local User\",\"operation\":\"Delete Local User\",\"description\":\"Delete + local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/listKeys/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Local User\",\"operation\":\"List Local User Keys\",\"description\":\"List + local user keys\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Local User\",\"operation\":\"List Local Users\",\"description\":\"List + local users\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Local User\",\"operation\":\"Get Local User\",\"description\":\"Get + local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/localusers/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Local User\",\"operation\":\"Put Local User\",\"description\":\"Create + or update local user\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Object Replication Policy\",\"operation\":\"Delete + Object Replication Policy\",\"description\":\"Delete object replication policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Object Replication Policy\",\"operation\":\"Get Object + Replication Policy\",\"description\":\"Get object replication policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Object Replication Policy\",\"operation\":\"List + Object Replication Policies\",\"description\":\"List object replication policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Private Endpoint Connections\",\"operation\":\"List + Private Endpoint Connections\",\"description\":\"List Private Endpoint Connections\"}},{\"name\":\"Microsoft.Storage/storageAccounts/objectReplicationPolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Object Replication Policy\",\"operation\":\"Put Object + Replication Policy\",\"description\":\"Create or update object replication + policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/encryptionScopes/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Management Policies\",\"operation\":\"Delete + storage account management policies\",\"description\":\"Delete storage account + management policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Management Policies\",\"operation\":\"Get + storage account management policies\",\"description\":\"Get storage management + account policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/managementPolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Management Policies\",\"operation\":\"Put + storage account management policies\",\"description\":\"Put storage account + management policies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Private Endpoint Connection Proxy\",\"operation\":\"Get + Private Endpoint Connection Proxy\",\"description\":\"Get Private Endpoint + Connection Proxy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/restoreBlobRanges/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Restore + blob ranges\",\"description\":\"Restore blob ranges to the state of the specified + time\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Private Endpoint Connection Proxies\",\"operation\":\"Delete + Private Endpoint Connection Proxies\",\"description\":\"Delete Private Endpoint + Connection Proxies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/PrivateEndpointConnectionsApproval/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Private Endpoint Connections\",\"operation\":\"Approve + Private Endpoint Connections\",\"description\":\"Approve Private Endpoint + Connections\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File Share\",\"operation\":\"Delete File Share\",\"description\":\"Delete + file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File Share\",\"operation\":\"Get File Share\",\"description\":\"Get + file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File Share\",\"operation\":\"List File Shares\",\"description\":\"List + file shares\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File Share\",\"operation\":\"Put File Share\",\"description\":\"Create + or update file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/shares/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File Share\",\"operation\":\"Restore File Share\",\"description\":\"Restore + file share\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File Service\",\"operation\":\"List File Services\",\"description\":\"List + file services\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File Service\",\"operation\":\"Put File Service Properties\",\"description\":\"Put + file service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Table Service\",\"operation\":\"Get Table + service properties\",\"description\":\"Get Table service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/tables/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"Delete + Private Endpoint Connection\",\"description\":\"Delete Private Endpoint Connection\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"Get + Private Endpoint Connection\",\"description\":\"Get Private Endpoint Connection\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateLinkResources/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage account groupids\",\"operation\":\"Get StorageAccount + groupids\",\"description\":\"Get StorageAccount groupids\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnections/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Private Endpoint Connection\",\"operation\":\"Put + Private Endpoint Connection\",\"description\":\"Put Private Endpoint Connection\"}},{\"name\":\"Microsoft.Storage/storageAccounts/privateEndpointConnectionProxies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account Private Endpoint Connection Proxies\",\"operation\":\"Put + Private Endpoint Connection Proxies\",\"description\":\"Put Private Endpoint + Connection Proxies\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Blob Service\",\"operation\":\"List Blob Services\",\"description\":\"List + blob services\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Patch + blob container\",\"description\":\"Returns the result of patch blob container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/generateUserDelegationKey/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Services\",\"operation\":\"Generate + a user delegation key\",\"description\":\"Returns a user delegation key for + the blob service\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Read + Blob\",\"description\":\"Returns a blob or a list of blobs\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/write\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Write + Blob\",\"description\":\"Returns the result of writing a blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/delete\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Delete + blob\",\"description\":\"Returns the result of deleting a blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/deleteBlobVersion/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Delete + blob versions\",\"description\":\"Returns the result of deleting a blob version\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/add/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Add + blob content\",\"description\":\"Returns the result of adding blob content\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/read\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Read + blob tags\",\"description\":\"Returns the result of reading blob tags\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/tags/write\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Write + blob tags\",\"description\":\"Returns the result of writing blob tags\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/filter/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Filter blobs\",\"description\":\"Returns + the list of blobs under an account with matching tags filter\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/move/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Move + blobs\",\"description\":\"Moves the blob from one path to another\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/manageOwnership/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Manage + blob ownership\",\"description\":\"Changes ownership of the blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/modifyPermissions/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Modify + blob permissions\",\"description\":\"Modifies permissions of the blob\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/blobs/runAsSuperUser/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Blobs\",\"operation\":\"Execute + the command as super user\",\"description\":\"Returns the result of the blob + command\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Delete + blob container\",\"description\":\"Returns the result of deleting a container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage File Service\",\"operation\":\"Get file service + properties\",\"description\":\"Get file service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/read\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Read + Files\",\"description\":\"Returns a file/folder or a list of files/folders\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/write\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Write + Files\",\"description\":\"Returns the result of writing a file or creating + a folder\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/delete\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Delete + Files\",\"description\":\"Returns the result of deleting a file/folder\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/modifypermissions/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Modify + File Acl\",\"description\":\"Returns the result of modifying permission on + a file/folder\"}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/fileshares/files/actassuperuser/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage File Service Files\",\"operation\":\"Get + File Admin Privileges\",\"description\":\"Get File Admin Privileges\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Service\",\"operation\":\"Get Queue + service properties\",\"description\":\"Get Queue service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/extend/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Extend + blob container immutability policy\",\"description\":\"Extend blob container + immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Delete + blob container immutability policy\",\"description\":\"Delete blob container + immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Put + blob container immutability policy\",\"description\":\"Put blob container + immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/lock/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Lock + blob container immutability policy\",\"description\":\"Lock blob container + immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers ImmutabilityPolicy\",\"operation\":\"Get + blob container immutability policy\",\"description\":\"Get blob container + immutability policy\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Get + blob container\",\"description\":\"Returns a container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"List + of blob containers\",\"description\":\"Returns list of containers\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/lease/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Lease + blob container\",\"description\":\"Returns the result of leasing blob container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Put + blob container\",\"description\":\"Returns the result of put blob container\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/clearLegalHold/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Clear + blob container legal hold\",\"description\":\"Clear blob container legal hold\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/containers/setLegalHold/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Service Containers\",\"operation\":\"Set + blob container legal hold\",\"description\":\"Set blob container legal hold\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Services\",\"operation\":\"Get queue + service properties or statistics\",\"description\":\"Returns queue service + properties or statistics.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Services\",\"operation\":\"Set queue + service properties\",\"description\":\"Returns the result of setting queue + service properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Service Queues\",\"operation\":\"Read + a queue or list queues\",\"description\":\"Returns a queue or a list of queues.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Service Queues\",\"operation\":\"Write + queue\",\"description\":\"Returns the result of writing a queue\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Service Queues\",\"operation\":\"Delete + queue\",\"description\":\"Returns the result of deleting a queue\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/read\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Read + message\",\"description\":\"Returns a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/write\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Write + message\",\"description\":\"Returns the result of writing a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/delete\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Delete + message\",\"description\":\"Returns the result of deleting a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/add/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Add + message\",\"description\":\"Returns the result of adding a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/queues/messages/process/action\",\"isDataAction\":true,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Queue Service Messages\",\"operation\":\"Process + message\",\"description\":\"Returns the result of processing a message\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Services\",\"operation\":\"Put blob + service properties\",\"description\":\"Returns the result of put blob service + properties\"}},{\"name\":\"Microsoft.Storage/storageAccounts/failover/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Storage Account + Failover\",\"description\":\"Customer is able to control the failover in case + of availability issues\"}},{\"name\":\"Microsoft.Storage/locations/checknameavailability/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Name Availability\",\"operation\":\"Check Name Availability\",\"description\":\"Checks + that account name is valid and is not in use.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listkeys/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"List Storage Account + Keys\",\"description\":\"Returns the access keys for the specified storage + account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/regeneratekey/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Regenerate Storage + Account Keys\",\"description\":\"Regenerates the access keys for the specified + storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/revokeUserDelegationKeys/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Revoke Storage + Account User Delegation Keys\",\"description\":\"Revokes all the user delegation + keys for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/register/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Resource Provider\",\"operation\":\"Registers + the Storage Resource Provider\",\"description\":\"Registers the subscription + for the storage resource provider and enables the creation of storage accounts.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/services/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Create/Update + Diagnostic Settings\",\"description\":\"Create/Update storage account diagnostic + settings.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Get list of Microsoft + Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage + Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"UsedCapacity\",\"displayName\":\"Used + capacity\",\"displayDescription\":\"The amount of storage used by the storage + account. For standard storage accounts, it's the sum of capacity used by blob, + table, file, and queue. For premium storage accounts and Blob storage accounts, + it is the same as BlobCapacity or FileCapacity.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The + number of requests made to a storage service or the specified API operation. + This number includes successful and failed requests, as well as requests which + produced errors. Use ResponseType dimension for the number of different type + of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response + type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The + amount of ingress data, in bytes. This number includes ingress from an external + client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The + amount of egress data. This number includes egress to external client from + Azure Storage as well as egress within Azure. As a result, this number does + not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success + Server Latency\",\"displayDescription\":\"The average time used to process + a successful request by Azure Storage. This value does not include the network + latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success + E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful + requests made to a storage service or the specified API operation, in milliseconds. + This value includes the required processing time within Azure Storage to read + the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The + percentage of availability for the storage service or the specified API operation. + Availability is calculated by taking the TotalBillableRequests value and dividing + it by the number of applicable requests, including those that produced unexpected + errors. All unexpected errors result in reduced availability for the storage + service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"resourceIdDimensionNameOverride\":\"AccountResourceId\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Read diagnostic + setting\",\"description\":\"Gets the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Write diagnostic + setting\",\"description\":\"Creates or updates the diagnostic setting for + the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Blob service\",\"operation\":\"Get list of Microsoft + Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage + Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"BlobCapacity\",\"displayName\":\"Blob + Capacity\",\"displayDescription\":\"The amount of storage used by the storage + account\u2019s Blob service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"BlobType\",\"displayName\":\"Blob + type\",\"toBeExportedForShoebox\":true},{\"name\":\"Tier\",\"displayName\":\"Blob + tier\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"BlobCount\",\"displayName\":\"Blob + Count\",\"displayDescription\":\"The number of blob objects stored in the + storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"BlobType\",\"displayName\":\"Blob + type\",\"toBeExportedForShoebox\":true},{\"name\":\"Tier\",\"displayName\":\"Blob + tier\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"BlobProvisionedSize\",\"displayName\":\"Blob + Provisioned Size\",\"displayDescription\":\"The amount of storage provisioned + in the storage account\u2019s Blob service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"BlobType\",\"displayName\":\"Blob + type\",\"toBeExportedForShoebox\":true},{\"name\":\"Tier\",\"displayName\":\"Blob + tier\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"],\"metricFilterPattern\":\"Premium\"},{\"name\":\"ContainerCount\",\"displayName\":\"Blob + Container Count\",\"displayDescription\":\"The number of containers in the + storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"IndexCapacity\",\"displayName\":\"Index + Capacity\",\"displayDescription\":\"The amount of storage used by Azure Data + Lake Storage Gen2 hierarchical index.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The + number of requests made to a storage service or the specified API operation. + This number includes successful and failed requests, as well as requests which + produced errors. Use ResponseType dimension for the number of different type + of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response + type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The + amount of ingress data, in bytes. This number includes ingress from an external + client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The + amount of egress data. This number includes egress to external client from + Azure Storage as well as egress within Azure. As a result, this number does + not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success + Server Latency\",\"displayDescription\":\"The average time used to process + a successful request by Azure Storage. This value does not include the network + latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success + E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful + requests made to a storage service or the specified API operation, in milliseconds. + This value includes the required processing time within Azure Storage to read + the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The + percentage of availability for the storage service or the specified API operation. + Availability is calculated by taking the TotalBillableRequests value and dividing + it by the number of applicable requests, including those that produced unexpected + errors. All unexpected errors result in reduced availability for the storage + service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Blob service\",\"operation\":\"Read diagnostic setting\",\"description\":\"Gets + the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Blob service\",\"operation\":\"Write diagnostic setting\",\"description\":\"Creates + or updates the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Table service\",\"operation\":\"Get list of Microsoft + Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage + Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"TableCapacity\",\"displayName\":\"Table + Capacity\",\"displayDescription\":\"The amount of Table storage used by the + storage account.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"TableCount\",\"displayName\":\"Table + Count\",\"displayDescription\":\"The number of tables in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"TableEntityCount\",\"displayName\":\"Table + Entity Count\",\"displayDescription\":\"The number of table entities in the + storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The + number of requests made to a storage service or the specified API operation. + This number includes successful and failed requests, as well as requests which + produced errors. Use ResponseType dimension for the number of different type + of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response + type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The + amount of ingress data, in bytes. This number includes ingress from an external + client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The + amount of egress data. This number includes egress to external client from + Azure Storage as well as egress within Azure. As a result, this number does + not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success + Server Latency\",\"displayDescription\":\"The average time used to process + a successful request by Azure Storage. This value does not include the network + latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success + E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful + requests made to a storage service or the specified API operation, in milliseconds. + This value includes the required processing time within Azure Storage to read + the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The + percentage of availability for the storage service or the specified API operation. + Availability is calculated by taking the TotalBillableRequests value and dividing + it by the number of applicable requests, including those that produced unexpected + errors. All unexpected errors result in reduced availability for the storage + service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Table service\",\"operation\":\"Read diagnostic setting\",\"description\":\"Gets + the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Table service\",\"operation\":\"Write diagnostic + setting\",\"description\":\"Creates or updates the diagnostic setting for + the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File service\",\"operation\":\"Get list of Microsoft + Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage + Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"FileCapacity\",\"displayName\":\"File + Capacity\",\"displayDescription\":\"The amount of File storage used by the + storage account.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileCount\",\"displayName\":\"File + Count\",\"displayDescription\":\"The number of files in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareCount\",\"displayName\":\"File + Share Count\",\"displayDescription\":\"The number of file shares in the storage + account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareSnapshotCount\",\"displayName\":\"File + Share Snapshot Count\",\"displayDescription\":\"The number of snapshots present + on the share in storage account\u2019s Files Service.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareSnapshotSize\",\"displayName\":\"File + Share Snapshot Size\",\"displayDescription\":\"The amount of storage used + by the snapshots in storage account\u2019s File service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareCapacityQuota\",\"internalMetricName\":\"FileShareQuota\",\"displayName\":\"File + Share Capacity Quota\",\"displayDescription\":\"The upper limit on the amount + of storage that can be used by Azure Files Service in bytes.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"FileShareProvisionedIOPS\",\"displayName\":\"File + Share Provisioned IOPS\",\"displayDescription\":\"The baseline number of provisioned + IOPS for the premium file share in the premium files storage account. This + number is calculated based on the provisioned size (quota) of the share capacity.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"lockAggregationType\":\"Total\",\"dimensions\":[{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"],\"metricFilterPattern\":\"Premium\"},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The + number of requests made to a storage service or the specified API operation. + This number includes successful and failed requests, as well as requests which + produced errors. Use ResponseType dimension for the number of different type + of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response + type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The + amount of ingress data, in bytes. This number includes ingress from an external + client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The + amount of egress data. This number includes egress to external client from + Azure Storage as well as egress within Azure. As a result, this number does + not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success + Server Latency\",\"displayDescription\":\"The average time used to process + a successful request by Azure Storage. This value does not include the network + latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success + E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful + requests made to a storage service or the specified API operation, in milliseconds. + This value includes the required processing time within Azure Storage to read + the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The + percentage of availability for the storage service or the specified API operation. + Availability is calculated by taking the TotalBillableRequests value and dividing + it by the number of applicable requests, including those that produced unexpected + errors. All unexpected errors result in reduced availability for the storage + service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true},{\"name\":\"FileShare\",\"displayName\":\"File + Share\",\"toBeExportedForShoebox\":true,\"internalName\":\"Container\"}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File service\",\"operation\":\"Read diagnostic setting\",\"description\":\"Gets + the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File service\",\"operation\":\"Write diagnostic setting\",\"description\":\"Creates + or updates the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/metricDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Queue service\",\"operation\":\"Get list of Microsoft + Storage Metrics definitions\",\"description\":\"Get list of Microsoft Storage + Metrics definitions.\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"metricSpecifications\":[{\"name\":\"QueueCapacity\",\"displayName\":\"Queue + Capacity\",\"displayDescription\":\"The amount of Queue storage used by the + storage account.\",\"unit\":\"Bytes\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"QueueCount\",\"displayName\":\"Queue + Count\",\"displayDescription\":\"The number of queues in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"QueueMessageCount\",\"displayName\":\"Queue + Message Count\",\"displayDescription\":\"The number of unexpired queue messages + in the storage account.\",\"unit\":\"Count\",\"aggregationType\":\"Average\",\"fillGapWithZero\":false,\"category\":\"Capacity\",\"supportedTimeGrainTypes\":[\"PT1H\"],\"supportedAggregationTypes\":[\"Average\"]},{\"name\":\"Transactions\",\"displayName\":\"Transactions\",\"displayDescription\":\"The + number of requests made to a storage service or the specified API operation. + This number includes successful and failed requests, as well as requests which + produced errors. Use ResponseType dimension for the number of different type + of response.\",\"unit\":\"Count\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"ResponseType\",\"displayName\":\"Response + type\",\"toBeExportedForShoebox\":true},{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\"]},{\"name\":\"Ingress\",\"displayName\":\"Ingress\",\"displayDescription\":\"The + amount of ingress data, in bytes. This number includes ingress from an external + client into Azure Storage as well as ingress within Azure.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Egress\",\"displayName\":\"Egress\",\"displayDescription\":\"The + amount of egress data. This number includes egress to external client from + Azure Storage as well as egress within Azure. As a result, this number does + not reflect billable egress.\",\"unit\":\"Bytes\",\"aggregationType\":\"Total\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Total\",\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessServerLatency\",\"displayName\":\"Success + Server Latency\",\"displayDescription\":\"The average time used to process + a successful request by Azure Storage. This value does not include the network + latency specified in SuccessE2ELatency.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"SuccessE2ELatency\",\"displayName\":\"Success + E2E Latency\",\"displayDescription\":\"The average end-to-end latency of successful + requests made to a storage service or the specified API operation, in milliseconds. + This value includes the required processing time within Azure Storage to read + the request, send the response, and receive acknowledgment of the response.\",\"unit\":\"Milliseconds\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]},{\"name\":\"Availability\",\"displayName\":\"Availability\",\"displayDescription\":\"The + percentage of availability for the storage service or the specified API operation. + Availability is calculated by taking the TotalBillableRequests value and dividing + it by the number of applicable requests, including those that produced unexpected + errors. All unexpected errors result in reduced availability for the storage + service or the specified API operation.\",\"unit\":\"Percent\",\"aggregationType\":\"Average\",\"dimensions\":[{\"name\":\"GeoType\",\"displayName\":\"Geo + type\",\"toBeExportedForShoebox\":true},{\"name\":\"ApiName\",\"displayName\":\"API + name\",\"toBeExportedForShoebox\":true},{\"name\":\"Authentication\",\"displayName\":\"Authentication\",\"toBeExportedForShoebox\":true}],\"fillGapWithZero\":false,\"category\":\"Transaction\",\"supportedAggregationTypes\":[\"Average\",\"Minimum\",\"Maximum\"]}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Queue service\",\"operation\":\"Read diagnostic setting\",\"description\":\"Gets + the diagnostic setting for the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/diagnosticSettings/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Queue service\",\"operation\":\"Write diagnostic + setting\",\"description\":\"Creates or updates the diagnostic setting for + the resource.\"},\"origin\":\"system\"},{\"name\":\"Microsoft.Storage/storageAccounts/tableServices/providers/Microsoft.Insights/logDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Table Service\",\"operation\":\"Read log definition\",\"description\":\"Gets + the log definition for Table\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\",\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\",\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/providers/Microsoft.Insights/logDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Blob Service\",\"operation\":\"Read log definition\",\"description\":\"Gets + the log definition for Blob\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\",\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\",\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/fileServices/providers/Microsoft.Insights/logDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"File Service\",\"operation\":\"Read log definition\",\"description\":\"Gets + the log definition for File\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\",\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\",\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"}]}}},{\"name\":\"Microsoft.Storage/storageAccounts/queueServices/providers/Microsoft.Insights/logDefinitions/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Queue Service\",\"operation\":\"Read log definition\",\"description\":\"Gets + the log definition for Queue\"},\"origin\":\"system\",\"properties\":{\"serviceSpecification\":{\"logSpecifications\":[{\"name\":\"StorageRead\",\"displayName\":\"StorageRead\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageWrite\",\"displayName\":\"StorageWrite\",\"blobDuration\":\"PT1H\"},{\"name\":\"StorageDelete\",\"displayName\":\"StorageDelete\",\"blobDuration\":\"PT1H\"}]}}},{\"name\":\"Microsoft.Storage/skus/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Sku\",\"operation\":\"List Skus\",\"description\":\"Lists + the Skus supported by Microsoft.Storage.\"}},{\"name\":\"Microsoft.Storage/operations/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Operations\",\"operation\":\"Poll Asynchronous Operation\",\"description\":\"Polls + the status of an asynchronous operation.\"}},{\"name\":\"Microsoft.Storage/checknameavailability/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Name Availability\",\"operation\":\"Check Name Availability\",\"description\":\"Checks + that account name is valid and is not in use.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/delete\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Delete Storage + Account\",\"description\":\"Deletes an existing storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"List/Get Storage + Account(s)\",\"description\":\"Returns the list of storage accounts or gets + the properties for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listAccountSas/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Account SAS Token\",\"operation\":\"Returns + Storage Account SAS Token\",\"description\":\"Returns the Account SAS token + for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/listServiceSas/action\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Service SAS Token\",\"operation\":\"Returns + Storage Service SAS Token\",\"description\":\"Returns the Service SAS token + for the specified storage account.\"}},{\"name\":\"Microsoft.Storage/storageAccounts/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Accounts\",\"operation\":\"Create/Update + Storage Account\",\"description\":\"Creates a storage account with the specified + parameters or update the properties or tags or adds custom domain for the + specified storage account.\"}},{\"name\":\"Microsoft.Storage/locations/usages/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Usage Metrics\",\"operation\":\"Get Subscription + Usages\",\"description\":\"Returns the limit and the current usage count for + resources in the specified subscription\"}},{\"name\":\"Microsoft.Storage/usages/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Usage Metrics\",\"operation\":\"Get Subscription + Usages\",\"description\":\"Returns the limit and the current usage count for + resources in the specified subscription\"}},{\"name\":\"Microsoft.Storage/storageAccounts/inventoryPolicies/write\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\"}},{\"name\":\"Microsoft.Storage/storageAccounts/blobServices/read\",\"isDataAction\":false,\"display\":{\"provider\":\"Microsoft + Storage\",\"resource\":\"Storage Blob Services\",\"operation\":\"Get blob + service properties or statistics\",\"description\":\"Returns blob service + properties or statistics\"}}]}" headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:25 GMT + date: Sun, 28 Jun 2020 06:23:11 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2549,7 +2138,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 response: @@ -2559,7 +2148,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:25 GMT + date: Sun, 28 Jun 2020 06:23:11 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2572,7 +2161,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/setLegalHold?api-version=2019-06-01 - request: body: '{"tags": ["tag1", "tag2", "tag3"]}' headers: @@ -2583,7 +2172,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 response: @@ -2593,7 +2182,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:26 GMT + date: Sun, 28 Jun 2020 06:23:11 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2606,7 +2195,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/clearLegalHold?api-version=2019-06-01 - request: body: '{"action": "Acquire", "leaseDuration": -1}' headers: @@ -2617,18 +2206,18 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 response: body: - string: '{"leaseId":"62d3b192-4cf2-4e18-a42c-3fecb4b9e792"}' + string: '{"leaseId":"deb43697-3466-4bb3-9abd-5088f0ec5f25"}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:26 GMT - etag: '"0x8D8013FAD0156F1"' + date: Sun, 28 Jun 2020 06:23:12 GMT + etag: '"0x8D81B2BBBB70F10"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2641,9 +2230,9 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 - request: - body: '{"action": "Break", "leaseId": "62d3b192-4cf2-4e18-a42c-3fecb4b9e792"}' + body: '{"action": "Break", "leaseId": "deb43697-3466-4bb3-9abd-5088f0ec5f25"}' headers: Accept: - application/json @@ -2652,7 +2241,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 response: @@ -2662,8 +2251,8 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:26 GMT - etag: '"0x8D8013FAD0156F1"' + date: Sun, 28 Jun 2020 06:23:12 GMT + etag: '"0x8D81B2BBBB70F10"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2676,7 +2265,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/lease?api-version=2019-06-01 - request: body: '{"properties": {"publicAccess": "Container", "metadata": {"metadata": "true"}}}' headers: @@ -2687,7 +2276,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: @@ -2697,8 +2286,8 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:27 GMT - etag: '"0x8D8013FADCEDDD8"' + date: Sun, 28 Jun 2020 06:23:13 GMT + etag: '"0x8D81B2BBC6A2C46"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2707,11 +2296,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1190' + x-ms-ratelimit-remaining-subscription-writes: '1187' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 - request: body: '{"properties": {"metadata": {"type": "image"}}}' headers: @@ -2722,7 +2311,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: @@ -2732,8 +2321,8 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:28 GMT - etag: '"0x8D8013FAE0EEE04"' + date: Sun, 28 Jun 2020 06:23:13 GMT + etag: '"0x8D81B2BBCAC1B73"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2742,11 +2331,11 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1189' + x-ms-ratelimit-remaining-subscription-writes: '1186' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 - request: body: '{"properties": {"source": "Microsoft.Storage", "state": "Enabled"}}' headers: @@ -2757,17 +2346,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-05-26T06:40:14.1395228Z","lastModifiedTime":"2020-05-26T06:40:14.1395228Z","state":"Enabled"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz","type":"Microsoft.Storage/storageAccounts/encryptionScopes","name":"encryptionscopexxyyzz","properties":{"source":"Microsoft.Storage","keyVaultProperties":{},"creationTime":"2020-06-28T06:22:58.4796418Z","lastModifiedTime":"2020-06-28T06:22:58.4796418Z","state":"Enabled"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:28 GMT + date: Sun, 28 Jun 2020 06:23:14 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2776,16 +2365,16 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1188' + x-ms-ratelimit-remaining-subscription-writes: '1185' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/encryptionScopes/encryptionscopexxyyzz?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/revokeUserDelegationKeys?api-version=2019-06-01 response: @@ -2795,7 +2384,7 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Tue, 26 May 2020 06:40:28 GMT + date: Sun, 28 Jun 2020 06:23:14 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2806,7 +2395,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/revokeUserDelegationKeys?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/revokeUserDelegationKeys?api-version=2019-06-01 - request: body: '{"keyName": "key2"}' headers: @@ -2817,17 +2406,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/regenerateKey?api-version=2019-06-01 response: body: - string: '{"keys":[{"keyName":"key1","value":"s3kYtpE9F+UwXxanFtcswX5O1ubRz4Y5JDp2LOJiTErndquDVE6GZPaDlUCQOv7UJTEEHKD+sVEBM26hXyVkNA==","permissions":"FULL"},{"keyName":"key2","value":"GZjSF/ywocIR3umNzx+/t9dK5W7VS+NPH1Ztt+RSg3JGm+pTgMXuvSCoDGma3yzH9hiWlZCLcM28H4u6GJVkuA==","permissions":"FULL"}]}' + string: '{"keys":[{"keyName":"key1","value":"6TuxWVi8o6PvFOeeyx2YI+Mij/0abKt0wfmuYNT6Klase5dQyXo5sPFk7o0YvRwR+xpm88TTxdW9l9989MbsfA==","permissions":"FULL"},{"keyName":"key2","value":"vYL8mTDE/0CAz/10VNUbdOT6w52NLxIxX9Ax4P7hboy56xIoLllVhpqi4ciWKAso19A1eQn7+fDLd9cgQvq5OA==","permissions":"FULL"}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:29 GMT + date: Sun, 28 Jun 2020 06:23:14 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2840,24 +2429,24 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/regenerateKey?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/regenerateKey?api-version=2019-06-01 - request: body: null headers: Accept: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/listKeys?api-version=2019-06-01&$expand=kerb response: body: - string: '{"keys":[{"keyName":"key1","value":"s3kYtpE9F+UwXxanFtcswX5O1ubRz4Y5JDp2LOJiTErndquDVE6GZPaDlUCQOv7UJTEEHKD+sVEBM26hXyVkNA==","permissions":"FULL"},{"keyName":"key2","value":"GZjSF/ywocIR3umNzx+/t9dK5W7VS+NPH1Ztt+RSg3JGm+pTgMXuvSCoDGma3yzH9hiWlZCLcM28H4u6GJVkuA==","permissions":"FULL"}]}' + string: '{"keys":[{"keyName":"key1","value":"6TuxWVi8o6PvFOeeyx2YI+Mij/0abKt0wfmuYNT6Klase5dQyXo5sPFk7o0YvRwR+xpm88TTxdW9l9989MbsfA==","permissions":"FULL"},{"keyName":"key2","value":"vYL8mTDE/0CAz/10VNUbdOT6w52NLxIxX9Ax4P7hboy56xIoLllVhpqi4ciWKAso19A1eQn7+fDLd9cgQvq5OA==","permissions":"FULL"}]}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:30 GMT + date: Sun, 28 Jun 2020 06:23:15 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2870,7 +2459,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/listKeys?api-version=2019-06-01&$expand=kerb + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/listKeys?api-version=2019-06-01&$expand=kerb - request: body: '{"properties": {"encryption": {"services": {"blob": {"enabled": true, "keyType": "Account"}, "file": {"enabled": true, "keyType": "Account"}}, "keySource": "Microsoft.Storage"}}}' @@ -2882,17 +2471,17 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: body: - string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","name":"storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-05-26T06:39:01.4408679Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-05-26T06:39:01.3471184Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' + string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn","name":"storageaccountxxyyzzn","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{"key1":"value1","key2":"value2"},"properties":{"privateEndpointConnections":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","name":"storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a","type":"Microsoft.Storage/storageAccounts/privateEndpointConnections","properties":{"provisioningState":"Succeeded","privateEndpoint":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Network/privateEndpoints/endpoint123xxx"},"privateLinkServiceConnectionState":{"status":"Rejected","description":"Auto-Approved","actionRequired":"None"}}}],"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"supportsHttpsTrafficOnly":true,"encryption":{"services":{"file":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"},"blob":{"keyType":"Account","enabled":true,"lastEnabledTime":"2020-06-28T06:21:48.0832653Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2020-06-28T06:21:48.0207896Z","primaryEndpoints":{"dfs":"https://storageaccountxxyyzzn.dfs.core.windows.net/","web":"https://storageaccountxxyyzzn.z6.web.core.windows.net/","blob":"https://storageaccountxxyyzzn.blob.core.windows.net/","queue":"https://storageaccountxxyyzzn.queue.core.windows.net/","table":"https://storageaccountxxyyzzn.table.core.windows.net/","file":"https://storageaccountxxyyzzn.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available","secondaryLocation":"northeurope","statusOfSecondary":"available"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:30 GMT + date: Sun, 28 Jun 2020 06:23:15 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2901,31 +2490,31 @@ interactions: transfer-encoding: chunked vary: Accept-Encoding x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-writes: '1187' + x-ms-ratelimit-remaining-subscription-writes: '1184' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 - request: body: null headers: Accept: - application/json If-Match: - - '"8d8013fa8bc9309"' + - '"8d81b2bb77e6544"' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013fb00c2dbd\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Locked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bbe2978b2\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":3,"state":"Locked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:31 GMT - etag: '"8d8013fb00c2dbd"' + date: Sun, 28 Jun 2020 06:23:16 GMT + etag: '"8d81b2bbe2978b2"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2938,7 +2527,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/lock?api-version=2019-06-01 - request: body: '{"properties": {"immutabilityPeriodSinceCreationInDays": 100}}' headers: @@ -2949,20 +2538,20 @@ interactions: Content-Type: - application/json If-Match: - - '"8d8013fb00c2dbd"' + - '"8d81b2bbe2978b2"' User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d8013fb04a2a9e\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":100,"state":"Locked"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d81b2bbe6775c5\"","properties":{"allowProtectedAppendWrites":true,"immutabilityPeriodSinceCreationInDays":100,"state":"Locked"}}' headers: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:31 GMT - etag: '"8d8013fb04a2a9e"' + date: Sun, 28 Jun 2020 06:23:16 GMT + etag: '"8d81b2bbe6775c5"' expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -2975,7 +2564,7 @@ interactions: status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz/immutabilityPolicies/default/extend?api-version=2019-06-01 - request: body: '{"name": "sto3363", "type": "Microsoft.Storage/storageAccounts"}' headers: @@ -2986,7 +2575,7 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2019-06-01 response: @@ -2996,7 +2585,7 @@ interactions: cache-control: no-cache content-encoding: gzip content-type: application/json - date: Tue, 26 May 2020 06:40:32 GMT + date: Sun, 28 Jun 2020 06:23:17 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -3013,7 +2602,7 @@ interactions: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 response: @@ -3023,25 +2612,25 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Tue, 26 May 2020 06:40:33 GMT + date: Sun, 28 Jun 2020 06:23:17 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-deletes: '14998' + x-ms-ratelimit-remaining-subscription-deletes: '14997' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/blobServices/default/containers/containernamexxyyzz?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63?api-version=2019-06-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 response: body: string: '' @@ -3049,23 +2638,23 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Tue, 26 May 2020 06:40:48 GMT + date: Sun, 28 Jun 2020 06:23:19 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-deletes: '14997' + x-ms-ratelimit-remaining-subscription-deletes: '14996' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.7d511e86-f1a2-49d7-a75a-ddaf6237bd63?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/privateEndpointConnections/storageaccountxxyyzzn.b9e6b98c-5649-42c6-a50b-823d9a8a9c2a?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 response: @@ -3075,23 +2664,23 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Tue, 26 May 2020 06:40:48 GMT + date: Sun, 28 Jun 2020 06:23:20 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-deletes: '14996' + x-ms-ratelimit-remaining-subscription-deletes: '14995' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/fileServices/default/shares/filesharenamexxyyzz?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 response: @@ -3101,23 +2690,23 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Tue, 26 May 2020 06:40:49 GMT + date: Sun, 28 Jun 2020 06:23:20 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-deletes: '14995' + x-ms-ratelimit-remaining-subscription-deletes: '14994' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn/managementPolicies/default?api-version=2019-06-01 - request: body: null headers: User-Agent: - - azsdk-python-azure-mgmt-storage/10.0.0b1 Python/3.6.9 (Linux-4.9.184-linuxkit-x86_64-with-Ubuntu-18.04-bionic) + - azsdk-python-azure-mgmt-storage/16.0.0b1 Python/3.8.1 (Windows-10-10.0.18362-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 response: @@ -3127,16 +2716,16 @@ interactions: cache-control: no-cache content-length: '0' content-type: text/plain; charset=utf-8 - date: Tue, 26 May 2020 06:40:55 GMT + date: Sun, 28 Jun 2020 06:23:25 GMT expires: '-1' pragma: no-cache server: Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000; includeSubDomains x-content-type-options: nosniff - x-ms-ratelimit-remaining-subscription-deletes: '14994' + x-ms-ratelimit-remaining-subscription-deletes: '14993' status: code: 200 message: OK - url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/rgname/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 + url: https://management.azure.com/subscriptions/92f95d8f-3c67-4124-91c7-8cf07cdbf241/resourceGroups/ck26ybnm2mzi44rcvs5vilifkt25yg4udws5znpq6o4qmvefbiw2mi63z7rtkcu6qojeh7ymnyq/providers/Microsoft.Storage/storageAccounts/storageaccountxxyyzzn?api-version=2019-06-01 version: 1 diff --git a/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage.py b/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage.py index ca72659de56b..030f435df7af 100644 --- a/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage.py +++ b/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage.py @@ -66,11 +66,10 @@ def setUp(self): az_network.NetworkManagementClient ) - # TODO: update to track 2 version later def create_endpoint(self, group_name, location, vnet_name, sub_net, endpoint_name, resource_id): if self.is_live: # Create VNet - async_vnet_creation = self.network_client.virtual_networks.create_or_update( + async_vnet_creation = self.network_client.virtual_networks.begin_create_or_update( group_name, vnet_name, { @@ -83,7 +82,7 @@ def create_endpoint(self, group_name, location, vnet_name, sub_net, endpoint_nam async_vnet_creation.result() # Create Subnet - async_subnet_creation = self.network_client.subnets.create_or_update( + async_subnet_creation = self.network_client.subnets.begin_create_or_update( group_name, vnet_name, sub_net, @@ -112,7 +111,7 @@ def create_endpoint(self, group_name, location, vnet_name, sub_net, endpoint_nam } } } - result = self.network_client.private_endpoints.create_or_update(group_name, endpoint_name, BODY) + result = self.network_client.private_endpoints.begin_create_or_update(group_name, endpoint_name, BODY) return result.result().id else: diff --git a/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage_async.py b/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage_async.py index 2acb726fc793..059167bd64a1 100644 --- a/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage_async.py +++ b/sdk/storage/azure-mgmt-storage/tests/test_cli_mgmt_storage_async.py @@ -42,11 +42,10 @@ def setUp(self): az_network.NetworkManagementClient ) - # TODO: update to track 2 version later def create_endpoint(self, group_name, location, vnet_name, sub_net, endpoint_name, resource_id): if self.is_live: # Create VNet - async_vnet_creation = self.network_client.virtual_networks.create_or_update( + async_vnet_creation = self.network_client.virtual_networks.begin_create_or_update( group_name, vnet_name, { @@ -59,7 +58,7 @@ def create_endpoint(self, group_name, location, vnet_name, sub_net, endpoint_nam async_vnet_creation.result() # Create Subnet - async_subnet_creation = self.network_client.subnets.create_or_update( + async_subnet_creation = self.network_client.subnets.begin_create_or_update( group_name, vnet_name, sub_net, @@ -87,7 +86,7 @@ def create_endpoint(self, group_name, location, vnet_name, sub_net, endpoint_nam } } } - result = self.network_client.private_endpoints.create_or_update(group_name, endpoint_name, BODY) + result = self.network_client.private_endpoints.begin_create_or_update(group_name, endpoint_name, BODY) return result.result().id else: From ffefbbbda6aeeba7d2c27e7a0a9801c6a528338d Mon Sep 17 00:00:00 2001 From: NVolcz Date: Mon, 29 Jun 2020 18:23:28 +0200 Subject: [PATCH 30/36] AzureCliCredential instructs CLI not to color output (#11362) --- sdk/identity/azure-identity/CHANGELOG.md | 3 +++ .../azure/identity/_credentials/azure_cli.py | 7 ++++++- .../azure/identity/aio/_credentials/azure_cli.py | 7 ++++++- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/sdk/identity/azure-identity/CHANGELOG.md b/sdk/identity/azure-identity/CHANGELOG.md index bd3a14d3805d..8d039fd5c7c3 100644 --- a/sdk/identity/azure-identity/CHANGELOG.md +++ b/sdk/identity/azure-identity/CHANGELOG.md @@ -1,6 +1,9 @@ # Release History ## 1.4.0b6 (Unreleased) +- `AzureCliCredential` no longer raises an exception due to unexpected output + from the CLI when run by PyCharm (thanks @NVolcz) + ([#11362](https://github.com/Azure/azure-sdk-for-python/pull/11362)) - Upgraded minimum `msal` version to 1.3.0 - The async `AzureCliCredential` correctly invokes `/bin/sh` ([#12048](https://github.com/Azure/azure-sdk-for-python/issues/12048)) diff --git a/sdk/identity/azure-identity/azure/identity/_credentials/azure_cli.py b/sdk/identity/azure-identity/azure/identity/_credentials/azure_cli.py index 07687f8d32c1..c5fe99a1119c 100644 --- a/sdk/identity/azure-identity/azure/identity/_credentials/azure_cli.py +++ b/sdk/identity/azure-identity/azure/identity/_credentials/azure_cli.py @@ -104,7 +104,12 @@ def _run_command(command): try: working_directory = get_safe_working_dir() - kwargs = {"stderr": subprocess.STDOUT, "cwd": working_directory, "universal_newlines": True} + kwargs = { + "stderr": subprocess.STDOUT, + "cwd": working_directory, + "universal_newlines": True, + "env": dict(os.environ, AZURE_CORE_NO_COLOR="true"), + } if platform.python_version() >= "3.3": kwargs["timeout"] = 10 diff --git a/sdk/identity/azure-identity/azure/identity/aio/_credentials/azure_cli.py b/sdk/identity/azure-identity/azure/identity/aio/_credentials/azure_cli.py index a562a7831b9f..56c025680db3 100644 --- a/sdk/identity/azure-identity/azure/identity/aio/_credentials/azure_cli.py +++ b/sdk/identity/azure-identity/azure/identity/aio/_credentials/azure_cli.py @@ -4,6 +4,7 @@ # ------------------------------------ import asyncio import sys +import os from azure.core.exceptions import ClientAuthenticationError from .._credentials.base import AsyncCredentialBase @@ -68,7 +69,11 @@ async def _run_command(command): try: proc = await asyncio.create_subprocess_exec( - *args, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.STDOUT, cwd=working_directory + *args, + stdout=asyncio.subprocess.PIPE, + stderr=asyncio.subprocess.STDOUT, + cwd=working_directory, + env=dict(os.environ, AZURE_CORE_NO_COLOR="true") ) except OSError as ex: # failed to execute 'cmd' or '/bin/sh'; CLI may or may not be installed From 72d461c19acf8562ae7b63cb8521770b315e7ed8 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Mon, 29 Jun 2020 12:15:03 -0700 Subject: [PATCH 31/36] Sync eng/common directory with azure-sdk-tools repository (#11990) --- .../TestResources/New-TestResources.ps1.md | 17 ++ eng/common/TestResources/README.md | 6 + .../templates/steps/create-pull-request.yml | 44 ++-- .../steps/create-tags-and-git-release.yml | 8 +- .../templates/steps/docs-metadata-release.yml | 24 +- .../templates/steps/publish-blobs.yml | 12 +- .../templates/steps/verify-agent-os.yml | 1 - .../templates/steps/verify-changelog.yml | 25 ++ .../templates/steps/verify-links.yml | 12 + eng/common/scripts/Submit-PullRequest.ps1 | 29 ++- eng/common/scripts/Verify-ChangeLog.ps1 | 22 ++ eng/common/scripts/Verify-Links.ps1 | 244 ++++++++++++++++++ .../scripts/artifact-metadata-parsing.ps1 | 36 +-- .../scripts/copy-docs-to-blobstorage.ps1 | 2 - .../scripts/create-tags-and-git-release.ps1 | 3 +- eng/common/scripts/git-branch-push.ps1 | 6 +- .../scripts/modules/ChangeLog-Operations.psm1 | 116 +++++++++ .../scripts/modules/common-manifest.psd1 | 2 +- eng/common/scripts/update-docs-metadata.ps1 | 24 +- 19 files changed, 548 insertions(+), 85 deletions(-) create mode 100644 eng/common/pipelines/templates/steps/verify-changelog.yml create mode 100644 eng/common/pipelines/templates/steps/verify-links.yml create mode 100644 eng/common/scripts/Verify-ChangeLog.ps1 create mode 100644 eng/common/scripts/Verify-Links.ps1 create mode 100644 eng/common/scripts/modules/ChangeLog-Operations.psm1 diff --git a/eng/common/TestResources/New-TestResources.ps1.md b/eng/common/TestResources/New-TestResources.ps1.md index 39efc1446258..c9a462aae3a8 100644 --- a/eng/common/TestResources/New-TestResources.ps1.md +++ b/eng/common/TestResources/New-TestResources.ps1.md @@ -412,6 +412,23 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -OutFile +save test environment settings into a test-resources.json.env file next to test-resources.json. +The file is protected via DPAPI. The environment file would be scoped to the current repository directory. +Note: Supported only on Windows. + +```yaml +Type: SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### CommonParameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). diff --git a/eng/common/TestResources/README.md b/eng/common/TestResources/README.md index 89e61a4cb07d..3c0cd7c2207e 100644 --- a/eng/common/TestResources/README.md +++ b/eng/common/TestResources/README.md @@ -35,6 +35,12 @@ eng\common\TestResources\New-TestResources.ps1 ` -TestApplicationSecret (ConvertFrom-SecureString $sp.Secret -AsPlainText) ``` +If you are running this for a .NET project on Windows, the recommended method is to +add the `-OutFile` switch to the above command. This will save test environment settings +into a test-resources.json.env file next to test-resources.json. The file is protected via DPAPI. +The environment file would be scoped to the current repository directory and avoids the need to +set environment variables or restart your IDE to recognize them. + Along with some log messages, this will output environment variables based on your current shell like in the following example: diff --git a/eng/common/pipelines/templates/steps/create-pull-request.yml b/eng/common/pipelines/templates/steps/create-pull-request.yml index 46ff5a8f62f8..790de92bcbe5 100644 --- a/eng/common/pipelines/templates/steps/create-pull-request.yml +++ b/eng/common/pipelines/templates/steps/create-pull-request.yml @@ -35,27 +35,31 @@ steps: workingDirectory: ${{ parameters.WorkingDirectory }} ignoreLASTEXITCODE: true -- pwsh: | - ${{ parameters.ScriptDirectory }}/git-branch-push.ps1 ` - -PRBranchName "${{ parameters.PRBranchName }}" ` - -CommitMsg "${{ parameters.CommitMsg }}" ` - -GitUrl "https://$(azuresdk-github-pat)@github.com/${{ parameters.PROwner }}/${{ parameters.RepoName }}.git" ` - -PushArgs "${{ parameters.PushArgs }}" - +- task: PowerShell@2 displayName: Push changes - workingDirectory: ${{ parameters.WorkingDirectory }} condition: and(succeeded(), eq(variables['HasChanges'], 'true')) + inputs: + pwsh: true + workingDirectory: ${{ parameters.WorkingDirectory }} + filePath: ${{ parameters.ScriptDirectory }}/git-branch-push.ps1 + arguments: > + -PRBranchName "${{ parameters.PRBranchName }}" + -CommitMsg "${{ parameters.CommitMsg }}" + -GitUrl "https://$(azuresdk-github-pat)@github.com/${{ parameters.PROwner }}/${{ parameters.RepoName }}.git" + -PushArgs "${{ parameters.PushArgs }}" -- pwsh: | - ${{ parameters.ScriptDirectory }}/Submit-PullRequest.ps1 ` - -RepoOwner "${{ parameters.RepoOwner }}" ` - -RepoName "${{ parameters.RepoName }}" ` - -BaseBranch "${{ parameters.BaseBranchName }}" ` - -PROwner "${{ parameters.PROwner }}" ` - -PRBranch "${{ parameters.PRBranchName }}" ` - -AuthToken "$(azuresdk-github-pat)" ` - -PRTitle "${{ parameters.PRTitle }}" - +- task: PowerShell@2 displayName: Create pull request - workingDirectory: ${{ parameters.WorkingDirectory }} - condition: and(succeeded(), eq(variables['HasChanges'], 'true')) \ No newline at end of file + condition: and(succeeded(), eq(variables['HasChanges'], 'true')) + inputs: + pwsh: true + workingDirectory: ${{ parameters.WorkingDirectory }} + filePath: ${{ parameters.ScriptDirectory }}/Submit-PullRequest.ps1 + arguments: > + -RepoOwner "${{ parameters.RepoOwner }}" + -RepoName "${{ parameters.RepoName }}" + -BaseBranch "${{ parameters.BaseBranchName }}" + -PROwner "${{ parameters.PROwner }}" + -PRBranch "${{ parameters.PRBranchName }}" + -AuthToken "$(azuresdk-github-pat)" + -PRTitle "${{ parameters.PRTitle }}" diff --git a/eng/common/pipelines/templates/steps/create-tags-and-git-release.yml b/eng/common/pipelines/templates/steps/create-tags-and-git-release.yml index a1fa15069dbe..8fb57243b0fd 100644 --- a/eng/common/pipelines/templates/steps/create-tags-and-git-release.yml +++ b/eng/common/pipelines/templates/steps/create-tags-and-git-release.yml @@ -10,9 +10,13 @@ steps: - task: PowerShell@2 displayName: 'Verify Package Tags and Create Git Releases' inputs: - targetType: filePath filePath: ${{ parameters.ScriptDirectory }}/create-tags-and-git-release.ps1 - arguments: -artifactLocation ${{parameters.ArtifactLocation}} -packageRepository ${{parameters.PackageRepository}} -releaseSha ${{parameters.ReleaseSha}} -repoId ${{parameters.RepoId}} -workingDirectory '${{parameters.WorkingDirectory}}' + arguments: > + -artifactLocation ${{ parameters.ArtifactLocation }} + -packageRepository ${{ parameters.PackageRepository }} + -releaseSha ${{ parameters.ReleaseSha }} + -repoId ${{ parameters.RepoId }} + -workingDirectory '${{ parameters.WorkingDirectory }}' pwsh: true timeoutInMinutes: 5 env: diff --git a/eng/common/pipelines/templates/steps/docs-metadata-release.yml b/eng/common/pipelines/templates/steps/docs-metadata-release.yml index 89d12d4ac1d1..6ff9f84ff3ee 100644 --- a/eng/common/pipelines/templates/steps/docs-metadata-release.yml +++ b/eng/common/pipelines/templates/steps/docs-metadata-release.yml @@ -16,10 +16,10 @@ parameters: steps: - pwsh: | git clone https://github.com/${{ parameters.TargetDocRepoOwner }}/${{ parameters.TargetDocRepoName }} ${{ parameters.WorkingDirectory }}/repo - + try { Push-Location ${{ parameters.WorkingDirectory }}/repo - + Write-Host "git checkout smoke-test" git checkout smoke-test } finally { @@ -33,14 +33,14 @@ steps: inputs: targetType: filePath filePath: ${{ parameters.ScriptDirectory }}/update-docs-metadata.ps1 - arguments: > - -ArtifactLocation ${{parameters.ArtifactLocation}} - -Repository ${{parameters.PackageRepository}} - -ReleaseSHA ${{parameters.ReleaseSha}} - -RepoId ${{parameters.RepoId}} - -WorkDirectory '${{parameters.WorkingDirectory}}' - -DocRepoLocation "${{parameters.WorkingDirectory}}/repo" - -Language "${{parameters.Language}}" + arguments: > + -ArtifactLocation ${{ parameters.ArtifactLocation }} + -Repository ${{ parameters.PackageRepository }} + -ReleaseSHA ${{ parameters.ReleaseSha }} + -RepoId ${{ parameters.RepoId }} + -WorkDirectory "${{ parameters.WorkingDirectory }}" + -DocRepoLocation "${{ parameters.WorkingDirectory }}/repo" + -Language "${{parameters.Language}}" -DocRepoContentLocation ${{ parameters.DocRepoDestinationPath }} pwsh: true env: @@ -54,5 +54,5 @@ steps: CommitMsg: "Update readme content for ${{ parameters.ArtifactName }}" PRTitle: "Docs.MS Readme Update." BaseBranchName: smoke-test - WorkingDirectory: ${{parameters.WorkingDirectory}}/repo - ScriptDirectory: ${{parameters.WorkingDirectory}}/${{parameters.ScriptDirectory}} + WorkingDirectory: ${{ parameters.WorkingDirectory }}/repo + ScriptDirectory: ${{ parameters.WorkingDirectory }}/${{ parameters.ScriptDirectory }} diff --git a/eng/common/pipelines/templates/steps/publish-blobs.yml b/eng/common/pipelines/templates/steps/publish-blobs.yml index ce0d9f708cca..682cc4d4f7c8 100644 --- a/eng/common/pipelines/templates/steps/publish-blobs.yml +++ b/eng/common/pipelines/templates/steps/publish-blobs.yml @@ -7,16 +7,20 @@ parameters: steps: - pwsh: | - Invoke-WebRequest -MaximumRetryCount 10 -Uri "https://aka.ms/downloadazcopy-v10-windows" ` - -OutFile "azcopy.zip" | Wait-Process; Expand-Archive -Path "azcopy.zip" -DestinationPath "$(Build.BinariesDirectory)/azcopy/" + Invoke-WebRequest -MaximumRetryCount 10 -Uri "https://aka.ms/downloadazcopy-v10-windows" -OutFile "azcopy.zip" | Wait-Process; + Expand-Archive -Path "azcopy.zip" -DestinationPath "$(Build.BinariesDirectory)/azcopy/" workingDirectory: $(Build.BinariesDirectory) displayName: Download and Extract azcopy Zip - task: Powershell@2 inputs: - targetType: 'filePath' filePath: ${{ parameters.ScriptPath }} - arguments: -AzCopy $(Resolve-Path "$(Build.BinariesDirectory)/azcopy/azcopy_windows_amd64_*/azcopy.exe")[0] -DocLocation "${{ parameters.FolderForUpload }}" -SASKey "${{ parameters.BlobSASKey }}" -Language "${{ parameters.TargetLanguage }}" -BlobName "${{ parameters.BlobName }}" + arguments: > + -AzCopy $(Resolve-Path "$(Build.BinariesDirectory)/azcopy/azcopy_windows_amd64_*/azcopy.exe")[0] + -DocLocation "${{ parameters.FolderForUpload }}" + -SASKey "${{ parameters.BlobSASKey }}" + -Language "${{ parameters.TargetLanguage }}" + -BlobName "${{ parameters.BlobName }}" pwsh: true workingDirectory: $(Pipeline.Workspace) displayName: Copy Docs to Blob diff --git a/eng/common/pipelines/templates/steps/verify-agent-os.yml b/eng/common/pipelines/templates/steps/verify-agent-os.yml index 1786612ba56c..b221583bc6da 100644 --- a/eng/common/pipelines/templates/steps/verify-agent-os.yml +++ b/eng/common/pipelines/templates/steps/verify-agent-os.yml @@ -1,4 +1,3 @@ -# Template for all Python Scripts in this repository parameters: OSVmImage: $(OSVmImage) diff --git a/eng/common/pipelines/templates/steps/verify-changelog.yml b/eng/common/pipelines/templates/steps/verify-changelog.yml new file mode 100644 index 000000000000..f90238471d95 --- /dev/null +++ b/eng/common/pipelines/templates/steps/verify-changelog.yml @@ -0,0 +1,25 @@ +parameters: +- name: PackageName + type: string + default: 'not-specified' +- name: ServiceName + type: string + default: 'not-specified' +- name: ForRelease + type: boolean + default: false + +steps: + - task: Powershell@2 + inputs: + filePath: /eng/common/scripts/Verify-ChangeLog.ps1 + arguments: > + -PackageName ${{ parameters.PackageName }} + -ServiceName ${{ parameters.ServiceName }} + -RepoRoot $(Build.SourcesDirectory) + -RepoName $(Build.Repository.Name) + -ForRelease ${{ parameters.ForRelease }} + pwsh: true + workingDirectory: $(Pipeline.Workspace) + displayName: Verify ChangeLog / Release Notes + continueOnError: false \ No newline at end of file diff --git a/eng/common/pipelines/templates/steps/verify-links.yml b/eng/common/pipelines/templates/steps/verify-links.yml new file mode 100644 index 000000000000..1a99350f0161 --- /dev/null +++ b/eng/common/pipelines/templates/steps/verify-links.yml @@ -0,0 +1,12 @@ +parameters: + Directory: 'not-specified' + +steps: + - task: PowerShell@2 + displayName: Link verification check + inputs: + pwsh: true + workingDirectory: $(Build.SourcesDirectory)/${{ parameters.Directory }} + filePath: eng/common/scripts/Verify-Links.ps1 + arguments: > + -urls $(dir -r -i *.md) -rootUrl "file://$(Build.SourcesDirectory)/${{ parameters.Directory }}" diff --git a/eng/common/scripts/Submit-PullRequest.ps1 b/eng/common/scripts/Submit-PullRequest.ps1 index 2313a83c9f9a..ef2a6f545061 100644 --- a/eng/common/scripts/Submit-PullRequest.ps1 +++ b/eng/common/scripts/Submit-PullRequest.ps1 @@ -41,21 +41,25 @@ param( $PRBody = $PRTitle ) -Write-Host "> $PSCommandPath $args" +$headers = @{ + Authorization = "bearer $AuthToken" +} $query = "state=open&head=${PROwner}:${PRBranch}&base=${BaseBranch}" -$resp = Invoke-RestMethod "https://api.github.com/repos/$RepoOwner/$RepoName/pulls?$query" +try { + $resp = Invoke-RestMethod -Headers $headers "https://api.github.com/repos/$RepoOwner/$RepoName/pulls?$query" +} +catch { + Write-Error "Invoke-RestMethod [https://api.github.com/repos/$RepoOwner/$RepoName/pulls?$query] failed with exception:`n$_" + exit 1 +} $resp | Write-Verbose if ($resp.Count -gt 0) { Write-Host -f green "Pull request already exists $($resp[0].html_url)" } else { - $headers = @{ - Authorization = "bearer $AuthToken" - } - $data = @{ title = $PRTitle head = "${PROwner}:${PRBranch}" @@ -64,9 +68,16 @@ else { maintainer_can_modify = $true } - $resp = Invoke-RestMethod -Method POST -Headers $headers ` - https://api.github.com/repos/$RepoOwner/$RepoName/pulls ` - -Body ($data | ConvertTo-Json) + try { + $resp = Invoke-RestMethod -Method POST -Headers $headers ` + "https://api.github.com/repos/$RepoOwner/$RepoName/pulls" ` + -Body ($data | ConvertTo-Json) + } + catch { + Write-Error "Invoke-RestMethod [https://api.github.com/repos/$RepoOwner/$RepoName/pulls] failed with exception:`n$_" + exit 1 + } + $resp | Write-Verbose Write-Host -f green "Pull request created https://github.com/$RepoOwner/$RepoName/pull/$($resp.number)" } diff --git a/eng/common/scripts/Verify-ChangeLog.ps1 b/eng/common/scripts/Verify-ChangeLog.ps1 new file mode 100644 index 000000000000..1f9991bfd668 --- /dev/null +++ b/eng/common/scripts/Verify-ChangeLog.ps1 @@ -0,0 +1,22 @@ +# Wrapper Script for ChangeLog Verification +param ( + [Parameter(Mandatory=$true)] + [string]$PackageName, + [Parameter(Mandatory=$true)] + [string]$ServiceName, + [string]$RepoRoot, + [ValidateSet("net","java","js","python")] + [string]$Language, + [string]$RepoName, + [boolean]$ForRelease=$False +) + +Import-Module "${PSScriptRoot}/modules/common-manifest.psd1" + +if ([System.String]::IsNullOrEmpty($Language)) +{ + $Language = $RepoName.Substring($RepoName.LastIndexOf('-') + 1) +} + +$PackageProp = Get-PkgProperties -PackageName $PackageName -ServiceName $ServiceName -Language $Language -RepoRoot $RepoRoot +Confirm-ChangeLog -ChangeLogLocation $PackageProp.pkgChangeLogPath -VersionString $PackageProp.pkgReadMePath -ForRelease $ForRelease \ No newline at end of file diff --git a/eng/common/scripts/Verify-Links.ps1 b/eng/common/scripts/Verify-Links.ps1 new file mode 100644 index 000000000000..c78ce9020ebb --- /dev/null +++ b/eng/common/scripts/Verify-Links.ps1 @@ -0,0 +1,244 @@ +param ( + # url list to verify links. Can either be a http address or a local file request. Local file paths support md and html files. + [string[]] $urls, + # file that contains a set of links to ignore when verifying + [string] $ignoreLinksFile = "$PSScriptRoot/ignore-links.txt", + # switch that will enable devops specific logging for warnings + [switch] $devOpsLogging = $false, + # check the links recurisvely based on recursivePattern + [switch] $recursive = $true, + # recusiving check links for all links verified that begin with this baseUrl, defaults to the folder the url is contained in + [string] $baseUrl = "", + # path to the root of the site for resolving rooted relative links, defaults to host root for http and file directory for local files + [string] $rootUrl = "", + # list of http status codes count as broken links. Defaults to 404. + [array] $errorStatusCodes = @(404), + # flag to allow resolving relative paths or not + [bool] $resolveRelativeLinks = $true +) + +$ProgressPreference = "SilentlyContinue"; # Disable invoke-webrequest progress dialog + +function NormalizeUrl([string]$url){ + if (Test-Path $url) { + $url = "file://" + (Resolve-Path $url).ToString(); + } + + $uri = [System.Uri]$url; + + if ($script:baseUrl -eq "") { + # for base url default to containing directory + $script:baseUrl = (new-object System.Uri($uri, ".")).ToString(); + } + + if ($script:rootUrl -eq "") { + if ($uri.IsFile) { + # for files default to the containing directory + $script:rootUrl = $script:baseUrl; + } + else { + # for http links default to the root path + $script:rootUrl = new-object System.Uri($uri, "/"); + } + } + return $uri +} + +function LogWarning +{ + if ($devOpsLogging) + { + Write-Host "##vso[task.LogIssue type=warning;]$args" + } + else + { + Write-Warning "$args" + } +} + +function ResolveUri ([System.Uri]$referralUri, [string]$link) +{ + # If the link is mailto, skip it. + if ($link.StartsWith("mailto:")) { + Write-Verbose "Skipping $link because it is a mailto link." + return $null + } + + $linkUri = [System.Uri]$link; + if($resolveRelativeLinks){ + if (!$linkUri.IsAbsoluteUri) { + # For rooted paths resolve from the baseUrl + if ($link.StartsWith("/")) { + echo "rooturl = $rootUrl" + $linkUri = new-object System.Uri([System.Uri]$rootUrl, ".$link"); + } + else { + $linkUri = new-object System.Uri($referralUri, $link); + } + } + } + + $linkUri = [System.Uri]$linkUri.GetComponents([System.UriComponents]::HttpRequestUrl, [System.UriFormat]::SafeUnescaped) + Write-Verbose "ResolvedUri $link to $linkUri" + + # If the link is not a web request, like mailto, skip it. + if (!$linkUri.Scheme.StartsWith("http") -and !$linkUri.IsFile) { + Write-Verbose "Skipping $linkUri because it is not http or file based." + return $null + } + + if ($null -ne $ignoreLinks -and $ignoreLinks.Contains($link)) { + Write-Verbose "Ignoring invalid link $linkUri because it is in the ignore file." + return $null + } + + return $linkUri; +} + +function ParseLinks([string]$baseUri, [string]$htmlContent) +{ + $hrefRegex = "]+href\s*=\s*[""']?(?[^""']*)[""']?" + $regexOptions = [System.Text.RegularExpressions.RegexOptions]"Singleline, IgnoreCase"; + + $hrefs = [RegEx]::Matches($htmlContent, $hrefRegex, $regexOptions); + + #$hrefs | Foreach-Object { Write-Host $_ } + + Write-Verbose "Found $($hrefs.Count) raw href's in page $baseUri"; + $links = $hrefs | ForEach-Object { ResolveUri $baseUri $_.Groups["href"].Value } | Sort-Object -Unique + + #$links | Foreach-Object { Write-Host $_ } + + return $links +} + +function CheckLink ([System.Uri]$linkUri) +{ + if ($checkedLinks.ContainsKey($linkUri)) { return } + + Write-Verbose "Checking link $linkUri..." + if ($linkUri.IsFile) { + if (!(Test-Path $linkUri.LocalPath)) { + LogWarning "Link to file does not exist $($linkUri.LocalPath)" + $script:badLinks += $linkUri + } + } + else { + try { + $response = Invoke-WebRequest -Uri $linkUri + $statusCode = $response.StatusCode + if ($statusCode -ne 200) { + Write-Host "[$statusCode] while requesting $linkUri" + } + } + catch { + $statusCode = $_.Exception.Response.StatusCode.value__ + + if ($statusCode -in $errorStatusCodes) { + LogWarning "[$statusCode] broken link $linkUri" + $script:badLinks += $linkUri + } + else { + if ($null -ne $statusCode) { + Write-Host "[$statusCode] while requesting $linkUri" + } + else { + Write-Host "Exception while requesting $linkUri" + Write-Host $_.Exception.ToString() + } + } + } + } + $checkedLinks[$linkUri] = $true; +} + +function GetLinks([System.Uri]$pageUri) +{ + if ($pageUri.Scheme.StartsWith("http")) { + try { + $response = Invoke-WebRequest -Uri $pageUri + $content = $response.Content + } + catch { + $statusCode = $_.Exception.Response.StatusCode.value__ + Write-Error "Invalid page [$statusCode] $pageUri" + } + } + elseif ($pageUri.IsFile -and (Test-Path $pageUri.LocalPath)) { + $file = $pageUri.LocalPath + if ($file.EndsWith(".md")) { + $content = (ConvertFrom-MarkDown $file).html + } + elseif ($file.EndsWith(".html")) { + $content = Get-Content $file + } + else { + if (Test-Path ($file + "index.html")) { + $content = Get-Content ($file + "index.html") + } + else { + # Fallback to just reading the content directly + $content = Get-Content $file + } + } + } + else { + Write-Error "Don't know how to process uri $pageUri" + } + + $links = ParseLinks $pageUri $content + + return $links; +} + +if ($urls) { + if ($urls.Count -eq 0) { + Write-Host "Usage $($MyInvocation.MyCommand.Name) "; + exit 1; + } +} + +if ($PSVersionTable.PSVersion.Major -lt 6) +{ + LogWarning "Some web requests will not work in versions of PS earlier then 6. You are running version $($PSVersionTable.PSVersion)." +} + +$badLinks = @(); +$ignoreLinks = @(); +if (Test-Path $ignoreLinksFile) +{ + $ignoreLinks = [Array](Get-Content $ignoreLinksFile | ForEach-Object { ($_ -replace "#.*", "").Trim() } | Where-Object { $_ -ne "" }) +} + +$checkedPages = @{}; +$checkedLinks = @{}; +$pageUrisToCheck = new-object System.Collections.Queue + +foreach ($url in $urls) { + $uri = NormalizeUrl $url + $pageUrisToCheck.Enqueue($uri); +} + +while ($pageUrisToCheck.Count -ne 0) +{ + $pageUri = $pageUrisToCheck.Dequeue(); + if ($checkedPages.ContainsKey($pageUri)) { continue } + $checkedPages[$pageUri] = $true; + + $linkUris = GetLinks $pageUri + Write-Host "Found $($linkUris.Count) links on page $pageUri"; + + foreach ($linkUri in $linkUris) { + CheckLink $linkUri + if ($recursive) { + if ($linkUri.ToString().StartsWith($baseUrl) -and !$checkedPages.ContainsKey($linkUri)) { + $pageUrisToCheck.Enqueue($linkUri); + } + } + } +} + +Write-Host "Found $($checkedLinks.Count) links with $($badLinks.Count) broken" +$badLinks | ForEach-Object { Write-Host " $_" } + +exit $badLinks.Count diff --git a/eng/common/scripts/artifact-metadata-parsing.ps1 b/eng/common/scripts/artifact-metadata-parsing.ps1 index 2d2362f0d0d9..e48a526fe9e5 100644 --- a/eng/common/scripts/artifact-metadata-parsing.ps1 +++ b/eng/common/scripts/artifact-metadata-parsing.ps1 @@ -1,3 +1,4 @@ +Import-Module "${PSScriptRoot}/modules/ChangeLog-Operations.psm1" . (Join-Path $PSScriptRoot SemVer.ps1) $SDIST_PACKAGE_REGEX = "^(?.*)\-(?$([AzureEngSemanticVersion]::SEMVER_REGEX))" @@ -8,8 +9,8 @@ function CreateReleases($pkgList, $releaseApiUrl, $releaseSha) { Write-Host "Creating release $($pkgInfo.Tag)" $releaseNotes = "" - if ($pkgInfo.ReleaseNotes[$pkgInfo.PackageVersion].ReleaseContent -ne $null) { - $releaseNotes = $pkgInfo.ReleaseNotes[$pkgInfo.PackageVersion].ReleaseContent + if ($pkgInfo.ReleaseNotes -ne $null) { + $releaseNotes = $pkgInfo.ReleaseNotes } $isPrerelease = $False @@ -96,7 +97,7 @@ function ParseMavenPackage($pkg, $workingDirectory) { $changeLogLoc = @(Get-ChildItem -Path $pkg.DirectoryName -Recurse -Include "$($pkg.Basename)-changelog.md")[0] if ($changeLogLoc) { - $releaseNotes = &"${PSScriptRoot}/../Extract-ReleaseNotes.ps1" -ChangeLogLocation $changeLogLoc + $releaseNotes = Get-ChangeLogEntryAsString -ChangeLogLocation $changeLogLoc -VersionString $pkgVersion } $readmeContentLoc = @(Get-ChildItem -Path $pkg.DirectoryName -Recurse -Include "$($pkg.Basename)-readme.md")[0] @@ -169,13 +170,15 @@ function ParseNPMPackage($pkg, $workingDirectory) { tar -xzf $pkg $packageJSON = ResolvePkgJson -workFolder $workFolder | Get-Content | ConvertFrom-Json + $pkgId = $packageJSON.name + $pkgVersion = $packageJSON.version $changeLogLoc = @(Get-ChildItem -Path $workFolder -Recurse -Include "CHANGELOG.md")[0] if ($changeLogLoc) { - $releaseNotes = &"${PSScriptRoot}/../Extract-ReleaseNotes.ps1" -ChangeLogLocation $changeLogLoc + $releaseNotes = Get-ChangeLogEntryAsString -ChangeLogLocation $changeLogLoc -VersionString $pkgVersion } - $readmeContentLoc = @(Get-ChildItem -Path $workFolder -Recurse -Include "README.md")[0] + $readmeContentLoc = @(Get-ChildItem -Path $workFolder -Recurse -Include "README.md") | Select-Object -Last 1 if ($readmeContentLoc) { $readmeContent = Get-Content -Raw $readmeContentLoc } @@ -183,9 +186,6 @@ function ParseNPMPackage($pkg, $workingDirectory) { cd $origFolder Remove-Item $workFolder -Force -Recurse -ErrorAction SilentlyContinue - $pkgId = $packageJSON.name - $pkgVersion = $packageJSON.version - $resultObj = New-Object PSObject -Property @{ PackageId = $pkgId PackageVersion = $pkgVersion @@ -229,10 +229,12 @@ function ParseNugetPackage($pkg, $workingDirectory) { Copy-Item -Path $pkg -Destination $zipFileLocation Expand-Archive -Path $zipFileLocation -DestinationPath $workFolder [xml] $packageXML = Get-ChildItem -Path "$workFolder/*.nuspec" | Get-Content + $pkgId = $packageXML.package.metadata.id + $pkgVersion = $packageXML.package.metadata.version $changeLogLoc = @(Get-ChildItem -Path $workFolder -Recurse -Include "CHANGELOG.md")[0] if ($changeLogLoc) { - $releaseNotes = &"${PSScriptRoot}/../Extract-ReleaseNotes.ps1" -ChangeLogLocation $changeLogLoc + $releaseNotes = Get-ChangeLogEntryAsString -ChangeLogLocation $changeLogLoc -VersionString $pkgVersion } $readmeContentLoc = @(Get-ChildItem -Path $workFolder -Recurse -Include "README.md")[0] @@ -241,8 +243,6 @@ function ParseNugetPackage($pkg, $workingDirectory) { } Remove-Item $workFolder -Force -Recurse -ErrorAction SilentlyContinue - $pkgId = $packageXML.package.metadata.id - $pkgVersion = $packageXML.package.metadata.version return New-Object PSObject -Property @{ PackageId = $pkgId @@ -297,13 +297,15 @@ function ParsePyPIPackage($pkg, $workingDirectory) { $changeLogLoc = @(Get-ChildItem -Path $workFolder -Recurse -Include "CHANGELOG.md")[0] if ($changeLogLoc) { - $releaseNotes = &"${PSScriptRoot}/../Extract-ReleaseNotes.ps1" -ChangeLogLocation $changeLogLoc + $releaseNotes = Get-ChangeLogEntryAsString -ChangeLogLocation $changeLogLoc -VersionString $pkgVersion } - $readmeContentLoc = @(Get-ChildItem -Path $workFolder -Recurse -Include "README.md")[0] + $readmeContentLoc = @(Get-ChildItem -Path $workFolder -Recurse -Include "README.md") | Select-Object -Last 1 + if ($readmeContentLoc) { $readmeContent = Get-Content -Raw $readmeContentLoc } + Remove-Item $workFolder -Force -Recurse -ErrorAction SilentlyContinue return New-Object PSObject -Property @{ @@ -321,10 +323,12 @@ function ParseCArtifact($pkg, $workingDirectory) { $releaseNotes = "" $readmeContent = "" + $pkgVersion = $packageInfo.version + $changeLogLoc = @(Get-ChildItem -Path $packageArtifactLocation -Recurse -Include "CHANGELOG.md")[0] if ($changeLogLoc) { - $releaseNotes = &"${PSScriptRoot}/../Extract-ReleaseNotes.ps1" -ChangeLogLocation $changeLogLoc + $releaseNotes = Get-ChangeLogEntryAsString -ChangeLogLocation $changeLogLoc -VersionString $pkgVersion } $readmeContentLoc = @(Get-ChildItem -Path $packageArtifactLocation -Recurse -Include "README.md")[0] @@ -333,8 +337,8 @@ function ParseCArtifact($pkg, $workingDirectory) { } return New-Object PSObject -Property @{ - PackageId = '' - PackageVersion = $packageInfo.version + PackageId = 'azure-sdk-for-c' + PackageVersion = $pkgVersion # Artifact info is always considered deployable for C becasue it is not # deployed anywhere. Dealing with duplicate tags happens downstream in # CheckArtifactShaAgainstTagsList diff --git a/eng/common/scripts/copy-docs-to-blobstorage.ps1 b/eng/common/scripts/copy-docs-to-blobstorage.ps1 index 03e508c17cb5..0093c38e7f57 100644 --- a/eng/common/scripts/copy-docs-to-blobstorage.ps1 +++ b/eng/common/scripts/copy-docs-to-blobstorage.ps1 @@ -10,8 +10,6 @@ param ( $UploadLatest=1 ) -Write-Host "> $PSCommandPath $args" - $Language = $Language.ToLower() # Regex inspired but simplified from https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string diff --git a/eng/common/scripts/create-tags-and-git-release.ps1 b/eng/common/scripts/create-tags-and-git-release.ps1 index f87c90997839..cec45536b704 100644 --- a/eng/common/scripts/create-tags-and-git-release.ps1 +++ b/eng/common/scripts/create-tags-and-git-release.ps1 @@ -6,6 +6,7 @@ param ( # used by VerifyPackages $artifactLocation, # the root of the artifact folder. DevOps $(System.ArtifactsDirectory) $workingDirectory, # directory that package artifacts will be extracted into for examination (if necessary) + [ValidateSet("Nuget","NPM","PyPI","Maven")] $packageRepository, # used to indicate destination against which we will check the existing version. # valid options: PyPI, Nuget, NPM, Maven, C # used by CreateTags @@ -18,8 +19,6 @@ param ( [switch]$continueOnError = $false ) -Write-Host "> $PSCommandPath $args" - . (Join-Path $PSScriptRoot artifact-metadata-parsing.ps1) $apiUrl = "https://api.github.com/repos/$repoId" diff --git a/eng/common/scripts/git-branch-push.ps1 b/eng/common/scripts/git-branch-push.ps1 index 9ff45f87ad67..9b3d78345589 100644 --- a/eng/common/scripts/git-branch-push.ps1 +++ b/eng/common/scripts/git-branch-push.ps1 @@ -28,8 +28,6 @@ param( [string] $PushArgs = "" ) -Write-Host "> $PSCommandPath $args" - # This is necessay because of the janky git command output writing to stderr. # Without explicitly setting the ErrorActionPreference to continue the script # would fail the first time git wrote command output. @@ -118,11 +116,11 @@ do if ($LASTEXITCODE -ne 0) { Write-Error "Unable to apply diff file LASTEXITCODE=$($LASTEXITCODE), see command output above." - continue + exit $LASTEXITCODE } Write-Host "git add -A" - git add -A + git add -A if ($LASTEXITCODE -ne 0) { Write-Error "Unable to git add LASTEXITCODE=$($LASTEXITCODE), see command output above." diff --git a/eng/common/scripts/modules/ChangeLog-Operations.psm1 b/eng/common/scripts/modules/ChangeLog-Operations.psm1 new file mode 100644 index 000000000000..5279668412b7 --- /dev/null +++ b/eng/common/scripts/modules/ChangeLog-Operations.psm1 @@ -0,0 +1,116 @@ +# Common Changelog Operations + +$RELEASE_TITLE_REGEX = "(?^\#+.*(?\b\d+\.\d+\.\d+([^0-9\s][^\s:]+)?)(\s(?\(Unreleased\)|\(\d{4}-\d{2}-\d{2}\)))?)" + +# Returns a Collection of changeLogEntry object containing changelog info for all version present in the gived CHANGELOG +function Get-ChangeLogEntries { + param ( + [Parameter(Mandatory = $true)] + [String]$ChangeLogLocation + ) + + $changeLogEntries = @{} + if (!(Test-Path $ChangeLogLocation)) { + Write-Host "ChangeLog '{0}' was not found" -f $ChangeLogLocation + exit 1 + } + + try { + $contents = Get-Content $ChangeLogLocation + # walk the document, finding where the version specifiers are and creating lists + $changeLogEntry = $null + foreach ($line in $contents) { + if ($line -match $RELEASE_TITLE_REGEX) { + $changeLogEntry = [pscustomobject]@{ + ReleaseVersion = $matches["version"] + ReleaseStatus = $matches["releaseStatus"] + ReleaseTitle = $line + ReleaseContent = @() # Release content without the version title + } + $changeLogEntries[$changeLogEntry.ReleaseVersion] = $changeLogEntry + } + else { + if ($changeLogEntry) { + $changeLogEntry.ReleaseContent += $line + } + } + } + } + catch { + Write-Host "Error parsing $ChangeLogLocation." + Write-Host $_.Exception.Message + } + return $changeLogEntries +} + +# Returns single changeLogEntry object containing the ChangeLog for a particular version +function Get-ChangeLogEntry { + param ( + [Parameter(Mandatory = $true)] + [String]$ChangeLogLocation, + [Parameter(Mandatory = $true)] + [String]$VersionString + ) + + $changeLogEntries = Get-ChangeLogEntries -ChangeLogLocation $ChangeLogLocation + + if ($changeLogEntries.ContainsKey($VersionString)) { + return $changeLogEntries[$VersionString] + } + Write-Error "Release Notes for the Specified version ${VersionString} was not found" + exit 1 +} + +#Returns the changelog for a particular version as string +function Get-ChangeLogEntryAsString { + param ( + [Parameter(Mandatory = $true)] + [String]$ChangeLogLocation, + [Parameter(Mandatory = $true)] + [String]$VersionString + ) + + $changeLogEntries = Get-ChangeLogEntry -ChangeLogLocation $ChangeLogLocation -VersionString $VersionString + [string]$releaseTitle = $changeLogEntries.ReleaseTitle + [string]$releaseContent = $changeLogEntries.ReleaseContent -Join [Environment]::NewLine + return $releaseTitle, $releaseContent -Join [Environment]::NewLine +} + +function Confirm-ChangeLogEntry { + param ( + [Parameter(Mandatory = $true)] + [String]$ChangeLogLocation, + [Parameter(Mandatory = $true)] + [String]$VersionString, + [boolean]$ForRelease = $false + ) + + $changeLogEntries = Get-ChangeLogEntry -ChangeLogLocation $ChangeLogLocation -VersionString $VersionString + + if ([System.String]::IsNullOrEmpty($changeLogEntries.ReleaseStatus)) { + Write-Host ("##[error]Changelog '{0}' has wrong release note title" -f $ChangeLogLocation) + Write-Host "##[info]Ensure the release date is included i.e. (yyyy-MM-dd) or (Unreleased) if not yet released" + exit 1 + } + + if ($ForRelease -eq $True) { + $CurrentDate = Get-Date -Format "yyyy-MM-dd" + if ($changeLogEntries.ReleaseStatus -ne "($CurrentDate)") { + Write-Host ("##[warning]Incorrect Date: Please use the current date in the Changelog '{0}' before releasing the package" -f $ChangeLogLocation) + exit 1 + } + + if ([System.String]::IsNullOrWhiteSpace($changeLogEntries.ReleaseContent)) { + Write-Host ("##[error]Empty Release Notes for '{0}' in '{1}'" -f $VersionString, $ChangeLogLocation) + Write-Host "##[info]Please ensure there is a release notes entry before releasing the package." + exit 1 + } + } + + Write-Host ($changeLogEntries | Format-Table | Out-String) +} + +Export-ModuleMember -Function 'Get-ChangeLogEntries' +Export-ModuleMember -Function 'Get-ChangeLogEntry' +Export-ModuleMember -Function 'Get-ChangeLogEntryAsString' +Export-ModuleMember -Function 'Confirm-ChangeLogEntry' \ No newline at end of file diff --git a/eng/common/scripts/modules/common-manifest.psd1 b/eng/common/scripts/modules/common-manifest.psd1 index 419f046e6f67..43dee1c26e23 100644 --- a/eng/common/scripts/modules/common-manifest.psd1 +++ b/eng/common/scripts/modules/common-manifest.psd1 @@ -66,7 +66,7 @@ ScriptsToProcess = @("${PSScriptRoot}\..\SemVer.ps1") # FormatsToProcess = @() # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess -NestedModules = @("${PSScriptRoot}\Package-Properties.psm1") +NestedModules = @("${PSScriptRoot}\Package-Properties.psm1", "${PSScriptRoot}\ChangeLog-Operations.psm1") # Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. # FunctionsToExport = @() diff --git a/eng/common/scripts/update-docs-metadata.ps1 b/eng/common/scripts/update-docs-metadata.ps1 index f88717c4f714..a858078f5448 100644 --- a/eng/common/scripts/update-docs-metadata.ps1 +++ b/eng/common/scripts/update-docs-metadata.ps1 @@ -14,8 +14,6 @@ param ( $DocRepoContentLocation = "docs-ref-services/" # within the doc repo, where does our readme go? ) -Write-Host "> $PSCommandPath $args" - # import artifact parsing and semver handling . (Join-Path $PSScriptRoot artifact-metadata-parsing.ps1) @@ -24,19 +22,19 @@ Write-Host "> $PSCommandPath $args" function GetMetaData($lang){ switch ($lang) { "java" { - $metadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/allpackages/java-packages.csv" + $metadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/releases/latest/java-packages.csv" break } ".net" { - $metadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/allpackages/dotnet-packages.csv" + $metadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/releases/latest/dotnet-packages.csv" break } "python" { - $metadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/allpackages/python-packages.csv" + $metadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/releases/latest/python-packages.csv" break } "javascript" { - $metadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/allpackages/js-packages.csv" + $metadataUri = "https://raw.githubusercontent.com/Azure/azure-sdk/master/_data/releases/latest/js-packages.csv" break } default { @@ -58,12 +56,12 @@ function GetAdjustedReadmeContent($pkgInfo, $lang){ $pkgId = $pkgInfo.PackageId.Replace("@azure/", "") try { - $metadata = GetMetaData -lang $lang + $metadata = GetMetaData -lang $lang $service = $metadata | ? { $_.Package -eq $pkgId } if ($service) { - $service = "$($service.Service)" + $service = "$($service.ServiceName)".ToLower().Replace(" ", "") } } catch { @@ -72,15 +70,17 @@ function GetAdjustedReadmeContent($pkgInfo, $lang){ } $fileContent = $pkgInfo.ReadmeContent + $foundTitle = "" # only replace the version if the formatted header can be found $headerContentMatches = (Select-String -InputObject $pkgInfo.ReadmeContent -Pattern 'Azure .+? (client|plugin|shared) library for (JavaScript|Java|Python|\.NET|C)') if ($headerContentMatches) { - $headerContentMatch = $headerContentMatches.Matches[0] - $header = "---`ntitle: $headerContentMatch`nkeywords: Azure, $lang, SDK, API, $($pkgInfo.PackageId), $service`nauthor: maggiepint`nms.author: magpint`nms.date: $date`nms.topic: article`nms.prod: azure`nms.technology: azure`nms.devlang: $lang`nms.service: $service`n---`n" - $fileContent = $pkgInfo.ReadmeContent -replace $headerContentMatch, "$headerContentMatch - Version $($pkgInfo.PackageVersion) `n" + $foundTitle = $headerContentMatches.Matches[0] + $fileContent = $pkgInfo.ReadmeContent -replace $foundTitle, "$foundTitle - Version $($pkgInfo.PackageVersion) `n" } + $header = "---`ntitle: $foundTitle`nkeywords: Azure, $lang, SDK, API, $($pkgInfo.PackageId), $service`nauthor: maggiepint`nms.author: magpint`nms.date: $date`nms.topic: article`nms.prod: azure`nms.technology: azure`nms.devlang: $lang`nms.service: $service`n---`n" + if ($fileContent) { return "$header`n$fileContent" } @@ -99,7 +99,7 @@ $pkgs = VerifyPackages -pkgRepository $Repository ` if ($pkgs) { Write-Host "Given the visible artifacts, readmes will be copied for the following packages" - Write-Host ($pkgs | % { $_.PackageId }) + Write-Host ($pkgs | % { $_.PackageId }) foreach ($packageInfo in $pkgs) { # sync the doc repo From de7168a07ec7476f589f316d2cbff6f42f8fda91 Mon Sep 17 00:00:00 2001 From: iscai-msft <43154838+iscai-msft@users.noreply.github.com> Date: Mon, 29 Jun 2020 18:58:32 -0400 Subject: [PATCH 32/36] Set http_logging_policy in Configuration (#12218) * allow user to set http_logging_policy in azure core * add tests for setting http logging policy in azure core * allow user to set http_logging_policy in azure mgmt core * fix default allowed headers for ARMHttpLoggingPolicy * add tests for setting http logging policy in azure mgmt core * deprecate WHITELIST, switch to ALLOWLIST in HttpLoggingPolicy * deprecate WHITELIST, switch to ALLOWLIST in ARMHttpLoggingPolicy * udpate changelog * change fix for ARMHttpLoggingPolicy default allowed headers * update version * Revert "deprecate WHITELIST, switch to ALLOWLIST in ARMHttpLoggingPolicy" This reverts commit 4175acda7ef6ee4c724dbe17896ceb23972bf747. * Revert "deprecate WHITELIST, switch to ALLOWLIST in HttpLoggingPolicy" This reverts commit 64b3246fcc6926704b276f5740b1458b68a6c5cd. * switch keyword docstring to ivar for most config policies * removed __init__ in azure-mgmt-core async tests * use the current class attribute to get the default allowed headers --- sdk/core/azure-core/CHANGELOG.md | 7 ++- .../azure-core/azure/core/_pipeline_client.py | 2 +- .../azure/core/_pipeline_client_async.py | 2 +- sdk/core/azure-core/azure/core/_version.py | 2 +- .../azure-core/azure/core/configuration.py | 20 ++++---- .../core/pipeline/policies/_universal.py | 2 +- .../azure_core_asynctests/test_pipeline.py | 27 ++++++++++- sdk/core/azure-core/tests/test_pipeline.py | 22 +++++++++ sdk/core/azure-mgmt-core/CHANGELOG.md | 12 +++++ .../azure/mgmt/core/_async_pipeline_client.py | 2 +- .../azure/mgmt/core/_pipeline_client.py | 2 +- .../azure/mgmt/core/_version.py | 2 +- .../tests/asynctests/test_policies_async.py | 46 +++++++++++++++++++ .../azure-mgmt-core/tests/test_policies.py | 25 +++++++++- 14 files changed, 155 insertions(+), 18 deletions(-) create mode 100644 sdk/core/azure-mgmt-core/tests/asynctests/test_policies_async.py diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md index 4f6eda777df8..2cad230ece1b 100644 --- a/sdk/core/azure-core/CHANGELOG.md +++ b/sdk/core/azure-core/CHANGELOG.md @@ -1,7 +1,7 @@ # Release History -## 1.6.1 (Unreleased) +## 1.7.0 (Unreleased) ### Bug fixes @@ -9,6 +9,11 @@ - Better error messages if passed endpoint is incorrect #12106 - Do not JSON encore a string if content type is "text" #12137 +### Features + +- Added `http_logging_policy` property on the `Configuration` object, allowing users to individually +set the http logging policy of the config #12218 + ## 1.6.0 (2020-06-03) ### Bug fixes diff --git a/sdk/core/azure-core/azure/core/_pipeline_client.py b/sdk/core/azure-core/azure/core/_pipeline_client.py index b0a32564c717..a75271d14b2a 100644 --- a/sdk/core/azure-core/azure/core/_pipeline_client.py +++ b/sdk/core/azure-core/azure/core/_pipeline_client.py @@ -114,7 +114,7 @@ def _build_pipeline(self, config, **kwargs): # pylint: disable=no-self-use config.custom_hook_policy, config.logging_policy, DistributedTracingPolicy(**kwargs), - HttpLoggingPolicy(**kwargs) + config.http_logging_policy or HttpLoggingPolicy(**kwargs) ] if not transport: diff --git a/sdk/core/azure-core/azure/core/_pipeline_client_async.py b/sdk/core/azure-core/azure/core/_pipeline_client_async.py index 6f2eb9ebb5d1..3c6917a5e401 100644 --- a/sdk/core/azure-core/azure/core/_pipeline_client_async.py +++ b/sdk/core/azure-core/azure/core/_pipeline_client_async.py @@ -113,7 +113,7 @@ def _build_pipeline(self, config, **kwargs): # pylint: disable=no-self-use config.custom_hook_policy, config.logging_policy, DistributedTracingPolicy(**kwargs), - HttpLoggingPolicy(**kwargs), + config.http_logging_policy or HttpLoggingPolicy(**kwargs) ] if not transport: diff --git a/sdk/core/azure-core/azure/core/_version.py b/sdk/core/azure-core/azure/core/_version.py index 63b396f7f785..3e95c740099b 100644 --- a/sdk/core/azure-core/azure/core/_version.py +++ b/sdk/core/azure-core/azure/core/_version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "1.6.1" +VERSION = "1.7.0" diff --git a/sdk/core/azure-core/azure/core/configuration.py b/sdk/core/azure-core/azure/core/configuration.py index cfd8f58b518a..81148e10bf03 100644 --- a/sdk/core/azure-core/azure/core/configuration.py +++ b/sdk/core/azure-core/azure/core/configuration.py @@ -34,15 +34,16 @@ class Configuration(object): Configuration to construct the pipeline correctly, as well as inserting any unexposed/non-configurable policies. - :keyword headers_policy: Provides parameters for custom or additional headers to be sent with the request. - :keyword proxy_policy: Provides configuration parameters for proxy. - :keyword redirect_policy: Provides configuration parameters for redirects. - :keyword retry_policy: Provides configuration parameters for retries in the pipeline. - :keyword custom_hook_policy: Provides configuration parameters for a custom hook. - :keyword logging_policy: Provides configuration parameters for logging. - :keyword user_agent_policy: Provides configuration parameters to append custom values to the + :ivar headers_policy: Provides parameters for custom or additional headers to be sent with the request. + :ivar proxy_policy: Provides configuration parameters for proxy. + :ivar redirect_policy: Provides configuration parameters for redirects. + :ivar retry_policy: Provides configuration parameters for retries in the pipeline. + :ivar custom_hook_policy: Provides configuration parameters for a custom hook. + :ivar logging_policy: Provides configuration parameters for logging. + :ivar http_logging_policy: Provides configuration parameters for HTTP specific logging. + :ivar user_agent_policy: Provides configuration parameters to append custom values to the User-Agent header. - :keyword authentication_policy: Provides configuration parameters for adding a bearer token Authorization + :ivar authentication_policy: Provides configuration parameters for adding a bearer token Authorization header to requests. :keyword polling_interval: Polling interval while doing LRO operations, if Retry-After is not set. @@ -74,6 +75,9 @@ def __init__(self, **kwargs): # Logger configuration self.logging_policy = None + # Http logger configuration + self.http_logging_policy = None + # User Agent configuration self.user_agent_policy = None diff --git a/sdk/core/azure-core/azure/core/pipeline/policies/_universal.py b/sdk/core/azure-core/azure/core/pipeline/policies/_universal.py index a90f10a7bda4..10cb23bbcb43 100644 --- a/sdk/core/azure-core/azure/core/pipeline/policies/_universal.py +++ b/sdk/core/azure-core/azure/core/pipeline/policies/_universal.py @@ -371,7 +371,7 @@ def __init__(self, logger=None, **kwargs): # pylint: disable=unused-argument "azure.core.pipeline.policies.http_logging_policy" ) self.allowed_query_params = set() - self.allowed_header_names = set(HttpLoggingPolicy.DEFAULT_HEADERS_WHITELIST) + self.allowed_header_names = set(self.__class__.DEFAULT_HEADERS_WHITELIST) def _redact_query_param(self, key, value): lower_case_allowed_query_params = [ diff --git a/sdk/core/azure-core/tests/azure_core_asynctests/test_pipeline.py b/sdk/core/azure-core/tests/azure_core_asynctests/test_pipeline.py index b8bc6fa9b9a2..070b50368c5a 100644 --- a/sdk/core/azure-core/tests/azure_core_asynctests/test_pipeline.py +++ b/sdk/core/azure-core/tests/azure_core_asynctests/test_pipeline.py @@ -31,7 +31,9 @@ UserAgentPolicy, AsyncRedirectPolicy, AsyncHTTPPolicy, - AsyncRetryPolicy) + AsyncRetryPolicy, + HttpLoggingPolicy +) from azure.core.pipeline.transport import ( AsyncHttpTransport, HttpRequest, @@ -39,6 +41,9 @@ TrioRequestsTransport, AioHttpTransport ) + +from azure.core.configuration import Configuration +from azure.core import AsyncPipelineClient from azure.core.exceptions import AzureError import aiohttp @@ -143,6 +148,26 @@ async def do(): response = trio.run(do) +def test_default_http_logging_policy(): + config = Configuration() + pipeline_client = AsyncPipelineClient(base_url="test") + pipeline = pipeline_client._build_pipeline(config) + http_logging_policy = pipeline._impl_policies[-1]._policy + assert http_logging_policy.allowed_header_names == HttpLoggingPolicy.DEFAULT_HEADERS_WHITELIST + +def test_pass_in_http_logging_policy(): + config = Configuration() + http_logging_policy = HttpLoggingPolicy() + http_logging_policy.allowed_header_names.update( + {"x-ms-added-header"} + ) + config.http_logging_policy = http_logging_policy + + pipeline_client = AsyncPipelineClient(base_url="test") + pipeline = pipeline_client._build_pipeline(config) + http_logging_policy = pipeline._impl_policies[-1]._policy + assert http_logging_policy.allowed_header_names == HttpLoggingPolicy.DEFAULT_HEADERS_WHITELIST.union({"x-ms-added-header"}) + @pytest.mark.asyncio async def test_conf_async_requests(): diff --git a/sdk/core/azure-core/tests/test_pipeline.py b/sdk/core/azure-core/tests/test_pipeline.py index 7b4cff1753b4..f7a96f2372da 100644 --- a/sdk/core/azure-core/tests/test_pipeline.py +++ b/sdk/core/azure-core/tests/test_pipeline.py @@ -46,10 +46,12 @@ from azure.core.configuration import Configuration from azure.core.pipeline import Pipeline +from azure.core import PipelineClient from azure.core.pipeline.policies import ( SansIOHTTPPolicy, UserAgentPolicy, RedirectPolicy, + HttpLoggingPolicy ) from azure.core.pipeline.transport._base import PipelineClientBase from azure.core.pipeline.transport import ( @@ -60,6 +62,26 @@ from azure.core.exceptions import AzureError +def test_default_http_logging_policy(): + config = Configuration() + pipeline_client = PipelineClient(base_url="test") + pipeline = pipeline_client._build_pipeline(config) + http_logging_policy = pipeline._impl_policies[-1]._policy + assert http_logging_policy.allowed_header_names == HttpLoggingPolicy.DEFAULT_HEADERS_WHITELIST + +def test_pass_in_http_logging_policy(): + config = Configuration() + http_logging_policy = HttpLoggingPolicy() + http_logging_policy.allowed_header_names.update( + {"x-ms-added-header"} + ) + config.http_logging_policy = http_logging_policy + + pipeline_client = PipelineClient(base_url="test") + pipeline = pipeline_client._build_pipeline(config) + http_logging_policy = pipeline._impl_policies[-1]._policy + assert http_logging_policy.allowed_header_names == HttpLoggingPolicy.DEFAULT_HEADERS_WHITELIST.union({"x-ms-added-header"}) + def test_sans_io_exception(): class BrokenSender(HttpTransport): diff --git a/sdk/core/azure-mgmt-core/CHANGELOG.md b/sdk/core/azure-mgmt-core/CHANGELOG.md index 5ad025311ba7..1ca4a3f75ef9 100644 --- a/sdk/core/azure-mgmt-core/CHANGELOG.md +++ b/sdk/core/azure-mgmt-core/CHANGELOG.md @@ -1,6 +1,18 @@ # Release History +## 1.2.0 (Unreleased) + +### Bug Fixes + +- The `allowed_header_names` property of ARMHttpLoggingPolicy now includes the management plane specific +allowed headers #12218 + +### Features + +- Added `http_logging_policy` property on the `Configuration` object, allowing users to individually +set the http logging policy of the config #12218 + ## 1.1.0 (2020-05-04) ### Features diff --git a/sdk/core/azure-mgmt-core/azure/mgmt/core/_async_pipeline_client.py b/sdk/core/azure-mgmt-core/azure/mgmt/core/_async_pipeline_client.py index 01cb3b3097ab..2e71532e72be 100644 --- a/sdk/core/azure-mgmt-core/azure/mgmt/core/_async_pipeline_client.py +++ b/sdk/core/azure-mgmt-core/azure/mgmt/core/_async_pipeline_client.py @@ -65,5 +65,5 @@ def _default_policies(config, **kwargs): config.custom_hook_policy, config.logging_policy, DistributedTracingPolicy(**kwargs), - ARMHttpLoggingPolicy(**kwargs), + config.http_logging_policy or ARMHttpLoggingPolicy(**kwargs), ] diff --git a/sdk/core/azure-mgmt-core/azure/mgmt/core/_pipeline_client.py b/sdk/core/azure-mgmt-core/azure/mgmt/core/_pipeline_client.py index 39cdf9b5505f..0280e2408ac1 100644 --- a/sdk/core/azure-mgmt-core/azure/mgmt/core/_pipeline_client.py +++ b/sdk/core/azure-mgmt-core/azure/mgmt/core/_pipeline_client.py @@ -65,5 +65,5 @@ def _default_policies(config, **kwargs): config.custom_hook_policy, config.logging_policy, DistributedTracingPolicy(**kwargs), - ARMHttpLoggingPolicy(**kwargs), + config.http_logging_policy or ARMHttpLoggingPolicy(**kwargs), ] diff --git a/sdk/core/azure-mgmt-core/azure/mgmt/core/_version.py b/sdk/core/azure-mgmt-core/azure/mgmt/core/_version.py index 683eba90f4b8..3c9123ce45fc 100644 --- a/sdk/core/azure-mgmt-core/azure/mgmt/core/_version.py +++ b/sdk/core/azure-mgmt-core/azure/mgmt/core/_version.py @@ -9,4 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "1.1.0" +VERSION = "1.2.0" diff --git a/sdk/core/azure-mgmt-core/tests/asynctests/test_policies_async.py b/sdk/core/azure-mgmt-core/tests/asynctests/test_policies_async.py new file mode 100644 index 000000000000..f34c92cd514d --- /dev/null +++ b/sdk/core/azure-mgmt-core/tests/asynctests/test_policies_async.py @@ -0,0 +1,46 @@ +#-------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. +# +#-------------------------------------------------------------------------- + +from azure.mgmt.core import AsyncARMPipelineClient +from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from azure.core.configuration import Configuration + +def test_default_http_logging_policy(): + config = Configuration() + pipeline_client = AsyncARMPipelineClient(base_url="test", config=config) + http_logging_policy = pipeline_client._default_policies(config=config)[-1] + assert http_logging_policy.allowed_header_names == ARMHttpLoggingPolicy.DEFAULT_HEADERS_WHITELIST + +def test_pass_in_http_logging_policy(): + config = Configuration() + http_logging_policy = ARMHttpLoggingPolicy() + http_logging_policy.allowed_header_names.update( + {"x-ms-added-header"} + ) + config.http_logging_policy = http_logging_policy + + pipeline_client = AsyncARMPipelineClient(base_url="test", config=config) + http_logging_policy = pipeline_client._default_policies(config=config)[-1] + assert http_logging_policy.allowed_header_names == ARMHttpLoggingPolicy.DEFAULT_HEADERS_WHITELIST.union({"x-ms-added-header"}) \ No newline at end of file diff --git a/sdk/core/azure-mgmt-core/tests/test_policies.py b/sdk/core/azure-mgmt-core/tests/test_policies.py index f7f3b7ffd730..19bc2fbb93cd 100644 --- a/sdk/core/azure-mgmt-core/tests/test_policies.py +++ b/sdk/core/azure-mgmt-core/tests/test_policies.py @@ -35,13 +35,18 @@ import requests import httpretty +from azure.core.configuration import Configuration from azure.core.pipeline import Pipeline from azure.core.pipeline.transport import ( HttpRequest, RequestsTransport, ) -from azure.mgmt.core.policies import ARMAutoResourceProviderRegistrationPolicy +from azure.mgmt.core import ARMPipelineClient +from azure.mgmt.core.policies import ( + ARMAutoResourceProviderRegistrationPolicy, + ARMHttpLoggingPolicy +) @pytest.fixture def sleepless(monkeypatch): @@ -162,3 +167,21 @@ def test_register_failed_policy(): response = pipeline.run(request) assert response.http_response.status_code == 409 + +def test_default_http_logging_policy(): + config = Configuration() + pipeline_client = ARMPipelineClient(base_url="test", config=config) + http_logging_policy = pipeline_client._default_policies(config=config)[-1] + assert http_logging_policy.allowed_header_names == ARMHttpLoggingPolicy.DEFAULT_HEADERS_WHITELIST + +def test_pass_in_http_logging_policy(): + config = Configuration() + http_logging_policy = ARMHttpLoggingPolicy() + http_logging_policy.allowed_header_names.update( + {"x-ms-added-header"} + ) + config.http_logging_policy = http_logging_policy + + pipeline_client = ARMPipelineClient(base_url="test", config=config) + http_logging_policy = pipeline_client._default_policies(config=config)[-1] + assert http_logging_policy.allowed_header_names == ARMHttpLoggingPolicy.DEFAULT_HEADERS_WHITELIST.union({"x-ms-added-header"}) \ No newline at end of file From 83ac5e91568edaf392f8acdaafbd6ebc0acc7893 Mon Sep 17 00:00:00 2001 From: Krista Pratico Date: Tue, 30 Jun 2020 09:52:31 -0700 Subject: [PATCH 33/36] [formrecognizer] adjust text angle to fit in specified interval (#12248) * adjust text angle to fit in specified interval * fix testcase expression --- .../azure-ai-formrecognizer/CHANGELOG.md | 5 +++++ .../azure/ai/formrecognizer/_models.py | 10 +++++++++- .../azure/ai/formrecognizer/_response_handlers.py | 5 +++-- .../azure-ai-formrecognizer/tests/testcase.py | 5 ++++- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md index c9739bfa2901..36d630b4135a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/CHANGELOG.md @@ -1,6 +1,7 @@ # Change Log azure-ai-formrecognizer ## 1.0.0b4 (Unreleased) + **Breaking Changes** - Remove `RecognizedReceipts` Class. @@ -8,6 +9,10 @@ - `requested_on` renamed to `training_started_on` and `completed_on` renamed to `training_completed_on` on `CustomFormModel` and `CustomFormModelInfo` +**Fixes and improvements** + +- Fixes a bug where `text_angle` was being returned out of the specified interval (-180, 180] + ## 1.0.0b3 (2020-06-10) **Breaking Changes** diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py index 27e0e32a6c3a..54d85ee5ca6a 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py @@ -20,6 +20,14 @@ def adjust_confidence(score): return score +def adjust_text_angle(text_angle): + """Adjust to (-180, 180] + """ + if text_angle > 180: + text_angle -= 360 + return text_angle + + def get_elements(field, read_result): text_elements = [] @@ -327,7 +335,7 @@ def __init__(self, **kwargs): def _from_generated(cls, read_result): return [cls( page_number=page.page, - text_angle=page.angle, + text_angle=adjust_text_angle(page.angle), width=page.width, height=page.height, unit=page.unit, diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_response_handlers.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_response_handlers.py index b1ec8c79a957..85615df99e88 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_response_handlers.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_response_handlers.py @@ -13,7 +13,8 @@ FormTable, FormTableCell, FormPageRange, - RecognizedForm + RecognizedForm, + adjust_text_angle ) @@ -70,7 +71,7 @@ def prepare_content_result(response): for idx, page in enumerate(read_result): form_page = FormPage( page_number=page.page, - text_angle=page.angle, + text_angle=adjust_text_angle(page.angle), width=page.width, height=page.height, unit=page.unit, diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py index 406e59585b02..c6c80def012e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/tests/testcase.py @@ -164,7 +164,10 @@ def assertFormPagesTransformCorrect(self, pages, actual_read, page_result=None, if hasattr(page, "pages"): # this is necessary for how unlabeled forms are structured page = page.pages[0] self.assertEqual(page.page_number, actual_page.page) - self.assertEqual(page.text_angle, actual_page.angle) + if actual_page.angle <= 180: + self.assertEqual(page.text_angle, actual_page.angle) + if actual_page.angle > 180: + self.assertEqual(page.text_angle, actual_page.angle - 360) self.assertEqual(page.width, actual_page.width) self.assertEqual(page.height, actual_page.height) self.assertEqual(page.unit, actual_page.unit) From b33b8eccf5eefbdee5d5b2192574a744c444e8e5 Mon Sep 17 00:00:00 2001 From: Rakshith Bhyravabhotla Date: Tue, 30 Jun 2020 10:58:51 -0700 Subject: [PATCH 34/36] Changes in docs [Form Recognizer] (#12216) * initial commit * one more change * readme * Apply suggestions from code review * Update sdk/formrecognizer/azure-ai-formrecognizer/README.md * Update sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py * Update sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py * comments --- .../azure-ai-formrecognizer/README.md | 19 +++++++++++++++++++ .../formrecognizer/_form_training_client.py | 10 +++++++--- .../azure/ai/formrecognizer/_models.py | 6 ++++-- .../aio/_form_training_client_async.py | 10 +++++++--- .../async_samples/sample_copy_model_async.py | 3 ++- .../samples/sample_copy_model.py | 3 ++- 6 files changed, 41 insertions(+), 10 deletions(-) diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/README.md b/sdk/formrecognizer/azure-ai-formrecognizer/README.md index 1bbcb0d30f16..88d4230387f5 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/README.md +++ b/sdk/formrecognizer/azure-ai-formrecognizer/README.md @@ -184,6 +184,16 @@ for recognized_form in result: )) ``` +Alternatively, a form url can also be used to recognize custom forms using the `begin_recognize_custom_forms_from_url` method. The `_from_url` methods exist for +all the recognize methods. + + +``` +form_url_jpg = "" +poller = form_recognizer_client.begin_recognize_custom_forms_from_url(model_id=model_id, form_url=form_url) +result = poller.result() +``` + ### Recognize Content Recognize text and table structures, along with their bounding box coordinates, from documents. @@ -323,6 +333,14 @@ except ResourceNotFoundError: print("Successfully deleted model with id {}".format(custom_model.model_id)) ``` +## Async APIs +This library also includes a complete async API supported on Python 3.5+. To use it, you must +first install an async transport, such as [aiohttp](https://pypi.org/project/aiohttp/). +See +[azure-core documentation](https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/core/azure-core/README.md#transport) +for more information. + + ## Optional Configuration Optional keyword arguments can be passed in at the client and per-operation level. @@ -407,6 +425,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [python-fr-product-docs]: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/overview [python-fr-ref-docs]: https://aka.ms/azsdk/python/formrecognizer/docs [python-fr-samples]: https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/formrecognizer/azure-ai-formrecognizer/samples +[train-a-model-using-labeled-data]: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/quickstarts/python-labeled-data#train-a-model-using-labeled-data [quickstart_training]: https://docs.microsoft.com/azure/cognitive-services/form-recognizer/quickstarts/curl-train-extract#train-a-form-recognizer-model diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py index b79629f823e5..2394290c9fe4 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_form_training_client.py @@ -93,11 +93,13 @@ def __init__(self, endpoint, credential, **kwargs): def begin_training(self, training_files_url, use_training_labels, **kwargs): # type: (str, bool, Any) -> LROPoller[CustomFormModel] """Create and train a custom model. The request must include a `training_files_url` parameter that is an - externally accessible Azure storage blob container Uri (preferably a Shared Access Signature Uri). + externally accessible Azure storage blob container Uri (preferably a Shared Access Signature Uri). Note that + a container uri is accepted only when the container is public. Models are trained using documents that are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff'. Other type of content in the container is ignored. - :param str training_files_url: An Azure Storage blob container's SAS URI. + :param str training_files_url: An Azure Storage blob container's SAS URI. A container uri can be used if the + container is public. :param bool use_training_labels: Whether to train with labels or not. Corresponding labeled files must exist in the blob container. :keyword str prefix: A case-sensitive prefix string to filter documents in the source path for @@ -278,7 +280,9 @@ def get_copy_authorization(self, resource_id, resource_region, **kwargs): :param str resource_id: Azure Resource Id of the target Form Recognizer resource where the model will be copied to. :param str resource_region: Location of the target Form Recognizer resource. A valid Azure - region name supported by Cognitive Services. + region name supported by Cognitive Services. For example, 'westus', 'eastus' etc. + See https://azure.microsoft.com/global-infrastructure/services/?products=cognitive-services + for the regional availability of Cognitive Services :return: A dictionary with values for the copy authorization - "modelId", "accessToken", "resourceId", "resourceRegion", and "expirationDateTimeTicks". :rtype: Dict[str, Union[str, int]] diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py index 54d85ee5ca6a..6e0678a08d5e 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/_models.py @@ -250,7 +250,8 @@ class FieldText(FormContent): Units are in pixels for images and inches for PDF. :ivar text_content: When `include_text_content` is set to true, a list of text - elements constituting this field or value is returned. + elements constituting this field or value is returned. The list + constitutes of text elements such as lines and words. :vartype text_content: list[~azure.ai.formrecognizer.FormWord, ~azure.ai.formrecognizer.FormLine] """ @@ -472,7 +473,8 @@ class FormTableCell(FormContent): The 1-based number of the page in which this content is present. :ivar text_content: When `include_text_content` is set to true, a list of text - elements constituting this cell is returned. + elements constituting this cell is returned. The list + constitutes of text elements such as lines and words. For calls to recognize content, this list is always populated. :vartype text_content: list[~azure.ai.formrecognizer.FormWord, ~azure.ai.formrecognizer.FormLine] """ diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py index 6299e9a71874..28557243db78 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/azure/ai/formrecognizer/aio/_form_training_client_async.py @@ -102,11 +102,13 @@ async def begin_training( **kwargs: Any ) -> AsyncLROPoller[CustomFormModel]: """Create and train a custom model. The request must include a `training_files_url` parameter that is an - externally accessible Azure storage blob container Uri (preferably a Shared Access Signature Uri). + externally accessible Azure storage blob container Uri (preferably a Shared Access Signature Uri). Note that + a container uri is accepted only when the container is public. Models are trained using documents that are of the following content type - 'application/pdf', 'image/jpeg', 'image/png', 'image/tiff'. Other type of content in the container is ignored. - :param str training_files_url: An Azure Storage blob container's SAS URI. + :param str training_files_url: An Azure Storage blob container's SAS URI. A container uri can be used if the + container is public. :param bool use_training_labels: Whether to train with labels or not. Corresponding labeled files must exist in the blob container. :keyword str prefix: A case-sensitive prefix string to filter documents in the source path for @@ -300,7 +302,9 @@ async def get_copy_authorization( :param str resource_id: Azure Resource Id of the target Form Recognizer resource where the model will be copied to. :param str resource_region: Location of the target Form Recognizer resource. A valid Azure - region name supported by Cognitive Services. + region name supported by Cognitive Services. For example, 'westus', 'eastus' etc. + See https://azure.microsoft.com/global-infrastructure/services/?products=cognitive-services + for the regional availability of Cognitive Services :return: A dictionary with values for the copy authorization - "modelId", "accessToken", "resourceId", "resourceRegion", and "expirationDateTimeTicks". :rtype: Dict[str, Union[str, int]] diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_copy_model_async.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_copy_model_async.py index e1928e3f18c8..fded69d97442 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_copy_model_async.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/async_samples/sample_copy_model_async.py @@ -11,7 +11,8 @@ DESCRIPTION: This sample demonstrates how to copy a custom model from a source Form Recognizer resource - to a target Form Recognizer resource. + to a target Form Recognizer resource. The resource id and the resource region can be found + in the azure portal. USAGE: python sample_copy_model_async.py diff --git a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_copy_model.py b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_copy_model.py index 7f656e6d827e..d94e0ace5521 100644 --- a/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_copy_model.py +++ b/sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_copy_model.py @@ -11,7 +11,8 @@ DESCRIPTION: This sample demonstrates how to copy a custom model from a source Form Recognizer resource - to a target Form Recognizer resource. + to a target Form Recognizer resource. The resource id and the resource region can be found + in the azure portal. USAGE: python sample_copy_model.py From 70f0d42a4c2db079771e1809bdba0b19b4172778 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Tue, 30 Jun 2020 11:10:49 -0700 Subject: [PATCH 35/36] SharedTokenCacheCredential lazily loads the cache (#12172) --- .../identity/_credentials/shared_cache.py | 3 + .../identity/_internal/shared_token_cache.py | 33 +++++----- .../identity/aio/_credentials/shared_cache.py | 3 + .../tests/test_shared_cache_credential.py | 27 ++++++++- .../test_shared_cache_credential_async.py | 60 ++++++++++++++++--- 5 files changed, 99 insertions(+), 27 deletions(-) diff --git a/sdk/identity/azure-identity/azure/identity/_credentials/shared_cache.py b/sdk/identity/azure-identity/azure/identity/_credentials/shared_cache.py index 5ff48b633f76..2c6e84be8782 100644 --- a/sdk/identity/azure-identity/azure/identity/_credentials/shared_cache.py +++ b/sdk/identity/azure-identity/azure/identity/_credentials/shared_cache.py @@ -55,6 +55,9 @@ def get_token(self, *scopes, **kwargs): # pylint:disable=unused-argument if not scopes: raise ValueError("'get_token' requires at least one scope") + if not self._initialized: + self._initialize() + if not self._client: raise CredentialUnavailableError(message="Shared token cache unavailable") diff --git a/sdk/identity/azure-identity/azure/identity/_internal/shared_token_cache.py b/sdk/identity/azure-identity/azure/identity/_internal/shared_token_cache.py index 1cbb6f986352..414819cc4ed0 100644 --- a/sdk/identity/azure-identity/azure/identity/_internal/shared_token_cache.py +++ b/sdk/identity/azure-identity/azure/identity/_internal/shared_token_cache.py @@ -3,6 +3,7 @@ # Licensed under the MIT License. # ------------------------------------ import abc +import platform import time from msal import TokenCache @@ -107,20 +108,26 @@ def __init__(self, username=None, **kwargs): # pylint:disable=unused-argument self._tenant_id = kwargs.pop("tenant_id", None) self._cache = kwargs.pop("_cache", None) - if not self._cache: - allow_unencrypted = kwargs.pop("allow_unencrypted_cache", False) + self._client = None # type: Optional[AadClientBase] + self._client_kwargs = kwargs + self._client_kwargs["tenant_id"] = authenticating_tenant + self._initialized = False + + def _initialize(self): + if self._initialized: + return + + if not self._cache and self.supported(): + allow_unencrypted = self._client_kwargs.get("allow_unencrypted_cache", False) try: self._cache = load_user_cache(allow_unencrypted) except Exception: # pylint:disable=broad-except pass if self._cache: - self._client = self._get_auth_client( - authority=self._authority, cache=self._cache, tenant_id=authenticating_tenant, **kwargs - ) # type: Optional[AadClientBase] - else: - # couldn't load the cache -> credential will be unavailable - self._client = None + self._client = self._get_auth_client(authority=self._authority, cache=self._cache, **self._client_kwargs) + + self._initialized = True @abc.abstractmethod def _get_auth_client(self, **kwargs): @@ -236,12 +243,4 @@ def supported(): :rtype: bool """ - try: - load_user_cache(allow_unencrypted=False) - except NotImplementedError: - return False - except ValueError: - # cache is supported but can't be encrypted - pass - - return True + return platform.system() in {"Darwin", "Linux", "Windows"} diff --git a/sdk/identity/azure-identity/azure/identity/aio/_credentials/shared_cache.py b/sdk/identity/azure-identity/azure/identity/aio/_credentials/shared_cache.py index 3a74712fbf3c..66f25038aa6b 100644 --- a/sdk/identity/azure-identity/azure/identity/aio/_credentials/shared_cache.py +++ b/sdk/identity/azure-identity/azure/identity/aio/_credentials/shared_cache.py @@ -63,6 +63,9 @@ async def get_token(self, *scopes: str, **kwargs: "Any") -> "AccessToken": # py if not scopes: raise ValueError("'get_token' requires at least one scope") + if not self._initialized: + self._initialize() + if not self._client: raise CredentialUnavailableError(message="Shared token cache unavailable") diff --git a/sdk/identity/azure-identity/tests/test_shared_cache_credential.py b/sdk/identity/azure-identity/tests/test_shared_cache_credential.py index 5b248f05ccd9..efb5bcc668af 100644 --- a/sdk/identity/azure-identity/tests/test_shared_cache_credential.py +++ b/sdk/identity/azure-identity/tests/test_shared_cache_credential.py @@ -31,6 +31,11 @@ from helpers import build_aad_response, build_id_token, mock_response, Request, validating_transport +def test_supported(): + """the cache is supported on Linux, macOS, Windows, so this should pass unless you're developing on e.g. FreeBSD""" + assert SharedTokenCacheCredential.supported() + + def test_no_scopes(): """The credential should raise when get_token is called with no scopes""" @@ -717,6 +722,21 @@ def test_access_token_caching(): ) +def test_initialization(): + """the credential should attempt to load the cache only once, when it's first needed""" + + with patch("azure.identity._internal.persistent_cache._load_persistent_cache") as mock_cache_loader: + mock_cache_loader.side_effect = Exception("it didn't work") + + credential = SharedTokenCacheCredential() + assert mock_cache_loader.call_count == 0 + + for _ in range(2): + with pytest.raises(CredentialUnavailableError): + credential.get_token("scope") + assert mock_cache_loader.call_count == 1 + + def test_authentication_record_authenticating_tenant(): """when given a record and 'tenant_id', the credential should authenticate in the latter""" @@ -724,7 +744,12 @@ def test_authentication_record_authenticating_tenant(): record = AuthenticationRecord("not- " + expected_tenant_id, "...", "...", "...", "...") with patch.object(SharedTokenCacheCredential, "_get_auth_client") as get_auth_client: - SharedTokenCacheCredential(authentication_record=record, _cache=TokenCache(), tenant_id=expected_tenant_id) + credential = SharedTokenCacheCredential( + authentication_record=record, _cache=TokenCache(), tenant_id=expected_tenant_id + ) + with pytest.raises(CredentialUnavailableError): + # this raises because the cache is empty + credential.get_token("scope") assert get_auth_client.call_count == 1 _, kwargs = get_auth_client.call_args diff --git a/sdk/identity/azure-identity/tests/test_shared_cache_credential_async.py b/sdk/identity/azure-identity/tests/test_shared_cache_credential_async.py index 713231ff3b26..389ba606d482 100644 --- a/sdk/identity/azure-identity/tests/test_shared_cache_credential_async.py +++ b/sdk/identity/azure-identity/tests/test_shared_cache_credential_async.py @@ -26,6 +26,11 @@ from test_shared_cache_credential import get_account_event, populated_cache +def test_supported(): + """the cache is supported on Linux, macOS, Windows, so this should pass unless you're developing on e.g. FreeBSD""" + assert SharedTokenCacheCredential.supported() + + @pytest.mark.asyncio async def test_no_scopes(): """The credential should raise when get_token is called with no scopes""" @@ -37,11 +42,17 @@ async def test_no_scopes(): @pytest.mark.asyncio async def test_close(): - transport = AsyncMockTransport() + async def send(*_, **__): + return mock_response(json_payload=build_aad_response(access_token="**")) + + transport = AsyncMockTransport(send=send) credential = SharedTokenCacheCredential( _cache=populated_cache(get_account_event("test@user", "uid", "utid")), transport=transport ) + # the credential doesn't open a transport session before one is needed, so we send a request + await credential.get_token("scope") + await credential.close() assert transport.__aexit__.call_count == 1 @@ -49,17 +60,27 @@ async def test_close(): @pytest.mark.asyncio async def test_context_manager(): - transport = AsyncMockTransport() + async def send(*_, **__): + return mock_response(json_payload=build_aad_response(access_token="**")) + + transport = AsyncMockTransport(send=send) credential = SharedTokenCacheCredential( _cache=populated_cache(get_account_event("test@user", "uid", "utid")), transport=transport ) + # async with before initialization: credential should call aexit but not aenter async with credential: - assert transport.__aenter__.call_count == 1 + await credential.get_token("scope") - assert transport.__aenter__.call_count == 1 + assert transport.__aenter__.call_count == 0 assert transport.__aexit__.call_count == 1 + # async with after initialization: credential should call aenter and aexit + async with credential: + await credential.get_token("scope") + assert transport.__aenter__.call_count == 1 + assert transport.__aexit__.call_count == 2 + @pytest.mark.asyncio async def test_context_manager_no_cache(): @@ -67,9 +88,7 @@ async def test_context_manager_no_cache(): transport = AsyncMockTransport() - with patch( - "azure.identity._internal.shared_token_cache.load_user_cache", Mock(side_effect=NotImplementedError) - ): + with patch("azure.identity._internal.shared_token_cache.load_user_cache", Mock(side_effect=NotImplementedError)): credential = SharedTokenCacheCredential(transport=transport) async with credential: @@ -666,14 +685,20 @@ async def test_auth_record_multiple_accounts_for_username(): assert token.token == expected_access_token -def test_authentication_record_authenticating_tenant(): +@pytest.mark.asyncio +async def test_authentication_record_authenticating_tenant(): """when given a record and 'tenant_id', the credential should authenticate in the latter""" expected_tenant_id = "tenant-id" record = AuthenticationRecord("not- " + expected_tenant_id, "...", "...", "...", "...") with patch.object(SharedTokenCacheCredential, "_get_auth_client") as get_auth_client: - SharedTokenCacheCredential(authentication_record=record, _cache=TokenCache(), tenant_id=expected_tenant_id) + credential = SharedTokenCacheCredential( + authentication_record=record, _cache=TokenCache(), tenant_id=expected_tenant_id + ) + with pytest.raises(CredentialUnavailableError): + # this raises because the cache is empty + await credential.get_token("scope") assert get_auth_client.call_count == 1 _, kwargs = get_auth_client.call_args @@ -713,3 +738,20 @@ async def test_allow_unencrypted_cache(): msal_extensions_patch.stop() platform_patch.stop() + + +@pytest.mark.asyncio +async def test_initialization(): + """the credential should attempt to load the cache only once, when it's first needed""" + + with patch("azure.identity._internal.persistent_cache._load_persistent_cache") as mock_cache_loader: + mock_cache_loader.side_effect = Exception("it didn't work") + + credential = SharedTokenCacheCredential() + assert mock_cache_loader.call_count == 0 + + for _ in range(2): + with pytest.raises(CredentialUnavailableError): + await credential.get_token("scope") + assert mock_cache_loader.call_count == 1 + From f87fff7e3a60a229de1074d2d05c657967b7867d Mon Sep 17 00:00:00 2001 From: praveenkuttappan <55455725+praveenkuttappan@users.noreply.github.com> Date: Tue, 30 Jun 2020 11:56:50 -0700 Subject: [PATCH 36/36] Install dev dependency when running apistub (#12268) --- eng/tox/tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/tox/tox.ini b/eng/tox/tox.ini index b677ff97de21..18fdfd228a48 100644 --- a/eng/tox/tox.ini +++ b/eng/tox/tox.ini @@ -224,7 +224,7 @@ skip_install = false usedevelop = true changedir = {toxinidir} deps = - astroid + {[base]deps} commands = # install API stub generator {envbindir}/python -m pip install "git+https://github.com/Azure/azure-sdk-tools.git#subdirectory=packages/python-packages/api-stub-generator&egg=api-stub-generator"