From 2cc11045062e340eb9611c161bf1dc228934235d Mon Sep 17 00:00:00 2001 From: Dongwei Wang Date: Wed, 27 Jan 2021 03:09:37 -0800 Subject: [PATCH 1/3] Generate code for 2020-12-01 --- .../mgmtmetadata/synapse_resource-manager.txt | 4 +- .../src/Generated/BigDataPoolsOperations.cs | 36 +- .../DataMaskingPoliciesOperations.cs | 22 +- .../Generated/DataMaskingRulesOperations.cs | 263 ++- .../DataMaskingRulesOperationsExtensions.cs | 52 + .../src/Generated/IBigDataPoolsOperations.cs | 16 +- .../IDataMaskingPoliciesOperations.cs | 4 +- .../Generated/IDataMaskingRulesOperations.cs | 35 +- .../IIntegrationRuntimeAuthKeysOperations.cs | 4 +- ...grationRuntimeConnectionInfosOperations.cs | 2 +- ...IntegrationRuntimeCredentialsOperations.cs | 2 +- ...egrationRuntimeMonitoringDataOperations.cs | 2 +- ...tegrationRuntimeNodeIpAddressOperations.cs | 2 +- .../IIntegrationRuntimeNodesOperations.cs | 6 +- ...egrationRuntimeObjectMetadataOperations.cs | 6 +- .../IIntegrationRuntimeStatusOperations.cs | 2 +- .../IIntegrationRuntimesOperations.cs | 34 +- .../Generated/IIpFirewallRulesOperations.cs | 18 +- .../src/Generated/IKeysOperations.cs | 10 +- .../src/Generated/IOperations.cs | 8 +- .../IPrivateEndpointConnectionsOperations.cs | 14 +- ...ointConnectionsPrivateLinkHubOperations.cs | 4 +- ...eLinkHubPrivateLinkResourcesOperations.cs} | 58 +- .../Generated/IPrivateLinkHubsOperations.cs | 18 +- .../IPrivateLinkResourcesOperations.cs | 6 +- .../IRestorableDroppedSqlPoolsOperations.cs | 4 +- .../src/Generated/ISqlDatabasesOperations.cs | 276 ---- .../ISqlPoolConnectionPoliciesOperations.cs | 2 +- .../ISqlPoolGeoBackupPoliciesOperations.cs | 36 +- ...lPoolMaintenanceWindowOptionsOperations.cs | 61 + .../ISqlPoolMaintenanceWindowsOperations.cs | 96 ++ .../ISqlPoolMetadataSyncConfigsOperations.cs | 4 +- .../ISqlPoolOperationResultsOperations.cs | 2 +- ...lRecommendedSensitivityLabelsOperations.cs | 55 + .../ISqlPoolReplicationLinksOperations.cs | 6 +- .../ISqlPoolRestorePointsOperations.cs | 4 +- .../ISqlPoolSensitivityLabelsOperations.cs | 32 +- ...oolTransparentDataEncryptionsOperations.cs | 4 +- .../src/Generated/ISqlPoolUsagesOperations.cs | 4 +- .../src/Generated/ISqlPoolsOperations.cs | 55 +- .../src/Generated/ISynapseManagementClient.cs | 29 +- .../ISynapseSqlV3ManagementClient.cs | 88 - .../IWorkspaceAadAdminsOperations.cs | 10 +- ...gedIdentitySqlControlSettingsOperations.cs | 6 +- ...SqlServerEncryptionProtectorOperations.cs} | 162 +- ...dSqlServerRecoverableSqlpoolsOperations.cs | 10 +- .../IWorkspaceSqlAadAdminsOperations.cs | 10 +- .../src/Generated/IWorkspacesOperations.cs | 22 +- .../IntegrationRuntimeAuthKeysOperations.cs | 22 +- ...grationRuntimeConnectionInfosOperations.cs | 11 +- ...IntegrationRuntimeCredentialsOperations.cs | 11 +- ...egrationRuntimeMonitoringDataOperations.cs | 11 +- ...tegrationRuntimeNodeIpAddressOperations.cs | 11 +- .../IntegrationRuntimeNodesOperations.cs | 33 +- ...egrationRuntimeObjectMetadataOperations.cs | 22 +- .../IntegrationRuntimeStatusOperations.cs | 11 +- .../IntegrationRuntimesOperations.cs | 121 +- .../Generated/IpFirewallRulesOperations.cs | 36 +- .../src/Generated/KeysOperations.cs | 30 +- .../Models/BigDataPoolResourceInfo.cs | 47 +- .../src/Generated/Models/DayOfWeek.cs | 27 + .../Models/DynamicExecutorAllocation.cs | 53 + .../Generated/Models/EncryptionProtector.cs | 129 ++ .../src/Generated/Models/ErrorDetail.cs | 46 +- .../src/Generated/Models/ErrorResponse.cs | 50 +- ...Exception.cs => ErrorResponseException.cs} | 18 +- .../src/Generated/Models/LibraryInfo.cs | 104 ++ .../Models/MaintenanceWindowOptions.cs | 122 ++ .../Models/MaintenanceWindowTimeRange.cs | 73 + .../Generated/Models/MaintenanceWindows.cs | 61 + .../src/Generated/Models/OperationResource.cs | 4 +- .../RecommendedSensitivityLabelUpdate.cs | 109 ++ .../RecommendedSensitivityLabelUpdateKind.cs | 60 + .../RecommendedSensitivityLabelUpdateList.cs | 53 + .../Models/ResourceMoveDefinition.cs | 65 + .../src/Generated/Models/SensitivityLabel.cs | 44 +- .../Generated/Models/SensitivityLabelRank.cs | 78 + .../Models/SensitivityLabelUpdate.cs | 116 ++ .../Models/SensitivityLabelUpdateKind.cs | 60 + ...tract.cs => SensitivityLabelUpdateList.cs} | 25 +- .../src/Generated/Models/ServerKeyType.cs | 22 + .../src/Generated/Models/Sku.cs | 51 +- .../src/Generated/Models/SqlDatabase.cs | 109 -- .../src/Generated/Models/SqlDatabaseUpdate.cs | 89 - .../src/Generated/Models/SqlPool.cs | 13 +- .../src/Generated/Models/SqlPoolColumn.cs | 11 +- .../src/Generated/Models/SqlPoolPatchInfo.cs | 13 +- .../src/Generated/Models/SqlPoolStatus.cs | 32 - .../src/Generated/Models/SqlPoolUpdate.cs | 117 -- .../src/Generated/Models/SqlPoolV3.cs | 138 -- .../Generated/Models/StorageAccountType.cs | 23 + .../src/Generated/Models/SystemData.cs | 109 -- .../src/Generated/Models/Workspace.cs | 10 +- .../WorkspaceRepositoryConfiguration.cs | 18 +- .../src/Generated/Operations.cs | 24 +- .../PrivateEndpointConnectionsOperations.cs | 30 +- ...ointConnectionsPrivateLinkHubOperations.cs | 12 +- ...eLinkHubPrivateLinkResourcesOperations.cs} | 254 +-- ...rivateLinkResourcesOperationsExtensions.cs | 163 ++ .../Generated/PrivateLinkHubsOperations.cs | 48 +- .../PrivateLinkResourcesOperations.cs | 18 +- .../RestorableDroppedSqlPoolsOperations.cs | 12 +- .../SdkInfo_SynapseManagementClient.cs | 117 +- .../SdkInfo_SynapseSqlVManagementClient.cs | 30 - .../src/Generated/SqlDatabasesOperations.cs | 1468 ----------------- .../SqlDatabasesOperationsExtensions.cs | 439 ----- .../SqlPoolConnectionPoliciesOperations.cs | 6 +- .../SqlPoolGeoBackupPoliciesOperations.cs | 280 +++- ...olGeoBackupPoliciesOperationsExtensions.cs | 52 + ...lPoolMaintenanceWindowOptionsOperations.cs | 303 ++++ ...enanceWindowOptionsOperationsExtensions.cs | 83 + .../SqlPoolMaintenanceWindowsOperations.cs | 541 ++++++ ...lMaintenanceWindowsOperationsExtensions.cs | 146 ++ .../SqlPoolMetadataSyncConfigsOperations.cs | 12 +- .../SqlPoolOperationResultsOperations.cs | 6 +- ...lRecommendedSensitivityLabelsOperations.cs | 281 ++++ ...edSensitivityLabelsOperationsExtensions.cs | 74 + .../SqlPoolReplicationLinksOperations.cs | 18 +- .../SqlPoolRestorePointsOperations.cs | 12 +- .../SqlPoolSensitivityLabelsOperations.cs | 238 ++- ...olSensitivityLabelsOperationsExtensions.cs | 47 + ...oolTransparentDataEncryptionsOperations.cs | 12 +- .../src/Generated/SqlPoolUsagesOperations.cs | 12 +- .../src/Generated/SqlPoolsOperations.cs | 282 +++- .../Generated/SqlPoolsOperationsExtensions.cs | 55 + .../SqlPoolsV3OperationsExtensions.cs | 439 ----- .../Generated/SqlV3OperationsExtensions.cs | 162 -- .../src/Generated/SynapseManagementClient.cs | 38 +- .../Generated/SynapseSqlV3ManagementClient.cs | 372 ----- .../Generated/WorkspaceAadAdminsOperations.cs | 18 +- ...gedIdentitySqlControlSettingsOperations.cs | 12 +- ...SqlServerEncryptionProtectorOperations.cs} | 641 ++----- ...EncryptionProtectorOperationsExtensions.cs | 347 ++++ ...dSqlServerRecoverableSqlpoolsOperations.cs | 26 +- ...RecoverableSqlpoolsOperationsExtensions.cs | 28 +- .../WorkspaceSqlAadAdminsOperations.cs | 18 +- .../src/Generated/WorkspacesOperations.cs | 48 +- .../FirewallRuleOperationTests.cs | 2 +- .../tests/TestHelpers/CommonTestsFixture.cs | 2 +- 139 files changed, 5857 insertions(+), 5395 deletions(-) rename sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/{ISqlV3Operations.cs => IPrivateLinkHubPrivateLinkResourcesOperations.cs} (57%) delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlDatabasesOperations.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMaintenanceWindowOptionsOperations.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMaintenanceWindowsOperations.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolRecommendedSensitivityLabelsOperations.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISynapseSqlV3ManagementClient.cs rename sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/{ISqlPoolsV3Operations.cs => IWorkspaceManagedSqlServerEncryptionProtectorOperations.cs} (52%) create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DayOfWeek.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DynamicExecutorAllocation.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/EncryptionProtector.cs rename sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/{ErrorContractException.cs => ErrorResponseException.cs} (73%) create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/LibraryInfo.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindowOptions.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindowTimeRange.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindows.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdate.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdateKind.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdateList.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ResourceMoveDefinition.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelRank.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdate.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdateKind.cs rename sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/{ErrorContract.cs => SensitivityLabelUpdateList.cs} (57%) create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ServerKeyType.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabase.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabaseUpdate.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolStatus.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolUpdate.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolV3.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/StorageAccountType.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SystemData.cs rename sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/{SqlV3Operations.cs => PrivateLinkHubPrivateLinkResourcesOperations.cs} (81%) create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperationsExtensions.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperations.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperationsExtensions.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperations.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperationsExtensions.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperations.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperationsExtensions.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperations.cs create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperationsExtensions.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3OperationsExtensions.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3OperationsExtensions.cs delete mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SynapseSqlV3ManagementClient.cs rename sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/{SqlPoolsV3Operations.cs => WorkspaceManagedSqlServerEncryptionProtectorOperations.cs} (69%) create mode 100644 sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperationsExtensions.cs diff --git a/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt b/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt index 2d44103640769..12b67bddc0cfd 100644 --- a/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt @@ -4,11 +4,11 @@ Commencing code generation Generating CSharp code Executing AutoRest command cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/synapse/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\code\AzureSDK\azure-sdk-for-net\sdk -2020-12-14 10:24:20 UTC +2021-01-27 09:27:50 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: dbb0a6fd623196f0db6b461b0f3f54e284e3a9e4 +Commit: 414f8e976403d597a2cab55e22d417c666eac84b AutoRest information Requested version: v2 Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/BigDataPoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/BigDataPoolsOperations.cs index e2d7936f50727..0a791798af42b 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/BigDataPoolsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/BigDataPoolsOperations.cs @@ -71,7 +71,7 @@ internal BigDataPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,11 +222,11 @@ internal BigDataPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -306,7 +306,7 @@ internal BigDataPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -468,11 +468,11 @@ internal BigDataPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -608,7 +608,7 @@ internal BigDataPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -753,11 +753,11 @@ internal BigDataPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -840,7 +840,7 @@ internal BigDataPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1011,11 +1011,11 @@ internal BigDataPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1110,7 +1110,7 @@ internal BigDataPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1261,11 +1261,11 @@ internal BigDataPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1354,7 +1354,7 @@ internal BigDataPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1450,11 +1450,11 @@ internal BigDataPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingPoliciesOperations.cs index b1d2487e1189b..b13a422f1f959 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingPoliciesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingPoliciesOperations.cs @@ -71,7 +71,7 @@ internal DataMaskingPoliciesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -240,14 +240,13 @@ internal DataMaskingPoliciesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -257,10 +256,6 @@ internal DataMaskingPoliciesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -323,7 +318,7 @@ internal DataMaskingPoliciesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -477,14 +472,13 @@ internal DataMaskingPoliciesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -494,10 +488,6 @@ internal DataMaskingPoliciesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperations.cs index 6b4f917ac6c94..c931c95570682 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperations.cs @@ -74,7 +74,7 @@ internal DataMaskingRulesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -249,14 +249,13 @@ internal DataMaskingRulesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -266,10 +265,6 @@ internal DataMaskingRulesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -332,6 +327,247 @@ internal DataMaskingRulesOperations(SynapseManagementClient client) return _result; } + /// + /// Gets the specific Sql pool data masking rule. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The name of the data masking rule. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, string dataMaskingRuleName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (workspaceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + } + if (sqlPoolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); + } + if (dataMaskingRuleName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "dataMaskingRuleName"); + } + string dataMaskingPolicyName = "Default"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workspaceName", workspaceName); + tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("dataMaskingPolicyName", dataMaskingPolicyName); + tracingParameters.Add("dataMaskingRuleName", dataMaskingRuleName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); + _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); + _url = _url.Replace("{dataMaskingPolicyName}", System.Uri.EscapeDataString(dataMaskingPolicyName)); + _url = _url.Replace("{dataMaskingRuleName}", System.Uri.EscapeDataString(dataMaskingRuleName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets a list of Sql pool data masking rules. /// @@ -350,7 +586,7 @@ internal DataMaskingRulesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -504,14 +740,13 @@ internal DataMaskingRulesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -521,10 +756,6 @@ internal DataMaskingRulesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperationsExtensions.cs index 61cc5702cd93c..b538337ae72bb 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperationsExtensions.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperationsExtensions.cs @@ -81,6 +81,58 @@ public static DataMaskingRule CreateOrUpdate(this IDataMaskingRulesOperations op } } + /// + /// Gets the specific Sql pool data masking rule. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The name of the data masking rule. + /// + public static DataMaskingRule Get(this IDataMaskingRulesOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string dataMaskingRuleName) + { + return operations.GetAsync(resourceGroupName, workspaceName, sqlPoolName, dataMaskingRuleName).GetAwaiter().GetResult(); + } + + /// + /// Gets the specific Sql pool data masking rule. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The name of the data masking rule. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IDataMaskingRulesOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string dataMaskingRuleName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, dataMaskingRuleName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Gets a list of Sql pool data masking rules. /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IBigDataPoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IBigDataPoolsOperations.cs index 0b59dafd46a68..51b4dd846c244 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IBigDataPoolsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IBigDataPoolsOperations.cs @@ -44,7 +44,7 @@ public partial interface IBigDataPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -78,7 +78,7 @@ public partial interface IBigDataPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -115,7 +115,7 @@ public partial interface IBigDataPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -146,7 +146,7 @@ public partial interface IBigDataPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -174,7 +174,7 @@ public partial interface IBigDataPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -211,7 +211,7 @@ public partial interface IBigDataPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -242,7 +242,7 @@ public partial interface IBigDataPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -267,7 +267,7 @@ public partial interface IBigDataPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IDataMaskingPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IDataMaskingPoliciesOperations.cs index b14881d8cb537..215420a5e704a 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IDataMaskingPoliciesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IDataMaskingPoliciesOperations.cs @@ -44,7 +44,7 @@ public partial interface IDataMaskingPoliciesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -72,7 +72,7 @@ public partial interface IDataMaskingPoliciesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IDataMaskingRulesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IDataMaskingRulesOperations.cs index d1188c41bc4f8..ef08d13f33d6b 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IDataMaskingRulesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IDataMaskingRulesOperations.cs @@ -48,7 +48,7 @@ public partial interface IDataMaskingRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -59,6 +59,37 @@ public partial interface IDataMaskingRulesOperations /// Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, string dataMaskingRuleName, DataMaskingRule parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the specific Sql pool data masking rule. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The name of the data masking rule. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, string dataMaskingRuleName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets a list of Sql pool data masking rules. /// /// @@ -76,7 +107,7 @@ public partial interface IDataMaskingRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeAuthKeysOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeAuthKeysOperations.cs index 6731624be0843..97f90ac2851ed 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeAuthKeysOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeAuthKeysOperations.cs @@ -48,7 +48,7 @@ public partial interface IIntegrationRuntimeAuthKeysOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -79,7 +79,7 @@ public partial interface IIntegrationRuntimeAuthKeysOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeConnectionInfosOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeConnectionInfosOperations.cs index a7c6ff7dd9f50..53cba72956fe0 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeConnectionInfosOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeConnectionInfosOperations.cs @@ -44,7 +44,7 @@ public partial interface IIntegrationRuntimeConnectionInfosOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeCredentialsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeCredentialsOperations.cs index 590bd5b22047e..39685d0a3124b 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeCredentialsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeCredentialsOperations.cs @@ -49,7 +49,7 @@ public partial interface IIntegrationRuntimeCredentialsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeMonitoringDataOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeMonitoringDataOperations.cs index 5697718afa9af..8d47828b78137 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeMonitoringDataOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeMonitoringDataOperations.cs @@ -44,7 +44,7 @@ public partial interface IIntegrationRuntimeMonitoringDataOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeNodeIpAddressOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeNodeIpAddressOperations.cs index 224e72de96b3c..63f0d509c251a 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeNodeIpAddressOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeNodeIpAddressOperations.cs @@ -47,7 +47,7 @@ public partial interface IIntegrationRuntimeNodeIpAddressOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeNodesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeNodesOperations.cs index efab8118aba07..089f39462df10 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeNodesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeNodesOperations.cs @@ -47,7 +47,7 @@ public partial interface IIntegrationRuntimeNodesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -84,7 +84,7 @@ public partial interface IIntegrationRuntimeNodesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -118,7 +118,7 @@ public partial interface IIntegrationRuntimeNodesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeObjectMetadataOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeObjectMetadataOperations.cs index ccd51423dd22b..d5a8719d98b0d 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeObjectMetadataOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeObjectMetadataOperations.cs @@ -47,7 +47,7 @@ public partial interface IIntegrationRuntimeObjectMetadataOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -78,7 +78,7 @@ public partial interface IIntegrationRuntimeObjectMetadataOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -109,7 +109,7 @@ public partial interface IIntegrationRuntimeObjectMetadataOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeStatusOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeStatusOperations.cs index 5fd56bda6b877..abb9897b51127 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeStatusOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimeStatusOperations.cs @@ -44,7 +44,7 @@ public partial interface IIntegrationRuntimeStatusOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimesOperations.cs index 4156f21105210..3d3029778d72c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIntegrationRuntimesOperations.cs @@ -47,7 +47,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -83,7 +83,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -122,7 +122,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -153,7 +153,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -181,7 +181,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -206,7 +206,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -237,7 +237,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -268,7 +268,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -293,7 +293,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -318,7 +318,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -354,7 +354,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -385,7 +385,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -413,7 +413,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -444,7 +444,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -469,7 +469,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -494,7 +494,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -516,7 +516,7 @@ public partial interface IIntegrationRuntimesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIpFirewallRulesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIpFirewallRulesOperations.cs index edadd74abc8ed..ad9382eb610b4 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIpFirewallRulesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IIpFirewallRulesOperations.cs @@ -38,7 +38,7 @@ public partial interface IIpFirewallRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -69,7 +69,7 @@ public partial interface IIpFirewallRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -97,7 +97,7 @@ public partial interface IIpFirewallRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -125,7 +125,7 @@ public partial interface IIpFirewallRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -153,7 +153,7 @@ public partial interface IIpFirewallRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -184,7 +184,7 @@ public partial interface IIpFirewallRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -212,7 +212,7 @@ public partial interface IIpFirewallRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -240,7 +240,7 @@ public partial interface IIpFirewallRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -262,7 +262,7 @@ public partial interface IIpFirewallRulesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IKeysOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IKeysOperations.cs index d20315083d01a..61931488d480e 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IKeysOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IKeysOperations.cs @@ -38,7 +38,7 @@ public partial interface IKeysOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -66,7 +66,7 @@ public partial interface IKeysOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -97,7 +97,7 @@ public partial interface IKeysOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -125,7 +125,7 @@ public partial interface IKeysOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -147,7 +147,7 @@ public partial interface IKeysOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IOperations.cs index 594707771ccf9..17314092d7a65 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IOperations.cs @@ -38,7 +38,7 @@ public partial interface IOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -60,7 +60,7 @@ public partial interface IOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -88,7 +88,7 @@ public partial interface IOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -116,7 +116,7 @@ public partial interface IOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateEndpointConnectionsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateEndpointConnectionsOperations.cs index 69b2684a71533..27a229534fcb0 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateEndpointConnectionsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateEndpointConnectionsOperations.cs @@ -41,7 +41,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -72,7 +72,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -100,7 +100,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -125,7 +125,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -156,7 +156,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -184,7 +184,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -206,7 +206,7 @@ public partial interface IPrivateEndpointConnectionsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateEndpointConnectionsPrivateLinkHubOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateEndpointConnectionsPrivateLinkHubOperations.cs index 4dcae683349a4..fa3cb48f2fb33 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateEndpointConnectionsPrivateLinkHubOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateEndpointConnectionsPrivateLinkHubOperations.cs @@ -38,7 +38,7 @@ public partial interface IPrivateEndpointConnectionsPrivateLinkHubOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -60,7 +60,7 @@ public partial interface IPrivateEndpointConnectionsPrivateLinkHubOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlV3Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkHubPrivateLinkResourcesOperations.cs similarity index 57% rename from sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlV3Operations.cs rename to sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkHubPrivateLinkResourcesOperations.cs index 78f887fd2fb5d..89f8b01e2235b 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlV3Operations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkHubPrivateLinkResourcesOperations.cs @@ -19,43 +19,52 @@ namespace Microsoft.Azure.Management.Synapse using System.Threading.Tasks; /// - /// SqlV3Operations operations. + /// PrivateLinkHubPrivateLinkResourcesOperations operations. /// - public partial interface ISqlV3Operations + public partial interface IPrivateLinkHubPrivateLinkResourcesOperations { /// - /// All operations + /// Private Link Resources /// /// - /// Get all available operations + /// Get all private link resources for a private link hub /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the private link hub + /// /// /// The headers that will be added to request. /// /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// /// Thrown when unable to deserialize the response /// - Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string resourceGroupName, string privateLinkHubName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Get operation result + /// Get Private Link Hub Private Link Resource /// /// - /// Get the result of an operation + /// Get private link resource in private link hub /// /// /// The name of the resource group. The name is case insensitive. /// - /// - /// The name of the workspace. + /// + /// The name of the private link hub /// - /// - /// Operation ID + /// + /// The name of the private link resource /// /// /// The headers that will be added to request. @@ -63,27 +72,24 @@ public partial interface ISqlV3Operations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// - Task GetLocationHeaderResultWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetWithHttpMessagesAsync(string resourceGroupName, string privateLinkHubName, string privateLinkResourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Get operation status + /// Private Link Resources /// /// - /// Get the status of an operation + /// Get all private link resources for a private link hub /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// Operation ID + /// + /// The NextLink from the previous successful call to List operation. /// /// /// The headers that will be added to request. @@ -91,7 +97,7 @@ public partial interface ISqlV3Operations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -100,6 +106,6 @@ public partial interface ISqlV3Operations /// /// Thrown when a required parameter is null /// - Task> GetAzureAsyncHeaderResultWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkHubsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkHubsOperations.cs index 3635a47b3f4b4..910836da8e35c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkHubsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkHubsOperations.cs @@ -35,7 +35,7 @@ public partial interface IPrivateLinkHubsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -60,7 +60,7 @@ public partial interface IPrivateLinkHubsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -88,7 +88,7 @@ public partial interface IPrivateLinkHubsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -116,7 +116,7 @@ public partial interface IPrivateLinkHubsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -141,7 +141,7 @@ public partial interface IPrivateLinkHubsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -157,7 +157,7 @@ public partial interface IPrivateLinkHubsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -182,7 +182,7 @@ public partial interface IPrivateLinkHubsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -201,7 +201,7 @@ public partial interface IPrivateLinkHubsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -223,7 +223,7 @@ public partial interface IPrivateLinkHubsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkResourcesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkResourcesOperations.cs index f4b9c1a32fdec..5c391b680aa3e 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkResourcesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IPrivateLinkResourcesOperations.cs @@ -41,7 +41,7 @@ public partial interface IPrivateLinkResourcesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -72,7 +72,7 @@ public partial interface IPrivateLinkResourcesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -97,7 +97,7 @@ public partial interface IPrivateLinkResourcesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IRestorableDroppedSqlPoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IRestorableDroppedSqlPoolsOperations.cs index c2a86b326fc1a..a78499d38d7fa 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IRestorableDroppedSqlPoolsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IRestorableDroppedSqlPoolsOperations.cs @@ -42,7 +42,7 @@ public partial interface IRestorableDroppedSqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -67,7 +67,7 @@ public partial interface IRestorableDroppedSqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlDatabasesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlDatabasesOperations.cs deleted file mode 100644 index 17710d6e8c4a2..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlDatabasesOperations.cs +++ /dev/null @@ -1,276 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// SqlDatabasesOperations operations. - /// - public partial interface ISqlDatabasesOperations - { - /// - /// Gets a SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Creates a new SqlDatabase or updates an existing SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabase parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Deletes the SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - Task DeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Updates an existing database. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabaseUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets a list of sql databases. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task>> ListByWorkspaceWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Creates a new SqlDatabase or updates an existing SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabase parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Deletes the SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Updates an existing database. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabaseUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Gets a list of sql databases. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - Task>> ListByWorkspaceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolConnectionPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolConnectionPoliciesOperations.cs index 636a38cc6f3c7..bdebdc89a0b80 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolConnectionPoliciesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolConnectionPoliciesOperations.cs @@ -46,7 +46,7 @@ public partial interface ISqlPoolConnectionPoliciesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolGeoBackupPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolGeoBackupPoliciesOperations.cs index 5a02bf0b79e8b..e92fd23f9a0b2 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolGeoBackupPoliciesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolGeoBackupPoliciesOperations.cs @@ -44,7 +44,7 @@ public partial interface ISqlPoolGeoBackupPoliciesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -55,6 +55,38 @@ public partial interface ISqlPoolGeoBackupPoliciesOperations /// Task>> ListWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Updates a SQL Pool geo backup policy. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The required parameters for creating or updating the geo backup + /// policy. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, GeoBackupPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Get a SQL pool geo backup policy /// /// @@ -75,7 +107,7 @@ public partial interface ISqlPoolGeoBackupPoliciesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMaintenanceWindowOptionsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMaintenanceWindowOptionsOperations.cs new file mode 100644 index 0000000000000..2c712e6e85280 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMaintenanceWindowOptionsOperations.cs @@ -0,0 +1,61 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SqlPoolMaintenanceWindowOptionsOperations operations. + /// + public partial interface ISqlPoolMaintenanceWindowOptionsOperations + { + /// + /// SQL pool's available maintenance windows. + /// + /// + /// Get list of SQL pool's available maintenance windows. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window options name. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowOptionsName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMaintenanceWindowsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMaintenanceWindowsOperations.cs new file mode 100644 index 0000000000000..09b237c7d4f28 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMaintenanceWindowsOperations.cs @@ -0,0 +1,96 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SqlPoolMaintenanceWindowsOperations operations. + /// + public partial interface ISqlPoolMaintenanceWindowsOperations + { + /// + /// Get a SQL pool's Maintenance Windows. + /// + /// + /// Get a SQL pool's Maintenance Windows. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window name. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or updates a Sql pool's maintenance windows settings. + /// + /// + /// Creates or updates a Sql pool's maintenance windows settings. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window name. + /// + /// + /// The required parameters for creating or updating Maintenance + /// Windows settings + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowName, MaintenanceWindows parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMetadataSyncConfigsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMetadataSyncConfigsOperations.cs index bb7acd3a608f8..bec9f1bc678d2 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMetadataSyncConfigsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolMetadataSyncConfigsOperations.cs @@ -44,7 +44,7 @@ public partial interface ISqlPoolMetadataSyncConfigsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -78,7 +78,7 @@ public partial interface ISqlPoolMetadataSyncConfigsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolOperationResultsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolOperationResultsOperations.cs index 8550634127af1..5744aabdabcc7 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolOperationResultsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolOperationResultsOperations.cs @@ -47,7 +47,7 @@ public partial interface ISqlPoolOperationResultsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolRecommendedSensitivityLabelsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolRecommendedSensitivityLabelsOperations.cs new file mode 100644 index 0000000000000..6c1cd3140493b --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolRecommendedSensitivityLabelsOperations.cs @@ -0,0 +1,55 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SqlPoolRecommendedSensitivityLabelsOperations operations. + /// + public partial interface ISqlPoolRecommendedSensitivityLabelsOperations + { + /// + /// Update recommended sensitivity labels states of a given SQL Pool + /// using an operations batch. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, RecommendedSensitivityLabelUpdateList parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolReplicationLinksOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolReplicationLinksOperations.cs index 40a20fd2f7bb2..63c797e9eb078 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolReplicationLinksOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolReplicationLinksOperations.cs @@ -44,7 +44,7 @@ public partial interface ISqlPoolReplicationLinksOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -78,7 +78,7 @@ public partial interface ISqlPoolReplicationLinksOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -103,7 +103,7 @@ public partial interface ISqlPoolReplicationLinksOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolRestorePointsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolRestorePointsOperations.cs index a844295c8fc02..b4e2f23a234f5 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolRestorePointsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolRestorePointsOperations.cs @@ -44,7 +44,7 @@ public partial interface ISqlPoolRestorePointsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -190,7 +190,7 @@ public partial interface ISqlPoolRestorePointsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolSensitivityLabelsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolSensitivityLabelsOperations.cs index d1f1757826757..892386f6c9f52 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolSensitivityLabelsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolSensitivityLabelsOperations.cs @@ -48,7 +48,7 @@ public partial interface ISqlPoolSensitivityLabelsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -59,6 +59,34 @@ public partial interface ISqlPoolSensitivityLabelsOperations /// Task>> ListCurrentWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Update sensitivity labels of a given SQL Pool using an operations + /// batch. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SensitivityLabelUpdateList parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets sensitivity labels of a given SQL pool /// /// @@ -299,7 +327,7 @@ public partial interface ISqlPoolSensitivityLabelsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolTransparentDataEncryptionsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolTransparentDataEncryptionsOperations.cs index 75c218952712a..e802ef49db770 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolTransparentDataEncryptionsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolTransparentDataEncryptionsOperations.cs @@ -44,7 +44,7 @@ public partial interface ISqlPoolTransparentDataEncryptionsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -81,7 +81,7 @@ public partial interface ISqlPoolTransparentDataEncryptionsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolUsagesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolUsagesOperations.cs index 14c12a3f23072..3039d4a629211 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolUsagesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolUsagesOperations.cs @@ -44,7 +44,7 @@ public partial interface ISqlPoolUsagesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -69,7 +69,7 @@ public partial interface ISqlPoolUsagesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsOperations.cs index 2516660a6b95d..73cbc6c7e32e3 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsOperations.cs @@ -44,7 +44,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -78,7 +78,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -112,7 +112,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -143,7 +143,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -171,7 +171,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -202,7 +202,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -233,7 +233,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -244,6 +244,37 @@ public partial interface ISqlPoolsOperations /// Task> ResumeWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Rename a SQL pool + /// + /// + /// Rename a SQL pool. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The resource move definition for renaming this Sql pool. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task RenameWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, ResourceMoveDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Create SQL pool /// /// @@ -267,7 +298,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -298,7 +329,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -329,7 +360,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -360,7 +391,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -385,7 +416,7 @@ public partial interface ISqlPoolsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISynapseManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISynapseManagementClient.cs index b8609f7c7917a..0656edaeffdea 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISynapseManagementClient.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISynapseManagementClient.cs @@ -119,6 +119,16 @@ public partial interface ISynapseManagementClient : System.IDisposable /// ISqlPoolReplicationLinksOperations SqlPoolReplicationLinks { get; } + /// + /// Gets the ISqlPoolMaintenanceWindowsOperations. + /// + ISqlPoolMaintenanceWindowsOperations SqlPoolMaintenanceWindows { get; } + + /// + /// Gets the ISqlPoolMaintenanceWindowOptionsOperations. + /// + ISqlPoolMaintenanceWindowOptionsOperations SqlPoolMaintenanceWindowOptions { get; } + /// /// Gets the ISqlPoolTransparentDataEncryptionsOperations. /// @@ -144,6 +154,11 @@ public partial interface ISynapseManagementClient : System.IDisposable /// ISqlPoolSensitivityLabelsOperations SqlPoolSensitivityLabels { get; } + /// + /// Gets the ISqlPoolRecommendedSensitivityLabelsOperations. + /// + ISqlPoolRecommendedSensitivityLabelsOperations SqlPoolRecommendedSensitivityLabels { get; } + /// /// Gets the ISqlPoolSchemasOperations. /// @@ -289,6 +304,11 @@ public partial interface ISynapseManagementClient : System.IDisposable /// IPrivateLinkResourcesOperations PrivateLinkResources { get; } + /// + /// Gets the IPrivateLinkHubPrivateLinkResourcesOperations. + /// + IPrivateLinkHubPrivateLinkResourcesOperations PrivateLinkHubPrivateLinkResources { get; } + /// /// Gets the IPrivateEndpointConnectionsOperations. /// @@ -324,15 +344,20 @@ public partial interface ISynapseManagementClient : System.IDisposable /// IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations WorkspaceManagedSqlServerVulnerabilityAssessments { get; } + /// + /// Gets the IWorkspaceManagedSqlServerEncryptionProtectorOperations. + /// + IWorkspaceManagedSqlServerEncryptionProtectorOperations WorkspaceManagedSqlServerEncryptionProtector { get; } + /// /// Gets the IWorkspaceManagedSqlServerUsagesOperations. /// IWorkspaceManagedSqlServerUsagesOperations WorkspaceManagedSqlServerUsages { get; } /// - /// Gets the IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations. + /// Gets the IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations. /// - IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations WorkspaceManagedSqlServerRecoverableSqlpools { get; } + IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations WorkspaceManagedSqlServerRecoverableSqlPools { get; } /// /// Gets the IKeysOperations. diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISynapseSqlV3ManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISynapseSqlV3ManagementClient.cs deleted file mode 100644 index 38c92d6ad41c1..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISynapseSqlV3ManagementClient.cs +++ /dev/null @@ -1,88 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - - /// - /// Azure Synapse Analytics Management Client - /// - public partial interface ISynapseSqlV3ManagementClient : System.IDisposable - { - /// - /// The base URI of the service. - /// - System.Uri BaseUri { get; set; } - - /// - /// Gets or sets json serialization settings. - /// - JsonSerializerSettings SerializationSettings { get; } - - /// - /// Gets or sets json deserialization settings. - /// - JsonSerializerSettings DeserializationSettings { get; } - - /// - /// Credentials needed for the client to connect to Azure. - /// - ServiceClientCredentials Credentials { get; } - - /// - /// The ID of the target subscription. - /// - string SubscriptionId { get; set; } - - /// - /// The API version to use for this operation. - /// - string ApiVersion { get; } - - /// - /// The preferred language for the response. - /// - string AcceptLanguage { get; set; } - - /// - /// The retry timeout in seconds for Long Running Operations. Default - /// value is 30. - /// - int? LongRunningOperationRetryTimeout { get; set; } - - /// - /// Whether a unique x-ms-client-request-id should be generated. When - /// set to true a unique x-ms-client-request-id value is generated and - /// included in each request. Default is true. - /// - bool? GenerateClientRequestId { get; set; } - - - /// - /// Gets the ISqlV3Operations. - /// - ISqlV3Operations SqlV3Operations { get; } - - /// - /// Gets the ISqlPoolsV3Operations. - /// - ISqlPoolsV3Operations SqlPoolsV3 { get; } - - /// - /// Gets the ISqlDatabasesOperations. - /// - ISqlDatabasesOperations SqlDatabases { get; } - - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceAadAdminsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceAadAdminsOperations.cs index 29e2607c2c256..58b142514156d 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceAadAdminsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceAadAdminsOperations.cs @@ -38,7 +38,7 @@ public partial interface IWorkspaceAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -66,7 +66,7 @@ public partial interface IWorkspaceAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -91,7 +91,7 @@ public partial interface IWorkspaceAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -116,7 +116,7 @@ public partial interface IWorkspaceAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -141,7 +141,7 @@ public partial interface IWorkspaceAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedIdentitySqlControlSettingsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedIdentitySqlControlSettingsOperations.cs index 18e2d1a7d5543..7839bf813a7db 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedIdentitySqlControlSettingsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedIdentitySqlControlSettingsOperations.cs @@ -38,7 +38,7 @@ public partial interface IWorkspaceManagedIdentitySqlControlSettingsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -66,7 +66,7 @@ public partial interface IWorkspaceManagedIdentitySqlControlSettingsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -94,7 +94,7 @@ public partial interface IWorkspaceManagedIdentitySqlControlSettingsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsV3Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerEncryptionProtectorOperations.cs similarity index 52% rename from sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsV3Operations.cs rename to sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerEncryptionProtectorOperations.cs index 23c5679b7f471..337250f580a70 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsV3Operations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerEncryptionProtectorOperations.cs @@ -19,21 +19,21 @@ namespace Microsoft.Azure.Management.Synapse using System.Threading.Tasks; /// - /// SqlPoolsV3Operations operations. + /// WorkspaceManagedSqlServerEncryptionProtectorOperations operations. /// - public partial interface ISqlPoolsV3Operations + public partial interface IWorkspaceManagedSqlServerEncryptionProtectorOperations { /// - /// Gets a SqlPool. + /// Get workspace server's encryption protector. /// + /// + /// Get workspace managed sql server's encryption protector. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. + /// The name of the workspace /// /// /// The headers that will be added to request. @@ -41,7 +41,7 @@ public partial interface ISqlPoolsV3Operations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -50,21 +50,21 @@ public partial interface ISqlPoolsV3Operations /// /// Thrown when a required parameter is null /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Creates a new SqlPool or updates an existing SqlPool. + /// Updates workspace server's encryption protector. /// + /// + /// Updates workspace managed sql server's encryption protector. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. + /// The name of the workspace /// /// - /// The requested SqlPool resource state. + /// The requested encryption protector resource state. /// /// /// The headers that will be added to request. @@ -72,7 +72,7 @@ public partial interface ISqlPoolsV3Operations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -81,18 +81,18 @@ public partial interface ISqlPoolsV3Operations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolV3 parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, EncryptionProtector parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Deletes the SqlPool. + /// Get list of encryption protectors for the server. /// + /// + /// Get list of encryption protectors for workspace managed sql server. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. + /// The name of the workspace /// /// /// The headers that will be added to request. @@ -100,35 +100,7 @@ public partial interface ISqlPoolsV3Operations /// /// The cancellation token. /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - Task DeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Updates an existing sqlpool. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -137,15 +109,19 @@ public partial interface ISqlPoolsV3Operations /// /// Thrown when a required parameter is null /// - Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets a list of sql pools. + /// Revalidates server's existing encryption protector. /// + /// + /// Revalidates workspace managed sql server's existing encryption + /// protector. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. + /// The name of the workspace /// /// /// The headers that will be added to request. @@ -153,30 +129,27 @@ public partial interface ISqlPoolsV3Operations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// - Task>> ListByWorkspaceWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task RevalidateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Creates a new SqlPool or updates an existing SqlPool. + /// Updates workspace server's encryption protector. /// + /// + /// Updates workspace managed sql server's encryption protector. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. + /// The name of the workspace /// /// - /// The requested SqlPool resource state. + /// The requested encryption protector resource state. /// /// /// The headers that will be added to request. @@ -184,7 +157,7 @@ public partial interface ISqlPoolsV3Operations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -193,46 +166,19 @@ public partial interface ISqlPoolsV3Operations /// /// Thrown when a required parameter is null /// - Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolV3 parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); - /// - /// Deletes the SqlPool. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, EncryptionProtector parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Updates an existing sqlpool. + /// Revalidates server's existing encryption protector. /// + /// + /// Revalidates workspace managed sql server's existing encryption + /// protector. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. + /// The name of the workspace /// /// /// The headers that will be added to request. @@ -240,19 +186,19 @@ public partial interface ISqlPoolsV3Operations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// - Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task BeginRevalidateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets a list of sql pools. + /// Get list of encryption protectors for the server. /// + /// + /// Get list of encryption protectors for workspace managed sql server. + /// /// /// The NextLink from the previous successful call to List operation. /// @@ -262,7 +208,7 @@ public partial interface ISqlPoolsV3Operations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -271,6 +217,6 @@ public partial interface ISqlPoolsV3Operations /// /// Thrown when a required parameter is null /// - Task>> ListByWorkspaceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs index 35c3dc3895a57..3fc7411d51125 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs @@ -19,9 +19,9 @@ namespace Microsoft.Azure.Management.Synapse using System.Threading.Tasks; /// - /// WorkspaceManagedSqlServerRecoverableSqlpoolsOperations operations. + /// WorkspaceManagedSqlServerRecoverableSqlPoolsOperations operations. /// - public partial interface IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations + public partial interface IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations { /// /// Get list of recoverable sql pools for the server. @@ -63,8 +63,8 @@ public partial interface IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations /// /// The name of the workspace /// - /// - /// The name of the sql compute + /// + /// The name of the sql pool /// /// /// The headers that will be added to request. @@ -81,7 +81,7 @@ public partial interface IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations /// /// Thrown when a required parameter is null /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlComputeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Get list of recoverable sql pools for the server. /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceSqlAadAdminsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceSqlAadAdminsOperations.cs index 98d5d13ec06f9..4ab2c9e1944c9 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceSqlAadAdminsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceSqlAadAdminsOperations.cs @@ -38,7 +38,7 @@ public partial interface IWorkspaceSqlAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -66,7 +66,7 @@ public partial interface IWorkspaceSqlAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -91,7 +91,7 @@ public partial interface IWorkspaceSqlAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -116,7 +116,7 @@ public partial interface IWorkspaceSqlAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -141,7 +141,7 @@ public partial interface IWorkspaceSqlAadAdminsOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspacesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspacesOperations.cs index 52dd537f92b99..84282881c78af 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspacesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspacesOperations.cs @@ -35,7 +35,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -60,7 +60,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -88,7 +88,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -116,7 +116,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -141,7 +141,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -160,7 +160,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -188,7 +188,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -216,7 +216,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -241,7 +241,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -263,7 +263,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -285,7 +285,7 @@ public partial interface IWorkspacesOperations /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeAuthKeysOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeAuthKeysOperations.cs index f2694f253e7df..a8402ffeb711d 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeAuthKeysOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeAuthKeysOperations.cs @@ -74,7 +74,7 @@ internal IntegrationRuntimeAuthKeysOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -236,14 +236,13 @@ internal IntegrationRuntimeAuthKeysOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -253,10 +252,6 @@ internal IntegrationRuntimeAuthKeysOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -322,7 +317,7 @@ internal IntegrationRuntimeAuthKeysOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -473,14 +468,13 @@ internal IntegrationRuntimeAuthKeysOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -490,10 +484,6 @@ internal IntegrationRuntimeAuthKeysOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeConnectionInfosOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeConnectionInfosOperations.cs index ed709c4022c88..7dc8924259314 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeConnectionInfosOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeConnectionInfosOperations.cs @@ -71,7 +71,7 @@ internal IntegrationRuntimeConnectionInfosOperations(SynapseManagementClient cli /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,14 +222,13 @@ internal IntegrationRuntimeConnectionInfosOperations(SynapseManagementClient cli string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -239,10 +238,6 @@ internal IntegrationRuntimeConnectionInfosOperations(SynapseManagementClient cli } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeCredentialsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeCredentialsOperations.cs index 241c28eb76b3f..2790d7d1d2082 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeCredentialsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeCredentialsOperations.cs @@ -75,7 +75,7 @@ internal IntegrationRuntimeCredentialsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -223,14 +223,13 @@ internal IntegrationRuntimeCredentialsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -240,10 +239,6 @@ internal IntegrationRuntimeCredentialsOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeMonitoringDataOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeMonitoringDataOperations.cs index eacc5aae195ef..266827883f98e 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeMonitoringDataOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeMonitoringDataOperations.cs @@ -71,7 +71,7 @@ internal IntegrationRuntimeMonitoringDataOperations(SynapseManagementClient clie /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,14 +222,13 @@ internal IntegrationRuntimeMonitoringDataOperations(SynapseManagementClient clie string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -239,10 +238,6 @@ internal IntegrationRuntimeMonitoringDataOperations(SynapseManagementClient clie } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodeIpAddressOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodeIpAddressOperations.cs index 78365e2284d2b..cf07fc30e563c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodeIpAddressOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodeIpAddressOperations.cs @@ -74,7 +74,7 @@ internal IntegrationRuntimeNodeIpAddressOperations(SynapseManagementClient clien /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -231,14 +231,13 @@ internal IntegrationRuntimeNodeIpAddressOperations(SynapseManagementClient clien string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -248,10 +247,6 @@ internal IntegrationRuntimeNodeIpAddressOperations(SynapseManagementClient clien } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodesOperations.cs index 7c75394cb2cb5..331e154c63538 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodesOperations.cs @@ -74,7 +74,7 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -231,14 +231,13 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -248,10 +247,6 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -323,7 +318,7 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -491,14 +486,13 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -508,10 +502,6 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -580,7 +570,7 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -734,14 +724,13 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 204) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -751,10 +740,6 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeObjectMetadataOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeObjectMetadataOperations.cs index 96ba2671ffc69..fdcaff385fc0a 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeObjectMetadataOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeObjectMetadataOperations.cs @@ -74,7 +74,7 @@ internal IntegrationRuntimeObjectMetadataOperations(SynapseManagementClient clie /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -232,14 +232,13 @@ internal IntegrationRuntimeObjectMetadataOperations(SynapseManagementClient clie string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -249,10 +248,6 @@ internal IntegrationRuntimeObjectMetadataOperations(SynapseManagementClient clie } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -346,7 +341,7 @@ internal IntegrationRuntimeObjectMetadataOperations(SynapseManagementClient clie /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -497,14 +492,13 @@ internal IntegrationRuntimeObjectMetadataOperations(SynapseManagementClient clie string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -514,10 +508,6 @@ internal IntegrationRuntimeObjectMetadataOperations(SynapseManagementClient clie } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeStatusOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeStatusOperations.cs index 12900fa54ae2c..9f48f1f11bdec 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeStatusOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeStatusOperations.cs @@ -71,7 +71,7 @@ internal IntegrationRuntimeStatusOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,14 +222,13 @@ internal IntegrationRuntimeStatusOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -239,10 +238,6 @@ internal IntegrationRuntimeStatusOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimesOperations.cs index e39d2e7630169..7781b05ae6026 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimesOperations.cs @@ -74,7 +74,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -236,14 +236,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -253,10 +252,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -327,7 +322,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -487,14 +482,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 304) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -504,10 +498,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -637,7 +627,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -785,14 +775,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -802,10 +791,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -850,7 +835,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -995,14 +980,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1012,10 +996,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -1195,7 +1175,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1370,14 +1350,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1387,10 +1366,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -1456,7 +1431,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1604,14 +1579,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1621,10 +1595,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -1672,7 +1642,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1823,14 +1793,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1840,10 +1809,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -1909,7 +1874,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -2057,14 +2022,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -2074,10 +2038,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -2122,7 +2082,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -2270,14 +2230,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -2287,10 +2246,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -2335,7 +2290,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -2483,14 +2438,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -2500,10 +2454,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -2545,7 +2495,7 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -2641,14 +2591,13 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { - ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -2658,10 +2607,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs index c9b7bed8e96db..e82aad578d37c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs @@ -65,7 +65,7 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -210,11 +210,11 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -341,7 +341,7 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -492,11 +492,11 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -598,7 +598,7 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -760,11 +760,11 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -856,7 +856,7 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1007,11 +1007,11 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1085,7 +1085,7 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1241,11 +1241,11 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1313,7 +1313,7 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1409,11 +1409,11 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/KeysOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/KeysOperations.cs index eefa82f0f6f33..d5fb735ba7f0e 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/KeysOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/KeysOperations.cs @@ -65,7 +65,7 @@ internal KeysOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -210,11 +210,11 @@ internal KeysOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -288,7 +288,7 @@ internal KeysOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -439,11 +439,11 @@ internal KeysOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -520,7 +520,7 @@ internal KeysOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -682,11 +682,11 @@ internal KeysOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -760,7 +760,7 @@ internal KeysOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -911,11 +911,11 @@ internal KeysOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -983,7 +983,7 @@ internal KeysOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1079,11 +1079,11 @@ internal KeysOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs index 46b083205a9c4..13c0f7d0d19d9 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs @@ -54,15 +54,18 @@ public BigDataPoolResourceInfo() /// Auto-pausing properties /// Whether compute isolation /// is required or not. - /// Whether library - /// requirements changed. /// Whether session level /// packages enabled. + /// The cache size + /// Dynamic Executor + /// Allocation /// The Spark events folder /// The number of nodes in the Big Data /// pool. /// Library version /// requirements + /// List of custom libraries/packages + /// associated with the spark pool. /// Spark configuration file to /// specify additional properties /// The Apache Spark version. @@ -74,7 +77,9 @@ public BigDataPoolResourceInfo() /// The kind of nodes that the Big Data /// pool provides. Possible values include: 'None', /// 'MemoryOptimized' - public BigDataPoolResourceInfo(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), AutoScaleProperties autoScale = default(AutoScaleProperties), System.DateTime? creationDate = default(System.DateTime?), AutoPauseProperties autoPause = default(AutoPauseProperties), bool? isComputeIsolationEnabled = default(bool?), bool? haveLibraryRequirementsChanged = default(bool?), bool? sessionLevelPackagesEnabled = default(bool?), string sparkEventsFolder = default(string), int? nodeCount = default(int?), LibraryRequirements libraryRequirements = default(LibraryRequirements), LibraryRequirements sparkConfigProperties = default(LibraryRequirements), string sparkVersion = default(string), string defaultSparkLogFolder = default(string), string nodeSize = default(string), string nodeSizeFamily = default(string)) + /// The time when the Big Data + /// pool was updated successfully. + public BigDataPoolResourceInfo(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), AutoScaleProperties autoScale = default(AutoScaleProperties), System.DateTime? creationDate = default(System.DateTime?), AutoPauseProperties autoPause = default(AutoPauseProperties), bool? isComputeIsolationEnabled = default(bool?), bool? sessionLevelPackagesEnabled = default(bool?), int? cacheSize = default(int?), DynamicExecutorAllocation dynamicExecutorAllocation = default(DynamicExecutorAllocation), string sparkEventsFolder = default(string), int? nodeCount = default(int?), LibraryRequirements libraryRequirements = default(LibraryRequirements), IList customLibraries = default(IList), LibraryRequirements sparkConfigProperties = default(LibraryRequirements), string sparkVersion = default(string), string defaultSparkLogFolder = default(string), string nodeSize = default(string), string nodeSizeFamily = default(string), System.DateTime? lastSucceededTimestamp = default(System.DateTime?)) : base(location, id, name, type, tags) { ProvisioningState = provisioningState; @@ -82,16 +87,19 @@ public BigDataPoolResourceInfo() CreationDate = creationDate; AutoPause = autoPause; IsComputeIsolationEnabled = isComputeIsolationEnabled; - HaveLibraryRequirementsChanged = haveLibraryRequirementsChanged; SessionLevelPackagesEnabled = sessionLevelPackagesEnabled; + CacheSize = cacheSize; + DynamicExecutorAllocation = dynamicExecutorAllocation; SparkEventsFolder = sparkEventsFolder; NodeCount = nodeCount; LibraryRequirements = libraryRequirements; + CustomLibraries = customLibraries; SparkConfigProperties = sparkConfigProperties; SparkVersion = sparkVersion; DefaultSparkLogFolder = defaultSparkLogFolder; NodeSize = nodeSize; NodeSizeFamily = nodeSizeFamily; + LastSucceededTimestamp = lastSucceededTimestamp; CustomInit(); } @@ -130,18 +138,24 @@ public BigDataPoolResourceInfo() [JsonProperty(PropertyName = "properties.isComputeIsolationEnabled")] public bool? IsComputeIsolationEnabled { get; set; } - /// - /// Gets or sets whether library requirements changed. - /// - [JsonProperty(PropertyName = "properties.haveLibraryRequirementsChanged")] - public bool? HaveLibraryRequirementsChanged { get; set; } - /// /// Gets or sets whether session level packages enabled. /// [JsonProperty(PropertyName = "properties.sessionLevelPackagesEnabled")] public bool? SessionLevelPackagesEnabled { get; set; } + /// + /// Gets or sets the cache size + /// + [JsonProperty(PropertyName = "properties.cacheSize")] + public int? CacheSize { get; set; } + + /// + /// Gets or sets dynamic Executor Allocation + /// + [JsonProperty(PropertyName = "properties.dynamicExecutorAllocation")] + public DynamicExecutorAllocation DynamicExecutorAllocation { get; set; } + /// /// Gets or sets the Spark events folder /// @@ -160,6 +174,13 @@ public BigDataPoolResourceInfo() [JsonProperty(PropertyName = "properties.libraryRequirements")] public LibraryRequirements LibraryRequirements { get; set; } + /// + /// Gets or sets list of custom libraries/packages associated with the + /// spark pool. + /// + [JsonProperty(PropertyName = "properties.customLibraries")] + public IList CustomLibraries { get; set; } + /// /// Gets or sets spark configuration file to specify additional /// properties @@ -194,6 +215,12 @@ public BigDataPoolResourceInfo() [JsonProperty(PropertyName = "properties.nodeSizeFamily")] public string NodeSizeFamily { get; set; } + /// + /// Gets the time when the Big Data pool was updated successfully. + /// + [JsonProperty(PropertyName = "properties.lastSucceededTimestamp")] + public System.DateTime? LastSucceededTimestamp { get; private set; } + /// /// Validate the object. /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DayOfWeek.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DayOfWeek.cs new file mode 100644 index 0000000000000..3915d376d9cd6 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DayOfWeek.cs @@ -0,0 +1,27 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + + /// + /// Defines values for DayOfWeek. + /// + public static class DayOfWeek + { + public const string Sunday = "Sunday"; + public const string Monday = "Monday"; + public const string Tuesday = "Tuesday"; + public const string Wednesday = "Wednesday"; + public const string Thursday = "Thursday"; + public const string Friday = "Friday"; + public const string Saturday = "Saturday"; + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DynamicExecutorAllocation.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DynamicExecutorAllocation.cs new file mode 100644 index 0000000000000..7fe223752c39b --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DynamicExecutorAllocation.cs @@ -0,0 +1,53 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Dynamic Executor Allocation Properties + /// + public partial class DynamicExecutorAllocation + { + /// + /// Initializes a new instance of the DynamicExecutorAllocation class. + /// + public DynamicExecutorAllocation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DynamicExecutorAllocation class. + /// + /// Indicates whether Dynamic Executor Allocation + /// is enabled or not. + public DynamicExecutorAllocation(bool? enabled = default(bool?)) + { + Enabled = enabled; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets indicates whether Dynamic Executor Allocation is + /// enabled or not. + /// + [JsonProperty(PropertyName = "enabled")] + public bool? Enabled { get; set; } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/EncryptionProtector.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/EncryptionProtector.cs new file mode 100644 index 0000000000000..ba3f479dde882 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/EncryptionProtector.cs @@ -0,0 +1,129 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// The server encryption protector. + /// + [Rest.Serialization.JsonTransformation] + public partial class EncryptionProtector : ProxyResource + { + /// + /// Initializes a new instance of the EncryptionProtector class. + /// + public EncryptionProtector() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the EncryptionProtector class. + /// + /// The encryption protector type like + /// 'ServiceManaged', 'AzureKeyVault'. Possible values include: + /// 'ServiceManaged', 'AzureKeyVault' + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// The name of the resource + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// Kind of encryption protector. This is metadata + /// used for the Azure portal experience. + /// Resource location. + /// Subregion of the encryption + /// protector. + /// The name of the server key. + /// The URI of the server key. + /// Thumbprint of the server key. + public EncryptionProtector(string serverKeyType, string id = default(string), string name = default(string), string type = default(string), string kind = default(string), string location = default(string), string subregion = default(string), string serverKeyName = default(string), string uri = default(string), string thumbprint = default(string)) + : base(id, name, type) + { + Kind = kind; + Location = location; + Subregion = subregion; + ServerKeyName = serverKeyName; + ServerKeyType = serverKeyType; + Uri = uri; + Thumbprint = thumbprint; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets kind of encryption protector. This is metadata used for the + /// Azure portal experience. + /// + [JsonProperty(PropertyName = "kind")] + public string Kind { get; private set; } + + /// + /// Gets resource location. + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; private set; } + + /// + /// Gets subregion of the encryption protector. + /// + [JsonProperty(PropertyName = "properties.subregion")] + public string Subregion { get; private set; } + + /// + /// Gets or sets the name of the server key. + /// + [JsonProperty(PropertyName = "properties.serverKeyName")] + public string ServerKeyName { get; set; } + + /// + /// Gets or sets the encryption protector type like 'ServiceManaged', + /// 'AzureKeyVault'. Possible values include: 'ServiceManaged', + /// 'AzureKeyVault' + /// + [JsonProperty(PropertyName = "properties.serverKeyType")] + public string ServerKeyType { get; set; } + + /// + /// Gets the URI of the server key. + /// + [JsonProperty(PropertyName = "properties.uri")] + public string Uri { get; private set; } + + /// + /// Gets thumbprint of the server key. + /// + [JsonProperty(PropertyName = "properties.thumbprint")] + public string Thumbprint { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ServerKeyType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ServerKeyType"); + } + } + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorDetail.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorDetail.cs index 3e096daa8efc8..d0e59aae76f50 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorDetail.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorDetail.cs @@ -11,10 +11,12 @@ namespace Microsoft.Azure.Management.Synapse.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// - /// Error details + /// The error detail. /// public partial class ErrorDetail { @@ -29,14 +31,18 @@ public ErrorDetail() /// /// Initializes a new instance of the ErrorDetail class. /// - /// Error message - /// Error code - /// Error target - public ErrorDetail(string message = default(string), string code = default(string), string target = default(string)) + /// The error code. + /// The error message. + /// The error target. + /// The error details. + /// The error additional info. + public ErrorDetail(string code = default(string), string message = default(string), string target = default(string), IList details = default(IList), IList additionalInfo = default(IList)) { - Message = message; Code = code; + Message = message; Target = target; + Details = details; + AdditionalInfo = additionalInfo; CustomInit(); } @@ -46,22 +52,34 @@ public ErrorDetail() partial void CustomInit(); /// - /// Gets or sets error message + /// Gets the error code. /// - [JsonProperty(PropertyName = "message")] - public string Message { get; set; } + [JsonProperty(PropertyName = "code")] + public string Code { get; private set; } /// - /// Gets or sets error code + /// Gets the error message. /// - [JsonProperty(PropertyName = "code")] - public string Code { get; set; } + [JsonProperty(PropertyName = "message")] + public string Message { get; private set; } /// - /// Gets or sets error target + /// Gets the error target. /// [JsonProperty(PropertyName = "target")] - public string Target { get; set; } + public string Target { get; private set; } + + /// + /// Gets the error details. + /// + [JsonProperty(PropertyName = "details")] + public IList Details { get; private set; } + + /// + /// Gets the error additional info. + /// + [JsonProperty(PropertyName = "additionalInfo")] + public IList AdditionalInfo { get; private set; } } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponse.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponse.cs index 9dcadd9275a2b..8cc0f75810236 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponse.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponse.cs @@ -11,17 +11,15 @@ namespace Microsoft.Azure.Management.Synapse.Models { using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; using System.Linq; /// - /// Error Response + /// Error response /// /// /// Common error response for all Azure Resource Manager APIs to return /// error details for failed operations. (This also follows the OData error - /// response format.) + /// response format.). /// public partial class ErrorResponse { @@ -36,18 +34,10 @@ public ErrorResponse() /// /// Initializes a new instance of the ErrorResponse class. /// - /// The error code. - /// The error message. - /// The error target. - /// The error details. - /// The error additional info. - public ErrorResponse(string code = default(string), string message = default(string), string target = default(string), IList details = default(IList), IList additionalInfo = default(IList)) + /// The error object. + public ErrorResponse(ErrorDetail error = default(ErrorDetail)) { - Code = code; - Message = message; - Target = target; - Details = details; - AdditionalInfo = additionalInfo; + Error = error; CustomInit(); } @@ -57,34 +47,10 @@ public ErrorResponse() partial void CustomInit(); /// - /// Gets the error code. + /// Gets or sets the error object. /// - [JsonProperty(PropertyName = "code")] - public string Code { get; private set; } - - /// - /// Gets the error message. - /// - [JsonProperty(PropertyName = "message")] - public string Message { get; private set; } - - /// - /// Gets the error target. - /// - [JsonProperty(PropertyName = "target")] - public string Target { get; private set; } - - /// - /// Gets the error details. - /// - [JsonProperty(PropertyName = "details")] - public IList Details { get; private set; } - - /// - /// Gets the error additional info. - /// - [JsonProperty(PropertyName = "additionalInfo")] - public IList AdditionalInfo { get; private set; } + [JsonProperty(PropertyName = "error")] + public ErrorDetail Error { get; set; } } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContractException.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponseException.cs similarity index 73% rename from sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContractException.cs rename to sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponseException.cs index 3e834982c41c6..27a92588f3499 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContractException.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponseException.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.Management.Synapse.Models using Microsoft.Rest; /// - /// Exception thrown for an invalid response with ErrorContract + /// Exception thrown for an invalid response with ErrorResponse /// information. /// - public partial class ErrorContractException : RestException + public partial class ErrorResponseException : RestException { /// /// Gets information about the associated HTTP request. @@ -31,30 +31,30 @@ public partial class ErrorContractException : RestException /// /// Gets or sets the body object. /// - public ErrorContract Body { get; set; } + public ErrorResponse Body { get; set; } /// - /// Initializes a new instance of the ErrorContractException class. + /// Initializes a new instance of the ErrorResponseException class. /// - public ErrorContractException() + public ErrorResponseException() { } /// - /// Initializes a new instance of the ErrorContractException class. + /// Initializes a new instance of the ErrorResponseException class. /// /// The exception message. - public ErrorContractException(string message) + public ErrorResponseException(string message) : this(message, null) { } /// - /// Initializes a new instance of the ErrorContractException class. + /// Initializes a new instance of the ErrorResponseException class. /// /// The exception message. /// Inner exception. - public ErrorContractException(string message, System.Exception innerException) + public ErrorResponseException(string message, System.Exception innerException) : base(message, innerException) { } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/LibraryInfo.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/LibraryInfo.cs new file mode 100644 index 0000000000000..63bddd291dc3d --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/LibraryInfo.cs @@ -0,0 +1,104 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Information about a library/package created at the workspace level. + /// + /// + /// Library/package information of a Big Data pool powered by Apache Spark + /// + public partial class LibraryInfo + { + /// + /// Initializes a new instance of the LibraryInfo class. + /// + public LibraryInfo() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the LibraryInfo class. + /// + /// Name of the library. + /// Storage blob path of library. + /// Storage blob container name. + /// The last update time of the + /// library. + /// Type of the library. + /// Provisioning status of the + /// library/package. + /// Creator Id of the library/package. + public LibraryInfo(string name = default(string), string path = default(string), string containerName = default(string), System.DateTime? uploadedTimestamp = default(System.DateTime?), string type = default(string), string provisioningStatus = default(string), string creatorId = default(string)) + { + Name = name; + Path = path; + ContainerName = containerName; + UploadedTimestamp = uploadedTimestamp; + Type = type; + ProvisioningStatus = provisioningStatus; + CreatorId = creatorId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of the library. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets storage blob path of library. + /// + [JsonProperty(PropertyName = "path")] + public string Path { get; set; } + + /// + /// Gets or sets storage blob container name. + /// + [JsonProperty(PropertyName = "containerName")] + public string ContainerName { get; set; } + + /// + /// Gets the last update time of the library. + /// + [JsonProperty(PropertyName = "uploadedTimestamp")] + public System.DateTime? UploadedTimestamp { get; private set; } + + /// + /// Gets or sets type of the library. + /// + [JsonProperty(PropertyName = "type")] + public string Type { get; set; } + + /// + /// Gets provisioning status of the library/package. + /// + [JsonProperty(PropertyName = "provisioningStatus")] + public string ProvisioningStatus { get; private set; } + + /// + /// Gets creator Id of the library/package. + /// + [JsonProperty(PropertyName = "creatorId")] + public string CreatorId { get; private set; } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindowOptions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindowOptions.cs new file mode 100644 index 0000000000000..d0b03ccfdda6b --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindowOptions.cs @@ -0,0 +1,122 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Maintenance window options. + /// + [Rest.Serialization.JsonTransformation] + public partial class MaintenanceWindowOptions : ProxyResource + { + /// + /// Initializes a new instance of the MaintenanceWindowOptions class. + /// + public MaintenanceWindowOptions() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MaintenanceWindowOptions class. + /// + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// The name of the resource + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// Whether maintenance windows are enabled for + /// the database. + /// Available maintenance cycles + /// e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}. + /// Minimum duration of maintenance + /// window. + /// Default duration for + /// maintenance window. + /// Minimum number of maintenance windows + /// cycles to be set on the database. + /// Time granularity in minutes + /// for maintenance windows. + /// Whether we + /// allow multiple maintenance windows per cycle. + public MaintenanceWindowOptions(string id = default(string), string name = default(string), string type = default(string), bool? isEnabled = default(bool?), IList maintenanceWindowCycles = default(IList), int? minDurationInMinutes = default(int?), int? defaultDurationInMinutes = default(int?), int? minCycles = default(int?), int? timeGranularityInMinutes = default(int?), bool? allowMultipleMaintenanceWindowsPerCycle = default(bool?)) + : base(id, name, type) + { + IsEnabled = isEnabled; + MaintenanceWindowCycles = maintenanceWindowCycles; + MinDurationInMinutes = minDurationInMinutes; + DefaultDurationInMinutes = defaultDurationInMinutes; + MinCycles = minCycles; + TimeGranularityInMinutes = timeGranularityInMinutes; + AllowMultipleMaintenanceWindowsPerCycle = allowMultipleMaintenanceWindowsPerCycle; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets whether maintenance windows are enabled for the + /// database. + /// + [JsonProperty(PropertyName = "properties.isEnabled")] + public bool? IsEnabled { get; set; } + + /// + /// Gets or sets available maintenance cycles e.g. {Saturday, 0, + /// 48*60}, {Wednesday, 0, 24*60}. + /// + [JsonProperty(PropertyName = "properties.maintenanceWindowCycles")] + public IList MaintenanceWindowCycles { get; set; } + + /// + /// Gets or sets minimum duration of maintenance window. + /// + [JsonProperty(PropertyName = "properties.minDurationInMinutes")] + public int? MinDurationInMinutes { get; set; } + + /// + /// Gets or sets default duration for maintenance window. + /// + [JsonProperty(PropertyName = "properties.defaultDurationInMinutes")] + public int? DefaultDurationInMinutes { get; set; } + + /// + /// Gets or sets minimum number of maintenance windows cycles to be set + /// on the database. + /// + [JsonProperty(PropertyName = "properties.minCycles")] + public int? MinCycles { get; set; } + + /// + /// Gets or sets time granularity in minutes for maintenance windows. + /// + [JsonProperty(PropertyName = "properties.timeGranularityInMinutes")] + public int? TimeGranularityInMinutes { get; set; } + + /// + /// Gets or sets whether we allow multiple maintenance windows per + /// cycle. + /// + [JsonProperty(PropertyName = "properties.allowMultipleMaintenanceWindowsPerCycle")] + public bool? AllowMultipleMaintenanceWindowsPerCycle { get; set; } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindowTimeRange.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindowTimeRange.cs new file mode 100644 index 0000000000000..09c49aa28433a --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindowTimeRange.cs @@ -0,0 +1,73 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Maintenance window time range. + /// + public partial class MaintenanceWindowTimeRange + { + /// + /// Initializes a new instance of the MaintenanceWindowTimeRange class. + /// + public MaintenanceWindowTimeRange() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MaintenanceWindowTimeRange class. + /// + /// Day of maintenance window. Possible values + /// include: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', + /// 'Friday', 'Saturday' + /// Start time minutes offset from + /// 12am. + /// Duration of maintenance window in + /// minutes. + public MaintenanceWindowTimeRange(string dayOfWeek = default(string), string startTime = default(string), string duration = default(string)) + { + DayOfWeek = dayOfWeek; + StartTime = startTime; + Duration = duration; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets day of maintenance window. Possible values include: + /// 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', + /// 'Saturday' + /// + [JsonProperty(PropertyName = "dayOfWeek")] + public string DayOfWeek { get; set; } + + /// + /// Gets or sets start time minutes offset from 12am. + /// + [JsonProperty(PropertyName = "startTime")] + public string StartTime { get; set; } + + /// + /// Gets or sets duration of maintenance window in minutes. + /// + [JsonProperty(PropertyName = "duration")] + public string Duration { get; set; } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindows.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindows.cs new file mode 100644 index 0000000000000..3b6e2e7fed369 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/MaintenanceWindows.cs @@ -0,0 +1,61 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Maintenance windows. + /// + [Rest.Serialization.JsonTransformation] + public partial class MaintenanceWindows : ProxyResource + { + /// + /// Initializes a new instance of the MaintenanceWindows class. + /// + public MaintenanceWindows() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the MaintenanceWindows class. + /// + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// The name of the resource + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + public MaintenanceWindows(string id = default(string), string name = default(string), string type = default(string), IList timeRanges = default(IList)) + : base(id, name, type) + { + TimeRanges = timeRanges; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// + [JsonProperty(PropertyName = "properties.timeRanges")] + public IList TimeRanges { get; set; } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/OperationResource.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/OperationResource.cs index 09934811f4ecd..d297484259412 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/OperationResource.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/OperationResource.cs @@ -39,7 +39,7 @@ public OperationResource() /// Operation start time /// Completion percentage of the /// operation - public OperationResource(string id = default(string), string name = default(string), string status = default(string), object properties = default(object), ErrorResponse error = default(ErrorResponse), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), double? percentComplete = default(double?)) + public OperationResource(string id = default(string), string name = default(string), string status = default(string), object properties = default(object), ErrorDetail error = default(ErrorDetail), System.DateTime? startTime = default(System.DateTime?), System.DateTime? endTime = default(System.DateTime?), double? percentComplete = default(double?)) { Id = id; Name = name; @@ -86,7 +86,7 @@ public OperationResource() /// Gets or sets errors from the operation /// [JsonProperty(PropertyName = "error")] - public ErrorResponse Error { get; set; } + public ErrorDetail Error { get; set; } /// /// Gets or sets operation start time diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdate.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdate.cs new file mode 100644 index 0000000000000..e23ccf416e852 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdate.cs @@ -0,0 +1,109 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// A recommended sensitivity label update operation. + /// + [Rest.Serialization.JsonTransformation] + public partial class RecommendedSensitivityLabelUpdate : ProxyResource + { + /// + /// Initializes a new instance of the RecommendedSensitivityLabelUpdate + /// class. + /// + public RecommendedSensitivityLabelUpdate() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RecommendedSensitivityLabelUpdate + /// class. + /// + /// Possible values include: 'enable', + /// 'disable' + /// Schema name of the column to update. + /// Table name of the column to update. + /// Column name to update. + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// The name of the resource + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + public RecommendedSensitivityLabelUpdate(RecommendedSensitivityLabelUpdateKind op, string schema, string table, string column, string id = default(string), string name = default(string), string type = default(string)) + : base(id, name, type) + { + Op = op; + Schema = schema; + Table = table; + Column = column; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets possible values include: 'enable', 'disable' + /// + [JsonProperty(PropertyName = "properties.op")] + public RecommendedSensitivityLabelUpdateKind Op { get; set; } + + /// + /// Gets or sets schema name of the column to update. + /// + [JsonProperty(PropertyName = "properties.schema")] + public string Schema { get; set; } + + /// + /// Gets or sets table name of the column to update. + /// + [JsonProperty(PropertyName = "properties.table")] + public string Table { get; set; } + + /// + /// Gets or sets column name to update. + /// + [JsonProperty(PropertyName = "properties.column")] + public string Column { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Schema == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Schema"); + } + if (Table == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Table"); + } + if (Column == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Column"); + } + } + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdateKind.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdateKind.cs new file mode 100644 index 0000000000000..349e2a1112edc --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdateKind.cs @@ -0,0 +1,60 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Newtonsoft.Json; + using Newtonsoft.Json.Converters; + using System.Runtime; + using System.Runtime.Serialization; + + /// + /// Defines values for RecommendedSensitivityLabelUpdateKind. + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum RecommendedSensitivityLabelUpdateKind + { + [EnumMember(Value = "enable")] + Enable, + [EnumMember(Value = "disable")] + Disable + } + internal static class RecommendedSensitivityLabelUpdateKindEnumExtension + { + internal static string ToSerializedValue(this RecommendedSensitivityLabelUpdateKind? value) + { + return value == null ? null : ((RecommendedSensitivityLabelUpdateKind)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this RecommendedSensitivityLabelUpdateKind value) + { + switch( value ) + { + case RecommendedSensitivityLabelUpdateKind.Enable: + return "enable"; + case RecommendedSensitivityLabelUpdateKind.Disable: + return "disable"; + } + return null; + } + + internal static RecommendedSensitivityLabelUpdateKind? ParseRecommendedSensitivityLabelUpdateKind(this string value) + { + switch( value ) + { + case "enable": + return RecommendedSensitivityLabelUpdateKind.Enable; + case "disable": + return RecommendedSensitivityLabelUpdateKind.Disable; + } + return null; + } + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdateList.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdateList.cs new file mode 100644 index 0000000000000..b9d8f961ffceb --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/RecommendedSensitivityLabelUpdateList.cs @@ -0,0 +1,53 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// A list of recommended sensitivity label update operations. + /// + public partial class RecommendedSensitivityLabelUpdateList + { + /// + /// Initializes a new instance of the + /// RecommendedSensitivityLabelUpdateList class. + /// + public RecommendedSensitivityLabelUpdateList() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RecommendedSensitivityLabelUpdateList class. + /// + public RecommendedSensitivityLabelUpdateList(IList operations = default(IList)) + { + Operations = operations; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// + [JsonProperty(PropertyName = "operations")] + public IList Operations { get; set; } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ResourceMoveDefinition.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ResourceMoveDefinition.cs new file mode 100644 index 0000000000000..d1f2f9f97eedb --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ResourceMoveDefinition.cs @@ -0,0 +1,65 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Contains the information necessary to perform a resource move (rename). + /// + public partial class ResourceMoveDefinition + { + /// + /// Initializes a new instance of the ResourceMoveDefinition class. + /// + public ResourceMoveDefinition() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ResourceMoveDefinition class. + /// + /// The target ID for the resource + public ResourceMoveDefinition(string id) + { + Id = id; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the target ID for the resource + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Id == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Id"); + } + } + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabel.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabel.cs index f96208c5ea6ad..435afbf1f368f 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabel.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabel.cs @@ -38,6 +38,9 @@ public SensitivityLabel() /// The type of the resource. E.g. /// "Microsoft.Compute/virtualMachines" or /// "Microsoft.Storage/storageAccounts" + /// The schema name. + /// The table name. + /// The column name. /// The label name. /// The label ID. /// The information type. @@ -46,14 +49,22 @@ public SensitivityLabel() /// Applicable for recommended sensitivity label only. Specifies /// whether the sensitivity recommendation on this column is disabled /// (dismissed) or not. - public SensitivityLabel(string id = default(string), string name = default(string), string type = default(string), string labelName = default(string), string labelId = default(string), string informationType = default(string), string informationTypeId = default(string), bool? isDisabled = default(bool?)) + /// Possible values include: 'None', 'Low', + /// 'Medium', 'High', 'Critical' + /// managed by + public SensitivityLabel(string id = default(string), string name = default(string), string type = default(string), string schemaName = default(string), string tableName = default(string), string columnName = default(string), string labelName = default(string), string labelId = default(string), string informationType = default(string), string informationTypeId = default(string), bool? isDisabled = default(bool?), SensitivityLabelRank? rank = default(SensitivityLabelRank?), string managedBy = default(string)) : base(id, name, type) { + SchemaName = schemaName; + TableName = tableName; + ColumnName = columnName; LabelName = labelName; LabelId = labelId; InformationType = informationType; InformationTypeId = informationTypeId; IsDisabled = isDisabled; + Rank = rank; + ManagedBy = managedBy; CustomInit(); } @@ -62,6 +73,24 @@ public SensitivityLabel() /// partial void CustomInit(); + /// + /// Gets the schema name. + /// + [JsonProperty(PropertyName = "properties.schemaName")] + public string SchemaName { get; private set; } + + /// + /// Gets the table name. + /// + [JsonProperty(PropertyName = "properties.tableName")] + public string TableName { get; private set; } + + /// + /// Gets the column name. + /// + [JsonProperty(PropertyName = "properties.columnName")] + public string ColumnName { get; private set; } + /// /// Gets or sets the label name. /// @@ -95,5 +124,18 @@ public SensitivityLabel() [JsonProperty(PropertyName = "properties.isDisabled")] public bool? IsDisabled { get; private set; } + /// + /// Gets or sets possible values include: 'None', 'Low', 'Medium', + /// 'High', 'Critical' + /// + [JsonProperty(PropertyName = "properties.rank")] + public SensitivityLabelRank? Rank { get; set; } + + /// + /// Gets managed by + /// + [JsonProperty(PropertyName = "managedBy")] + public string ManagedBy { get; private set; } + } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelRank.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelRank.cs new file mode 100644 index 0000000000000..19cf2b61aa283 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelRank.cs @@ -0,0 +1,78 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Newtonsoft.Json; + using Newtonsoft.Json.Converters; + using System.Runtime; + using System.Runtime.Serialization; + + /// + /// Defines values for SensitivityLabelRank. + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum SensitivityLabelRank + { + [EnumMember(Value = "None")] + None, + [EnumMember(Value = "Low")] + Low, + [EnumMember(Value = "Medium")] + Medium, + [EnumMember(Value = "High")] + High, + [EnumMember(Value = "Critical")] + Critical + } + internal static class SensitivityLabelRankEnumExtension + { + internal static string ToSerializedValue(this SensitivityLabelRank? value) + { + return value == null ? null : ((SensitivityLabelRank)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this SensitivityLabelRank value) + { + switch( value ) + { + case SensitivityLabelRank.None: + return "None"; + case SensitivityLabelRank.Low: + return "Low"; + case SensitivityLabelRank.Medium: + return "Medium"; + case SensitivityLabelRank.High: + return "High"; + case SensitivityLabelRank.Critical: + return "Critical"; + } + return null; + } + + internal static SensitivityLabelRank? ParseSensitivityLabelRank(this string value) + { + switch( value ) + { + case "None": + return SensitivityLabelRank.None; + case "Low": + return SensitivityLabelRank.Low; + case "Medium": + return SensitivityLabelRank.Medium; + case "High": + return SensitivityLabelRank.High; + case "Critical": + return SensitivityLabelRank.Critical; + } + return null; + } + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdate.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdate.cs new file mode 100644 index 0000000000000..85167c5ac7764 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdate.cs @@ -0,0 +1,116 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// A sensitivity label update operation. + /// + [Rest.Serialization.JsonTransformation] + public partial class SensitivityLabelUpdate : ProxyResource + { + /// + /// Initializes a new instance of the SensitivityLabelUpdate class. + /// + public SensitivityLabelUpdate() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SensitivityLabelUpdate class. + /// + /// Possible values include: 'set', 'remove' + /// Schema name of the column to update. + /// Table name of the column to update. + /// Column name to update. + /// Fully qualified resource ID for the resource. Ex - + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// The name of the resource + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" + /// The sensitivity label information to + /// apply on a column. + public SensitivityLabelUpdate(SensitivityLabelUpdateKind op, string schema, string table, string column, string id = default(string), string name = default(string), string type = default(string), SensitivityLabel sensitivityLabel = default(SensitivityLabel)) + : base(id, name, type) + { + Op = op; + Schema = schema; + Table = table; + Column = column; + SensitivityLabel = sensitivityLabel; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets possible values include: 'set', 'remove' + /// + [JsonProperty(PropertyName = "properties.op")] + public SensitivityLabelUpdateKind Op { get; set; } + + /// + /// Gets or sets schema name of the column to update. + /// + [JsonProperty(PropertyName = "properties.schema")] + public string Schema { get; set; } + + /// + /// Gets or sets table name of the column to update. + /// + [JsonProperty(PropertyName = "properties.table")] + public string Table { get; set; } + + /// + /// Gets or sets column name to update. + /// + [JsonProperty(PropertyName = "properties.column")] + public string Column { get; set; } + + /// + /// Gets or sets the sensitivity label information to apply on a + /// column. + /// + [JsonProperty(PropertyName = "properties.sensitivityLabel")] + public SensitivityLabel SensitivityLabel { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Schema == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Schema"); + } + if (Table == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Table"); + } + if (Column == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Column"); + } + } + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdateKind.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdateKind.cs new file mode 100644 index 0000000000000..614543a4c7627 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdateKind.cs @@ -0,0 +1,60 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + using Newtonsoft.Json; + using Newtonsoft.Json.Converters; + using System.Runtime; + using System.Runtime.Serialization; + + /// + /// Defines values for SensitivityLabelUpdateKind. + /// + [JsonConverter(typeof(StringEnumConverter))] + public enum SensitivityLabelUpdateKind + { + [EnumMember(Value = "set")] + Set, + [EnumMember(Value = "remove")] + Remove + } + internal static class SensitivityLabelUpdateKindEnumExtension + { + internal static string ToSerializedValue(this SensitivityLabelUpdateKind? value) + { + return value == null ? null : ((SensitivityLabelUpdateKind)value).ToSerializedValue(); + } + + internal static string ToSerializedValue(this SensitivityLabelUpdateKind value) + { + switch( value ) + { + case SensitivityLabelUpdateKind.Set: + return "set"; + case SensitivityLabelUpdateKind.Remove: + return "remove"; + } + return null; + } + + internal static SensitivityLabelUpdateKind? ParseSensitivityLabelUpdateKind(this string value) + { + switch( value ) + { + case "set": + return SensitivityLabelUpdateKind.Set; + case "remove": + return SensitivityLabelUpdateKind.Remove; + } + return null; + } + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContract.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdateList.cs similarity index 57% rename from sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContract.cs rename to sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdateList.cs index 8bc001a77f8e4..ab265f2aa7252 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContract.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SensitivityLabelUpdateList.cs @@ -11,31 +11,29 @@ namespace Microsoft.Azure.Management.Synapse.Models { using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// - /// Error details. + /// A list of sensitivity label update operations. /// - /// - /// Contains details when the response code indicates an error. - /// - public partial class ErrorContract + public partial class SensitivityLabelUpdateList { /// - /// Initializes a new instance of the ErrorContract class. + /// Initializes a new instance of the SensitivityLabelUpdateList class. /// - public ErrorContract() + public SensitivityLabelUpdateList() { CustomInit(); } /// - /// Initializes a new instance of the ErrorContract class. + /// Initializes a new instance of the SensitivityLabelUpdateList class. /// - /// The error details. - public ErrorContract(ErrorResponse error = default(ErrorResponse)) + public SensitivityLabelUpdateList(IList operations = default(IList)) { - Error = error; + Operations = operations; CustomInit(); } @@ -45,10 +43,9 @@ public ErrorContract() partial void CustomInit(); /// - /// Gets or sets the error details. /// - [JsonProperty(PropertyName = "error")] - public ErrorResponse Error { get; set; } + [JsonProperty(PropertyName = "operations")] + public IList Operations { get; set; } } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ServerKeyType.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ServerKeyType.cs new file mode 100644 index 0000000000000..156fb428b3f1c --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ServerKeyType.cs @@ -0,0 +1,22 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + + /// + /// Defines values for ServerKeyType. + /// + public static class ServerKeyType + { + public const string ServiceManaged = "ServiceManaged"; + public const string AzureKeyVault = "AzureKeyVault"; + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Sku.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Sku.cs index 6f5452788f7c2..46daf39eb759c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Sku.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Sku.cs @@ -10,13 +10,15 @@ namespace Microsoft.Azure.Management.Synapse.Models { - using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; /// - /// An ARM Resource SKU. + /// Sku /// + /// + /// SQL pool SKU + /// public partial class Sku { /// @@ -30,14 +32,16 @@ public Sku() /// /// Initializes a new instance of the Sku class. /// - /// The name of the SKU, typically, a letter + - /// Number code, e.g. P3. - /// The tier or edition of the particular SKU, e.g. - /// Basic, Premium. - public Sku(string name, string tier = default(string)) + /// The service tier + /// The SKU name + /// If the SKU supports scale out/in then the + /// capacity integer should be included. If scale out/in is not + /// possible for the resource this may be omitted. + public Sku(string tier = default(string), string name = default(string), int? capacity = default(int?)) { - Name = name; Tier = tier; + Name = name; + Capacity = capacity; CustomInit(); } @@ -47,31 +51,24 @@ public Sku() partial void CustomInit(); /// - /// Gets or sets the name of the SKU, typically, a letter + Number - /// code, e.g. P3. + /// Gets or sets the service tier /// - [JsonProperty(PropertyName = "name")] - public string Name { get; set; } + [JsonProperty(PropertyName = "tier")] + public string Tier { get; set; } /// - /// Gets or sets the tier or edition of the particular SKU, e.g. Basic, - /// Premium. + /// Gets or sets the SKU name /// - [JsonProperty(PropertyName = "tier")] - public string Tier { get; set; } + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } /// - /// Validate the object. + /// Gets or sets if the SKU supports scale out/in then the capacity + /// integer should be included. If scale out/in is not possible for the + /// resource this may be omitted. /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Name == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Name"); - } - } + [JsonProperty(PropertyName = "capacity")] + public int? Capacity { get; set; } + } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabase.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabase.cs deleted file mode 100644 index b451e64c02e4f..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabase.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A sql database resource. - /// - [Rest.Serialization.JsonTransformation] - public partial class SqlDatabase : TrackedResource - { - /// - /// Initializes a new instance of the SqlDatabase class. - /// - public SqlDatabase() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the SqlDatabase class. - /// - /// The geo-location where the resource - /// lives - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// The name of the resource - /// The type of the resource. E.g. - /// "Microsoft.Compute/virtualMachines" or - /// "Microsoft.Storage/storageAccounts" - /// Resource tags. - /// SystemData of SqlDatabase. - /// The collation of the database. - /// The max size of the database expressed - /// in bytes. - /// The Guid of the database. - /// Status of the database. - public SqlDatabase(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string collation = default(string), long? maxSizeBytes = default(long?), System.Guid? databaseGuid = default(System.Guid?), string status = default(string)) - : base(location, id, name, type, tags) - { - SystemData = systemData; - Collation = collation; - MaxSizeBytes = maxSizeBytes; - DatabaseGuid = databaseGuid; - Status = status; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets systemData of SqlDatabase. - /// - [JsonProperty(PropertyName = "systemData")] - public SystemData SystemData { get; private set; } - - /// - /// Gets or sets the collation of the database. - /// - [JsonProperty(PropertyName = "properties.collation")] - public string Collation { get; set; } - - /// - /// Gets or sets the max size of the database expressed in bytes. - /// - [JsonProperty(PropertyName = "properties.maxSizeBytes")] - public long? MaxSizeBytes { get; set; } - - /// - /// Gets the Guid of the database. - /// - [JsonProperty(PropertyName = "properties.databaseGuid")] - public System.Guid? DatabaseGuid { get; private set; } - - /// - /// Gets status of the database. - /// - [JsonProperty(PropertyName = "properties.status")] - public string Status { get; private set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public override void Validate() - { - base.Validate(); - } - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabaseUpdate.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabaseUpdate.cs deleted file mode 100644 index ae300852dc526..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabaseUpdate.cs +++ /dev/null @@ -1,89 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A sql database resource. - /// - [Rest.Serialization.JsonTransformation] - public partial class SqlDatabaseUpdate - { - /// - /// Initializes a new instance of the SqlDatabaseUpdate class. - /// - public SqlDatabaseUpdate() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the SqlDatabaseUpdate class. - /// - /// The collation of the database. - /// The max size of the database expressed - /// in bytes. - /// The Guid of the database. - /// Status of the database. - /// Resource tags. - public SqlDatabaseUpdate(string collation = default(string), long? maxSizeBytes = default(long?), System.Guid? databaseGuid = default(System.Guid?), string status = default(string), IDictionary tags = default(IDictionary)) - { - Collation = collation; - MaxSizeBytes = maxSizeBytes; - DatabaseGuid = databaseGuid; - Status = status; - Tags = tags; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the collation of the database. - /// - [JsonProperty(PropertyName = "properties.collation")] - public string Collation { get; set; } - - /// - /// Gets or sets the max size of the database expressed in bytes. - /// - [JsonProperty(PropertyName = "properties.maxSizeBytes")] - public long? MaxSizeBytes { get; set; } - - /// - /// Gets the Guid of the database. - /// - [JsonProperty(PropertyName = "properties.databaseGuid")] - public System.Guid? DatabaseGuid { get; private set; } - - /// - /// Gets status of the database. - /// - [JsonProperty(PropertyName = "properties.status")] - public string Status { get; private set; } - - /// - /// Gets or sets resource tags. - /// - [JsonProperty(PropertyName = "tags")] - public IDictionary Tags { get; set; } - - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPool.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPool.cs index ffaf842f4e4cd..2c0070770f04a 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPool.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPool.cs @@ -58,7 +58,10 @@ public SqlPool() /// Snapshot time to restore /// What is this? /// Date the SQL pool was created - public SqlPool(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), long? maxSizeBytes = default(long?), string collation = default(string), string sourceDatabaseId = default(string), string recoverableDatabaseId = default(string), string provisioningState = default(string), string status = default(string), string restorePointInTime = default(string), string createMode = default(string), System.DateTime? creationDate = default(System.DateTime?)) + /// The storage account type used to + /// store backups for this sql pool. Possible values include: 'GRS', + /// 'LRS', 'ZRS' + public SqlPool(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), long? maxSizeBytes = default(long?), string collation = default(string), string sourceDatabaseId = default(string), string recoverableDatabaseId = default(string), string provisioningState = default(string), string status = default(string), string restorePointInTime = default(string), string createMode = default(string), System.DateTime? creationDate = default(System.DateTime?), string storageAccountType = default(string)) : base(location, id, name, type, tags) { Sku = sku; @@ -71,6 +74,7 @@ public SqlPool() RestorePointInTime = restorePointInTime; CreateMode = createMode; CreationDate = creationDate; + StorageAccountType = storageAccountType; CustomInit(); } @@ -139,6 +143,13 @@ public SqlPool() [JsonProperty(PropertyName = "properties.creationDate")] public System.DateTime? CreationDate { get; set; } + /// + /// Gets or sets the storage account type used to store backups for + /// this sql pool. Possible values include: 'GRS', 'LRS', 'ZRS' + /// + [JsonProperty(PropertyName = "properties.storageAccountType")] + public string StorageAccountType { get; set; } + /// /// Validate the object. /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolColumn.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolColumn.cs index d6855d12700c6..d27df5410cc67 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolColumn.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolColumn.cs @@ -46,10 +46,13 @@ public SqlPoolColumn() /// 'bigint', 'hierarchyid', 'geometry', 'geography', 'varbinary', /// 'varchar', 'binary', 'char', 'timestamp', 'nvarchar', 'nchar', /// 'xml', 'sysname' - public SqlPoolColumn(string id = default(string), string name = default(string), string type = default(string), string columnType = default(string)) + /// Indicates whether column value is computed + /// or not + public SqlPoolColumn(string id = default(string), string name = default(string), string type = default(string), string columnType = default(string), bool? isComputed = default(bool?)) : base(id, name, type) { ColumnType = columnType; + IsComputed = isComputed; CustomInit(); } @@ -70,5 +73,11 @@ public SqlPoolColumn() [JsonProperty(PropertyName = "properties.columnType")] public string ColumnType { get; set; } + /// + /// Gets indicates whether column value is computed or not + /// + [JsonProperty(PropertyName = "properties.isComputed")] + public bool? IsComputed { get; private set; } + } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolPatchInfo.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolPatchInfo.cs index e7548e4647d7e..eb08db0c243d1 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolPatchInfo.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolPatchInfo.cs @@ -52,7 +52,10 @@ public SqlPoolPatchInfo() /// Snapshot time to restore /// What is this? /// Date the SQL pool was created - public SqlPoolPatchInfo(IDictionary tags = default(IDictionary), string location = default(string), Sku sku = default(Sku), long? maxSizeBytes = default(long?), string collation = default(string), string sourceDatabaseId = default(string), string recoverableDatabaseId = default(string), string provisioningState = default(string), string status = default(string), string restorePointInTime = default(string), string createMode = default(string), System.DateTime? creationDate = default(System.DateTime?)) + /// The storage account type used to + /// store backups for this sql pool. Possible values include: 'GRS', + /// 'LRS', 'ZRS' + public SqlPoolPatchInfo(IDictionary tags = default(IDictionary), string location = default(string), Sku sku = default(Sku), long? maxSizeBytes = default(long?), string collation = default(string), string sourceDatabaseId = default(string), string recoverableDatabaseId = default(string), string provisioningState = default(string), string status = default(string), string restorePointInTime = default(string), string createMode = default(string), System.DateTime? creationDate = default(System.DateTime?), string storageAccountType = default(string)) { Tags = tags; Location = location; @@ -66,6 +69,7 @@ public SqlPoolPatchInfo() RestorePointInTime = restorePointInTime; CreateMode = createMode; CreationDate = creationDate; + StorageAccountType = storageAccountType; CustomInit(); } @@ -146,5 +150,12 @@ public SqlPoolPatchInfo() [JsonProperty(PropertyName = "properties.creationDate")] public System.DateTime? CreationDate { get; set; } + /// + /// Gets or sets the storage account type used to store backups for + /// this sql pool. Possible values include: 'GRS', 'LRS', 'ZRS' + /// + [JsonProperty(PropertyName = "properties.storageAccountType")] + public string StorageAccountType { get; set; } + } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolStatus.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolStatus.cs deleted file mode 100644 index 11ae239a50c96..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolStatus.cs +++ /dev/null @@ -1,32 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse.Models -{ - - /// - /// Defines values for SqlPoolStatus. - /// - public static class SqlPoolStatus - { - public const string Invisible = "Invisible"; - public const string Online = "Online"; - public const string Offline = "Offline"; - public const string Creating = "Creating"; - public const string Inaccessible = "Inaccessible"; - public const string Pausing = "Pausing"; - public const string Paused = "Paused"; - public const string Resuming = "Resuming"; - public const string Scaling = "Scaling"; - public const string Dropping = "Dropping"; - public const string Error = "Error"; - public const string Unknown = "Unknown"; - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolUpdate.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolUpdate.cs deleted file mode 100644 index 11fd076fab78f..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolUpdate.cs +++ /dev/null @@ -1,117 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A sql pool resource. - /// - [Rest.Serialization.JsonTransformation] - public partial class SqlPoolUpdate - { - /// - /// Initializes a new instance of the SqlPoolUpdate class. - /// - public SqlPoolUpdate() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the SqlPoolUpdate class. - /// - /// The name and tier of the SKU. - /// The status of the sql pool. Possible values - /// include: 'Invisible', 'Online', 'Offline', 'Creating', - /// 'Inaccessible', 'Pausing', 'Paused', 'Resuming', 'Scaling', - /// 'Dropping', 'Error', 'Unknown' - /// The Guid of the sql pool. - /// The current service level - /// objective name of the sql pool. - /// The requested service - /// level objective name of the sql pool. - /// Resource tags. - public SqlPoolUpdate(Sku sku = default(Sku), string status = default(string), System.Guid? sqlPoolGuid = default(System.Guid?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), IDictionary tags = default(IDictionary)) - { - Sku = sku; - Status = status; - SqlPoolGuid = sqlPoolGuid; - CurrentServiceObjectiveName = currentServiceObjectiveName; - RequestedServiceObjectiveName = requestedServiceObjectiveName; - Tags = tags; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the name and tier of the SKU. - /// - [JsonProperty(PropertyName = "sku")] - public Sku Sku { get; set; } - - /// - /// Gets the status of the sql pool. Possible values include: - /// 'Invisible', 'Online', 'Offline', 'Creating', 'Inaccessible', - /// 'Pausing', 'Paused', 'Resuming', 'Scaling', 'Dropping', 'Error', - /// 'Unknown' - /// - [JsonProperty(PropertyName = "properties.status")] - public string Status { get; private set; } - - /// - /// Gets the Guid of the sql pool. - /// - [JsonProperty(PropertyName = "properties.sqlPoolGuid")] - public System.Guid? SqlPoolGuid { get; private set; } - - /// - /// Gets the current service level objective name of the sql pool. - /// - [JsonProperty(PropertyName = "properties.currentServiceObjectiveName")] - public string CurrentServiceObjectiveName { get; private set; } - - /// - /// Gets the requested service level objective name of the sql pool. - /// - [JsonProperty(PropertyName = "properties.requestedServiceObjectiveName")] - public string RequestedServiceObjectiveName { get; private set; } - - /// - /// Gets or sets resource tags. - /// - [JsonProperty(PropertyName = "tags")] - public IDictionary Tags { get; set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public virtual void Validate() - { - if (Sku != null) - { - Sku.Validate(); - } - } - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolV3.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolV3.cs deleted file mode 100644 index 7711c394d48eb..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolV3.cs +++ /dev/null @@ -1,138 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Serialization; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - - /// - /// A sql pool resource. - /// - [Rest.Serialization.JsonTransformation] - public partial class SqlPoolV3 : TrackedResource - { - /// - /// Initializes a new instance of the SqlPoolV3 class. - /// - public SqlPoolV3() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the SqlPoolV3 class. - /// - /// The geo-location where the resource - /// lives - /// Fully qualified resource ID for the resource. Ex - - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - /// The name of the resource - /// The type of the resource. E.g. - /// "Microsoft.Compute/virtualMachines" or - /// "Microsoft.Storage/storageAccounts" - /// Resource tags. - /// The sql pool SKU. The list of SKUs may vary by - /// region and support offer. - /// Kind of SqlPool. - /// SystemData of SqlPool. - /// The status of the sql pool. Possible values - /// include: 'Invisible', 'Online', 'Offline', 'Creating', - /// 'Inaccessible', 'Pausing', 'Paused', 'Resuming', 'Scaling', - /// 'Dropping', 'Error', 'Unknown' - /// The Guid of the sql pool. - /// The current service level - /// objective name of the sql pool. - /// The requested service - /// level objective name of the sql pool. - public SqlPoolV3(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), string kind = default(string), SystemData systemData = default(SystemData), string status = default(string), System.Guid? sqlPoolGuid = default(System.Guid?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string)) - : base(location, id, name, type, tags) - { - Sku = sku; - Kind = kind; - SystemData = systemData; - Status = status; - SqlPoolGuid = sqlPoolGuid; - CurrentServiceObjectiveName = currentServiceObjectiveName; - RequestedServiceObjectiveName = requestedServiceObjectiveName; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets or sets the sql pool SKU. The list of SKUs may vary by region - /// and support offer. - /// - [JsonProperty(PropertyName = "sku")] - public Sku Sku { get; set; } - - /// - /// Gets kind of SqlPool. - /// - [JsonProperty(PropertyName = "kind")] - public string Kind { get; private set; } - - /// - /// Gets systemData of SqlPool. - /// - [JsonProperty(PropertyName = "systemData")] - public SystemData SystemData { get; private set; } - - /// - /// Gets the status of the sql pool. Possible values include: - /// 'Invisible', 'Online', 'Offline', 'Creating', 'Inaccessible', - /// 'Pausing', 'Paused', 'Resuming', 'Scaling', 'Dropping', 'Error', - /// 'Unknown' - /// - [JsonProperty(PropertyName = "properties.status")] - public string Status { get; private set; } - - /// - /// Gets the Guid of the sql pool. - /// - [JsonProperty(PropertyName = "properties.sqlPoolGuid")] - public System.Guid? SqlPoolGuid { get; private set; } - - /// - /// Gets the current service level objective name of the sql pool. - /// - [JsonProperty(PropertyName = "properties.currentServiceObjectiveName")] - public string CurrentServiceObjectiveName { get; private set; } - - /// - /// Gets the requested service level objective name of the sql pool. - /// - [JsonProperty(PropertyName = "properties.requestedServiceObjectiveName")] - public string RequestedServiceObjectiveName { get; private set; } - - /// - /// Validate the object. - /// - /// - /// Thrown if validation fails - /// - public override void Validate() - { - base.Validate(); - if (Sku != null) - { - Sku.Validate(); - } - } - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/StorageAccountType.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/StorageAccountType.cs new file mode 100644 index 0000000000000..8f3102a51a6a4 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/StorageAccountType.cs @@ -0,0 +1,23 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse.Models +{ + + /// + /// Defines values for StorageAccountType. + /// + public static class StorageAccountType + { + public const string GRS = "GRS"; + public const string LRS = "LRS"; + public const string ZRS = "ZRS"; + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SystemData.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SystemData.cs deleted file mode 100644 index 46993a5f49258..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SystemData.cs +++ /dev/null @@ -1,109 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse.Models -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Newtonsoft.Json; - using System.Linq; - - /// - /// ARM System Data. - /// - public partial class SystemData : IResource - { - /// - /// Initializes a new instance of the SystemData class. - /// - public SystemData() - { - CustomInit(); - } - - /// - /// Initializes a new instance of the SystemData class. - /// - /// A string identifier for the identity that - /// created the resource. - /// The type of identity that created the - /// resource: <User|Application|ManagedIdentity|Key>. Possible - /// values include: 'User', 'Application', 'ManagedIdentity', - /// 'Key' - /// The timestamp of resource creation - /// (UTC). - /// A string identifier for the identity - /// that last modified the resource. - /// The type of identity that last - /// modified the resource: - /// <User|Application|ManagedIdentity|Key>. Possible values - /// include: 'User', 'Application', 'ManagedIdentity', 'Key' - /// The timestamp of last modification - /// (UTC). - public SystemData(string createdBy = default(string), string createdByType = default(string), System.DateTime? createdAt = default(System.DateTime?), string lastModifiedBy = default(string), string lastModifiedByType = default(string), System.DateTime? lastModifiedAt = default(System.DateTime?)) - { - CreatedBy = createdBy; - CreatedByType = createdByType; - CreatedAt = createdAt; - LastModifiedBy = lastModifiedBy; - LastModifiedByType = lastModifiedByType; - LastModifiedAt = lastModifiedAt; - CustomInit(); - } - - /// - /// An initialization method that performs custom operations like setting defaults - /// - partial void CustomInit(); - - /// - /// Gets a string identifier for the identity that created the - /// resource. - /// - [JsonProperty(PropertyName = "createdBy")] - public string CreatedBy { get; private set; } - - /// - /// Gets the type of identity that created the resource: - /// &lt;User|Application|ManagedIdentity|Key&gt;. Possible - /// values include: 'User', 'Application', 'ManagedIdentity', 'Key' - /// - [JsonProperty(PropertyName = "createdByType")] - public string CreatedByType { get; private set; } - - /// - /// Gets the timestamp of resource creation (UTC). - /// - [JsonProperty(PropertyName = "createdAt")] - public System.DateTime? CreatedAt { get; private set; } - - /// - /// Gets a string identifier for the identity that last modified the - /// resource. - /// - [JsonProperty(PropertyName = "lastModifiedBy")] - public string LastModifiedBy { get; private set; } - - /// - /// Gets the type of identity that last modified the resource: - /// &lt;User|Application|ManagedIdentity|Key&gt;. Possible - /// values include: 'User', 'Application', 'ManagedIdentity', 'Key' - /// - [JsonProperty(PropertyName = "lastModifiedByType")] - public string LastModifiedByType { get; private set; } - - /// - /// Gets the timestamp of last modification (UTC). - /// - [JsonProperty(PropertyName = "lastModifiedAt")] - public System.DateTime? LastModifiedAt { get; private set; } - - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Workspace.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Workspace.cs index 957c8e2e343dc..668cc527a3cf5 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Workspace.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Workspace.cs @@ -73,8 +73,9 @@ public Workspace() /// Git integration /// settings /// Purview Configuration + /// The ADLA resource ID. /// Identity of the workspace - public Workspace(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), DataLakeStorageAccountDetails defaultDataLakeStorage = default(DataLakeStorageAccountDetails), string sqlAdministratorLoginPassword = default(string), string managedResourceGroupName = default(string), string provisioningState = default(string), string sqlAdministratorLogin = default(string), VirtualNetworkProfile virtualNetworkProfile = default(VirtualNetworkProfile), IDictionary connectivityEndpoints = default(IDictionary), string managedVirtualNetwork = default(string), IList privateEndpointConnections = default(IList), EncryptionDetails encryption = default(EncryptionDetails), System.Guid? workspaceUID = default(System.Guid?), IDictionary extraProperties = default(IDictionary), ManagedVirtualNetworkSettings managedVirtualNetworkSettings = default(ManagedVirtualNetworkSettings), WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration = default(WorkspaceRepositoryConfiguration), PurviewConfiguration purviewConfiguration = default(PurviewConfiguration), ManagedIdentity identity = default(ManagedIdentity)) + public Workspace(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), DataLakeStorageAccountDetails defaultDataLakeStorage = default(DataLakeStorageAccountDetails), string sqlAdministratorLoginPassword = default(string), string managedResourceGroupName = default(string), string provisioningState = default(string), string sqlAdministratorLogin = default(string), VirtualNetworkProfile virtualNetworkProfile = default(VirtualNetworkProfile), IDictionary connectivityEndpoints = default(IDictionary), string managedVirtualNetwork = default(string), IList privateEndpointConnections = default(IList), EncryptionDetails encryption = default(EncryptionDetails), System.Guid? workspaceUID = default(System.Guid?), IDictionary extraProperties = default(IDictionary), ManagedVirtualNetworkSettings managedVirtualNetworkSettings = default(ManagedVirtualNetworkSettings), WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration = default(WorkspaceRepositoryConfiguration), PurviewConfiguration purviewConfiguration = default(PurviewConfiguration), string adlaResourceId = default(string), ManagedIdentity identity = default(ManagedIdentity)) : base(location, id, name, type, tags) { DefaultDataLakeStorage = defaultDataLakeStorage; @@ -92,6 +93,7 @@ public Workspace() ManagedVirtualNetworkSettings = managedVirtualNetworkSettings; WorkspaceRepositoryConfiguration = workspaceRepositoryConfiguration; PurviewConfiguration = purviewConfiguration; + AdlaResourceId = adlaResourceId; Identity = identity; CustomInit(); } @@ -198,6 +200,12 @@ public Workspace() [JsonProperty(PropertyName = "properties.purviewConfiguration")] public PurviewConfiguration PurviewConfiguration { get; set; } + /// + /// Gets the ADLA resource ID. + /// + [JsonProperty(PropertyName = "properties.adlaResourceId")] + public string AdlaResourceId { get; private set; } + /// /// Gets or sets identity of the workspace /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspaceRepositoryConfiguration.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspaceRepositoryConfiguration.cs index ab97da560b461..1e5aafbeb51b6 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspaceRepositoryConfiguration.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspaceRepositoryConfiguration.cs @@ -42,7 +42,9 @@ public WorkspaceRepositoryConfiguration() /// Collaboration branch /// Root folder to use in the /// repository - public WorkspaceRepositoryConfiguration(string type = default(string), string hostName = default(string), string accountName = default(string), string projectName = default(string), string repositoryName = default(string), string collaborationBranch = default(string), string rootFolder = default(string)) + /// The last commit ID + /// The VSTS tenant ID + public WorkspaceRepositoryConfiguration(string type = default(string), string hostName = default(string), string accountName = default(string), string projectName = default(string), string repositoryName = default(string), string collaborationBranch = default(string), string rootFolder = default(string), string lastCommitId = default(string), System.Guid? tenantId = default(System.Guid?)) { Type = type; HostName = hostName; @@ -51,6 +53,8 @@ public WorkspaceRepositoryConfiguration() RepositoryName = repositoryName; CollaborationBranch = collaborationBranch; RootFolder = rootFolder; + LastCommitId = lastCommitId; + TenantId = tenantId; CustomInit(); } @@ -103,5 +107,17 @@ public WorkspaceRepositoryConfiguration() [JsonProperty(PropertyName = "rootFolder")] public string RootFolder { get; set; } + /// + /// Gets or sets the last commit ID + /// + [JsonProperty(PropertyName = "lastCommitId")] + public string LastCommitId { get; set; } + + /// + /// Gets or sets the VSTS tenant ID + /// + [JsonProperty(PropertyName = "tenantId")] + public System.Guid? TenantId { get; set; } + } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Operations.cs index f791880cefa07..973190da2d187 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Operations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Operations.cs @@ -65,7 +65,7 @@ internal Operations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -194,11 +194,11 @@ internal Operations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -266,7 +266,7 @@ internal Operations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -351,11 +351,11 @@ internal Operations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -432,7 +432,7 @@ internal Operations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -580,11 +580,11 @@ internal Operations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -643,7 +643,7 @@ internal Operations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -794,11 +794,11 @@ internal Operations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 404) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsOperations.cs index 85b69fafe152d..e18fa98c46127 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsOperations.cs @@ -68,7 +68,7 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -219,11 +219,11 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -347,7 +347,7 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -492,11 +492,11 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -573,7 +573,7 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -735,11 +735,11 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -831,7 +831,7 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -982,11 +982,11 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1054,7 +1054,7 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1150,11 +1150,11 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsPrivateLinkHubOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsPrivateLinkHubOperations.cs index c1087524c9099..67386f60459da 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsPrivateLinkHubOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsPrivateLinkHubOperations.cs @@ -65,7 +65,7 @@ internal PrivateEndpointConnectionsPrivateLinkHubOperations(SynapseManagementCli /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -210,11 +210,11 @@ internal PrivateEndpointConnectionsPrivateLinkHubOperations(SynapseManagementCli string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -282,7 +282,7 @@ internal PrivateEndpointConnectionsPrivateLinkHubOperations(SynapseManagementCli /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -378,11 +378,11 @@ internal PrivateEndpointConnectionsPrivateLinkHubOperations(SynapseManagementCli string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperations.cs similarity index 81% rename from sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3Operations.cs rename to sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperations.cs index 40607db2e4a39..de43bc7b73a90 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3Operations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperations.cs @@ -23,12 +23,12 @@ namespace Microsoft.Azure.Management.Synapse using System.Threading.Tasks; /// - /// SqlV3Operations operations. + /// PrivateLinkHubPrivateLinkResourcesOperations operations. /// - internal partial class SqlV3Operations : IServiceOperations, ISqlV3Operations + internal partial class PrivateLinkHubPrivateLinkResourcesOperations : IServiceOperations, IPrivateLinkHubPrivateLinkResourcesOperations { /// - /// Initializes a new instance of the SqlV3Operations class. + /// Initializes a new instance of the PrivateLinkHubPrivateLinkResourcesOperations class. /// /// /// Reference to the service client. @@ -36,7 +36,7 @@ internal partial class SqlV3Operations : IServiceOperations /// Thrown when a required parameter is null /// - internal SqlV3Operations(SynapseSqlV3ManagementClient client) + internal PrivateLinkHubPrivateLinkResourcesOperations(SynapseManagementClient client) { if (client == null) { @@ -46,33 +46,90 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) } /// - /// Gets a reference to the SynapseSqlV3ManagementClient + /// Gets a reference to the SynapseManagementClient /// - public SynapseSqlV3ManagementClient Client { get; private set; } + public SynapseManagementClient Client { get; private set; } /// - /// All operations + /// Private Link Resources /// /// - /// Get all available operations + /// Get all private link resources for a private link hub /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the private link hub + /// /// /// Headers that will be added to request. /// /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// /// Thrown when unable to deserialize the response /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// /// /// A response object containing the response body and response headers. /// - public async Task>> ListWithHttpMessagesAsync(Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string privateLinkHubName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (privateLinkHubName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "privateLinkHubName"); + } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -80,13 +137,22 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("privateLinkHubName", privateLinkHubName); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "providers/Microsoft.Synapse/operations").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}/privateLinkResources").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{privateLinkHubName}", System.Uri.EscapeDataString(privateLinkHubName)); List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -147,11 +213,11 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -175,7 +241,7 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -188,7 +254,7 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -208,19 +274,19 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) } /// - /// Get operation result + /// Get Private Link Hub Private Link Resource /// /// - /// Get the result of an operation + /// Get private link resource in private link hub /// /// /// The name of the resource group. The name is case insensitive. /// - /// - /// The name of the workspace. + /// + /// The name of the private link hub /// - /// - /// Operation ID + /// + /// The name of the private link resource /// /// /// Headers that will be added to request. @@ -228,9 +294,12 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when unable to deserialize the response + /// /// /// Thrown when a required parameter is null /// @@ -240,7 +309,7 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task GetLocationHeaderResultWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string privateLinkHubName, string privateLinkResourceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.ApiVersion == null) { @@ -283,13 +352,13 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); } } - if (workspaceName == null) + if (privateLinkHubName == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + throw new ValidationException(ValidationRules.CannotBeNull, "privateLinkHubName"); } - if (operationId == null) + if (privateLinkResourceName == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + throw new ValidationException(ValidationRules.CannotBeNull, "privateLinkResourceName"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -299,18 +368,18 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("operationId", operationId); + tracingParameters.Add("privateLinkHubName", privateLinkHubName); + tracingParameters.Add("privateLinkResourceName", privateLinkResourceName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetLocationHeaderResult", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/operationResults/{operationId}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}/privateLinkResources/{privateLinkResourceName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + _url = _url.Replace("{privateLinkHubName}", System.Uri.EscapeDataString(privateLinkHubName)); + _url = _url.Replace("{privateLinkResourceName}", System.Uri.EscapeDataString(privateLinkResourceName)); List _queryParameters = new List(); if (Client.ApiVersion != null) { @@ -374,13 +443,13 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 204) + if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -404,13 +473,31 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -419,19 +506,13 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) } /// - /// Get operation status + /// Private Link Resources /// /// - /// Get the status of an operation + /// Get all private link resources for a private link hub /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// Operation ID + /// + /// The NextLink from the previous successful call to List operation. /// /// /// Headers that will be added to request. @@ -439,7 +520,7 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -454,56 +535,11 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetAzureAsyncHeaderResultWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (Client.ApiVersion != null) - { - if (Client.ApiVersion.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); - } - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (Client.SubscriptionId != null) - { - if (Client.SubscriptionId.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length > 90) - { - throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (workspaceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); - } - if (operationId == null) + if (nextPageLink == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -512,24 +548,14 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) { _invocationId = ServiceClientTracing.NextInvocationId.ToString(); Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("operationId", operationId); + tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "GetAzureAsyncHeaderResult", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); } // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/operationStatuses/{operationId}").ToString(); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); List _queryParameters = new List(); - if (Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); - } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -590,11 +616,11 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -618,7 +644,7 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -631,7 +657,7 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperationsExtensions.cs new file mode 100644 index 0000000000000..506c8c1fa5535 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperationsExtensions.cs @@ -0,0 +1,163 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for PrivateLinkHubPrivateLinkResourcesOperations. + /// + public static partial class PrivateLinkHubPrivateLinkResourcesOperationsExtensions + { + /// + /// Private Link Resources + /// + /// + /// Get all private link resources for a private link hub + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the private link hub + /// + public static IPage List(this IPrivateLinkHubPrivateLinkResourcesOperations operations, string resourceGroupName, string privateLinkHubName) + { + return operations.ListAsync(resourceGroupName, privateLinkHubName).GetAwaiter().GetResult(); + } + + /// + /// Private Link Resources + /// + /// + /// Get all private link resources for a private link hub + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the private link hub + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IPrivateLinkHubPrivateLinkResourcesOperations operations, string resourceGroupName, string privateLinkHubName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, privateLinkHubName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get Private Link Hub Private Link Resource + /// + /// + /// Get private link resource in private link hub + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the private link hub + /// + /// + /// The name of the private link resource + /// + public static PrivateLinkResource Get(this IPrivateLinkHubPrivateLinkResourcesOperations operations, string resourceGroupName, string privateLinkHubName, string privateLinkResourceName) + { + return operations.GetAsync(resourceGroupName, privateLinkHubName, privateLinkResourceName).GetAwaiter().GetResult(); + } + + /// + /// Get Private Link Hub Private Link Resource + /// + /// + /// Get private link resource in private link hub + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the private link hub + /// + /// + /// The name of the private link resource + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IPrivateLinkHubPrivateLinkResourcesOperations operations, string resourceGroupName, string privateLinkHubName, string privateLinkResourceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, privateLinkHubName, privateLinkResourceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Private Link Resources + /// + /// + /// Get all private link resources for a private link hub + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this IPrivateLinkHubPrivateLinkResourcesOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Private Link Resources + /// + /// + /// Get all private link resources for a private link hub + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this IPrivateLinkHubPrivateLinkResourcesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubsOperations.cs index e341efd48b7f8..9b6d0ee588afb 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubsOperations.cs @@ -62,7 +62,7 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -201,11 +201,11 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -276,7 +276,7 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -421,11 +421,11 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -499,7 +499,7 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -655,11 +655,11 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -751,7 +751,7 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -911,11 +911,11 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1020,7 +1020,7 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1138,11 +1138,11 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1213,7 +1213,7 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1355,11 +1355,11 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1409,7 +1409,7 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1505,11 +1505,11 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1577,7 +1577,7 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1673,11 +1673,11 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkResourcesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkResourcesOperations.cs index 0fd1306c42d5e..91d34ab9dabb5 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkResourcesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkResourcesOperations.cs @@ -68,7 +68,7 @@ internal PrivateLinkResourcesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -213,11 +213,11 @@ internal PrivateLinkResourcesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -294,7 +294,7 @@ internal PrivateLinkResourcesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -445,11 +445,11 @@ internal PrivateLinkResourcesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -520,7 +520,7 @@ internal PrivateLinkResourcesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -616,11 +616,11 @@ internal PrivateLinkResourcesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/RestorableDroppedSqlPoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/RestorableDroppedSqlPoolsOperations.cs index 57d2c93a6a762..11ab34384d3af 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/RestorableDroppedSqlPoolsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/RestorableDroppedSqlPoolsOperations.cs @@ -69,7 +69,7 @@ internal RestorableDroppedSqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -220,11 +220,11 @@ internal RestorableDroppedSqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -295,7 +295,7 @@ internal RestorableDroppedSqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -440,11 +440,11 @@ internal RestorableDroppedSqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs index 325b80826114d..df120cc3134ab 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs @@ -19,61 +19,65 @@ public static IEnumerable> ApiInfo_SynapseManageme { return new Tuple[] { - new Tuple("Synapse", "BigDataPools", "2019-06-01-preview"), - new Tuple("Synapse", "DataMaskingPolicies", "2019-06-01-preview"), - new Tuple("Synapse", "DataMaskingRules", "2019-06-01-preview"), - new Tuple("Synapse", "ExtendedSqlPoolBlobAuditingPolicies", "2019-06-01-preview"), - new Tuple("Synapse", "IntegrationRuntimeAuthKeys", "2019-06-01-preview"), - new Tuple("Synapse", "IntegrationRuntimeConnectionInfos", "2019-06-01-preview"), - new Tuple("Synapse", "IntegrationRuntimeCredentials", "2019-06-01-preview"), - new Tuple("Synapse", "IntegrationRuntimeMonitoringData", "2019-06-01-preview"), - new Tuple("Synapse", "IntegrationRuntimeNodeIpAddress", "2019-06-01-preview"), - new Tuple("Synapse", "IntegrationRuntimeNodes", "2019-06-01-preview"), - new Tuple("Synapse", "IntegrationRuntimeObjectMetadata", "2019-06-01-preview"), - new Tuple("Synapse", "IntegrationRuntimeStatus", "2019-06-01-preview"), - new Tuple("Synapse", "IntegrationRuntimes", "2019-06-01-preview"), - new Tuple("Synapse", "IpFirewallRules", "2019-06-01-preview"), - new Tuple("Synapse", "Keys", "2019-06-01-preview"), - new Tuple("Synapse", "Operations", "2019-06-01-preview"), - new Tuple("Synapse", "PrivateEndpointConnections", "2019-06-01-preview"), - new Tuple("Synapse", "PrivateEndpointConnectionsPrivateLinkHub", "2019-06-01-preview"), - new Tuple("Synapse", "PrivateLinkHubs", "2019-06-01-preview"), - new Tuple("Synapse", "PrivateLinkResources", "2019-06-01-preview"), - new Tuple("Synapse", "RestorableDroppedSqlPools", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolBlobAuditingPolicies", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolColumns", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolConnectionPolicies", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolDataWarehouseUserActivities", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolGeoBackupPolicies", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolMetadataSyncConfigs", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolOperationResults", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolOperations", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolReplicationLinks", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolRestorePoints", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolSchemas", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolSecurityAlertPolicies", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolSensitivityLabels", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolTableColumns", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolTables", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolTransparentDataEncryptions", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolUsages", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolVulnerabilityAssessmentRuleBaselines", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolVulnerabilityAssessmentScans", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolVulnerabilityAssessments", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolWorkloadClassifier", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPoolWorkloadGroup", "2019-06-01-preview"), - new Tuple("Synapse", "SqlPools", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceAadAdmins", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceManagedIdentitySqlControlSettings", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceManagedSqlServerBlobAuditingPolicies", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceManagedSqlServerExtendedBlobAuditingPolicies", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceManagedSqlServerRecoverableSqlPools", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceManagedSqlServerRecoverableSqlpools", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceManagedSqlServerSecurityAlertPolicy", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceManagedSqlServerUsages", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceManagedSqlServerVulnerabilityAssessments", "2019-06-01-preview"), - new Tuple("Synapse", "WorkspaceSqlAadAdmins", "2019-06-01-preview"), - new Tuple("Synapse", "Workspaces", "2019-06-01-preview"), + new Tuple("Synapse", "BigDataPools", "2020-12-01"), + new Tuple("Synapse", "DataMaskingPolicies", "2020-12-01"), + new Tuple("Synapse", "DataMaskingRules", "2020-12-01"), + new Tuple("Synapse", "ExtendedSqlPoolBlobAuditingPolicies", "2020-12-01"), + new Tuple("Synapse", "IntegrationRuntimeAuthKeys", "2020-12-01"), + new Tuple("Synapse", "IntegrationRuntimeConnectionInfos", "2020-12-01"), + new Tuple("Synapse", "IntegrationRuntimeCredentials", "2020-12-01"), + new Tuple("Synapse", "IntegrationRuntimeMonitoringData", "2020-12-01"), + new Tuple("Synapse", "IntegrationRuntimeNodeIpAddress", "2020-12-01"), + new Tuple("Synapse", "IntegrationRuntimeNodes", "2020-12-01"), + new Tuple("Synapse", "IntegrationRuntimeObjectMetadata", "2020-12-01"), + new Tuple("Synapse", "IntegrationRuntimeStatus", "2020-12-01"), + new Tuple("Synapse", "IntegrationRuntimes", "2020-12-01"), + new Tuple("Synapse", "IpFirewallRules", "2020-12-01"), + new Tuple("Synapse", "Keys", "2020-12-01"), + new Tuple("Synapse", "Operations", "2020-12-01"), + new Tuple("Synapse", "PrivateEndpointConnections", "2020-12-01"), + new Tuple("Synapse", "PrivateEndpointConnectionsPrivateLinkHub", "2020-12-01"), + new Tuple("Synapse", "PrivateLinkHubPrivateLinkResources", "2020-12-01"), + new Tuple("Synapse", "PrivateLinkHubs", "2020-12-01"), + new Tuple("Synapse", "PrivateLinkResources", "2020-12-01"), + new Tuple("Synapse", "RestorableDroppedSqlPools", "2020-12-01"), + new Tuple("Synapse", "SqlPoolBlobAuditingPolicies", "2020-12-01"), + new Tuple("Synapse", "SqlPoolColumns", "2020-12-01"), + new Tuple("Synapse", "SqlPoolConnectionPolicies", "2020-12-01"), + new Tuple("Synapse", "SqlPoolDataWarehouseUserActivities", "2020-12-01"), + new Tuple("Synapse", "SqlPoolGeoBackupPolicies", "2020-12-01"), + new Tuple("Synapse", "SqlPoolMaintenanceWindowOptions", "2020-12-01"), + new Tuple("Synapse", "SqlPoolMaintenanceWindows", "2020-12-01"), + new Tuple("Synapse", "SqlPoolMetadataSyncConfigs", "2020-12-01"), + new Tuple("Synapse", "SqlPoolOperationResults", "2020-12-01"), + new Tuple("Synapse", "SqlPoolOperations", "2020-12-01"), + new Tuple("Synapse", "SqlPoolRecommendedSensitivityLabels", "2020-12-01"), + new Tuple("Synapse", "SqlPoolReplicationLinks", "2020-12-01"), + new Tuple("Synapse", "SqlPoolRestorePoints", "2020-12-01"), + new Tuple("Synapse", "SqlPoolSchemas", "2020-12-01"), + new Tuple("Synapse", "SqlPoolSecurityAlertPolicies", "2020-12-01"), + new Tuple("Synapse", "SqlPoolSensitivityLabels", "2020-12-01"), + new Tuple("Synapse", "SqlPoolTableColumns", "2020-12-01"), + new Tuple("Synapse", "SqlPoolTables", "2020-12-01"), + new Tuple("Synapse", "SqlPoolTransparentDataEncryptions", "2020-12-01"), + new Tuple("Synapse", "SqlPoolUsages", "2020-12-01"), + new Tuple("Synapse", "SqlPoolVulnerabilityAssessmentRuleBaselines", "2020-12-01"), + new Tuple("Synapse", "SqlPoolVulnerabilityAssessmentScans", "2020-12-01"), + new Tuple("Synapse", "SqlPoolVulnerabilityAssessments", "2020-12-01"), + new Tuple("Synapse", "SqlPoolWorkloadClassifier", "2020-12-01"), + new Tuple("Synapse", "SqlPoolWorkloadGroup", "2020-12-01"), + new Tuple("Synapse", "SqlPools", "2020-12-01"), + new Tuple("Synapse", "WorkspaceAadAdmins", "2020-12-01"), + new Tuple("Synapse", "WorkspaceManagedIdentitySqlControlSettings", "2020-12-01"), + new Tuple("Synapse", "WorkspaceManagedSqlServerBlobAuditingPolicies", "2020-12-01"), + new Tuple("Synapse", "WorkspaceManagedSqlServerEncryptionProtector", "2020-12-01"), + new Tuple("Synapse", "WorkspaceManagedSqlServerExtendedBlobAuditingPolicies", "2020-12-01"), + new Tuple("Synapse", "WorkspaceManagedSqlServerRecoverableSqlPools", "2020-12-01"), + new Tuple("Synapse", "WorkspaceManagedSqlServerSecurityAlertPolicy", "2020-12-01"), + new Tuple("Synapse", "WorkspaceManagedSqlServerUsages", "2020-12-01"), + new Tuple("Synapse", "WorkspaceManagedSqlServerVulnerabilityAssessments", "2020-12-01"), + new Tuple("Synapse", "WorkspaceSqlAadAdmins", "2020-12-01"), + new Tuple("Synapse", "Workspaces", "2020-12-01"), }.AsEnumerable(); } } @@ -83,9 +87,10 @@ public static IEnumerable> ApiInfo_SynapseManageme public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/synapse/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\code\\AzureSDK\\azure-sdk-for-net\\sdk"; public static readonly String GithubForkName = "Azure"; public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "dbb0a6fd623196f0db6b461b0f3f54e284e3a9e4"; + public static readonly String GithubCommidId = "414f8e976403d597a2cab55e22d417c666eac84b"; public static readonly String CodeGenerationErrors = ""; public static readonly String GithubRepoName = "azure-rest-api-specs"; // END: Code Generation Metadata Section } } + diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs deleted file mode 100644 index 55467ab958c7f..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs +++ /dev/null @@ -1,30 +0,0 @@ - -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. -// - -namespace Microsoft.Azure.Management.Synapse -{ - using System; - using System.Collections.Generic; - using System.Linq; - - internal static partial class SdkInfo - { - public static IEnumerable> ApiInfo_SynapseSqlVManagementClient - { - get - { - return new Tuple[] - { - new Tuple("Synapse", "SqlDatabases", "2020-04-01-preview"), - new Tuple("Synapse", "SqlPoolsV3", "2020-04-01-preview"), - new Tuple("Synapse", "SqlV3Operations", "2020-04-01-preview"), - }.AsEnumerable(); - } - } - } -} - diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperations.cs deleted file mode 100644 index c43b6c90158e9..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperations.cs +++ /dev/null @@ -1,1468 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - using System.Net; - using System.Net.Http; - using System.Threading; - using System.Threading.Tasks; - - /// - /// SqlDatabasesOperations operations. - /// - internal partial class SqlDatabasesOperations : IServiceOperations, ISqlDatabasesOperations - { - /// - /// Initializes a new instance of the SqlDatabasesOperations class. - /// - /// - /// Reference to the service client. - /// - /// - /// Thrown when a required parameter is null - /// - internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client) - { - if (client == null) - { - throw new System.ArgumentNullException("client"); - } - Client = client; - } - - /// - /// Gets a reference to the SynapseSqlV3ManagementClient - /// - public SynapseSqlV3ManagementClient Client { get; private set; } - - /// - /// Gets a SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length > 90) - { - throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (workspaceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); - } - if (sqlDatabaseName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "sqlDatabaseName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (Client.SubscriptionId != null) - { - if (Client.SubscriptionId.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (Client.ApiVersion != null) - { - if (Client.ApiVersion.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); - } - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("sqlDatabaseName", sqlDatabaseName); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlDatabases/{sqlDatabaseName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{sqlDatabaseName}", System.Uri.EscapeDataString(sqlDatabaseName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Creates a new SqlDatabase or updates an existing SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabase parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send Request - AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Deletes the SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Updates an existing database. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabaseUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send Request - AzureOperationResponse _response = await BeginUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Gets a list of sql databases. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task>> ListByWorkspaceWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length > 90) - { - throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (workspaceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (Client.SubscriptionId != null) - { - if (Client.SubscriptionId.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (Client.ApiVersion != null) - { - if (Client.ApiVersion.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); - } - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByWorkspace", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlDatabases").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Creates a new SqlDatabase or updates an existing SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabase parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length > 90) - { - throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (workspaceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); - } - if (sqlDatabaseName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "sqlDatabaseName"); - } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } - if (parameters != null) - { - parameters.Validate(); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (Client.SubscriptionId != null) - { - if (Client.SubscriptionId.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (Client.ApiVersion != null) - { - if (Client.ApiVersion.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); - } - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("sqlDatabaseName", sqlDatabaseName); - tracingParameters.Add("parameters", parameters); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlDatabases/{sqlDatabaseName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{sqlDatabaseName}", System.Uri.EscapeDataString(sqlDatabaseName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PUT"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) - { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Deletes the SqlDatabase. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length > 90) - { - throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (workspaceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); - } - if (sqlDatabaseName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "sqlDatabaseName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (Client.SubscriptionId != null) - { - if (Client.SubscriptionId.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (Client.ApiVersion != null) - { - if (Client.ApiVersion.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); - } - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("sqlDatabaseName", sqlDatabaseName); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlDatabases/{sqlDatabaseName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{sqlDatabaseName}", System.Uri.EscapeDataString(sqlDatabaseName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) - { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Updates an existing database. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabaseUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length > 90) - { - throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (workspaceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); - } - if (sqlDatabaseName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "sqlDatabaseName"); - } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (Client.SubscriptionId != null) - { - if (Client.SubscriptionId.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (Client.ApiVersion != null) - { - if (Client.ApiVersion.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); - } - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("sqlDatabaseName", sqlDatabaseName); - tracingParameters.Add("parameters", parameters); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginUpdate", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlDatabases/{sqlDatabaseName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{sqlDatabaseName}", System.Uri.EscapeDataString(sqlDatabaseName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202) - { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Gets a list of sql databases. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task>> ListByWorkspaceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - if (nextPageLink == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); - } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("nextPageLink", nextPageLink); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByWorkspaceNext", tracingParameters); - } - // Construct URL - string _url = "{nextLink}"; - _url = _url.Replace("{nextLink}", nextPageLink); - List _queryParameters = new List(); - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("GET"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200) - { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse>(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperationsExtensions.cs deleted file mode 100644 index 816f18b53e727..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperationsExtensions.cs +++ /dev/null @@ -1,439 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Extension methods for SqlDatabasesOperations. - /// - public static partial class SqlDatabasesOperationsExtensions - { - /// - /// Gets a SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - public static SqlDatabase Get(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName) - { - return operations.GetAsync(resourceGroupName, workspaceName, sqlDatabaseName).GetAwaiter().GetResult(); - } - - /// - /// Gets a SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The cancellation token. - /// - public static async Task GetAsync(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Creates a new SqlDatabase or updates an existing SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - public static SqlDatabase CreateOrUpdate(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabase parameters) - { - return operations.CreateOrUpdateAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Creates a new SqlDatabase or updates an existing SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The cancellation token. - /// - public static async Task CreateOrUpdateAsync(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabase parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Deletes the SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - public static void Delete(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName) - { - operations.DeleteAsync(resourceGroupName, workspaceName, sqlDatabaseName).GetAwaiter().GetResult(); - } - - /// - /// Deletes the SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteAsync(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Updates an existing database. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - public static SqlDatabase Update(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabaseUpdate parameters) - { - return operations.UpdateAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Updates an existing database. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The cancellation token. - /// - public static async Task UpdateAsync(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabaseUpdate parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Gets a list of sql databases. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - public static IPage ListByWorkspace(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName) - { - return operations.ListByWorkspaceAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult(); - } - - /// - /// Gets a list of sql databases. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The cancellation token. - /// - public static async Task> ListByWorkspaceAsync(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByWorkspaceWithHttpMessagesAsync(resourceGroupName, workspaceName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Creates a new SqlDatabase or updates an existing SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - public static SqlDatabase BeginCreateOrUpdate(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabase parameters) - { - return operations.BeginCreateOrUpdateAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Creates a new SqlDatabase or updates an existing SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The cancellation token. - /// - public static async Task BeginCreateOrUpdateAsync(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabase parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Deletes the SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - public static void BeginDelete(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName) - { - operations.BeginDeleteAsync(resourceGroupName, workspaceName, sqlDatabaseName).GetAwaiter().GetResult(); - } - - /// - /// Deletes the SqlDatabase. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The cancellation token. - /// - public static async Task BeginDeleteAsync(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Updates an existing database. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - public static SqlDatabase BeginUpdate(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabaseUpdate parameters) - { - return operations.BeginUpdateAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Updates an existing database. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql database. - /// - /// - /// The requested SqlDatabase resource state. - /// - /// - /// The cancellation token. - /// - public static async Task BeginUpdateAsync(this ISqlDatabasesOperations operations, string resourceGroupName, string workspaceName, string sqlDatabaseName, SqlDatabaseUpdate parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlDatabaseName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Gets a list of sql databases. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - public static IPage ListByWorkspaceNext(this ISqlDatabasesOperations operations, string nextPageLink) - { - return operations.ListByWorkspaceNextAsync(nextPageLink).GetAwaiter().GetResult(); - } - - /// - /// Gets a list of sql databases. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The cancellation token. - /// - public static async Task> ListByWorkspaceNextAsync(this ISqlDatabasesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByWorkspaceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolConnectionPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolConnectionPoliciesOperations.cs index f243c105e192b..1f3954623233c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolConnectionPoliciesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolConnectionPoliciesOperations.cs @@ -71,7 +71,7 @@ internal SqlPoolConnectionPoliciesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -226,11 +226,11 @@ internal SqlPoolConnectionPoliciesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperations.cs index 441e1b922063f..dfe8557cafb81 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperations.cs @@ -71,7 +71,7 @@ internal SqlPoolGeoBackupPoliciesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,11 +222,11 @@ internal SqlPoolGeoBackupPoliciesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -282,6 +282,274 @@ internal SqlPoolGeoBackupPoliciesOperations(SynapseManagementClient client) return _result; } + /// + /// Updates a SQL Pool geo backup policy. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The required parameters for creating or updating the geo backup policy. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, GeoBackupPolicy parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (workspaceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + } + if (sqlPoolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + string geoBackupPolicyName = "Default"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workspaceName", workspaceName); + tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("geoBackupPolicyName", geoBackupPolicyName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); + _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); + _url = _url.Replace("{geoBackupPolicyName}", System.Uri.EscapeDataString(geoBackupPolicyName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Get a SQL pool geo backup policy /// @@ -303,7 +571,7 @@ internal SqlPoolGeoBackupPoliciesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -457,11 +725,11 @@ internal SqlPoolGeoBackupPoliciesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperationsExtensions.cs index 26d3f27580088..0222a006120ed 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperationsExtensions.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperationsExtensions.cs @@ -75,6 +75,58 @@ public static IEnumerable List(this ISqlPoolGeoBackupPoliciesOp } } + /// + /// Updates a SQL Pool geo backup policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The required parameters for creating or updating the geo backup policy. + /// + public static GeoBackupPolicy CreateOrUpdate(this ISqlPoolGeoBackupPoliciesOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, GeoBackupPolicy parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, workspaceName, sqlPoolName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Updates a SQL Pool geo backup policy. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The required parameters for creating or updating the geo backup policy. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this ISqlPoolGeoBackupPoliciesOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, GeoBackupPolicy parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Get a SQL pool geo backup policy /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperations.cs new file mode 100644 index 0000000000000..f961829a67309 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperations.cs @@ -0,0 +1,303 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SqlPoolMaintenanceWindowOptionsOperations operations. + /// + internal partial class SqlPoolMaintenanceWindowOptionsOperations : IServiceOperations, ISqlPoolMaintenanceWindowOptionsOperations + { + /// + /// Initializes a new instance of the SqlPoolMaintenanceWindowOptionsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal SqlPoolMaintenanceWindowOptionsOperations(SynapseManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the SynapseManagementClient + /// + public SynapseManagementClient Client { get; private set; } + + /// + /// SQL pool's available maintenance windows. + /// + /// + /// Get list of SQL pool's available maintenance windows. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window options name. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowOptionsName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (workspaceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + } + if (sqlPoolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); + } + if (maintenanceWindowOptionsName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "maintenanceWindowOptionsName"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workspaceName", workspaceName); + tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("maintenanceWindowOptionsName", maintenanceWindowOptionsName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/maintenanceWindowOptions/current").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); + _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (maintenanceWindowOptionsName != null) + { + _queryParameters.Add(string.Format("maintenanceWindowOptionsName={0}", System.Uri.EscapeDataString(maintenanceWindowOptionsName))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperationsExtensions.cs new file mode 100644 index 0000000000000..fe79f67be898d --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperationsExtensions.cs @@ -0,0 +1,83 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for SqlPoolMaintenanceWindowOptionsOperations. + /// + public static partial class SqlPoolMaintenanceWindowOptionsOperationsExtensions + { + /// + /// SQL pool's available maintenance windows. + /// + /// + /// Get list of SQL pool's available maintenance windows. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window options name. + /// + public static MaintenanceWindowOptions Get(this ISqlPoolMaintenanceWindowOptionsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowOptionsName) + { + return operations.GetAsync(resourceGroupName, workspaceName, sqlPoolName, maintenanceWindowOptionsName).GetAwaiter().GetResult(); + } + + /// + /// SQL pool's available maintenance windows. + /// + /// + /// Get list of SQL pool's available maintenance windows. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window options name. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this ISqlPoolMaintenanceWindowOptionsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowOptionsName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, maintenanceWindowOptionsName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperations.cs new file mode 100644 index 0000000000000..bc92b314dd189 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperations.cs @@ -0,0 +1,541 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SqlPoolMaintenanceWindowsOperations operations. + /// + internal partial class SqlPoolMaintenanceWindowsOperations : IServiceOperations, ISqlPoolMaintenanceWindowsOperations + { + /// + /// Initializes a new instance of the SqlPoolMaintenanceWindowsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal SqlPoolMaintenanceWindowsOperations(SynapseManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the SynapseManagementClient + /// + public SynapseManagementClient Client { get; private set; } + + /// + /// Get a SQL pool's Maintenance Windows. + /// + /// + /// Get a SQL pool's Maintenance Windows. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window name. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (workspaceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + } + if (sqlPoolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); + } + if (maintenanceWindowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "maintenanceWindowName"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workspaceName", workspaceName); + tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("maintenanceWindowName", maintenanceWindowName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/maintenancewindows/current").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); + _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (maintenanceWindowName != null) + { + _queryParameters.Add(string.Format("maintenanceWindowName={0}", System.Uri.EscapeDataString(maintenanceWindowName))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates or updates a Sql pool's maintenance windows settings. + /// + /// + /// Creates or updates a Sql pool's maintenance windows settings. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window name. + /// + /// + /// The required parameters for creating or updating Maintenance Windows + /// settings + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowName, MaintenanceWindows parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (workspaceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + } + if (sqlPoolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); + } + if (maintenanceWindowName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "maintenanceWindowName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workspaceName", workspaceName); + tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("maintenanceWindowName", maintenanceWindowName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/maintenancewindows/current").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); + _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (maintenanceWindowName != null) + { + _queryParameters.Add(string.Format("maintenanceWindowName={0}", System.Uri.EscapeDataString(maintenanceWindowName))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperationsExtensions.cs new file mode 100644 index 0000000000000..408208734f799 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperationsExtensions.cs @@ -0,0 +1,146 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for SqlPoolMaintenanceWindowsOperations. + /// + public static partial class SqlPoolMaintenanceWindowsOperationsExtensions + { + /// + /// Get a SQL pool's Maintenance Windows. + /// + /// + /// Get a SQL pool's Maintenance Windows. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window name. + /// + public static MaintenanceWindows Get(this ISqlPoolMaintenanceWindowsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowName) + { + return operations.GetAsync(resourceGroupName, workspaceName, sqlPoolName, maintenanceWindowName).GetAwaiter().GetResult(); + } + + /// + /// Get a SQL pool's Maintenance Windows. + /// + /// + /// Get a SQL pool's Maintenance Windows. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window name. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this ISqlPoolMaintenanceWindowsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, maintenanceWindowName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or updates a Sql pool's maintenance windows settings. + /// + /// + /// Creates or updates a Sql pool's maintenance windows settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window name. + /// + /// + /// The required parameters for creating or updating Maintenance Windows + /// settings + /// + public static void CreateOrUpdate(this ISqlPoolMaintenanceWindowsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowName, MaintenanceWindows parameters) + { + operations.CreateOrUpdateAsync(resourceGroupName, workspaceName, sqlPoolName, maintenanceWindowName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates or updates a Sql pool's maintenance windows settings. + /// + /// + /// Creates or updates a Sql pool's maintenance windows settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// Maintenance window name. + /// + /// + /// The required parameters for creating or updating Maintenance Windows + /// settings + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this ISqlPoolMaintenanceWindowsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, string maintenanceWindowName, MaintenanceWindows parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, maintenanceWindowName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMetadataSyncConfigsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMetadataSyncConfigsOperations.cs index baf2289ff28a0..05ec255e44b7f 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMetadataSyncConfigsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMetadataSyncConfigsOperations.cs @@ -71,7 +71,7 @@ internal SqlPoolMetadataSyncConfigsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,11 +222,11 @@ internal SqlPoolMetadataSyncConfigsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 404) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -306,7 +306,7 @@ internal SqlPoolMetadataSyncConfigsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -468,11 +468,11 @@ internal SqlPoolMetadataSyncConfigsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 404) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperationResultsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperationResultsOperations.cs index f9ef8afbdbb8a..269d80c7ab6f3 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperationResultsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperationResultsOperations.cs @@ -74,7 +74,7 @@ internal SqlPoolOperationResultsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -231,11 +231,11 @@ internal SqlPoolOperationResultsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperations.cs new file mode 100644 index 0000000000000..efed08972f4d5 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperations.cs @@ -0,0 +1,281 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SqlPoolRecommendedSensitivityLabelsOperations operations. + /// + internal partial class SqlPoolRecommendedSensitivityLabelsOperations : IServiceOperations, ISqlPoolRecommendedSensitivityLabelsOperations + { + /// + /// Initializes a new instance of the SqlPoolRecommendedSensitivityLabelsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal SqlPoolRecommendedSensitivityLabelsOperations(SynapseManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the SynapseManagementClient + /// + public SynapseManagementClient Client { get; private set; } + + /// + /// Update recommended sensitivity labels states of a given SQL Pool using an + /// operations batch. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, RecommendedSensitivityLabelUpdateList parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (workspaceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + } + if (sqlPoolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workspaceName", workspaceName); + tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/recommendedSensitivityLabels").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); + _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperationsExtensions.cs new file mode 100644 index 0000000000000..e9e04eaf22b3a --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperationsExtensions.cs @@ -0,0 +1,74 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for SqlPoolRecommendedSensitivityLabelsOperations. + /// + public static partial class SqlPoolRecommendedSensitivityLabelsOperationsExtensions + { + /// + /// Update recommended sensitivity labels states of a given SQL Pool using an + /// operations batch. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// + public static void Update(this ISqlPoolRecommendedSensitivityLabelsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, RecommendedSensitivityLabelUpdateList parameters) + { + operations.UpdateAsync(resourceGroupName, workspaceName, sqlPoolName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Update recommended sensitivity labels states of a given SQL Pool using an + /// operations batch. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this ISqlPoolRecommendedSensitivityLabelsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, RecommendedSensitivityLabelUpdateList parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolReplicationLinksOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolReplicationLinksOperations.cs index d86833c7bfb02..252175d3ec9fc 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolReplicationLinksOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolReplicationLinksOperations.cs @@ -71,7 +71,7 @@ internal SqlPoolReplicationLinksOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,11 +222,11 @@ internal SqlPoolReplicationLinksOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -306,7 +306,7 @@ internal SqlPoolReplicationLinksOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -463,11 +463,11 @@ internal SqlPoolReplicationLinksOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -538,7 +538,7 @@ internal SqlPoolReplicationLinksOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -634,11 +634,11 @@ internal SqlPoolReplicationLinksOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRestorePointsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRestorePointsOperations.cs index 775d94d2734cc..28baa908f48c2 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRestorePointsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRestorePointsOperations.cs @@ -71,7 +71,7 @@ internal SqlPoolRestorePointsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,11 +222,11 @@ internal SqlPoolRestorePointsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1060,7 +1060,7 @@ internal SqlPoolRestorePointsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1156,11 +1156,11 @@ internal SqlPoolRestorePointsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperations.cs index d04ff4bf2a92d..68f5c445e9b06 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperations.cs @@ -75,7 +75,7 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -235,11 +235,11 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -295,6 +295,232 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client) return _result; } + /// + /// Update sensitivity labels of a given SQL Pool using an operations batch. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SensitivityLabelUpdateList parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (workspaceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + } + if (sqlPoolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workspaceName", workspaceName); + tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/currentSensitivityLabels").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); + _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets sensitivity labels of a given SQL pool /// @@ -1869,7 +2095,7 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1965,11 +2191,11 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperationsExtensions.cs index 3a49a32095d81..7337bd4e16de4 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperationsExtensions.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperationsExtensions.cs @@ -80,6 +80,53 @@ public static partial class SqlPoolSensitivityLabelsOperationsExtensions } } + /// + /// Update sensitivity labels of a given SQL Pool using an operations batch. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// + public static void Update(this ISqlPoolSensitivityLabelsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SensitivityLabelUpdateList parameters) + { + operations.UpdateAsync(resourceGroupName, workspaceName, sqlPoolName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Update sensitivity labels of a given SQL Pool using an operations batch. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this ISqlPoolSensitivityLabelsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SensitivityLabelUpdateList parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Gets sensitivity labels of a given SQL pool /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTransparentDataEncryptionsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTransparentDataEncryptionsOperations.cs index 26bf49d27c1b8..2ec2557ea9a3a 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTransparentDataEncryptionsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTransparentDataEncryptionsOperations.cs @@ -71,7 +71,7 @@ internal SqlPoolTransparentDataEncryptionsOperations(SynapseManagementClient cli /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -225,11 +225,11 @@ internal SqlPoolTransparentDataEncryptionsOperations(SynapseManagementClient cli string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -310,7 +310,7 @@ internal SqlPoolTransparentDataEncryptionsOperations(SynapseManagementClient cli /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -475,11 +475,11 @@ internal SqlPoolTransparentDataEncryptionsOperations(SynapseManagementClient cli string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolUsagesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolUsagesOperations.cs index e54edc2aeeb58..8acd3d0e4d15d 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolUsagesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolUsagesOperations.cs @@ -71,7 +71,7 @@ internal SqlPoolUsagesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,11 +222,11 @@ internal SqlPoolUsagesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -297,7 +297,7 @@ internal SqlPoolUsagesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -393,11 +393,11 @@ internal SqlPoolUsagesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperations.cs index 706c4fe825737..9af225c35381a 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperations.cs @@ -71,7 +71,7 @@ internal SqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -222,11 +222,11 @@ internal SqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -306,7 +306,7 @@ internal SqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -468,11 +468,11 @@ internal SqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -605,7 +605,7 @@ internal SqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -750,11 +750,11 @@ internal SqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -866,6 +866,240 @@ internal SqlPoolsOperations(SynapseManagementClient client) return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } + /// + /// Rename a SQL pool + /// + /// + /// Rename a SQL pool. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The resource move definition for renaming this Sql pool. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task RenameWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, ResourceMoveDefinition parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (workspaceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + } + if (sqlPoolName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("workspaceName", workspaceName); + tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Rename", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); + _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Create SQL pool /// @@ -890,7 +1124,7 @@ internal SqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1056,11 +1290,11 @@ internal SqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 404) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1137,7 +1371,7 @@ internal SqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1288,11 +1522,11 @@ internal SqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1387,7 +1621,7 @@ internal SqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1538,11 +1772,11 @@ internal SqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1619,7 +1853,7 @@ internal SqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1770,11 +2004,11 @@ internal SqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1845,7 +2079,7 @@ internal SqlPoolsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1941,11 +2175,11 @@ internal SqlPoolsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperationsExtensions.cs index 7d2964a87e236..9b595f9664fda 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperationsExtensions.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperationsExtensions.cs @@ -391,6 +391,61 @@ public static object Resume(this ISqlPoolsOperations operations, string resource } } + /// + /// Rename a SQL pool + /// + /// + /// Rename a SQL pool. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The resource move definition for renaming this Sql pool. + /// + public static void Rename(this ISqlPoolsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, ResourceMoveDefinition parameters) + { + operations.RenameAsync(resourceGroupName, workspaceName, sqlPoolName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Rename a SQL pool + /// + /// + /// Rename a SQL pool. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// SQL pool name + /// + /// + /// The resource move definition for renaming this Sql pool. + /// + /// + /// The cancellation token. + /// + public static async Task RenameAsync(this ISqlPoolsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, ResourceMoveDefinition parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.RenameWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Create SQL pool /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3OperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3OperationsExtensions.cs deleted file mode 100644 index df464ca21b9d1..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3OperationsExtensions.cs +++ /dev/null @@ -1,439 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Extension methods for SqlPoolsV3Operations. - /// - public static partial class SqlPoolsV3OperationsExtensions - { - /// - /// Gets a SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - public static SqlPoolV3 Get(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName) - { - return operations.GetAsync(resourceGroupName, workspaceName, sqlPoolName).GetAwaiter().GetResult(); - } - - /// - /// Gets a SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The cancellation token. - /// - public static async Task GetAsync(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Creates a new SqlPool or updates an existing SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - public static SqlPoolV3 CreateOrUpdate(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolV3 parameters) - { - return operations.CreateOrUpdateAsync(resourceGroupName, workspaceName, sqlPoolName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Creates a new SqlPool or updates an existing SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - /// - /// The cancellation token. - /// - public static async Task CreateOrUpdateAsync(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolV3 parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Deletes the SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - public static void Delete(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName) - { - operations.DeleteAsync(resourceGroupName, workspaceName, sqlPoolName).GetAwaiter().GetResult(); - } - - /// - /// Deletes the SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The cancellation token. - /// - public static async Task DeleteAsync(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Updates an existing sqlpool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - public static SqlPoolV3 Update(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolUpdate parameters) - { - return operations.UpdateAsync(resourceGroupName, workspaceName, sqlPoolName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Updates an existing sqlpool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - /// - /// The cancellation token. - /// - public static async Task UpdateAsync(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolUpdate parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Gets a list of sql pools. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - public static IPage ListByWorkspace(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName) - { - return operations.ListByWorkspaceAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult(); - } - - /// - /// Gets a list of sql pools. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The cancellation token. - /// - public static async Task> ListByWorkspaceAsync(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByWorkspaceWithHttpMessagesAsync(resourceGroupName, workspaceName, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Creates a new SqlPool or updates an existing SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - public static SqlPoolV3 BeginCreateOrUpdate(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolV3 parameters) - { - return operations.BeginCreateOrUpdateAsync(resourceGroupName, workspaceName, sqlPoolName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Creates a new SqlPool or updates an existing SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - /// - /// The cancellation token. - /// - public static async Task BeginCreateOrUpdateAsync(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolV3 parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Deletes the SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - public static void BeginDelete(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName) - { - operations.BeginDeleteAsync(resourceGroupName, workspaceName, sqlPoolName).GetAwaiter().GetResult(); - } - - /// - /// Deletes the SqlPool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The cancellation token. - /// - public static async Task BeginDeleteAsync(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.BeginDeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Updates an existing sqlpool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - public static SqlPoolV3 BeginUpdate(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolUpdate parameters) - { - return operations.BeginUpdateAsync(resourceGroupName, workspaceName, sqlPoolName, parameters).GetAwaiter().GetResult(); - } - - /// - /// Updates an existing sqlpool. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - /// - /// The cancellation token. - /// - public static async Task BeginUpdateAsync(this ISqlPoolsV3Operations operations, string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolUpdate parameters, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.BeginUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Gets a list of sql pools. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - public static IPage ListByWorkspaceNext(this ISqlPoolsV3Operations operations, string nextPageLink) - { - return operations.ListByWorkspaceNextAsync(nextPageLink).GetAwaiter().GetResult(); - } - - /// - /// Gets a list of sql pools. - /// - /// - /// The operations group for this extension method. - /// - /// - /// The NextLink from the previous successful call to List operation. - /// - /// - /// The cancellation token. - /// - public static async Task> ListByWorkspaceNextAsync(this ISqlPoolsV3Operations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListByWorkspaceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3OperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3OperationsExtensions.cs deleted file mode 100644 index 7232cbe0552f8..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3OperationsExtensions.cs +++ /dev/null @@ -1,162 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Models; - using System.Collections; - using System.Collections.Generic; - using System.Threading; - using System.Threading.Tasks; - - /// - /// Extension methods for SqlV3Operations. - /// - public static partial class SqlV3OperationsExtensions - { - /// - /// All operations - /// - /// - /// Get all available operations - /// - /// - /// The operations group for this extension method. - /// - public static IList List(this ISqlV3Operations operations) - { - return operations.ListAsync().GetAwaiter().GetResult(); - } - - /// - /// All operations - /// - /// - /// Get all available operations - /// - /// - /// The operations group for this extension method. - /// - /// - /// The cancellation token. - /// - public static async Task> ListAsync(this ISqlV3Operations operations, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.ListWithHttpMessagesAsync(null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - /// - /// Get operation result - /// - /// - /// Get the result of an operation - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// Operation ID - /// - public static void GetLocationHeaderResult(this ISqlV3Operations operations, string resourceGroupName, string workspaceName, string operationId) - { - operations.GetLocationHeaderResultAsync(resourceGroupName, workspaceName, operationId).GetAwaiter().GetResult(); - } - - /// - /// Get operation result - /// - /// - /// Get the result of an operation - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// Operation ID - /// - /// - /// The cancellation token. - /// - public static async Task GetLocationHeaderResultAsync(this ISqlV3Operations operations, string resourceGroupName, string workspaceName, string operationId, CancellationToken cancellationToken = default(CancellationToken)) - { - (await operations.GetLocationHeaderResultWithHttpMessagesAsync(resourceGroupName, workspaceName, operationId, null, cancellationToken).ConfigureAwait(false)).Dispose(); - } - - /// - /// Get operation status - /// - /// - /// Get the status of an operation - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// Operation ID - /// - public static OperationResource GetAzureAsyncHeaderResult(this ISqlV3Operations operations, string resourceGroupName, string workspaceName, string operationId) - { - return operations.GetAzureAsyncHeaderResultAsync(resourceGroupName, workspaceName, operationId).GetAwaiter().GetResult(); - } - - /// - /// Get operation status - /// - /// - /// Get the status of an operation - /// - /// - /// The operations group for this extension method. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// Operation ID - /// - /// - /// The cancellation token. - /// - public static async Task GetAzureAsyncHeaderResultAsync(this ISqlV3Operations operations, string resourceGroupName, string workspaceName, string operationId, CancellationToken cancellationToken = default(CancellationToken)) - { - using (var _result = await operations.GetAzureAsyncHeaderResultWithHttpMessagesAsync(resourceGroupName, workspaceName, operationId, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } - } - - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SynapseManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SynapseManagementClient.cs index 02a863ae3bbfd..c009d984290b6 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SynapseManagementClient.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SynapseManagementClient.cs @@ -124,6 +124,16 @@ public partial class SynapseManagementClient : ServiceClient public virtual ISqlPoolReplicationLinksOperations SqlPoolReplicationLinks { get; private set; } + /// + /// Gets the ISqlPoolMaintenanceWindowsOperations. + /// + public virtual ISqlPoolMaintenanceWindowsOperations SqlPoolMaintenanceWindows { get; private set; } + + /// + /// Gets the ISqlPoolMaintenanceWindowOptionsOperations. + /// + public virtual ISqlPoolMaintenanceWindowOptionsOperations SqlPoolMaintenanceWindowOptions { get; private set; } + /// /// Gets the ISqlPoolTransparentDataEncryptionsOperations. /// @@ -149,6 +159,11 @@ public partial class SynapseManagementClient : ServiceClient public virtual ISqlPoolSensitivityLabelsOperations SqlPoolSensitivityLabels { get; private set; } + /// + /// Gets the ISqlPoolRecommendedSensitivityLabelsOperations. + /// + public virtual ISqlPoolRecommendedSensitivityLabelsOperations SqlPoolRecommendedSensitivityLabels { get; private set; } + /// /// Gets the ISqlPoolSchemasOperations. /// @@ -294,6 +309,11 @@ public partial class SynapseManagementClient : ServiceClient public virtual IPrivateLinkResourcesOperations PrivateLinkResources { get; private set; } + /// + /// Gets the IPrivateLinkHubPrivateLinkResourcesOperations. + /// + public virtual IPrivateLinkHubPrivateLinkResourcesOperations PrivateLinkHubPrivateLinkResources { get; private set; } + /// /// Gets the IPrivateEndpointConnectionsOperations. /// @@ -329,15 +349,20 @@ public partial class SynapseManagementClient : ServiceClient public virtual IWorkspaceManagedSqlServerVulnerabilityAssessmentsOperations WorkspaceManagedSqlServerVulnerabilityAssessments { get; private set; } + /// + /// Gets the IWorkspaceManagedSqlServerEncryptionProtectorOperations. + /// + public virtual IWorkspaceManagedSqlServerEncryptionProtectorOperations WorkspaceManagedSqlServerEncryptionProtector { get; private set; } + /// /// Gets the IWorkspaceManagedSqlServerUsagesOperations. /// public virtual IWorkspaceManagedSqlServerUsagesOperations WorkspaceManagedSqlServerUsages { get; private set; } /// - /// Gets the IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations. + /// Gets the IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations. /// - public virtual IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations WorkspaceManagedSqlServerRecoverableSqlpools { get; private set; } + public virtual IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations WorkspaceManagedSqlServerRecoverableSqlPools { get; private set; } /// /// Gets the IKeysOperations. @@ -595,11 +620,14 @@ private void Initialize() SqlPoolDataWarehouseUserActivities = new SqlPoolDataWarehouseUserActivitiesOperations(this); SqlPoolRestorePoints = new SqlPoolRestorePointsOperations(this); SqlPoolReplicationLinks = new SqlPoolReplicationLinksOperations(this); + SqlPoolMaintenanceWindows = new SqlPoolMaintenanceWindowsOperations(this); + SqlPoolMaintenanceWindowOptions = new SqlPoolMaintenanceWindowOptionsOperations(this); SqlPoolTransparentDataEncryptions = new SqlPoolTransparentDataEncryptionsOperations(this); SqlPoolBlobAuditingPolicies = new SqlPoolBlobAuditingPoliciesOperations(this); SqlPoolOperations = new SqlPoolOperations(this); SqlPoolUsages = new SqlPoolUsagesOperations(this); SqlPoolSensitivityLabels = new SqlPoolSensitivityLabelsOperations(this); + SqlPoolRecommendedSensitivityLabels = new SqlPoolRecommendedSensitivityLabelsOperations(this); SqlPoolSchemas = new SqlPoolSchemasOperations(this); SqlPoolTables = new SqlPoolTablesOperations(this); SqlPoolTableColumns = new SqlPoolTableColumnsOperations(this); @@ -629,6 +657,7 @@ private void Initialize() IntegrationRuntimeMonitoringData = new IntegrationRuntimeMonitoringDataOperations(this); IntegrationRuntimeStatus = new IntegrationRuntimeStatusOperations(this); PrivateLinkResources = new PrivateLinkResourcesOperations(this); + PrivateLinkHubPrivateLinkResources = new PrivateLinkHubPrivateLinkResourcesOperations(this); PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); PrivateLinkHubs = new PrivateLinkHubsOperations(this); PrivateEndpointConnectionsPrivateLinkHub = new PrivateEndpointConnectionsPrivateLinkHubOperations(this); @@ -636,11 +665,12 @@ private void Initialize() WorkspaceManagedSqlServerExtendedBlobAuditingPolicies = new WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations(this); WorkspaceManagedSqlServerSecurityAlertPolicy = new WorkspaceManagedSqlServerSecurityAlertPolicyOperations(this); WorkspaceManagedSqlServerVulnerabilityAssessments = new WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations(this); + WorkspaceManagedSqlServerEncryptionProtector = new WorkspaceManagedSqlServerEncryptionProtectorOperations(this); WorkspaceManagedSqlServerUsages = new WorkspaceManagedSqlServerUsagesOperations(this); - WorkspaceManagedSqlServerRecoverableSqlpools = new WorkspaceManagedSqlServerRecoverableSqlpoolsOperations(this); + WorkspaceManagedSqlServerRecoverableSqlPools = new WorkspaceManagedSqlServerRecoverableSqlPoolsOperations(this); Keys = new KeysOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2019-06-01-preview"; + ApiVersion = "2020-12-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SynapseSqlV3ManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SynapseSqlV3ManagementClient.cs deleted file mode 100644 index c1110740e78fc..0000000000000 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SynapseSqlV3ManagementClient.cs +++ /dev/null @@ -1,372 +0,0 @@ -// -// 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. -// - -namespace Microsoft.Azure.Management.Synapse -{ - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Microsoft.Rest.Serialization; - using Models; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - using System.Linq; - using System.Net; - using System.Net.Http; - - /// - /// Azure Synapse Analytics Management Client - /// - public partial class SynapseSqlV3ManagementClient : ServiceClient, ISynapseSqlV3ManagementClient, IAzureClient - { - /// - /// The base URI of the service. - /// - public System.Uri BaseUri { get; set; } - - /// - /// Gets or sets json serialization settings. - /// - public JsonSerializerSettings SerializationSettings { get; private set; } - - /// - /// Gets or sets json deserialization settings. - /// - public JsonSerializerSettings DeserializationSettings { get; private set; } - - /// - /// Credentials needed for the client to connect to Azure. - /// - public ServiceClientCredentials Credentials { get; private set; } - - /// - /// The ID of the target subscription. - /// - public string SubscriptionId { get; set; } - - /// - /// The API version to use for this operation. - /// - public string ApiVersion { get; private set; } - - /// - /// The preferred language for the response. - /// - public string AcceptLanguage { get; set; } - - /// - /// The retry timeout in seconds for Long Running Operations. Default value is - /// 30. - /// - public int? LongRunningOperationRetryTimeout { get; set; } - - /// - /// Whether a unique x-ms-client-request-id should be generated. When set to - /// true a unique x-ms-client-request-id value is generated and included in - /// each request. Default is true. - /// - public bool? GenerateClientRequestId { get; set; } - - /// - /// Gets the ISqlV3Operations. - /// - public virtual ISqlV3Operations SqlV3Operations { get; private set; } - - /// - /// Gets the ISqlPoolsV3Operations. - /// - public virtual ISqlPoolsV3Operations SqlPoolsV3 { get; private set; } - - /// - /// Gets the ISqlDatabasesOperations. - /// - public virtual ISqlDatabasesOperations SqlDatabases { get; private set; } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// HttpClient to be used - /// - /// - /// True: will dispose the provided httpClient on calling SynapseSqlV3ManagementClient.Dispose(). False: will not dispose provided httpClient - protected SynapseSqlV3ManagementClient(HttpClient httpClient, bool disposeHttpClient) : base(httpClient, disposeHttpClient) - { - Initialize(); - } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - protected SynapseSqlV3ManagementClient(params DelegatingHandler[] handlers) : base(handlers) - { - Initialize(); - } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// Optional. The http client handler used to handle http transport. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - protected SynapseSqlV3ManagementClient(HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : base(rootHandler, handlers) - { - Initialize(); - } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// Optional. The base URI of the service. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - protected SynapseSqlV3ManagementClient(System.Uri baseUri, params DelegatingHandler[] handlers) : this(handlers) - { - if (baseUri == null) - { - throw new System.ArgumentNullException("baseUri"); - } - BaseUri = baseUri; - } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// Optional. The base URI of the service. - /// - /// - /// Optional. The http client handler used to handle http transport. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - protected SynapseSqlV3ManagementClient(System.Uri baseUri, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) - { - if (baseUri == null) - { - throw new System.ArgumentNullException("baseUri"); - } - BaseUri = baseUri; - } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// Required. Credentials needed for the client to connect to Azure. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - public SynapseSqlV3ManagementClient(ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers) - { - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// Required. Credentials needed for the client to connect to Azure. - /// - /// - /// HttpClient to be used - /// - /// - /// True: will dispose the provided httpClient on calling SynapseSqlV3ManagementClient.Dispose(). False: will not dispose provided httpClient - /// - /// Thrown when a required parameter is null - /// - public SynapseSqlV3ManagementClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient) - { - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// Required. Credentials needed for the client to connect to Azure. - /// - /// - /// Optional. The http client handler used to handle http transport. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - public SynapseSqlV3ManagementClient(ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) - { - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// Optional. The base URI of the service. - /// - /// - /// Required. Credentials needed for the client to connect to Azure. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - public SynapseSqlV3ManagementClient(System.Uri baseUri, ServiceClientCredentials credentials, params DelegatingHandler[] handlers) : this(handlers) - { - if (baseUri == null) - { - throw new System.ArgumentNullException("baseUri"); - } - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - BaseUri = baseUri; - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// Initializes a new instance of the SynapseSqlV3ManagementClient class. - /// - /// - /// Optional. The base URI of the service. - /// - /// - /// Required. Credentials needed for the client to connect to Azure. - /// - /// - /// Optional. The http client handler used to handle http transport. - /// - /// - /// Optional. The delegating handlers to add to the http client pipeline. - /// - /// - /// Thrown when a required parameter is null - /// - public SynapseSqlV3ManagementClient(System.Uri baseUri, ServiceClientCredentials credentials, HttpClientHandler rootHandler, params DelegatingHandler[] handlers) : this(rootHandler, handlers) - { - if (baseUri == null) - { - throw new System.ArgumentNullException("baseUri"); - } - if (credentials == null) - { - throw new System.ArgumentNullException("credentials"); - } - BaseUri = baseUri; - Credentials = credentials; - if (Credentials != null) - { - Credentials.InitializeServiceClient(this); - } - } - - /// - /// An optional partial-method to perform custom initialization. - /// - partial void CustomInitialize(); - /// - /// Initializes client properties. - /// - private void Initialize() - { - SqlV3Operations = new SqlV3Operations(this); - SqlPoolsV3 = new SqlPoolsV3Operations(this); - SqlDatabases = new SqlDatabasesOperations(this); - BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2020-04-01-preview"; - AcceptLanguage = "en-US"; - LongRunningOperationRetryTimeout = 30; - GenerateClientRequestId = true; - SerializationSettings = new JsonSerializerSettings - { - Formatting = Newtonsoft.Json.Formatting.Indented, - DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat, - DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, - ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize, - ContractResolver = new ReadOnlyJsonContractResolver(), - Converters = new List - { - new Iso8601TimeSpanConverter() - } - }; - SerializationSettings.Converters.Add(new TransformationJsonConverter()); - DeserializationSettings = new JsonSerializerSettings - { - DateFormatHandling = Newtonsoft.Json.DateFormatHandling.IsoDateFormat, - DateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.Utc, - NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore, - ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Serialize, - ContractResolver = new ReadOnlyJsonContractResolver(), - Converters = new List - { - new Iso8601TimeSpanConverter() - } - }; - CustomInitialize(); - DeserializationSettings.Converters.Add(new TransformationJsonConverter()); - DeserializationSettings.Converters.Add(new CloudErrorJsonConverter()); - } - } -} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceAadAdminsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceAadAdminsOperations.cs index 6bc757c8362f6..6ecdfbe7c9649 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceAadAdminsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceAadAdminsOperations.cs @@ -65,7 +65,7 @@ internal WorkspaceAadAdminsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -210,11 +210,11 @@ internal WorkspaceAadAdminsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -335,7 +335,7 @@ internal WorkspaceAadAdminsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -491,11 +491,11 @@ internal WorkspaceAadAdminsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -584,7 +584,7 @@ internal WorkspaceAadAdminsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -726,11 +726,11 @@ internal WorkspaceAadAdminsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedIdentitySqlControlSettingsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedIdentitySqlControlSettingsOperations.cs index 4f329e71b0148..0a1ca40a32aee 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedIdentitySqlControlSettingsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedIdentitySqlControlSettingsOperations.cs @@ -65,7 +65,7 @@ internal WorkspaceManagedIdentitySqlControlSettingsOperations(SynapseManagementC /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -210,11 +210,11 @@ internal WorkspaceManagedIdentitySqlControlSettingsOperations(SynapseManagementC string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -313,7 +313,7 @@ internal WorkspaceManagedIdentitySqlControlSettingsOperations(SynapseManagementC /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -469,11 +469,11 @@ internal WorkspaceManagedIdentitySqlControlSettingsOperations(SynapseManagementC string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperations.cs similarity index 69% rename from sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3Operations.cs rename to sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperations.cs index 7c61ef7489d9d..6b9ed5e3b9855 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3Operations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperations.cs @@ -23,12 +23,12 @@ namespace Microsoft.Azure.Management.Synapse using System.Threading.Tasks; /// - /// SqlPoolsV3Operations operations. + /// WorkspaceManagedSqlServerEncryptionProtectorOperations operations. /// - internal partial class SqlPoolsV3Operations : IServiceOperations, ISqlPoolsV3Operations + internal partial class WorkspaceManagedSqlServerEncryptionProtectorOperations : IServiceOperations, IWorkspaceManagedSqlServerEncryptionProtectorOperations { /// - /// Initializes a new instance of the SqlPoolsV3Operations class. + /// Initializes a new instance of the WorkspaceManagedSqlServerEncryptionProtectorOperations class. /// /// /// Reference to the service client. @@ -36,7 +36,7 @@ internal partial class SqlPoolsV3Operations : IServiceOperations /// Thrown when a required parameter is null /// - internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) + internal WorkspaceManagedSqlServerEncryptionProtectorOperations(SynapseManagementClient client) { if (client == null) { @@ -46,21 +46,21 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) } /// - /// Gets a reference to the SynapseSqlV3ManagementClient + /// Gets a reference to the SynapseManagementClient /// - public SynapseSqlV3ManagementClient Client { get; private set; } + public SynapseManagementClient Client { get; private set; } /// - /// Gets a SqlPool. + /// Get workspace server's encryption protector. /// + /// + /// Get workspace managed sql server's encryption protector. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. + /// The name of the workspace /// /// /// Headers that will be added to request. @@ -68,7 +68,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -83,35 +83,19 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (resourceGroupName == null) + if (Client.ApiVersion == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); } - if (resourceGroupName != null) + if (Client.ApiVersion != null) { - if (resourceGroupName.Length > 90) - { - throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + if (Client.ApiVersion.Length < 1) { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); } } - if (workspaceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); - } - if (sqlPoolName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); - } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -123,17 +107,30 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); } } - if (Client.ApiVersion == null) + if (resourceGroupName == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - if (Client.ApiVersion != null) + if (resourceGroupName != null) { - if (Client.ApiVersion.Length < 1) + if (resourceGroupName.Length > 90) { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); } } + if (workspaceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); + } + string encryptionProtectorName = "current"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -143,17 +140,17 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("encryptionProtectorName", encryptionProtectorName); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector/{encryptionProtectorName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{encryptionProtectorName}", System.Uri.EscapeDataString(encryptionProtectorName)); List _queryParameters = new List(); if (Client.ApiVersion != null) { @@ -219,11 +216,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -247,7 +244,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -260,7 +257,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -280,72 +277,19 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) } /// - /// Creates a new SqlPool or updates an existing SqlPool. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolV3 parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send Request - AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Deletes the SqlPool. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The headers that will be added to request. - /// - /// - /// The cancellation token. - /// - public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { - // Send request - AzureOperationResponse _response = await BeginDeleteWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, customHeaders, cancellationToken).ConfigureAwait(false); - return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); - } - - /// - /// Updates an existing sqlpool. + /// Updates workspace server's encryption protector. /// + /// + /// Updates workspace managed sql server's encryption protector. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. + /// The name of the workspace /// /// - /// The requested SqlPool resource state. + /// The requested encryption protector resource state. /// /// /// The headers that will be added to request. @@ -353,21 +297,24 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// The cancellation token. /// - public async Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, EncryptionProtector parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { // Send Request - AzureOperationResponse _response = await BeginUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + AzureOperationResponse _response = await BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); return await Client.GetPutOrPatchOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } /// - /// Gets a list of sql pools. + /// Get list of encryption protectors for the server. /// + /// + /// Get list of encryption protectors for workspace managed sql server. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. + /// The name of the workspace /// /// /// Headers that will be added to request. @@ -375,7 +322,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -390,8 +337,19 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByWorkspaceWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -426,17 +384,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (Client.ApiVersion != null) - { - if (Client.ApiVersion.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); - } - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -447,11 +394,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workspaceName", workspaceName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByWorkspace", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); @@ -520,13 +467,14 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { + ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -536,6 +484,10 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -548,7 +500,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -561,7 +513,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -581,19 +533,44 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) } /// - /// Creates a new SqlPool or updates an existing SqlPool. + /// Revalidates server's existing encryption protector. /// + /// + /// Revalidates workspace managed sql server's existing encryption protector. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. + /// The name of the workspace + /// + /// + /// The headers that will be added to request. /// - /// - /// The name of the sql pool. + /// + /// The cancellation token. + /// + public async Task RevalidateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginRevalidateWithHttpMessagesAsync(resourceGroupName, workspaceName, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + + /// + /// Updates workspace server's encryption protector. + /// + /// + /// Updates workspace managed sql server's encryption protector. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace /// /// - /// The requested SqlPool resource state. + /// The requested encryption protector resource state. /// /// /// Headers that will be added to request. @@ -601,7 +578,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -616,8 +593,30 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolV3 parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> BeginCreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, EncryptionProtector parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.ApiVersion != null) + { + if (Client.ApiVersion.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); + } + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (Client.SubscriptionId != null) + { + if (Client.SubscriptionId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); + } + } if (resourceGroupName == null) { throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); @@ -641,10 +640,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); } - if (sqlPoolName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); - } if (parameters == null) { throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); @@ -653,28 +648,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) { parameters.Validate(); } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (Client.SubscriptionId != null) - { - if (Client.SubscriptionId.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (Client.ApiVersion != null) - { - if (Client.ApiVersion.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); - } - } + string encryptionProtectorName = "current"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -684,18 +658,18 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("sqlPoolName", sqlPoolName); + tracingParameters.Add("encryptionProtectorName", encryptionProtectorName); tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "BeginCreateOrUpdate", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector/{encryptionProtectorName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{encryptionProtectorName}", System.Uri.EscapeDataString(encryptionProtectorName)); List _queryParameters = new List(); if (Client.ApiVersion != null) { @@ -765,13 +739,13 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -795,7 +769,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -808,25 +782,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } - // Deserialize Response - if ((int)_statusCode == 201) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -846,16 +802,16 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) } /// - /// Deletes the SqlPool. + /// Revalidates server's existing encryption protector. /// + /// + /// Revalidates workspace managed sql server's existing encryption protector. + /// /// /// The name of the resource group. The name is case insensitive. /// /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. + /// The name of the workspace /// /// /// Headers that will be added to request. @@ -863,7 +819,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -875,46 +831,8 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task BeginDeleteWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task BeginRevalidateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (resourceGroupName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); - } - if (resourceGroupName != null) - { - if (resourceGroupName.Length > 90) - { - throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); - } - if (resourceGroupName.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); - } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } - } - if (workspaceName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); - } - if (sqlPoolName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); - } - if (Client.SubscriptionId == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); - } - if (Client.SubscriptionId != null) - { - if (Client.SubscriptionId.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.SubscriptionId", 1); - } - } if (Client.ApiVersion == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); @@ -926,171 +844,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); } } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) - { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("resourceGroupName", resourceGroupName); - tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("sqlPoolName", sqlPoolName); - tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginDelete", tracingParameters); - } - // Construct URL - var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}").ToString(); - _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); - _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); - _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); - List _queryParameters = new List(); - if (Client.ApiVersion != null) - { - _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); - } - if (_queryParameters.Count > 0) - { - _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); - } - // Create HTTP transport objects - var _httpRequest = new HttpRequestMessage(); - HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("DELETE"); - _httpRequest.RequestUri = new System.Uri(_url); - // Set Headers - if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) - { - _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); - } - if (Client.AcceptLanguage != null) - { - if (_httpRequest.Headers.Contains("accept-language")) - { - _httpRequest.Headers.Remove("accept-language"); - } - _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); - } - - - if (customHeaders != null) - { - foreach(var _header in customHeaders) - { - if (_httpRequest.Headers.Contains(_header.Key)) - { - _httpRequest.Headers.Remove(_header.Key); - } - _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); - } - } - - // Serialize Request - string _requestContent = null; - // Set Credentials - if (Client.Credentials != null) - { - cancellationToken.ThrowIfCancellationRequested(); - await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - } - // Send Request - if (_shouldTrace) - { - ServiceClientTracing.SendRequest(_invocationId, _httpRequest); - } - cancellationToken.ThrowIfCancellationRequested(); - _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); - if (_shouldTrace) - { - ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); - } - HttpStatusCode _statusCode = _httpResponse.StatusCode; - cancellationToken.ThrowIfCancellationRequested(); - string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) - { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); - try - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - if (_errorBody != null) - { - ex.Body = _errorBody; - } - } - catch (JsonException) - { - // Ignore the exception - } - ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); - ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); - if (_shouldTrace) - { - ServiceClientTracing.Error(_invocationId, ex); - } - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw ex; - } - // Create Result - var _result = new AzureOperationResponse(); - _result.Request = _httpRequest; - _result.Response = _httpResponse; - if (_httpResponse.Headers.Contains("x-ms-request-id")) - { - _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); - } - if (_shouldTrace) - { - ServiceClientTracing.Exit(_invocationId, _result); - } - return _result; - } - - /// - /// Updates an existing sqlpool. - /// - /// - /// The name of the resource group. The name is case insensitive. - /// - /// - /// The name of the workspace. - /// - /// - /// The name of the sql pool. - /// - /// - /// The requested SqlPool resource state. - /// - /// - /// Headers that will be added to request. - /// - /// - /// The cancellation token. - /// - /// - /// Thrown when the operation returned an invalid status code - /// - /// - /// Thrown when unable to deserialize the response - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// Thrown when a required parameter is null - /// - /// - /// A response object containing the response body and response headers. - /// - public async Task> BeginUpdateWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, SqlPoolUpdate parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) - { if (Client.SubscriptionId == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); @@ -1125,25 +878,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); } - if (sqlPoolName == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); - } - if (parameters == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); - } - if (Client.ApiVersion == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); - } - if (Client.ApiVersion != null) - { - if (Client.ApiVersion.Length < 1) - { - throw new ValidationException(ValidationRules.MinLength, "Client.ApiVersion", 1); - } - } + string encryptionProtectorName = "current"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1153,18 +888,17 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("sqlPoolName", sqlPoolName); - tracingParameters.Add("parameters", parameters); + tracingParameters.Add("encryptionProtectorName", encryptionProtectorName); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "BeginUpdate", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "BeginRevalidate", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector/{encryptionProtectorName}/revalidate").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); + _url = _url.Replace("{encryptionProtectorName}", System.Uri.EscapeDataString(encryptionProtectorName)); List _queryParameters = new List(); if (Client.ApiVersion != null) { @@ -1177,7 +911,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) // Create HTTP transport objects var _httpRequest = new HttpRequestMessage(); HttpResponseMessage _httpResponse = null; - _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.Method = new HttpMethod("POST"); _httpRequest.RequestUri = new System.Uri(_url); // Set Headers if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) @@ -1208,12 +942,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) // Serialize Request string _requestContent = null; - if(parameters != null) - { - _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); - _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); - _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); - } // Set Credentials if (Client.Credentials != null) { @@ -1236,13 +964,14 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { + ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1252,6 +981,10 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -1264,31 +997,13 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 200) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1297,8 +1012,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) } /// - /// Gets a list of sql pools. + /// Get list of encryption protectors for the server. /// + /// + /// Get list of encryption protectors for workspace managed sql server. + /// /// /// The NextLink from the previous successful call to List operation. /// @@ -1308,7 +1026,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1323,7 +1041,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByWorkspaceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (nextPageLink == null) { @@ -1338,7 +1056,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("nextPageLink", nextPageLink); tracingParameters.Add("cancellationToken", cancellationToken); - ServiceClientTracing.Enter(_invocationId, this, "ListByWorkspaceNext", tracingParameters); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); } // Construct URL string _url = "{nextLink}"; @@ -1404,13 +1122,14 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { + ex = new CloudException(_errorBody.Message); ex.Body = _errorBody; } } @@ -1420,6 +1139,10 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) } ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } if (_shouldTrace) { ServiceClientTracing.Error(_invocationId, ex); @@ -1432,7 +1155,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -1445,7 +1168,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperationsExtensions.cs new file mode 100644 index 0000000000000..3fd6eb98b13f4 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperationsExtensions.cs @@ -0,0 +1,347 @@ +// +// 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. +// + +namespace Microsoft.Azure.Management.Synapse +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for WorkspaceManagedSqlServerEncryptionProtectorOperations. + /// + public static partial class WorkspaceManagedSqlServerEncryptionProtectorOperationsExtensions + { + /// + /// Get workspace server's encryption protector. + /// + /// + /// Get workspace managed sql server's encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + public static EncryptionProtector Get(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName) + { + return operations.GetAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult(); + } + + /// + /// Get workspace server's encryption protector. + /// + /// + /// Get workspace managed sql server's encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Updates workspace server's encryption protector. + /// + /// + /// Updates workspace managed sql server's encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// The requested encryption protector resource state. + /// + public static EncryptionProtector CreateOrUpdate(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName, EncryptionProtector parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, workspaceName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Updates workspace server's encryption protector. + /// + /// + /// Updates workspace managed sql server's encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// The requested encryption protector resource state. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName, EncryptionProtector parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Get list of encryption protectors for the server. + /// + /// + /// Get list of encryption protectors for workspace managed sql server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + public static IPage List(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName) + { + return operations.ListAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult(); + } + + /// + /// Get list of encryption protectors for the server. + /// + /// + /// Get list of encryption protectors for workspace managed sql server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, workspaceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Revalidates server's existing encryption protector. + /// + /// + /// Revalidates workspace managed sql server's existing encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + public static void Revalidate(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName) + { + operations.RevalidateAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult(); + } + + /// + /// Revalidates server's existing encryption protector. + /// + /// + /// Revalidates workspace managed sql server's existing encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// The cancellation token. + /// + public static async Task RevalidateAsync(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.RevalidateWithHttpMessagesAsync(resourceGroupName, workspaceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Updates workspace server's encryption protector. + /// + /// + /// Updates workspace managed sql server's encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// The requested encryption protector resource state. + /// + public static EncryptionProtector BeginCreateOrUpdate(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName, EncryptionProtector parameters) + { + return operations.BeginCreateOrUpdateAsync(resourceGroupName, workspaceName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Updates workspace server's encryption protector. + /// + /// + /// Updates workspace managed sql server's encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// The requested encryption protector resource state. + /// + /// + /// The cancellation token. + /// + public static async Task BeginCreateOrUpdateAsync(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName, EncryptionProtector parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginCreateOrUpdateWithHttpMessagesAsync(resourceGroupName, workspaceName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Revalidates server's existing encryption protector. + /// + /// + /// Revalidates workspace managed sql server's existing encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + public static void BeginRevalidate(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName) + { + operations.BeginRevalidateAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult(); + } + + /// + /// Revalidates server's existing encryption protector. + /// + /// + /// Revalidates workspace managed sql server's existing encryption protector. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. The name is case insensitive. + /// + /// + /// The name of the workspace + /// + /// + /// The cancellation token. + /// + public static async Task BeginRevalidateAsync(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.BeginRevalidateWithHttpMessagesAsync(resourceGroupName, workspaceName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Get list of encryption protectors for the server. + /// + /// + /// Get list of encryption protectors for workspace managed sql server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Get list of encryption protectors for the server. + /// + /// + /// Get list of encryption protectors for workspace managed sql server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this IWorkspaceManagedSqlServerEncryptionProtectorOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs index 269137178a027..6872f02c31b9c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs @@ -23,12 +23,12 @@ namespace Microsoft.Azure.Management.Synapse using System.Threading.Tasks; /// - /// WorkspaceManagedSqlServerRecoverableSqlpoolsOperations operations. + /// WorkspaceManagedSqlServerRecoverableSqlPoolsOperations operations. /// - internal partial class WorkspaceManagedSqlServerRecoverableSqlpoolsOperations : IServiceOperations, IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations + internal partial class WorkspaceManagedSqlServerRecoverableSqlPoolsOperations : IServiceOperations, IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations { /// - /// Initializes a new instance of the WorkspaceManagedSqlServerRecoverableSqlpoolsOperations class. + /// Initializes a new instance of the WorkspaceManagedSqlServerRecoverableSqlPoolsOperations class. /// /// /// Reference to the service client. @@ -36,7 +36,7 @@ internal partial class WorkspaceManagedSqlServerRecoverableSqlpoolsOperations : /// /// Thrown when a required parameter is null /// - internal WorkspaceManagedSqlServerRecoverableSqlpoolsOperations(SynapseManagementClient client) + internal WorkspaceManagedSqlServerRecoverableSqlPoolsOperations(SynapseManagementClient client) { if (client == null) { @@ -144,7 +144,7 @@ internal WorkspaceManagedSqlServerRecoverableSqlpoolsOperations(SynapseManagemen } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/recoverableSqlpools").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/recoverableSqlPools").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); @@ -290,8 +290,8 @@ internal WorkspaceManagedSqlServerRecoverableSqlpoolsOperations(SynapseManagemen /// /// The name of the workspace /// - /// - /// The name of the sql compute + /// + /// The name of the sql pool /// /// /// Headers that will be added to request. @@ -314,7 +314,7 @@ internal WorkspaceManagedSqlServerRecoverableSqlpoolsOperations(SynapseManagemen /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlComputeName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string workspaceName, string sqlPoolName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.ApiVersion == null) { @@ -361,9 +361,9 @@ internal WorkspaceManagedSqlServerRecoverableSqlpoolsOperations(SynapseManagemen { throw new ValidationException(ValidationRules.CannotBeNull, "workspaceName"); } - if (sqlComputeName == null) + if (sqlPoolName == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "sqlComputeName"); + throw new ValidationException(ValidationRules.CannotBeNull, "sqlPoolName"); } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; @@ -374,17 +374,17 @@ internal WorkspaceManagedSqlServerRecoverableSqlpoolsOperations(SynapseManagemen Dictionary tracingParameters = new Dictionary(); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("workspaceName", workspaceName); - tracingParameters.Add("sqlComputeName", sqlComputeName); + tracingParameters.Add("sqlPoolName", sqlPoolName); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/recoverableSqlPools/{sqlComputeName}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/recoverableSqlPools/{sqlPoolName}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{workspaceName}", System.Uri.EscapeDataString(workspaceName)); - _url = _url.Replace("{sqlComputeName}", System.Uri.EscapeDataString(sqlComputeName)); + _url = _url.Replace("{sqlPoolName}", System.Uri.EscapeDataString(sqlPoolName)); List _queryParameters = new List(); if (Client.ApiVersion != null) { diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperationsExtensions.cs index 945a4f4d4e2ef..0cc21ea6da252 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperationsExtensions.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperationsExtensions.cs @@ -17,9 +17,9 @@ namespace Microsoft.Azure.Management.Synapse using System.Threading.Tasks; /// - /// Extension methods for WorkspaceManagedSqlServerRecoverableSqlpoolsOperations. + /// Extension methods for WorkspaceManagedSqlServerRecoverableSqlPoolsOperations. /// - public static partial class WorkspaceManagedSqlServerRecoverableSqlpoolsOperationsExtensions + public static partial class WorkspaceManagedSqlServerRecoverableSqlPoolsOperationsExtensions { /// /// Get list of recoverable sql pools for the server. @@ -36,7 +36,7 @@ public static partial class WorkspaceManagedSqlServerRecoverableSqlpoolsOperatio /// /// The name of the workspace /// - public static IPage List(this IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations operations, string resourceGroupName, string workspaceName) + public static IPage List(this IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations operations, string resourceGroupName, string workspaceName) { return operations.ListAsync(resourceGroupName, workspaceName).GetAwaiter().GetResult(); } @@ -59,7 +59,7 @@ public static IPage List(this IWorkspaceManagedSqlServerReco /// /// The cancellation token. /// - public static async Task> ListAsync(this IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListAsync(this IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations operations, string resourceGroupName, string workspaceName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, workspaceName, null, cancellationToken).ConfigureAwait(false)) { @@ -82,12 +82,12 @@ public static IPage List(this IWorkspaceManagedSqlServerReco /// /// The name of the workspace /// - /// - /// The name of the sql compute + /// + /// The name of the sql pool /// - public static RecoverableSqlPool Get(this IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations operations, string resourceGroupName, string workspaceName, string sqlComputeName) + public static RecoverableSqlPool Get(this IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName) { - return operations.GetAsync(resourceGroupName, workspaceName, sqlComputeName).GetAwaiter().GetResult(); + return operations.GetAsync(resourceGroupName, workspaceName, sqlPoolName).GetAwaiter().GetResult(); } /// @@ -105,15 +105,15 @@ public static RecoverableSqlPool Get(this IWorkspaceManagedSqlServerRecoverableS /// /// The name of the workspace /// - /// - /// The name of the sql compute + /// + /// The name of the sql pool /// /// /// The cancellation token. /// - public static async Task GetAsync(this IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations operations, string resourceGroupName, string workspaceName, string sqlComputeName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAsync(this IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations operations, string resourceGroupName, string workspaceName, string sqlPoolName, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlComputeName, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, workspaceName, sqlPoolName, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -131,7 +131,7 @@ public static RecoverableSqlPool Get(this IWorkspaceManagedSqlServerRecoverableS /// /// The NextLink from the previous successful call to List operation. /// - public static IPage ListNext(this IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations operations, string nextPageLink) + public static IPage ListNext(this IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations operations, string nextPageLink) { return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); } @@ -151,7 +151,7 @@ public static IPage ListNext(this IWorkspaceManagedSqlServer /// /// The cancellation token. /// - public static async Task> ListNextAsync(this IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListNextAsync(this IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) { diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceSqlAadAdminsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceSqlAadAdminsOperations.cs index 9a5dfc0ff2ec1..b7dc63362f546 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceSqlAadAdminsOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceSqlAadAdminsOperations.cs @@ -65,7 +65,7 @@ internal WorkspaceSqlAadAdminsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -210,11 +210,11 @@ internal WorkspaceSqlAadAdminsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -335,7 +335,7 @@ internal WorkspaceSqlAadAdminsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -491,11 +491,11 @@ internal WorkspaceSqlAadAdminsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -584,7 +584,7 @@ internal WorkspaceSqlAadAdminsOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -726,11 +726,11 @@ internal WorkspaceSqlAadAdminsOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspacesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspacesOperations.cs index d532da738d8be..a58ca54227021 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspacesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspacesOperations.cs @@ -62,7 +62,7 @@ internal WorkspacesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -201,11 +201,11 @@ internal WorkspacesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -276,7 +276,7 @@ internal WorkspacesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -421,11 +421,11 @@ internal WorkspacesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -562,7 +562,7 @@ internal WorkspacesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -680,11 +680,11 @@ internal WorkspacesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -758,7 +758,7 @@ internal WorkspacesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -914,11 +914,11 @@ internal WorkspacesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1010,7 +1010,7 @@ internal WorkspacesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1170,11 +1170,11 @@ internal WorkspacesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 201) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1263,7 +1263,7 @@ internal WorkspacesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1408,11 +1408,11 @@ internal WorkspacesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1498,7 +1498,7 @@ internal WorkspacesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1594,11 +1594,11 @@ internal WorkspacesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; @@ -1666,7 +1666,7 @@ internal WorkspacesOperations(SynapseManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1762,11 +1762,11 @@ internal WorkspacesOperations(SynapseManagementClient client) string _responseContent = null; if ((int)_statusCode != 200) { - var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); if (_errorBody != null) { ex.Body = _errorBody; diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/FirewallRuleOperationTests.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/FirewallRuleOperationTests.cs index 31098e20f7bae..172b84f968005 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/FirewallRuleOperationTests.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/FirewallRuleOperationTests.cs @@ -60,7 +60,7 @@ public void TestFirewallRule() // delete firewall SynapseClient.IpFirewallRules.Delete(CommonData.ResourceGroupName, workspaceName, firewallRuleName); - var ex = Assert.Throws(() => SynapseClient.IpFirewallRules.Get(CommonData.ResourceGroupName, workspaceName, firewallRuleName)); + var ex = Assert.Throws(() => SynapseClient.IpFirewallRules.Get(CommonData.ResourceGroupName, workspaceName, firewallRuleName)); Assert.Equal("Operation returned an invalid status code 'NotFound'", ex.Message); } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/TestHelpers/CommonTestsFixture.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/TestHelpers/CommonTestsFixture.cs index eb396a52d2e0a..bea4cab74a9a5 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/TestHelpers/CommonTestsFixture.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/TestHelpers/CommonTestsFixture.cs @@ -116,7 +116,7 @@ public class CommonTestFixture : TestBase /// public CommonTestFixture() { - Location = "eastus"; + Location = "eastus2euap"; ResourceGroupName = TestUtilities.GenerateName("synapsesdkrp"); StorageAccountName = TestUtilities.GenerateName("synapsesdkstorage"); SshUsername = TestUtilities.GenerateName("sshuser"); From d3271d6e93fc3a5aa62dcbc56d1e2d41444fb8de Mon Sep 17 00:00:00 2001 From: Dongwei Wang Date: Thu, 28 Jan 2021 05:14:17 -0800 Subject: [PATCH 2/3] [Synapse] - General available release --- .../mgmtmetadata/synapse_resource-manager.txt | 4 +- .../SdkInfo_SynapseManagementClient.cs | 2 +- .../Microsoft.Azure.Management.Synapse.csproj | 5 +- .../ScenarioTests/SqlpoolOperationTests.cs | 17 +- .../SynapseManagementTestBase.cs | 1 + .../ScenarioTests/WorkspaceOperationTests.cs | 25 +- .../TestFirewallRule.json | 394 +++--- .../TestSparkPoolLifeCycle.json | 526 ++++---- .../TestSqlPoolLifeCycle.json | 1133 +++++++---------- .../TestWorkspaceLifeCycle.json | 854 +++++++++---- 10 files changed, 1553 insertions(+), 1408 deletions(-) diff --git a/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt b/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt index 12b67bddc0cfd..5bac95871323d 100644 --- a/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt +++ b/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt @@ -4,11 +4,11 @@ Commencing code generation Generating CSharp code Executing AutoRest command cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/synapse/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\code\AzureSDK\azure-sdk-for-net\sdk -2021-01-27 09:27:50 UTC +2021-01-28 11:11:23 UTC Azure-rest-api-specs repository information GitHub fork: Azure Branch: master -Commit: 414f8e976403d597a2cab55e22d417c666eac84b +Commit: b6e82da5d8db8b2fb86cc774763c3594cf342918 AutoRest information Requested version: v2 Bootstrapper version: autorest@2.0.4413 diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs index df120cc3134ab..165e33416d1b0 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs @@ -87,7 +87,7 @@ public static IEnumerable> ApiInfo_SynapseManageme public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/synapse/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\code\\AzureSDK\\azure-sdk-for-net\\sdk"; public static readonly String GithubForkName = "Azure"; public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "414f8e976403d597a2cab55e22d417c666eac84b"; + public static readonly String GithubCommidId = "b6e82da5d8db8b2fb86cc774763c3594cf342918"; public static readonly String CodeGenerationErrors = ""; public static readonly String GithubRepoName = "azure-rest-api-specs"; // END: Code Generation Metadata Section diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Microsoft.Azure.Management.Synapse.csproj b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Microsoft.Azure.Management.Synapse.csproj index 46a1829df230f..8efd93102c9a0 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Microsoft.Azure.Management.Synapse.csproj +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Microsoft.Azure.Management.Synapse.csproj @@ -7,12 +7,11 @@ Microsoft.Azure.Management.Synapse Azure Synapse Management SDK Library Microsoft.Azure.Management.Synapse - 1.0.0-preview.5 + 1.0.0 Microsoft Azure Synapse Management;Synapse;Synapse Management diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/SqlpoolOperationTests.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/SqlpoolOperationTests.cs index 5d86d0280a66e..6c5e17fb1663c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/SqlpoolOperationTests.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/SqlpoolOperationTests.cs @@ -35,7 +35,11 @@ public void TestSqlPoolLifeCycle() break; } - Thread.Sleep(30000); + if (IsRecordMode) + { + Thread.Sleep(30000); + } + Assert.True(i < 60, "Synapse Workspace is not in succeeded state even after 30 min."); } @@ -59,7 +63,10 @@ public void TestSqlPoolLifeCycle() break; } - Thread.Sleep(30000); + if (IsRecordMode) + { + Thread.Sleep(30000); + } Assert.True(i < 60, "Synapse SqlPool is not in succeeded state even after 30 min."); } @@ -72,7 +79,11 @@ public void TestSqlPoolLifeCycle() }; SynapseClient.SqlPools.Update(CommonData.ResourceGroupName, workspaceName, sqlpoolName, sqlPoolPatchInfo); - Thread.Sleep(30000); + if (IsRecordMode) + { + Thread.Sleep(30000); + } + var sqlpoolUpdate = SynapseClient.SqlPools.Get(CommonData.ResourceGroupName, workspaceName, sqlpoolName); Assert.NotNull(sqlpoolUpdate.Tags); Assert.Equal("TestUpdate", sqlpoolUpdate.Tags["TestTag"]); diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/SynapseManagementTestBase.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/SynapseManagementTestBase.cs index 6d2fdf83a0ec3..0508a80997173 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/SynapseManagementTestBase.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/SynapseManagementTestBase.cs @@ -24,6 +24,7 @@ internal virtual void TestInitialize([System.Runtime.CompilerServices.CallerMemb Context = SynapseMockContext.Start(this.GetType(), methodName); CommonData = new CommonTestFixture(); SynapseClient = Context.GetServiceClient(); + SynapseClient.BaseUri = new Uri("https://eastus2euap.management.azure.com"); SynapseManagementHelper = new SynapseManagementHelper(CommonData, Context); if (IsRecordMode) diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/WorkspaceOperationTests.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/WorkspaceOperationTests.cs index 37f60687a8e30..59b605df89930 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/WorkspaceOperationTests.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/ScenarioTests/WorkspaceOperationTests.cs @@ -5,6 +5,8 @@ using System.Collections.Generic; using Xunit; using System.Threading; +using Microsoft.Rest.Azure; +using System.Linq; namespace Microsoft.Azure.Management.Synapse.Tests { @@ -45,8 +47,7 @@ public void TestWorkspaceLifeCycle() Assert.Equal("TestUpdate", workspaceUpdate.Tags["TestTag"]); // list workspace from resource group - var firstPage = SynapseClient.Workspaces.ListByResourceGroup(CommonData.ResourceGroupName); - var workspaceFromResourceGroup = SynapseManagementTestUtilities.ListResources(firstPage, SynapseClient.Workspaces.ListNext); + var workspaceFromResourceGroup = SynapseClient.Workspaces.ListByResourceGroup(CommonData.ResourceGroupName).ToList(); Assert.True(1 <= workspaceFromResourceGroup.Count); bool isFound = false; int workspaceCount = workspaceFromResourceGroup.Count; @@ -64,9 +65,7 @@ public void TestWorkspaceLifeCycle() Assert.True(isFound, string.Format("Workspace created earlier is not found when listing all in resource group {0}", CommonData.ResourceGroupName)); // list workspace from subscription - firstPage = SynapseClient.Workspaces.List(); - Assert.True(1 <= workspaceFromResourceGroup.Count); - var workspaceFromSubscription = SynapseManagementTestUtilities.ListResources(firstPage, SynapseClient.Workspaces.ListNext); + var workspaceFromSubscription = SynapseClient.Workspaces.List().ToList(); Assert.True(1 <= workspaceFromSubscription.Count); isFound = false; for (int i = 0; i < workspaceFromSubscription.Count; i++) @@ -82,10 +81,18 @@ public void TestWorkspaceLifeCycle() Assert.True(isFound, string.Format("Workspace created earlier is not found when listing all in subscription {0}", CommonData.SubscriptionId)); - // delete workspace - SynapseClient.Workspaces.Delete(CommonData.ResourceGroupName, workspaceName); - firstPage = SynapseClient.Workspaces.ListByResourceGroup(CommonData.ResourceGroupName); - var workspaceAfterDelete = SynapseManagementTestUtilities.ListResources(firstPage, SynapseClient.Workspaces.ListNext); + try + { + // delete workspace + SynapseClient.Workspaces.Delete(CommonData.ResourceGroupName, workspaceName); + } + catch (CloudException ex) + { + Assert.Equal(404, (int)ex.Response.StatusCode); + Assert.Contains($"Can not perform requested operation on nested resource. Parent resource '{workspaceName}' not found.", ex.Body.Message); + } + + var workspaceAfterDelete = SynapseClient.Workspaces.ListByResourceGroup(CommonData.ResourceGroupName).ToList(); Assert.True(workspaceCount-1 == workspaceAfterDelete.Count); } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/FirewallRuleOperationTests/TestFirewallRule.json b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/FirewallRuleOperationTests/TestFirewallRule.json index 519ebdf8e6fe9..341f7be060727 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/FirewallRuleOperationTests/TestFirewallRule.json +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/FirewallRuleOperationTests/TestFirewallRule.json @@ -1,27 +1,27 @@ { "Entries": [ { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654?api-version=2020-12-01", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6561.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys5038\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!3056\",\r\n \"sqlAdministratorLogin\": \"sshuser5951\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1089.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys3448\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!5629\",\r\n \"sqlAdministratorLogin\": \"sshuser4820\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "9301fcbb-19bf-4dcc-9d60-db7d46cd85ab" + "07059cad-2b24-4317-9ad4-6fd50d03ba5c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "367" + "372" ] }, "ResponseHeaders": { @@ -35,10 +35,10 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/8d386181-2995-4d4b-8362-bffb29080d9f?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/b1d31cf6-9602-450c-85bd-1908d46f0b29?api-version=2020-12-01" ], "x-ms-request-id": [ - "f8eb691a-9fed-4fb2-ae42-1749c6743491" + "a5199e26-ecd6-4afb-97d3-8aca05158889" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -47,19 +47,19 @@ "1199" ], "x-ms-correlation-request-id": [ - "469bfa28-d400-42be-9a10-00d31f4a9eea" + "eb6fc033-e367-4eb0-ae85-e29a167468c9" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093339Z:469bfa28-d400-42be-9a10-00d31f4a9eea" + "EASTUS2EUAP:20210128T125206Z:eb6fc033-e367-4eb0-ae85-e29a167468c9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:33:39 GMT" + "Thu, 28 Jan 2021 12:52:06 GMT" ], "Content-Length": [ - "1103" + "1285" ], "Content-Type": [ "application/json; charset=utf-8" @@ -68,19 +68,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace6264\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"db066402-20f9-4a01-b6e3-8222c6a9f447\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35%2fresourceGroups%2fsynapsesdkrp4772%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace6264\",\r\n \"sql\": \"synapsesdkworkspace6264.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace6264.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace6264-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-a918809e-15e9-4afb-bf40-8cd6ad0ebf4c\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6561.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys5038\"\r\n },\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4654\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"81812542-5438-4132-b8bf-3ed5496195b6\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2fcbddc64e-8c04-4d63-b4b6-940edd9e0279%2fresourceGroups%2fsynapsesdkrp4408%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4654\",\r\n \"dev\": \"https://synapsesdkworkspace4654.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4654-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4654.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ab3c55d6-7e6c-4983-a094-415172b843d9\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1089.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys3448\"\r\n },\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"2604806d-6093-4f55-9ade-c4c824c8663a\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/8d386181-2995-4d4b-8362-bffb29080d9f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/b1d31cf6-9602-450c-85bd-1908d46f0b29?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -94,7 +94,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "08374719-f934-4923-90ed-71cecf39d69b" + "a7cbdc08-f123-4b08-8bb5-6a35c8b9e191" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -103,16 +103,16 @@ "11999" ], "x-ms-correlation-request-id": [ - "cb6ef49f-24da-4ce5-b5db-b6dbfea88f67" + "f4fcba4a-5c47-485c-8ff8-8bbb86106b0b" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093410Z:cb6ef49f-24da-4ce5-b5db-b6dbfea88f67" + "EASTUS2EUAP:20210128T125236Z:f4fcba4a-5c47-485c-8ff8-8bbb86106b0b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:34:10 GMT" + "Thu, 28 Jan 2021 12:52:36 GMT" ], "Content-Length": [ "23" @@ -128,15 +128,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/8d386181-2995-4d4b-8362-bffb29080d9f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/b1d31cf6-9602-450c-85bd-1908d46f0b29?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -150,7 +150,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "977c6d3a-205e-4f1b-a1af-a568c0b2ba21" + "a02ee4cf-22ce-4a61-9fd0-e837721738cc" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -159,16 +159,16 @@ "11998" ], "x-ms-correlation-request-id": [ - "7279f023-710d-4738-8121-f2f5c74838b6" + "530f52f8-7557-4a9f-9aa7-870bd5f57af2" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093442Z:7279f023-710d-4738-8121-f2f5c74838b6" + "EASTUS2EUAP:20210128T125307Z:530f52f8-7557-4a9f-9aa7-870bd5f57af2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:34:41 GMT" + "Thu, 28 Jan 2021 12:53:06 GMT" ], "Content-Length": [ "23" @@ -184,15 +184,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/8d386181-2995-4d4b-8362-bffb29080d9f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/b1d31cf6-9602-450c-85bd-1908d46f0b29?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -206,7 +206,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "cae516d8-16d4-4d91-92eb-3bbe8f3d933c" + "0eff25c6-6d2d-450c-a93e-f90707bd5520" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -215,16 +215,16 @@ "11997" ], "x-ms-correlation-request-id": [ - "03210f3e-7ff2-409b-af42-6babaf6588a6" + "b75cec8e-ea1c-4bb6-8a52-42b031ec7fdf" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093514Z:03210f3e-7ff2-409b-af42-6babaf6588a6" + "EASTUS2EUAP:20210128T125337Z:b75cec8e-ea1c-4bb6-8a52-42b031ec7fdf" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:35:14 GMT" + "Thu, 28 Jan 2021 12:53:37 GMT" ], "Content-Length": [ "23" @@ -240,15 +240,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/8d386181-2995-4d4b-8362-bffb29080d9f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/b1d31cf6-9602-450c-85bd-1908d46f0b29?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -262,7 +262,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "09ba4a44-4925-4d33-8e35-de07d5832f4c" + "19b0afc2-df74-4bc3-9eef-0beabb5448fd" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -271,16 +271,16 @@ "11996" ], "x-ms-correlation-request-id": [ - "5fffefff-6761-45c2-8d13-d1a5986ed9b3" + "73d090ee-d54b-48b7-bfe5-b54b67916ed4" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093545Z:5fffefff-6761-45c2-8d13-d1a5986ed9b3" + "EASTUS2EUAP:20210128T125407Z:73d090ee-d54b-48b7-bfe5-b54b67916ed4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:35:45 GMT" + "Thu, 28 Jan 2021 12:54:06 GMT" ], "Content-Length": [ "23" @@ -296,15 +296,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/8d386181-2995-4d4b-8362-bffb29080d9f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/b1d31cf6-9602-450c-85bd-1908d46f0b29?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -318,7 +318,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a393ed6e-2ecd-4fb5-945e-43f69b9b4fc8" + "71f560d5-bb28-4f15-8ca2-dc4dab62dfda" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -327,16 +327,16 @@ "11995" ], "x-ms-correlation-request-id": [ - "04cc62c6-a0df-4616-ad94-a022d95b4678" + "351ff652-9621-488e-8968-f80c194aa044" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093617Z:04cc62c6-a0df-4616-ad94-a022d95b4678" + "EASTUS2EUAP:20210128T125437Z:351ff652-9621-488e-8968-f80c194aa044" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:36:16 GMT" + "Thu, 28 Jan 2021 12:54:37 GMT" ], "Content-Length": [ "23" @@ -352,15 +352,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/8d386181-2995-4d4b-8362-bffb29080d9f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/b1d31cf6-9602-450c-85bd-1908d46f0b29?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -374,7 +374,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "372f51bb-c825-4c64-b01e-eebff3d1f9ab" + "fc7e1eba-653c-4469-aa6a-ecacff0dbc64" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -383,16 +383,16 @@ "11994" ], "x-ms-correlation-request-id": [ - "8ba8ecf7-7616-4550-8678-8a9b12b64e01" + "2e4340e5-866b-45d2-ba3e-c43865bf6bcf" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093648Z:8ba8ecf7-7616-4550-8678-8a9b12b64e01" + "EASTUS2EUAP:20210128T125507Z:2e4340e5-866b-45d2-ba3e-c43865bf6bcf" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:36:48 GMT" + "Thu, 28 Jan 2021 12:55:07 GMT" ], "Content-Length": [ "22" @@ -408,15 +408,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -430,7 +430,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "38af408e-542a-42e4-bbca-ee589febbf39" + "618c24d3-8d50-4bfb-9cb6-2cbb396de91e" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -439,19 +439,19 @@ "11993" ], "x-ms-correlation-request-id": [ - "bb50f7aa-8bcb-4012-801e-37b7070c85b0" + "6baa6b5d-4ad8-4ec9-9d29-907b4e30652d" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093649Z:bb50f7aa-8bcb-4012-801e-37b7070c85b0" + "EASTUS2EUAP:20210128T125507Z:6baa6b5d-4ad8-4ec9-9d29-907b4e30652d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:36:49 GMT" + "Thu, 28 Jan 2021 12:55:07 GMT" ], "Content-Length": [ - "1138" + "1320" ], "Content-Type": [ "application/json; charset=utf-8" @@ -460,25 +460,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace6264\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"db066402-20f9-4a01-b6e3-8222c6a9f447\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35%2fresourceGroups%2fsynapsesdkrp4772%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace6264\",\r\n \"sql\": \"synapsesdkworkspace6264.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace6264.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace6264-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-a918809e-15e9-4afb-bf40-8cd6ad0ebf4c\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6561.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys5038\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser5951\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4654\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"81812542-5438-4132-b8bf-3ed5496195b6\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2fcbddc64e-8c04-4d63-b4b6-940edd9e0279%2fresourceGroups%2fsynapsesdkrp4408%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4654\",\r\n \"dev\": \"https://synapsesdkworkspace4654.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4654-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4654.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ab3c55d6-7e6c-4983-a094-415172b843d9\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1089.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys3448\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser4820\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"2604806d-6093-4f55-9ade-c4c824c8663a\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "30f23744-7fd2-420f-93c8-183ebd2be7e1" + "19aeb898-3195-4511-b06b-116dc28b6045" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -492,7 +492,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5ee77bde-3abb-4fcf-a0cd-50fe9136a4bf" + "e5614796-e14f-4714-b23b-4ccf9e75b1d6" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -501,19 +501,19 @@ "11992" ], "x-ms-correlation-request-id": [ - "2e2ba2f4-9523-4ad4-bb96-8358521ff9e5" + "ae26e63f-368d-4b73-bac2-9487e2bef911" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093650Z:2e2ba2f4-9523-4ad4-bb96-8358521ff9e5" + "EASTUS2EUAP:20210128T125507Z:ae26e63f-368d-4b73-bac2-9487e2bef911" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:36:49 GMT" + "Thu, 28 Jan 2021 12:55:07 GMT" ], "Content-Length": [ - "1138" + "1320" ], "Content-Type": [ "application/json; charset=utf-8" @@ -522,25 +522,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace6264\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"db066402-20f9-4a01-b6e3-8222c6a9f447\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35%2fresourceGroups%2fsynapsesdkrp4772%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace6264\",\r\n \"sql\": \"synapsesdkworkspace6264.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace6264.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace6264-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-a918809e-15e9-4afb-bf40-8cd6ad0ebf4c\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6561.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys5038\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser5951\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4654\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"81812542-5438-4132-b8bf-3ed5496195b6\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2fcbddc64e-8c04-4d63-b4b6-940edd9e0279%2fresourceGroups%2fsynapsesdkrp4408%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4654\",\r\n \"dev\": \"https://synapsesdkworkspace4654.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4654-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4654.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ab3c55d6-7e6c-4983-a094-415172b843d9\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1089.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys3448\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser4820\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"2604806d-6093-4f55-9ade-c4c824c8663a\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062?api-version=2020-12-01", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"255.255.255.255\",\r\n \"startIpAddress\": \"0.0.0.0\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "26a461af-abe5-44b4-ae1c-13a4876e6599" + "ea6573ea-46cd-4faf-a7c9-278322b37813" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -557,13 +557,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationResults/1ba84a8d-b98f-4290-a7ee-c13d66d4ea34?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationResults/1a0cc86b-5850-4d22-8469-4273ae4c0260?api-version=2020-12-01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/1ba84a8d-b98f-4290-a7ee-c13d66d4ea34?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/1a0cc86b-5850-4d22-8469-4273ae4c0260?api-version=2020-12-01" ], "Access-Control-Allow-Headers": [ "Location" @@ -572,7 +572,7 @@ "Location" ], "x-ms-request-id": [ - "c3664814-69a1-4a8e-ad20-86d87b9fb1e7" + "e89bdd1f-5484-42ca-8282-8dbafaa9ed99" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -581,16 +581,16 @@ "1198" ], "x-ms-correlation-request-id": [ - "c6492aa0-cd26-4973-83c9-4a73b1f58cf2" + "f902dd56-e561-4707-b258-1f91674a3710" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093658Z:c6492aa0-cd26-4973-83c9-4a73b1f58cf2" + "EASTUS2EUAP:20210128T125508Z:f902dd56-e561-4707-b258-1f91674a3710" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:36:58 GMT" + "Thu, 28 Jan 2021 12:55:07 GMT" ], "Content-Length": [ "380" @@ -602,25 +602,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Provisioning\",\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n },\r\n \"id\": \"/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335\",\r\n \"name\": \"firewallrulesdk3335\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Provisioning\",\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n },\r\n \"id\": \"/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062\",\r\n \"name\": \"firewallrulesdk6062\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062?api-version=2020-12-01", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"endIpAddress\": \"255.0.0.0\",\r\n \"startIpAddress\": \"10.0.0.0\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "cceb6c22-ed17-4cb3-9c41-d709360a3bd3" + "9ef58482-a0d5-4484-9961-7188a5b18d5a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -637,13 +637,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationResults/6932d5d8-2e78-403f-9401-530661620336?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationResults/93490544-662a-4820-b34f-033a8d6b42ac?api-version=2020-12-01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/6932d5d8-2e78-403f-9401-530661620336?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/93490544-662a-4820-b34f-033a8d6b42ac?api-version=2020-12-01" ], "Access-Control-Allow-Headers": [ "Location" @@ -652,7 +652,7 @@ "Location" ], "x-ms-request-id": [ - "e483dc8b-50a6-4800-a0e2-e7386c99e30f" + "1f1b38f7-c2e4-4e5e-88ce-034be53e0b16" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -661,16 +661,16 @@ "1197" ], "x-ms-correlation-request-id": [ - "1b247dd9-ef2f-4a08-9efd-1817cba4cfcb" + "668b1248-c8bf-456a-873d-7ee752f3d1ae" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093732Z:1b247dd9-ef2f-4a08-9efd-1817cba4cfcb" + "EASTUS2EUAP:20210128T125538Z:668b1248-c8bf-456a-873d-7ee752f3d1ae" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:37:31 GMT" + "Thu, 28 Jan 2021 12:55:38 GMT" ], "Content-Length": [ "375" @@ -682,19 +682,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Provisioning\",\r\n \"startIpAddress\": \"10.0.0.0\",\r\n \"endIpAddress\": \"255.0.0.0\"\r\n },\r\n \"id\": \"/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335\",\r\n \"name\": \"firewallrulesdk3335\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Provisioning\",\r\n \"startIpAddress\": \"10.0.0.0\",\r\n \"endIpAddress\": \"255.0.0.0\"\r\n },\r\n \"id\": \"/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062\",\r\n \"name\": \"firewallrulesdk6062\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/1ba84a8d-b98f-4290-a7ee-c13d66d4ea34?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/1a0cc86b-5850-4d22-8469-4273ae4c0260?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -708,7 +708,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2babbe1a-4d01-43db-8912-2eeab1443f9a" + "2c5a9ea1-3aa1-493a-a4e6-bca2b72707eb" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -717,16 +717,16 @@ "11991" ], "x-ms-correlation-request-id": [ - "8b7a7a25-5dfa-4b31-8fe5-057a7a68064c" + "d33336ca-c195-4e74-b64e-d66e6fd4b687" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093730Z:8b7a7a25-5dfa-4b31-8fe5-057a7a68064c" + "EASTUS2EUAP:20210128T125538Z:d33336ca-c195-4e74-b64e-d66e6fd4b687" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:37:29 GMT" + "Thu, 28 Jan 2021 12:55:38 GMT" ], "Content-Length": [ "22" @@ -742,15 +742,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -764,7 +764,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8171ae13-6a46-481b-b8cb-4c4bc7f8d930" + "c0317f9c-9846-4f1d-a35c-eb58d8819412" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -773,16 +773,16 @@ "11990" ], "x-ms-correlation-request-id": [ - "a1f5d289-24a1-4a38-9917-04d433e425e4" + "1dffbccf-671a-452f-9e27-458ce5a43eb2" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093730Z:a1f5d289-24a1-4a38-9917-04d433e425e4" + "EASTUS2EUAP:20210128T125538Z:1dffbccf-671a-452f-9e27-458ce5a43eb2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:37:30 GMT" + "Thu, 28 Jan 2021 12:55:38 GMT" ], "Content-Length": [ "377" @@ -794,25 +794,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n },\r\n \"id\": \"/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335\",\r\n \"name\": \"firewallrulesdk3335\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n },\r\n \"id\": \"/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062\",\r\n \"name\": \"firewallrulesdk6062\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b3e48bbe-6c91-47f3-8491-d2e06ef153e7" + "c4cf1aa3-59a1-480d-8254-f611e522b93f" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -826,7 +826,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "870351ed-1da8-478d-864c-30e96372ce59" + "c8c7f70f-3f68-4e86-b62d-7588bb78fd6b" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -835,16 +835,16 @@ "11989" ], "x-ms-correlation-request-id": [ - "5a095508-e088-4ce4-9e54-a49eb142c1d3" + "40631aae-8485-4d3c-bb2b-a70348914958" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093731Z:5a095508-e088-4ce4-9e54-a49eb142c1d3" + "EASTUS2EUAP:20210128T125538Z:40631aae-8485-4d3c-bb2b-a70348914958" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:37:30 GMT" + "Thu, 28 Jan 2021 12:55:38 GMT" ], "Content-Length": [ "377" @@ -856,19 +856,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n },\r\n \"id\": \"/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335\",\r\n \"name\": \"firewallrulesdk3335\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"startIpAddress\": \"0.0.0.0\",\r\n \"endIpAddress\": \"255.255.255.255\"\r\n },\r\n \"id\": \"/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062\",\r\n \"name\": \"firewallrulesdk6062\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -882,7 +882,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "214aba70-51bc-4d9c-ab4f-b5ae32636e13" + "ac2a72f9-f339-4633-97bc-b9324a485e10" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -891,16 +891,16 @@ "11987" ], "x-ms-correlation-request-id": [ - "a2b34fe7-439a-4fd9-82c3-51fac71f4ab9" + "a508ea49-e7d0-45d7-b863-c58fe4bd06af" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093804Z:a2b34fe7-439a-4fd9-82c3-51fac71f4ab9" + "EASTUS2EUAP:20210128T125609Z:a508ea49-e7d0-45d7-b863-c58fe4bd06af" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:38:03 GMT" + "Thu, 28 Jan 2021 12:56:09 GMT" ], "Content-Length": [ "372" @@ -912,25 +912,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"startIpAddress\": \"10.0.0.0\",\r\n \"endIpAddress\": \"255.0.0.0\"\r\n },\r\n \"id\": \"/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335\",\r\n \"name\": \"firewallrulesdk3335\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"startIpAddress\": \"10.0.0.0\",\r\n \"endIpAddress\": \"255.0.0.0\"\r\n },\r\n \"id\": \"/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062\",\r\n \"name\": \"firewallrulesdk6062\",\r\n \"type\": \"Microsoft.Synapse/workspaces/firewallRules\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e3fb14f9-a527-42b3-a808-0a96aa40ea5d" + "7027fd5a-ad5a-4b98-9638-a78732a654db" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -944,7 +944,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ce10b414-3b75-4b8f-a05b-289a2d47cd3e" + "c0c06a76-599e-42b0-9e25-6028a61e7b5a" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -953,16 +953,16 @@ "11984" ], "x-ms-correlation-request-id": [ - "a7c5e03e-9809-42b4-8b73-7e5792d5a466" + "41770c02-04d0-4b1a-942f-ad6e0bf6560b" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093837Z:a7c5e03e-9809-42b4-8b73-7e5792d5a466" + "EASTUS2EUAP:20210128T125639Z:41770c02-04d0-4b1a-942f-ad6e0bf6560b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:38:36 GMT" + "Thu, 28 Jan 2021 12:56:39 GMT" ], "Content-Length": [ "99" @@ -974,19 +974,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"IpFirewallRuleNotFound\",\r\n \"message\": \"synapsesdkworkspace6264/firewallrulesdk3335\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"IpFirewallRuleNotFound\",\r\n \"message\": \"synapsesdkworkspace4654/firewallrulesdk6062\"\r\n }\r\n}", "StatusCode": 404 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/6932d5d8-2e78-403f-9401-530661620336?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/93490544-662a-4820-b34f-033a8d6b42ac?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1000,7 +1000,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2a9dda56-65ec-450e-8e23-7341fe32add3" + "47821422-4990-4da5-ad22-922e7f977279" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1009,16 +1009,16 @@ "11988" ], "x-ms-correlation-request-id": [ - "73fbb97e-df08-4339-9e9c-b2daa09295c3" + "25738e27-6a8e-406a-81e7-50d74969bf92" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093803Z:73fbb97e-df08-4339-9e9c-b2daa09295c3" + "EASTUS2EUAP:20210128T125609Z:25738e27-6a8e-406a-81e7-50d74969bf92" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:38:02 GMT" + "Thu, 28 Jan 2021 12:56:09 GMT" ], "Content-Length": [ "22" @@ -1034,21 +1034,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/firewallRules/firewallrulesdk3335?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/firewallRules/firewallrulesdk6062?api-version=2020-12-01", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3aa028ff-dc5f-4e87-a8a3-13c449c2514c" + "a6842268-97cd-4bb3-a590-84619641e6df" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1059,13 +1059,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationResults/abd98f4f-0cb8-4328-a762-b561b51f0985?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationResults/81475df6-f1f0-4cdf-a9c2-b244dd5dbdd8?api-version=2020-12-01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/abd98f4f-0cb8-4328-a762-b561b51f0985?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/81475df6-f1f0-4cdf-a9c2-b244dd5dbdd8?api-version=2020-12-01" ], "Access-Control-Allow-Headers": [ "Location" @@ -1074,7 +1074,7 @@ "Location" ], "x-ms-request-id": [ - "5095464b-33ee-44ea-bfad-9783ab04d755" + "951763f9-bec2-4b6a-9eb7-9b8fbaf2c91b" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1083,16 +1083,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "49afcc22-7e9f-4fea-a749-5b077d046ed3" + "d21740bf-fab9-4daa-b4d1-b4850a6ef0c3" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093804Z:49afcc22-7e9f-4fea-a749-5b077d046ed3" + "EASTUS2EUAP:20210128T125609Z:d21740bf-fab9-4daa-b4d1-b4850a6ef0c3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:38:03 GMT" + "Thu, 28 Jan 2021 12:56:09 GMT" ], "Expires": [ "-1" @@ -1105,15 +1105,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationStatuses/abd98f4f-0cb8-4328-a762-b561b51f0985?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationStatuses/81475df6-f1f0-4cdf-a9c2-b244dd5dbdd8?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1127,7 +1127,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5683b0cc-ca0e-4ef4-a8b5-5fcb65583bd0" + "15303a9a-01d4-4ae3-bdab-b8f6f9c19f36" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1136,16 +1136,16 @@ "11986" ], "x-ms-correlation-request-id": [ - "cd03e70a-2c7a-4690-9fc0-2181adb91193" + "58949dd4-cea3-4d3b-bee5-e8659ee22af9" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093836Z:cd03e70a-2c7a-4690-9fc0-2181adb91193" + "EASTUS2EUAP:20210128T125639Z:58949dd4-cea3-4d3b-bee5-e8659ee22af9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:38:35 GMT" + "Thu, 28 Jan 2021 12:56:39 GMT" ], "Content-Length": [ "22" @@ -1161,15 +1161,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35/resourceGroups/synapsesdkrp4772/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6264/operationResults/abd98f4f-0cb8-4328-a762-b561b51f0985?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/cbddc64e-8c04-4d63-b4b6-940edd9e0279/resourceGroups/synapsesdkrp4408/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4654/operationResults/81475df6-f1f0-4cdf-a9c2-b244dd5dbdd8?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1183,7 +1183,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6815ea73-1ebf-48d9-b895-677441faff13" + "1037d126-fe7a-4bb0-8e23-a71a159b7e36" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1192,16 +1192,16 @@ "11985" ], "x-ms-correlation-request-id": [ - "7cb49419-942d-42b5-8956-a7e90ce5bd70" + "834eef08-5019-4b04-864e-5530ed3ecf62" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T093836Z:7cb49419-942d-42b5-8956-a7e90ce5bd70" + "EASTUS2EUAP:20210128T125639Z:834eef08-5019-4b04-864e-5530ed3ecf62" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:38:35 GMT" + "Thu, 28 Jan 2021 12:56:39 GMT" ], "Expires": [ "-1" @@ -1213,21 +1213,21 @@ ], "Names": { ".ctor": [ - "synapsesdkrp4772", - "synapsesdkstorage6561", - "sshuser5951", - "Password1!3056", - "synapsesdkfilesys5038" + "synapsesdkrp4408", + "synapsesdkstorage1089", + "sshuser4820", + "Password1!5629", + "synapsesdkfilesys3448" ], "TestInitialize": [ - "5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35" + "cbddc64e-8c04-4d63-b4b6-940edd9e0279" ], "TestFirewallRule": [ - "synapsesdkworkspace6264", - "firewallrulesdk3335" + "synapsesdkworkspace4654", + "firewallrulesdk6062" ] }, "Variables": { - "SubscriptionId": "5b7f49ce-65a2-4a9f-bbb0-0732fdca2e35" + "SubscriptionId": "cbddc64e-8c04-4d63-b4b6-940edd9e0279" } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/SparkpoolOperationTests/TestSparkPoolLifeCycle.json b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/SparkpoolOperationTests/TestSparkPoolLifeCycle.json index 4edc446a3ff77..a62433c4e0383 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/SparkpoolOperationTests/TestSparkPoolLifeCycle.json +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/SparkpoolOperationTests/TestSparkPoolLifeCycle.json @@ -1,27 +1,27 @@ { "Entries": [ { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784?api-version=2020-12-01", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1183.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys6517\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!1275\",\r\n \"sqlAdministratorLogin\": \"sshuser1029\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage8942.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys4523\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!8530\",\r\n \"sqlAdministratorLogin\": \"sshuser423\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "34317b13-7069-4f75-840b-15f28427f46d" + "7fb3366c-12d5-49e6-a9b0-0d4bb82d85cc" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "367" + "371" ] }, "ResponseHeaders": { @@ -35,31 +35,31 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/6a4490d3-034c-4955-b22f-f4952e3bab7c?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/7656b26d-faa5-4668-99c2-077750e6c4da?api-version=2020-12-01" ], "x-ms-request-id": [ - "3d39b4ec-893c-43d1-a86a-3c6d5e86be5c" + "defc7aa1-b56a-47e7-bb95-e6425588d47a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1197" ], "x-ms-correlation-request-id": [ - "4854bb84-a8f7-4149-ae44-d61977c72959" + "afacdca4-c8a3-498a-bc5b-7f1412694adb" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131516Z:4854bb84-a8f7-4149-ae44-d61977c72959" + "EASTUS2EUAP:20210128T125726Z:afacdca4-c8a3-498a-bc5b-7f1412694adb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:15:15 GMT" + "Thu, 28 Jan 2021 12:57:25 GMT" ], "Content-Length": [ - "1091" + "1285" ], "Content-Type": [ "application/json; charset=utf-8" @@ -68,19 +68,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace66\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"421019da-374c-4f6b-b0c8-4f947dc46038\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f393436f4-895e-4da8-addc-08b20570256b%2fresourceGroups%2fsynapsesdkrp8323%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace66\",\r\n \"sql\": \"synapsesdkworkspace66.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace66.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace66-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-482a2d02-1f6e-47b2-8bf2-dd1e604ac118\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1183.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys6517\"\r\n },\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace8784\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"73cd2c53-1de2-4048-928a-c986ba0238a3\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2fbc522b53-8506-4739-8f13-998a2e69a084%2fresourceGroups%2fsynapsesdkrp7464%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace8784\",\r\n \"dev\": \"https://synapsesdkworkspace8784.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace8784-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace8784.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-00df4c01-a05e-4bcb-b56b-2e4a240146c0\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage8942.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys4523\"\r\n },\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"fdef5603-5f01-4f5c-9654-48846d8880cb\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/6a4490d3-034c-4955-b22f-f4952e3bab7c?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/7656b26d-faa5-4668-99c2-077750e6c4da?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -94,25 +94,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a9b39557-a359-4981-82fd-59e32e8dd7f5" + "87127cbe-bd13-40a0-8f89-7b600ad09402" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" + "11983" ], "x-ms-correlation-request-id": [ - "775b1f56-0cc4-42c1-9697-f3d74a382851" + "7fc75f0f-fede-4788-8f2f-8de7111f5e78" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131546Z:775b1f56-0cc4-42c1-9697-f3d74a382851" + "EASTUS2EUAP:20210128T125756Z:7fc75f0f-fede-4788-8f2f-8de7111f5e78" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:15:46 GMT" + "Thu, 28 Jan 2021 12:57:55 GMT" ], "Content-Length": [ "23" @@ -128,15 +128,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/6a4490d3-034c-4955-b22f-f4952e3bab7c?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/7656b26d-faa5-4668-99c2-077750e6c4da?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -150,25 +150,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bd53786e-c365-4fb0-aa2e-6f51f7b151f1" + "db87753c-ab9a-45ec-89b7-15b487548a2f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11982" ], "x-ms-correlation-request-id": [ - "3938596e-b699-472c-8cbd-63e65e046179" + "738b8dde-3aa8-4eea-a093-3fc8232f4a4f" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131617Z:3938596e-b699-472c-8cbd-63e65e046179" + "EASTUS2EUAP:20210128T125826Z:738b8dde-3aa8-4eea-a093-3fc8232f4a4f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:16:16 GMT" + "Thu, 28 Jan 2021 12:58:26 GMT" ], "Content-Length": [ "23" @@ -184,15 +184,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/6a4490d3-034c-4955-b22f-f4952e3bab7c?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/7656b26d-faa5-4668-99c2-077750e6c4da?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -206,25 +206,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "016742e2-d8e9-417f-91b2-ce2964cff2fb" + "44f8c971-139a-4151-aa2a-ef9b05c58255" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11981" ], "x-ms-correlation-request-id": [ - "ad0417c7-ca35-486e-83dd-dc62d874309a" + "33dc8692-7ecb-4a1b-a921-9bea7beaa388" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131647Z:ad0417c7-ca35-486e-83dd-dc62d874309a" + "EASTUS2EUAP:20210128T125856Z:33dc8692-7ecb-4a1b-a921-9bea7beaa388" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:16:47 GMT" + "Thu, 28 Jan 2021 12:58:56 GMT" ], "Content-Length": [ "23" @@ -240,15 +240,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/6a4490d3-034c-4955-b22f-f4952e3bab7c?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/7656b26d-faa5-4668-99c2-077750e6c4da?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -262,25 +262,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "de705775-84b7-4838-a85f-ada0c989ce16" + "b75dfb97-5c5f-4aae-a8b0-1e5f4aaef0ec" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11980" ], "x-ms-correlation-request-id": [ - "49bd35d8-d3c3-4838-8319-4a389db45701" + "4968a33b-504d-420c-a492-03dd6d40ee74" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131718Z:49bd35d8-d3c3-4838-8319-4a389db45701" + "EASTUS2EUAP:20210128T125926Z:4968a33b-504d-420c-a492-03dd6d40ee74" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:17:18 GMT" + "Thu, 28 Jan 2021 12:59:26 GMT" ], "Content-Length": [ "23" @@ -296,15 +296,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/6a4490d3-034c-4955-b22f-f4952e3bab7c?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/7656b26d-faa5-4668-99c2-077750e6c4da?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -318,25 +318,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "feac9230-8bc1-4b89-afe0-14b8de4a866c" + "98f96b4d-300f-4901-acca-079244e8d7a1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11979" ], "x-ms-correlation-request-id": [ - "9660ecce-8ae5-400c-b5cf-e98829bbbd6d" + "a026e180-1b63-492a-b03f-a7197ddde0c1" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131748Z:9660ecce-8ae5-400c-b5cf-e98829bbbd6d" + "EASTUS2EUAP:20210128T125956Z:a026e180-1b63-492a-b03f-a7197ddde0c1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:17:48 GMT" + "Thu, 28 Jan 2021 12:59:56 GMT" ], "Content-Length": [ "23" @@ -352,15 +352,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/6a4490d3-034c-4955-b22f-f4952e3bab7c?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/7656b26d-faa5-4668-99c2-077750e6c4da?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -374,25 +374,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2af5e8ad-b581-4ef7-87b1-ba4a82671cdd" + "e3154656-4981-47a5-a9aa-66368c840930" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11984" ], "x-ms-correlation-request-id": [ - "a841568d-42b5-4e31-90ba-b40046c414db" + "70107da0-fde7-45c0-8c6b-d5193c1e740b" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131819Z:a841568d-42b5-4e31-90ba-b40046c414db" + "EASTUS2EUAP:20210128T130026Z:70107da0-fde7-45c0-8c6b-d5193c1e740b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:18:18 GMT" + "Thu, 28 Jan 2021 13:00:26 GMT" ], "Content-Length": [ "22" @@ -408,15 +408,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -430,28 +430,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4578b9d6-e3c9-4407-8950-3d50e72824ae" + "d96886e0-9796-49c9-93e1-d8d5e825dda5" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11983" ], "x-ms-correlation-request-id": [ - "9e978b1c-3409-4278-be3e-80827d5a23a9" + "d731254c-8b6c-4698-b4b5-82f6956f34fe" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131819Z:9e978b1c-3409-4278-be3e-80827d5a23a9" + "EASTUS2EUAP:20210128T130027Z:d731254c-8b6c-4698-b4b5-82f6956f34fe" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:18:18 GMT" + "Thu, 28 Jan 2021 13:00:26 GMT" ], "Content-Length": [ - "1126" + "1319" ], "Content-Type": [ "application/json; charset=utf-8" @@ -460,25 +460,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace66\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"421019da-374c-4f6b-b0c8-4f947dc46038\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f393436f4-895e-4da8-addc-08b20570256b%2fresourceGroups%2fsynapsesdkrp8323%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace66\",\r\n \"sql\": \"synapsesdkworkspace66.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace66.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace66-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-482a2d02-1f6e-47b2-8bf2-dd1e604ac118\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1183.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys6517\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser1029\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace8784\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"73cd2c53-1de2-4048-928a-c986ba0238a3\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2fbc522b53-8506-4739-8f13-998a2e69a084%2fresourceGroups%2fsynapsesdkrp7464%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace8784\",\r\n \"dev\": \"https://synapsesdkworkspace8784.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace8784-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace8784.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-00df4c01-a05e-4bcb-b56b-2e4a240146c0\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage8942.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys4523\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser423\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"fdef5603-5f01-4f5c-9654-48846d8880cb\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a1c7bf95-e8ef-4262-8c0b-de6d20559a87" + "f97f7d91-628d-4bb2-8225-fd3e0dd3ee65" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -492,28 +492,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7e286c59-5b34-43ec-b5b6-fa7fc1ec8609" + "243acc4d-b3f0-4b10-bec5-6df87f2da4a4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11982" ], "x-ms-correlation-request-id": [ - "0a86ae9d-a476-4479-be2f-28dabe379954" + "52cebc12-c894-4038-a4f2-031379ad561a" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131820Z:0a86ae9d-a476-4479-be2f-28dabe379954" + "EASTUS2EUAP:20210128T130027Z:52cebc12-c894-4038-a4f2-031379ad561a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:18:19 GMT" + "Thu, 28 Jan 2021 13:00:26 GMT" ], "Content-Length": [ - "1126" + "1319" ], "Content-Type": [ "application/json; charset=utf-8" @@ -522,31 +522,31 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace66\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"421019da-374c-4f6b-b0c8-4f947dc46038\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f393436f4-895e-4da8-addc-08b20570256b%2fresourceGroups%2fsynapsesdkrp8323%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace66\",\r\n \"sql\": \"synapsesdkworkspace66.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace66.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace66-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-482a2d02-1f6e-47b2-8bf2-dd1e604ac118\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1183.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys6517\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser1029\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace8784\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"73cd2c53-1de2-4048-928a-c986ba0238a3\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2fbc522b53-8506-4739-8f13-998a2e69a084%2fresourceGroups%2fsynapsesdkrp7464%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace8784\",\r\n \"dev\": \"https://synapsesdkworkspace8784.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace8784-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace8784.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-00df4c01-a05e-4bcb-b56b-2e4a240146c0\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage8942.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys4523\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser423\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"fdef5603-5f01-4f5c-9654-48846d8880cb\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366?api-version=2019-06-01-preview&force=false", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554?api-version=2020-12-01&force=false", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"nodeCount\": 3,\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"nodeCount\": 3,\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\"\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "23a324c7-7f71-4185-a104-26f03840e574" + "1751ce2c-33bf-430e-8d54-e5ae183b7e0d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "169" + "174" ] }, "ResponseHeaders": { @@ -557,13 +557,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationResults/94c7e06e-4bac-4dd6-997d-0c7203752bcf?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationResults/3670b6b2-344a-4ea8-b7a5-8de8e3534b16?api-version=2020-12-01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/94c7e06e-4bac-4dd6-997d-0c7203752bcf?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/3670b6b2-344a-4ea8-b7a5-8de8e3534b16?api-version=2020-12-01" ], "Access-Control-Allow-Headers": [ "Location" @@ -572,28 +572,28 @@ "Location" ], "x-ms-request-id": [ - "acb6cd39-6216-4437-83a5-8b0afc8645c0" + "4de38ec7-fd78-4c68-8298-402ffc99caba" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1197" ], "x-ms-correlation-request-id": [ - "5236dfd7-28bd-4d09-80c0-f1d57597d59a" + "348f185a-c30e-48a3-b993-cae82faff9fb" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131825Z:5236dfd7-28bd-4d09-80c0-f1d57597d59a" + "EASTUS2EUAP:20210128T130027Z:348f185a-c30e-48a3-b993-cae82faff9fb" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:18:24 GMT" + "Thu, 28 Jan 2021 13:00:26 GMT" ], "Content-Length": [ - "439" + "591" ], "Content-Type": [ "application/json; charset=utf-8" @@ -602,31 +602,31 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2020-07-06T13:18:24.9866667Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"provisioningState\": \"Provisioning\"\r\n },\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366\",\r\n \"name\": \"sparkpool5366\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2021-01-28T13:00:27.73Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"isComputeIsolationEnabled\": false,\r\n \"sessionLevelPackagesEnabled\": false,\r\n \"cacheSize\": 0,\r\n \"dynamicExecutorAllocation\": {\r\n \"enabled\": false\r\n },\r\n \"provisioningState\": \"Provisioning\"\r\n },\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554\",\r\n \"name\": \"sparkpool6554\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus2euap\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366?api-version=2019-06-01-preview&force=false", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554?api-version=2020-12-01&force=false", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"autoScale\": {\r\n \"minNodeCount\": 3,\r\n \"enabled\": true,\r\n \"maxNodeCount\": 6\r\n },\r\n \"autoPause\": {\r\n \"delayInMinutes\": 15,\r\n \"enabled\": true\r\n },\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"autoScale\": {\r\n \"minNodeCount\": 3,\r\n \"enabled\": true,\r\n \"maxNodeCount\": 6\r\n },\r\n \"autoPause\": {\r\n \"delayInMinutes\": 15,\r\n \"enabled\": true\r\n },\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\"\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "554391dc-239c-43eb-8231-a17b64960a73" + "b9d92a7e-f3a6-40d0-a85e-324bc4aecc46" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "331" + "336" ] }, "ResponseHeaders": { @@ -637,13 +637,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationResults/6155fe3a-d173-4287-9dc4-c69e2a952c97?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationResults/f9ba5c0a-07c1-4420-8552-179a7d970d9d?api-version=2020-12-01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/6155fe3a-d173-4287-9dc4-c69e2a952c97?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/f9ba5c0a-07c1-4420-8552-179a7d970d9d?api-version=2020-12-01" ], "Access-Control-Allow-Headers": [ "Location" @@ -652,28 +652,28 @@ "Location" ], "x-ms-request-id": [ - "eae7ded8-27e2-419a-a4d6-74d75c63b931" + "c7725fa6-cc0d-436e-a16e-bfaa3042d9f4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" - ], "x-ms-correlation-request-id": [ - "5d2b4de8-1554-4afc-b312-9ee5bcc59f9f" + "f14f8751-506b-4071-9008-89c0cb41f761" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131931Z:5d2b4de8-1554-4afc-b312-9ee5bcc59f9f" + "EASTUS2EUAP:20210128T130129Z:f14f8751-506b-4071-9008-89c0cb41f761" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:19:31 GMT" + "Thu, 28 Jan 2021 13:01:28 GMT" ], "Content-Length": [ - "551" + "759" ], "Content-Type": [ "application/json; charset=utf-8" @@ -682,19 +682,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2020-07-06T13:18:24.9866667Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 0,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"autoScale\": {\r\n \"enabled\": true,\r\n \"minNodeCount\": 3,\r\n \"maxNodeCount\": 6\r\n },\r\n \"autoPause\": {\r\n \"enabled\": true,\r\n \"delayInMinutes\": 15\r\n },\r\n \"provisioningState\": \"Provisioning\"\r\n },\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366\",\r\n \"name\": \"sparkpool5366\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2021-01-28T13:00:27.73Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 0,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"autoScale\": {\r\n \"enabled\": true,\r\n \"minNodeCount\": 3,\r\n \"maxNodeCount\": 6\r\n },\r\n \"autoPause\": {\r\n \"enabled\": true,\r\n \"delayInMinutes\": 15\r\n },\r\n \"isComputeIsolationEnabled\": false,\r\n \"sessionLevelPackagesEnabled\": false,\r\n \"cacheSize\": 0,\r\n \"dynamicExecutorAllocation\": {\r\n \"enabled\": false\r\n },\r\n \"lastSucceededTimestamp\": \"2021-01-28T13:00:33.5633333Z\",\r\n \"provisioningState\": \"Provisioning\"\r\n },\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554\",\r\n \"name\": \"sparkpool6554\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus2euap\"\r\n}", "StatusCode": 202 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/94c7e06e-4bac-4dd6-997d-0c7203752bcf?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/3670b6b2-344a-4ea8-b7a5-8de8e3534b16?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -708,25 +708,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2ac55ef5-52c2-4f6b-b779-eeff1514e33f" + "84b8c2ff-0c6a-491b-a48f-8402fa208225" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11981" ], "x-ms-correlation-request-id": [ - "77b4e7ee-a654-4582-8e82-54e4a6bd8c73" + "1624bd60-59dd-44af-a7fe-b92626d7eb62" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131855Z:77b4e7ee-a654-4582-8e82-54e4a6bd8c73" + "EASTUS2EUAP:20210128T130058Z:1624bd60-59dd-44af-a7fe-b92626d7eb62" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:18:55 GMT" + "Thu, 28 Jan 2021 13:00:58 GMT" ], "Content-Length": [ "22" @@ -742,15 +742,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366?api-version=2019-06-01-preview&force=false", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554?api-version=2020-12-01&force=false", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -764,28 +764,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2d4001dc-0062-46d6-83dc-e9c80d642cc3" + "189078d0-506e-4f32-8045-d021fd0f3dd1" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "11980" ], "x-ms-correlation-request-id": [ - "5f7aff0d-64c7-41a6-8f0d-c4812b96af3d" + "44410808-7561-4841-bbd7-300089b79063" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131856Z:5f7aff0d-64c7-41a6-8f0d-c4812b96af3d" + "EASTUS2EUAP:20210128T130058Z:44410808-7561-4841-bbd7-300089b79063" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:18:56 GMT" + "Thu, 28 Jan 2021 13:00:58 GMT" ], "Content-Length": [ - "456" + "644" ], "Content-Type": [ "application/json; charset=utf-8" @@ -794,19 +794,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2020-07-06T13:18:24.9866667Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366\",\r\n \"name\": \"sparkpool5366\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2021-01-28T13:00:27.73Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"isComputeIsolationEnabled\": false,\r\n \"sessionLevelPackagesEnabled\": false,\r\n \"cacheSize\": 0,\r\n \"dynamicExecutorAllocation\": {\r\n \"enabled\": false\r\n },\r\n \"lastSucceededTimestamp\": \"2021-01-28T13:00:33.5633333Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554\",\r\n \"name\": \"sparkpool6554\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus2euap\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366?api-version=2019-06-01-preview&force=false", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554?api-version=2020-12-01&force=false", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -820,28 +820,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a3ba9402-106c-4149-a376-e10a7c0e9850" + "86ec4141-5cff-401e-b179-2224e62ec7c4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" + "11976" ], "x-ms-correlation-request-id": [ - "0e5831ed-331f-432b-9344-d088b9dbefb0" + "1c715e73-0894-4632-b287-aeed8bb077be" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T132003Z:0e5831ed-331f-432b-9344-d088b9dbefb0" + "EASTUS2EUAP:20210128T130159Z:1c715e73-0894-4632-b287-aeed8bb077be" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:20:03 GMT" + "Thu, 28 Jan 2021 13:01:59 GMT" ], "Content-Length": [ - "568" + "751" ], "Content-Type": [ "application/json; charset=utf-8" @@ -850,25 +850,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2020-07-06T13:18:24.9866667Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 0,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"autoScale\": {\r\n \"enabled\": true,\r\n \"minNodeCount\": 3,\r\n \"maxNodeCount\": 6\r\n },\r\n \"autoPause\": {\r\n \"enabled\": true,\r\n \"delayInMinutes\": 15\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366\",\r\n \"name\": \"sparkpool5366\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2021-01-28T13:00:27.73Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 0,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"autoScale\": {\r\n \"enabled\": true,\r\n \"minNodeCount\": 3,\r\n \"maxNodeCount\": 6\r\n },\r\n \"autoPause\": {\r\n \"enabled\": true,\r\n \"delayInMinutes\": 15\r\n },\r\n \"isComputeIsolationEnabled\": false,\r\n \"sessionLevelPackagesEnabled\": false,\r\n \"cacheSize\": 0,\r\n \"dynamicExecutorAllocation\": {\r\n \"enabled\": false\r\n },\r\n \"lastSucceededTimestamp\": \"2021-01-28T13:01:35.95Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554\",\r\n \"name\": \"sparkpool6554\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus2euap\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "788e0879-ebac-419f-92d5-59a60bc7c798" + "fd95ba4e-676f-44f0-8ac9-68d6b8d5783a" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -882,28 +882,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a8f0d699-9579-4471-a380-2922807b3987" + "1eb2b354-f475-494d-93db-1bf42c26d030" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "11979" ], "x-ms-correlation-request-id": [ - "f5884cd6-d246-47d2-8696-04f3331fa14e" + "6e404a42-44e6-4091-8b70-9ec3dd1c3a83" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131856Z:f5884cd6-d246-47d2-8696-04f3331fa14e" + "EASTUS2EUAP:20210128T130058Z:6e404a42-44e6-4091-8b70-9ec3dd1c3a83" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:18:56 GMT" + "Thu, 28 Jan 2021 13:00:58 GMT" ], "Content-Length": [ - "456" + "644" ], "Content-Type": [ "application/json; charset=utf-8" @@ -912,25 +912,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2020-07-06T13:18:24.9866667Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366\",\r\n \"name\": \"sparkpool5366\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2021-01-28T13:00:27.73Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"isComputeIsolationEnabled\": false,\r\n \"sessionLevelPackagesEnabled\": false,\r\n \"cacheSize\": 0,\r\n \"dynamicExecutorAllocation\": {\r\n \"enabled\": false\r\n },\r\n \"lastSucceededTimestamp\": \"2021-01-28T13:00:33.5633333Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554\",\r\n \"name\": \"sparkpool6554\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus2euap\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "abf60ae9-2ad3-46ec-a6bb-c8eca9f21c3e" + "27266d94-e573-491d-b76e-499c1f0a8d53" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -944,28 +944,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f81d59ad-dca6-498c-992d-6738a3e1ad2f" + "3f17a64d-daa6-4809-b354-5515aec1a215" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "11978" ], "x-ms-correlation-request-id": [ - "8b65e195-7735-4e5f-b673-d9dbd9729e5c" + "080be0b1-45e4-4609-882c-60cdaf134632" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131900Z:8b65e195-7735-4e5f-b673-d9dbd9729e5c" + "EASTUS2EUAP:20210128T130058Z:080be0b1-45e4-4609-882c-60cdaf134632" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:18:59 GMT" + "Thu, 28 Jan 2021 13:00:58 GMT" ], "Content-Length": [ - "488" + "676" ], "Content-Type": [ "application/json; charset=utf-8" @@ -974,25 +974,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2020-07-06T13:18:24.9866667Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366\",\r\n \"name\": \"sparkpool5366\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2021-01-28T13:00:27.73Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"isComputeIsolationEnabled\": false,\r\n \"sessionLevelPackagesEnabled\": false,\r\n \"cacheSize\": 0,\r\n \"dynamicExecutorAllocation\": {\r\n \"enabled\": false\r\n },\r\n \"lastSucceededTimestamp\": \"2021-01-28T13:00:33.5633333Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554\",\r\n \"name\": \"sparkpool6554\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554?api-version=2020-12-01", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "7e401591-d8e2-4992-92a8-40c262c5bc69" + "002d39ee-a0b0-4bcb-903d-8946ad36022e" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1012,28 +1012,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d253e70c-f230-49eb-9167-507b75a4e8ec" + "11fd0e4e-9168-4b00-822d-1eed6516ea7d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1196" ], "x-ms-correlation-request-id": [ - "0fb783e5-682a-4faf-96a4-88c177b4bfcd" + "609457da-d30a-455d-977b-27dd22381b01" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T131859Z:0fb783e5-682a-4faf-96a4-88c177b4bfcd" + "EASTUS2EUAP:20210128T130058Z:609457da-d30a-455d-977b-27dd22381b01" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:18:59 GMT" + "Thu, 28 Jan 2021 13:00:58 GMT" ], "Content-Length": [ - "468" + "676" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1042,19 +1042,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2020-07-06T13:18:24.9866667Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366\",\r\n \"name\": \"sparkpool5366\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"creationDate\": \"2021-01-28T13:00:27.73Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 3,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"isComputeIsolationEnabled\": false,\r\n \"sessionLevelPackagesEnabled\": false,\r\n \"cacheSize\": 0,\r\n \"dynamicExecutorAllocation\": {\r\n \"enabled\": false\r\n },\r\n \"lastSucceededTimestamp\": \"2021-01-28T13:00:33.5633333Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554\",\r\n \"name\": \"sparkpool6554\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationStatuses/6155fe3a-d173-4287-9dc4-c69e2a952c97?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationStatuses/f9ba5c0a-07c1-4420-8552-179a7d970d9d?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1068,25 +1068,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "24f44394-6e7e-4b6e-b6d1-a10b216e44c0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" + "7ee305c8-7542-4b25-b803-21beed1dc30a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], "x-ms-correlation-request-id": [ - "9b982f96-4bb9-4673-9a31-2a1f3f6ab566" + "5eb671d3-ac61-402d-b873-be23904a770e" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T132002Z:9b982f96-4bb9-4673-9a31-2a1f3f6ab566" + "EASTUS2EUAP:20210128T130159Z:5eb671d3-ac61-402d-b873-be23904a770e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:20:01 GMT" + "Thu, 28 Jan 2021 13:01:59 GMT" ], "Content-Length": [ "22" @@ -1102,21 +1102,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5e66a686-085b-41c1-86ef-1d64e019ec8a" + "9136a3bc-9431-4f05-9a1c-574a43008b72" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1130,28 +1130,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2038781d-e949-4012-9345-9629d07a6dc7" + "99253963-cd8b-42d7-af9b-46dca21d0f2d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" + "11975" ], "x-ms-correlation-request-id": [ - "10a554a8-d055-45c3-8555-4b9b548650ff" + "aac92007-4579-4ab0-a35a-efe20a038c05" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T132004Z:10a554a8-d055-45c3-8555-4b9b548650ff" + "EASTUS2EUAP:20210128T130159Z:aac92007-4579-4ab0-a35a-efe20a038c05" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:20:03 GMT" + "Thu, 28 Jan 2021 13:01:59 GMT" ], "Content-Length": [ - "580" + "763" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1160,25 +1160,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"creationDate\": \"2020-07-06T13:18:24.9866667Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 0,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"autoScale\": {\r\n \"enabled\": true,\r\n \"minNodeCount\": 3,\r\n \"maxNodeCount\": 6\r\n },\r\n \"autoPause\": {\r\n \"enabled\": true,\r\n \"delayInMinutes\": 15\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366\",\r\n \"name\": \"sparkpool5366\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus\"\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"creationDate\": \"2021-01-28T13:00:27.73Z\",\r\n \"sparkVersion\": \"2.4\",\r\n \"nodeCount\": 0,\r\n \"nodeSize\": \"Small\",\r\n \"nodeSizeFamily\": \"MemoryOptimized\",\r\n \"autoScale\": {\r\n \"enabled\": true,\r\n \"minNodeCount\": 3,\r\n \"maxNodeCount\": 6\r\n },\r\n \"autoPause\": {\r\n \"enabled\": true,\r\n \"delayInMinutes\": 15\r\n },\r\n \"isComputeIsolationEnabled\": false,\r\n \"sessionLevelPackagesEnabled\": false,\r\n \"cacheSize\": 0,\r\n \"dynamicExecutorAllocation\": {\r\n \"enabled\": false\r\n },\r\n \"lastSucceededTimestamp\": \"2021-01-28T13:01:35.95Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"id\": \"/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554\",\r\n \"name\": \"sparkpool6554\",\r\n \"type\": \"Microsoft.Synapse/workspaces/bigDataPools\",\r\n \"location\": \"eastus2euap\"\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8dbd0af2-d5c9-4ce4-bde9-a33e74a0eadf" + "858dc78b-ad30-4712-b595-1ec0c5e0a4e0" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1192,25 +1192,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "92f1566b-a176-4743-a50b-5e5bb9627278" + "c6b826a3-79b5-4bda-9211-e73b9edc9390" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11982" + "11972" ], "x-ms-correlation-request-id": [ - "e2dfceb2-7778-4397-b82a-2166a504d20a" + "1a4fc7d2-eb3c-40a1-998f-dda7c9769669" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T132036Z:e2dfceb2-7778-4397-b82a-2166a504d20a" + "EASTUS2EUAP:20210128T130230Z:1a4fc7d2-eb3c-40a1-998f-dda7c9769669" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:20:35 GMT" + "Thu, 28 Jan 2021 13:02:30 GMT" ], "Content-Length": [ "12" @@ -1226,21 +1226,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/bigDataPools/sparkpool5366?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/bigDataPools/sparkpool6554?api-version=2020-12-01", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "551e3af8-2f9f-4e6a-95a4-c11c5395557c" + "5739b0d4-e469-4740-9e6e-a825a1349376" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1251,7 +1251,7 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationResults/444242fa-9f85-4063-b419-d8e26e923d85?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationResults/c74311f1-a7bd-4c33-80c5-b2c607cd6e77?api-version=2020-12-01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -1263,7 +1263,7 @@ "Location" ], "x-ms-request-id": [ - "c0b32304-1493-4bc8-918e-b30e0694ec8b" + "85bc4ace-04a4-41bb-a81e-fe4d763efc71" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1272,16 +1272,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "c62c0f07-f7a6-464c-8920-becdbc437eba" + "bc79c513-8ee8-4362-8dd8-a8d619871c6f" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T132005Z:c62c0f07-f7a6-464c-8920-becdbc437eba" + "EASTUS2EUAP:20210128T130159Z:bc79c513-8ee8-4362-8dd8-a8d619871c6f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:20:04 GMT" + "Thu, 28 Jan 2021 13:01:59 GMT" ], "Expires": [ "-1" @@ -1294,15 +1294,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationResults/444242fa-9f85-4063-b419-d8e26e923d85?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationResults/c74311f1-a7bd-4c33-80c5-b2c607cd6e77?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1316,25 +1316,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c997b854-1243-432a-8615-45f76124c5e2" + "df4e147f-00b7-4d0a-a29e-0d32e703ad44" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" + "11974" ], "x-ms-correlation-request-id": [ - "f6375848-15c3-441b-9deb-76a8ba52e16b" + "61b9c498-06fe-4141-824b-0f6b84ba745f" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T132035Z:f6375848-15c3-441b-9deb-76a8ba52e16b" + "EASTUS2EUAP:20210128T130230Z:61b9c498-06fe-4141-824b-0f6b84ba745f" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:20:34 GMT" + "Thu, 28 Jan 2021 13:02:29 GMT" ], "Expires": [ "-1" @@ -1344,15 +1344,15 @@ "StatusCode": 204 }, { - "RequestUri": "/subscriptions/393436f4-895e-4da8-addc-08b20570256b/resourceGroups/synapsesdkrp8323/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace66/operationResults/444242fa-9f85-4063-b419-d8e26e923d85?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/bc522b53-8506-4739-8f13-998a2e69a084/resourceGroups/synapsesdkrp7464/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8784/operationResults/c74311f1-a7bd-4c33-80c5-b2c607cd6e77?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1366,25 +1366,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "14830b2e-4574-439d-b8de-2ba9da7a22b5" + "97de1140-3a5d-439d-8bc9-602ffe9be8a3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11983" + "11973" ], "x-ms-correlation-request-id": [ - "f6b6a17a-b27a-4599-8d48-8591f8833483" + "05dceba3-30fa-466c-95b5-ef79203c8017" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T132036Z:f6b6a17a-b27a-4599-8d48-8591f8833483" + "EASTUS2EUAP:20210128T130230Z:05dceba3-30fa-466c-95b5-ef79203c8017" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 13:20:35 GMT" + "Thu, 28 Jan 2021 13:02:29 GMT" ], "Expires": [ "-1" @@ -1396,21 +1396,21 @@ ], "Names": { ".ctor": [ - "synapsesdkrp8323", - "synapsesdkstorage1183", - "sshuser1029", - "Password1!1275", - "synapsesdkfilesys6517" + "synapsesdkrp7464", + "synapsesdkstorage8942", + "sshuser423", + "Password1!8530", + "synapsesdkfilesys4523" ], "TestInitialize": [ - "393436f4-895e-4da8-addc-08b20570256b" + "bc522b53-8506-4739-8f13-998a2e69a084" ], "TestSparkPoolLifeCycle": [ - "synapsesdkworkspace66", - "sparkpool5366" + "synapsesdkworkspace8784", + "sparkpool6554" ] }, "Variables": { - "SubscriptionId": "393436f4-895e-4da8-addc-08b20570256b" + "SubscriptionId": "bc522b53-8506-4739-8f13-998a2e69a084" } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/SqlpoolOperationTests/TestSqlPoolLifeCycle.json b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/SqlpoolOperationTests/TestSqlPoolLifeCycle.json index 5dbf02dc885d6..48e5c2ba77c0e 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/SqlpoolOperationTests/TestSqlPoolLifeCycle.json +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/SqlpoolOperationTests/TestSqlPoolLifeCycle.json @@ -1,27 +1,27 @@ { "Entries": [ { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501?api-version=2020-12-01", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1973.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys2697\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!3613\",\r\n \"sqlAdministratorLogin\": \"sshuser9100\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage2281.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7790\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!9879\",\r\n \"sqlAdministratorLogin\": \"sshuser9272\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "26bc84c6-fc73-4408-9eb9-7ba59f7da3ca" + "3245a799-a8c1-4b22-b9ad-e1cce5b8341d" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "367" + "372" ] }, "ResponseHeaders": { @@ -35,31 +35,31 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/8a338077-7e9c-41d5-9789-b57525944fe0?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/afebc8c7-2d4c-4553-8cce-d1c49690b8c8?api-version=2020-12-01" ], "x-ms-request-id": [ - "a7e7bb01-55c7-45d4-8a1d-c716eae546d1" + "849876e3-81d0-43e4-8591-096dd0b495ec" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1197" ], "x-ms-correlation-request-id": [ - "4c8f2e82-1288-4eb7-8954-919206c7d1db" + "93fdc643-b72d-487c-a40e-5eb9fab07c48" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111054Z:4c8f2e82-1288-4eb7-8954-919206c7d1db" + "EASTUS2EUAP:20210128T124347Z:93fdc643-b72d-487c-a40e-5eb9fab07c48" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:10:54 GMT" + "Thu, 28 Jan 2021 12:43:46 GMT" ], "Content-Length": [ - "1103" + "1285" ], "Content-Type": [ "application/json; charset=utf-8" @@ -68,19 +68,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace6547\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"8b6679d7-194c-4fce-b940-cc2199ee90a7\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2ffdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345%2fresourceGroups%2fsynapsesdkrp5823%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace6547\",\r\n \"sql\": \"synapsesdkworkspace6547.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace6547.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace6547-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-1264d838-fc4a-40af-813d-df77f0635d5d\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1973.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys2697\"\r\n },\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace7501\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"2c5fe240-85b7-46d6-b357-2d90e7667866\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e%2fresourceGroups%2fsynapsesdkrp5419%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace7501\",\r\n \"dev\": \"https://synapsesdkworkspace7501.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace7501-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace7501.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-3758df34-35bb-4267-b03a-c7d9457d7726\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage2281.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7790\"\r\n },\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"7ed81bdc-843b-4908-a646-edd2afa38a99\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/8a338077-7e9c-41d5-9789-b57525944fe0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/afebc8c7-2d4c-4553-8cce-d1c49690b8c8?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -94,25 +94,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3e960471-2ea8-4ca0-9f33-c88effeef715" + "38c68baa-017e-4761-9d1a-f86ca0418cdb" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11999" + "11974" ], "x-ms-correlation-request-id": [ - "2876d8f1-3f92-4ea3-bd65-3895cefa84fc" + "f00f0617-773d-4775-a5d5-07914efee98e" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111125Z:2876d8f1-3f92-4ea3-bd65-3895cefa84fc" + "EASTUS2EUAP:20210128T124417Z:f00f0617-773d-4775-a5d5-07914efee98e" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:11:24 GMT" + "Thu, 28 Jan 2021 12:44:16 GMT" ], "Content-Length": [ "23" @@ -128,15 +128,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/8a338077-7e9c-41d5-9789-b57525944fe0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/afebc8c7-2d4c-4553-8cce-d1c49690b8c8?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -150,25 +150,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2c90e44c-7e52-4d4f-84e3-e35d7be34e6f" + "ff73871f-d9bb-4b17-ac09-d375c65bc644" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11998" + "11973" ], "x-ms-correlation-request-id": [ - "547f87a5-694b-4e8d-a97e-fc2727862a7e" + "ba7843e4-e917-40a7-aded-d015644a3652" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111155Z:547f87a5-694b-4e8d-a97e-fc2727862a7e" + "EASTUS2EUAP:20210128T124447Z:ba7843e4-e917-40a7-aded-d015644a3652" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:11:54 GMT" + "Thu, 28 Jan 2021 12:44:47 GMT" ], "Content-Length": [ "23" @@ -184,15 +184,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/8a338077-7e9c-41d5-9789-b57525944fe0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/afebc8c7-2d4c-4553-8cce-d1c49690b8c8?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -206,25 +206,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "aae94b63-9bd1-4082-b5f7-c4d03ee73087" + "3b8a7b10-2c0c-4239-a9b0-2512a7b97007" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11972" ], "x-ms-correlation-request-id": [ - "3efa5158-dbf8-41e8-bf24-877481f63046" + "ad007c9d-6e32-45d4-9988-e6fe5aaac018" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111225Z:3efa5158-dbf8-41e8-bf24-877481f63046" + "EASTUS2EUAP:20210128T124517Z:ad007c9d-6e32-45d4-9988-e6fe5aaac018" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:12:25 GMT" + "Thu, 28 Jan 2021 12:45:17 GMT" ], "Content-Length": [ "23" @@ -240,15 +240,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/8a338077-7e9c-41d5-9789-b57525944fe0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/afebc8c7-2d4c-4553-8cce-d1c49690b8c8?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -262,25 +262,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8c5edf3c-554f-4bdb-ba0f-36126d566c9e" + "b67ec14e-09ce-4c16-955c-f043c80f382e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11971" ], "x-ms-correlation-request-id": [ - "575c2bf0-ab19-451a-b452-c6ae01849700" + "fb60537c-3271-4f8d-8fc5-c09a0038e34c" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111256Z:575c2bf0-ab19-451a-b452-c6ae01849700" + "EASTUS2EUAP:20210128T124547Z:fb60537c-3271-4f8d-8fc5-c09a0038e34c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:12:55 GMT" + "Thu, 28 Jan 2021 12:45:47 GMT" ], "Content-Length": [ "23" @@ -296,15 +296,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/8a338077-7e9c-41d5-9789-b57525944fe0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/afebc8c7-2d4c-4553-8cce-d1c49690b8c8?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -318,25 +318,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ae5d3348-9290-47c9-932b-586fb561d95f" + "d1808142-3c7d-4f0b-89e5-408b4c5c9083" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11970" ], "x-ms-correlation-request-id": [ - "a622e720-69d3-4626-94b2-f4dda3d475ad" + "c5cf6e7b-d500-47bc-916a-9e121c90f9e3" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111326Z:a622e720-69d3-4626-94b2-f4dda3d475ad" + "EASTUS2EUAP:20210128T124617Z:c5cf6e7b-d500-47bc-916a-9e121c90f9e3" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:13:26 GMT" + "Thu, 28 Jan 2021 12:46:17 GMT" ], "Content-Length": [ "23" @@ -352,15 +352,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/8a338077-7e9c-41d5-9789-b57525944fe0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/afebc8c7-2d4c-4553-8cce-d1c49690b8c8?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -374,28 +374,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a840eca2-f814-42a5-a178-a30e4feffd8b" + "9de8a9f6-c1ea-4971-a76a-93baf2bda2ff" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11969" ], "x-ms-correlation-request-id": [ - "cd7d8004-3df0-4160-9abc-9e449fe2f237" + "f9dcba49-698e-4756-b5ae-b46a3094ca42" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111356Z:cd7d8004-3df0-4160-9abc-9e449fe2f237" + "EASTUS2EUAP:20210128T124648Z:f9dcba49-698e-4756-b5ae-b46a3094ca42" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:13:55 GMT" + "Thu, 28 Jan 2021 12:46:48 GMT" ], "Content-Length": [ - "22" + "23" ], "Content-Type": [ "application/json; charset=utf-8" @@ -404,19 +404,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/afebc8c7-2d4c-4553-8cce-d1c49690b8c8?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -430,28 +430,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "833aee53-063c-433c-b911-2725f3ef3d3c" + "3907b8fa-bde3-4594-a5e7-f9649ffeb21f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11968" ], "x-ms-correlation-request-id": [ - "94a06026-c39b-4943-ae1e-ba6fb67b876a" + "40a70caf-c66e-420d-9674-8398d03df447" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111357Z:94a06026-c39b-4943-ae1e-ba6fb67b876a" + "EASTUS2EUAP:20210128T124718Z:40a70caf-c66e-420d-9674-8398d03df447" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:13:56 GMT" + "Thu, 28 Jan 2021 12:47:18 GMT" ], "Content-Length": [ - "1138" + "22" ], "Content-Type": [ "application/json; charset=utf-8" @@ -460,25 +460,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace6547\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"8b6679d7-194c-4fce-b940-cc2199ee90a7\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2ffdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345%2fresourceGroups%2fsynapsesdkrp5823%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace6547\",\r\n \"sql\": \"synapsesdkworkspace6547.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace6547.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace6547-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-1264d838-fc4a-40af-813d-df77f0635d5d\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1973.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys2697\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser9100\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "ab4b7223-941f-4769-92b1-045374ee158e" - ], - "Accept-Language": [ - "en-US" - ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -492,28 +486,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6cedd290-971a-4179-a9ec-fb5cf897ad97" + "604ceb2c-1095-4102-b347-2cad6b608b2c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11967" ], "x-ms-correlation-request-id": [ - "4d8d0a91-49b8-4ecd-987c-247be6af8e0c" + "7d87770a-6f79-4d75-a568-dae44c6e75b5" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111357Z:4d8d0a91-49b8-4ecd-987c-247be6af8e0c" + "EASTUS2EUAP:20210128T124718Z:7d87770a-6f79-4d75-a568-dae44c6e75b5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:13:56 GMT" + "Thu, 28 Jan 2021 12:47:18 GMT" ], "Content-Length": [ - "1138" + "1320" ], "Content-Type": [ "application/json; charset=utf-8" @@ -522,31 +516,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace6547\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"8b6679d7-194c-4fce-b940-cc2199ee90a7\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2ffdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345%2fresourceGroups%2fsynapsesdkrp5823%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace6547\",\r\n \"sql\": \"synapsesdkworkspace6547.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace6547.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace6547-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-1264d838-fc4a-40af-813d-df77f0635d5d\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage1973.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys2697\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser9100\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace7501\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"2c5fe240-85b7-46d6-b357-2d90e7667866\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e%2fresourceGroups%2fsynapsesdkrp5419%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace7501\",\r\n \"dev\": \"https://synapsesdkworkspace7501.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace7501-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace7501.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-3758df34-35bb-4267-b03a-c7d9457d7726\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage2281.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7790\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser9272\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"7ed81bdc-843b-4908-a646-edd2afa38a99\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344?api-version=2019-06-01-preview", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"DW200c\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501?api-version=2020-12-01", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "80258122-81b9-46bc-8297-04f694807ea7" + "1fa23af0-2922-4b9d-b450-7b66ba425376" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "68" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -556,105 +544,32 @@ "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationResults/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview" - ], - "Retry-After": [ - "10" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview" - ], - "Access-Control-Allow-Headers": [ - "Location", - "Retry-After" - ], - "Access-Control-Expose-Headers": [ - "Location", - "Retry-After" - ], "x-ms-request-id": [ - "458501e4-458c-4f60-a336-bbf0b968d604" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "f3c66a0c-1528-415e-974c-2229a09432c3" - ], - "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111401Z:f3c66a0c-1528-415e-974c-2229a09432c3" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Mon, 06 Jul 2020 11:14:00 GMT" - ], - "Content-Length": [ - "428" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"maxSizeBytes\": 0,\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"0001-01-01T00:00:00\",\r\n \"provisioningState\": \"Provisioning\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344\",\r\n \"name\": \"sqlpool9344\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\"\r\n}", - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28928.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "9ddf4994-b563-4b26-8a92-88a08befb50e" + "6b03b9d4-054e-4226-b10f-1994eec6628c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11966" ], "x-ms-correlation-request-id": [ - "e06c8e80-bf3b-4aa4-9c4d-ac9d93bb1e99" + "05ff70fa-c281-4177-b80f-6285f95dde08" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111411Z:e06c8e80-bf3b-4aa4-9c4d-ac9d93bb1e99" + "EASTUS2EUAP:20210128T124718Z:05ff70fa-c281-4177-b80f-6285f95dde08" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:14:11 GMT" + "Thu, 28 Jan 2021 12:47:18 GMT" ], "Content-Length": [ - "23" + "1320" ], "Content-Type": [ "application/json; charset=utf-8" @@ -663,131 +578,31 @@ "-1" ] }, - "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace7501\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"2c5fe240-85b7-46d6-b357-2d90e7667866\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e%2fresourceGroups%2fsynapsesdkrp5419%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace7501\",\r\n \"dev\": \"https://synapsesdkworkspace7501.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace7501-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace7501.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-3758df34-35bb-4267-b03a-c7d9457d7726\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage2281.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7790\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser9272\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"7ed81bdc-843b-4908-a646-edd2afa38a99\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060?api-version=2020-12-01", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"DW200c\"\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28928.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "3b8bae99-0d51-4e9a-a017-978e182dac7b" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" - ], - "x-ms-correlation-request-id": [ - "3174d9bb-49ae-4b38-a7c0-88d0d742349e" - ], - "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111422Z:3174d9bb-49ae-4b38-a7c0-88d0d742349e" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Mon, 06 Jul 2020 11:14:21 GMT" - ], - "Content-Length": [ - "23" + "x-ms-client-request-id": [ + "2637b725-329c-42f0-ab65-05a60a3d28a1" ], - "Content-Type": [ - "application/json; charset=utf-8" + "Accept-Language": [ + "en-US" ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" - ], - "Pragma": [ - "no-cache" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "1d714064-fe51-4ea6-bf50-78ae4a57b18b" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" - ], - "x-ms-correlation-request-id": [ - "bb620546-702c-4e85-a88e-9d038eab28c1" - ], - "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111432Z:bb620546-702c-4e85-a88e-9d038eab28c1" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Mon, 06 Jul 2020 11:14:31 GMT" - ], - "Content-Length": [ - "23" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28928.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "Content-Length": [ + "73" ] }, "ResponseHeaders": { @@ -797,144 +612,49 @@ "Pragma": [ "no-cache" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "a89d9f63-da73-4c7f-9f79-6f428dd17358" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" - ], - "x-ms-correlation-request-id": [ - "805260e6-a92d-4f0c-8789-e93231f689d8" - ], - "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111442Z:805260e6-a92d-4f0c-8789-e93231f689d8" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Mon, 06 Jul 2020 11:14:42 GMT" - ], - "Content-Length": [ - "23" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28928.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" + "Location": [ + "https://eastus2euap.management.azure.com/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationResults/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01" ], - "Pragma": [ - "no-cache" + "Retry-After": [ + "10" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ - "1d41ec2f-df09-4bb2-ad13-d11d398f37c3" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" - ], - "x-ms-correlation-request-id": [ - "7142ff7d-95e0-48e3-a928-86c01922abf6" - ], - "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111453Z:7142ff7d-95e0-48e3-a928-86c01922abf6" - ], - "X-Content-Type-Options": [ - "nosniff" - ], - "Date": [ - "Mon, 06 Jul 2020 11:14:52 GMT" - ], - "Content-Length": [ - "23" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ] - }, - "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.28928.01", - "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" - ] - }, - "ResponseHeaders": { - "Cache-Control": [ - "no-cache" + "Azure-AsyncOperation": [ + "https://eastus2euap.management.azure.com/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01" ], - "Pragma": [ - "no-cache" + "Access-Control-Allow-Headers": [ + "Location", + "Retry-After" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Access-Control-Expose-Headers": [ + "Location", + "Retry-After" ], "x-ms-request-id": [ - "8ab0faa1-37f6-434e-be97-5c37c15484e4" + "366594be-41db-4f2d-84dd-fd385d264b0c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" ], "x-ms-correlation-request-id": [ - "3fd79328-a176-4f6b-a8b8-dc11c45fc7b9" + "07bbe036-2431-4005-8dac-d283abcec147" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111503Z:3fd79328-a176-4f6b-a8b8-dc11c45fc7b9" + "EASTUS2EUAP:20210128T124719Z:07bbe036-2431-4005-8dac-d283abcec147" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:15:02 GMT" + "Thu, 28 Jan 2021 12:47:18 GMT" ], "Content-Length": [ - "23" + "428" ], "Content-Type": [ "application/json; charset=utf-8" @@ -943,19 +663,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", - "StatusCode": 200 + "ResponseBody": "{\r\n \"properties\": {\r\n \"maxSizeBytes\": 0,\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"0001-01-01T00:00:00\",\r\n \"provisioningState\": \"Provisioning\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060\",\r\n \"name\": \"sqlpool1060\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\"\r\n}", + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -969,25 +689,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a4694ddb-9c1a-47c5-9f38-44316ef46965" + "69b50980-608d-40ef-9755-c108b52a726f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" + "11965" ], "x-ms-correlation-request-id": [ - "94160a09-14c9-40b6-b902-b7ee79e4e78b" + "a3d7277c-0931-4d51-b85a-deeea4eb4591" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111513Z:94160a09-14c9-40b6-b902-b7ee79e4e78b" + "EASTUS2EUAP:20210128T124729Z:a3d7277c-0931-4d51-b85a-deeea4eb4591" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:15:12 GMT" + "Thu, 28 Jan 2021 12:47:28 GMT" ], "Content-Length": [ "23" @@ -1003,15 +723,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1025,25 +745,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "74a43cbc-a8ef-49c4-81d6-a5745b297b12" + "3d6c1f85-8635-40dc-b53d-6c2e121dc82b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" + "11964" ], "x-ms-correlation-request-id": [ - "de88d97e-ad4f-4ab8-8cf7-b45dfb40ba24" + "e9ef2453-f88e-40dc-ae33-5329218bece9" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111523Z:de88d97e-ad4f-4ab8-8cf7-b45dfb40ba24" + "EASTUS2EUAP:20210128T124739Z:e9ef2453-f88e-40dc-ae33-5329218bece9" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:15:23 GMT" + "Thu, 28 Jan 2021 12:47:39 GMT" ], "Content-Length": [ "23" @@ -1059,15 +779,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1081,25 +801,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "dc9b3e3e-7e91-4f18-b05a-cc3367b1ec24" + "81461e1f-4a1d-4e84-badc-e66855bbd9c3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11983" + "11963" ], "x-ms-correlation-request-id": [ - "d6d9b822-425c-4e14-9429-f627f473e0a6" + "86ec8153-66ad-43a7-a671-c40cd80ec65c" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111534Z:d6d9b822-425c-4e14-9429-f627f473e0a6" + "EASTUS2EUAP:20210128T124749Z:86ec8153-66ad-43a7-a671-c40cd80ec65c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:15:33 GMT" + "Thu, 28 Jan 2021 12:47:48 GMT" ], "Content-Length": [ "23" @@ -1115,15 +835,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1137,25 +857,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ef23ee69-56a1-468d-9256-9c2f85ef8bad" + "3c45cf76-16d5-4963-9fff-54947845299d" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11982" + "11962" ], "x-ms-correlation-request-id": [ - "edf3cfcc-8aab-49ff-baa7-ff838efeb6b7" + "fd6fe117-6bd2-448b-b729-08e928609f0c" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111544Z:edf3cfcc-8aab-49ff-baa7-ff838efeb6b7" + "EASTUS2EUAP:20210128T124759Z:fd6fe117-6bd2-448b-b729-08e928609f0c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:15:43 GMT" + "Thu, 28 Jan 2021 12:47:58 GMT" ], "Content-Length": [ "23" @@ -1171,15 +891,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1193,25 +913,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "529a470b-9f04-4e91-90b9-31e6b79cd2f2" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11981" + "b1849942-6f91-4571-888a-0dedcde69951" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11961" + ], "x-ms-correlation-request-id": [ - "d7cc8a2b-f8ef-4408-876a-57053adcef71" + "7af20bca-9232-4dda-868c-88c5239b061a" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111554Z:d7cc8a2b-f8ef-4408-876a-57053adcef71" + "EASTUS2EUAP:20210128T124809Z:7af20bca-9232-4dda-868c-88c5239b061a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:15:54 GMT" + "Thu, 28 Jan 2021 12:48:09 GMT" ], "Content-Length": [ "23" @@ -1227,15 +947,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1249,25 +969,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6eaf778a-0f84-4876-8326-b93bc18b4068" + "5bac6795-85d7-4911-a9d6-98f456a966ce" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11980" + "11960" ], "x-ms-correlation-request-id": [ - "d9d46cf5-24bd-4b09-998b-7988fb77241e" + "45b95fad-ae51-46e2-b25e-0413601f98af" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111606Z:d9d46cf5-24bd-4b09-998b-7988fb77241e" + "EASTUS2EUAP:20210128T124819Z:45b95fad-ae51-46e2-b25e-0413601f98af" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:16:05 GMT" + "Thu, 28 Jan 2021 12:48:18 GMT" ], "Content-Length": [ "23" @@ -1283,15 +1003,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1305,25 +1025,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "cfa8e863-066b-45bf-8793-ac93571da49c" + "6bdaf3cf-24e1-4406-8da0-e10477461a51" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11979" + "11959" ], "x-ms-correlation-request-id": [ - "1cd42c5c-78c8-4620-b6a9-89950b1762f4" + "236ee345-d806-4c7e-9555-989560692898" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111616Z:1cd42c5c-78c8-4620-b6a9-89950b1762f4" + "EASTUS2EUAP:20210128T124829Z:236ee345-d806-4c7e-9555-989560692898" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:16:15 GMT" + "Thu, 28 Jan 2021 12:48:29 GMT" ], "Content-Length": [ "23" @@ -1339,15 +1059,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1361,25 +1081,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0f4c5c1c-b76b-410b-8247-90321c316bbd" + "d9af8353-855b-4dfa-adc8-7aafaf2c3229" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11978" + "11958" ], "x-ms-correlation-request-id": [ - "4e60078a-bd13-43f7-bd5b-7c2dcec6d158" + "a498f993-6e70-498d-a9a6-482517dcd495" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111626Z:4e60078a-bd13-43f7-bd5b-7c2dcec6d158" + "EASTUS2EUAP:20210128T124840Z:a498f993-6e70-498d-a9a6-482517dcd495" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:16:26 GMT" + "Thu, 28 Jan 2021 12:48:39 GMT" ], "Content-Length": [ "23" @@ -1395,15 +1115,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1417,25 +1137,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f3a7dd52-bba0-4305-b1aa-009e103a20dc" + "8c482dc7-10b4-40a7-8131-12e31a7a3d39" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11977" + "11957" ], "x-ms-correlation-request-id": [ - "a7e2aed6-f3d5-4d94-861e-07cd61eabeba" + "736dae6d-3f76-4288-93f3-c507a4817e47" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111636Z:a7e2aed6-f3d5-4d94-861e-07cd61eabeba" + "EASTUS2EUAP:20210128T124850Z:736dae6d-3f76-4288-93f3-c507a4817e47" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:16:36 GMT" + "Thu, 28 Jan 2021 12:48:49 GMT" ], "Content-Length": [ "23" @@ -1451,15 +1171,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1473,25 +1193,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "65062e27-7e43-4ad5-b526-f29aeb294f8b" + "7db5c0cb-9049-48ad-9633-29f2947dd279" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11956" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11976" - ], "x-ms-correlation-request-id": [ - "6579e4f4-1eca-4c66-9882-5b8a90581e6a" + "3b3ec178-d71a-4c2e-bd77-60fc566e3476" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111647Z:6579e4f4-1eca-4c66-9882-5b8a90581e6a" + "EASTUS2EUAP:20210128T124900Z:3b3ec178-d71a-4c2e-bd77-60fc566e3476" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:16:46 GMT" + "Thu, 28 Jan 2021 12:49:00 GMT" ], "Content-Length": [ "23" @@ -1507,15 +1227,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1529,25 +1249,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ee6fc88a-918a-4e67-97b6-24304ef1cf4b" + "4629d491-05d4-426d-bbdf-0907c6bc398b" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11975" + "11955" ], "x-ms-correlation-request-id": [ - "d9373c30-44a1-4279-98be-45efc279b4b7" + "9194ffb4-633a-4feb-a22d-4b141c9f10b8" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111657Z:d9373c30-44a1-4279-98be-45efc279b4b7" + "EASTUS2EUAP:20210128T124910Z:9194ffb4-633a-4feb-a22d-4b141c9f10b8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:16:56 GMT" + "Thu, 28 Jan 2021 12:49:09 GMT" ], "Content-Length": [ "23" @@ -1563,15 +1283,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1585,25 +1305,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "83e87d46-e9b5-4a34-b504-263237a585c9" + "5045e484-f930-44e0-8ccf-d6451f1c98ca" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11974" + "11954" ], "x-ms-correlation-request-id": [ - "2564f783-ed15-43e3-977d-b525837b9c77" + "d47e096e-8e07-4f4a-9644-56c5b4188b78" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111707Z:2564f783-ed15-43e3-977d-b525837b9c77" + "EASTUS2EUAP:20210128T124920Z:d47e096e-8e07-4f4a-9644-56c5b4188b78" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:17:07 GMT" + "Thu, 28 Jan 2021 12:49:20 GMT" ], "Content-Length": [ "23" @@ -1619,15 +1339,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1641,25 +1361,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "52978b5e-a03d-443a-b372-5755f01f24a0" + "4dadaa4c-7881-4701-9dfd-9eb44eadb0b2" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11973" + "11953" ], "x-ms-correlation-request-id": [ - "f32c965b-50ed-4aaa-a35f-6597c95cb2c0" + "19b23ef6-af4c-4f39-bf66-29250ba57798" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111718Z:f32c965b-50ed-4aaa-a35f-6597c95cb2c0" + "EASTUS2EUAP:20210128T124930Z:19b23ef6-af4c-4f39-bf66-29250ba57798" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:17:17 GMT" + "Thu, 28 Jan 2021 12:49:30 GMT" ], "Content-Length": [ "23" @@ -1675,15 +1395,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1697,25 +1417,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "22cc85e9-13ff-4611-9847-0a65ec964231" + "a5e3b6b2-7451-42e0-b9e7-7290c6d1dc02" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11972" + "11952" ], "x-ms-correlation-request-id": [ - "f528975a-e327-489f-a4a3-3140a2fa96c2" + "7f05f8f4-66b7-46b0-9f5c-7453a33b0a55" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111728Z:f528975a-e327-489f-a4a3-3140a2fa96c2" + "EASTUS2EUAP:20210128T124940Z:7f05f8f4-66b7-46b0-9f5c-7453a33b0a55" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:17:27 GMT" + "Thu, 28 Jan 2021 12:49:40 GMT" ], "Content-Length": [ "23" @@ -1731,15 +1451,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1753,25 +1473,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "39d0040a-0ce4-4b8e-904e-47f1e0210423" + "62fef3d7-3b0b-4a07-bc4b-26ec3d3d3584" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11971" + "11951" ], "x-ms-correlation-request-id": [ - "58cb2f03-68da-4e20-8c92-98f6d82945a0" + "70c75594-e676-4470-8f27-3cc5ff8c2a3a" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111738Z:58cb2f03-68da-4e20-8c92-98f6d82945a0" + "EASTUS2EUAP:20210128T124950Z:70c75594-e676-4470-8f27-3cc5ff8c2a3a" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:17:38 GMT" + "Thu, 28 Jan 2021 12:49:50 GMT" ], "Content-Length": [ "23" @@ -1787,15 +1507,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1809,25 +1529,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a9a1e53e-a8b0-4591-96fa-581517e52aa7" + "09e3fc52-a59c-4a2e-b33e-cba2afac9c50" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11970" + "11950" ], "x-ms-correlation-request-id": [ - "a48905af-7781-40d2-afe2-efc63e1f14ff" + "6ffc9af1-b433-4061-bd31-97ac6ca8cd47" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111749Z:a48905af-7781-40d2-afe2-efc63e1f14ff" + "EASTUS2EUAP:20210128T125000Z:6ffc9af1-b433-4061-bd31-97ac6ca8cd47" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:17:48 GMT" + "Thu, 28 Jan 2021 12:50:00 GMT" ], "Content-Length": [ "23" @@ -1843,15 +1563,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/92f19888-f6ab-4ca2-8906-9806be56c7b2?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/60e116c6-8394-410e-838f-3c7714205d1f?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1865,25 +1585,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6acb5656-7ff3-48ba-8574-b89b36ae211d" + "4f441c1a-0ced-4aef-b715-7acc04b3a696" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11969" + "11949" ], "x-ms-correlation-request-id": [ - "6b5b1e97-29c8-489d-a7c9-8f2efc69a247" + "039508a1-dc6e-49b9-95a6-ab9fd96109ae" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111759Z:6b5b1e97-29c8-489d-a7c9-8f2efc69a247" + "EASTUS2EUAP:20210128T125011Z:039508a1-dc6e-49b9-95a6-ab9fd96109ae" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:17:59 GMT" + "Thu, 28 Jan 2021 12:50:11 GMT" ], "Content-Length": [ "22" @@ -1899,15 +1619,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1921,28 +1641,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "98e5b7c7-cc53-4c9a-b424-c87b835a2980" + "145f4b03-5b12-4e33-8a2b-ba954c66f151" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11968" + "11948" ], "x-ms-correlation-request-id": [ - "0bbbdd0c-f4c9-48a3-9443-9f4b6f4bebe5" + "184648d0-c234-4091-9aa6-8e14bd3128e0" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111759Z:0bbbdd0c-f4c9-48a3-9443-9f4b6f4bebe5" + "EASTUS2EUAP:20210128T125011Z:184648d0-c234-4091-9aa6-8e14bd3128e0" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:17:59 GMT" + "Thu, 28 Jan 2021 12:50:11 GMT" ], "Content-Length": [ - "525" + "530" ], "Content-Type": [ "application/json; charset=utf-8" @@ -1951,25 +1671,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2020-07-06T11:17:52.997Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344\",\r\n \"name\": \"sqlpool9344\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"eastus\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2021-01-28T12:50:03.367Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060\",\r\n \"name\": \"sqlpool1060\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"eastus2euap\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5b246205-3651-422e-99a2-003fc7df8bec" + "9a56b132-18c4-4914-a6aa-2af9cb14e720" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1983,28 +1703,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "566e8736-52bb-4942-84b8-a8ecfb7592e4" + "a0ce4dec-e5d8-4aaf-959a-c829346795a7" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11967" + "11947" ], "x-ms-correlation-request-id": [ - "e22e5165-1a5b-48a0-9946-8a927d97d008" + "23e40cc1-5104-462c-b742-2624ef3a1c41" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111800Z:e22e5165-1a5b-48a0-9946-8a927d97d008" + "EASTUS2EUAP:20210128T125011Z:23e40cc1-5104-462c-b742-2624ef3a1c41" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:18:00 GMT" + "Thu, 28 Jan 2021 12:50:11 GMT" ], "Content-Length": [ - "525" + "530" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2013,25 +1733,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2020-07-06T11:17:52.997Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344\",\r\n \"name\": \"sqlpool9344\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"eastus\"\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2021-01-28T12:50:03.367Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060\",\r\n \"name\": \"sqlpool1060\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"eastus2euap\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5ca29445-b8f6-492c-b1b9-a391573ec633" + "5c49aa3e-74aa-4540-a25f-374db4573840" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -2045,28 +1765,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a818dfba-6c05-43ed-87fe-8f1782343953" + "9988588e-71a0-48a6-a033-8ba38f1bc02a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11966" + "11946" ], "x-ms-correlation-request-id": [ - "3b3b1160-dfbf-4857-b5cf-10f462df0014" + "dcd38627-e261-4abd-975d-0a72efcd3989" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T112020Z:3b3b1160-dfbf-4857-b5cf-10f462df0014" + "EASTUS2EUAP:20210128T125042Z:dcd38627-e261-4abd-975d-0a72efcd3989" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:20:20 GMT" + "Thu, 28 Jan 2021 12:50:42 GMT" ], "Content-Length": [ - "557" + "562" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2075,31 +1795,31 @@ "-1" ] }, - "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2020-07-06T11:17:52.997Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344\",\r\n \"name\": \"sqlpool9344\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2021-01-28T12:50:03.367Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060\",\r\n \"name\": \"sqlpool1060\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060?api-version=2020-12-01", "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\"\r\n }\r\n}", + "RequestBody": "{\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n }\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "a9d6a605-5cbc-4607-ac0e-138d66947b1b" + "12fb0e02-b7ea-4790-ac89-dc5554369468" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "91" + "111" ] }, "ResponseHeaders": { @@ -2110,13 +1830,16 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationResults/sql04ftr-f9b8cc0b-2cd9-44ff-860b-07855ffb2ce9?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060/operationResults/sql04ftr-6fea3028-5df6-4c67-9777-559eb9cf1640?api-version=2020-12-01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Azure-AsyncOperation": [ + "https://eastus2euap.management.azure.com/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060/operationStatuses/sql04ftr-6fea3028-5df6-4c67-9777-559eb9cf1640?api-version=2020-12-01" + ], "RetryAfter": [ - "" + "15" ], "Access-Control-Allow-Headers": [ "Location" @@ -2125,25 +1848,25 @@ "Location" ], "x-ms-request-id": [ - "e5e3096f-46c9-4a83-934e-aeadfa7e3046" + "88438747-8701-4995-bcf8-99e277252b92" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1195" ], "x-ms-correlation-request-id": [ - "d76285ba-3d5d-43e2-a34b-b9f51ad563f9" + "a9272e62-361c-4ea8-be7a-d45734b24ed2" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T111945Z:d76285ba-3d5d-43e2-a34b-b9f51ad563f9" + "EASTUS2EUAP:20210128T125012Z:a9272e62-361c-4ea8-be7a-d45734b24ed2" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:19:45 GMT" + "Thu, 28 Jan 2021 12:50:12 GMT" ], "Expires": [ "-1" @@ -2156,21 +1879,21 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5eefb91f-c487-4ebb-85a7-fdcf57809789" + "03794bc3-6dca-45b6-97d7-308099ab1101" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -2184,28 +1907,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7efe6cb9-a00c-40e5-a943-3287c9527ec5" + "3fc64439-bf30-45ce-a795-fb12acb3d042" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11965" + "11945" ], "x-ms-correlation-request-id": [ - "84320ade-8bec-42d1-8378-64a04054c761" + "64e2afd7-500c-4f28-b206-a597668cd9cf" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T112020Z:84320ade-8bec-42d1-8378-64a04054c761" + "EASTUS2EUAP:20210128T125042Z:64e2afd7-500c-4f28-b206-a597668cd9cf" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:20:20 GMT" + "Thu, 28 Jan 2021 12:50:42 GMT" ], "Content-Length": [ - "569" + "574" ], "Content-Type": [ "application/json; charset=utf-8" @@ -2214,25 +1937,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2020-07-06T11:17:52.997Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344\",\r\n \"name\": \"sqlpool9344\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"eastus\",\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"properties\": {\r\n \"status\": \"Online\",\r\n \"maxSizeBytes\": 263882790666240,\r\n \"collation\": \"SQL_Latin1_General_CP1_CI_AS\",\r\n \"restorePointInTime\": \"0001-01-01T00:00:00\",\r\n \"creationDate\": \"2021-01-28T12:50:03.367Z\",\r\n \"provisioningState\": \"Succeeded\"\r\n },\r\n \"sku\": {\r\n \"name\": \"DW200c\",\r\n \"capacity\": 0\r\n },\r\n \"id\": \"/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060\",\r\n \"name\": \"sqlpool1060\",\r\n \"type\": \"Microsoft.Synapse/workspaces/sqlPools\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2fdcb2c3-21b0-498d-9ef9-50f918cb5154" + "4018ebe0-2934-497c-a35e-864cfbbcd296" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -2246,25 +1969,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f2f8d9e7-680c-4ea0-bea6-fb8e88ed14a9" + "d40af2e0-f642-403f-8ef8-0cd7c8637bd9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11960" + "11940" ], "x-ms-correlation-request-id": [ - "8357e181-18c9-480d-9af0-36d9690af5e1" + "1901576e-7045-4a1d-a49c-32b330df9423" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T112127Z:8357e181-18c9-480d-9af0-36d9690af5e1" + "EASTUS2EUAP:20210128T125113Z:1901576e-7045-4a1d-a49c-32b330df9423" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:21:26 GMT" + "Thu, 28 Jan 2021 12:51:13 GMT" ], "Content-Length": [ "12" @@ -2280,21 +2003,21 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/sqlPools/sqlpool9344?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/sqlPools/sqlpool1060?api-version=2020-12-01", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7e67633e-bb8c-4046-8ed3-87ffc60a9b88" + "fd8a2833-35ae-4e9e-9dfb-991df8758338" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -2305,7 +2028,7 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationResults/5a6bd7ac-06f7-4733-b770-bb036ca3000f?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationResults/d32e00a3-5c00-42a5-bc3b-19694e2f713a?api-version=2020-12-01" ], "Retry-After": [ "10" @@ -2314,7 +2037,7 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/5a6bd7ac-06f7-4733-b770-bb036ca3000f?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/d32e00a3-5c00-42a5-bc3b-19694e2f713a?api-version=2020-12-01" ], "Access-Control-Allow-Headers": [ "Location", @@ -2325,25 +2048,25 @@ "Retry-After" ], "x-ms-request-id": [ - "a90a7aba-a26d-4611-ac7c-cf51a0b7ac1b" + "5d61bca6-7b00-465f-99fe-b831dc8af4e9" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-deletes": [ - "14999" + "14998" ], "x-ms-correlation-request-id": [ - "0199fed2-c88e-4f70-b515-1ec27de52639" + "4456d6c1-f76b-44f4-82ce-4a51dc655d68" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T112050Z:0199fed2-c88e-4f70-b515-1ec27de52639" + "EASTUS2EUAP:20210128T125043Z:4456d6c1-f76b-44f4-82ce-4a51dc655d68" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:20:50 GMT" + "Thu, 28 Jan 2021 12:50:42 GMT" ], "Expires": [ "-1" @@ -2356,15 +2079,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/5a6bd7ac-06f7-4733-b770-bb036ca3000f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/d32e00a3-5c00-42a5-bc3b-19694e2f713a?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -2378,25 +2101,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9673606c-729a-4147-b153-df97aeab425b" + "b33f0996-e310-4543-b968-224e8728a8d6" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11964" + "11944" ], "x-ms-correlation-request-id": [ - "2252feac-69ca-4fc6-89d5-4e1677f65377" + "7e100ff7-8096-4c15-ad91-0a183384f409" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T112101Z:2252feac-69ca-4fc6-89d5-4e1677f65377" + "EASTUS2EUAP:20210128T125053Z:7e100ff7-8096-4c15-ad91-0a183384f409" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:21:01 GMT" + "Thu, 28 Jan 2021 12:50:53 GMT" ], "Content-Length": [ "23" @@ -2412,15 +2135,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/5a6bd7ac-06f7-4733-b770-bb036ca3000f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/d32e00a3-5c00-42a5-bc3b-19694e2f713a?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -2434,25 +2157,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "35bcb02d-b6b7-4873-bda4-29cdab249e13" + "356fe930-cb09-4134-b521-6a939a6fdfff" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11963" + "11943" ], "x-ms-correlation-request-id": [ - "2401d762-add7-4478-8fba-e20e6f2aa92e" + "009bf861-9569-4779-ab2e-fdf4bb204054" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T112111Z:2401d762-add7-4478-8fba-e20e6f2aa92e" + "EASTUS2EUAP:20210128T125103Z:009bf861-9569-4779-ab2e-fdf4bb204054" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:21:11 GMT" + "Thu, 28 Jan 2021 12:51:02 GMT" ], "Content-Length": [ "23" @@ -2468,15 +2191,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationStatuses/5a6bd7ac-06f7-4733-b770-bb036ca3000f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationStatuses/d32e00a3-5c00-42a5-bc3b-19694e2f713a?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -2490,25 +2213,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "16cbeebe-24f0-418d-8d38-092ce9e0aec1" + "331daddf-144d-4974-99cc-a46d25a07454" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11962" + "11942" ], "x-ms-correlation-request-id": [ - "4998ead8-75ea-43bf-b7ac-5435ffa349bd" + "dc053b98-eec8-4d0b-8bc4-5fa0bf7e5351" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T112121Z:4998ead8-75ea-43bf-b7ac-5435ffa349bd" + "EASTUS2EUAP:20210128T125113Z:dc053b98-eec8-4d0b-8bc4-5fa0bf7e5351" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:21:21 GMT" + "Thu, 28 Jan 2021 12:51:13 GMT" ], "Content-Length": [ "22" @@ -2524,15 +2247,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345/resourceGroups/synapsesdkrp5823/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace6547/operationResults/5a6bd7ac-06f7-4733-b770-bb036ca3000f?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e/resourceGroups/synapsesdkrp5419/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace7501/operationResults/d32e00a3-5c00-42a5-bc3b-19694e2f713a?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -2546,25 +2269,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0b19041e-9e2b-4353-90c3-03e3e6c60a5a" + "7d6893aa-a35a-4cf4-86bb-c7455456f785" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11961" + "11941" ], "x-ms-correlation-request-id": [ - "508f2e60-218b-4da1-9f7f-3ef2cf3561b0" + "15ceab2c-7eff-45ec-93bd-6b6deb8cc2e4" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T112122Z:508f2e60-218b-4da1-9f7f-3ef2cf3561b0" + "EASTUS2EUAP:20210128T125113Z:15ceab2c-7eff-45ec-93bd-6b6deb8cc2e4" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 11:21:21 GMT" + "Thu, 28 Jan 2021 12:51:13 GMT" ], "Expires": [ "-1" @@ -2576,21 +2299,21 @@ ], "Names": { ".ctor": [ - "synapsesdkrp5823", - "synapsesdkstorage1973", - "sshuser9100", - "Password1!3613", - "synapsesdkfilesys2697" + "synapsesdkrp5419", + "synapsesdkstorage2281", + "sshuser9272", + "Password1!9879", + "synapsesdkfilesys7790" ], "TestInitialize": [ - "fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345" + "3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e" ], "TestSqlPoolLifeCycle": [ - "synapsesdkworkspace6547", - "sqlpool9344" + "synapsesdkworkspace7501", + "sqlpool1060" ] }, "Variables": { - "SubscriptionId": "fdb3a8ae-91a6-4b3a-bdc4-3d2cebc39345" + "SubscriptionId": "3c0ea7b2-1054-48b9-9427-45ecf3ee1e0e" } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/WorkspaceOperationTests/TestWorkspaceLifeCycle.json b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/WorkspaceOperationTests/TestWorkspaceLifeCycle.json index 1ff0e60c82a6d..ab6ea003737de 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/WorkspaceOperationTests/TestWorkspaceLifeCycle.json +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/tests/SessionRecords/WorkspaceOperationTests/TestWorkspaceLifeCycle.json @@ -1,27 +1,27 @@ { "Entries": [ { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799?api-version=2020-12-01", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6322.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7106\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!7191\",\r\n \"sqlAdministratorLogin\": \"sshuser6955\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6306.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys896\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!8740\",\r\n \"sqlAdministratorLogin\": \"sshuser4462\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "6ae721fb-97fc-458d-83fe-4f5ad953a845" + "8283a679-1f6f-4764-8581-d1987c8330dc" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "367" + "371" ] }, "ResponseHeaders": { @@ -35,31 +35,31 @@ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/30e3a120-2259-4f13-9dc6-40fafdefafaf?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/1e44b0cf-a082-4855-be5d-68b96f0ae908?api-version=2020-12-01" ], "x-ms-request-id": [ - "bd474838-5242-4085-9b08-0ec3e75d44ce" + "c4848e30-5654-4783-b699-e21ead24ff84" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1197" ], "x-ms-correlation-request-id": [ - "41b127bc-435a-4387-9d69-6e531dd5830f" + "f14976f1-0975-4653-9fba-a9c811c9165b" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090454Z:41b127bc-435a-4387-9d69-6e531dd5830f" + "EASTUS2EUAP:20210128T121307Z:f14976f1-0975-4653-9fba-a9c811c9165b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:04:53 GMT" + "Thu, 28 Jan 2021 12:13:07 GMT" ], "Content-Length": [ - "1103" + "1284" ], "Content-Type": [ "application/json; charset=utf-8" @@ -68,31 +68,31 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace8605\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"eec0409b-7109-4dfa-adfe-c482cbe90eaf\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapsesdkrp2915%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace8605\",\r\n \"sql\": \"synapsesdkworkspace8605.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace8605.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace8605-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-bc06cf54-b0af-4ccd-8b3a-20a0f9938a7c\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6322.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7106\"\r\n },\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4799\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"83cad954-a826-4c78-9527-d70951f2cb86\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsynapsesdkrp2482%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4799\",\r\n \"dev\": \"https://synapsesdkworkspace4799.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4799-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4799.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ac1c7b72-a75a-4df9-adfb-dd19118f79a7\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6306.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys896\"\r\n },\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"50b72b92-e6b9-40a4-bd0a-eeac6f1e9971\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799?api-version=2020-12-01", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6322.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7106\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!7191\",\r\n \"sqlAdministratorLogin\": \"sshuser6955\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"location\": \"eastus\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6306.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys896\"\r\n },\r\n \"sqlAdministratorLoginPassword\": \"Password1!8740\",\r\n \"sqlAdministratorLogin\": \"sshuser4462\"\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"location\": \"eastus2euap\"\r\n}", "RequestHeaders": { "x-ms-client-request-id": [ - "ce8386aa-5c75-46f6-951e-26940d9c15d1" + "ccf93a2a-b75a-41a9-851c-82c4eaf424f9" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "415" + "419" ] }, "ResponseHeaders": { @@ -105,29 +105,88 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Azure-AsyncOperation": [ + "https://eastus2euap.management.azure.com/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/a44490ab-2567-4e6a-bb00-d830e60ec4d2?api-version=2020-12-01" + ], "x-ms-request-id": [ - "2c145824-4990-44bf-9181-023174725c5a" + "d332384d-2849-40ed-8dee-aee7e6d35f5e" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1196" + ], + "x-ms-correlation-request-id": [ + "8e410711-a7a0-4c95-9408-c9694eb0d912" + ], + "x-ms-routing-request-id": [ + "EASTUS2EUAP:20210128T121709Z:8e410711-a7a0-4c95-9408-c9694eb0d912" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 Jan 2021 12:17:09 GMT" + ], + "Content-Length": [ + "1354" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4799\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"83cad954-a826-4c78-9527-d70951f2cb86\"\r\n },\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsynapsesdkrp2482%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4799\",\r\n \"dev\": \"https://synapsesdkworkspace4799.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4799-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4799.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ac1c7b72-a75a-4df9-adfb-dd19118f79a7\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6306.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys896\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser4462\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"50b72b92-e6b9-40a4-bd0a-eeac6f1e9971\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Provisioning\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/1e44b0cf-a082-4855-be5d-68b96f0ae908?api-version=2020-12-01", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "511bd9d5-a10c-4819-b9eb-ae11a4b5a882" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" ], "x-ms-correlation-request-id": [ - "5c8cae03-16fe-4f33-8b58-d01e35ea8a7f" + "0eaead3f-d125-499c-919d-36c4afa48b71" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090855Z:5c8cae03-16fe-4f33-8b58-d01e35ea8a7f" + "EASTUS2EUAP:20210128T121337Z:0eaead3f-d125-499c-919d-36c4afa48b71" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:08:55 GMT" + "Thu, 28 Jan 2021 12:13:37 GMT" ], "Content-Length": [ - "1170" + "23" ], "Content-Type": [ "application/json; charset=utf-8" @@ -136,19 +195,19 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace8605\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"eec0409b-7109-4dfa-adfe-c482cbe90eaf\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapsesdkrp2915%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace8605\",\r\n \"sql\": \"synapsesdkworkspace8605.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace8605.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace8605-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-bc06cf54-b0af-4ccd-8b3a-20a0f9938a7c\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6322.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7106\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser6955\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/30e3a120-2259-4f13-9dc6-40fafdefafaf?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/1e44b0cf-a082-4855-be5d-68b96f0ae908?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -162,25 +221,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "34fc3b5d-42eb-47d8-9f8d-37af5e4ca971" + "26f52351-e9cc-40f8-b71f-d5a97d4b1032" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11997" ], "x-ms-correlation-request-id": [ - "201d53b4-3f27-4fa4-8627-26a991aab731" + "e3694bca-7f95-4acd-91a7-98b3070b5b24" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090524Z:201d53b4-3f27-4fa4-8627-26a991aab731" + "EASTUS2EUAP:20210128T121407Z:e3694bca-7f95-4acd-91a7-98b3070b5b24" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:05:24 GMT" + "Thu, 28 Jan 2021 12:14:07 GMT" ], "Content-Length": [ "23" @@ -196,15 +255,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/30e3a120-2259-4f13-9dc6-40fafdefafaf?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/1e44b0cf-a082-4855-be5d-68b96f0ae908?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -218,25 +277,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fe31fa33-7d8f-4791-8f69-6c27351bfc60" + "0472c677-f1d2-408a-b688-8a78d8ac3328" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11996" ], "x-ms-correlation-request-id": [ - "7940242e-0e8e-4c28-9454-c41d61582b8d" + "d28c74ca-9971-4b33-80ca-088287dd4572" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090554Z:7940242e-0e8e-4c28-9454-c41d61582b8d" + "EASTUS2EUAP:20210128T121438Z:d28c74ca-9971-4b33-80ca-088287dd4572" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:05:54 GMT" + "Thu, 28 Jan 2021 12:14:37 GMT" ], "Content-Length": [ "23" @@ -252,15 +311,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/30e3a120-2259-4f13-9dc6-40fafdefafaf?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/1e44b0cf-a082-4855-be5d-68b96f0ae908?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -274,25 +333,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8836aa38-3a1c-47d1-9e4a-77c37b7a9180" + "e4a2299f-6b1f-48da-a725-a2c854c6d79f" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11995" ], "x-ms-correlation-request-id": [ - "b931bf0e-bb36-4d38-b547-161e3f6509f4" + "95aa9f6e-1ef9-4af4-99ab-4851453c8b9b" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090625Z:b931bf0e-bb36-4d38-b547-161e3f6509f4" + "EASTUS2EUAP:20210128T121508Z:95aa9f6e-1ef9-4af4-99ab-4851453c8b9b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:06:24 GMT" + "Thu, 28 Jan 2021 12:15:08 GMT" ], "Content-Length": [ "23" @@ -308,15 +367,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/30e3a120-2259-4f13-9dc6-40fafdefafaf?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/1e44b0cf-a082-4855-be5d-68b96f0ae908?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -330,25 +389,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8a6967ae-0990-47c1-aba0-a6c1ed91fc63" + "cd76976f-d673-4c8e-a11d-0b0a34ebb880" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11994" ], "x-ms-correlation-request-id": [ - "f2611c8e-3db0-4a95-90cf-280790c381eb" + "a3a5f774-9e0e-4b54-9ce7-6ed6ee11b278" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090655Z:f2611c8e-3db0-4a95-90cf-280790c381eb" + "EASTUS2EUAP:20210128T121538Z:a3a5f774-9e0e-4b54-9ce7-6ed6ee11b278" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:06:54 GMT" + "Thu, 28 Jan 2021 12:15:38 GMT" ], "Content-Length": [ "23" @@ -364,15 +423,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/30e3a120-2259-4f13-9dc6-40fafdefafaf?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/1e44b0cf-a082-4855-be5d-68b96f0ae908?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -386,25 +445,81 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7d747be1-807d-4ca4-a26f-a337c5b8e9ef" + "f6854738-7d6f-498d-86b6-c15fa0dae16c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11993" + ], + "x-ms-correlation-request-id": [ + "516f9a12-1b60-49dd-82f3-788a8b23b97a" + ], + "x-ms-routing-request-id": [ + "EASTUS2EUAP:20210128T121608Z:516f9a12-1b60-49dd-82f3-788a8b23b97a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 Jan 2021 12:16:08 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/1e44b0cf-a082-4855-be5d-68b96f0ae908?api-version=2020-12-01", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0a5d61f5-7fb1-4cd4-93c6-5a60dc0735c9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "x-ms-correlation-request-id": [ - "31aaf9b1-2b91-4b62-b41b-41355bca6658" + "747bd98c-c5d7-4798-ac9f-ab4da1f89981" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090726Z:31aaf9b1-2b91-4b62-b41b-41355bca6658" + "EASTUS2EUAP:20210128T121638Z:747bd98c-c5d7-4798-ac9f-ab4da1f89981" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:07:26 GMT" + "Thu, 28 Jan 2021 12:16:38 GMT" ], "Content-Length": [ "23" @@ -420,15 +535,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/30e3a120-2259-4f13-9dc6-40fafdefafaf?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/1e44b0cf-a082-4855-be5d-68b96f0ae908?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -442,25 +557,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "51ae58b0-6e9f-496c-94e8-2b7ba3008382" + "b413a205-7586-4bc2-ae6b-e41c21b36bf3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "11991" ], "x-ms-correlation-request-id": [ - "ce240d19-f987-478b-8d6f-f67d438fd39a" + "026c76f9-2933-471d-808b-e199c6d5d949" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090756Z:ce240d19-f987-478b-8d6f-f67d438fd39a" + "EASTUS2EUAP:20210128T121708Z:026c76f9-2933-471d-808b-e199c6d5d949" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:07:56 GMT" + "Thu, 28 Jan 2021 12:17:08 GMT" ], "Content-Length": [ "22" @@ -476,15 +591,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -498,28 +613,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a7d284ac-054a-4f11-86d7-9d53f8230fdc" + "c1614731-9780-44d2-a681-568e3cb74204" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "11990" ], "x-ms-correlation-request-id": [ - "d953bc4a-e7fb-4ab6-8581-f70b6f22d0a1" + "4563bb29-1f15-497f-993c-aa7dd44a3010" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090757Z:d953bc4a-e7fb-4ab6-8581-f70b6f22d0a1" + "EASTUS2EUAP:20210128T121708Z:4563bb29-1f15-497f-993c-aa7dd44a3010" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:07:56 GMT" + "Thu, 28 Jan 2021 12:17:08 GMT" ], "Content-Length": [ - "1138" + "1319" ], "Content-Type": [ "application/json; charset=utf-8" @@ -528,25 +643,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace8605\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"eec0409b-7109-4dfa-adfe-c482cbe90eaf\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapsesdkrp2915%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace8605\",\r\n \"sql\": \"synapsesdkworkspace8605.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace8605.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace8605-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-bc06cf54-b0af-4ccd-8b3a-20a0f9938a7c\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6322.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7106\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser6955\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4799\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"83cad954-a826-4c78-9527-d70951f2cb86\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsynapsesdkrp2482%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4799\",\r\n \"dev\": \"https://synapsesdkworkspace4799.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4799-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4799.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ac1c7b72-a75a-4df9-adfb-dd19118f79a7\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6306.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys896\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser4462\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"50b72b92-e6b9-40a4-bd0a-eeac6f1e9971\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "576727df-33ab-40a5-a2ca-f9190347fe28" + "35d6e18b-9b9e-4671-b394-088725dc5170" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -560,28 +675,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c3f89bce-0956-4be3-a4dd-b6175b0e2916" + "021c4989-0999-4322-8a5d-aec93f8f5765" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "11989" ], "x-ms-correlation-request-id": [ - "2f2929d5-64f5-4e8f-a97e-75a763a5a680" + "58b25e6f-7f3a-49ca-8809-0c9dfeff688b" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090757Z:2f2929d5-64f5-4e8f-a97e-75a763a5a680" + "EASTUS2EUAP:20210128T121709Z:58b25e6f-7f3a-49ca-8809-0c9dfeff688b" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:07:57 GMT" + "Thu, 28 Jan 2021 12:17:09 GMT" ], "Content-Length": [ - "1138" + "1319" ], "Content-Type": [ "application/json; charset=utf-8" @@ -590,25 +705,75 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace8605\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"eec0409b-7109-4dfa-adfe-c482cbe90eaf\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapsesdkrp2915%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace8605\",\r\n \"sql\": \"synapsesdkworkspace8605.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace8605.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace8605-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-bc06cf54-b0af-4ccd-8b3a-20a0f9938a7c\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6322.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys7106\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser6955\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4799\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"83cad954-a826-4c78-9527-d70951f2cb86\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsynapsesdkrp2482%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4799\",\r\n \"dev\": \"https://synapsesdkworkspace4799.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4799-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4799.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ac1c7b72-a75a-4df9-adfb-dd19118f79a7\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6306.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys896\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser4462\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"50b72b92-e6b9-40a4-bd0a-eeac6f1e9971\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { - "x-ms-client-request-id": [ - "f41a3d0b-835c-4ecf-b763-6dfd8e9e5b1d" + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" ], - "Accept-Language": [ - "en-US" + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3770bd8b-d3af-4f09-a6fe-8c3ae6d25e1e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-correlation-request-id": [ + "cbb93990-a932-450f-b63f-64a2b298b16e" + ], + "x-ms-routing-request-id": [ + "EASTUS2EUAP:20210128T121840Z:cbb93990-a932-450f-b63f-64a2b298b16e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 Jan 2021 12:18:40 GMT" + ], + "Content-Length": [ + "1351" ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4799\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"83cad954-a826-4c78-9527-d70951f2cb86\"\r\n },\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsynapsesdkrp2482%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4799\",\r\n \"dev\": \"https://synapsesdkworkspace4799.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4799-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4799.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ac1c7b72-a75a-4df9-adfb-dd19118f79a7\",\r\n \"defaultDataLakeStorage\": {\r\n \"accountUrl\": \"https://synapsesdkstorage6306.dfs.core.windows.net\",\r\n \"filesystem\": \"synapsesdkfilesys896\"\r\n },\r\n \"sqlAdministratorLogin\": \"sshuser4462\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"50b72b92-e6b9-40a4-bd0a-eeac6f1e9971\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/a44490ab-2567-4e6a-bb00-d830e60ec4d2?api-version=2020-12-01", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -622,7 +787,63 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a6c82673-6ec7-4a01-be87-3bbedaf758a3" + "bfc71466-fba4-404f-a31f-e7722d67c716" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-correlation-request-id": [ + "cb343397-32a6-4306-9c55-65986fab9011" + ], + "x-ms-routing-request-id": [ + "EASTUS2EUAP:20210128T121740Z:cb343397-32a6-4306-9c55-65986fab9011" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 Jan 2021 12:17:39 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/a44490ab-2567-4e6a-bb00-d830e60ec4d2?api-version=2020-12-01", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ad5156db-51a4-468f-971a-f1bf63576f0e" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -631,19 +852,75 @@ "11987" ], "x-ms-correlation-request-id": [ - "41378847-1925-44db-84e2-3453f8de5285" + "512090d5-8932-42ae-be37-8f831f66064a" + ], + "x-ms-routing-request-id": [ + "EASTUS2EUAP:20210128T121810Z:512090d5-8932-42ae-be37-8f831f66064a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 Jan 2021 12:18:09 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/a44490ab-2567-4e6a-bb00-d830e60ec4d2?api-version=2020-12-01", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f93d552c-c7ae-48b5-bd79-1fffa10360bb" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-correlation-request-id": [ + "ec24a5b6-01e6-4e21-8733-96dc94bee3a8" ], "x-ms-routing-request-id": [ - "SOUTHEASTASIA:20200706T090941Z:41378847-1925-44db-84e2-3453f8de5285" + "EASTUS2EUAP:20210128T121840Z:ec24a5b6-01e6-4e21-8733-96dc94bee3a8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:09:41 GMT" + "Thu, 28 Jan 2021 12:18:40 GMT" ], "Content-Length": [ - "975" + "22" ], "Content-Type": [ "application/json; charset=utf-8" @@ -652,25 +929,25 @@ "-1" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace8605\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"eec0409b-7109-4dfa-adfe-c482cbe90eaf\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapsesdkrp2915%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace8605\",\r\n \"sql\": \"synapsesdkworkspace8605.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace8605.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace8605-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapsesdkrp2915\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"status\": \"Succeeded\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4a338567-914d-4f16-85c7-5aa624846d10" + "e2d5a160-d0c8-42bf-9dc9-5d63f3484fcb" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -680,56 +957,121 @@ "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "11984" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "044488b2-824a-43e7-9a61-223f76367ec5" + "dec6880d-120a-44bb-b550-b69f54c9a209" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" ], "x-ms-correlation-request-id": [ - "044488b2-824a-43e7-9a61-223f76367ec5" + "4f1dfb8b-d495-4eb9-87b6-dc81faf5be90" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T091845Z:044488b2-824a-43e7-9a61-223f76367ec5" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "EASTUS2EUAP:20210128T121840Z:4f1dfb8b-d495-4eb9-87b6-dc81faf5be90" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:18:44 GMT" + "Thu, 28 Jan 2021 12:18:40 GMT" + ], + "Content-Length": [ + "1234" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4799\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"83cad954-a826-4c78-9527-d70951f2cb86\"\r\n },\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsynapsesdkrp2482%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4799\",\r\n \"dev\": \"https://synapsesdkworkspace4799.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4799-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4799.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ac1c7b72-a75a-4df9-adfb-dd19118f79a7\",\r\n \"sqlAdministratorLogin\": \"sshuser4462\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"50b72b92-e6b9-40a4-bd0a-eeac6f1e9971\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces?api-version=2020-12-01", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a0ed2b77-ba90-4351-bcfb-490d66207664" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d1813a74-1e33-4f0a-b607-1795deff8bcf" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-correlation-request-id": [ + "50580bed-e0db-4a6d-8a95-880a369f507a" + ], + "x-ms-routing-request-id": [ + "EASTUS2EUAP:20210128T122143Z:50580bed-e0db-4a6d-8a95-880a369f507a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 Jan 2021 12:21:43 GMT" ], "Content-Length": [ "12" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" ] }, "ResponseBody": "{\r\n \"value\": []\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/providers/Microsoft.Synapse/workspaces?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/providers/Microsoft.Synapse/workspaces?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fed2973c-7d48-4814-8096-39dcfa7d9a0f" + "7ca48c17-6765-44f2-bcf8-10dee2428046" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -740,24 +1082,30 @@ "no-cache" ], "x-ms-original-request-ids": [ - "c805ad8c-c368-4254-af2a-ae8416498e76", - "e3d2e406-da72-4891-bdd9-c6cd42bc4f0a", - "40a27d75-9cd1-48d7-b5e3-6879157bd8eb", - "60bce8e8-d9ca-489b-a967-0b1895139902", - "b860bd4b-f74e-425a-ba4c-dd389b2a1c2c", - "b9a1279d-a26f-41bc-aa80-7d651534a937" + "c9f46c15-9d28-4bd2-9835-b47283393dd9", + "0c548a36-0c6e-4e28-b58e-a53b1ecd1a53", + "a8164e8f-5485-4a42-b270-ef34d8fd2157", + "6e443744-3c26-4136-bb37-9296651ecce4", + "dcae51b6-9bc9-4665-822d-94c7b0714956", + "81bdc131-26a8-4105-aec6-1658f13ab31b", + "e063e57c-b8c2-4ad3-b1b0-084e3f34f4eb", + "d70f5afe-d7b4-4dea-984c-f019b8d1f4a1", + "a9e550c0-3cb6-494f-a781-8e937fc41588", + "07d0bb25-dc5f-406e-86a4-eaac603b723c", + "47bb06d7-f39e-4eef-a77e-77d2c6b3b4e9", + "1178dc24-d1a4-4f78-8c70-e86306dc1b7c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11983" ], "x-ms-request-id": [ - "01a72f82-c4a6-4b0d-a37f-ac2d32e1be51" + "686c5b20-07e4-46ca-b518-13014136771b" ], "x-ms-correlation-request-id": [ - "01a72f82-c4a6-4b0d-a37f-ac2d32e1be51" + "686c5b20-07e4-46ca-b518-13014136771b" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T091453Z:01a72f82-c4a6-4b0d-a37f-ac2d32e1be51" + "EASTUS2EUAP:20210128T121841Z:686c5b20-07e4-46ca-b518-13014136771b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -766,7 +1114,7 @@ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:14:52 GMT" + "Thu, 28 Jan 2021 12:18:41 GMT" ], "Content-Type": [ "application/json; charset=utf-8" @@ -775,28 +1123,28 @@ "-1" ], "Content-Length": [ - "61419" + "76074" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/aznb-integration-demo-rg/providers/Microsoft.Synapse/workspaces/aznbintdemows\",\r\n \"location\": \"westus2\",\r\n \"name\": \"aznbintdemows\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"309c2ad1-11c8-4a38-8e71-c8800a71bf9a\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2faznb-integration-demo-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2faznbintdemows\",\r\n \"sql\": \"aznbintdemows.sql.azuresynapse.net\",\r\n \"dev\": \"https://aznbintdemows.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"aznbintdemows-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"aznb-integration-demo-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/beijingtest/providers/Microsoft.Synapse/workspaces/fenq\",\r\n \"location\": \"westus2\",\r\n \"name\": \"fenq\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"43c5521b-a729-41d4-979f-e25460e74e63\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbeijingtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2ffenq\",\r\n \"sql\": \"fenq.sql.azuresynapse.net\",\r\n \"dev\": \"https://fenq.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"fenq-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"beijingtest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/bigdataqa/providers/Microsoft.Synapse/workspaces/pierotest\",\r\n \"location\": \"westus2\",\r\n \"name\": \"pierotest\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"58f07a59-4d85-4f87-a390-77ff1dcd79c6\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbigdataqa%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fpierotest\",\r\n \"sql\": \"pierotest.sql.azuresynapse.net\",\r\n \"dev\": \"https://pierotest.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"pierotest-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"bigdataqa\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/bigdataqa/providers/Microsoft.Synapse/workspaces/bigdataqa1105ws\",\r\n \"location\": \"westus2\",\r\n \"name\": \"bigdataqa1105ws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"b78db07d-c7d9-4556-af15-87973308fcb9\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbigdataqa%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fbigdataqa1105ws\",\r\n \"sql\": \"bigdataqa1105ws.sql.azuresynapse.net\",\r\n \"dev\": \"https://bigdataqa1105ws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"bigdataqa1105ws-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"bigdataqa\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/bigdataqa/providers/Microsoft.Synapse/workspaces/bigdataqa0407\",\r\n \"location\": \"westus2\",\r\n \"name\": \"bigdataqa0407\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"4c1d6175-8cee-4958-8822-ae89062c508a\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbigdataqa%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fbigdataqa0407\",\r\n \"sql\": \"bigdataqa0407.sql.azuresynapse.net\",\r\n \"dev\": \"https://bigdataqa0407.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"bigdataqa0407-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"bigdataqa\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/chayang-test-rg/providers/Microsoft.Synapse/workspaces/chayang-synapse-westus\",\r\n \"location\": \"westus2\",\r\n \"name\": \"chayang-synapse-westus\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"2f36658a-7be2-4baa-b81c-19226899d74c\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"pointOfContact\": \"chayang\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fchayang-test-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fchayang-synapse-westus\",\r\n \"sql\": \"chayang-synapse-westus.sql.azuresynapse.net\",\r\n \"dev\": \"https://chayang-synapse-westus.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"chayang-synapse-westus-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"chayang-test-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/chayang-test-rg/providers/Microsoft.Synapse/workspaces/chayangwestus2\",\r\n \"location\": \"westus2\",\r\n \"name\": \"chayangwestus2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"76d1d861-3fe3-4e6c-814f-4bc4e61f5e37\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"cleanup\": \"keep\",\r\n \"pointOfContact\": \"chayang\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fchayang-test-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fchayangwestus2\",\r\n \"sql\": \"chayangwestus2.sql.azuresynapse.net\",\r\n \"dev\": \"https://chayangwestus2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"chayangwestus2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"chayang-test-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/gyytest/providers/Microsoft.Synapse/workspaces/gyywestus2\",\r\n \"location\": \"westus2\",\r\n \"name\": \"gyywestus2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"d6ce3a74-72aa-4031-b665-afd38c6238eb\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fgyytest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fgyywestus2\",\r\n \"sql\": \"gyywestus2.sql.azuresynapse.net\",\r\n \"dev\": \"https://gyywestus2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"gyywestus2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"gyytest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Failed\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/ltianrg/providers/Microsoft.Synapse/workspaces/ltiantest1234\",\r\n \"location\": \"westus2\",\r\n \"name\": \"ltiantest1234\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fltianrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fltiantest1234\",\r\n \"sql\": \"ltiantest1234.sql.azuresynapse.net\",\r\n \"dev\": \"https://ltiantest1234.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ltiantest1234-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ltianrg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/ltianrg/providers/Microsoft.Synapse/workspaces/ltianwestus2\",\r\n \"location\": \"westus2\",\r\n \"name\": \"ltianwestus2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"f9ada472-66a8-4ffe-b2fa-d20e64182ae5\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fltianrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fltianwestus2\",\r\n \"sql\": \"ltianwestus2.sql.azuresynapse.net\",\r\n \"dev\": \"https://ltianwestus2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ltianwestus2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ltianrg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/ltianrg/providers/Microsoft.Synapse/workspaces/ltiansynapseeastus\",\r\n \"location\": \"westus2\",\r\n \"name\": \"ltiansynapseeastus\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"1fd4cf7b-e9c1-4cfe-8fa3-b6a63d998fab\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fltianrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fltiansynapseeastus\",\r\n \"sql\": \"ltiansynapseeastus.sql.azuresynapse.net\",\r\n \"dev\": \"https://ltiansynapseeastus.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ltiansynapseeastus-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ltianrg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/mandywtest/providers/Microsoft.Synapse/workspaces/mandyw1025a\",\r\n \"location\": \"westus2\",\r\n \"name\": \"mandyw1025a\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"f2efb077-9502-47e8-86e3-16d13a7f5037\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"lirsuntesttagname1\": \"lirsuntesttagvalue1\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fmandywtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmandyw1025a\",\r\n \"sql\": \"mandyw1025a.sql.azuresynapse.net\",\r\n \"dev\": \"https://mandyw1025a.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mandyw1025a-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"mandywtest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/pierowebtooling/providers/Microsoft.Synapse/workspaces/pi19\",\r\n \"location\": \"westus2\",\r\n \"name\": \"pi19\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"57ac3755-2a7b-49dc-aaea-b3f9bc598b00\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fpierowebtooling%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fpi19\",\r\n \"sql\": \"pi19.sql.azuresynapse.net\",\r\n \"dev\": \"https://pi19.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"pi19-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"pierowebtooling\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/pierowebtooling/providers/Microsoft.Synapse/workspaces/labtestpbi\",\r\n \"location\": \"westus2\",\r\n \"name\": \"labtestpbi\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"1fa15a35-a7af-45e1-a33c-3fafc92508aa\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fpierowebtooling%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2flabtestpbi\",\r\n \"sql\": \"labtestpbi.sql.azuresynapse.net\",\r\n \"dev\": \"https://labtestpbi.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"labtestpbi-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"pierowebtooling\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/rufan0723rg01/providers/Microsoft.Synapse/workspaces/rufan072301ws\",\r\n \"location\": \"westus2\",\r\n \"name\": \"rufan072301ws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2frufan0723rg01%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2frufan072301ws\",\r\n \"sql\": \"rufan072301ws.sql.azuresynapse.net\",\r\n \"dev\": \"https://rufan072301ws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"rufan072301ws-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"rufan0723rg01\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/ruxurg/providers/Microsoft.Synapse/workspaces/ruxuwsoct\",\r\n \"location\": \"westus2\",\r\n \"name\": \"ruxuwsoct\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"6449e0fb-f4e9-4fad-b26a-e3847d26c21b\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fruxurg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fruxuwsoct\",\r\n \"sql\": \"ruxuwsoct.sql.azuresynapse.net\",\r\n \"dev\": \"https://ruxuwsoct.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ruxuwsoct-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ruxurg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/shuaitest/providers/Microsoft.Synapse/workspaces/shuaitest2\",\r\n \"location\": \"westus2\",\r\n \"name\": \"shuaitest2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"f7e1a0e4-97b2-4aa0-b605-e515fc867242\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fshuaitest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fshuaitest2\",\r\n \"sql\": \"shuaitest2.sql.azuresynapse.net\",\r\n \"dev\": \"https://shuaitest2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"shuaitest2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"shuaitest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/soc-ux-verify/providers/Microsoft.Synapse/workspaces/socuxverify\",\r\n \"location\": \"westus2\",\r\n \"name\": \"socuxverify\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"7d54018b-0dca-4fb3-8b66-8e9df663db97\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsoc-ux-verify%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsocuxverify\",\r\n \"sql\": \"socuxverify.sql.azuresynapse.net\",\r\n \"dev\": \"https://socuxverify.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"socuxverify-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"soc-ux-verify\",\r\n \"adlaResourceId\": \"/subscriptions/b15a46e3-13e9-4504-a348-f823e6e01503/resourceGroups/conv/providers/Microsoft.DataLakeAnalytics/accounts/sparkwatchdog-c09\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/spark-sql-dev/providers/Microsoft.Synapse/workspaces/sparksqltest\",\r\n \"location\": \"westus2\",\r\n \"name\": \"sparksqltest\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"d62a7561-6355-4481-8c47-f6ec9bd6bfeb\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fspark-sql-dev%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsparksqltest\",\r\n \"sql\": \"sparksqltest.sql.azuresynapse.net\",\r\n \"dev\": \"https://sparksqltest.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"sparksqltest-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"spark-sql-dev\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapse-e2e/providers/Microsoft.Synapse/workspaces/synapsewestus2e2e\",\r\n \"location\": \"westus2\",\r\n \"name\": \"synapsewestus2e2e\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"b0415034-89c8-4812-8fe0-50de8a86c860\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapse-e2e%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsewestus2e2e\",\r\n \"sql\": \"synapsewestus2e2e.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsewestus2e2e.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsewestus2e2e-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapse-e2e\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/xqctest/providers/Microsoft.Synapse/workspaces/xqctest\",\r\n \"location\": \"westus2\",\r\n \"name\": \"xqctest\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"6b9ee482-d437-420f-8afd-d2f277f02096\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fxqctest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fxqctest\",\r\n \"sql\": \"xqctest.sql.azuresynapse.net\",\r\n \"dev\": \"https://xqctest.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"xqctest-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"xqctest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/yifso-workspace/providers/Microsoft.Synapse/workspaces/yifso\",\r\n \"location\": \"westus2\",\r\n \"name\": \"yifso\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fyifso-workspace%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fyifso\",\r\n \"sql\": \"yifso.sql.azuresynapse.net\",\r\n \"dev\": \"https://yifso.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"yifso-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"yifso-workspace\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"DeleteError\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/yifso-workspace/providers/Microsoft.Synapse/workspaces/yifso1202ws\",\r\n \"location\": \"westus2\",\r\n \"name\": \"yifso1202ws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"cb9090e5-02a0-4805-b8fa-de52cf15d95b\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"__gitRepoConfiguration__0\": \"%7B%22type%22%3A%22FactoryGitHubConfiguration%22%2C%22hostName%22%3A%22%22%2C%22accountName%22%3A%22yifso%22%2C%22repositoryName%22%3A%22SynapseTest%22%2C%22collaborationBranch%22%3A%22master%22%2C%22rootFolder%22%3A%22%2Fyifso20200106%22%2C%22lastCommitId\",\r\n \"__gitRepoConfiguration__1\": \"%22%3A%22%22%7D\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fyifso-workspace%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fyifso1202ws\",\r\n \"sql\": \"yifso1202ws.sql.azuresynapse.net\",\r\n \"dev\": \"https://yifso1202ws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"yifso1202ws-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"yifso-workspace\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/zhwe-arc/providers/Microsoft.Synapse/workspaces/zhwe-0801\",\r\n \"location\": \"westus2\",\r\n \"name\": \"zhwe-0801\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fzhwe-arc%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fzhwe-0801\",\r\n \"sql\": \"zhwe-0801.sql.azuresynapse.net\",\r\n \"dev\": \"https://zhwe-0801.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"zhwe-0801-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"zhwe-arc\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/a365-anb-rg/providers/Microsoft.Synapse/workspaces/jennyhpdemo2\",\r\n \"location\": \"eastus\",\r\n \"name\": \"jennyhpdemo2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"b537130d-2e81-4b46-9b6c-5d56713659d6\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fa365-anb-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fjennyhpdemo2\",\r\n \"sql\": \"jennyhpdemo2.sql.azuresynapse.net\",\r\n \"dev\": \"https://jennyhpdemo2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"jennyhpdemo2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"a365-anb-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/bigdataqa/providers/Microsoft.Synapse/workspaces/bigdataqa0514ws2\",\r\n \"location\": \"eastus\",\r\n \"name\": \"bigdataqa0514ws2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"8aca5ca7-03c1-440c-8040-309b55a94c74\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbigdataqa%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fbigdataqa0514ws2\",\r\n \"sql\": \"bigdataqa0514ws2.sql.azuresynapse.net\",\r\n \"dev\": \"https://bigdataqa0514ws2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"bigdataqa0514ws2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"bigdataqa\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/bigdataqa/providers/Microsoft.Synapse/workspaces/bigdataqa0512ws2\",\r\n \"location\": \"eastus\",\r\n \"name\": \"bigdataqa0512ws2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"e751cac0-57c2-4004-bb73-23c6ba1411bf\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbigdataqa%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fbigdataqa0512ws2\",\r\n \"sql\": \"bigdataqa0512ws2.sql.azuresynapse.net\",\r\n \"dev\": \"https://bigdataqa0512ws2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"bigdataqa0512ws2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"bigdataqa\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/bigdataqa/providers/Microsoft.Synapse/workspaces/qing0313\",\r\n \"location\": \"eastus\",\r\n \"name\": \"qing0313\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"eede0795-1aa4-468a-a5ff-a57174b43536\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbigdataqa%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fqing0313\",\r\n \"sql\": \"qing0313.sql.azuresynapse.net\",\r\n \"dev\": \"https://qing0313.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"qing0313-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"bigdataqa\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/bjtest/providers/Microsoft.Synapse/workspaces/sparkbatchtest2\",\r\n \"location\": \"eastus\",\r\n \"name\": \"sparkbatchtest2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"e63bf885-458f-4eb2-969b-093b7e2f3e14\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbjtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsparkbatchtest2\",\r\n \"sql\": \"sparkbatchtest2.sql.azuresynapse.net\",\r\n \"dev\": \"https://sparkbatchtest2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"sparkbatchtest2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"bjtest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/catestAWTeus/providers/Microsoft.Synapse/workspaces/catesteus\",\r\n \"location\": \"eastus\",\r\n \"name\": \"catesteus\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"65f80739-a6e0-4c3d-8a50-1ab878179e0c\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fcatestAWTeus%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fcatesteus\",\r\n \"sql\": \"catesteus.sql.azuresynapse.net\",\r\n \"dev\": \"https://catesteus.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"catesteus-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"catestAWTeus\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/gyytest/providers/Microsoft.Synapse/workspaces/gyyeastusws\",\r\n \"location\": \"eastus\",\r\n \"name\": \"gyyeastusws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"77fd8328-a4e8-4981-96c3-3847a1d9d8c2\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fgyytest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fgyyeastusws\",\r\n \"sql\": \"gyyeastusws.sql.azuresynapse.net\",\r\n \"dev\": \"https://gyyeastusws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"gyyeastusws-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"gyytest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/ltianrg/providers/Microsoft.Synapse/workspaces/ltianeastusvnetws\",\r\n \"location\": \"eastus\",\r\n \"name\": \"ltianeastusvnetws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"c477cfd2-d8db-49ca-ba63-ddc4d597a93b\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fltianrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fltianeastusvnetws\",\r\n \"sql\": \"ltianeastusvnetws.sql.azuresynapse.net\",\r\n \"dev\": \"https://ltianeastusvnetws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ltianeastusvnetws-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ltianrg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/mandywtest/providers/Microsoft.Synapse/workspaces/mandywtestd\",\r\n \"location\": \"eastus\",\r\n \"name\": \"mandywtestd\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"79e63652-f857-438d-8fc5-fd3f20a29b77\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fmandywtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmandywtestd\",\r\n \"sql\": \"mandywtestd.sql.azuresynapse.net\",\r\n \"dev\": \"https://mandywtestd.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mandywtestd-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"mandywtest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/pierowebtooling/providers/Microsoft.Synapse/workspaces/pieroeast\",\r\n \"location\": \"eastus\",\r\n \"name\": \"pieroeast\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"b6a6ba32-0316-4898-94cb-addb28dcdd42\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fpierowebtooling%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fpieroeast\",\r\n \"sql\": \"pieroeast.sql.azuresynapse.net\",\r\n \"dev\": \"https://pieroeast.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"pieroeast-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"pierowebtooling\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/samplenbeastus/providers/Microsoft.Synapse/workspaces/samplenbwseastus\",\r\n \"location\": \"eastus\",\r\n \"name\": \"samplenbwseastus\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"4119c54f-2926-427b-b672-f92c5a72e9a7\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"cleanup\": \"keep\",\r\n \"pointOfContact\": \"ruxu\"\r\n },\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsamplenbeastus%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsamplenbwseastus\",\r\n \"sql\": \"samplenbwseastus.sql.azuresynapse.net\",\r\n \"dev\": \"https://samplenbwseastus.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"samplenbwseastus-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"samplenbeastus\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/shuaitest/providers/Microsoft.Synapse/workspaces/devtooltelemetryws\",\r\n \"location\": \"eastus\",\r\n \"name\": \"devtooltelemetryws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"68c959d3-efe2-4d5e-814d-098c5fe97a05\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fshuaitest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fdevtooltelemetryws\",\r\n \"sql\": \"devtooltelemetryws.sql.azuresynapse.net\",\r\n \"dev\": \"https://devtooltelemetryws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"devtooltelemetryws-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"shuaitest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapse-e2e/providers/Microsoft.Synapse/workspaces/synapseeastuse2e\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapseeastuse2e\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"1b49d1bc-cba5-4aa1-a245-caf19bbdcd18\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapse-e2e%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapseeastuse2e\",\r\n \"sql\": \"synapseeastuse2e.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapseeastuse2e.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapseeastuse2e-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapse-e2e\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapse-e2e/providers/Microsoft.Synapse/workspaces/synapseeastuse2e1\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapseeastuse2e1\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"4f9193ce-9c97-4b20-a7b6-50fc49455e9d\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapse-e2e%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapseeastuse2e1\",\r\n \"sql\": \"synapseeastuse2e1.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapseeastuse2e1.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapseeastuse2e1-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapse-e2e\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Failed\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapse-e2e/providers/Microsoft.Synapse/workspaces/synapseeastuse2e2\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapseeastuse2e2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"2e88e543-956d-42c3-9633-a97617a4423d\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapse-e2e%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapseeastuse2e2\",\r\n \"sql\": \"synapseeastuse2e2.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapseeastuse2e2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapseeastuse2e2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapse-e2e\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Failed\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605\",\r\n \"location\": \"eastus\",\r\n \"name\": \"synapsesdkworkspace8605\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"eec0409b-7109-4dfa-adfe-c482cbe90eaf\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapsesdkrp2915%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace8605\",\r\n \"sql\": \"synapsesdkworkspace8605.sql.azuresynapse.net\",\r\n \"dev\": \"https://synapsesdkworkspace8605.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace8605-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapsesdkrp2915\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/zhwe-arc/providers/Microsoft.Synapse/workspaces/zhwe0214eus\",\r\n \"location\": \"eastus\",\r\n \"name\": \"zhwe0214eus\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"5b759132-99b4-4ef1-8104-c3d24e276586\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fzhwe-arc%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fzhwe0214eus\",\r\n \"sql\": \"zhwe0214eus.sql.azuresynapse.net\",\r\n \"dev\": \"https://zhwe0214eus.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"zhwe0214eus-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"zhwe-arc\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/zzy-test-rg/providers/Microsoft.Synapse/workspaces/testsynapseworkspace\",\r\n \"location\": \"eastus\",\r\n \"name\": \"testsynapseworkspace\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"5c40eee1-1044-4ec5-9d56-bbbd73b93df0\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"key1\": \"value2\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fzzy-test-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2ftestsynapseworkspace\",\r\n \"sql\": \"testsynapseworkspace.sql.azuresynapse.net\",\r\n \"dev\": \"https://testsynapseworkspace.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"testsynapseworkspace-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"zzy-test-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/beijingtest/providers/Microsoft.Synapse/workspaces/zhaotestworkspace\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"zhaotestworkspace\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"bb17d021-989f-445f-9be2-8dae7b27b6e0\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbeijingtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fzhaotestworkspace\",\r\n \"sql\": \"zhaotestworkspace.sql.azuresynapse.net\",\r\n \"dev\": \"https://zhaotestworkspace.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"zhaotestworkspace-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"beijingtest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/beijingtest/providers/Microsoft.Synapse/workspaces/xssc\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"xssc\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"aba6c6ee-cc3f-4105-b213-8a0e26fd2dd0\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbeijingtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fxssc\",\r\n \"sql\": \"xssc.sql.azuresynapse.net\",\r\n \"dev\": \"https://xssc.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"xssc-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"beijingtest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/bigdataqa/providers/Microsoft.Synapse/workspaces/xiaocw0316\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"xiaocw0316\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"f98fa659-f0f1-4d52-9b3b-c5e6c48a1556\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fbigdataqa%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fxiaocw0316\",\r\n \"sql\": \"xiaocw0316.sql.azuresynapse.net\",\r\n \"dev\": \"https://xiaocw0316.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"xiaocw0316-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"bigdataqa\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/dongwwarg/providers/Microsoft.Synapse/workspaces/dongwwaps5970\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"dongwwaps5970\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"219ddf8e-2d70-4e50-8f8b-522cc53c60d5\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fdongwwarg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fdongwwaps5970\",\r\n \"sql\": \"dongwwaps5970.sql.azuresynapse.net\",\r\n \"dev\": \"https://dongwwaps5970.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"dongwwaps5970-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"dongwwarg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/kuhuan-vnet-test/providers/Microsoft.Synapse/workspaces/kuhuanvnettest\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"kuhuanvnettest\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"ee41bad8-3072-4f07-a4b9-43f7c2db2838\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fkuhuan-vnet-test%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fkuhuanvnettest\",\r\n \"sql\": \"kuhuanvnettest.sql.azuresynapse.net\",\r\n \"dev\": \"https://kuhuanvnettest.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"kuhuanvnettest-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"kuhuan-vnet-test\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/lilijing/providers/Microsoft.Synapse/workspaces/lilijing0227neur\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"lilijing0227neur\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"9555b5c3-a247-4047-8df1-8d7b7363c5b2\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"cleanup\": \"keep\",\r\n \"pointOfContact\": \"lilijing\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2flilijing%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2flilijing0227neur\",\r\n \"sql\": \"lilijing0227neur.sql.azuresynapse.net\",\r\n \"dev\": \"https://lilijing0227neur.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"lilijing0227neur-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"lilijing\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/ltianrg/providers/Microsoft.Synapse/workspaces/ltiannortheurope\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"ltiannortheurope\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"ea1bb792-dcb8-4ac7-9adf-a0aa627dac66\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fltianrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fltiannortheurope\",\r\n \"sql\": \"ltiannortheurope.sql.azuresynapse.net\",\r\n \"dev\": \"https://ltiannortheurope.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ltiannortheurope-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ltianrg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/samplenb/providers/Microsoft.Synapse/workspaces/ruxuwsne\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"ruxuwsne\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"3e0da1ed-a0cc-4829-b521-3ffa85cf4400\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {\r\n \"cleanup\": \"keep\",\r\n \"pointOfContact\": \"ruxu\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsamplenb%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fruxuwsne\",\r\n \"sql\": \"ruxuwsne.sql.azuresynapse.net\",\r\n \"dev\": \"https://ruxuwsne.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ruxuwsne-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"samplenb\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/silahuhilotest2/providers/Microsoft.Synapse/workspaces/silahuhilotestworkspace\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"silahuhilotestworkspace\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"afabe409-5e61-4260-af71-3211c7aa0fd1\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsilahuhilotest2%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsilahuhilotestworkspace\",\r\n \"sql\": \"silahuhilotestworkspace.sql.azuresynapse.net\",\r\n \"dev\": \"https://silahuhilotestworkspace.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"silahuhilotestworkspace-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"silahuhilotest2\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapse-cliadfuw/providers/Microsoft.Synapse/workspaces/clitestvrg5tl4me\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"clitestvrg5tl4me\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"c4ce8348-9586-4ee3-b8d6-c337c59150ba\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapse-cliadfuw%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fclitestvrg5tl4me\",\r\n \"sql\": \"clitestvrg5tl4me.sql.azuresynapse.net\",\r\n \"dev\": \"https://clitestvrg5tl4me.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"clitestvrg5tl4me-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapse-cliadfuw\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapse-clicqdm2/providers/Microsoft.Synapse/workspaces/clitestbttui2gy6\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"clitestbttui2gy6\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"df1cc1fd-f085-4164-b54e-b7c876b1fd4d\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fsynapse-clicqdm2%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fclitestbttui2gy6\",\r\n \"sql\": \"clitestbttui2gy6.sql.azuresynapse.net\",\r\n \"dev\": \"https://clitestbttui2gy6.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"clitestbttui2gy6-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapse-clicqdm2\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/yifso-workspace/providers/Microsoft.Synapse/workspaces/yifso0610vnet\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"yifso0610vnet\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"6f1dabe6-d63b-4db0-b0b8-de53b988db7f\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fyifso-workspace%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fyifso0610vnet\",\r\n \"sql\": \"yifso0610vnet.sql.azuresynapse.net\",\r\n \"dev\": \"https://yifso0610vnet.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"yifso0610vnet-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"yifso-workspace\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/zzy-test-rg/providers/Microsoft.Synapse/workspaces/testcliworkspace123\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"testcliworkspace123\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"74d467e9-5461-4fbc-8b84-7f8b82009dea\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fzzy-test-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2ftestcliworkspace123\",\r\n \"sql\": \"testcliworkspace123.sql.azuresynapse.net\",\r\n \"dev\": \"https://testcliworkspace123.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"testcliworkspace123-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"zzy-test-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/zzy-test-rg/providers/Microsoft.Synapse/workspaces/dongwwa6810\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"dongwwa6810\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"2ee9ab41-a86b-4193-a5f8-746df871d0fc\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fzzy-test-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fdongwwa6810\",\r\n \"sql\": \"dongwwa6810.sql.azuresynapse.net\",\r\n \"dev\": \"https://dongwwa6810.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"dongwwa6810-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"zzy-test-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/zzy-test-rg/providers/Microsoft.Synapse/workspaces/fromcliwithstorageresourceid\",\r\n \"location\": \"northeurope\",\r\n \"name\": \"fromcliwithstorageresourceid\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"238b1d30-d2a4-4930-af12-19e5a3a54862\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fzzy-test-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2ffromcliwithstorageresourceid\",\r\n \"sql\": \"fromcliwithstorageresourceid.sql.azuresynapse.net\",\r\n \"dev\": \"https://fromcliwithstorageresourceid.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"fromcliwithstorageresourceid-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"zzy-test-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/Dansynapse/providers/Microsoft.Synapse/workspaces/dansynapse20200212\",\r\n \"location\": \"westeurope\",\r\n \"name\": \"dansynapse20200212\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"2b1dbd69-efd3-42ac-be3f-c6c0b38d56ae\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fDansynapse%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fdansynapse20200212\",\r\n \"sql\": \"dansynapse20200212.sql.azuresynapse.net\",\r\n \"dev\": \"https://dansynapse20200212.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"dansynapse20200212-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"Dansynapse\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/fengqi-synapse-rg/providers/Microsoft.Synapse/workspaces/fengqi0507weeu\",\r\n \"location\": \"westeurope\",\r\n \"name\": \"fengqi0507weeu\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"18e6e06b-0bf0-4696-a1f9-56d6fd1387dc\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2ffengqi-synapse-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2ffengqi0507weeu\",\r\n \"sql\": \"fengqi0507weeu.sql.azuresynapse.net\",\r\n \"dev\": \"https://fengqi0507weeu.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"fengqi0507weeu-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"fengqi-synapse-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/pierosynapse/providers/Microsoft.Synapse/workspaces/testemirates\",\r\n \"location\": \"westeurope\",\r\n \"name\": \"testemirates\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"a4b12147-a465-4ac9-ba66-2d33fb7d9d6c\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fpierosynapse%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2ftestemirates\",\r\n \"sql\": \"testemirates.sql.azuresynapse.net\",\r\n \"dev\": \"https://testemirates.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"testemirates-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"pierosynapse\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/yifso-workspace/providers/Microsoft.Synapse/workspaces/yifso0409weu\",\r\n \"location\": \"westeurope\",\r\n \"name\": \"yifso0409weu\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"208f38c9-e8e8-47a3-8ccd-36999051e2e0\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fyifso-workspace%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fyifso0409weu\",\r\n \"sql\": \"yifso0409weu.sql.azuresynapse.net\",\r\n \"dev\": \"https://yifso0409weu.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"yifso0409weu-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"yifso-workspace\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/HMSaaS/providers/Microsoft.Synapse/workspaces/hmsaasvnettesting\",\r\n \"location\": \"eastus2\",\r\n \"name\": \"hmsaasvnettesting\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"0ab90e1f-ffee-402f-80ad-135a66081dcd\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fHMSaaS%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fhmsaasvnettesting\",\r\n \"sql\": \"hmsaasvnettesting.sql.azuresynapse.net\",\r\n \"dev\": \"https://hmsaasvnettesting.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"hmsaasvnettesting-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"HMSaaS\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/madhu-0605rg/providers/Microsoft.Synapse/workspaces/mrebbwssparktest0605\",\r\n \"location\": \"eastus2\",\r\n \"name\": \"mrebbwssparktest0605\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"78230af7-9da6-462f-85ca-e9ed227ab2e3\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fmadhu-0605rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbwssparktest0605\",\r\n \"sql\": \"mrebbwssparktest0605.sql.azuresynapse.net\",\r\n \"dev\": \"https://mrebbwssparktest0605.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbwssparktest0605-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"madhu-0605rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/rufanSynapseRG1/providers/Microsoft.Synapse/workspaces/rufanworkspace0709\",\r\n \"location\": \"eastus2\",\r\n \"name\": \"rufanworkspace0709\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"0af1f54f-d172-430d-94a0-9059717d7ab3\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2frufanSynapseRG1%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2frufanworkspace0709\",\r\n \"sql\": \"rufanworkspace0709.sql.azuresynapse.net\",\r\n \"dev\": \"https://rufanworkspace0709.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"rufanworkspace0709-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"rufanSynapseRG1\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/ywtest/providers/Microsoft.Synapse/workspaces/roletestspace\",\r\n \"location\": \"eastus2\",\r\n \"name\": \"roletestspace\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"39445276-c45e-4772-be7e-91ce6f9170fe\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fywtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2froletestspace\",\r\n \"sql\": \"roletestspace.sql.azuresynapse.net\",\r\n \"dev\": \"https://roletestspace.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"roletestspace-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ywtest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/ywtest/providers/Microsoft.Synapse/workspaces/testspace\",\r\n \"location\": \"eastus2\",\r\n \"name\": \"testspace\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"a8e53278-97e0-4fbb-80b1-d81d4243e6e2\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fywtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2ftestspace\",\r\n \"sql\": \"testspace.sql.azuresynapse.net\",\r\n \"dev\": \"https://testspace.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"testspace-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ywtest\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/catestAWTeus/providers/Microsoft.Synapse/workspaces/lanjun0421\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"lanjun0421\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fcatestAWTeus%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2flanjun0421\",\r\n \"sql\": \"lanjun0421.sql.azuresynapse.net\",\r\n \"dev\": \"https://lanjun0421.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"lanjun0421-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"catestAWTeus\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"DeleteError\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/catestrgsynapse/providers/Microsoft.Synapse/workspaces/lanjuntest\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"lanjuntest\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"4de69469-c898-4083-84ed-177189badfd0\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fcatestrgsynapse%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2flanjuntest\",\r\n \"sql\": \"lanjuntest.sql.azuresynapse.net\",\r\n \"dev\": \"https://lanjuntest.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"lanjuntest-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"catestrgsynapse\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Failed\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/ltian-eaup-rg/providers/Microsoft.Synapse/workspaces/ltianeuapstudio0319\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"ltianeuapstudio0319\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"e791d7cc-477c-4f92-8645-a1b335693d5f\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fltian-eaup-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fltianeuapstudio0319\",\r\n \"sql\": \"ltianeuapstudio0319.sql.azuresynapse.net\",\r\n \"dev\": \"https://ltianeuapstudio0319.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ltianeuapstudio0319-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ltian-eaup-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Failed\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/zhwe-eus2-euap-synapse/providers/Microsoft.Synapse/workspaces/zhwe4synapse2testspkmon8euap\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"zhwe4synapse2testspkmon8euap\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"bcd469d4-65ce-4812-af5d-526ac9cdc766\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f8bca72e0-8f5e-4c77-9acc-b45609999bc2%2fresourceGroups%2fzhwe-eus2-euap-synapse%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fzhwe4synapse2testspkmon8euap\",\r\n \"sql\": \"zhwe4synapse2testspkmon8euap.sql.azuresynapse.net\",\r\n \"dev\": \"https://zhwe4synapse2testspkmon8euap.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"zhwe4synapse2testspkmon8euap-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"zhwe-eus2-euap-synapse\",\r\n \"privateEndpointConnections\": [],\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/bigdataqa/providers/Microsoft.Synapse/workspaces/gbsoutheastasiaws\",\r\n \"location\": \"southeastasia\",\r\n \"name\": \"gbsoutheastasiaws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"60695bfd-0f83-4fb3-b72f-43d13adffe87\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fbigdataqa%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fgbsoutheastasiaws\",\r\n \"dev\": \"https://gbsoutheastasiaws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"gbsoutheastasiaws-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"gbsoutheastasiaws.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-08c5959d-060c-4d0e-ab89-039ab5ae0807\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"a5255692-1234-49e9-8292-039801fcf432\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-move-rg/providers/Microsoft.Synapse/workspaces/anvangcssdb\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"anvangcssdb\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"13f200b3-fb8d-4bf2-a682-f276e1fef211\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fammishra-wslite-move-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvangcssdb\",\r\n \"dev\": \"https://anvangcssdb.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvangcssdb-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ammishra-wslite-move-rg\",\r\n \"sqlAdministratorLogin\": \"anvang\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"e752da88-fd4b-464d-95ff-328b4e567dbd\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-rg/providers/Microsoft.Synapse/workspaces/ammishra-wcus\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"ammishra-wcus\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"fc2853c2-0da4-4ba0-9a6b-d7576581cabb\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fammishra-wslite-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fammishra-wcus\",\r\n \"dev\": \"https://ammishra-wcus.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ammishra-wcus-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ammishra-wslite-rg\",\r\n \"sqlAdministratorLogin\": \"amitmishra\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"e042788d-20f0-4db3-9bd7-c2412cba9d13\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/amsrg/providers/Microsoft.Synapse/workspaces/amsgen3wcus\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"amsgen3wcus\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"d5916582-445c-4383-ad60-d717efcc4519\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2famsrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2famsgen3wcus\",\r\n \"dev\": \"https://amsgen3wcus.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"amsgen3wcus-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"amsgen3wcus.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-d8219910-8c21-46dc-bba2-0d3d62545569\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"24dbc9e4-78b8-447c-8912-84178e5fc5d4\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/anvangcsstraining2/providers/Microsoft.Synapse/workspaces/anvangccs2server\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"anvangccs2server\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"6b46314d-9cd5-49e0-9119-6366c75c42c4\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fanvangcsstraining2%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvangccs2server\",\r\n \"dev\": \"https://anvangccs2server.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvangccs2server-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"anvangcsstraining2\",\r\n \"sqlAdministratorLogin\": \"Anvang\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"23c4ed59-2150-4d64-859f-4bb174bb73fb\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/anvangrestore/providers/Microsoft.Synapse/workspaces/anvangrestore\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"anvangrestore\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"6b685b3a-be68-47ad-8e94-e8e8577b2372\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fanvangrestore%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvangrestore\",\r\n \"dev\": \"https://anvangrestore.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvangrestore-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"anvangrestore.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-dca10845-dbdd-4825-b95a-358c0ffd2901\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"8bbf8092-62cd-4b8b-bf63-c788e16153ab\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/fielddemos/providers/Microsoft.Synapse/workspaces/workspacefielddemos06\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"workspacefielddemos06\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"8620d60b-c37e-48c3-94c7-82a3401f3165\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2ffielddemos%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspacefielddemos06\",\r\n \"dev\": \"https://workspacefielddemos06.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspacefielddemos06-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"fielddemos\",\r\n \"sqlAdministratorLogin\": \"Anvang\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"e2f5b276-3f78-42a6-943a-ab55031de639\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/fielddemos/providers/Microsoft.Synapse/workspaces/workspacefielddemos\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"workspacefielddemos\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"da979a13-2bf1-43f1-8a35-88687054142a\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2ffielddemos%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspacefielddemos\",\r\n \"dev\": \"https://workspacefielddemos.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspacefielddemos-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"fielddemos\",\r\n \"sqlAdministratorLogin\": \"Anvang\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"7e05336d-df67-40fc-8b42-aba106bb5359\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/gyytest/providers/Microsoft.Synapse/workspaces/gyywcus\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"gyywcus\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"4d2631ab-d078-43bb-a306-897bae8aafaf\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fgyytest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fgyywcus\",\r\n \"dev\": \"https://gyywcus.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"gyywcus-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"gyywcus.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-c5476b62-308a-40fb-840e-0706558c529e\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"74ed3560-844a-4ee8-ab2c-6f1ce6fcbf39\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/kjo-lite-test/providers/Microsoft.Synapse/workspaces/sqldisconnectedtest\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"sqldisconnectedtest\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"dc0def3e-0862-4150-be20-22a9831d3ed9\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fkjo-lite-test%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsqldisconnectedtest\",\r\n \"dev\": \"https://sqldisconnectedtest.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"sqldisconnectedtest-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"kjo-lite-test\",\r\n \"sqlAdministratorLogin\": \"testadmin\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"eac49874-5108-4c55-b2e9-f2226405855b\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ltianrg/providers/Microsoft.Synapse/workspaces/ltianwestceusws\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"ltianwestceusws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"f65f2d56-d2c8-4901-9e0f-5b2ae5358cc8\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fltianrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fltianwestceusws\",\r\n \"dev\": \"https://ltianwestceusws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ltianwestceusws-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"ltianwestceusws.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-76adb6e7-353e-4e19-b405-761af444ea18\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"443bbfe2-f586-4c18-b02e-61628ec3e8c3\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"managedVirtualNetworkSettings\": {\r\n \"preventDataExfiltration\": false\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/mrebbrg/providers/Microsoft.Synapse/workspaces/mrebbserverdisconnecttest\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"mrebbserverdisconnecttest\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"c0faf53a-31b0-4cba-b33b-3faa0c69b876\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmrebbrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbserverdisconnecttest\",\r\n \"dev\": \"https://mrebbserverdisconnecttest.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbserverdisconnecttest-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"mrebbrg\",\r\n \"sqlAdministratorLogin\": \"mrebb\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"0e369368-a71b-4612-babc-062c3194a89a\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Disconnected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/sql-bk-cmdlet-test-rgps2503/providers/Microsoft.Synapse/workspaces/sqlbkwsps2503\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"sqlbkwsps2503\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"9f4ee000-a828-4978-a4f9-14a3e6d2c5d6\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsql-bk-cmdlet-test-rgps2503%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsqlbkwsps2503\",\r\n \"dev\": \"https://sqlbkwsps2503.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"sqlbkwsps2503-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"sqlbkwsps2503.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-51d5265a-5c21-4deb-9c79-0b2719c30d14\",\r\n \"sqlAdministratorLogin\": \"testlogin\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"1b28611a-dada-4911-a42c-bab1772c533a\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/sqlgens-rg-westcentralus/providers/Microsoft.Synapse/workspaces/sqlv3wcus\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"sqlv3wcus\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"77119be3-0d40-4b58-a06f-f8e07100148b\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsqlgens-rg-westcentralus%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsqlv3wcus\",\r\n \"dev\": \"https://sqlv3wcus.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"sqlv3wcus-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"sqlv3wcus.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-3a7c5fdb-61e5-4167-a89b-0f65a2c6819b\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"ad529e96-8aa1-4db4-92f6-d18138113ec0\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/sql-va-cmdlet-test-rgps2008/providers/Microsoft.Synapse/workspaces/sqlvawsps2008\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"sqlvawsps2008\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"795661b3-8634-4469-9c9a-26acb0afe42b\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsql-va-cmdlet-test-rgps2008%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsqlvawsps2008\",\r\n \"dev\": \"https://sqlvawsps2008.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"sqlvawsps2008-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"sqlvawsps2008.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-714ef042-cb9e-4bd4-b484-458f2ac8a7fa\",\r\n \"sqlAdministratorLogin\": \"testlogin\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"f5bdbe71-388b-4626-917a-06b9527acdd8\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ws-cmdlet-test-rgps2345/providers/Microsoft.Synapse/workspaces/wsps2345\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"wsps2345\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"6a3faa90-980c-4259-8a3f-0a11d04ebf9f\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fws-cmdlet-test-rgps2345%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fwsps2345\",\r\n \"dev\": \"https://wsps2345.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"wsps2345-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"wsps2345.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-157f0133-c267-455e-98e7-2dab6acc7956\",\r\n \"sqlAdministratorLogin\": \"testlogin\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"aff80138-7233-4114-aa59-f0f045449d6e\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": true,\r\n \"cmk\": {\r\n \"status\": \"Consistent\",\r\n \"key\": {\r\n \"name\": \"f572086e-1fb9-4ffd-8d52-c3de2cb44250\",\r\n \"keyVaultUrl\": \"https://wskvps2345.vault.azure.net/keys/wskeyps23452\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/anvangknowledgehour\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"anvangknowledgehour\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"5107a0a7-c34f-4684-944d-48efef332e67\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvangknowledgehour\",\r\n \"dev\": \"https://anvangknowledgehour.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvangknowledgehour-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"anvang\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"9fb8b778-9b09-4b44-af9d-6678db9f38a1\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/anvangknowledgehour2\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"anvangknowledgehour2\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvangknowledgehour2\",\r\n \"dev\": \"https://anvangknowledgehour2.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvangknowledgehour2-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"8d6bc29b-6a82-4ef4-8a43-5fc2e194d989\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"DeleteError\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/anvangcssdemo\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"anvangcssdemo\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"e0e42339-ebaa-4fdd-a040-23ea1930a58d\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvangcssdemo\",\r\n \"dev\": \"https://anvangcssdemo.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvangcssdemo-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"anvang\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"5b3330b8-88f6-4522-86e8-2d11c6dce66f\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteCSSTraining/providers/Microsoft.Synapse/workspaces/anvangwscsstraining\",\r\n \"location\": \"westcentralus\",\r\n \"name\": \"anvangwscsstraining\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"eb2239c1-e786-4f6a-9007-3658d476bd9a\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteCSSTraining%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvangwscsstraining\",\r\n \"dev\": \"https://anvangwscsstraining.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvangwscsstraining-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteCSSTraining\",\r\n \"sqlAdministratorLogin\": \"anvang\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"6f7a8cf7-cf30-4db1-ba9c-1212e04e13dd\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-rg/providers/Microsoft.Synapse/workspaces/workspacelite\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspacelite\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"4e832241-c414-4283-aa43-b82fcba344ff\"\r\n },\r\n \"tags\": {\r\n \"purpose\": \"for ws lite\",\r\n \"in\": \"prod east us2 euap\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fammishra-wslite-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspacelite\",\r\n \"dev\": \"https://workspacelite.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspacelite-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ammishra-wslite-rg\",\r\n \"sqlAdministratorLogin\": \"amitmishra\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"29a09ea3-d752-4089-a824-9816332a5cfa\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-rg/providers/Microsoft.Synapse/workspaces/workspace-lite-portal-int\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspace-lite-portal-int\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"57ac4917-de90-4ef8-b224-4ee7d36dc5ab\"\r\n },\r\n \"tags\": {\r\n \"test\": \"for ws lite\"\r\n },\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fammishra-wslite-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspace-lite-portal-int\",\r\n \"dev\": \"https://workspace-lite-portal-int.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspace-lite-portal-int-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ammishra-wslite-rg\",\r\n \"sqlAdministratorLogin\": \"amitmishra\",\r\n \"privateEndpointConnections\": [\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-rg/providers/Microsoft.Synapse/workspaces/workspace-lite-portal-int/privateEndpointConnections/workspace-lite-portal-int.synapse-ws-sqlOnDemand--workspace-lite-portal-int-37ac96e0-ceed-442e-8662-1b8d4483226d\",\r\n \"properties\": {\r\n \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/bd69ccb3-79ce-4be5-a1b0-b31f8d658c46/resourceGroups/vnet-bd69ccb3-eastus2euap-68-rg/providers/Microsoft.Network/privateEndpoints/workspace-lite-portal-int.synapse-ws-sqlOnDemand--workspace-lite-portal-int\"\r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"Approved by Microsoft.Synapse Resource Provider\"\r\n }\r\n }\r\n }\r\n ],\r\n \"workspaceUID\": \"11298e3d-770b-4f6e-8d9f-1958d704eae8\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"managedVirtualNetworkSettings\": {\r\n \"preventDataExfiltration\": false\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-rg/providers/Microsoft.Synapse/workspaces/anvangcompute\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"anvangcompute\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fammishra-wslite-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvangcompute\",\r\n \"dev\": \"https://anvangcompute.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvangcompute-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ammishra-wslite-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"04b4a2e9-10c0-4de7-9667-38ad98234a25\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-rg/providers/Microsoft.Synapse/workspaces/anvang-testing-managed-vnet-for-bugbash-today-wedn\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"anvang-testing-managed-vnet-for-bugbash-today-wedn\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fammishra-wslite-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvang-testing-managed-vnet-for-bugbash-today-wedn\",\r\n \"dev\": \"https://anvang-testing-managed-vnet-for-bugbash-today-wedn.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvang-testing-managed-vnet-for-bugbash-today-wedn-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ammishra-wslite-rg\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"d172c1f7-e32d-43ea-a402-83a83c8c6ab4\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"managedVirtualNetworkSettings\": {\r\n \"preventDataExfiltration\": false\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-rg/providers/Microsoft.Synapse/workspaces/rajan-poolwslite\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"rajan-poolwslite\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"7b5b4831-2d64-4349-88e0-dfec40ca3d9a\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fammishra-wslite-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2frajan-poolwslite\",\r\n \"dev\": \"https://rajan-poolwslite.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"rajan-poolwslite-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ammishra-wslite-rg\",\r\n \"sqlAdministratorLogin\": \"rajanve\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"8d68d6ce-0edb-4f57-ba7b-33a36c2b1f59\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-rg/providers/Microsoft.Synapse/workspaces/shrechodisconnected\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"shrechodisconnected\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"076f6e15-4eee-4074-915f-4f5a6bd4362d\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fammishra-wslite-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fshrechodisconnected\",\r\n \"dev\": \"https://shrechodisconnected.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"shrechodisconnected-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ammishra-wslite-rg\",\r\n \"sqlAdministratorLogin\": \"shrecho\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"9b95c452-bc78-47ab-8375-f531a6afb3e5\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Disconnected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ammishra-wslite-rg/providers/Microsoft.Synapse/workspaces/ammishra-dataexfil-bugbash\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"ammishra-dataexfil-bugbash\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"25e97ec7-750f-4031-a9d0-e4277d92bc9c\"\r\n },\r\n \"tags\": {\r\n \"for\": \"wslite + data exfilteration\"\r\n },\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fammishra-wslite-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fammishra-dataexfil-bugbash\",\r\n \"dev\": \"https://ammishra-dataexfil-bugbash.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ammishra-dataexfil-bugbash-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"ammishra-wslite-rg\",\r\n \"sqlAdministratorLogin\": \"amitmishra\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"0b0369ff-b1de-4dcb-bc76-ec57b110f1e3\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"managedVirtualNetworkSettings\": {\r\n \"preventDataExfiltration\": true,\r\n \"allowedAadTenantIdsForLinking\": [\r\n \"2d89ee00-0440-46ed-8f09-68e286bcb9b2\"\r\n ]\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/Anvangcsa/providers/Microsoft.Synapse/workspaces/anvangfirstrun\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"anvangfirstrun\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fAnvangcsa%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fanvangfirstrun\",\r\n \"dev\": \"https://anvangfirstrun.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"anvangfirstrun-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"Anvangcsa\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"2fe79285-b5c9-42f2-b38b-59545c4810aa\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/biscotti/providers/Microsoft.Synapse/workspaces/yuljinsynapse\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"yuljinsynapse\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"30ea3564-1e8f-46aa-95fd-e97d28b5e4f8\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fbiscotti%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fyuljinsynapse\",\r\n \"dev\": \"https://yuljinsynapse.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"yuljinsynapse-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"yuljinsynapse.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-adee2686-8492-491c-a7e2-2e719661d973\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"d109170f-bf15-4c84-b3c0-6d8428cd40e5\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/catestAWTeus/providers/Microsoft.Synapse/workspaces/lanjun0421\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"lanjun0421\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fcatestAWTeus%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2flanjun0421\",\r\n \"dev\": \"https://lanjun0421.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"lanjun0421-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"lanjun0421.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-9301955d-9b51-47a6-a1a9-1ff259e6834f\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"f15c456d-46a7-469c-a3e3-398c752399fa\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"DeleteError\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/chayang-test-rg/providers/Microsoft.Synapse/workspaces/zeshi0119test\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"zeshi0119test\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"6e1c4289-38f4-4f1f-a6f6-8a22e4cd89d8\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fchayang-test-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fzeshi0119test\",\r\n \"dev\": \"https://zeshi0119test.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"zeshi0119test-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"zeshi0119test.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-79e0720c-2b49-49c3-8335-307ae1782de7\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"9a716a29-cf65-4070-a718-93ed98c36d02\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/chayang-test-rg/providers/Microsoft.Synapse/workspaces/res1106test\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"res1106test\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"653d4b08-5d0e-4737-9566-7923ca798ea4\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fchayang-test-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fres1106test\",\r\n \"dev\": \"https://res1106test.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"res1106test-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"res1106test.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-be1c0b89-0aba-4bfb-b869-6f0c26e27479\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"288218cd-db96-4cdf-ad4a-69278ff8b0bb\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/chayang-test-rg/providers/Microsoft.Synapse/workspaces/zes1104test\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"zes1104test\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"aef87a34-eaff-4a62-8b9b-798eb6362ffe\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fchayang-test-rg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fzes1104test\",\r\n \"dev\": \"https://zes1104test.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"zes1104test-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"zes1104test.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-bfedc99e-b70c-42bc-93b7-9467b02e0a82\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"cb45cd88-cff2-46df-ab6f-c6523363e435\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/gyytest/providers/Microsoft.Synapse/workspaces/gyyeast2euapws\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"gyyeast2euapws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"8d15b77a-3857-43e4-bfdc-5ec14497e38b\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fgyytest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fgyyeast2euapws\",\r\n \"dev\": \"https://gyyeast2euapws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"gyyeast2euapws-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"gyyeast2euapws.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-7bb9aa34-ba22-47ba-945d-4cfca4ebbd07\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"e71cf187-2911-4662-b173-6e4a532a3a70\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/kjo-lite-test/providers/Microsoft.Synapse/workspaces/cmkworkspace3\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"cmkworkspace3\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"cc8c7be7-98e1-456d-bf61-83e13bde9c65\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fkjo-lite-test%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fcmkworkspace3\",\r\n \"dev\": \"https://cmkworkspace3.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"cmkworkspace3-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"cmkworkspace3.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-df4a924d-e739-4a5a-a7b7-3526c2f62e07\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"fb488ff6-23bf-4691-818b-dd21b50304ee\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": true,\r\n \"cmk\": {\r\n \"status\": \"Consistent\",\r\n \"key\": {\r\n \"name\": \"default\",\r\n \"keyVaultUrl\": \"https://eastuseuap2keyvault.vault.azure.net/keys/keyone\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/madhu-rg-1012/providers/Microsoft.Synapse/workspaces/mrebbsqlserver1012\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebbsqlserver1012\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"2d8c5e1e-974b-4bd4-ab99-9623498bc38d\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmadhu-rg-1012%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbsqlserver1012\",\r\n \"dev\": \"https://mrebbsqlserver1012.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbsqlserver1012-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"madhu-rg-1012\",\r\n \"sqlAdministratorLogin\": \"mrebb\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"7c67846b-bd21-4d04-b25b-cfd91bc7819c\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/madhu-rg-1012/providers/Microsoft.Synapse/workspaces/testworkspacelite\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"testworkspacelite\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"a7a70047-5519-4d2b-8142-a731327fe589\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmadhu-rg-1012%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2ftestworkspacelite\",\r\n \"dev\": \"https://testworkspacelite.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"testworkspacelite-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"madhu-rg-1012\",\r\n \"sqlAdministratorLogin\": \"kjo1989\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"0d0bf8ca-b7c0-49db-9299-24f686497b25\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/madhu-rg-1012/providers/Microsoft.Synapse/workspaces/mrebbcmk1105\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebbcmk1105\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"f1f380d4-77a8-459c-98d7-b5f437efd7b4\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmadhu-rg-1012%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbcmk1105\",\r\n \"dev\": \"https://mrebbcmk1105.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbcmk1105-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"mrebbcmk1105.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-0eeb1252-d48e-4387-8a91-69a8da6301e2\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"68d11605-9631-42f9-a9e2-87c190d99434\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": true,\r\n \"cmk\": {\r\n \"status\": \"Inconsistent\",\r\n \"key\": {\r\n \"name\": \"47f9fac2-c722-4307-8acd-ce87e5492006\",\r\n \"keyVaultUrl\": \"https://mrebbkv1106.vault.azure.net/keys/key1\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/madhu-rg-1012/providers/Microsoft.Synapse/workspaces/mrebbwscmk11066pm\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebbwscmk11066pm\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"02b03f2a-c4c8-4f9c-84cf-9f892d7daf96\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmadhu-rg-1012%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbwscmk11066pm\",\r\n \"dev\": \"https://mrebbwscmk11066pm.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbwscmk11066pm-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"mrebbwscmk11066pm.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-3b31e380-81a7-4273-b490-4568eef1d139\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"4ddada80-ac7f-4ecf-8a21-c6d5c7b37cbc\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": true,\r\n \"cmk\": {\r\n \"status\": \"Consistent\",\r\n \"key\": {\r\n \"name\": \"default\",\r\n \"keyVaultUrl\": \"https://mrebbkv1106.vault.azure.net/keys/key1\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/madhu-rg-1012/providers/Microsoft.Synapse/workspaces/mrebbws1029cmkbugbash\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebbws1029cmkbugbash\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"a916d1f6-17a0-4e5c-b9d8-05b87be2c501\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmadhu-rg-1012%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbws1029cmkbugbash\",\r\n \"dev\": \"https://mrebbws1029cmkbugbash.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbws1029cmkbugbash-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"mrebbws1029cmkbugbash.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-5902ec5d-f7db-4511-a7fd-ff6a23bd6a19\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"c77ae2f2-6377-4929-9254-4b480c464080\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": true,\r\n \"cmk\": {\r\n \"status\": \"Consistent\",\r\n \"key\": {\r\n \"name\": \"9dadc8fe-a2df-4f94-9b27-b0a540f51033\",\r\n \"keyVaultUrl\": \"https://mrebbeastuseuap.vault.azure.net/keys/mrebbeastus2key\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/madhu-rg-1012/providers/Microsoft.Synapse/workspaces/mrebbcmktenant\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebbcmktenant\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"37b2e838-6c40-4809-b642-8744ea71c6e4\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmadhu-rg-1012%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbcmktenant\",\r\n \"dev\": \"https://mrebbcmktenant.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbcmktenant-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"mrebbcmktenant.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-925886e7-89c6-4bab-a8e3-414917f1a1fe\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"ad72bf9b-a6cf-4194-816d-bdbc9c658204\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"managedVirtualNetworkSettings\": {\r\n \"preventDataExfiltration\": true,\r\n \"allowedAadTenantIdsForLinking\": [\r\n \"6342b4f2-6686-40f2-9440-bc3824d4caae\"\r\n ]\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": true,\r\n \"cmk\": {\r\n \"status\": \"AwaitingUserAction\",\r\n \"key\": {\r\n \"name\": \"default\",\r\n \"keyVaultUrl\": \"https://mrebbeastuseuap.vault.azure.net/keys/mrebbeastus2key\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Failed\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/madhu-rg-1012/providers/Microsoft.Synapse/workspaces/mrebbwscmk1110purgetest\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebbwscmk1110purgetest\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"79b17880-cade-440a-9d5e-29757b5a6e82\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmadhu-rg-1012%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbwscmk1110purgetest\",\r\n \"dev\": \"https://mrebbwscmk1110purgetest.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbwscmk1110purgetest-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"mrebbwscmk1110purgetest.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-9c8b57ed-224a-403f-a4dc-6480bf78b560\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"b8cd1c59-4dfc-40fa-88fe-144ea1826c21\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": true,\r\n \"cmk\": {\r\n \"status\": \"Consistent\",\r\n \"key\": {\r\n \"name\": \"default\",\r\n \"keyVaultUrl\": \"https://mrebbkv1110.vault.azure.net/keys/mrebbkey1\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/mandywtest/providers/Microsoft.Synapse/workspaces/mandyweuap\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mandyweuap\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"7a76ea23-6d98-4bc5-963f-9165b48efd2e\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmandywtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmandyweuap\",\r\n \"dev\": \"https://mandyweuap.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mandyweuap-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"mandyweuap.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-53d5bc63-a4d6-48b0-b852-b222bbe65f59\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"46452a0e-dbbe-4c6f-ad4a-409b5a910d96\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/mrebbrg/providers/Microsoft.Synapse/workspaces/mrebb-sql-server1026\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebb-sql-server1026\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"9771556c-72da-468f-ad01-7722a15dd97b\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmrebbrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebb-sql-server1026\",\r\n \"dev\": \"https://mrebb-sql-server1026.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebb-sql-server1026-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"mrebbrg\",\r\n \"sqlAdministratorLogin\": \"mrebb\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"4f19b917-9f11-417d-ae7a-2d54036f9934\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Disconnected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/mrebbrg/providers/Microsoft.Synapse/workspaces/mrebbwscmkeastus2euap\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebbwscmkeastus2euap\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"5e63e803-3610-4cd3-a7f6-8974dab4a718\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmrebbrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbwscmkeastus2euap\",\r\n \"dev\": \"https://mrebbwscmkeastus2euap.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbwscmkeastus2euap-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"mrebbwscmkeastus2euap.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-34d9dbeb-2117-461f-9d16-c7f6f58f732e\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"feac989f-c73b-4625-8c07-35c569161762\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": true,\r\n \"cmk\": {\r\n \"status\": \"Consistent\",\r\n \"key\": {\r\n \"name\": \"default\",\r\n \"keyVaultUrl\": \"https://mrebbkv1106.vault.azure.net/keys/key1\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/mrebbrg/providers/Microsoft.Synapse/workspaces/mrebbwscmk1121\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebbwscmk1121\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"2febc49a-fd35-4e37-b6fc-7523fa9b2dbc\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmrebbrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbwscmk1121\",\r\n \"dev\": \"https://mrebbwscmk1121.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbwscmk1121-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"mrebbwscmk1121.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-3e51647c-b8ad-4321-b0b1-40a4380e49dc\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"205e21b6-79af-41f1-a697-9891f1b947ff\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": true,\r\n \"cmk\": {\r\n \"status\": \"Consistent\",\r\n \"key\": {\r\n \"name\": \"4eef49e5-5f6e-41f1-aa68-79421dd3d00e\",\r\n \"keyVaultUrl\": \"https://mrebbkv1110.vault.azure.net/keys/mrebbkey1\"\r\n }\r\n }\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/mrebbrg/providers/Microsoft.Synapse/workspaces/mrebbws1122021\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"mrebbws1122021\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"ba4f0fcd-6de3-4e68-82d2-5c2221670b83\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fmrebbrg%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fmrebbws1122021\",\r\n \"dev\": \"https://mrebbws1122021.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"mrebbws1122021-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"mrebbws1122021.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-c71a4919-24d5-4e47-84f5-4414abdc46a5\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"01d8d0eb-da95-499c-8c2d-e2d1ae70f6f4\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Failed\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/pierosynapse/providers/Microsoft.Synapse/workspaces/wslitepieroserver\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"wslitepieroserver\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"31115a47-dd5d-4096-a469-e1d828b33235\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fpierosynapse%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fwslitepieroserver\",\r\n \"dev\": \"https://wslitepieroserver.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"wslitepieroserver-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"pierosynapse\",\r\n \"sqlAdministratorLogin\": \"wslitepieroserver\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"54977627-0ae5-4254-a904-97627738d287\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/shangwei-synapse-vnet/providers/Microsoft.Synapse/workspaces/shangwei-ws-vnet\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"shangwei-ws-vnet\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"b296a1db-6f7e-4c80-ad9a-f472cca44e32\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fshangwei-synapse-vnet%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fshangwei-ws-vnet\",\r\n \"dev\": \"https://shangwei-ws-vnet.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"shangwei-ws-vnet-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"shangwei-ws-vnet.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-3217e309-7518-43f4-b2c7-258659d21f20\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"2bc01258-654e-497b-bb53-670c2b111358\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"managedVirtualNetworkSettings\": {\r\n \"preventDataExfiltration\": false\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/shangwei-test-ws/providers/Microsoft.Synapse/workspaces/shangwei-test-ws\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"shangwei-test-ws\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"220c30a1-70f8-496a-9f42-98c3233d3daa\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fshangwei-test-ws%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fshangwei-test-ws\",\r\n \"dev\": \"https://shangwei-test-ws.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"shangwei-test-ws-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"shangwei-test-ws.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-3582ac13-42ee-46df-abd3-4a6833207b37\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"b3cbb05d-d1c2-4584-8f9c-5fcf1797438a\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"synapsesdkworkspace4799\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"83cad954-a826-4c78-9527-d70951f2cb86\"\r\n },\r\n \"tags\": {\r\n \"TestTag\": \"TestUpdate\"\r\n },\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fsynapsesdkrp2482%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsynapsesdkworkspace4799\",\r\n \"dev\": \"https://synapsesdkworkspace4799.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"synapsesdkworkspace4799-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"synapsesdkworkspace4799.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-ac1c7b72-a75a-4df9-adfb-dd19118f79a7\",\r\n \"sqlAdministratorLogin\": \"sshuser4462\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"50b72b92-e6b9-40a4-bd0a-eeac6f1e9971\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/workspace-lite-bugbash02\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspace-lite-bugbash02\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"e4588bbd-05c1-45a9-aa43-955d55f3a73a\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspace-lite-bugbash02\",\r\n \"dev\": \"https://workspace-lite-bugbash02.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspace-lite-bugbash02-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"WSbugbashadmin02\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"0679ed90-f5da-4fb2-b6d3-023baa370b8c\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Failed\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/workspace-lite-bugbash03\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspace-lite-bugbash03\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"8a1d0661-f94d-491d-ba26-b3c9c7480d7c\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspace-lite-bugbash03\",\r\n \"dev\": \"https://workspace-lite-bugbash03.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspace-lite-bugbash03-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"WSbugbashadmin03\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"001f8a19-e822-4fd7-9576-634e63cc95fb\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/workspace-lite-bugbash08\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspace-lite-bugbash08\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"1921f468-c376-4036-b4b5-5d3b08c30469\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspace-lite-bugbash08\",\r\n \"dev\": \"https://workspace-lite-bugbash08.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspace-lite-bugbash08-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"WSbugbashadmin08\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"e7494934-6769-4f78-8b9d-ed799f00b7f2\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/workspace-lite-bugbash04\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspace-lite-bugbash04\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"6dca6376-56f5-428c-a128-91b95524f973\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspace-lite-bugbash04\",\r\n \"dev\": \"https://workspace-lite-bugbash04.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspace-lite-bugbash04-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"WSbugbashadmin04\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"2deb75d0-ef14-408c-b9f0-c56b991f16f6\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/workspace-lite-bugbash05\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspace-lite-bugbash05\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"b3d45969-e640-4ae4-9a5f-bae6388246ba\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspace-lite-bugbash05\",\r\n \"dev\": \"https://workspace-lite-bugbash05.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspace-lite-bugbash05-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"WSbugbashadmin05\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"29c6ade1-1703-428f-a949-e1fc0fdbafbc\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/workspace-lite-bugbash06\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspace-lite-bugbash06\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"5a76392f-6b66-4db6-8e68-5198821265db\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspace-lite-bugbash06\",\r\n \"dev\": \"https://workspace-lite-bugbash06.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspace-lite-bugbash06-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"WSbugbashadmin06\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"63a65c2f-4284-4f8c-bd21-08d510d4fae3\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/workspace-lite-bugbash07\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspace-lite-bugbash07\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"fa194c45-318e-4c08-a7fd-e2b443b66e39\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspace-lite-bugbash07\",\r\n \"dev\": \"https://workspace-lite-bugbash07.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspace-lite-bugbash07-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"WSbugbashadmin07\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"ab228899-9870-41f7-b927-e1c9cf3e163a\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/saltugbugbash\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"saltugbugbash\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fsaltugbugbash\",\r\n \"dev\": \"https://saltugbugbash.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"saltugbugbash-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"8729ad00-61b5-44bb-92c8-0c34ff055b8d\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Deleting\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/wslite-anvang-studiobugbash\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"wslite-anvang-studiobugbash\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"0197d3a0-596c-4bb0-880a-8b3beafc7c7d\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fwslite-anvang-studiobugbash\",\r\n \"dev\": \"https://wslite-anvang-studiobugbash.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"wslite-anvang-studiobugbash-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"WSbugbashadmin\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"8752ef84-599b-4eec-95e3-4d139af9c997\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Connected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/WSLiteBugbashRG/providers/Microsoft.Synapse/workspaces/workspace-lite-bugbash01\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"workspace-lite-bugbash01\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"85678786-6454-426e-8398-95612bc1fe04\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fWSLiteBugbashRG%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fworkspace-lite-bugbash01\",\r\n \"dev\": \"https://workspace-lite-bugbash01.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"workspace-lite-bugbash01-ondemand.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"WSLiteBugbashRG\",\r\n \"sqlAdministratorLogin\": \"WSbugbashadmin\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"e7ccbb68-d8d4-4078-8962-558479a8e342\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Disconnected\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/yifso-workspace/providers/Microsoft.Synapse/workspaces/yifsoeus2euap\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"yifsoeus2euap\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"b3c9459f-c352-46d1-8632-5fa179b33102\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fyifso-workspace%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fyifsoeus2euap\",\r\n \"dev\": \"https://yifsoeus2euap.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"yifsoeus2euap-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"yifsoeus2euap.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-7e38249c-4ef3-4e8d-b127-3605e46b01bc\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"03810e34-6098-4847-8b4b-81f8e7af3d99\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/ywtest/providers/Microsoft.Synapse/workspaces/ywworkspaceeuap\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"ywworkspaceeuap\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"43833fd2-0740-42f3-82e5-50f2db4023cf\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fywtest%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fywworkspaceeuap\",\r\n \"dev\": \"https://ywworkspaceeuap.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"ywworkspaceeuap-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"ywworkspaceeuap.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-7051733d-27f5-4f3b-942c-38acc86dae28\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"fa7489dc-4bc1-42d8-8e8d-695f1d70117a\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/zhwe-eus2-euap-synapse/providers/Microsoft.Synapse/workspaces/zhwe0917monvnet\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"zhwe0917monvnet\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"78352330-9a36-4c2c-8961-d9efe395a005\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"managedVirtualNetwork\": \"default\",\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fzhwe-eus2-euap-synapse%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fzhwe0917monvnet\",\r\n \"dev\": \"https://zhwe0917monvnet.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"zhwe0917monvnet-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"zhwe0917monvnet.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"synapseworkspace-managedrg-a9840824-cc7c-4159-b471-83e33de05dc0\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/zhwe-eus2-euap-synapse/providers/Microsoft.Synapse/workspaces/zhwe0917monvnet/privateEndpointConnections/zhwe0917monvnet.synapse-ws-sqlOnDemand--zhwe0917monvnet-527107e9-198a-4ecd-a8da-85f8a0f94332\",\r\n \"properties\": {\r\n \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/bd69ccb3-79ce-4be5-a1b0-b31f8d658c46/resourceGroups/vnet-bd69ccb3-eastus2euap-63-rg/providers/Microsoft.Network/privateEndpoints/zhwe0917monvnet.synapse-ws-sqlOnDemand--zhwe0917monvnet\"\r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"Approved by Microsoft.Synapse Resource Provider\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/zhwe-eus2-euap-synapse/providers/Microsoft.Synapse/workspaces/zhwe0917monvnet/privateEndpointConnections/zhwe0917monvnet.synapse-ws-sql--zhwe0917monvnet-2e5a9ac2-ef94-4e87-89e2-66566ccd3f23\",\r\n \"properties\": {\r\n \"privateEndpoint\": {\r\n \"id\": \"/subscriptions/bd69ccb3-79ce-4be5-a1b0-b31f8d658c46/resourceGroups/vnet-bd69ccb3-eastus2euap-63-rg/providers/Microsoft.Network/privateEndpoints/zhwe0917monvnet.synapse-ws-sql--zhwe0917monvnet\"\r\n },\r\n \"privateLinkServiceConnectionState\": {\r\n \"status\": \"Approved\",\r\n \"description\": \"Approved by Microsoft.Synapse Resource Provider\"\r\n }\r\n }\r\n }\r\n ],\r\n \"workspaceUID\": \"1ea67461-0546-4057-94de-64373f316986\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/zhwe-eus2-euap-synapse/providers/Microsoft.Synapse/workspaces/zhwe4synapse2testspkmon8euap\",\r\n \"location\": \"eastus2euap\",\r\n \"name\": \"zhwe4synapse2testspkmon8euap\",\r\n \"type\": \"Microsoft.Synapse/workspaces\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\",\r\n \"principalId\": \"bcd469d4-65ce-4812-af5d-526ac9cdc766\"\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"connectivityEndpoints\": {\r\n \"web\": \"https://web.azuresynapse.net?workspace=%2fsubscriptions%2f225e84b5-6153-499a-8e84-e04a581ee324%2fresourceGroups%2fzhwe-eus2-euap-synapse%2fproviders%2fMicrosoft.Synapse%2fworkspaces%2fzhwe4synapse2testspkmon8euap\",\r\n \"dev\": \"https://zhwe4synapse2testspkmon8euap.dev.azuresynapse.net\",\r\n \"sqlOnDemand\": \"zhwe4synapse2testspkmon8euap-ondemand.sql.azuresynapse.net\",\r\n \"sql\": \"zhwe4synapse2testspkmon8euap.sql.azuresynapse.net\"\r\n },\r\n \"managedResourceGroupName\": \"workspacemanagedrg-d78e433b-b61f-43d3-a249-b44b7a27f606\",\r\n \"sqlAdministratorLogin\": \"sqladminuser\",\r\n \"privateEndpointConnections\": [],\r\n \"workspaceUID\": \"3fd8b422-8793-419e-b587-37e64384701c\",\r\n \"extraProperties\": {\r\n \"IsScopeEnabled\": false,\r\n \"WorkspaceType\": \"Normal\"\r\n },\r\n \"encryption\": {\r\n \"doubleEncryptionEnabled\": false\r\n },\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://eastus2euap.management.azure.com/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/providers/Microsoft.Synapse/workspaces?api-version=2020-12-01&%24skiptoken=1ZTdaoMwFMffJdeLMXbKEEYJQ2ihq8Mou4563EIxCTmx%2byh991X6Etn94fDj%2f3UhBr7DQZsTkvJC3ivZdjIjJfkMwWHJGCgMC2awKJfMyqgPmMGERP0uHpLBzgyXHgevXdDWIEtzPo4wKMphLOjj%2bNTTXhUT5dOUFxzyadNvmPP2rEfwyF714C3aKSTyxyiHwL6sP6FTA%2bBWOU3Pt6vb4%2bcszVLKM5py8kAqsVJGDnmsm3ZXdU39VkVOupr%2bL0BFJ9tGHPZiDUDkosq6a3cv1XEFjj6r90LFXvv7OEXu%2byqlkHsRNeb1%2bgc%3d\"\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799?api-version=2020-12-01", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7648f370-8570-4297-95b3-a627a9a33745" + "ad68b204-70a3-4294-b28b-60b93aff1f9c" ], "Accept-Language": [ "en-US" ], "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -807,13 +1155,13 @@ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationResults/90354160-86a9-4439-aa16-3910b3c4e9e0?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationResults/f982ec00-96c1-4990-8d38-2aabb1c02ac5?api-version=2020-12-01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/90354160-86a9-4439-aa16-3910b3c4e9e0?api-version=2019-06-01-preview" + "https://eastus2euap.management.azure.com/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/f982ec00-96c1-4990-8d38-2aabb1c02ac5?api-version=2020-12-01" ], "Access-Control-Allow-Headers": [ "Location" @@ -822,7 +1170,7 @@ "Location" ], "x-ms-request-id": [ - "451d48a8-8bb8-4f2a-a040-f9d2b66c9de7" + "318b36a4-e043-45e8-8443-8de06870d9f8" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -831,16 +1179,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "66ed6705-bc55-4a24-aaac-4cb48ce0ab85" + "dc4bcd83-2700-44cd-ab1a-7d0f46a8b82c" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T091601Z:66ed6705-bc55-4a24-aaac-4cb48ce0ab85" + "EASTUS2EUAP:20210128T121842Z:dc4bcd83-2700-44cd-ab1a-7d0f46a8b82c" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:16:01 GMT" + "Thu, 28 Jan 2021 12:18:41 GMT" ], "Expires": [ "-1" @@ -853,15 +1201,15 @@ "StatusCode": 202 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/90354160-86a9-4439-aa16-3910b3c4e9e0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/f982ec00-96c1-4990-8d38-2aabb1c02ac5?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -875,25 +1223,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "97004970-3d0d-46e2-a1ac-baf73dba09ea" + "d2c01019-dbbc-4f54-902c-97ac559a16ab" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11990" + "11982" ], "x-ms-correlation-request-id": [ - "0002ecb8-8547-45ed-b8b6-4b9d9ae4ef89" + "fe091f14-da6b-4bce-8e7b-bd77381cf151" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T091632Z:0002ecb8-8547-45ed-b8b6-4b9d9ae4ef89" + "EASTUS2EUAP:20210128T121912Z:fe091f14-da6b-4bce-8e7b-bd77381cf151" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:16:32 GMT" + "Thu, 28 Jan 2021 12:19:11 GMT" ], "Content-Length": [ "23" @@ -909,15 +1257,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/90354160-86a9-4439-aa16-3910b3c4e9e0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/f982ec00-96c1-4990-8d38-2aabb1c02ac5?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -931,25 +1279,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a8577b1e-fc3d-44ce-af9d-bb9249f3cd64" + "1875dd74-1653-409a-9f99-3ce5499ee6bc" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11989" + "11981" ], "x-ms-correlation-request-id": [ - "73f7c183-37e9-4a9b-91e1-4dd5ce0ed89f" + "b6d12ecd-f800-4e62-9e02-526f0c2b78a5" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T091702Z:73f7c183-37e9-4a9b-91e1-4dd5ce0ed89f" + "EASTUS2EUAP:20210128T121942Z:b6d12ecd-f800-4e62-9e02-526f0c2b78a5" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:17:01 GMT" + "Thu, 28 Jan 2021 12:19:42 GMT" ], "Content-Length": [ "23" @@ -965,15 +1313,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/90354160-86a9-4439-aa16-3910b3c4e9e0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/f982ec00-96c1-4990-8d38-2aabb1c02ac5?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -987,25 +1335,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "50ce1d1f-1772-485a-9cfa-f13f84a5d1ce" + "b8aa7ecf-1dcc-4a5a-8c1e-524462b6701c" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11988" + "11980" ], "x-ms-correlation-request-id": [ - "586302b4-af29-4411-af01-c194b1e9d351" + "cf4b2792-f428-4edd-80c4-fc2960dc0f74" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T091732Z:586302b4-af29-4411-af01-c194b1e9d351" + "EASTUS2EUAP:20210128T122012Z:cf4b2792-f428-4edd-80c4-fc2960dc0f74" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:17:32 GMT" + "Thu, 28 Jan 2021 12:20:12 GMT" ], "Content-Length": [ "23" @@ -1021,15 +1369,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/90354160-86a9-4439-aa16-3910b3c4e9e0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/f982ec00-96c1-4990-8d38-2aabb1c02ac5?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1043,25 +1391,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "946e36d3-f9fe-4f03-9069-b44d78f1864c" + "a7a42bdd-b191-49e6-a3ce-08927fb5b2aa" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11987" + "11979" ], "x-ms-correlation-request-id": [ - "a3e06f2e-b935-4d46-b10b-e6e184050776" + "14c4f9fd-8117-4a0e-9f67-08327dbeda61" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T091803Z:a3e06f2e-b935-4d46-b10b-e6e184050776" + "EASTUS2EUAP:20210128T122042Z:14c4f9fd-8117-4a0e-9f67-08327dbeda61" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:18:03 GMT" + "Thu, 28 Jan 2021 12:20:42 GMT" ], "Content-Length": [ "23" @@ -1077,15 +1425,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationStatuses/90354160-86a9-4439-aa16-3910b3c4e9e0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/f982ec00-96c1-4990-8d38-2aabb1c02ac5?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1099,25 +1447,81 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "37b7e49c-68df-495d-a5be-5e7c5ce28b8e" + "14d9220c-2fa1-4536-8b63-7ba7bc5b42ad" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-correlation-request-id": [ + "cbb37a46-0553-4f2c-a660-8932ce6ed340" + ], + "x-ms-routing-request-id": [ + "EASTUS2EUAP:20210128T122113Z:cbb37a46-0553-4f2c-a660-8932ce6ed340" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 28 Jan 2021 12:21:12 GMT" + ], + "Content-Length": [ + "23" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"status\": \"InProgress\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationStatuses/f982ec00-96c1-4990-8d38-2aabb1c02ac5?api-version=2020-12-01", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29518.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f4b7b1a1-8607-42c3-bf1f-3edec1538139" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11986" + "11977" ], "x-ms-correlation-request-id": [ - "6220fe44-5867-4a82-ae61-9c22062a8bc1" + "38d4771d-4f62-4372-bf34-49e6ce84b489" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T091833Z:6220fe44-5867-4a82-ae61-9c22062a8bc1" + "EASTUS2EUAP:20210128T122143Z:38d4771d-4f62-4372-bf34-49e6ce84b489" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:18:33 GMT" + "Thu, 28 Jan 2021 12:21:43 GMT" ], "Content-Length": [ "22" @@ -1133,15 +1537,15 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/8bca72e0-8f5e-4c77-9acc-b45609999bc2/resourceGroups/synapsesdkrp2915/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace8605/operationResults/90354160-86a9-4439-aa16-3910b3c4e9e0?api-version=2019-06-01-preview", + "RequestUri": "/subscriptions/225e84b5-6153-499a-8e84-e04a581ee324/resourceGroups/synapsesdkrp2482/providers/Microsoft.Synapse/workspaces/synapsesdkworkspace4799/operationResults/f982ec00-96c1-4990-8d38-2aabb1c02ac5?api-version=2020-12-01", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ - "FxVersion/4.6.28928.01", + "FxVersion/4.6.29518.01", "OSName/Windows", - "OSVersion/Microsoft.Windows.10.0.18363.", - "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.preview.1" + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Synapse.SynapseManagementClient/1.0.0.0" ] }, "ResponseHeaders": { @@ -1155,25 +1559,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ce4fe6e5-cb56-4254-b4cf-dfc3895a81fb" + "e557a24b-0a2e-457d-b27a-c1abf85725c4" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11985" + "11976" ], "x-ms-correlation-request-id": [ - "7c75b18c-7ca3-4ee8-b80a-686af604f126" + "e1ededbf-e920-4a71-a343-fd8fda9acf97" ], "x-ms-routing-request-id": [ - "JAPANWEST:20200706T091833Z:7c75b18c-7ca3-4ee8-b80a-686af604f126" + "EASTUS2EUAP:20210128T122143Z:e1ededbf-e920-4a71-a343-fd8fda9acf97" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Mon, 06 Jul 2020 09:18:33 GMT" + "Thu, 28 Jan 2021 12:21:43 GMT" ], "Expires": [ "-1" @@ -1185,20 +1589,20 @@ ], "Names": { ".ctor": [ - "synapsesdkrp2915", - "synapsesdkstorage6322", - "sshuser6955", - "Password1!7191", - "synapsesdkfilesys7106" + "synapsesdkrp2482", + "synapsesdkstorage6306", + "sshuser4462", + "Password1!8740", + "synapsesdkfilesys896" ], "TestInitialize": [ - "8bca72e0-8f5e-4c77-9acc-b45609999bc2" + "225e84b5-6153-499a-8e84-e04a581ee324" ], "TestWorkspaceLifeCycle": [ - "synapsesdkworkspace8605" + "synapsesdkworkspace4799" ] }, "Variables": { - "SubscriptionId": "8bca72e0-8f5e-4c77-9acc-b45609999bc2" + "SubscriptionId": "225e84b5-6153-499a-8e84-e04a581ee324" } } From f9879542d7756c02bd10ab4bd24ad50c3d305b33 Mon Sep 17 00:00:00 2001 From: Dongwei Wang Date: Thu, 4 Feb 2021 06:44:41 -0800 Subject: [PATCH 3/3] Update AzSdk.RP.props --- sdk/synapse/Microsoft.Azure.Management.Synapse/AzSdk.RP.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/AzSdk.RP.props b/sdk/synapse/Microsoft.Azure.Management.Synapse/AzSdk.RP.props index 1f3f59ec4039d..33dc004b382d8 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/AzSdk.RP.props +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/AzSdk.RP.props @@ -1,7 +1,7 @@  - Synapse_2019-06-01-preview; + Synapse_2020-12-01; $(PackageTags);$(CommonTags);$(AzureApiTag); \ No newline at end of file