From 47ba62a4ba1846aa95c36fbfaccf4b5bcb844eec Mon Sep 17 00:00:00 2001 From: vishnumathi Date: Fri, 21 Apr 2023 10:05:17 +0530 Subject: [PATCH] Revert "[Hub Generated] Review request for Microsoft.Synapse to add version stable/2023-05-01 (#23376)" This reverts commit 5b79bd545830292dc1c03e0f4982afcaec73e578. --- .../resource-management/v5/types.json | 68 - .../2023-05-01/azureADOnlyAuthentication.json | 295 - .../stable/2023-05-01/bigDataPool.json | 648 -- .../2023-05-01/checkNameAvailability.json | 121 - .../ApprovePrivateEndpointConnection.json | 63 - ...ameAvailabilityWorkspaceAlreadyExists.json | 28 - ...eckNameAvailabilityWorkspaceAvailable.json | 28 - .../examples/CreateIpFirewallRule.json | 50 - ...eateOrUpdateAzureADOnlyAuthentication.json | 41 - .../examples/CreateOrUpdateBigDataPool.json | 120 - .../CreateOrUpdateGeoBackupPolicies.json | 43 - .../examples/CreateOrUpdateKey.json | 28 - .../CreateOrUpdateMaintenanceWindows.json | 24 - ...dateManagedIdentitySqlControlSettings.json | 41 - .../CreateOrUpdatePrivateLinkHub.json | 53 - ...eSqlPoolBlobAuditingWithAllParameters.json | 70 - ...eSqlPoolBlobAuditingWithMinParameters.json | 61 - ...lumnSensitivityLabelWithAllParameters.json | 49 - ...SqlPoolSecurityAlertWithAllParameters.json | 73 - ...SqlPoolSecurityAlertWithMinParameters.json | 49 - ...pdateSqlPoolTransparentDataEncryption.json | 39 - ...olVulnerabilityAssessmentRuleBaseline.json | 69 - ...nerabilityAssessmentWithAllParameters.json | 61 - ...ntWithContainerSasKeyAndMinParameters.json | 46 - ...eOrUpdateSqlPoolWorkloadClassifierMax.json | 54 - ...eOrUpdateSqlPoolWorkloadClassifierMin.json | 49 - ...CreateOrUpdateSqlPoolWorkloadGroupMax.json | 53 - ...CreateOrUpdateSqlPoolWorkloadGroupMin.json | 50 - ...tWithStorageAccessKeyAndMinParameters.json | 46 - .../examples/CreateOrUpdateWorkspace.json | 217 - .../CreateOrUpdateWorkspaceAadAdmin.json | 50 - .../2023-05-01/examples/CreateSqlPool.json | 60 - .../CreateSqlPoolMetadataSyncConfig.json | 35 - .../examples/CreateSqlPoolRestorePoints.json | 52 - ...BlobAuditingSettingsWithAllParameters.json | 53 - ...BlobAuditingSettingsWithMinParameters.json | 41 - ...BlobAuditingSettingsWithMinParameters.json | 42 - ...BlobAuditingSettingsWithAllParameters.json | 53 - .../DataMaskingPolicyCreateOrUpdateMax.json | 34 - .../DataMaskingPolicyCreateOrUpdateMin.json | 33 - .../examples/DataMaskingPolicyGet.json | 28 - ...taMaskingRuleCreateOrUpdateDefaultMax.json | 69 - ...taMaskingRuleCreateOrUpdateDefaultMin.json | 67 - .../DataMaskingRuleCreateOrUpdateNumber.json | 69 - .../DataMaskingRuleCreateOrUpdateText.json | 70 - .../examples/DataMaskingRuleGet.json | 36 - .../examples/DataMaskingRuleList.json | 60 - .../examples/DeleteBigDataPool.json | 94 - .../examples/DeleteIpFirewallRule.json | 30 - .../stable/2023-05-01/examples/DeleteKey.json | 23 - .../DeletePrivateEndpointConnection.json | 29 - .../examples/DeletePrivateLinkHub.json | 26 - .../2023-05-01/examples/DeleteSqlPool.json | 50 - .../DeleteSqlPoolColumnSensitivityLabel.json | 17 - .../DeleteSqlPoolVulnerabilityAssessment.json | 14 - ...olVulnerabilityAssessmentRuleBaseline.json | 16 - .../examples/DeleteSqlPoolWorkloadGroup.json | 27 - ...SqlPoolWorkloadGroupWorkloadClassifer.json | 28 - .../2023-05-01/examples/DeleteWorkspace.json | 70 - .../examples/DeleteWorkspaceAadAdmin.json | 25 - ...nagedSqlServerVulnerabilityAssessment.json | 13 - ...teSqlPoolVulnerabilityAssessmentScans.json | 23 - ...ortSqlPoolVulnerabilityAssessmentScan.json | 34 - ...dSqlPoolAzureMonitorAuditingCreateMin.json | 56 - .../ExtendedSqlPoolBlobAuditingCreateMax.json | 71 - .../ExtendedSqlPoolBlobAuditingCreateMin.json | 59 - .../ExtendedSqlPoolBlobAuditingGet.json | 29 - .../examples/GetAvailableOperations.json | 1480 ---- .../GetAzureADOnlyAuthentication.json | 23 - .../GetAzureAsyncOperationHeader.json | 17 - .../2023-05-01/examples/GetBigDataPool.json | 59 - .../examples/GetIpFirewallRule.json | 31 - .../stable/2023-05-01/examples/GetKey.json | 22 - .../examples/GetLocationHeader.json | 23 - .../GetLocationHeaderResultWithSqlPool.json | 60 - .../examples/GetMaintenanceWindowOptions.json | 34 - .../examples/GetMaintenanceWindows.json | 28 - .../GetManagedIdentitySqlControlSettings.json | 22 - .../GetPrivateEndpointConnection.json | 37 - .../examples/GetPrivateLinkHub.json | 32 - .../GetPrivateLinkHubPrivateLinkResource.json | 27 - .../examples/GetPrivateLinkResource.json | 27 - .../2023-05-01/examples/GetSqlPool.json | 35 - .../examples/GetSqlPoolBlobAuditing.json | 29 - .../GetSqlPoolColumnSensitivityLabelGet.json | 28 - .../examples/GetSqlPoolConnectionPolicy.json | 30 - .../examples/GetSqlPoolGeoBackupPolicy.json | 25 - .../GetSqlPoolMetadataSyncConfig.json | 30 - .../examples/GetSqlPoolSecurityAlert.json | 33 - .../GetSqlPoolTransparentDataEncryption.json | 23 - ...tSqlPoolTransparentDataEncryptionList.json | 26 - .../examples/GetSqlPoolUserActivity.json | 22 - .../GetSqlPoolVulnerabilityAssessment.json | 29 - .../examples/GetSqlPoolWorkloadGroup.json | 27 - .../examples/GetSqlPoolWorkloadGroupList.json | 56 - ...qlPoolWorkloadGroupWorkloadClassifier.json | 28 - ...olWorkloadGroupWorkloadClassifierList.json | 57 - .../2023-05-01/examples/GetWorkspace.json | 89 - .../examples/GetWorkspaceAadAdmin.json | 22 - ...SqlExtendedServerBlobAuditingSettings.json | 28 - ...eManagedSqlServerBlobAuditingSettings.json | 28 - ...lServerDedicatedSQLminimalTlsSettings.json | 22 - ...ceManagedSqlServerEncryptionProtector.json | 25 - ...nagedSqlServerEncryptionProtectorList.json | 28 - ...aceManagedSqlServerRecoverableSqlPool.json | 24 - ...ceManagedSqlServerSecurityAlertPolicy.json | 32 - ...nagedSqlServerVulnerabilityAssessment.json | 29 - ...IntegrationRuntimeMonitoringData_List.json | 34 - .../IntegrationRuntimeNodes_Delete.json | 14 - .../examples/IntegrationRuntimeNodes_Get.json | 42 - .../IntegrationRuntimeNodes_GetIpAddress.json | 24 - .../IntegrationRuntimeNodes_Update.json | 46 - ...IntegrationRuntimeObjectMetadata_List.json | 532 -- ...egrationRuntimeObjectMetadata_Refresh.json | 32 - .../examples/IntegrationRuntimes_Create.json | 38 - .../examples/IntegrationRuntimes_Delete.json | 26 - ...ationRuntimes_DisableInteractiveQuery.json | 26 - ...rationRuntimes_EnableInteractiveQuery.json | 26 - .../examples/IntegrationRuntimes_Get.json | 40 - ...IntegrationRuntimes_GetConnectionInfo.json | 28 - .../IntegrationRuntimes_GetStatus.json | 71 - .../IntegrationRuntimes_ListAuthKeys.json | 24 - .../IntegrationRuntimes_ListByWorkspace.json | 34 - ...tOutboundNetworkDependenciesEndpoints.json | 99 - ...IntegrationRuntimes_RegenerateAuthKey.json | 26 - .../examples/IntegrationRuntimes_Start.json | 39 - .../examples/IntegrationRuntimes_Stop.json | 26 - .../IntegrationRuntimes_SyncCredentials.json | 12 - .../examples/IntegrationRuntimes_Update.json | 34 - .../examples/IntegrationRuntimes_Upgrade.json | 12 - .../examples/Libraries_ListByWorkspace.json | 55 - .../2023-05-01/examples/Library_Get.json | 36 - .../ListAzureADOnlyAuthentication.json | 26 - .../examples/ListBigDataPoolsInWorkspace.json | 81 - .../examples/ListIpFirewallRules.json | 16 - .../examples/ListKeysInWorkspace.json | 34 - .../ListPrivateEndpointConnections.json | 40 - ...istPrivateLinkHubPrivateLinkResources.json | 30 - .../ListPrivateLinkHubsInResourceGroup.json | 39 - .../ListPrivateLinkHubsInSubscription.json | 38 - .../examples/ListPrivateLinkResources.json | 30 - .../examples/ListSqlPoolColumns.json | 35 - .../examples/ListSqlPoolOperations.json | 51 - .../examples/ListSqlPoolReplicationLinks.json | 35 - .../examples/ListSqlPoolRestorePoints.json | 50 - .../examples/ListSqlPoolSchema.json | 27 - ...ensitivityLabelsWithSourceRecommended.json | 39 - .../examples/ListSqlPoolTables.json | 28 - ...oolVulnerabilityAssessmentScanRecords.json | 65 - .../ListSqlPoolVulnerabilityAssessments.json | 33 - .../examples/ListSqlPoolsInWorkspace.json | 106 - .../ListSqlPoolsInWorkspaceWithFilter.json | 35 - ...olsSensitivityLabelsWithSourceCurrent.json | 39 - ...eManagedSqlServerBlobAuditingSettings.json | 30 - ...lServerDedicatedSQLminimalTlsSettings.json | 34 - ...SqlServerExtendedBlobAuditingSettings.json | 31 - ...aceManagedSqlServerRecoverableSqlPool.json | 49 - ...ManagedSqlServerSecurityAlertPolicies.json | 35 - .../ListWorkspaceManagedSqlServerUsages.json | 34 - ...ServerVulnerabilityAssessmentPolicies.json | 32 - .../ListWorkspacesInResourceGroup.json | 61 - .../ListWorkspacesInSubscription.json | 60 - .../2023-05-01/examples/PauseSqlPool.json | 61 - ...EndpointConnectionsPrivateLinkHub_Get.json | 35 - ...ndpointConnectionsPrivateLinkHub_List.json | 44 - ...nerabilityAssessmentWithAllParameters.json | 62 - ...ityAssessmentCreateContainerSasKeyMin.json | 47 - ...tyAssessmentCreateStorageAccessKeyMin.json | 47 - ...ommendedColumnSensitivityLabelDisable.json | 16 - ...commendedColumnSensitivityLabelEnable.json | 16 - .../2023-05-01/examples/RenameSqlPool.json | 15 - .../examples/ReplaceAllIpFirewallRules.json | 40 - .../examples/RestorableDroppedSqlPoolGet.json | 29 - .../RestorableDroppedSqlpoolList.json | 48 - .../2023-05-01/examples/ResumeSqlPool.json | 61 - .../SensitivityLabelsCurrentUpdate.json | 58 - .../SensitivityLabelsRecommendedUpdate.json | 40 - .../examples/SqlPoolAuditingSettingsList.json | 32 - .../2023-05-01/examples/SqlPoolColumnGet.json | 24 - .../SqlPoolExtendedAuditingSettingsList.json | 32 - .../SqlPoolGeoBackupPolicies_List.json | 28 - .../SqlPoolReplicationLinks_GetByName.json | 32 - .../examples/SqlPoolRestorePointsDelete.json | 15 - .../examples/SqlPoolRestorePointsGet.json | 26 - .../2023-05-01/examples/SqlPoolSchemaGet.json | 19 - .../SqlPoolSecurityAlertPolicies_List.json | 36 - .../2023-05-01/examples/SqlPoolTableGet.json | 20 - .../examples/SqlPoolUsageMetricsList.json | 26 - ...ulnerabilityAssessmentRuleBaselineGet.json | 44 - ...VulnerabilityAssessmentScanRecordsGet.json | 30 - .../examples/SubscriptionUsageQuotaGet.json | 24 - .../examples/UpdateBigDataPool.json | 60 - .../examples/UpdatePrivateLinkHub.json | 51 - .../2023-05-01/examples/UpdateSqlPool.json | 56 - .../2023-05-01/examples/UpdateWorkspace.json | 149 - ...lServerDedicatedSQLminimalTlsSettings.json | 27 - ...yptionProtectorCreateOrUpdateKeyVault.json | 31 - ...ProtectorCreateOrUpdateServiceManaged.json | 31 - ...qlServerEncryptionProtectorRevalidate.json | 17 - ...rSecurityAlertCreateWithMinParameters.json | 41 - ...lServerSecurityAlertWithAllParameters.json | 50 - .../examples/WorkspaceUsageQuotaGet.json | 25 - .../stable/2023-05-01/firewallRule.json | 429 - .../stable/2023-05-01/integrationRuntime.json | 3089 ------- .../stable/2023-05-01/keys.json | 298 - .../stable/2023-05-01/library.json | 185 - .../stable/2023-05-01/listUsage.json | 120 - .../stable/2023-05-01/operations.json | 351 - .../privateEndpointConnections.json | 219 - .../2023-05-01/privateLinkResources.json | 307 - .../stable/2023-05-01/privatelinkhub.json | 488 -- .../stable/2023-05-01/sqlPool.json | 7757 ----------------- .../stable/2023-05-01/sqlServer.json | 2084 ----- .../stable/2023-05-01/workspace.json | 1564 ---- .../synapse/resource-manager/readme.md | 35 +- 215 files changed, 6 insertions(+), 28034 deletions(-) delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/azureADOnlyAuthentication.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/bigDataPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/checkNameAvailability.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ApprovePrivateEndpointConnection.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CheckNameAvailabilityWorkspaceAlreadyExists.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CheckNameAvailabilityWorkspaceAvailable.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateIpFirewallRule.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateAzureADOnlyAuthentication.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateBigDataPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateGeoBackupPolicies.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateKey.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateMaintenanceWindows.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateManagedIdentitySqlControlSettings.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdatePrivateLinkHub.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithAllParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithMinParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolColumnSensitivityLabelWithAllParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithAllParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithMinParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolTransparentDataEncryption.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentRuleBaseline.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithAllParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithContainerSasKeyAndMinParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMax.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMax.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateVulnerabilityAssessmentWithStorageAccessKeyAndMinParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateWorkspace.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateWorkspaceAadAdmin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPoolMetadataSyncConfig.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPoolRestorePoints.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithAllParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithMinParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerExetendedBlobAuditingSettingsWithMinParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerExtendedBlobAuditingSettingsWithAllParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyCreateOrUpdateMax.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyCreateOrUpdateMin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateNumber.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateText.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleList.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteBigDataPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteIpFirewallRule.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteKey.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeletePrivateEndpointConnection.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeletePrivateLinkHub.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolColumnSensitivityLabel.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolVulnerabilityAssessment.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolVulnerabilityAssessmentRuleBaseline.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolWorkloadGroup.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolWorkloadGroupWorkloadClassifer.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspace.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspaceAadAdmin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspaceManagedSqlServerVulnerabilityAssessment.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExecuteSqlPoolVulnerabilityAssessmentScans.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExportSqlPoolVulnerabilityAssessmentScan.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolAzureMonitorAuditingCreateMin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingCreateMax.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingCreateMin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAvailableOperations.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAzureADOnlyAuthentication.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAzureAsyncOperationHeader.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetBigDataPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetIpFirewallRule.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetKey.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetLocationHeader.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetLocationHeaderResultWithSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetMaintenanceWindowOptions.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetMaintenanceWindows.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetManagedIdentitySqlControlSettings.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateEndpointConnection.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkHub.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkHubPrivateLinkResource.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkResource.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolBlobAuditing.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolColumnSensitivityLabelGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolConnectionPolicy.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolGeoBackupPolicy.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolMetadataSyncConfig.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolSecurityAlert.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolTransparentDataEncryption.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolTransparentDataEncryptionList.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolUserActivity.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolVulnerabilityAssessment.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroup.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupList.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifier.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifierList.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspace.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceAadAdmin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlExtendedServerBlobAuditingSettings.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerEncryptionProtector.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerEncryptionProtectorList.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerRecoverableSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerSecurityAlertPolicy.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerVulnerabilityAssessment.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeMonitoringData_List.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Delete.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Get.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_GetIpAddress.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Update.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeObjectMetadata_List.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Create.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Delete.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_DisableInteractiveQuery.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_EnableInteractiveQuery.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Get.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_GetConnectionInfo.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_GetStatus.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListAuthKeys.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListByWorkspace.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_RegenerateAuthKey.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Start.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Stop.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_SyncCredentials.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Update.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Upgrade.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/Libraries_ListByWorkspace.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/Library_Get.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListAzureADOnlyAuthentication.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListBigDataPoolsInWorkspace.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListIpFirewallRules.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListKeysInWorkspace.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateEndpointConnections.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubPrivateLinkResources.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubsInResourceGroup.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubsInSubscription.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkResources.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolColumns.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolOperations.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolReplicationLinks.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolRestorePoints.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolSchema.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolSensitivityLabelsWithSourceRecommended.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolTables.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolVulnerabilityAssessmentScanRecords.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolVulnerabilityAssessments.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsInWorkspace.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsInWorkspaceWithFilter.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsSensitivityLabelsWithSourceCurrent.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerBlobAuditingSettings.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerExtendedBlobAuditingSettings.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerRecoverableSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerSecurityAlertPolicies.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerUsages.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerVulnerabilityAssessmentPolicies.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspacesInResourceGroup.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspacesInSubscription.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PauseSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PrivateEndpointConnectionsPrivateLinkHub_Get.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PrivateEndpointConnectionsPrivateLinkHub_List.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceManagedSqlServerVulnerabilityAssessmentWithAllParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateContainerSasKeyMin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RecommendedColumnSensitivityLabelDisable.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RecommendedColumnSensitivityLabelEnable.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RenameSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ReplaceAllIpFirewallRules.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RestorableDroppedSqlPoolGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RestorableDroppedSqlpoolList.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ResumeSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SensitivityLabelsCurrentUpdate.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SensitivityLabelsRecommendedUpdate.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolAuditingSettingsList.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolColumnGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolExtendedAuditingSettingsList.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolGeoBackupPolicies_List.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolReplicationLinks_GetByName.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolRestorePointsDelete.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolRestorePointsGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolSchemaGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolSecurityAlertPolicies_List.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolTableGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolUsageMetricsList.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolVulnerabilityAssessmentRuleBaselineGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolVulnerabilityAssessmentScanRecordsGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SubscriptionUsageQuotaGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateBigDataPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdatePrivateLinkHub.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateSqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateWorkspace.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateKeyVault.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateServiceManaged.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorRevalidate.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerSecurityAlertCreateWithMinParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerSecurityAlertWithAllParameters.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceUsageQuotaGet.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/firewallRule.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/integrationRuntime.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/keys.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/library.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/listUsage.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/operations.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privateEndpointConnections.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privateLinkResources.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privatelinkhub.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/sqlPool.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/sqlServer.json delete mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/workspace.json diff --git a/specification/common-types/resource-management/v5/types.json b/specification/common-types/resource-management/v5/types.json index b9b6d9660876..547145643bcf 100644 --- a/specification/common-types/resource-management/v5/types.json +++ b/specification/common-types/resource-management/v5/types.json @@ -624,74 +624,6 @@ "type": "string" } } - }, - "UsageName": { - "type": "object", - "description": "Name of the usage metrics", - "properties": { - "value": { - "type": "string", - "description": "The name of the usage metric." - }, - "localizedValue": { - "type": "string", - "description": "The localized name of the usage metric." - } - } - }, - "Usage": { - "type": "object", - "description": "Resource usage and limit.", - "properties": { - "unit": { - "readOnly": true, - "type": "string", - "description": "The unit of usage measurement." - }, - "currentValue": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "The current usage of the resource." - }, - "limit": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "The maximum permitted usage of the resource." - }, - "name": { - "readOnly": true, - "$ref": "#/definitions/UsageName", - "description": "The name of the type of usage." - }, - "nextResetTime": { - "type": "string", - "format": "date-time", - "description": "Optional.The time that the metric's value will reset." - }, - "quotaPeriod": { - "type": "string", - "description": "Optional. The quota period that determines the length of time between value resets." - } - } - }, - "ListUsagesResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/Usage" - }, - "x-ms-identifiers": [], - "description": "The list of resource usages." - } - }, - "required": [ - "value" - ], - "description": "The List Usages operation response." } }, "parameters": { diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/azureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/azureADOnlyAuthentication.json deleted file mode 100644 index 1e480c7c0b98..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/azureADOnlyAuthentication.json +++ /dev/null @@ -1,295 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications/{azureADOnlyAuthenticationName}": { - "get": { - "operationId": "AzureADOnlyAuthentications_Get", - "summary": "Get Azure Active Directory only authentication property", - "description": "Gets a Azure Active Directory only authentication property", - "tags": [ - "WorkspaceAzureADOnlyAuthentications" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get Azure Active Directory Only Authentication property": { - "$ref": "./examples/GetAzureADOnlyAuthentication.json" - } - } - }, - "put": { - "operationId": "AzureADOnlyAuthentications_Create", - "summary": "Create or Update Azure Active Directory only authentication property", - "description": "Create or Update a Azure Active Directory only authentication property for the workspaces", - "tags": [ - "WorkspaceAzureADOnlyAuthentications" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "./azureADOnlyAuthentication.json#/parameters/azureADOnlyAuthenticationNameParameter" - }, - { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "in": "body", - "name": "AzureADOnlyAuthenticationInfo", - "description": "Azure Active Directory Property", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "description": "OK" - }, - "201": { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "description": "Created" - }, - "202": { - "description": "Accepted" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or Update Azure Active Directory Only Authentication property": { - "$ref": "./examples/CreateOrUpdateAzureADOnlyAuthentication.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications": { - "get": { - "operationId": "AzureADOnlyAuthentications_List", - "summary": "Gets a list of Azure Active Directory only authentication property", - "description": "Gets a list of Azure Active Directory only authentication property for a workspace", - "tags": [ - "WorkspaceAzureADOnlyAuthentications" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/AzureADOnlyAuthenticationListResult" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get a list of Azure Active Directory Only Authentication property": { - "$ref": "./examples/ListAzureADOnlyAuthentication.json" - } - } - } - } - }, - "definitions": { - "AzureADOnlyAuthenticationProperties": { - "description": "Properties of a active directory only authentication.", - "required": [ - "azureADOnlyAuthentication" - ], - "type": "object", - "properties": { - "azureADOnlyAuthentication": { - "description": "Azure Active Directory only Authentication enabled.", - "type": "boolean" - }, - "state": { - "description": "property configuration state", - "type": "string", - "readOnly": true, - "enum": [ - "Consistent", - "InConsistent", - "Updating" - ], - "x-ms-enum": { - "name": "state value", - "modelAsString": true - } - }, - "creationDate": { - "description": "property configuration date", - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "AzureADOnlyAuthentication": { - "description": "Azure Active Directory Only Authentication Info", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "azureADOnlyAuthentication resource properties", - "$ref": "#/definitions/AzureADOnlyAuthenticationProperties", - "x-ms-client-flatten": true - } - } - }, - "AzureADOnlyAuthenticationListResult": { - "description": "A list of active directory only authentications.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/AzureADOnlyAuthentication" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - } - }, - "parameters": { - "workspaceNameParameter": { - "name": "workspaceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the workspace", - "x-ms-parameter-location": "method" - }, - "azureADOnlyAuthenticationNameParameter": { - "type": "string", - "in": "path", - "name": "azureADOnlyAuthenticationName", - "description": "name of the property", - "required": true, - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "AzureADOnlyAuthenticationName", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/bigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/bigDataPool.json deleted file mode 100644 index 0d42600eccee..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/bigDataPool.json +++ /dev/null @@ -1,648 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/bigDataPools/{bigDataPoolName}": { - "get": { - "operationId": "BigDataPools_Get", - "summary": "Get Big Data pool", - "description": "Get a Big Data pool.", - "tags": [ - "BigDataPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "bigDataPoolName", - "description": "Big Data pool name", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/BigDataPoolResourceInfo" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a Big Data pool": { - "$ref": "./examples/GetBigDataPool.json" - } - } - }, - "patch": { - "operationId": "BigDataPools_Update", - "summary": "Update a Big Data pool.", - "description": "Patch a Big Data pool.", - "tags": [ - "BigDataPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "bigDataPoolName", - "description": "Big Data pool name", - "required": true - }, - { - "schema": { - "$ref": "#/definitions/BigDataPoolPatchInfo" - }, - "in": "body", - "name": "bigDataPoolPatchInfo", - "description": "The updated Big Data pool properties", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/BigDataPoolResourceInfo" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Update a Big Data pool": { - "$ref": "./examples/UpdateBigDataPool.json" - } - } - }, - "put": { - "operationId": "BigDataPools_CreateOrUpdate", - "summary": "Create a Big Data pool.", - "description": "Create a new Big Data pool.", - "tags": [ - "BigDataPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "bigDataPoolName", - "description": "Big Data pool name", - "required": true - }, - { - "name": "force", - "type": "boolean", - "in": "query", - "description": "Whether to stop any running jobs in the Big Data pool", - "required": false, - "default": false - }, - { - "schema": { - "$ref": "#/definitions/BigDataPoolResourceInfo" - }, - "in": "body", - "name": "bigDataPoolInfo", - "description": "The Big Data pool to create.", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/BigDataPoolResourceInfo" - }, - "description": "OK" - }, - "202": { - "schema": { - "$ref": "#/definitions/BigDataPoolResourceInfo" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or update a Big Data pool": { - "$ref": "./examples/CreateOrUpdateBigDataPool.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - }, - "delete": { - "operationId": "BigDataPools_Delete", - "summary": "Delete a Big Data pool.", - "description": "Delete a Big Data pool from the workspace.", - "tags": [ - "BigDataPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "bigDataPoolName", - "description": "Big Data pool name", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/BigDataPoolResourceInfo" - }, - "description": "OK" - }, - "202": { - "schema": { - "$ref": "#/definitions/BigDataPoolResourceInfo" - }, - "description": "" - }, - "204": { - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Delete a Big Data pool": { - "$ref": "./examples/DeleteBigDataPool.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/bigDataPools": { - "get": { - "operationId": "BigDataPools_ListByWorkspace", - "summary": "List the Big Data pools in a workspace.", - "description": "List Big Data pools in a workspace.", - "tags": [ - "BigDataPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/BigDataPoolResourceInfoListResult" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "List Big Data pools in a workspace": { - "$ref": "./examples/ListBigDataPoolsInWorkspace.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "BigDataPoolResourceInfoListResult": { - "type": "object", - "description": "Collection of Big Data pool information", - "title": "Collection of Big Data pools", - "properties": { - "nextLink": { - "type": "string", - "description": "Link to the next page of results" - }, - "value": { - "type": "array", - "description": "List of Big Data pools", - "items": { - "$ref": "#/definitions/BigDataPoolResourceInfo" - } - } - } - }, - "BigDataPoolPatchInfo": { - "type": "object", - "description": "Properties patch for a Big Data pool", - "title": "Patch for a Big Data pool", - "properties": { - "tags": { - "additionalProperties": { - "type": "string" - }, - "description": "Updated tags for the Big Data pool", - "type": "object" - } - } - }, - "BigDataPoolResourceInfo": { - "type": "object", - "description": "A Big Data pool", - "title": "Big Data pool", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/BigDataPoolResourceProperties", - "description": "Big Data pool properties", - "x-ms-client-flatten": true - } - } - }, - "BigDataPoolResourceProperties": { - "type": "object", - "description": "Properties of a Big Data pool powered by Apache Spark", - "title": "Spark pool properties", - "properties": { - "provisioningState": { - "type": "string", - "description": "The state of the Big Data pool." - }, - "autoScale": { - "$ref": "#/definitions/AutoScaleProperties", - "description": "Auto-scaling properties" - }, - "creationDate": { - "type": "string", - "format": "date-time", - "description": "The time when the Big Data pool was created.", - "readOnly": true - }, - "autoPause": { - "$ref": "#/definitions/AutoPauseProperties", - "description": "Auto-pausing properties" - }, - "isComputeIsolationEnabled": { - "type": "boolean", - "description": "Whether compute isolation is required or not." - }, - "isAutotuneEnabled": { - "type": "boolean", - "title": "Enable Autotune", - "description": "Whether autotune is required or not.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "sessionLevelPackagesEnabled": { - "type": "boolean", - "description": "Whether session level packages enabled." - }, - "cacheSize": { - "type": "integer", - "format": "int32", - "description": "The cache size", - "readOnly": true - }, - "dynamicExecutorAllocation": { - "$ref": "#/definitions/DynamicExecutorAllocation", - "description": "Dynamic Executor Allocation" - }, - "sparkEventsFolder": { - "type": "string", - "description": "The Spark events folder", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "nodeCount": { - "type": "integer", - "format": "int32", - "description": "The number of nodes in the Big Data pool.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "libraryRequirements": { - "$ref": "#/definitions/LibraryRequirements", - "description": "Library version requirements" - }, - "customLibraries": { - "description": "List of custom libraries/packages associated with the spark pool.", - "type": "array", - "items": { - "$ref": "../../../../common/v1/types.json#/definitions/LibraryInfo" - }, - "x-ms-identifiers": [] - }, - "sparkConfigProperties": { - "$ref": "#/definitions/SparkConfigProperties", - "description": "Spark configuration file to specify additional properties" - }, - "sparkVersion": { - "type": "string", - "description": "The Apache Spark version." - }, - "defaultSparkLogFolder": { - "type": "string", - "description": "The default folder where Spark logs will be written." - }, - "nodeSize": { - "enum": [ - "None", - "Small", - "Medium", - "Large", - "XLarge", - "XXLarge", - "XXXLarge" - ], - "type": "string", - "description": "The level of compute power that each node in the Big Data pool has.", - "x-ms-enum": { - "name": "NodeSize", - "modelAsString": true - } - }, - "nodeSizeFamily": { - "enum": [ - "None", - "MemoryOptimized", - "HardwareAcceleratedFPGA", - "HardwareAcceleratedGPU" - ], - "type": "string", - "description": "The kind of nodes that the Big Data pool provides.", - "x-ms-enum": { - "name": "NodeSizeFamily", - "modelAsString": true - } - }, - "lastSucceededTimestamp": { - "type": "string", - "format": "date-time", - "description": "The time when the Big Data pool was updated successfully.", - "readOnly": true - } - } - }, - "AutoScaleProperties": { - "type": "object", - "description": "Auto-scaling properties of a Big Data pool powered by Apache Spark", - "title": "Spark pool auto-scaling properties", - "properties": { - "minNodeCount": { - "type": "integer", - "format": "int32", - "description": "The minimum number of nodes the Big Data pool can support.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "enabled": { - "type": "boolean", - "description": "Whether automatic scaling is enabled for the Big Data pool." - }, - "maxNodeCount": { - "type": "integer", - "format": "int32", - "description": "The maximum number of nodes the Big Data pool can support.", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - }, - "AutoPauseProperties": { - "type": "object", - "description": "Auto-pausing properties of a Big Data pool powered by Apache Spark", - "title": "Spark pool auto-pausing properties", - "properties": { - "delayInMinutes": { - "type": "integer", - "format": "int32", - "description": "Number of minutes of idle time before the Big Data pool is automatically paused." - }, - "enabled": { - "type": "boolean", - "description": "Whether auto-pausing is enabled for the Big Data pool." - } - } - }, - "DynamicExecutorAllocation": { - "type": "object", - "description": "Dynamic Executor Allocation Properties", - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether Dynamic Executor Allocation is enabled or not." - }, - "minExecutors": { - "type": "integer", - "format": "int32", - "description": "The minimum number of executors alloted" - }, - "maxExecutors": { - "type": "integer", - "format": "int32", - "description": "The maximum number of executors alloted" - } - } - }, - "LibraryRequirements": { - "type": "object", - "description": "Library requirements for a Big Data pool powered by Apache Spark", - "title": "Spark pool library version requirements", - "properties": { - "time": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The last update time of the library requirements file." - }, - "content": { - "type": "string", - "description": "The library requirements." - }, - "filename": { - "type": "string", - "description": "The filename of the library requirements file." - } - } - }, - "SparkConfigProperties": { - "type": "object", - "description": "SparkConfig Properties for a Big Data pool powered by Apache Spark", - "title": "Spark pool Config Properties", - "properties": { - "time": { - "type": "string", - "format": "date-time", - "readOnly": true, - "description": "The last update time of the spark config properties file." - }, - "content": { - "type": "string", - "description": "The spark config properties." - }, - "filename": { - "type": "string", - "description": "The filename of the spark config properties file." - }, - "configurationType": { - "enum": [ - "File", - "Artifact" - ], - "type": "string", - "description": "The type of the spark config properties file.", - "x-ms-enum": { - "name": "ConfigurationType", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "read" - ] - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/checkNameAvailability.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/checkNameAvailability.json deleted file mode 100644 index 7f787b3ebaea..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/checkNameAvailability.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/checkNameAvailability": { - "post": { - "operationId": "Operations_CheckNameAvailability", - "summary": "Check name availability", - "description": "Check whether a workspace name is available", - "tags": [ - "Operations" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityRequest" - }, - "in": "body", - "name": "request", - "required": true, - "description": "The check request" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityResponse" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Check for a workspace name that is available": { - "$ref": "./examples/CheckNameAvailabilityWorkspaceAvailable.json" - }, - "Check for a workspace name that already exists": { - "$ref": "./examples/CheckNameAvailabilityWorkspaceAlreadyExists.json" - } - } - } - } - }, - "definitions": { - "CheckNameAvailabilityRequest": { - "type": "object", - "title": "Check name availability request", - "description": "A request about whether a workspace name is available", - "properties": { - "name": { - "type": "string", - "description": "Workspace name" - }, - "type": { - "type": "string", - "description": "Type: workspace" - } - } - }, - "CheckNameAvailabilityResponse": { - "type": "object", - "title": "Check name availability response", - "description": "A response saying whether the workspace name is available", - "properties": { - "message": { - "type": "string", - "description": "Validation message" - }, - "available": { - "type": "boolean", - "description": "Whether the workspace name is available" - }, - "reason": { - "type": "string", - "description": "Reason the workspace name is or is not available" - }, - "name": { - "type": "string", - "description": "Workspace name" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ApprovePrivateEndpointConnection.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ApprovePrivateEndpointConnection.json deleted file mode 100644 index c0ad649f5276..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ApprovePrivateEndpointConnection.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "privateEndpointConnectionName": "ExamplePrivateEndpointConnection", - "api-version": "2023-05-01", - "request": { - "properties": { - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Approved by abc@example.com" - } - } - } - }, - "responses": { - "201": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection", - "name": "sql", - "type": "Microsoft.Synapse/workspaces/privateEndpointConnections", - "properties": { - "provisioningState": "Provisioning", - "privateEndpoint": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-approved", - "actionsRequired": "None" - } - } - } - }, - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection", - "name": "sql", - "type": "Microsoft.Synapse/workspaces/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-approved", - "actionsRequired": "None" - } - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CheckNameAvailabilityWorkspaceAlreadyExists.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CheckNameAvailabilityWorkspaceAlreadyExists.json deleted file mode 100644 index 7f5ddcd615ac..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CheckNameAvailabilityWorkspaceAlreadyExists.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2023-05-01", - "request": { - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces" - } - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "available": false, - "reason": "AlreadyExists", - "message": "Specified workspace name is already used" - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CheckNameAvailabilityWorkspaceAvailable.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CheckNameAvailabilityWorkspaceAvailable.json deleted file mode 100644 index 5034fdaeeeb3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CheckNameAvailabilityWorkspaceAvailable.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2023-05-01", - "request": { - "name": "workspace1", - "type": "Microsoft.ProjectArcadia/workspaces" - } - }, - "responses": { - "200": { - "body": { - "name": "workspace1", - "available": true, - "reason": null, - "message": null - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateIpFirewallRule.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateIpFirewallRule.json deleted file mode 100644 index c455a98d3fd5..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateIpFirewallRule.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "ruleName": "ExampleIpFirewallRule", - "api-version": "2023-05-01", - "ipFirewallRuleInfo": { - "properties": { - "startIpAddress": "10.0.0.0", - "endIpAddress": "10.0.0.254" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule", - "type": "Microsoft.Synapse/workspaces/firewallRules", - "name": "ExampleIpFirewallRule", - "properties": { - "startIpAddress": "10.0.0.0", - "endIpAddress": "10.0.0.254", - "provisioningState": "Provisioning" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule", - "type": "Microsoft.Synapse/workspaces/firewallRules", - "name": "ExampleIpFirewallRule", - "properties": { - "startIpAddress": "10.0.0.0", - "endIpAddress": "10.0.0.254", - "provisioningState": "Provisioning" - } - } - }, - "202": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateAzureADOnlyAuthentication.json deleted file mode 100644 index 92c0d4a58737..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateAzureADOnlyAuthentication.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-6852", - "workspaceName": "workspace-2080", - "azureADOnlyAuthenticationName": "default", - "api-version": "2023-05-01", - "AzureADOnlyAuthenticationInfo": { - "properties": { - "azureADOnlyAuthentication": true - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", - "properties": { - "azureADOnlyAuthentication": true, - "creationDate": "2017-02-10T00:56:19.2Z", - "state": "Consistent" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", - "properties": { - "azureADOnlyAuthentication": true, - "creationDate": "2017-02-10T00:56:19.2Z", - "state": "Updating" - } - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateBigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateBigDataPool.json deleted file mode 100644 index 21eb1910b95a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateBigDataPool.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "bigDataPoolName": "ExamplePool", - "api-version": "2023-05-01", - "bigDataPoolInfo": { - "tags": { - "key": "value" - }, - "location": "West US 2", - "properties": { - "sparkVersion": "3.3", - "nodeCount": 4, - "nodeSize": "Medium", - "nodeSizeFamily": "MemoryOptimized", - "autoScale": { - "enabled": true, - "minNodeCount": 3, - "maxNodeCount": 50 - }, - "autoPause": { - "enabled": true, - "delayInMinutes": 15 - }, - "sparkEventsFolder": "/events", - "libraryRequirements": { - "content": "", - "filename": "requirements.txt" - }, - "defaultSparkLogFolder": "/logs", - "isAutotuneEnabled": false - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool", - "type": "Microsoft.Synapse/workspaces/bigDataPools", - "location": "West US 2", - "name": "ExamplePool", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Provisioning", - "sparkVersion": "3.3", - "nodeCount": 4, - "nodeSize": "Medium", - "nodeSizeFamily": "MemoryOptimized", - "autoScale": { - "enabled": true, - "minNodeCount": 3, - "maxNodeCount": 50 - }, - "autoPause": { - "enabled": true, - "delayInMinutes": 15 - }, - "creationDate": "1970-01-01T00:00:00Z", - "sparkEventsFolder": "/events", - "libraryRequirements": { - "time": "1970-01-01T00:00:00Z", - "content": "", - "filename": "requirements.txt" - }, - "defaultSparkLogFolder": "/logs", - "lastSucceededTimestamp": "1970-01-01T10:00:00Z", - "isAutotuneEnabled": false - } - } - }, - "202": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool", - "type": "Microsoft.Synapse/workspaces/bigDataPools", - "location": "West US 2", - "name": "ExamplePool", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Provisioning", - "sparkVersion": "3.3", - "nodeCount": 4, - "nodeSize": "Medium", - "nodeSizeFamily": "MemoryOptimized", - "autoScale": { - "enabled": true, - "minNodeCount": 3, - "maxNodeCount": 50 - }, - "autoPause": { - "enabled": true, - "delayInMinutes": 15 - }, - "creationDate": "1970-01-01T00:00:00Z", - "sparkEventsFolder": "/events", - "libraryRequirements": { - "time": "1970-01-01T00:00:00Z", - "content": "", - "filename": "requirements.txt" - }, - "defaultSparkLogFolder": "/logs", - "isAutotuneEnabled": false - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateGeoBackupPolicies.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateGeoBackupPolicies.json deleted file mode 100644 index 629a3029f964..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateGeoBackupPolicies.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "testrg", - "workspaceName": "testws", - "sqlPoolName": "testdw", - "geoBackupPolicyName": "Default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Synapse/workspaces/testws/databases/testdw/geoBackupPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/sqlpools/geoBackupPolicies", - "location": null, - "kind": null, - "properties": { - "state": "Enabled", - "storageType": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/testrg/providers/Microsoft.Synapse/workspaces/testws/databases/testdw/geoBackupPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/sqlpools/geoBackupPolicies", - "location": null, - "kind": null, - "properties": { - "state": "Enabled", - "storageType": null - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateKey.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateKey.json deleted file mode 100644 index aadb1142f235..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateKey.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "keyName": "somekey", - "api-version": "2023-05-01", - "keyProperties": { - "properties": { - "isActiveCMK": true, - "keyVaultUrl": "https://vault.azure.net/keys/somesecret" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/keys/somekey", - "type": "Microsoft.Synapse/workspaces/keys", - "name": "somekey", - "properties": { - "isActiveCMK": true, - "keyVaultUrl": "https://vault.azure.net/keys/somesecret" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateMaintenanceWindows.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateMaintenanceWindows.json deleted file mode 100644 index a7f889e4b840..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateMaintenanceWindows.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "samplerg", - "workspaceName": "testworkspace", - "sqlPoolName": "testsp", - "maintenanceWindowName": "current", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "timeRanges": [ - { - "dayOfWeek": "Saturday", - "startTime": "00:00:00", - "duration": "PT60M" - } - ] - } - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateManagedIdentitySqlControlSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateManagedIdentitySqlControlSettings.json deleted file mode 100644 index e8d88bcebee7..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateManagedIdentitySqlControlSettings.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01", - "managedIdentitySqlControlSettings": { - "properties": { - "grantSqlControlToManagedIdentity": { - "desiredState": "Enabled" - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/managedIdentitySqlControlSettings/default", - "name": "default", - "properties": { - "grantSqlControlToManagedIdentity": { - "desiredState": "Enabled", - "actualState": "Enabling" - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/managedIdentitySqlControlSettings/default", - "name": "default", - "properties": { - "grantSqlControlToManagedIdentity": { - "desiredState": "Enabled", - "actualState": "Enabling" - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdatePrivateLinkHub.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdatePrivateLinkHub.json deleted file mode 100644 index 06483c244e5a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdatePrivateLinkHub.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "privateLinkHubName": "privateLinkHub1", - "api-version": "2023-05-01", - "privateLinkHubInfo": { - "properties": {}, - "location": "East US", - "tags": { - "key": "value" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1", - "name": "privateLinkHub1", - "type": "Microsoft.Synapse/privateLinkHubs", - "location": "East US", - "properties": { - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1", - "name": "privateLinkHub1", - "type": "Microsoft.Synapse/privateLinkHubs", - "location": "East US", - "properties": { - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithAllParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithAllParameters.json deleted file mode 100644 index 1966d938868e..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithAllParameters.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-4799", - "workspaceName": "blobauditingtest-6440", - "sqlPoolName": "testdb", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "DATABASE_LOGOUT_GROUP", - "DATABASE_ROLE_MEMBER_CHANGE_GROUP", - "UPDATE on database::TestDatabaseName by public" - ], - "isAzureMonitorTargetEnabled": true - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings", - "kind": "V12", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "DATABASE_LOGOUT_GROUP", - "DATABASE_ROLE_MEMBER_CHANGE_GROUP", - "UPDATE on database::TestDatabaseName by public" - ], - "isAzureMonitorTargetEnabled": true - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings", - "kind": "V12", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "DATABASE_LOGOUT_GROUP", - "DATABASE_ROLE_MEMBER_CHANGE_GROUP", - "UPDATE on database::TestDatabaseName by public" - ], - "isAzureMonitorTargetEnabled": true - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithMinParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithMinParameters.json deleted file mode 100644 index 7164a92cccd3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolBlobAuditingWithMinParameters.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-4799", - "workspaceName": "blobauditingtest-6440", - "sqlPoolName": "testdb", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings", - "kind": "V12", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ], - "isAzureMonitorTargetEnabled": false - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings", - "kind": "V12", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ], - "isAzureMonitorTargetEnabled": false - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolColumnSensitivityLabelWithAllParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolColumnSensitivityLabelWithAllParameters.json deleted file mode 100644 index 957b31cd66ac..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolColumnSensitivityLabelWithAllParameters.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "myServer", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "current", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "informationType": "PhoneNumber", - "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", - "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", - "labelName": "PII" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/schemas/dbo/tables/myTable/columns/myColumn/sensitivityLabels/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels", - "properties": { - "informationType": "PhoneNumber", - "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", - "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", - "labelName": "PII" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/schemas/dbo/tables/myTable/columns/myColumn/sensitivityLabels/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels", - "properties": { - "informationType": "PhoneNumber", - "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", - "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", - "labelName": "PII" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithAllParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithAllParameters.json deleted file mode 100644 index ada1e6149972..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithAllParameters.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "workspaceName": "securityalert-6440", - "sqlPoolName": "testdb", - "securityAlertPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "test@microsoft.com", - "user@microsoft.com" - ], - "disabledAlerts": [ - "Sql_Injection", - "Usage_Anomaly" - ], - "retentionDays": 6, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Synapse/workspaces/securityalert-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "test@microsoft.com", - "user@microsoft.com" - ], - "disabledAlerts": [ - "Sql_Injection", - "Usage_Anomaly" - ], - "retentionDays": 6, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Synapse/workspaces/securityalert-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "test@microsoft.com", - "user@microsoft.com" - ], - "disabledAlerts": [ - "Access_Anomaly", - "Usage_Anomaly" - ], - "retentionDays": 6, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithMinParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithMinParameters.json deleted file mode 100644 index 9377dc5b2556..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolSecurityAlertWithMinParameters.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-4799", - "workspaceName": "securityalert-6440", - "sqlPoolName": "testdb", - "securityAlertPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Synapse/workspaces/securityalert-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-4799/providers/Microsoft.Synapse/workspaces/securityalert-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [], - "disabledAlerts": [], - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolTransparentDataEncryption.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolTransparentDataEncryption.json deleted file mode 100644 index ae7bb5288278..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolTransparentDataEncryption.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "transparentDataEncryptionName": "current", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "status": "Enabled" - } - } - }, - "responses": { - "200": { - "body": { - "name": "current", - "location": "North Europe", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current", - "type": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption", - "properties": { - "status": "Enabled" - } - } - }, - "201": { - "body": { - "name": "current", - "location": "North Europe", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current", - "type": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption", - "properties": { - "status": "Enabled" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentRuleBaseline.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentRuleBaseline.json deleted file mode 100644 index f96e28141348..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentRuleBaseline.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "workspaceName": "vulnerabilityaseessmenttest-6440", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "ruleId": "VA1001", - "baselineName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "baselineResults": [ - { - "result": [ - "userA", - "SELECT" - ] - }, - { - "result": [ - "userB", - "SELECT" - ] - }, - { - "result": [ - "userC", - "SELECT", - "tableId_4" - ] - } - ] - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default/rules/VA1001/baselines/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/rules/baselines", - "properties": { - "baselineResults": [ - { - "result": [ - "userA", - "SELECT" - ] - }, - { - "result": [ - "userB", - "SELECT" - ] - }, - { - "result": [ - "userC", - "SELECT", - "tableId_4" - ] - } - ] - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithAllParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithAllParameters.json deleted file mode 100644 index 442d7980ca1a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithAllParameters.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "workspaceName": "vulnerabilityaseessmenttest-6440", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "storageContainerSasKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments", - "properties": { - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments", - "properties": { - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithContainerSasKeyAndMinParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithContainerSasKeyAndMinParameters.json deleted file mode 100644 index 94ba53ccda7f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithContainerSasKeyAndMinParameters.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "workspaceName": "vulnerabilityaseessmenttest-6440", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "storageContainerSasKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments", - "properties": { - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": false, - "emails": [] - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments", - "properties": { - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": false, - "emails": [] - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMax.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMax.json deleted file mode 100644 index 30f5399c9929..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMax.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "workloadGroupName": "wlm_workloadgroup", - "workloadClassifierName": "wlm_workloadclassifier", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "memberName": "dbo", - "label": "test_label", - "context": "test_context", - "startTime": "12:00", - "endTime": "14:00", - "importance": "high" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "memberName": "dbo", - "label": "test_label", - "context": "test_context", - "startTime": "12:00", - "endTime": "14:00", - "importance": "high" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/wlm_workloadgroup/workloadClassifiers/wlm_workloadclassifier", - "name": "wlm_workloadclassifier", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" - } - }, - "201": { - "body": { - "properties": { - "memberName": "dbo", - "label": "test_label", - "context": "test_context", - "startTime": "12:00", - "endTime": "14:00", - "importance": "high" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/wlm_workloadgroup/workloadClassifiers/wlm_workloadclassifier", - "name": "wlm_workloadclassifier", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMin.json deleted file mode 100644 index 5f12376265e0..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadClassifierMin.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "workloadGroupName": "wlm_workloadgroup", - "workloadClassifierName": "wlm_workloadclassifier", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "memberName": "dbo" - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "memberName": "dbo", - "label": "", - "context": "", - "startTime": "", - "endTime": "", - "importance": "" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/wlm_workloadgroup/workloadClassifiers/wlm_workloadclassifier", - "name": "wlm_workloadclassifier", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" - } - }, - "201": { - "body": { - "properties": { - "memberName": "dbo", - "label": "", - "context": "", - "startTime": "", - "endTime": "", - "importance": "" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/wlm_workloadgroup/workloadClassifiers/wlm_workloadclassifier", - "name": "wlm_workloadclassifier", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMax.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMax.json deleted file mode 100644 index 90833648a4f1..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMax.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "workloadGroupName": "smallrc", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 3.0, - "maxResourcePercentPerRequest": 3.0, - "importance": "normal", - "queryExecutionTimeout": 0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 3.0, - "maxResourcePercentPerRequest": 3.0, - "importance": "normal", - "queryExecutionTimeout": 0 - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/workloadGroups/smallrc", - "name": "smallrc", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" - } - }, - "201": { - "body": { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 3.0, - "maxResourcePercentPerRequest": 3.0, - "importance": "normal", - "queryExecutionTimeout": 0 - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/workloadGroups/smallrc", - "name": "smallrc", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMin.json deleted file mode 100644 index de22a1c58279..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateSqlPoolWorkloadGroupMin.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "workloadGroupName": "smallrc", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 3.0 - } - } - }, - "responses": { - "200": { - "body": { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 3.0, - "maxResourcePercentPerRequest": 3.0, - "importance": "normal", - "queryExecutionTimeout": 0 - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/workloadGroups/smallrc", - "name": "smallrc", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" - } - }, - "201": { - "body": { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 3.0, - "maxResourcePercentPerRequest": 3.0, - "importance": "normal", - "queryExecutionTimeout": 0 - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/workloadGroups/smallrc", - "name": "smallrc", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateVulnerabilityAssessmentWithStorageAccessKeyAndMinParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateVulnerabilityAssessmentWithStorageAccessKeyAndMinParameters.json deleted file mode 100644 index b193ab4f97d3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateVulnerabilityAssessmentWithStorageAccessKeyAndMinParameters.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "workspaceName": "vulnerabilityaseessmenttest-6440", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments", - "properties": { - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": false, - "emails": [] - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments", - "properties": { - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": false, - "emails": [] - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateWorkspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateWorkspace.json deleted file mode 100644 index d2265d764ece..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateWorkspace.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01", - "workspaceInfo": { - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/resourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uami1": {} - } - }, - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "managedVirtualNetworkSettings": { - "preventDataExfiltration": false, - "linkedAccessCheckOnTargetResource": false, - "allowedAadTenantIdsForLinking": [ - "740239CE-A25B-485B-86A0-262F29F6EBDB" - ] - }, - "purviewConfiguration": { - "purviewResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.ProjectPurview/accounts/accountname1" - }, - "sqlAdministratorLogin": "login", - "sqlAdministratorLoginPassword": "password", - "managedVirtualNetwork": "default", - "managedResourceGroupName": "workspaceManagedResourceGroupUnique", - "workspaceRepositoryConfiguration": { - "type": "FactoryGitHubConfiguration", - "hostName": "", - "accountName": "mygithubaccount", - "projectName": "myproject", - "repositoryName": "myrepository", - "collaborationBranch": "master", - "rootFolder": "/" - }, - "encryption": { - "cmk": { - "kekIdentity": { - "userAssignedIdentity": "/subscriptions/b64d7b94-73e7-4d36-94b2-7764ea3fd74a/resourcegroups/SynapseCI/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uami1", - "useSystemAssignedIdentity": false - }, - "key": { - "name": "default", - "keyVaultUrl": "https://vault.azure.net/keys/key1" - } - } - }, - "publicNetworkAccess": "Enabled", - "cspWorkspaceAdminProperties": { - "initialWorkspaceAdminObjectId": "6c20646f-8050-49ec-b3b1-80a0e58e454d" - } - }, - "location": "East US", - "tags": { - "key": "value" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1", - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/resourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uami1": { - "clientId": "ffffffff-8888-4444-8888-333333333333", - "principalId": "eeeeeeee-9999-4444-8888-333333333333" - } - }, - "principalId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444" - }, - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "connectivityEndpoints": { - "dev": "workspace1.dev.projectarcadia.net", - "sql": "workspace1.sql.projectarcadia.net" - }, - "managedVirtualNetworkSettings": { - "preventDataExfiltration": false, - "linkedAccessCheckOnTargetResource": false, - "allowedAadTenantIdsForLinking": [ - "740239CE-A25B-485B-86A0-262F29F6EBDB" - ] - }, - "purviewConfiguration": { - "purviewResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.ProjectPurview/accounts/accountname1" - }, - "sqlAdministratorLogin": "login", - "managedResourceGroupName": "workspaceManagedResourceGroupUnique", - "managedVirtualNetwork": "default", - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection", - "name": "sql", - "type": "Microsoft.Synapse/workspaces/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-approved", - "actionsRequired": "None" - } - } - } - ], - "workspaceUID": "00000000-1111-2222-3333-444444444444", - "encryption": { - "doubleEncryptionEnabled": true, - "cmk": { - "kekIdentity": { - "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/resourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uami1", - "useSystemAssignedIdentity": false - }, - "status": "Consistent", - "key": { - "name": "default", - "keyVaultUrl": "https://vault.azure.net/keys/key1" - } - } - }, - "publicNetworkAccess": "Enabled" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1", - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "identity": { - "type": "SystemAssigned,UserAssigned", - "userAssignedIdentities": { - "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/resourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uami1": { - "clientId": "ffffffff-8888-4444-8888-333333333333", - "principalId": "eeeeeeee-9999-4444-8888-333333333333" - } - }, - "principalId": "00000000-1111-2222-3333-444444444444", - "tenantId": "00000000-1111-2222-3333-444444444444" - }, - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "managedVirtualNetworkSettings": { - "preventDataExfiltration": false, - "linkedAccessCheckOnTargetResource": false, - "allowedAadTenantIdsForLinking": [ - "740239CE-A25B-485B-86A0-262F29F6EBDB" - ] - }, - "purviewConfiguration": { - "purviewResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.ProjectPurview/accounts/accountname1" - }, - "connectivityEndpoints": { - "dev": "workspace1.dev.projectarcadia.net", - "sql": "workspace1.sql.projectarcadia.net" - }, - "sqlAdministratorLogin": "login", - "managedResourceGroupName": "workspaceManagedResourceGroupUnique", - "managedVirtualNetwork": "default", - "provisioningState": "Provisioning", - "workspaceUID": "86984b43-b873-4b91-bacd-2ca083a104c7", - "encryption": { - "doubleEncryptionEnabled": true, - "cmk": { - "kekIdentity": { - "userAssignedIdentity": "/subscriptions/00000000-1111-2222-3333-444444444444/resourcegroups/resourceGroup1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/uami1", - "useSystemAssignedIdentity": false - }, - "status": "Consistent", - "key": { - "name": "default", - "keyVaultUrl": "https://vault.azure.net/keys/key1" - } - } - }, - "publicNetworkAccess": "Enabled" - }, - "tags": { - "key": "value" - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateWorkspaceAadAdmin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateWorkspaceAadAdmin.json deleted file mode 100644 index 1db618178131..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateOrUpdateWorkspaceAadAdmin.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01", - "aadAdminInfo": { - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", - "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/administrators/activeDirectory", - "name": "activeDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", - "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" - } - } - }, - "202": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/administrators/activeDirectory", - "name": "activeDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", - "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPool.json deleted file mode 100644 index 9acce37d845e..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPool.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "sqlPoolName": "ExampleSqlPool", - "api-version": "2023-05-01", - "sqlPoolInfo": { - "tags": {}, - "sku": { - "tier": "", - "name": "" - }, - "location": "Southeast Asia", - "properties": { - "maxSizeBytes": 0, - "collation": "", - "sourceDatabaseId": "", - "recoverableDatabaseId": "", - "createMode": "", - "storageAccountType": "LRS" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspaces/sqlPools/ExampleSqlPool", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "name": "ExampleSqlPool", - "location": "Southeast Asia", - "tags": {}, - "sku": { - "tier": "", - "name": "" - }, - "properties": { - "maxSizeBytes": 0, - "collation": "", - "recoverableDatabaseId": "", - "provisioningState": "Provisioning", - "status": "Paused", - "restorePointInTime": "1970-01-01T00:00:00.000Z", - "creationDate": "1970-01-01T00:00:00.000Z", - "storageAccountType": "LRS" - } - } - }, - "202": {}, - "404": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPoolMetadataSyncConfig.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPoolMetadataSyncConfig.json deleted file mode 100644 index 71696f048bcf..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPoolMetadataSyncConfig.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "sqlPoolName": "ExampleSqlPool", - "api-version": "2023-05-01", - "metadataSyncConfiguration": { - "properties": { - "enabled": true - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool/metadataSync/config", - "type": "Microsoft.Synapse/workspaces/bigDataPools/metadataSync/config", - "name": "config", - "properties": { - "enabled": true - } - } - }, - "404": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPoolRestorePoints.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPoolRestorePoints.json deleted file mode 100644 index 417ae371869f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateSqlPoolRestorePoints.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "location": "japaneast", - "workspaceName": "testserver", - "sqlPoolName": "testDatabase", - "api-version": "2023-05-01", - "parameters": { - "restorePointLabel": "mylabel" - } - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131546477590000000", - "name": "131546477590000000", - "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints", - "location": "japaneast", - "properties": { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-03-10T08:00:00.000Z", - "restorePointLabel": "mylabel" - } - } - }, - "201": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131546477590000000", - "name": "131546477590000000", - "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints", - "location": "japaneast", - "properties": { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-03-10T08:00:00.000Z", - "restorePointLabel": "mylabel" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithAllParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithAllParameters.json deleted file mode 100644 index 924b68da4027..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithAllParameters.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "queueDelayMs": 4000, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ], - "isAzureMonitorTargetEnabled": true - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/auditingSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/auditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "queueDelayMs": 4000, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ], - "isAzureMonitorTargetEnabled": true - } - } - }, - "202": { - "startTime": "2017-11-22T09:34:54.72Z", - "operation": "UpsertServerEngineAuditingPolicy" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithMinParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithMinParameters.json deleted file mode 100644 index aa3e515eee5d..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithMinParameters.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/auditingSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/auditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ] - } - } - }, - "202": { - "startTime": "2017-11-22T09:34:54.72Z", - "operation": "UpsertServerEngineAuditingPolicy" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerExetendedBlobAuditingSettingsWithMinParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerExetendedBlobAuditingSettingsWithMinParameters.json deleted file mode 100644 index dff242687354..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerExetendedBlobAuditingSettingsWithMinParameters.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/extendedAuditingSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ], - "isAzureMonitorTargetEnabled": false - } - } - }, - "202": { - "startTime": "2017-11-22T09:34:54.72Z", - "operation": "UpsertServerEngineAuditingPolicy" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerExtendedBlobAuditingSettingsWithAllParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerExtendedBlobAuditingSettingsWithAllParameters.json deleted file mode 100644 index c546fe849a4c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/CreateWorkspaceManagedSqlServerExtendedBlobAuditingSettingsWithAllParameters.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ], - "predicateExpression": "object_name = 'SensitiveData'", - "isAzureMonitorTargetEnabled": true - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/extendedAuditingSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ], - "predicateExpression": "object_name = 'SensitiveData'", - "isAzureMonitorTargetEnabled": true - } - } - }, - "202": { - "startTime": "2017-11-22T09:34:54.72Z", - "operation": "UpsertServerEngineAuditingPolicy" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyCreateOrUpdateMax.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyCreateOrUpdateMax.json deleted file mode 100644 index ee3c7a2d4992..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyCreateOrUpdateMax.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "dataMaskingState": "Enabled", - "exemptPrincipals": "testuser;" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies", - "location": "Central US", - "kind": null, - "properties": { - "dataMaskingState": "Enabled", - "applicationPrincipals": "", - "exemptPrincipals": "testuser;", - "maskingLevel": "" - }, - "managedBy": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-331" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyCreateOrUpdateMin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyCreateOrUpdateMin.json deleted file mode 100644 index 432c6bb6f71c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyCreateOrUpdateMin.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "dataMaskingState": "Enabled" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies", - "location": "Central US", - "kind": null, - "properties": { - "dataMaskingState": "Enabled", - "applicationPrincipals": "", - "exemptPrincipals": "", - "maskingLevel": "" - }, - "managedBy": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-331" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyGet.json deleted file mode 100644 index 4775c3d1fd09..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingPolicyGet.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies", - "location": "Central US", - "kind": null, - "properties": { - "dataMaskingState": "Enabled", - "applicationPrincipals": "", - "exemptPrincipals": "", - "maskingLevel": "" - }, - "managedBy": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-331" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json deleted file mode 100644 index 0f9f3ad7ad5a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateDefaultMax.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2023-05-01", - "dataMaskingRuleName": "rule1", - "parameters": { - "properties": { - "aliasName": "nickname", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "maskingFunction": "Default", - "ruleState": "Enabled" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": "nickname", - "maskingFunction": "Default", - "numberFrom": null, - "numberTo": null, - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": "nickname", - "maskingFunction": "Default", - "numberFrom": null, - "numberTo": null, - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json deleted file mode 100644 index c100d6869404..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateDefaultMin.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2023-05-01", - "dataMaskingRuleName": "rule1", - "parameters": { - "properties": { - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "maskingFunction": "Default" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Default", - "numberFrom": null, - "numberTo": null, - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Default", - "numberFrom": null, - "numberTo": null, - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateNumber.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateNumber.json deleted file mode 100644 index 96c4b6390f5c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateNumber.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2023-05-01", - "dataMaskingRuleName": "rule1", - "parameters": { - "properties": { - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "maskingFunction": "Number", - "numberFrom": "0", - "numberTo": "2" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Number", - "numberFrom": "0", - "numberTo": "2", - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Number", - "numberFrom": "0", - "numberTo": "2", - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateText.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateText.json deleted file mode 100644 index 3ff73b899e29..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleCreateOrUpdateText.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2023-05-01", - "dataMaskingRuleName": "rule1", - "parameters": { - "properties": { - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "maskingFunction": "Text", - "prefixSize": "1", - "suffixSize": "0", - "replacementString": "asdf" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Text", - "numberFrom": null, - "numberTo": null, - "prefixSize": "1", - "suffixSize": "0", - "replacementString": "asdf" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Text", - "numberFrom": null, - "numberTo": null, - "prefixSize": "1", - "suffixSize": "0", - "replacementString": "asdf" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleGet.json deleted file mode 100644 index 09705ec3afe9..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleGet.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "dataMaskingRuleName": "rule1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": "rule1", - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Text", - "numberFrom": null, - "numberTo": null, - "prefixSize": "1", - "suffixSize": "0", - "replacementString": "asdf" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleList.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleList.json deleted file mode 100644 index a79ee97f1fcc..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DataMaskingRuleList.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-331", - "dataMaskingPolicyName": "Default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Text", - "numberFrom": null, - "numberTo": null, - "prefixSize": "1", - "suffixSize": "0", - "replacementString": "asdf" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6852/sqlPools/sqlcrudtest-331/dataMaskingPolicies/Default/rules/", - "name": null, - "type": "Microsoft.Synapse/workspaces/sqlPools/dataMaskingPolicies/rules", - "location": "Central US", - "kind": null, - "properties": { - "id": "dbo_Table_1_test1", - "ruleState": "Enabled", - "schemaName": "dbo", - "tableName": "Table_1", - "columnName": "test1", - "aliasName": null, - "maskingFunction": "Number", - "numberFrom": "0", - "numberTo": "2", - "prefixSize": null, - "suffixSize": null, - "replacementString": null - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteBigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteBigDataPool.json deleted file mode 100644 index 65916d7d1d36..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteBigDataPool.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "bigDataPoolName": "ExamplePool", - "api-version": "2023-05-01" - }, - "responses": { - "204": {}, - "200": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool", - "type": "Microsoft.Synapse/workspaces/bigDataPools", - "location": "West US 2", - "name": "ExamplePool", - "tags": {}, - "properties": { - "provisioningState": "Deleting", - "sparkVersion": "3.3", - "nodeCount": 4, - "nodeSize": "Medium", - "nodeSizeFamily": "MemoryOptimized", - "autoScale": { - "enabled": true, - "minNodeCount": 3, - "maxNodeCount": 50 - }, - "autoPause": { - "enabled": true, - "delayInMinutes": 15 - }, - "creationDate": "1970-01-01T00:00:00Z", - "sparkEventsFolder": "/events", - "libraryRequirements": { - "time": "1970-01-01T00:00:00Z", - "content": "", - "filename": "requirements.txt" - }, - "defaultSparkLogFolder": "/logs", - "isAutotuneEnabled": false - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool", - "type": "Microsoft.Synapse/workspaces/bigDataPools", - "location": "West US 2", - "name": "ExamplePool", - "tags": {}, - "properties": { - "provisioningState": "Deleting", - "sparkVersion": "3.3", - "nodeCount": 4, - "nodeSize": "Medium", - "nodeSizeFamily": "MemoryOptimized", - "autoScale": { - "enabled": true, - "minNodeCount": 3, - "maxNodeCount": 50 - }, - "autoPause": { - "enabled": true, - "delayInMinutes": 15 - }, - "creationDate": "1970-01-01T00:00:00Z", - "sparkEventsFolder": "/events", - "libraryRequirements": { - "time": "1970-01-01T00:00:00Z", - "content": "", - "filename": "requirements.txt" - }, - "defaultSparkLogFolder": "/logs", - "isAutotuneEnabled": false - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteIpFirewallRule.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteIpFirewallRule.json deleted file mode 100644 index 74ad60229ee1..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteIpFirewallRule.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "ruleName": "ExampleIpFirewallRule", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule", - "type": "Microsoft.Synapse/workspaces/firewallRules", - "name": "ExampleIpFirewallRule", - "properties": { - "startIpAddress": "10.0.0.0", - "endIpAddress": "10.0.0.254", - "provisioningState": "Deleting" - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-05-01", - "Location": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" - } - }, - "204": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteKey.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteKey.json deleted file mode 100644 index 620670b97799..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteKey.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "keyName": "somekey", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/keys/somekey", - "type": "Microsoft.Synapse/workspaces/keys", - "name": "somekey", - "properties": { - "isActiveCMK": true, - "keyVaultUrl": "https://vault.azure.net/keys/key1" - } - } - }, - "204": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeletePrivateEndpointConnection.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeletePrivateEndpointConnection.json deleted file mode 100644 index 2e681e853466..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeletePrivateEndpointConnection.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "privateEndpointConnectionName": "ExamplePrivateEndpointConnection", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "status": "InProgress" - } - }, - "204": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeletePrivateLinkHub.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeletePrivateLinkHub.json deleted file mode 100644 index 10a213f4c4dc..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeletePrivateLinkHub.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "privateLinkHubName": "privateLinkHub1", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/providers/Microsoft.Synapse/locations/exampleLocation/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-05-01", - "Location": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/providers/Microsoft.Synapse/locations/exampleLocation/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" - } - }, - "204": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPool.json deleted file mode 100644 index ad7b17867ce7..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPool.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "sqlPoolName": "ExampleSqlPool", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool", - "name": "ExampleSqlPool", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "West US 2", - "properties": { - "provisioningState": "Deleting", - "status": "Paused" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/sqlPools/ExampleSqlPool", - "name": "ExampleSqlPool", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "West US 2", - "properties": { - "provisioningState": "Deleting", - "status": "Paused" - } - } - }, - "204": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolColumnSensitivityLabel.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolColumnSensitivityLabel.json deleted file mode 100644 index 540d9af87733..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolColumnSensitivityLabel.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "myServer", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "current", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolVulnerabilityAssessment.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolVulnerabilityAssessment.json deleted file mode 100644 index a3dee68c6cf0..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolVulnerabilityAssessment.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "workspaceName": "vulnerabilityaseessmenttest-6440", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolVulnerabilityAssessmentRuleBaseline.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolVulnerabilityAssessmentRuleBaseline.json deleted file mode 100644 index d43498b52cea..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolVulnerabilityAssessmentRuleBaseline.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "workspaceName": "vulnerabilityaseessmenttest-6440", - "sqlPoolName": "testdb", - "baselineName": "default", - "ruleId": "VA1001", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolWorkloadGroup.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolWorkloadGroup.json deleted file mode 100644 index d5c4eeb8d18a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolWorkloadGroup.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "workloadGroupName": "wlm_workloadgroup", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - }, - "204": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolWorkloadGroupWorkloadClassifer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolWorkloadGroupWorkloadClassifer.json deleted file mode 100644 index 30c964338b90..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteSqlPoolWorkloadGroupWorkloadClassifer.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "workloadGroupName": "wlm_workloadgroup", - "workloadClassifierName": "wlm_workloadclassifier", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - }, - "204": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspace.json deleted file mode 100644 index 5500b36b5524..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspace.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01" - }, - "responses": { - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1", - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "connectivityEndpoints": { - "dev": "workspace1.dev.projectarcadia.net", - "sql": "workspace1.sql.projectarcadia.net" - }, - "sqlAdministratorLogin": "login", - "managedResourceGroupName": "resourceGroup2", - "provisioningState": "Deleting" - }, - "tags": { - "key": "value" - } - } - }, - "204": {}, - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1", - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "connectivityEndpoints": { - "dev": "workspace1.dev.projectarcadia.net", - "sql": "workspace1.sql.projectarcadia.net" - }, - "sqlAdministratorLogin": "login", - "managedResourceGroupName": "resourceGroup2", - "provisioningState": "Deleting" - }, - "tags": { - "key": "value" - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspaceAadAdmin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspaceAadAdmin.json deleted file mode 100644 index 2762b280891c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspaceAadAdmin.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "204": {}, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspaceManagedSqlServerVulnerabilityAssessment.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspaceManagedSqlServerVulnerabilityAssessment.json deleted file mode 100644 index bd87bd7a435c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/DeleteWorkspaceManagedSqlServerVulnerabilityAssessment.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExecuteSqlPoolVulnerabilityAssessmentScans.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExecuteSqlPoolVulnerabilityAssessmentScans.json deleted file mode 100644 index e24a9fba70b8..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExecuteSqlPoolVulnerabilityAssessmentScans.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityassessmenttest-4711", - "workspaceName": "vulnerabilityassessmenttest-6411", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "scanId": "scan01", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExportSqlPoolVulnerabilityAssessmentScan.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExportSqlPoolVulnerabilityAssessmentScan.json deleted file mode 100644 index 7d3af8ba1d81..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExportSqlPoolVulnerabilityAssessmentScan.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityassessmenttest-4799", - "workspaceName": "vulnerabilityassessmenttest-6440", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "scanId": "scan001", - "api-version": "2023-05-01", - "parameters": {} - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityassessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default/scans/scan001/export", - "name": "scan001", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/scans/export", - "properties": { - "exportedReportLocation": "https://myaccount.blob.core.windows.net/vulnerabilityAssessment/vulnerabilityassessmenttest-6440/testdb/scan001.xlsx" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityassessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default/scans/scan001/export", - "name": "scan001", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/scans/export", - "properties": { - "exportedReportLocation": "https://myaccount.blob.core.windows.net/vulnerabilityAssessment/vulnerabilityassessmenttest-6440/testdb/scan001.xlsx" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolAzureMonitorAuditingCreateMin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolAzureMonitorAuditingCreateMin.json deleted file mode 100644 index e21f6be1374f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolAzureMonitorAuditingCreateMin.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-4799", - "workspaceName": "blobauditingtest-6440", - "sqlPoolName": "testdb", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "isAzureMonitorTargetEnabled": true - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "isAzureMonitorTargetEnabled": true, - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ] - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "isAzureMonitorTargetEnabled": true, - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ] - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingCreateMax.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingCreateMax.json deleted file mode 100644 index 2ccecd239f6c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingCreateMax.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-4799", - "workspaceName": "blobauditingtest-6440", - "sqlPoolName": "testdb", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 6, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "DATABASE_LOGOUT_GROUP", - "DATABASE_ROLE_MEMBER_CHANGE_GROUP", - "UPDATE on database::TestDatabaseName by public" - ], - "predicateExpression": "statement = 'select 1'", - "isAzureMonitorTargetEnabled": true - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "DATABASE_LOGOUT_GROUP", - "DATABASE_ROLE_MEMBER_CHANGE_GROUP", - "UPDATE on database::TestDatabaseName by public" - ], - "predicateExpression": "statement = 'select 1'", - "isAzureMonitorTargetEnabled": true - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-1234-0000-5678-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "DATABASE_LOGOUT_GROUP", - "DATABASE_ROLE_MEMBER_CHANGE_GROUP", - "UPDATE on database::TestDatabaseName by public" - ], - "predicateExpression": "statement = 'select 1'", - "isAzureMonitorTargetEnabled": true - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingCreateMin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingCreateMin.json deleted file mode 100644 index 2a34ee80acd0..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingCreateMin.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-4799", - "workspaceName": "blobauditingtest-6440", - "sqlPoolName": "testdb", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ], - "isAzureMonitorTargetEnabled": false - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-4799/providers/Microsoft.Synapse/workspaces/blobauditingtest-6440/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings", - "properties": { - "state": "Enabled", - "storageEndpoint": "https://mystorage.blob.core.windows.net", - "retentionDays": 0, - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "auditActionsAndGroups": [ - "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", - "FAILED_DATABASE_AUTHENTICATION_GROUP", - "BATCH_COMPLETED_GROUP" - ], - "isAzureMonitorTargetEnabled": false - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingGet.json deleted file mode 100644 index c620f074d993..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ExtendedSqlPoolBlobAuditingGet.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-6852", - "workspaceName": "blobauditingtest-2080", - "sqlPoolName": "testdb", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Synapse/workspaces/blobauditingtest-2080/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "predicateExpression": "statement = 'select 1'", - "isAzureMonitorTargetEnabled": false - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAvailableOperations.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAvailableOperations.json deleted file mode 100644 index b00a96c337c9..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAvailableOperations.json +++ /dev/null @@ -1,1480 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": [ - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Get Integration Runtime Operation result.", - "description": "Get any Integration Runtime." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/managedIdentitySqlControlSettings/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Managed Identity SQL Control Settings", - "operation": "Update Managed Identity SQL Control Settings", - "description": "Update Managed Identity SQL Control Settings on the workspace" - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/managedIdentitySqlControlSettings/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Managed Identity SQL Control Settings", - "operation": "Get Managed Identity SQL Control Settings", - "description": "Get Managed Identity SQL Control Settings" - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/operations/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Available Operations", - "operation": "Read Available Operations.", - "description": "Read Available Operations from the Analytics 365 Resource Provider." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/nodes/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Get Integration Runtime Node.", - "description": "Get any Integration Runtime Node." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/nodes/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Delete Integration Runtime Node.", - "description": "Delete any Integration Runtime Node." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/nodes/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Patch Integration Runtime Node.", - "description": "Patch any Integration Runtime Node." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/nodes/ipAddress/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Get Integration Runtime Ip Address", - "description": "Get Integration Runtime Ip Address" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationruntimes/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Create or Update Integration Runtimes.", - "description": "Create or Update any Integration Runtimes." - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Delete Integration Runtimes", - "description": "Delete any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/getStatus/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Get an Integration Runtime Status", - "description": "Get any Integration Runtime's Status" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/start/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Start an Integration Runtime", - "description": "Start any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/stop/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Stop an Integration Runtime", - "description": "Stop any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/getConnectionInfo/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Get Connection Info of an Integration Runtime", - "description": "Get Connection Info of any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/regenerateAuthKey/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Regenerate auth key of an Integration Runtime", - "description": "Regenerate auth key of any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/listAuthKeys/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "List Auth Keys of an Integration Runtime", - "description": "List Auth Keys of any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/removeNode/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Remove an Integration Runtime node", - "description": "Remove any Integration Runtime node" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/monitoringData/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Get an Integration Runtime's monitoring data", - "description": "Get any Integration Runtime's monitoring data" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/syncCredentials/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Sync credential on an Integration Runtime", - "description": "Sync credential on any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/upgrade/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Upgrade an Integration Runtime", - "description": "Upgrade any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/removeLinks/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Remove an Integration Runtime link", - "description": "Remove any Integration Runtime link" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/enableInteractiveQuery/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Enable Interactive query on an Integration Runtime", - "description": "Enable Interactive query on any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/disableInteractiveQuery/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Disable Interactive query on an Integration Runtime", - "description": "Disable Interactive query on any Integration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/refreshObjectMetadata/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Refresh Object metadata on an Intergration Runtime", - "description": "Refresh Object metadata on any Intergration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/integrationRuntimes/getObjectMetadata/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Integration Runtimes.", - "operation": "Get Object metadata on an Intergration Runtime", - "description": "Get Object metadata on any Intergration Runtime" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/firewallRules/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "IP Firewall Rule.", - "operation": "Create or update IP Firewall Rule.", - "description": "Create or update any IP Firewall Rule." - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/firewallRules/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "IP Firewall Rule.", - "operation": "Read IP Firewall Rule", - "description": "Read IP Firewall Rule" - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/firewallRules/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "IP Firewall Rule.", - "operation": "Delete IP Firewall Rule", - "description": "Delete any IP Firewall Rule." - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/replaceAllIpFirewallRules/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Workspaces", - "operation": "Replace all Ip Firewall Rules for the Workspace.", - "description": "Replaces all Ip Firewall Rules for the Workspace." - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pools", - "operation": "Create or Update SQL Analytics pools.", - "description": "Create or Update any SQL Analytics pools." - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pools", - "operation": "Read SQL Analytics pools.", - "description": "Read any SQL Analytics pools." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/dataWarehouseQueries/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Queries", - "operation": "Read SQL Analytics pool Queries.", - "description": "Read any SQL Analytics pool Queries." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Geo Backup Policies", - "operation": "Read SQL Analytics pool Geo Backup Policies.", - "description": "Read any SQL Analytics pool Geo Backup Policies." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/dataWarehouseUserActivities/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool User Activities", - "operation": "Read SQL Analytics pool User Activities.", - "description": "Read any SQL Analytics pool User Activities." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/restorePoints/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Restore Points", - "operation": "Read SQL Analytics pool Restore Points.", - "description": "Read any SQL Analytics pool Restore Points." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/dataWarehouseQueries/dataWarehouseQuerySteps/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Query Steps", - "operation": "Read SQL Analytics pool Query Steps.", - "description": "Read any SQL Analytics pool Query Steps." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/maintenanceWindows/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Maintenance Windows", - "operation": "Read SQL Analytics pool Maintenance Windows.", - "description": "Read any SQL Analytics pool Maintenance Windows." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/maintenanceWindowOptions/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Maintenance Window Options", - "operation": "Read SQL Analytics pool Maintenance Window Options.", - "description": "Read any SQL Analytics pool Maintenance Window Options." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/replicationLinks/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Replication Links", - "operation": "Read SQL Analytics pool Replication Links.", - "description": "Read any SQL Analytics pool Replication Links." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Transparent Data Encryption Configuration", - "operation": "Read SQL Analytics pool Transparent Data Encryption Configuration.", - "description": "Read any SQL Analytics pool Transparent Data Encryption Configuration." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption/operationResults/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Transparent Data Encryption Configuration Operation Results", - "operation": "Read SQL Analytics pool Transparent Data Encryption Configuration Operation Results.", - "description": "Read any SQL Analytics pool Transparent Data Encryption Configuration Operation Results." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Auditing Settings", - "operation": "Read SQL Analytics pool Auditing Settings.", - "description": "Read any SQL Analytics pool Auditing Settings." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/operations/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Operations", - "operation": "Read SQL Analytics pool Operations.", - "description": "Read any SQL Analytics pool Operations." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/usages/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Usages", - "operation": "Read SQL Analytics pool Usages.", - "description": "Read any SQL Analytics pool Usages." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/currentSensitivityLabels/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Current Sensitivity Labels", - "operation": "Read SQL Analytics pool Current Sensitivity Labels.", - "description": "Read any SQL Analytics pool Current Sensitivity Labels." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/recommendedSensitivityLabels/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Recommended Sensitivity Labels", - "operation": "Read SQL Analytics pool Recommended Sensitivity Labels.", - "description": "Read any SQL Analytics pool Recommended Sensitivity Labels." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/schemas/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Schemas", - "operation": "Read SQL Analytics pool Schemas.", - "description": "Read any SQL Analytics pool Schemas." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Schema Tables", - "operation": "Read SQL Analytics pool Schema Tables.", - "description": "Read any SQL Analytics pool Schema Tables." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Schema Table Columns", - "operation": "Read SQL Analytics pool Schema Table Columns.", - "description": "Read any SQL Analytics pool Schema Table Columns." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/connectionPolicies/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Connection Policies", - "operation": "Read SQL Analytics pool Connection Policies.", - "description": "Read any SQL Analytics pool Connection Policies." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Vulnerability Assessment", - "operation": "Read SQL Analytics pool Vulnerability Assessment.", - "description": "Read any SQL Analytics pool Vulnerability Assessment." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/scans/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Vulnerability Assessment Scan Records", - "operation": "Read SQL Analytics pool Vulnerability Assessment Scan Records.", - "description": "Read any SQL Analytics pool Vulnerability Assessment Scan Records." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Security Alert Policies", - "operation": "Read Sql Analytics pool Threat Detection Policies.", - "description": "Read any Sql Analytics pool Threat Detection Policies." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pools", - "operation": "Delete SQL Analytics pools.", - "description": "Delete any SQL Analytics pools." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/pause/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pools", - "operation": "Pause SQL Analytics pools.", - "description": "Pause any SQL Analytics pools." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/resume/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pools", - "operation": "Resume SQL Analytics pools.", - "description": "Resume any SQL Analytics pools." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/restorePoints/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Restore Points", - "operation": "Create SQL Analytics pool Restore Point.", - "description": "Create a SQL Analytics pool Restore Point." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/move/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pools", - "operation": "Rename SQL Analytics pools.", - "description": "Rename any SQL Analytics pools." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels/enable/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Sensitivity Labels", - "operation": "Enable SQL Analytics pool Sensitivity Labels.", - "description": "Enable any SQL Analytics pool Sensitivity Labels." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels/disable/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Sensitivity Labels", - "operation": "Disable SQL Analytics pool Sensitivity Labels.", - "description": "Disable any SQL Analytics pool Sensitivity Labels." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/scans/initiateScan/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Vulnerability Assessment Scan Records", - "operation": "Initiate SQL Analytics pool Vulnerability Assessment Scan Records.", - "description": "Initiate any SQL Analytics pool Vulnerability Assessment Scan Records." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/scans/export/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Vulnerability Assessment Scan Records", - "operation": "Export SQL Analytics pool Vulnerability Assessment Scan Records.", - "description": "Export any SQL Analytics pool Vulnerability Assessment Scan Records." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/maintenanceWindows/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Maintenance Windows", - "operation": "Create or Update SQL Analytics pool Maintenance Windows.", - "description": "Read any SQL Analytics pool Maintenance Windows." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Auditing Settings", - "operation": "Create or Update SQL Analytics pool Auditing Settings.", - "description": "Create or Update any SQL Analytics pool Auditing Settings." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Sensitivity Labels", - "operation": "Create or update SQL Analytics pool Sensitivity Labels.", - "description": "Create or Update any SQL Analytics pool Sensitivity Labels." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Transparent Data Encryption Configuration", - "operation": "Create or Update SQL Analytics pool Transparent Data Encryption Configuration.", - "description": "Create or Update any SQL Analytics pool Transparent Data Encryption Configuration." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Security Alert Policies", - "operation": "Create or Update SQL Analytics pool Threat Detection Policies.", - "description": "Create or Update any SQL Analytics pool Threat Detection Policies." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/rules/baselines/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Vulnerability Assessment Rule Baseline", - "operation": "Create or Update SQL Analytics pool Vulnerability Assessment Rule Baseline.", - "description": "Create or Update any SQL Analytics pool Vulnerability Assessment Rule Baseline." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Sensitivity Labels", - "operation": "Delete SQL Analytics pool Sensitivity Labels.2", - "description": "Delete any SQL Analytics pool Sensitivity Labels." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Vulnerability Assessment", - "operation": "Delete SQL Analytics pool Vulnerability Assessment.", - "description": "Delete any SQL Analytics pool Vulnerability Assessment." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/rules/baselines/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Vulnerability Assessment Rule Baseline", - "operation": "Delete SQL Analytics pool Vulnerability Assessment Rule Baseline.", - "description": "Delete any SQL Analytics pool Vulnerability Assessment Rule Baseline." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/operationStatus/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Async Operation Status.", - "operation": "Read Async Operation Status.", - "description": "Read any Async Operation Status." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/operationResults/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Async Operation Result", - "operation": "Read Async Operation Result.", - "description": "Read any Async Operation Result." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/operationResults/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Async Operation Result", - "operation": "Read Async Operation Result.", - "description": "Read any Async Operation Result." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/checkNameAvailability/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Check Name Availability", - "operation": "Checks Workspace name availability.", - "description": "Checks Workspace name availability." - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/bigDataPools/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Spark pools", - "operation": "Create or Update Spark pools.", - "description": "Create or Update any Spark pools." - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/bigDataPools/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Spark pools", - "operation": "Read Spark pools.", - "description": "Read any Spark pools." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/bigDataPools/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Spark pools", - "operation": "Delete Spark pools.", - "description": "Delete any Spark pools." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/metadataSync/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Metadata Sync Config", - "operation": "Read SQL Analytics pool Metadata Sync Config", - "description": "Read SQL Analytics pool Metadata Sync Config" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlPools/metadataSync/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Metadata Sync Config", - "operation": "Create or Update SQL Analytics pool Metadata Sync Config", - "description": "Create or Update SQL Analytics pool Metadata Sync Config" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/register/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Analytics 365 Resource Provider.", - "operation": "Registers the Analytics 365 Resource Provider.", - "description": "Registers the Analytics 365 Resource Provider and enables the creation of Workspaces." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/administrators/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Administrators", - "operation": "Set Active Directory Administrator", - "description": "Set Active Directory Administrator on the Workspace" - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/administrators/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Administrators", - "operation": "Get Workspace Active Directory Administrator", - "description": "Get Workspace Active Directory Administrator" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/administrators/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Administrators", - "operation": "Delete Workspace Active Directory Administrator", - "description": "Delete Workspace Active Directory Administrator" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Workspaces", - "operation": "Create or Update Workspaces.", - "description": "Create or Update any Workspaces." - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Workspaces", - "operation": "Read Workspaces.", - "description": "Read any Workspaces." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Workspaces", - "operation": "Delete Workspaces.", - "description": "Delete any Workspaces." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/privateEndpointConnectionProxies/validate/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Validate Private Endpoint Connection Proxy", - "operation": "Validates Private Endpoint Connection Proxy", - "description": "Validates Private Endpoint Connection Proxy" - }, - "origin": "system" - }, - { - "name": "Microsoft.Synapse/workspaces/privateEndpointConnectionProxies/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Private Endpoint Connection Proxy", - "operation": "Create or Update Private Endpoint Connection Proxy", - "description": "Create or Update Private Endpoint Connection Proxy" - }, - "origin": "system" - }, - { - "name": "Microsoft.Synapse/workspaces/privateEndpointConnectionProxies/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Private Endpoint Connection Proxy", - "operation": "Read Private Endpoint Connection Proxies", - "description": "Read any Private Endpoint Connection Proxy" - }, - "origin": "system" - }, - { - "name": "Microsoft.Synapse/workspaces/privateLinkResources/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Private Link Resources", - "operation": "Get Private Link Resources", - "description": "Get a list of Private Link Resources" - }, - "origin": "user" - }, - { - "name": "Microsoft.Synapse/workspaces/serverKeys/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Key", - "operation": "Creates or updates a server key", - "description": "Creates or updates a server key" - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/serverKeys/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Key", - "operation": "Deletes the server key with the given name.", - "description": "Deletes the server key with the given name." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/extendedAuditingSettings/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Extended Auditing Settings", - "operation": "Create or Update SQL server extended auditing settings.", - "description": "Create or Update SQL server extended auditing settings." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/extendedAuditingSettings/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Extended Auditing Settings", - "operation": "Read SQL server extended auditing settings.", - "description": "Read SQL server extended auditing settings." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/auditingSettings/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Auditing Settings", - "operation": "Create or Update SQL server auditing settings.", - "description": "Create or Update SQL server auditing settings." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/auditingSettings/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Auditing Settings", - "operation": "Read SQL server auditing settings.", - "description": "Read SQL server auditing settings." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/securityAlertPolicies/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Security Alert Policy", - "operation": "Create or Update SQL server security alert policies.", - "description": "Create or Update SQL server security alert policies." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/securityAlertPolicies/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Security Alert Policy", - "operation": "Read SQL server security alert policies.", - "description": "Read SQL server security alert policies." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/vulnerabilityAssessments/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Vulnerability Assesment", - "operation": "Create or Update SQL server vulnerability assement report.", - "description": "Create or Update SQL server vulnerability assement report." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/vulnerabilityAssessments/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Vulnerability Assesment", - "operation": "Read SQL server vulnerability assement report.", - "description": "Read SQL server vulnerability assement report." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/vulnerabilityAssessments/delete", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Vulnerability Assesment", - "operation": "Delete SQL server vulnerability assement report.", - "description": "Delete SQL server vulnerability assement report." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/encryptionProtector/write", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Encryption Protector", - "operation": "Update the properties for the specified Server Encryption Protector.", - "description": "Update the properties for the specified Server Encryption Protector." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/encryptionProtector/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Encryption Protector", - "operation": "Returns a list of server encryption protectors or gets the properties for the specified server encryption protector.", - "description": "Returns a list of server encryption protectors or gets the properties for the specified server encryption protector." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/encryptionProtector/revalidate/action", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Server Encryption Protector", - "operation": "Revalidates an existing encryption protector.", - "description": "Revalidates an existing encryption protector." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/providers/Microsoft.Insights/metricDefinitions/read", - "isDataAction": null, - "display": { - "provider": "Microsoft Azure Synapse Analytics", - "resource": "Workspace", - "operation": "Read workspace metric definitions", - "description": "Gets the available metrics for workspace" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "metricSpecifications": [ - { - "name": "PipelineFailedRuns", - "displayName": "Failed pipeline runs", - "displayDescription": null, - "unit": "Count", - "aggregationType": "Total", - "sourceMdmAccount": "MicrosoftDataFactoryProdShoebox", - "sourceMdmNamespace": "ADFMetrics", - "dimensions": [ - { - "name": "FailureType", - "displayName": "Failure Type", - "toBeExportedForShoebox": true - }, - { - "name": "Name", - "displayName": "Pipeline", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "PipelineSucceededRuns", - "displayName": "Succeeded pipeline runs", - "displayDescription": null, - "unit": "Count", - "aggregationType": "Total", - "sourceMdmAccount": "MicrosoftDataFactoryProdShoebox", - "sourceMdmNamespace": "ADFMetrics", - "dimensions": [ - { - "name": "FailureType", - "displayName": "Failure Type", - "toBeExportedForShoebox": true - }, - { - "name": "Name", - "displayName": "Pipeline", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "PipelineCancelledRuns", - "displayName": "Cancelled pipeline runs", - "displayDescription": null, - "unit": "Count", - "aggregationType": "Total", - "sourceMdmAccount": "MicrosoftDataFactoryProdShoebox", - "sourceMdmNamespace": "ADFMetrics", - "dimensions": [ - { - "name": "FailureType", - "displayName": "Failure Type", - "toBeExportedForShoebox": true - }, - { - "name": "Name", - "displayName": "Pipeline", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "ActivityFailedRuns", - "displayName": "Failed activity runs", - "displayDescription": null, - "unit": "Count", - "aggregationType": "Total", - "sourceMdmAccount": "MicrosoftDataFactoryProdShoebox", - "sourceMdmNamespace": "ADFMetrics", - "dimensions": [ - { - "name": "ActivityType", - "displayName": "Activity Type", - "toBeExportedForShoebox": true - }, - { - "name": "PipelineName", - "displayName": "Pipeline", - "toBeExportedForShoebox": true - }, - { - "name": "FailureType", - "displayName": "Failure Type", - "toBeExportedForShoebox": true - }, - { - "name": "Name", - "displayName": "Activity", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "ActivitySucceededRuns", - "displayName": "Succeeded activity runs", - "displayDescription": null, - "unit": "Count", - "aggregationType": "Total", - "sourceMdmAccount": "MicrosoftDataFactoryProdShoebox", - "sourceMdmNamespace": "ADFMetrics", - "dimensions": [ - { - "name": "ActivityType", - "displayName": "Activity Type", - "toBeExportedForShoebox": true - }, - { - "name": "PipelineName", - "displayName": "Pipeline", - "toBeExportedForShoebox": true - }, - { - "name": "FailureType", - "displayName": "Failure Type", - "toBeExportedForShoebox": true - }, - { - "name": "Name", - "displayName": "Activity", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "ActivityCancelledRuns", - "displayName": "Cancelled activity runs", - "displayDescription": null, - "unit": "Count", - "aggregationType": "Total", - "sourceMdmAccount": "MicrosoftDataFactoryProdShoebox", - "sourceMdmNamespace": "ADFMetrics", - "dimensions": [ - { - "name": "ActivityType", - "displayName": "Activity Type", - "toBeExportedForShoebox": true - }, - { - "name": "PipelineName", - "displayName": "Pipeline", - "toBeExportedForShoebox": true - }, - { - "name": "FailureType", - "displayName": "Failure Type", - "toBeExportedForShoebox": true - }, - { - "name": "Name", - "displayName": "Activity", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "TriggerFailedRuns", - "displayName": "Failed trigger runs", - "displayDescription": null, - "unit": "Count", - "aggregationType": "Total", - "sourceMdmAccount": "MicrosoftDataFactoryProdShoebox", - "sourceMdmNamespace": "ADFMetrics", - "dimensions": [ - { - "name": "Name", - "displayName": "Trigger", - "toBeExportedForShoebox": true - }, - { - "name": "FailureType", - "displayName": "Failure Type", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "TriggerSucceededRuns", - "displayName": "Succeeded trigger runs", - "displayDescription": null, - "unit": "Count", - "aggregationType": "Total", - "sourceMdmAccount": "MicrosoftDataFactoryProdShoebox", - "sourceMdmNamespace": "ADFMetrics", - "dimensions": [ - { - "name": "Name", - "displayName": "Trigger", - "toBeExportedForShoebox": true - }, - { - "name": "FailureType", - "displayName": "Failure Type", - "toBeExportedForShoebox": true - } - ] - }, - { - "name": "TriggerCancelledRuns", - "displayName": "Cancelled trigger runs", - "displayDescription": null, - "unit": "Count", - "aggregationType": "Total", - "sourceMdmAccount": "MicrosoftDataFactoryProdShoebox", - "sourceMdmNamespace": "ADFMetrics", - "dimensions": [ - { - "name": "Name", - "displayName": "Trigger", - "toBeExportedForShoebox": true - }, - { - "name": "FailureType", - "displayName": "Failure Type", - "toBeExportedForShoebox": true - } - ] - } - ] - } - } - }, - { - "name": "Microsoft.Synapse/workspaces/providers/Microsoft.Insights/diagnosticSettings/read", - "isDataAction": null, - "display": { - "provider": "Microsoft Azure Synapse Analytics", - "resource": "Workspace", - "operation": "Read diagnostic setting", - "description": "Gets the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "Microsoft.Synapse/workspaces/providers/Microsoft.Insights/diagnosticSettings/write", - "isDataAction": null, - "display": { - "provider": "Microsoft Azure Synapse Analytics", - "resource": "Workspace", - "operation": "Write diagnostic setting", - "description": "Creates or updates the diagnostic setting for the resource" - }, - "origin": "system" - }, - { - "name": "Microsoft.Synapse/workspaces/providers/Microsoft.Insights/logDefinitions/read", - "isDataAction": null, - "display": { - "provider": "Microsoft Azure Synapse Analytics", - "resource": "The log definition of workspace", - "operation": "Read workspace log definitions", - "description": "Gets the available logs for workspace" - }, - "origin": "system", - "properties": { - "serviceSpecification": { - "logSpecifications": [ - { - "name": "ActivityRuns", - "displayName": "Activity runs", - "blobDuration": "PT1H" - }, - { - "name": "PipelineRuns", - "displayName": "Pipeline runs", - "blobDuration": "PT1H" - }, - { - "name": "TriggerRuns", - "displayName": "Trigger runs", - "blobDuration": "PT1H" - } - ] - } - } - }, - { - "name": "Microsoft.Synapse/workspaces/recoverableSqlPools/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "Recoverable Sql Analytics Pools", - "operation": "Gets recoverable SQL Analytics Pools.", - "description": "Gets recoverable SQL Analytics Pools, which are the resources representing geo backups of SQL Analytics Pools." - }, - "origin": "user, system" - }, - { - "name": "Microsoft.Synapse/workspaces/sqlUsages/read", - "isDataAction": "false", - "display": { - "provider": "Analytics 365 Resource Provider.", - "resource": "SQL Analytics pool Usages", - "operation": "Gets usage limits available for SQL Analytics Pools.", - "description": "Gets usage limits available for SQL Analytics Pools." - }, - "origin": "user, system" - } - ] - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAzureADOnlyAuthentication.json deleted file mode 100644 index 1f7c8243385c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAzureADOnlyAuthentication.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-6852", - "workspaceName": "workspace-2080", - "azureADOnlyAuthenticationName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", - "properties": { - "azureADOnlyAuthentication": true, - "creationDate": "2017-02-10T00:56:19.2Z", - "state": "Consistent" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAzureAsyncOperationHeader.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAzureAsyncOperationHeader.json deleted file mode 100644 index 076df65479a3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetAzureAsyncOperationHeader.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "operationId": "01234567-89ab-4def-0123-456789abcdef", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "status": "InProgress" - } - }, - "404": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetBigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetBigDataPool.json deleted file mode 100644 index 055d4726a78e..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetBigDataPool.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "bigDataPoolName": "ExamplePool", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool", - "type": "Microsoft.Synapse/workspaces/bigDataPools", - "location": "West US 2", - "name": "ExamplePool", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "sparkVersion": "3.3", - "nodeCount": 4, - "nodeSize": "Medium", - "nodeSizeFamily": "MemoryOptimized", - "autoScale": { - "enabled": true, - "minNodeCount": 3, - "maxNodeCount": 50 - }, - "autoPause": { - "enabled": true, - "delayInMinutes": 15 - }, - "creationDate": "1970-01-01T00:00:00Z", - "sparkEventsFolder": "/events", - "libraryRequirements": { - "time": "1970-01-01T00:00:00Z", - "content": "", - "filename": "requirements.txt" - }, - "defaultSparkLogFolder": "/logs", - "isAutotuneEnabled": false, - "customLibraries": [ - { - "uploadedTimestamp": "1970-01-01T00:00:00Z" - } - ], - "cacheSize": 0 - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetIpFirewallRule.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetIpFirewallRule.json deleted file mode 100644 index c2e324a811b2..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetIpFirewallRule.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "ruleName": "ExampleIpFirewallRule", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule", - "type": "Microsoft.Synapse/workspaces/firewallRules", - "name": "ExampleIpFirewallRule", - "properties": { - "startIpAddress": "10.0.0.0", - "endIpAddress": "10.0.0.254", - "provisioningState": "Succeeded" - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetKey.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetKey.json deleted file mode 100644 index 00c2c70acf5d..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetKey.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "keyName": "somekey", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/keys/somekey", - "name": "somekey", - "type": "Microsoft.Synapse/workspaces/keys", - "properties": { - "isActiveCMK": true, - "keyVaultUrl": "https://vault.azure.net/keys/key1" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetLocationHeader.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetLocationHeader.json deleted file mode 100644 index 9ba701396eac..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetLocationHeader.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "operationId": "01234567-89ab-4def-0123-456789abcdef", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "201": {}, - "202": {}, - "204": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetLocationHeaderResultWithSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetLocationHeaderResultWithSqlPool.json deleted file mode 100644 index 187970e1db3f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetLocationHeaderResultWithSqlPool.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "sqlPoolName": "ExampleSqlPool", - "operationId": "fedcba98-7654-4210-fedc-ba9876543210", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "sku": {}, - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 263882790666240, - "status": "Paused", - "creationDate": "2022-08-25T09:22:46.68Z" - }, - "location": "eastus", - "tags": {}, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg_ursa/providers/Microsoft.Synapse/workspaces/ursascaneastus/sqlPools/SampleSQLPool", - "name": "SampleSQLPool", - "type": "Microsoft.Synapse/workspaces/sqlPools" - } - }, - "202": { - "body": { - "sku": {}, - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 263882790666240, - "status": "Paused", - "creationDate": "2022-08-25T09:22:46.68Z" - }, - "location": "eastus", - "tags": {}, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg_ursa/providers/Microsoft.Synapse/workspaces/ursascaneastus/sqlPools/SampleSQLPool", - "name": "SampleSQLPool", - "type": "Microsoft.Synapse/workspaces/sqlPools" - } - }, - "201": { - "body": { - "sku": {}, - "properties": { - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 263882790666240, - "status": "Paused", - "creationDate": "2022-08-25T09:22:46.68Z" - }, - "location": "eastus", - "tags": {}, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/rg_ursa/providers/Microsoft.Synapse/workspaces/ursascaneastus/sqlPools/SampleSQLPool", - "name": "SampleSQLPool", - "type": "Microsoft.Synapse/workspaces/sqlPools" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetMaintenanceWindowOptions.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetMaintenanceWindowOptions.json deleted file mode 100644 index de4ff1ec271f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetMaintenanceWindowOptions.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "samplerg", - "workspaceName": "testworkspace", - "sqlPoolName": "testsp", - "maintenanceWindowOptionsName": "current", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "isEnabled": true, - "maintenanceWindowCycles": [ - { - "dayOfWeek": "Saturday", - "startTime": "00:00:00", - "duration": "PT60M" - } - ], - "minDurationInMinutes": 60, - "defaultDurationInMinutes": 120, - "minCycles": 2, - "timeGranularityInMinutes": 5, - "allowMultipleMaintenanceWindowsPerCycle": true - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/samplerg/providers/Microsoft.Synapse/workspaces/testworkspace/sqlPools/testsp/maintenanceWindowOptions/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/sqlPools/maintenanceWindowOptions" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetMaintenanceWindows.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetMaintenanceWindows.json deleted file mode 100644 index eb5a37d9902f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetMaintenanceWindows.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "samplerg", - "workspaceName": "testworkspace", - "sqlPoolName": "testsp", - "maintenanceWindowName": "current", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "timeRanges": [ - { - "dayOfWeek": "Saturday", - "startTime": "00:00:00", - "duration": "PT60M" - } - ] - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/samplerg/providers/Microsoft.Synapse/workspaces/testworkspace/sqlPools/testsp/maintenancewindows/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/sqlPools/maintenancewindows" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetManagedIdentitySqlControlSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetManagedIdentitySqlControlSettings.json deleted file mode 100644 index 208c12d08a35..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetManagedIdentitySqlControlSettings.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/managedIdentitySqlControlSettings/default", - "name": "default", - "properties": { - "grantSqlControlToManagedIdentity": { - "desiredState": "Enabled", - "actualState": "Enabled" - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateEndpointConnection.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateEndpointConnection.json deleted file mode 100644 index 2ce42905c6fd..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateEndpointConnection.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "privateEndpointConnectionName": "ExamplePrivateEndpointConnection", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection", - "name": "sql", - "type": "Microsoft.Synapse/workspaces/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-approved", - "actionsRequired": "None" - } - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkHub.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkHub.json deleted file mode 100644 index 7d15c3187c64..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkHub.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "privateLinkHubName": "privateLinkHub1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1", - "name": "privateLinkHub1", - "type": "Microsoft.Synapse/privateLinkHubs", - "location": "East US", - "properties": { - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkHubPrivateLinkResource.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkHubPrivateLinkResource.json deleted file mode 100644 index b79ecaf20f69..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkHubPrivateLinkResource.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "privateLinkHubName": "ExamplePrivateLinkHub", - "privateLinkResourceName": "sql", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/privateLinkHubs/ExamplePrivateLinkHub/privateLinkResources/sql", - "name": "sql", - "type": "Microsoft.Synapse/privateLinkHubs/privateLinkResources", - "properties": { - "groupId": "sql", - "requiredMembers": [ - "sql" - ], - "requiredZoneNames": [ - "privatelink.sql.azuresynapse.net" - ] - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkResource.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkResource.json deleted file mode 100644 index fa0e7eb015f9..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetPrivateLinkResource.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "privateLinkResourceName": "sql", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateLinkResources/sql", - "name": "sql", - "type": "Microsoft.Synapse/workspaces/privateLinkResources", - "properties": { - "groupId": "sql", - "requiredMembers": [ - "sql" - ], - "requiredZoneNames": [ - "privatelink.sql.azuresynapse.net" - ] - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPool.json deleted file mode 100644 index 9391bfcce1b4..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPool.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187", - "name": "sqlcrudtest-9187", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "creationDate": "2017-02-10T00:56:19.2Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z", - "storageAccountType": "GRS" - }, - "sku": { - "name": "DW100c", - "tier": "" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolBlobAuditing.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolBlobAuditing.json deleted file mode 100644 index 84ed2a649421..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolBlobAuditing.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-6852", - "workspaceName": "blobauditingtest-2080", - "sqlPoolName": "testdb", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Synapse/workspaces/blobauditingtest-2080/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings", - "kind": "V12", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "isAzureMonitorTargetEnabled": false - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolColumnSensitivityLabelGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolColumnSensitivityLabelGet.json deleted file mode 100644 index 1cb6745de7dd..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolColumnSensitivityLabelGet.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "myServer", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "current", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/schemas/dbo/tables/myTable/columns/myColumn/sensitivityLabels/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels", - "properties": { - "informationType": "PhoneNumber", - "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", - "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", - "labelName": "PII" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolConnectionPolicy.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolConnectionPolicy.json deleted file mode 100644 index 609b7fa3b3b6..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolConnectionPolicy.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-6852", - "workspaceName": "blobauditingtest-2080", - "sqlPoolName": "testdb", - "connectionPolicyName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Synapse/workspaces/blobauditingtest-2080/sqlPools/testdb/connectionPolicies/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/connectionPolicies", - "location": "West US", - "kind": null, - "properties": { - "securityEnabledAccess": "Optional", - "proxyDnsName": "blobauditingtest-2080.database.secure.windows.net", - "proxyPort": "1433", - "visibility": "Visible", - "useServerDefault": "Enabled", - "redirectionState": "Disabled", - "state": "New" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolGeoBackupPolicy.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolGeoBackupPolicy.json deleted file mode 100644 index 0510e90497b8..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolGeoBackupPolicy.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-4799", - "workspaceName": "sqlcrudtest-5961", - "sqlPoolName": "testdw", - "geoBackupPolicyName": "Default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Synapse/workspaces/sqlcrudtest-5961/sqlPools/testdw/geoBackupPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies", - "location": "Central US", - "kind": null, - "properties": { - "state": "Enabled", - "storageType": "Premium" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolMetadataSyncConfig.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolMetadataSyncConfig.json deleted file mode 100644 index a3630ff6bbe0..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolMetadataSyncConfig.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "sqlPoolName": "ExampleSqlPool", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool/metadataSync/config", - "type": "Microsoft.Synapse/workspaces/bigDataPools/metadataSync/config", - "name": "config", - "properties": { - "enabled": true - } - } - }, - "404": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolSecurityAlert.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolSecurityAlert.json deleted file mode 100644 index 86038cb3d20c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolSecurityAlert.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-6852", - "workspaceName": "securityalert-2080", - "sqlPoolName": "testdb", - "securityAlertPolicyName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Synapse/workspaces/securityalert-2080/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "test@microsoft.com", - "user@microsoft.com" - ], - "disabledAlerts": [ - "Usage_Anomaly" - ], - "retentionDays": 0, - "storageAccountAccessKey": "", - "creationTime": "2018-10-08T00:00:00Z" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolTransparentDataEncryption.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolTransparentDataEncryption.json deleted file mode 100644 index b2ec26420914..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolTransparentDataEncryption.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "transparentDataEncryptionName": "current", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "name": "current", - "location": "North Europe", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current", - "type": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption", - "properties": { - "status": "Enabled" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolTransparentDataEncryptionList.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolTransparentDataEncryptionList.json deleted file mode 100644 index b4501541d1ee..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolTransparentDataEncryptionList.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "current", - "location": "North Europe", - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/transparentDataEncryption/current", - "type": "Microsoft.Synapse/workspaces/sqlPools/transparentDataEncryption", - "properties": { - "status": "Enabled" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolUserActivity.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolUserActivity.json deleted file mode 100644 index 0120b459a61d..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolUserActivity.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "workspaceName": "testsvr", - "sqlPoolName": "testdb", - "api-version": "2023-05-01", - "dataWarehouseUserActivityName": "current" - }, - "responses": { - "200": { - "body": { - "properties": { - "activeQueriesCount": 0 - }, - "id": "subscriptions/326affc3-21f4-4471-a545-e37430b70113/resourceGroups/Default-SQL-Onebox/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/dwdb01/dataWarehouseUserActivities/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/sqlPools/dataWarehouseUserActivities" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolVulnerabilityAssessment.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolVulnerabilityAssessment.json deleted file mode 100644 index 1d03d4200b90..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolVulnerabilityAssessment.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "workspaceName": "vulnerabilityaseessmenttest-6440", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments", - "properties": { - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroup.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroup.json deleted file mode 100644 index e707adfecedd..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroup.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "workloadGroupName": "smallrc", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 3.0, - "maxResourcePercentPerRequest": 3.0, - "importance": "normal", - "queryExecutionTimeout": 0 - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/smallrc", - "name": "smallrc", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupList.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupList.json deleted file mode 100644 index 885150d2e335..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupList.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 5, - "maxResourcePercentPerRequest": 5, - "importance": "normal", - "queryExecutionTimeout": 0 - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/smallrc", - "name": "smallrc", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" - }, - { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 10, - "maxResourcePercentPerRequest": 10, - "importance": "normal", - "queryExecutionTimeout": 0 - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/mediumrc", - "name": "mediumrc", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" - }, - { - "properties": { - "minResourcePercent": 0, - "maxResourcePercent": 100, - "minResourcePercentPerRequest": 20, - "maxResourcePercentPerRequest": 20, - "importance": "high", - "queryExecutionTimeout": 0 - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/largerc", - "name": "largerc", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups" - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifier.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifier.json deleted file mode 100644 index b3bb4c195495..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifier.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "workloadGroupName": "wlm_workloadgroup", - "workloadClassifierName": "wlm_classifier", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "properties": { - "memberName": "dbo", - "label": "test_label", - "context": "test_context", - "startTime": "12:00", - "endTime": "14:00", - "importance": "high" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/wlm_workloadgroup/workloadClassifiers/wlm_classifier", - "name": "wlm_classifier", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifierList.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifierList.json deleted file mode 100644 index 25755773eb99..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetSqlPoolWorkloadGroupWorkloadClassifierList.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "workloadGroupName": "wlm_workloadgroup", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "properties": { - "memberName": "dbo", - "label": "", - "context": "", - "startTime": "", - "endTime": "", - "importance": "high" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/wlm_workloadgroup/workloadClassifiers/classifier3", - "name": "classifier3", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" - }, - { - "properties": { - "memberName": "dbo", - "label": "test_label", - "context": "test_context", - "startTime": "12:00", - "endTime": "14:00", - "importance": "high" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/wlm_workloadgroup/workloadClassifiers/classifier1", - "name": "classifier1", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" - }, - { - "properties": { - "memberName": "dbo", - "label": "", - "context": "", - "startTime": "11:00", - "endTime": "17:00", - "importance": "high" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187/workloadGroups/wlm_workloadgroup/workloadClassifiers/classifier2", - "name": "classifier2", - "type": "Microsoft.Synapse/workspaces/sqlPools/workloadGroups/workloadClassifiers" - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspace.json deleted file mode 100644 index 7de5ba412389..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspace.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1", - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "connectivityEndpoints": { - "dev": "workspace1.dev.projectarcadia.net", - "sql": "workspace1.sql.projectarcadia.net", - "web": "workspace1.sql.projectarcadia.net" - }, - "managedVirtualNetworkSettings": { - "preventDataExfiltration": false, - "linkedAccessCheckOnTargetResource": false, - "allowedAadTenantIdsForLinking": [ - "740239CE-A25B-485B-86A0-262F29F6EBDB" - ] - }, - "purviewConfiguration": { - "purviewResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.ProjectPurview/accounts/accountname1" - }, - "sqlAdministratorLogin": "login", - "managedResourceGroupName": "resourceGroup2", - "workspaceRepositoryConfiguration": { - "type": "FactoryGitHubConfiguration", - "hostName": "", - "accountName": "myGithubAccount", - "projectName": "myProject", - "repositoryName": "myRepository", - "collaborationBranch": "master", - "rootFolder": "/", - "tenantId": "00000000-1111-2222-3333-444444444444" - }, - "provisioningState": "Succeeded", - "privateEndpointConnections": [ - { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection", - "name": "sql", - "type": "Microsoft.Synapse/workspaces/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-approved", - "actionsRequired": "None" - } - } - } - ], - "workspaceUID": "00000000-1111-2222-3333-444444444444", - "cspWorkspaceAdminProperties": { - "initialWorkspaceAdminObjectId": "6c20646f-8050-49ec-b3b1-80a0e58e454d" - }, - "extraProperties": { - "IsScopeEnabled": "false", - "WorkspaceType": "Normal" - } - }, - "tags": { - "key": "value" - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceAadAdmin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceAadAdmin.json deleted file mode 100644 index 3155f45ebe11..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceAadAdmin.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1/administrators/activeDirectory", - "name": "activeDirectory", - "properties": { - "administratorType": "ActiveDirectory", - "login": "bob@contoso.com", - "sid": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c", - "tenantId": "c6b82b90-a647-49cb-8a62-0d2d3cb7ac7c" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlExtendedServerBlobAuditingSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlExtendedServerBlobAuditingSettings.json deleted file mode 100644 index 22d6abbcea85..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlExtendedServerBlobAuditingSettings.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/extendedAuditingSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/extendedAuditingSettings", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "predicateExpression": "object_name = 'SensitiveData'", - "isAzureMonitorTargetEnabled": false - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json deleted file mode 100644 index 55123e61b284..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "blobAuditingPolicyName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/auditingSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/auditingSettings", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "isAzureMonitorTargetEnabled": false, - "isDevopsAuditEnabled": false - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json deleted file mode 100644 index 3a1f56d84135..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-6852", - "workspaceName": "workspace-2080", - "dedicatedSQLminimalTlsSettingsName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "eastus", - "properties": { - "minimalTlsVersion": "1.1" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerEncryptionProtector.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerEncryptionProtector.json deleted file mode 100644 index 1df63d481229..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerEncryptionProtector.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "encryptionProtectorName": "current", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/encryptionProtector/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/encryptionProtector", - "location": "Japan East", - "kind": "azurekeyvault", - "properties": { - "serverKeyName": "someVault_someKey_01234567890123456789012345678901", - "serverKeyType": "AzureKeyVault", - "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerEncryptionProtectorList.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerEncryptionProtectorList.json deleted file mode 100644 index 70ab2de68b84..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerEncryptionProtectorList.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/encryptionProtector/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/encryptionProtector", - "location": "Japan East", - "kind": "azurekeyvault", - "properties": { - "serverKeyName": "someVault_someKey_01234567890123456789012345678901", - "serverKeyType": "AzureKeyVault", - "uri": "https://someVault.vault.azure.net/keys/someKey/01234567890123456789012345678901" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerRecoverableSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerRecoverableSqlPool.json deleted file mode 100644 index 4cab77ca8594..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerRecoverableSqlPool.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "sqlPoolName": "recoverableSqlpools-1235", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/recoverableSqlpools/recoverableSqlpools-1235", - "name": "recoverableSqlpools-1235", - "type": "Microsoft.Synapse/workspaces/recoverableSqlpools", - "properties": { - "edition": "Standard", - "serviceLevelObjective": "S0", - "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z", - "elasticPoolName": null - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerSecurityAlertPolicy.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerSecurityAlertPolicy.json deleted file mode 100644 index c49b98da33f3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerSecurityAlertPolicy.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "securityAlertPolicyName": "Default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/securityAlertPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "test@microsoft.com;user@microsoft.com" - ], - "disabledAlerts": [ - "Access_Anomaly" - ], - "creationTime": "2020-10-23T04:52:49.52Z", - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerVulnerabilityAssessment.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerVulnerabilityAssessment.json deleted file mode 100644 index 75678cc9bbc3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/GetWorkspaceManagedSqlServerVulnerabilityAssessment.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeMonitoringData_List.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeMonitoringData_List.json deleted file mode 100644 index bb63ec106d29..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeMonitoringData_List.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 15:27:44 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14999", - "x-ms-request-id": "39277952-edbe-4336-ae94-f6f42b50b5f7", - "x-ms-correlation-request-id": "39277952-edbe-4336-ae94-f6f42b50b5f7" - }, - "body": { - "name": "exampleIntegrationRuntime", - "nodes": [ - { - "nodeName": "Node_1", - "availableMemoryInMB": 16740, - "cpuUtilization": 15, - "concurrentJobsLimit": 28, - "concurrentJobsRunning": 0, - "sentBytes": 2.6474916934967041, - "receivedBytes": 6.7314233779907227 - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Delete.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Delete.json deleted file mode 100644 index b67a7bc5b375..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Delete.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "nodeName": "Node_1", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Get.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Get.json deleted file mode 100644 index ca9fbdce6f49..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Get.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "nodeName": "Node_1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Fri, 17 Aug 2018 06:31:04 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14999", - "x-ms-request-id": "1c8b259a-c6e6-48aa-8121-05b3b3b782aa", - "x-ms-correlation-request-id": "1c8b259a-c6e6-48aa-8121-05b3b3b782aa" - }, - "body": { - "nodeName": "Node_1", - "machineName": "YANZHANG-DT", - "hostServiceUri": "https://yanzhang-dt.fareast.corp.microsoft.com:8050/HostServiceRemote.svc/", - "status": "Online", - "capabilities": { - "serviceBusConnected": "True", - "httpsPortEnabled": "True", - "credentialInSync": "True", - "connectedToResourceManager": "True", - "nodeEnabled": "True" - }, - "versionStatus": "UpToDate", - "version": "3.8.6743.6", - "registerTime": "2018-08-17T03:44:55.8012825Z", - "lastConnectTime": "2018-08-17T06:30:46.6262976Z", - "lastStartTime": "2018-08-17T03:45:30.8499851Z", - "lastUpdateResult": "None", - "isActiveDispatcher": true, - "maxConcurrentJobs": 20 - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_GetIpAddress.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_GetIpAddress.json deleted file mode 100644 index 973cbff43113..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_GetIpAddress.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "nodeName": "Node_1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 15:36:39 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "f01265af-9f38-44b8-81a1-b67f567ea728", - "x-ms-correlation-request-id": "f01265af-9f38-44b8-81a1-b67f567ea728" - }, - "body": { - "ipAddress": "**********" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Update.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Update.json deleted file mode 100644 index d0b49cf9b3ff..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeNodes_Update.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "nodeName": "Node_1", - "updateIntegrationRuntimeNodeRequest": { - "concurrentJobsLimit": 2 - }, - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 15:01:00 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1199", - "x-ms-request-id": "cf0d05fa-afbe-4fac-aa10-227885658c83", - "x-ms-correlation-request-id": "cf0d05fa-afbe-4fac-aa10-227885658c83" - }, - "body": { - "nodeName": "Node_1", - "machineName": "YANZHANG-DT", - "hostServiceUri": "https://yanzhang-dt.fareast.corp.microsoft.com:8050/HostServiceRemote.svc/", - "status": "Online", - "capabilities": { - "serviceBusConnected": "True", - "httpsPortEnabled": "True", - "credentialInSync": "True", - "connectedToResourceManager": "True", - "nodeEnabled": "True" - }, - "versionStatus": "UpToDate", - "version": "3.8.6730.2", - "registerTime": "2018-06-14T14:51:44.9237069Z", - "lastConnectTime": "2018-06-14T15:00:35.7544322Z", - "lastStartTime": "2018-06-14T14:52:59.8933313Z", - "lastUpdateResult": "None", - "isActiveDispatcher": true, - "concurrentJobsLimit": 2, - "maxConcurrentJobs": 56 - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeObjectMetadata_List.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeObjectMetadata_List.json deleted file mode 100644 index 9767977f7ae2..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeObjectMetadata_List.json +++ /dev/null @@ -1,532 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "testactivityv2", - "getMetadataRequest": { - "metadataPath": "ssisFolders" - }, - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Mon, 03 Dec 2018 06:24:54 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd", - "x-ms-correlation-request-id": "0cbc67c4-60e7-4d49-97d9-e4bc4f9851cd" - }, - "body": { - "value": [ - { - "id": 1, - "name": "TestFolder", - "description": "", - "type": "Folder" - }, - { - "id": 2, - "name": "EnvironmentFolder", - "description": "", - "type": "Folder" - }, - { - "id": 3, - "name": "ActivityTest", - "description": "", - "type": "Folder" - }, - { - "id": 4, - "name": "这是文件夹", - "description": "", - "type": "Folder" - }, - { - "id": 5, - "name": "1", - "type": "Folder" - }, - { - "id": 6, - "name": "2", - "type": "Folder" - }, - { - "id": 7, - "name": "3", - "type": "Folder" - }, - { - "id": 8, - "name": "4", - "type": "Folder" - }, - { - "id": 9, - "name": "5", - "type": "Folder" - }, - { - "id": 10, - "name": "6", - "type": "Folder" - }, - { - "id": 11, - "name": "7", - "type": "Folder" - }, - { - "id": 12, - "name": "8", - "type": "Folder" - }, - { - "id": 13, - "name": "9", - "type": "Folder" - }, - { - "id": 14, - "name": "10", - "type": "Folder" - }, - { - "id": 15, - "name": "11", - "type": "Folder" - }, - { - "id": 16, - "name": "12", - "type": "Folder" - }, - { - "id": 17, - "name": "13", - "type": "Folder" - }, - { - "id": 18, - "name": "14", - "type": "Folder" - }, - { - "id": 19, - "name": "15", - "type": "Folder" - }, - { - "id": 20, - "name": "16", - "type": "Folder" - }, - { - "id": 21, - "name": "17", - "type": "Folder" - }, - { - "id": 22, - "name": "18", - "type": "Folder" - }, - { - "id": 23, - "name": "19", - "type": "Folder" - }, - { - "id": 24, - "name": "20", - "type": "Folder" - }, - { - "id": 25, - "name": "21", - "type": "Folder" - }, - { - "id": 26, - "name": "22", - "type": "Folder" - }, - { - "id": 27, - "name": "23", - "type": "Folder" - }, - { - "id": 28, - "name": "24", - "type": "Folder" - }, - { - "id": 29, - "name": "25", - "type": "Folder" - }, - { - "id": 30, - "name": "26", - "type": "Folder" - }, - { - "id": 31, - "name": "27", - "type": "Folder" - }, - { - "id": 32, - "name": "28", - "type": "Folder" - }, - { - "id": 33, - "name": "29", - "type": "Folder" - }, - { - "id": 34, - "name": "30", - "type": "Folder" - }, - { - "id": 35, - "name": "31", - "type": "Folder" - }, - { - "id": 36, - "name": "32", - "type": "Folder" - }, - { - "id": 37, - "name": "33", - "type": "Folder" - }, - { - "id": 38, - "name": "34", - "type": "Folder" - }, - { - "id": 39, - "name": "35", - "type": "Folder" - }, - { - "id": 40, - "name": "36", - "type": "Folder" - }, - { - "id": 41, - "name": "37", - "type": "Folder" - }, - { - "id": 42, - "name": "38", - "type": "Folder" - }, - { - "id": 43, - "name": "39", - "type": "Folder" - }, - { - "id": 44, - "name": "40", - "type": "Folder" - }, - { - "id": 45, - "name": "41", - "type": "Folder" - }, - { - "id": 46, - "name": "42", - "type": "Folder" - }, - { - "id": 47, - "name": "43", - "type": "Folder" - }, - { - "id": 48, - "name": "44", - "type": "Folder" - }, - { - "id": 49, - "name": "45", - "type": "Folder" - }, - { - "id": 50, - "name": "46", - "type": "Folder" - }, - { - "id": 51, - "name": "47", - "type": "Folder" - }, - { - "id": 52, - "name": "48", - "type": "Folder" - }, - { - "id": 53, - "name": "49", - "type": "Folder" - }, - { - "id": 54, - "name": "50", - "type": "Folder" - }, - { - "id": 55, - "name": "51", - "type": "Folder" - }, - { - "id": 56, - "name": "52", - "type": "Folder" - }, - { - "id": 57, - "name": "53", - "type": "Folder" - }, - { - "id": 58, - "name": "54", - "type": "Folder" - }, - { - "id": 59, - "name": "55", - "type": "Folder" - }, - { - "id": 60, - "name": "56", - "type": "Folder" - }, - { - "id": 61, - "name": "57", - "type": "Folder" - }, - { - "id": 62, - "name": "58", - "type": "Folder" - }, - { - "id": 63, - "name": "59", - "type": "Folder" - }, - { - "id": 64, - "name": "60", - "type": "Folder" - }, - { - "id": 65, - "name": "61", - "type": "Folder" - }, - { - "id": 66, - "name": "62", - "type": "Folder" - }, - { - "id": 67, - "name": "63", - "type": "Folder" - }, - { - "id": 68, - "name": "64", - "type": "Folder" - }, - { - "id": 69, - "name": "65", - "type": "Folder" - }, - { - "id": 70, - "name": "66", - "type": "Folder" - }, - { - "id": 71, - "name": "67", - "type": "Folder" - }, - { - "id": 72, - "name": "68", - "type": "Folder" - }, - { - "id": 73, - "name": "69", - "type": "Folder" - }, - { - "id": 74, - "name": "70", - "type": "Folder" - }, - { - "id": 75, - "name": "71", - "type": "Folder" - }, - { - "id": 76, - "name": "72", - "type": "Folder" - }, - { - "id": 77, - "name": "73", - "type": "Folder" - }, - { - "id": 78, - "name": "74", - "type": "Folder" - }, - { - "id": 79, - "name": "75", - "type": "Folder" - }, - { - "id": 80, - "name": "76", - "type": "Folder" - }, - { - "id": 81, - "name": "77", - "type": "Folder" - }, - { - "id": 82, - "name": "78", - "type": "Folder" - }, - { - "id": 83, - "name": "79", - "type": "Folder" - }, - { - "id": 84, - "name": "80", - "type": "Folder" - }, - { - "id": 85, - "name": "81", - "type": "Folder" - }, - { - "id": 86, - "name": "82", - "type": "Folder" - }, - { - "id": 87, - "name": "83", - "type": "Folder" - }, - { - "id": 88, - "name": "84", - "type": "Folder" - }, - { - "id": 89, - "name": "85", - "type": "Folder" - }, - { - "id": 90, - "name": "86", - "type": "Folder" - }, - { - "id": 91, - "name": "87", - "type": "Folder" - }, - { - "id": 92, - "name": "88", - "type": "Folder" - }, - { - "id": 93, - "name": "89", - "type": "Folder" - }, - { - "id": 94, - "name": "90", - "type": "Folder" - }, - { - "id": 95, - "name": "91", - "type": "Folder" - }, - { - "id": 96, - "name": "92", - "type": "Folder" - }, - { - "id": 97, - "name": "93", - "type": "Folder" - }, - { - "id": 98, - "name": "94", - "type": "Folder" - }, - { - "id": 99, - "name": "95", - "type": "Folder" - }, - { - "id": 100, - "name": "96", - "type": "Folder" - } - ], - "nextLink": "https://management.azure.com/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/integrationRuntimes/testactivityv2/getObjectMetadata?api-version=2023-05-01&%24skipToken=https%3a%2f%2fwcu.frontend.clouddatahub.net%2fsubscriptions%2f12345678-1234-1234-1234-12345678abc%2fdatafactories%2f6C8E7C90-FD45-4010-8B7C-B5227D0F0CB7%2fintegrationruntimes%2fTESTACTIVITYV2%2fgetSsisObjectMetadata%3f%24skipToken%3dc3Npc0ZvbGRlcnNAQDIwMTgtMTEtMjlUMDM6NTk6MzIuMDQ1Mzc1MiswMDowMEBAZm9sZGVyQEAwMDAwMDAwMDAwMDAwMDAwMTAx0%26api-version%3d1.0" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json deleted file mode 100644 index 171d455c6503..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "testactivityv2", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Mon, 03 Dec 2018 06:24:53 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11999", - "x-ms-request-id": "20708242-215c-4101-9437-44590b27cdbf", - "x-ms-correlation-request-id": "20708242-215c-4101-9437-44590b27cdbf" - }, - "body": { - "status": "Succeeded", - "name": "ca63c855b72d44959653ffcc6eb0b96c", - "properties": null, - "error": null - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/refreshObjectMetadata/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-05-01", - "Location": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/refreshObjectMetadata/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Create.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Create.json deleted file mode 100644 index 7b928faaa2dc..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Create.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "ifMatch": null, - "integrationRuntime": { - "properties": { - "type": "SelfHosted", - "description": "A selfhosted integration runtime" - } - }, - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Jun 2018 22:20:47 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1197", - "x-ms-request-id": "125c07fa-e39a-4541-885f-5019631a5ecd", - "x-ms-correlation-request-id": "125c07fa-e39a-4541-885f-5019631a5ecd" - }, - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/integrationruntimes/exampleIntegrationRuntime", - "name": "exampleIntegrationRuntime", - "type": "Microsoft.Synapse/workspaces/integrationruntimes", - "properties": { - "type": "SelfHosted", - "description": "A selfhosted integration runtime" - }, - "etag": "000046c4-0000-0000-0000-5b2198bf0000" - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Delete.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Delete.json deleted file mode 100644 index 8d230e3eb4de..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Delete.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" - } - }, - "204": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_DisableInteractiveQuery.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_DisableInteractiveQuery.json deleted file mode 100644 index 9369e63c6506..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_DisableInteractiveQuery.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleManagedIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/disableInteractiveQuery/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-05-01", - "Location": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/disableInteractiveQuery/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_EnableInteractiveQuery.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_EnableInteractiveQuery.json deleted file mode 100644 index 8e3ad991a9c2..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_EnableInteractiveQuery.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleManagedIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/enableInteractiveQuery/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-05-01", - "Location": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/enableInteractiveQuery/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Get.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Get.json deleted file mode 100644 index aa6b2f763cc7..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Get.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "ifNoneMatch": "15003c4f-0000-0200-0000-5cbe090b0000", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Mon, 22 Apr 2019 18:33:47 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "11997", - "x-ms-request-id": "ad824326-e577-4a47-a092-2e621c4d59d9", - "x-ms-correlation-request-id": "ad824326-e577-4a47-a092-2e621c4d59d9" - }, - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/integrationruntimes/exampleIntegrationRuntime", - "name": "exampleIntegrationRuntime", - "type": "Microsoft.Synapse/workspaces/integrationruntimes", - "properties": { - "type": "SelfHosted", - "description": "A selfhosted integration runtime" - }, - "etag": "15003c4f-0000-0200-0000-5cbe090b0000" - } - }, - "304": {}, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_GetConnectionInfo.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_GetConnectionInfo.json deleted file mode 100644 index 4668325b7598..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_GetConnectionInfo.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 14:53:21 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14998", - "x-ms-request-id": "05774db5-e79b-4224-9097-46714b92fbd8", - "x-ms-correlation-request-id": "05774db5-e79b-4224-9097-46714b92fbd8" - }, - "body": { - "version": "3.8.6730.2", - "publicKey": "**********", - "serviceToken": "**********", - "identityCertThumbprint": "**********", - "hostServiceUri": "https://yanzhang-dt.fareast.corp.microsoft.com:8050/HostServiceRemote.svc/", - "isIdentityCertExprired": false - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_GetStatus.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_GetStatus.json deleted file mode 100644 index a84e5be90713..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_GetStatus.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 14:53:22 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14997", - "x-ms-request-id": "19efe790-074f-4241-ae94-0422935d0f46", - "x-ms-correlation-request-id": "19efe790-074f-4241-ae94-0422935d0f46" - }, - "body": { - "name": "exampleIntegrationRuntime", - "properties": { - "state": "Online", - "type": "SelfHosted", - "typeProperties": { - "autoUpdate": "Off", - "taskQueueId": "1a6296ab-423c-4346-9bcc-85a78c2c0582", - "version": "3.8.6730.2", - "nodes": [ - { - "nodeName": "Node_1", - "machineName": "YANZHANG-DT", - "hostServiceUri": "https://yanzhang-dt.fareast.corp.microsoft.com:8050/HostServiceRemote.svc/", - "status": "Online", - "capabilities": { - "serviceBusConnected": "True", - "httpsPortEnabled": "True", - "credentialInSync": "True", - "connectedToResourceManager": "True", - "nodeEnabled": "True" - }, - "versionStatus": "UpToDate", - "version": "3.8.6730.2", - "registerTime": "2018-06-14T14:51:44.9237069Z", - "lastConnectTime": "2018-06-14T14:52:59.8933313Z", - "lastStartTime": "2018-06-14T14:52:59.8933313Z", - "lastUpdateResult": "None", - "isActiveDispatcher": true, - "maxConcurrentJobs": 56 - } - ], - "updateDelayOffset": "PT3H", - "localTimeZoneOffset": "PT8H", - "serviceUrls": [ - "wu.frontend.int.clouddatahub-int.net", - "*.servicebus.windows.net" - ], - "versionStatus": "UpToDate", - "capabilities": { - "serviceBusConnected": "True", - "httpsPortEnabled": "True", - "credentialInSync": "True", - "connectedToResourceManager": "True", - "nodeEnabled": "True" - }, - "latestVersion": "3.7.6711.1", - "createTime": "2018-06-14T09:17:45.1839685Z" - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListAuthKeys.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListAuthKeys.json deleted file mode 100644 index bc4f81b35e3d..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListAuthKeys.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 14:51:00 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14999", - "x-ms-request-id": "2ea25426-9d1d-49f3-88b6-fb853eb02cb9", - "x-ms-correlation-request-id": "2ea25426-9d1d-49f3-88b6-fb853eb02cb9" - }, - "body": { - "authKey1": "**********", - "authKey2": "**********" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListByWorkspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListByWorkspace.json deleted file mode 100644 index c3b947dfd576..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListByWorkspace.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "ifNoneMatch": null, - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Jun 2018 21:33:05 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14909", - "x-ms-request-id": "f632df92-1140-4e19-9e19-0b1c8cbe393b", - "x-ms-correlation-request-id": "f632df92-1140-4e19-9e19-0b1c8cbe393b" - }, - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/integrationruntimes/exampleIntegrationRuntime", - "name": "exampleIntegrationRuntime", - "type": "Microsoft.Synapse/workspaces/integrationruntimes", - "properties": { - "type": "SelfHosted", - "description": "A selfhosted integration runtime" - }, - "etag": "0400f1a1-0000-0000-0000-5b2188640000" - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json deleted file mode 100644 index 527700ece476..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "parameters": { - "subscriptionId": "5f4ab77d-a0c2-4fa5-8abf-fe350680e074", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Tue, 06 Jul 2021 04:28:10 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-request-id": "fd8e4223-7e9c-4f32-893f-06c14a8081be", - "x-ms-correlation-request-id": "1dabf122-e061-4703-ae9e-9edeeef40ee6" - }, - "body": { - "value": [ - { - "category": "Azure Data Factory (Management)", - "endpoints": [ - { - "domainName": "wu.frontend.int.clouddatahub-int.net", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Azure Storage (Management)", - "endpoints": [ - { - "domainName": "*.blob.core.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "*.table.core.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Event Hub (Logging)", - "endpoints": [ - { - "domainName": "*.servicebus.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - }, - { - "category": "Microsoft Logging service (Internal Use)", - "endpoints": [ - { - "domainName": "gcs.prod.monitoring.core.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "prod.warmpath.msftcloudes.com", - "endpointDetails": [ - { - "port": 443 - } - ] - }, - { - "domainName": "azurewatsonanalysis-prod.core.windows.net", - "endpointDetails": [ - { - "port": 443 - } - ] - } - ] - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_RegenerateAuthKey.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_RegenerateAuthKey.json deleted file mode 100644 index 38238766f216..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_RegenerateAuthKey.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "regenerateKeyParameters": { - "keyName": "authKey2" - }, - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Thu, 14 Jun 2018 14:50:41 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1198", - "x-ms-request-id": "25af6d34-52c6-40a4-a882-16052af85c99", - "x-ms-correlation-request-id": "25af6d34-52c6-40a4-a882-16052af85c99" - }, - "body": { - "authKey2": "**********" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Start.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Start.json deleted file mode 100644 index 2e05e6760671..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Start.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleManagedIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Jun 2018 21:33:00 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14912", - "x-ms-request-id": "2af47f9f-5625-4b01-a3a5-bccb576a4677", - "x-ms-correlation-request-id": "2af47f9f-5625-4b01-a3a5-bccb576a4677" - }, - "body": { - "name": "exampleManagedIntegrationRuntime", - "properties": { - "dataFactoryName": "exampleWorkspaceName", - "type": "Managed", - "state": "Started", - "typeProperties": { - "nodes": [], - "otherErrors": [], - "createTime": "2018-06-13T21:11:01.8695494Z" - } - } - } - }, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/start/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-05-01", - "Location": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/start/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Stop.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Stop.json deleted file mode 100644 index c5b107886904..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Stop.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleManagedIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Azure-AsyncOperation": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/stop/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2023-05-01", - "Location": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/integrationRuntimes/exampleManagedIntegrationRuntime/stop/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_SyncCredentials.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_SyncCredentials.json deleted file mode 100644 index 766f6a16c755..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_SyncCredentials.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Update.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Update.json deleted file mode 100644 index e3a259e270e5..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Update.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "updateIntegrationRuntimeRequest": { - "autoUpdate": "Off", - "updateDelayOffset": "\"PT3H\"" - }, - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 13 Jun 2018 21:33:04 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-writes": "1192", - "x-ms-request-id": "eb1c35f8-4b37-4d08-b5dd-d6a0ad8b182d", - "x-ms-correlation-request-id": "eb1c35f8-4b37-4d08-b5dd-d6a0ad8b182d" - }, - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspaceName/integrationruntimes/exampleIntegrationRuntime", - "name": "exampleIntegrationRuntime", - "type": "Microsoft.Synapse/workspaces/integrationruntimes", - "properties": { - "type": "SelfHosted", - "description": "A selfhosted integration runtime" - }, - "etag": "0400f1a1-0000-0000-0000-5b2188640000" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Upgrade.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Upgrade.json deleted file mode 100644 index 766f6a16c755..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/IntegrationRuntimes_Upgrade.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "integrationRuntimeName": "exampleIntegrationRuntime", - "api-version": "2023-05-01" - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/Libraries_ListByWorkspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/Libraries_ListByWorkspace.json deleted file mode 100644 index 52245312f74a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/Libraries_ListByWorkspace.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "ifNoneMatch": null, - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 23 Oct 2020 21:33:05 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14909", - "x-ms-request-id": "f632df92-1140-4e19-9e19-0b1c8cbe393b", - "x-ms-correlation-request-id": "f632df92-1140-4e19-9e19-0b1c8cbe393b" - }, - "body": { - "value": [ - { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspace/libraries/exampleLibraryName1.jar", - "name": "exampleLibraryName1.jar", - "type": "Microsoft.Synapse/workspaces/libraries", - "properties": { - "name": "exampleLibraryName1.jar", - "path": "exampleWorkspace/libraries/exampleLibraryName1.jar", - "containerName": "exampleContainer", - "type": "jar", - "uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00", - "provisioningStatus": "Succeeded", - "creatorId": "2222222e-222d-222f-2222-22a2f222d2f2" - }, - "etag": "1500474f-0000-0200-0000-5cbe090d0000" - }, - { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspace/libraries/exampleLibraryName2.jar", - "name": "exampleLibraryName2.jar", - "type": "Microsoft.Synapse/workspaces/libraries", - "properties": { - "name": "exampleLibraryName2.jar", - "path": "exampleWorkspace/libraries/exampleLibraryName2.jar", - "containerName": "exampleContainer", - "type": "jar", - "uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00", - "provisioningStatus": "Succeeded", - "creatorId": "2222222e-222d-222f-2222-22a2f222d2f2" - }, - "etag": "1500474f-0000-0200-0000-5cbe090d0000" - } - ], - "nextLink": "" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/Library_Get.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/Library_Get.json deleted file mode 100644 index 6ee578d06cda..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/Library_Get.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "12345678-1234-1234-1234-12345678abc", - "resourceGroupName": "exampleResourceGroup", - "workspaceName": "exampleWorkspace", - "ifNoneMatch": null, - "libraryName": "exampleLibraryName.jar", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "Date": "Wed, 23 Oct 2020 21:33:05 GMT", - "X-Content-Type-Options": "nosniff", - "x-ms-ratelimit-remaining-subscription-reads": "14909", - "x-ms-request-id": "f632df92-1140-4e19-9e19-0b1c8cbe393b", - "x-ms-correlation-request-id": "f632df92-1140-4e19-9e19-0b1c8cbe393b" - }, - "body": { - "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Synapse/workspaces/exampleWorkspace/libraries/exampleLibraryName.jar", - "name": "exampleLibraryName.jar", - "type": "Microsoft.Synapse/workspaces/libraries", - "properties": { - "name": "exampleLibraryName.jar", - "path": "exampleWorkspace/libraries/exampleLibraryName.jar", - "containerName": "exampleContainer", - "type": "jar", - "uploadedTimestamp": "2020-10-23T07:59:29.1573546+00:00", - "provisioningStatus": "Succeeded", - "creatorId": "2222222e-222d-222f-2222-22a2f222d2f2" - }, - "etag": "1500474f-0000-0200-0000-5cbe090d0000" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListAzureADOnlyAuthentication.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListAzureADOnlyAuthentication.json deleted file mode 100644 index ae2913718c13..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListAzureADOnlyAuthentication.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-6852", - "workspaceName": "workspace-2080", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications", - "properties": { - "azureADOnlyAuthentication": true, - "creationDate": "2017-02-10T00:56:19.2Z", - "state": "Consistent" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListBigDataPoolsInWorkspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListBigDataPoolsInWorkspace.json deleted file mode 100644 index 836172482a15..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListBigDataPoolsInWorkspace.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool", - "type": "Microsoft.Synapse/workspaces/bigDataPools", - "location": "West US 2", - "name": "ExamplePool", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "sparkVersion": "3.3", - "nodeCount": 4, - "nodeSize": "Medium", - "nodeSizeFamily": "MemoryOptimized", - "autoScale": { - "enabled": true, - "minNodeCount": 3, - "maxNodeCount": 50 - }, - "autoPause": { - "enabled": true, - "delayInMinutes": 15 - }, - "creationDate": "1970-01-01T00:00:00Z", - "sparkEventsFolder": "/events", - "libraryRequirements": { - "time": "1970-01-01T00:00:00Z", - "content": "", - "filename": "requirements.txt" - }, - "defaultSparkLogFolder": "/logs", - "isAutotuneEnabled": false - } - }, - { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool2", - "type": "Microsoft.Synapse/workspaces/bigDataPools", - "location": "West US 2", - "name": "ExamplePool2", - "tags": {}, - "properties": { - "provisioningState": "Succeeded", - "sparkVersion": "3.3", - "nodeCount": 4, - "nodeSize": "Medium", - "nodeSizeFamily": "MemoryOptimized", - "autoScale": { - "enabled": true, - "minNodeCount": 3, - "maxNodeCount": 50 - }, - "autoPause": { - "enabled": true, - "delayInMinutes": 15 - }, - "creationDate": "1970-01-01T00:00:00Z", - "sparkEventsFolder": "/events", - "libraryRequirements": { - "time": "1970-01-01T00:00:00Z", - "content": "", - "filename": "requirements.txt" - }, - "defaultSparkLogFolder": "/logs", - "isAutotuneEnabled": false - } - } - ], - "nextLink": "" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListIpFirewallRules.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListIpFirewallRules.json deleted file mode 100644 index 03d5246277b1..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListIpFirewallRules.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [], - "nextLink": "" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListKeysInWorkspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListKeysInWorkspace.json deleted file mode 100644 index 0cba569c471f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListKeysInWorkspace.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/keys/key1", - "name": "key1", - "type": "Microsoft.Synapse/workspaces/keys", - "properties": { - "keyVaultUrl": "https://vault.azure.net/keys/somesecret1", - "isActiveCMK": false - } - }, - { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/keys/key2", - "name": "key2", - "type": "Microsoft.Synapse/workspaces/keys", - "properties": { - "keyVaultUrl": "https://vault.azure.net/keys/somesecret2", - "isActiveCMK": true - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateEndpointConnections.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateEndpointConnections.json deleted file mode 100644 index 09e3adba741d..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateEndpointConnections.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection", - "name": "sql", - "type": "Microsoft.Synapse/workspaces/privateEndpointConnections", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint" - }, - "privateLinkServiceConnectionState": { - "status": "Approved", - "description": "Auto-approved", - "actionsRequired": "None" - } - } - } - ] - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubPrivateLinkResources.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubPrivateLinkResources.json deleted file mode 100644 index a76df1d984e1..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubPrivateLinkResources.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "privateLinkHubName": "ExamplePrivateLinkHub", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/privateLinkHubs/ExamplePrivateLinkHub/privateLinkResources/sql", - "name": "sql", - "type": "Microsoft.Synapse/privateLinkHubs/privateLinkResources", - "properties": { - "groupId": "sql", - "requiredMembers": [ - "sql" - ], - "requiredZoneNames": [ - "privatelink.sql.azuresynapse.net" - ] - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubsInResourceGroup.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubsInResourceGroup.json deleted file mode 100644 index 85397add2d6f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubsInResourceGroup.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1", - "name": "privateLinkHub1", - "type": "Microsoft.Synapse/privateLinkHubs", - "location": "East US", - "properties": { - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub2", - "name": "privateLinkHub2", - "type": "Microsoft.Synapse/privateLinkHubs", - "location": "East US", - "properties": { - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubsInSubscription.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubsInSubscription.json deleted file mode 100644 index ea604b03e0b5..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkHubsInSubscription.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1", - "name": "privateLinkHub1", - "type": "Microsoft.Synapse/privateLinkHubs", - "location": "East US", - "properties": { - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub2", - "name": "privateLinkHub2", - "type": "Microsoft.Synapse/privateLinkHubs", - "location": "East US", - "properties": { - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkResources.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkResources.json deleted file mode 100644 index accd55b810eb..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListPrivateLinkResources.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateLinkResources/sql", - "name": "sql", - "type": "Microsoft.Synapse/workspaces/privateLinkResources", - "properties": { - "groupId": "sql", - "requiredMembers": [ - "sql" - ], - "requiredZoneNames": [ - "privatelink.sql.azuresynapse.net" - ] - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolColumns.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolColumns.json deleted file mode 100644 index 5d600ea31982..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolColumns.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "serverName", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "tableName": "table1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/serverName/sqlPools/myDatabase/schemas/dbo/tables/table1/columns/col1", - "name": "col1", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns", - "properties": { - "columnType": "nvarchar" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/serverName/sqlPools/myDatabase/schemas/dbo/tables/table1/columns/col2", - "name": "col2", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns", - "properties": { - "columnType": "bit" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolOperations.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolOperations.json deleted file mode 100644 index 7eccba6d3979..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolOperations.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-7398", - "workspaceName": "sqlcrudtest-4645", - "sqlPoolName": "testdb", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Synapse/workspaces/sqlcrudtest-4645/sqlPools/testdb/operations/11111111-1111-1111-1111-111111111111", - "name": "11111111-1111-1111-1111-111111111111", - "type": "Microsoft.Synapse/workspaces/sqlPools/operations", - "properties": { - "databaseName": "testdb", - "operation": "UpdateLogicalDatabase", - "operationFriendlyName": "ALTER DATABASE", - "percentComplete": 100, - "serverName": "sqlcrudtest-4645", - "startTime": "2017-06-01T09:10:08.10Z", - "state": "Succeeded", - "estimatedCompletionTime": "2017-06-01T13:10:10Z", - "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", - "isCancellable": false - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-7398/providers/Microsoft.Synapse/workspaces/sqlcrudtest-4645/sqlPools/testdb/operations/55555555-5555-5555-5555-555555555555", - "name": "55555555-5555-5555-5555-555555555555", - "type": "Microsoft.Synapse/workspaces/sqlPools/operations", - "properties": { - "databaseName": "testdb", - "operation": "UpdateLogicalDatabase", - "operationFriendlyName": "ALTER DATABASE", - "percentComplete": 19, - "serverName": "sqlcrudtest-4645", - "startTime": "2017-06-01T10:10:08.10Z", - "state": "InProgress", - "estimatedCompletionTime": "2017-06-01T13:10:10Z", - "description": "UpdateLogicalDatabase on 'testdb', target ServiceLevelObjective S3", - "isCancellable": true - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolReplicationLinks.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolReplicationLinks.json deleted file mode 100644 index 7294d60d1cda..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolReplicationLinks.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-4799", - "workspaceName": "sqlcrudtest-6440", - "sqlPoolName": "testdb", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6440/sqlPools/testdb/replicationLinks/5b301b68-03f6-4b26-b0f4-73ebb8634238", - "name": "5b301b68-03f6-4b26-b0f4-73ebb8634238", - "type": "Microsoft.Synapse/workspaces/sqlPools/replicationLinks", - "location": "Japan East", - "properties": { - "partnerServer": "sqlcrudtest-5961", - "partnerDatabase": "testdb", - "partnerLocation": "Japan East", - "role": "Secondary", - "partnerRole": "Primary", - "replicationMode": "ASYNC", - "startTime": "2017-02-10T01:44:27.117Z", - "percentComplete": 100, - "replicationState": "CATCH_UP", - "isTerminationAllowed": true - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolRestorePoints.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolRestorePoints.json deleted file mode 100644 index 63e6b7256258..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolRestorePoints.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "location": "japaneast", - "workspaceName": "testserver", - "sqlPoolName": "testDatabase", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131546477590000000", - "name": "131546477590000000", - "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints", - "location": "japaneast", - "properties": { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-03-10T08:00:00.000Z", - "restorePointLabel": "mylabel1" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131553636140000000", - "name": "131553636140000000", - "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints", - "location": "japaneast", - "properties": { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-11-17T03:40:14Z", - "restorePointLabel": "mylabel2" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testserver/sqlPools/testDatabase/restorePoints/131553619750000000", - "name": "131553619750000000", - "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints", - "location": "japaneast", - "properties": { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-11-17T03:12:55Z" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolSchema.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolSchema.json deleted file mode 100644 index 21fdefa51a73..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolSchema.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "serverName", - "sqlPoolName": "myDatabase", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/serverName/sqlPools/myDatabase/schemas/dbo", - "name": "dbo", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas" - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/serverName/sqlPools/myDatabase/schemas/schema2", - "name": "schema2", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas" - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolSensitivityLabelsWithSourceRecommended.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolSensitivityLabelsWithSourceRecommended.json deleted file mode 100644 index 1fdaca9998c8..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolSensitivityLabelsWithSourceRecommended.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "myServer", - "sqlPoolName": "myDatabase", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/schemas/dbo/tables/myTable/columns/myColumn/sensitivityLabels/recommended", - "name": "recommended", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels", - "properties": { - "informationType": "Financial", - "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", - "labelId": "05e6eaa1-075a-4fb4-a732-a92215a2444a", - "labelName": "Sensitive" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/schemas/dbo/tables/myTable/columns/myColumn2/sensitivityLabels/recommended", - "name": "recommended", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels", - "properties": { - "informationType": "Email", - "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", - "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", - "labelName": "PII" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolTables.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolTables.json deleted file mode 100644 index ef09a8c24978..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolTables.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "serverName", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/serverName/sqlPools/myDatabase/schemas/dbo/tables/table1", - "name": "table1", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables" - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/serverName/sqlPools/myDatabase/schemas/dbo/tables/table2", - "name": "table2", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables" - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolVulnerabilityAssessmentScanRecords.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolVulnerabilityAssessmentScanRecords.json deleted file mode 100644 index dfcbef6a142f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolVulnerabilityAssessmentScanRecords.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityassessmenttest-4711", - "workspaceName": "vulnerabilityassessmenttest-6411", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityassessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default/scans/scan001", - "name": "scan001", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan001", - "triggerType": "OnDemand", - "state": "Passed", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [], - "numberOfFailedSecurityChecks": 9 - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityassessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default/scans/scan002", - "name": "scan002", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan002", - "triggerType": "Recurring", - "state": "Failed", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [], - "numberOfFailedSecurityChecks": 9 - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityassessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default/scans/scan003", - "name": "scan003", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan003", - "triggerType": "Recurring", - "state": "FailedToRun", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [ - { - "code": "StorageNotFound", - "message": "Storage not found" - } - ], - "numberOfFailedSecurityChecks": 0 - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolVulnerabilityAssessments.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolVulnerabilityAssessments.json deleted file mode 100644 index 40d4b8d4a888..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolVulnerabilityAssessments.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4799", - "workspaceName": "vulnerabilityaseessmenttest-6440", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments", - "properties": { - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsInWorkspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsInWorkspace.json deleted file mode 100644 index a7a0e79a93a2..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsInWorkspace.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6845", - "workspaceName": "sqlcrudtest-7177", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6845/providers/Microsoft.Synapse/workspaces/sqlcrudtest-7177/sqlPools/master", - "name": "master", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 32212254720, - "creationDate": "2017-02-10T00:59:33.483Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z", - "storageAccountType": "GRS" - }, - "sku": { - "name": "GP_Gen5_2" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6845/providers/Microsoft.Synapse/workspaces/sqlcrudtest-7177/sqlPools/sqlcrudtest-1142", - "name": "sqlcrudtest-1142", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "creationDate": "2017-02-10T01:03:34.04Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z", - "storageAccountType": "GRS" - }, - "sku": { - "name": "DW100c" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6845/providers/Microsoft.Synapse/workspaces/sqlcrudtest-7177/sqlPools/sqlcrudtest-2788", - "name": "sqlcrudtest-2788", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "creationDate": "2017-02-10T01:00:21.067Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z", - "storageAccountType": "GRS" - }, - "sku": { - "name": "DW100c" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6845/providers/Microsoft.Synapse/workspaces/sqlcrudtest-7177/sqlPools/sqlcrudtest-6877", - "name": "sqlcrudtest-6877", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Southeast Asia", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "creationDate": "2017-02-10T01:02:28.853Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z", - "storageAccountType": "LRS" - }, - "sku": { - "name": "DW100c" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6845/providers/Microsoft.Synapse/workspaces/sqlcrudtest-7177/sqlPools/sqlcrudtest-9888", - "name": "sqlcrudtest-9888", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "creationDate": "2017-02-10T01:01:25.347Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z", - "storageAccountType": "GRS" - }, - "sku": { - "name": "DW100c" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsInWorkspaceWithFilter.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsInWorkspaceWithFilter.json deleted file mode 100644 index 844a4725fba2..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsInWorkspaceWithFilter.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6845", - "workspaceName": "sqlcrudtest-7177", - "api-version": "2023-05-01", - "$filter": "properties/edition eq 'System'" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6845/providers/Microsoft.Synapse/workspaces/sqlcrudtest-7177/sqlPools/master", - "name": "master", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 32212254720, - "creationDate": "2017-02-10T00:59:33.483Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z", - "storageAccountType": "GRS" - }, - "sku": { - "name": "GP_Gen5_2" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsSensitivityLabelsWithSourceCurrent.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsSensitivityLabelsWithSourceCurrent.json deleted file mode 100644 index 6ad2660db442..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListSqlPoolsSensitivityLabelsWithSourceCurrent.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "myServer", - "sqlPoolName": "myDatabase", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/schemas/dbo/tables/myTable/columns/myColumn3/sensitivityLabels/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels", - "properties": { - "informationType": "Financial", - "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", - "labelId": "05e6eaa1-075a-4fb4-a732-a92215a2444a", - "labelName": "Sensitive" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/myServer/sqlPools/myDatabase/schemas/dbo/tables/myTable/columns/myColumn4/sensitivityLabels/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns/sensitivityLabels", - "properties": { - "informationType": "Email", - "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", - "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", - "labelName": "PII" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerBlobAuditingSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerBlobAuditingSettings.json deleted file mode 100644 index aca081b07322..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerBlobAuditingSettings.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/auditingSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/auditingSettings", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "isAzureMonitorTargetEnabled": false - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json deleted file mode 100644 index 1009d6f5dc0a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-6852", - "workspaceName": "workspace-2080", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "eastus", - "properties": { - "minimalTlsVersion": "1.1" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "location": "eastus", - "properties": { - "minimalTlsVersion": "1.1" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerExtendedBlobAuditingSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerExtendedBlobAuditingSettings.json deleted file mode 100644 index ae12f90ed438..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerExtendedBlobAuditingSettings.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/extendedAuditingSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/extendedAuditingSettings", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "predicateExpression": "object_name = 'SensitiveData'", - "isAzureMonitorTargetEnabled": false - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerRecoverableSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerRecoverableSqlPool.json deleted file mode 100644 index cef7966d181a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerRecoverableSqlPool.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/recoverableSqlpools/recoverableSqlpools-1235", - "name": "recoverableSqlpools-1235", - "type": "Microsoft.Synapse/workspaces/recoverableSqlpools", - "properties": { - "edition": "Standard", - "serviceLevelObjective": "S0", - "lastAvailableBackupDate": "2017-05-26T01:06:29.78Z", - "elasticPoolName": null - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/recoverableSqlpools/recoverableSqlpools-9231", - "name": "recoverableSqlpools-9231", - "type": "Microsoft.Synapse/workspaces/recoverableSqlpools", - "properties": { - "edition": "Premium", - "serviceLevelObjective": "P1", - "lastAvailableBackupDate": "2017-05-26T03:20:31.78Z", - "elasticPoolName": null - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/recoverableSqlpools/recoverableSqlpools-0342", - "name": "recoverableSqlpools-0342", - "type": "Microsoft.Synapse/workspaces/recoverableSqlpools", - "properties": { - "edition": "Basic", - "serviceLevelObjective": "Basic", - "lastAvailableBackupDate": "2017-05-24T02:06:18.78Z", - "elasticPoolName": null - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerSecurityAlertPolicies.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerSecurityAlertPolicies.json deleted file mode 100644 index b5cfd8113429..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerSecurityAlertPolicies.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/securityAlertPolicies", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/securityAlertPolicies", - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "test@microsoft.com;user@microsoft.com" - ], - "disabledAlerts": [ - "Access_Anomaly" - ], - "creationTime": "2020-10-23T04:52:49.52Z", - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerUsages.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerUsages.json deleted file mode 100644 index 6174a7cb5d2a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerUsages.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "server_dtu_quota", - "resourceName": "testWorkspace", - "displayName": "Database Throughput Unit Quota", - "currentValue": 0, - "limit": 45000, - "unit": "DTUs", - "nextResetTime": null - }, - { - "name": "server_dtu_quota_current", - "resourceName": "testWorkspace", - "displayName": "Database Throughput Unit Quota", - "currentValue": 0, - "limit": 45000, - "unit": "DTUs", - "nextResetTime": null - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerVulnerabilityAssessmentPolicies.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerVulnerabilityAssessmentPolicies.json deleted file mode 100644 index 379c254dd631..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspaceManagedSqlServerVulnerabilityAssessmentPolicies.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspacesInResourceGroup.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspacesInResourceGroup.json deleted file mode 100644 index 85964f2c986f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspacesInResourceGroup.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1", - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "connectivityEndpoints": { - "dev": "workspace1.dev.projectarcadia.net", - "sql": "workspace1.sql.projectarcadia.net" - }, - "sqlAdministratorLogin": "login", - "sqlAdministratorLoginPassword": "password", - "managedResourceGroupName": "resourceGroup2", - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace2", - "name": "workspace2", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "connectivityEndpoints": { - "dev": "workspace2.dev.projectarcadia.net", - "sql": "workspace2.sql.projectarcadia.net" - }, - "sqlAdministratorLogin": "login", - "sqlAdministratorLoginPassword": "password", - "managedResourceGroupName": "resourceGroup2", - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspacesInSubscription.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspacesInSubscription.json deleted file mode 100644 index f227cfae2ff2..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ListWorkspacesInSubscription.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1", - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "connectivityEndpoints": { - "dev": "workspace1.dev.projectarcadia.net", - "sql": "workspace1.sql.projectarcadia.net" - }, - "sqlAdministratorLogin": "login", - "managedResourceGroupName": "resourceGroup2", - "provisioningState": "Succeeded", - "workspaceUID": "00000000-1111-2222-3333-444444444444" - }, - "tags": { - "key": "value" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace2", - "name": "workspace2", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "connectivityEndpoints": { - "dev": "workspace2.dev.projectarcadia.net", - "sql": "workspace2.sql.projectarcadia.net" - }, - "sqlAdministratorLogin": "login", - "managedResourceGroupName": "resourceGroup2", - "provisioningState": "Succeeded", - "workspaceUID": "00000000-1111-2222-3333-444444444444" - }, - "tags": { - "key": "value" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PauseSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PauseSqlPool.json deleted file mode 100644 index 5d0d3fc4a460..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PauseSqlPool.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "workspaceName": "testsvr", - "sqlPoolName": "testdwdb", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/testdwdb", - "name": "testdwdb", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "creationDate": "2017-02-10T00:56:19.2Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "DW100c" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/testdwdb", - "name": "testdwdb", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "creationDate": "2017-02-10T00:56:19.2Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "DW100c" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PrivateEndpointConnectionsPrivateLinkHub_Get.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PrivateEndpointConnectionsPrivateLinkHub_Get.json deleted file mode 100644 index 73744d0b1bda..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PrivateEndpointConnectionsPrivateLinkHub_Get.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "parameters": { - "subscriptionId": "48b08652-d7a1-4d52-b13f-5a2471dce57b", - "resourceGroupName": "gh-res-grp", - "privateLinkHubName": "pe0", - "privateEndpointConnectionName": "pe0-f3ed30f5-338c-4855-a542-24a403694ad2", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "name": "pe0-f3ed30f5-338c-4855-a542-24a403694ad2", - "type": "Microsoft.Synapse/privateLinkHubs/privateEndpointConnections", - "id": "/subscriptions/48b08652-d7a1-4d52-b13f-5a2471dce57b/resourceGroups/gh-res-grp/providers/Microsoft.Synapse/privateLinkHubs/plh900/privateEndpointConnections/pe0-f3ed30f5-338c-4855-a542-24a403694ad2", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/48b08652-d7a1-4d52-b13f-5a2471dce57b/resourceGroups/gh-res-grp/providers/Microsoft.Network/privateEndpoints/pe0" - }, - "privateLinkServiceConnectionState": { - "status": "Approved" - } - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PrivateEndpointConnectionsPrivateLinkHub_List.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PrivateEndpointConnectionsPrivateLinkHub_List.json deleted file mode 100644 index d21192d73699..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PrivateEndpointConnectionsPrivateLinkHub_List.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "subscriptionId": "48b08652-d7a1-4d52-b13f-5a2471dce57b", - "resourceGroupName": "gh-res-grp", - "privateLinkHubName": "pe0", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "pe0-f3ed30f5-338c-4855-a542-24a403694ad2", - "type": "Microsoft.Synapse/privateLinkHubs/privateEndpointConnections", - "id": "/subscriptions/48b08652-d7a1-4d52-b13f-5a2471dce57b/resourceGroups/gh-res-grp/providers/Microsoft.Synapse/privateLinkHubs/plh900/privateEndpointConnections/pe0-f3ed30f5-338c-4855-a542-24a403694ad2", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/48b08652-d7a1-4d52-b13f-5a2471dce57b/resourceGroups/gh-res-grp/providers/Microsoft.Network/privateEndpoints/pe0" - }, - "privateLinkServiceConnectionState": { - "status": "Approved" - } - } - }, - { - "name": "pe-xbox-3e425dc3-edd9-434c-9bca-3ac6cecbc7e4", - "type": "Microsoft.Synapse/privateLinkHubs/privateEndpointConnections", - "id": "/subscriptions/48b08652-d7a1-4d52-b13f-5a2471dce57b/resourceGroups/gh-res-grp/providers/Microsoft.Synapse/privateLinkHubs/plh900/privateEndpointConnections/pe-xbox-3e425dc3-edd9-434c-9bca-3ac6cecbc7e4", - "properties": { - "provisioningState": "Succeeded", - "privateEndpoint": { - "id": "/subscriptions/48b08652-d7a1-4d52-b13f-5a2471dce57b/resourceGroups/gh-res-grp/providers/Microsoft.Network/privateEndpoints/pe-xbox" - }, - "privateLinkServiceConnectionState": { - "status": "Approved" - } - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceManagedSqlServerVulnerabilityAssessmentWithAllParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceManagedSqlServerVulnerabilityAssessmentWithAllParameters.json deleted file mode 100644 index eb6fc55dadca..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceManagedSqlServerVulnerabilityAssessmentWithAllParameters.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "storageContainerSasKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": true, - "emails": [ - "email1@mail.com", - "email2@mail.com" - ] - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateContainerSasKeyMin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateContainerSasKeyMin.json deleted file mode 100644 index 71f71df1d293..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateContainerSasKeyMin.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "storageContainerSasKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": false, - "emails": [] - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": false, - "emails": [] - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json deleted file mode 100644 index 451e77d7b0b3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "vulnerabilityAssessmentName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "storageAccountAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": false, - "emails": [] - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/vulnerabilityAssessments/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/vulnerabilityAssessments", - "properties": { - "storageContainerPath": "https://myStorage.blob.core.windows.net/vulnerability-assessment/", - "recurringScans": { - "isEnabled": true, - "emailSubscriptionAdmins": false, - "emails": [] - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RecommendedColumnSensitivityLabelDisable.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RecommendedColumnSensitivityLabelDisable.json deleted file mode 100644 index adda4bfb0b3f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RecommendedColumnSensitivityLabelDisable.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "myServer", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-05-01" - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RecommendedColumnSensitivityLabelEnable.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RecommendedColumnSensitivityLabelEnable.json deleted file mode 100644 index adda4bfb0b3f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RecommendedColumnSensitivityLabelEnable.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "myServer", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "tableName": "myTable", - "columnName": "myColumn", - "sensitivityLabelSource": "recommended", - "api-version": "2023-05-01" - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RenameSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RenameSqlPool.json deleted file mode 100644 index 82d251e158ca..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RenameSqlPool.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "workspaceName": "testsvr", - "sqlPoolName": "testdb", - "api-version": "2023-05-01", - "parameters": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/Default-SQL-SouthEastAsia/providers/Microsoft.Synapse/workspaces/testsvr/sqlPools/newtestdb" - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ReplaceAllIpFirewallRules.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ReplaceAllIpFirewallRules.json deleted file mode 100644 index eb7974d69b61..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ReplaceAllIpFirewallRules.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "api-version": "2023-05-01", - "request": { - "ipFirewallRules": { - "ExampleFirewallRule": { - "startIpAddress": "10.0.0.0", - "endIpAddress": "10.0.0.254" - }, - "AnotherExampleFirewallRule": { - "startIpAddress": "10.0.1.0", - "endIpAddress": "10.0.1.254" - } - } - } - }, - "responses": { - "200": { - "body": { - "operationId": "00000000-1111-4444-2222-333333333333" - } - }, - "202": { - "headers": { - "Location": "https://management.azure.com/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RestorableDroppedSqlPoolGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RestorableDroppedSqlPoolGet.json deleted file mode 100644 index e8809b8ca4b3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RestorableDroppedSqlPoolGet.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "restorabledroppeddatabasetest-1257", - "workspaceName": "restorabledroppeddatabasetest-2389", - "restorableDroppedSqlPoolId": "restorabledroppeddatabasetest-7654,131403269876900000", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1257/providers/Microsoft.Synapse/workspaces/restorabledroppeddatabasetest-2389/restorableDroppedSqlPools/restorabledroppeddatabasetest-7654,131403269876900000", - "name": "restorabledroppeddatabasetest-7654,131403269876900000", - "type": "Microsoft.Synapse/workspaces/restorableDroppedSqlPools", - "location": "Japan East", - "properties": { - "databaseName": "restorabledroppeddatabasetest-7654", - "edition": "Datawarehouse", - "maxSizeBytes": "2147483648", - "serviceLevelObjective": "DW100c", - "elasticPoolName": null, - "creationDate": "2017-02-10T00:56:19.2Z", - "deletionDate": "2017-05-27T02:49:47.69Z", - "earliestRestoreDate": "2017-05-20T02:49:47.69Z" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RestorableDroppedSqlpoolList.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RestorableDroppedSqlpoolList.json deleted file mode 100644 index 29c868127cbd..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/RestorableDroppedSqlpoolList.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "restorabledroppeddatabasetest-1349", - "workspaceName": "restorabledroppeddatabasetest-1840", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1349/providers/Microsoft.Synapse/workspaces/restorabledroppeddatabasetest-1840/restorableDroppedSqlPools/restorabledroppeddatabasetest-1345,131403269876900000", - "name": "restorabledroppeddatabasetest-1345,131403269876900000", - "type": "Microsoft.Synapse/workspaces/restorableDroppedSqlPools", - "location": "Japan East", - "properties": { - "databaseName": "restorabledroppeddatabasetest-1345", - "edition": "Basic", - "maxSizeBytes": "2147483648", - "serviceLevelObjective": "Basic", - "elasticPoolName": null, - "creationDate": "2017-02-10T00:56:19.2Z", - "deletionDate": "2017-05-27T02:49:47.69Z", - "earliestRestoreDate": "2017-05-20T02:49:47.69Z" - } - }, - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/restorabledroppeddatabasetest-1349/providers/Microsoft.Synapse/workspaces/restorabledroppeddatabasetest-1840/restorableDroppedSqlPools/restorabledroppeddatabasetest-2764,131403249684030000", - "name": "restorabledroppeddatabasetest-2764,131403249684030000", - "type": "Microsoft.Synapse/workspaces/restorableDroppedSqlPools", - "location": "Japan East", - "properties": { - "databaseName": "restorabledroppeddatabasetest-2764", - "edition": "Standard", - "maxSizeBytes": "268435456000", - "serviceLevelObjective": "S0", - "elasticPoolName": null, - "creationDate": "2016-05-10T00:56:19.2Z", - "deletionDate": "2017-05-27T02:16:08.403Z", - "earliestRestoreDate": "2017-04-21T02:49:47.69Z" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ResumeSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ResumeSqlPool.json deleted file mode 100644 index 0ec8319fdef0..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/ResumeSqlPool.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "sqlcrudtest-6852", - "workspaceName": "sqlcrudtest-2080", - "sqlPoolName": "sqlcrudtest-9187", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187", - "name": "sqlcrudtest-9187", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "creationDate": "2017-02-10T00:56:19.2Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "DW100c" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "tags": { - "tagKey1": "TagValue1" - }, - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-6852/providers/Microsoft.Synapse/workspaces/sqlcrudtest-2080/sqlPools/sqlcrudtest-9187", - "name": "sqlcrudtest-9187", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "location": "Japan East", - "properties": { - "status": "Online", - "collation": "SQL_Latin1_General_CP1_CI_AS", - "maxSizeBytes": 268435456000, - "creationDate": "2017-02-10T00:56:19.2Z", - "provisioningState": "Succeeded", - "restorePointInTime": "0001-01-01T00:00:00Z" - }, - "sku": { - "name": "DW100c" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SensitivityLabelsCurrentUpdate.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SensitivityLabelsCurrentUpdate.json deleted file mode 100644 index 685105600306..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SensitivityLabelsCurrentUpdate.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "myWorkspace", - "sqlPoolName": "mySqlPool", - "api-version": "2023-05-01", - "parameters": { - "operations": [ - { - "properties": { - "op": "set", - "schema": "dbo", - "table": "table1", - "column": "column1", - "sensitivityLabel": { - "properties": { - "labelName": "Highly Confidential", - "labelId": "3A477B16-9423-432B-AA97-6069B481CEC3", - "informationType": "Financial", - "informationTypeId": "1D3652D6-422C-4115-82F1-65DAEBC665C8", - "rank": "Low" - } - } - } - }, - { - "properties": { - "op": "set", - "schema": "dbo", - "table": "table2", - "column": "column2", - "sensitivityLabel": { - "properties": { - "informationType": "PhoneNumber", - "informationTypeId": "d22fa6e9-5ee4-3bde-4c2b-a409604c4646", - "labelId": "bf91e08c-f4f0-478a-b016-25164b2a65ff", - "labelName": "PII", - "rank": "Critical" - } - } - } - }, - { - "properties": { - "op": "remove", - "schema": "dbo", - "table": "Table1", - "column": "Column3" - } - } - ] - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SensitivityLabelsRecommendedUpdate.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SensitivityLabelsRecommendedUpdate.json deleted file mode 100644 index d8c8c5480499..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SensitivityLabelsRecommendedUpdate.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "myWorkspace", - "sqlPoolName": "mySqlPool", - "api-version": "2023-05-01", - "parameters": { - "operations": [ - { - "properties": { - "op": "enable", - "schema": "dbo", - "table": "table1", - "column": "column1" - } - }, - { - "properties": { - "op": "enable", - "schema": "dbo", - "table": "table2", - "column": "column2" - } - }, - { - "properties": { - "op": "disable", - "schema": "dbo", - "table": "table1", - "column": "column3" - } - } - ] - } - }, - "responses": { - "200": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolAuditingSettingsList.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolAuditingSettingsList.json deleted file mode 100644 index 52c58e48a5b3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolAuditingSettingsList.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-6852", - "workspaceName": "blobauditingtest-2080", - "sqlPoolName": "testdb", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Synapse/workspaces/blobauditingtest-2080/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/auditingSettings", - "kind": "V12", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "isAzureMonitorTargetEnabled": false - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolColumnGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolColumnGet.json deleted file mode 100644 index 3b3dafc1103e..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolColumnGet.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "serverName", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "tableName": "table1", - "columnName": "column1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/serverName/sqlPools/myDatabase/schemas/dbo/tables/table1/columns/column1", - "name": "column1", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables/columns", - "properties": { - "columnType": "bit" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolExtendedAuditingSettingsList.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolExtendedAuditingSettingsList.json deleted file mode 100644 index 7742f612cbb3..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolExtendedAuditingSettingsList.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "blobauditingtest-6852", - "workspaceName": "blobauditingtest-2080", - "sqlPoolName": "testdb", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/blobauditingtest-6852/providers/Microsoft.Synapse/workspaces/blobauditingtest-2080/sqlPools/testdb/extendedAuditingSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/extendedAuditingSettings", - "properties": { - "state": "Disabled", - "storageEndpoint": "", - "retentionDays": 0, - "auditActionsAndGroups": [], - "storageAccountSubscriptionId": "00000000-0000-0000-0000-000000000000", - "isStorageSecondaryKeyInUse": false, - "predicateExpression": "statement = 'select 1'", - "isAzureMonitorTargetEnabled": false - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolGeoBackupPolicies_List.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolGeoBackupPolicies_List.json deleted file mode 100644 index 20dd4c79d6eb..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolGeoBackupPolicies_List.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-4799", - "workspaceName": "sqlcrudtest-5961", - "sqlPoolName": "testdw", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Synapse/workspaces/sqlcrudtest-5961/sqlPools/testdw/geoBackupPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/sqlPools/geoBackupPolicies", - "location": "Central US", - "kind": null, - "properties": { - "state": "Enabled", - "storageType": "Premium" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolReplicationLinks_GetByName.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolReplicationLinks_GetByName.json deleted file mode 100644 index 49307842f795..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolReplicationLinks_GetByName.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-4799", - "workspaceName": "sqlcrudtest-6440", - "sqlPoolName": "testdb", - "linkId": "5b301b68-03f6-4b26-b0f4-73ebb8634238", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/sqlcrudtest-4799/providers/Microsoft.Synapse/workspaces/sqlcrudtest-6440/sqlPools/testdb/replicationLinks/5b301b68-03f6-4b26-b0f4-73ebb8634238", - "name": "5b301b68-03f6-4b26-b0f4-73ebb8634238", - "type": "Microsoft.Synapse/workspaces/sqlPools/replicationLinks", - "location": "Japan East", - "properties": { - "partnerServer": "sqlcrudtest-5961", - "partnerDatabase": "testdb", - "partnerLocation": "Japan East", - "role": "Secondary", - "partnerRole": "Primary", - "replicationMode": "ASYNC", - "startTime": "2017-02-10T01:44:27.117Z", - "percentComplete": 100, - "replicationState": "CATCH_UP", - "isTerminationAllowed": true - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolRestorePointsDelete.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolRestorePointsDelete.json deleted file mode 100644 index cbcdc011ec89..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolRestorePointsDelete.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "restorePointName": "131546477590000000", - "location": "japaneast", - "workspaceName": "testws", - "sqlPoolName": "testpool", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolRestorePointsGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolRestorePointsGet.json deleted file mode 100644 index 49fc93ec71d8..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolRestorePointsGet.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "Default-SQL-SouthEastAsia", - "restorePointName": "131546477590000000", - "location": "japaneast", - "workspaceName": "testws", - "sqlPoolName": "testpool", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Synapse/workspaces/testws/sqlPools/testpool/restorePoints/131546477590000000", - "name": "131546477590000000", - "type": "Microsoft.Synapse/workspaces/sqlPools/restorePoints", - "location": "japaneast", - "properties": { - "restorePointType": "DISCRETE", - "restorePointCreationDate": "2017-03-10T08:00:00.000Z", - "restorePointLabel": "mylabel" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolSchemaGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolSchemaGet.json deleted file mode 100644 index 9191f7157556..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolSchemaGet.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "serverName", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/serverName/sqlPools/myDatabase/schemas/dbo", - "name": "dbo", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolSecurityAlertPolicies_List.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolSecurityAlertPolicies_List.json deleted file mode 100644 index 545885375d0a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolSecurityAlertPolicies_List.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "securityalert-6852", - "workspaceName": "securityalert-2080", - "sqlPoolName": "testdb", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/securityalert-6852/providers/Microsoft.Synapse/workspaces/securityalert-2080/sqlPools/testdb", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "test@microsoft.com", - "user@microsoft.com" - ], - "disabledAlerts": [ - "Usage_Anomaly" - ], - "retentionDays": 0, - "storageAccountAccessKey": "", - "creationTime": "2018-10-08T00:00:00Z" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolTableGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolTableGet.json deleted file mode 100644 index 798740bb7a2a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolTableGet.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "myRG", - "workspaceName": "serverName", - "sqlPoolName": "myDatabase", - "schemaName": "dbo", - "tableName": "table1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myRG/providers/Microsoft.Synapse/workspaces/serverName/sqlPools/myDatabase/schemas/dbo/tables/table1", - "name": "table1", - "type": "Microsoft.Synapse/workspaces/sqlPools/schemas/tables" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolUsageMetricsList.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolUsageMetricsList.json deleted file mode 100644 index ed2d16ba0e3f..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolUsageMetricsList.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "sqlcrudtest-6730", - "workspaceName": "sqlcrudtest-9007", - "sqlPoolName": "3481", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "name": "database_size", - "resourceName": "3481", - "displayName": "Database Size", - "currentValue": 4194304, - "limit": 268435456000, - "unit": "Bytes", - "nextResetTime": null - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolVulnerabilityAssessmentRuleBaselineGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolVulnerabilityAssessmentRuleBaselineGet.json deleted file mode 100644 index 0dc5b6bcdf64..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolVulnerabilityAssessmentRuleBaselineGet.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityaseessmenttest-4711", - "workspaceName": "vulnerabilityaseessmenttest-6411", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "ruleId": "VA1001", - "baselineName": "master", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityaseessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityaseessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default/rules/VA1001/baselines/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/rules/baselines", - "properties": { - "baselineResults": [ - { - "result": [ - "userA", - "SELECT" - ] - }, - { - "result": [ - "userB", - "SELECT" - ] - }, - { - "result": [ - "userC", - "SELECT", - "tableId_4" - ] - } - ] - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolVulnerabilityAssessmentScanRecordsGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolVulnerabilityAssessmentScanRecordsGet.json deleted file mode 100644 index 844059ce0d20..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SqlPoolVulnerabilityAssessmentScanRecordsGet.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "vulnerabilityassessmenttest-4711", - "workspaceName": "vulnerabilityassessmenttest-6411", - "sqlPoolName": "testdb", - "vulnerabilityAssessmentName": "default", - "scanId": "scan001", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/vulnerabilityassessmenttest-4799/providers/Microsoft.Synapse/workspaces/vulnerabilityassessmenttest-6440/sqlPools/testdb/vulnerabilityAssessments/default/scans/scan001", - "name": "scan001", - "type": "Microsoft.Synapse/workspaces/sqlPools/vulnerabilityAssessments/scans", - "properties": { - "scanId": "scan001", - "triggerType": "OnDemand", - "state": "Passed", - "startTime": "2017-12-12T17:45:06Z", - "endTime": "2017-12-12T17:47:06Z", - "errors": [], - "storageContainerPath": "https://myaccount.blob.core.windows.net/vulnerability-assessment", - "numberOfFailedSecurityChecks": 9 - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SubscriptionUsageQuotaGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SubscriptionUsageQuotaGet.json deleted file mode 100644 index 4b8dd2f8b3ee..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/SubscriptionUsageQuotaGet.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "location": "WestUS", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "unit": "Count", - "limit": 20, - "currentValue": 3, - "name": { - "value": "WorkspacesPerSubscriptionQuota", - "localizedValue": "Workspaces per subscription quota" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateBigDataPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateBigDataPool.json deleted file mode 100644 index 086fcda491c1..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateBigDataPool.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "bigDataPoolName": "ExamplePool", - "api-version": "2023-05-01", - "bigDataPoolPatchInfo": { - "tags": { - "key": "value" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/bigDataPools/ExamplePool", - "type": "Microsoft.Synapse/workspaces/bigDataPools", - "location": "West US 2", - "name": "ExamplePool", - "tags": { - "key": "value" - }, - "properties": { - "provisioningState": "Succeeded", - "sparkVersion": "3.3", - "nodeCount": 4, - "nodeSize": "Medium", - "nodeSizeFamily": "MemoryOptimized", - "autoScale": { - "enabled": true, - "minNodeCount": 3, - "maxNodeCount": 50 - }, - "autoPause": { - "enabled": true, - "delayInMinutes": 15 - }, - "creationDate": "1970-01-01T00:00:00Z", - "sparkEventsFolder": "/events", - "libraryRequirements": { - "time": "1970-01-01T00:00:00Z", - "content": "", - "filename": "requirements.txt" - }, - "defaultSparkLogFolder": "/logs", - "isAutotuneEnabled": false - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdatePrivateLinkHub.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdatePrivateLinkHub.json deleted file mode 100644 index 490e396922ca..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdatePrivateLinkHub.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "privateLinkHubName": "privateLinkHub1", - "api-version": "2023-05-01", - "privateLinkHubPatchInfo": { - "tags": { - "key": "value" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1", - "name": "privateLinkHub1", - "type": "Microsoft.Synapse/privateLinkHubs", - "location": "East US", - "properties": { - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/privateLinkHubs/privateLinkHub1", - "name": "privateLinkHub1", - "type": "Microsoft.Synapse/privateLinkHubs", - "location": "East US", - "properties": { - "provisioningState": "Succeeded" - }, - "tags": { - "key": "value" - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateSqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateSqlPool.json deleted file mode 100644 index 829356685e33..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateSqlPool.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "parameters": { - "subscriptionId": "01234567-89ab-4def-0123-456789abcdef", - "resourceGroupName": "ExampleResourceGroup", - "workspaceName": "ExampleWorkspace", - "sqlPoolName": "ExampleSqlPool", - "path": "example", - "api-version": "2023-05-01", - "sqlPoolInfo": { - "location": "West US 2", - "tags": {}, - "sku": { - "tier": "", - "name": "" - }, - "properties": { - "maxSizeBytes": 0, - "collation": "", - "restorePointInTime": "1970-01-01T00:00:00.000Z" - } - } - }, - "responses": { - "200": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - }, - "body": { - "id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspaces/sqlPools/ExampleSqlPool", - "type": "Microsoft.Synapse/workspaces/sqlPools", - "name": "ExampleSqlPool", - "location": "West US 2", - "tags": {}, - "sku": { - "tier": "", - "name": "" - }, - "properties": { - "maxSizeBytes": 0, - "collation": "", - "recoverableDatabaseId": "", - "provisioningState": "Provisioning", - "status": "Paused", - "restorePointInTime": "1970-01-01T00:00:00.000Z", - "creationDate": "1970-01-01T00:00:00.000Z", - "storageAccountType": "GRS" - } - } - }, - "202": { - "headers": { - "azure-asyncoperation": "https://ms.web.azuresynapse.net" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateWorkspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateWorkspace.json deleted file mode 100644 index f7b97ceae56a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateWorkspace.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01", - "workspacePatchInfo": { - "tags": { - "key": "value" - }, - "identity": { - "type": "SystemAssigned" - }, - "properties": { - "sqlAdministratorLoginPassword": "password", - "managedVirtualNetworkSettings": { - "preventDataExfiltration": false, - "linkedAccessCheckOnTargetResource": false, - "allowedAadTenantIdsForLinking": [ - "740239CE-A25B-485B-86A0-262F29F6EBDB" - ] - }, - "workspaceRepositoryConfiguration": { - "type": "FactoryGitHubConfiguration", - "hostName": "", - "accountName": "adifferentacount", - "projectName": "myproject", - "repositoryName": "myrepository", - "collaborationBranch": "master", - "rootFolder": "/" - }, - "purviewConfiguration": { - "purviewResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.ProjectPurview/accounts/accountname1" - }, - "encryption": { - "cmk": { - "key": { - "name": "default", - "keyVaultUrl": "https://vault.azure.net/keys/key1" - } - } - }, - "publicNetworkAccess": "Enabled" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1", - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "managedVirtualNetworkSettings": { - "preventDataExfiltration": false, - "linkedAccessCheckOnTargetResource": false, - "allowedAadTenantIdsForLinking": [ - "740239CE-A25B-485B-86A0-262F29F6EBDB" - ] - }, - "purviewConfiguration": { - "purviewResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.ProjectPurview/accounts/accountname1" - }, - "connectivityEndpoints": { - "dev": "workspace1.dev.projectarcadia.net", - "sql": "workspace1.sql.projectarcadia.net" - }, - "sqlAdministratorLogin": "login", - "managedResourceGroupName": "resourceGroup2", - "provisioningState": "Succeeded", - "workspaceUID": "00000000-1111-2222-3333-444444444444", - "encryption": { - "doubleEncryptionEnabled": true, - "cmk": { - "status": "Consistent", - "key": { - "name": "default", - "keyVaultUrl": "https://vault.azure.net/keys/key1" - } - } - }, - "publicNetworkAccess": "Enabled" - }, - "tags": { - "key": "value" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.Synapse/workspaces/workspace1", - "name": "workspace1", - "type": "Microsoft.Synapse/workspaces", - "location": "East US", - "properties": { - "defaultDataLakeStorage": { - "accountUrl": "https://accountname.dfs.core.windows.net", - "filesystem": "default" - }, - "managedVirtualNetworkSettings": { - "preventDataExfiltration": false, - "linkedAccessCheckOnTargetResource": false, - "allowedAadTenantIdsForLinking": [ - "740239CE-A25B-485B-86A0-262F29F6EBDB" - ] - }, - "purviewConfiguration": { - "purviewResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup1/providers/Microsoft.ProjectPurview/accounts/accountname1" - }, - "connectivityEndpoints": { - "dev": "workspace1.dev.projectarcadia.net", - "sql": "workspace1.sql.projectarcadia.net" - }, - "sqlAdministratorLogin": "login", - "managedResourceGroupName": "resourceGroup2", - "provisioningState": "Provisioning", - "workspaceUID": "00000000-1111-2222-3333-444444444444", - "encryption": { - "doubleEncryptionEnabled": true, - "cmk": { - "status": "Updating", - "key": { - "name": "default", - "keyVaultUrl": "https://vault.azure.net/keys/key1" - } - } - }, - "publicNetworkAccess": "Enabled" - }, - "tags": { - "key": "value" - } - } - }, - "default": { - "body": { - "error": { - "code": "Error code", - "message": "Error message" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json deleted file mode 100644 index b2400aabe4ee..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "workspace-6852", - "workspaceName": "workspace-2080", - "dedicatedSQLminimalTlsSettingsName": "default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "minimalTlsVersion": "1.1" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/dedicatedSQLminimalTlsSettings/default", - "name": "default", - "type": "Microsoft.Synapse/workspaces/dedicatedSQLminimalTlsSettings", - "properties": { - "minimalTlsVersion": "1.1" - } - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateKeyVault.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateKeyVault.json deleted file mode 100644 index 8a1409f27d93..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateKeyVault.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "encryptionProtectorName": "current", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "serverKeyType": "AzureKeyVault", - "serverKeyName": "someVault_someKey_01234567890123456789012345678901" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/encryptionProtector/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/encryptionProtector", - "location": "West US", - "kind": "azurekeyvault", - "properties": { - "serverKeyName": "someVault_someKey_01234567890123456789012345678901", - "serverKeyType": "AzureKeyVault" - } - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateServiceManaged.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateServiceManaged.json deleted file mode 100644 index 6c2a5056d229..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateServiceManaged.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "encryptionProtectorName": "current", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "serverKeyType": "ServiceManaged", - "serverKeyName": "ServiceManaged" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/encryptionProtector/current", - "name": "current", - "type": "Microsoft.Synapse/workspaces/encryptionProtector", - "location": "West US", - "kind": "servicemanaged", - "properties": { - "serverKeyName": "ServiceManaged", - "serverKeyType": "ServiceManaged" - } - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorRevalidate.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorRevalidate.json deleted file mode 100644 index aa450d3cfda4..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerEncryptionProtectorRevalidate.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "encryptionProtectorName": "current", - "api-version": "2023-05-01" - }, - "responses": { - "200": {}, - "202": { - "headers": { - "Location": "no logs in RP. Needs sample from Microsoft.Sql https://learn.microsoft.com/en-us/rest/api/sql/2022-05-01-preview/encryption-protectors/revalidate?tabs=HTTP#code-try-0" - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerSecurityAlertCreateWithMinParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerSecurityAlertCreateWithMinParameters.json deleted file mode 100644 index fc848de4fb14..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerSecurityAlertCreateWithMinParameters.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "securityAlertPolicyName": "Default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Disabled", - "emailAccountAdmins": true, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/securityAlertPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "" - ], - "disabledAlerts": [ - "" - ], - "creationTime": "2020-10-23T04:52:49.52Z", - "retentionDays": 0, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerSecurityAlertWithAllParameters.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerSecurityAlertWithAllParameters.json deleted file mode 100644 index 6acd52ca9f94..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceManagedSqlServerSecurityAlertWithAllParameters.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "wsg-7398", - "workspaceName": "testWorkspace", - "securityAlertPolicyName": "Default", - "api-version": "2023-05-01", - "parameters": { - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "testSecurityAlert@microsoft.com" - ], - "disabledAlerts": [ - "Access_Anomaly", - "Usage_Anomaly" - ], - "retentionDays": 5, - "storageAccountAccessKey": "sdlfkjabc+sdlfkjsdlkfsjdfLDKFTERLKFDFKLjsdfksjdflsdkfD2342309432849328476458/3RSD==", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/wsg-7398/providers/Microsoft.Synapse/workspaces/testWorkspace/securityAlertPolicies/Default", - "name": "Default", - "type": "Microsoft.Synapse/workspaces/securityAlertPolicies", - "properties": { - "state": "Enabled", - "emailAccountAdmins": true, - "emailAddresses": [ - "testSecurityAlert@microsoft.com" - ], - "disabledAlerts": [ - "Access_Anomaly", - "Usage_Anomaly" - ], - "creationTime": "2020-10-23T04:52:49.52Z", - "retentionDays": 5, - "storageAccountAccessKey": "", - "storageEndpoint": "https://mystorage.blob.core.windows.net" - } - } - }, - "202": {} - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceUsageQuotaGet.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceUsageQuotaGet.json deleted file mode 100644 index aaec3551f979..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/examples/WorkspaceUsageQuotaGet.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "parameters": { - "subscriptionId": "00000000-1111-2222-3333-444444444444", - "resourceGroupName": "resourceGroup1", - "workspaceName": "workspace1", - "api-version": "2023-05-01" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "unit": "Count", - "limit": 100, - "currentValue": 75, - "name": { - "value": "CpuVcore", - "localizedValue": "Cpu Vcore quota and usage of workspace" - } - } - ] - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/firewallRule.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/firewallRule.json deleted file mode 100644 index cd41b6c828f7..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/firewallRule.json +++ /dev/null @@ -1,429 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/firewallRules": { - "get": { - "operationId": "IpFirewallRules_ListByWorkspace", - "description": "Returns a list of firewall rules", - "tags": [ - "IpFirewallRules" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/IpFirewallRuleInfoListResult" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "List IP firewall rules in a workspace": { - "$ref": "./examples/ListIpFirewallRules.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/firewallRules/{ruleName}": { - "put": { - "operationId": "IpFirewallRules_CreateOrUpdate", - "description": "Creates or updates a firewall rule", - "tags": [ - "IpFirewallRules" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ruleNameParameter" - }, - { - "description": "IP firewall rule properties", - "schema": { - "$ref": "#/definitions/IpFirewallRuleInfo", - "description": "IP firewall rule properties" - }, - "in": "body", - "name": "ipFirewallRuleInfo", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/IpFirewallRuleInfo" - }, - "description": "" - }, - "201": { - "schema": { - "$ref": "#/definitions/IpFirewallRuleInfo" - }, - "description": "" - }, - "202": { - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create an IP firewall rule": { - "$ref": "./examples/CreateIpFirewallRule.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "delete": { - "operationId": "IpFirewallRules_Delete", - "description": "Deletes a firewall rule", - "tags": [ - "IpFirewallRules" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ruleNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/IpFirewallRuleInfo" - }, - "description": "OK" - }, - "204": { - "description": "NoContent" - }, - "202": { - "description": "Accepted" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Delete an IP firewall rule from a workspace": { - "$ref": "./examples/DeleteIpFirewallRule.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "get": { - "operationId": "IpFirewallRules_Get", - "description": "Get a firewall rule", - "tags": [ - "IpFirewallRules" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/ruleNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/IpFirewallRuleInfo" - }, - "description": "Ip Firewall Rule details" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get IP firewall rule": { - "$ref": "./examples/GetIpFirewallRule.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/replaceAllIpFirewallRules": { - "post": { - "operationId": "IpFirewallRules_ReplaceAll", - "description": "Replaces firewall rules", - "tags": [ - "IpFirewallRules" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "description": "Replace all IP firewall rules request", - "schema": { - "$ref": "#/definitions/ReplaceAllIpFirewallRulesRequest", - "description": "Replace all IP firewall rules request" - }, - "in": "body", - "name": "request", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/ReplaceAllFirewallRulesOperationResponse" - }, - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Replace all IP firewall rules in a workspace": { - "$ref": "./examples/ReplaceAllIpFirewallRules.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - } - }, - "definitions": { - "IpFirewallRuleInfo": { - "description": "IP firewall rule", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/IpFirewallRuleProperties", - "description": "IP firewall rule properties", - "x-ms-client-flatten": true - } - } - }, - "ReplaceAllIpFirewallRulesRequest": { - "description": "Replace all IP firewall rules request", - "type": "object", - "properties": { - "ipFirewallRules": { - "description": "IP firewall rule properties", - "additionalProperties": { - "description": "IP firewall rule properties", - "$ref": "#/definitions/IpFirewallRuleProperties" - }, - "type": "object" - } - } - }, - "IpFirewallRuleProperties": { - "description": "IP firewall rule properties", - "type": "object", - "properties": { - "endIpAddress": { - "description": "The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress", - "type": "string", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "provisioningState": { - "description": "Resource provisioning state", - "enum": [ - "Provisioning", - "Succeeded", - "Deleting", - "Failed", - "DeleteError" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ProvisioningState", - "modelAsString": true - } - }, - "startIpAddress": { - "description": "The start IP address of the firewall rule. Must be IPv4 format", - "type": "string", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - } - }, - "IpFirewallRuleInfoListResult": { - "type": "object", - "description": "List of IP firewall rules", - "properties": { - "nextLink": { - "description": "Link to next page of results", - "type": "string" - }, - "value": { - "description": "List of IP firewall rules", - "type": "array", - "items": { - "$ref": "#/definitions/IpFirewallRuleInfo" - } - } - } - }, - "ReplaceAllFirewallRulesOperationResponse": { - "type": "object", - "description": "An existing operation for replacing the firewall rules", - "properties": { - "operationId": { - "type": "string", - "description": "The operation ID" - } - } - } - }, - "parameters": { - "ruleNameParameter": { - "type": "string", - "in": "path", - "name": "ruleName", - "description": "The IP firewall rule name", - "required": true, - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/integrationRuntime.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/integrationRuntime.json deleted file mode 100644 index 0907e667d03c..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/integrationRuntime.json +++ /dev/null @@ -1,3089 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}": { - "patch": { - "operationId": "IntegrationRuntimes_Update", - "summary": "Update integration runtime", - "description": "Update an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - }, - { - "name": "updateIntegrationRuntimeRequest", - "description": "The parameters for updating an integration runtime.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateIntegrationRuntimeRequest" - } - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeResource" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Update integration runtime": { - "$ref": "./examples/IntegrationRuntimes_Update.json" - } - } - }, - "get": { - "operationId": "IntegrationRuntimes_Get", - "summary": "Get integration runtime", - "description": "Get an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - }, - { - "name": "If-None-Match", - "in": "header", - "required": false, - "type": "string", - "description": "ETag of the integration runtime entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned." - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeResource" - } - }, - "304": { - "description": "Not modified." - }, - "default": { - "description": "An error response received from GET integration runtime operation.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get integration runtime": { - "$ref": "./examples/IntegrationRuntimes_Get.json" - } - } - }, - "put": { - "operationId": "IntegrationRuntimes_Create", - "x-ms-long-running-operation": true, - "summary": "Create integration runtime", - "description": "Create an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - }, - { - "name": "If-Match", - "in": "header", - "required": false, - "type": "string", - "description": "ETag of the integration runtime entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update." - }, - { - "name": "integrationRuntime", - "description": "Integration runtime resource definition.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IntegrationRuntimeResource" - } - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeResource" - } - }, - "202": { - "description": "Accepted." - }, - "default": { - "description": "An error response received from PUT integration runtime operation.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create integration runtime": { - "$ref": "./examples/IntegrationRuntimes_Create.json" - } - } - }, - "delete": { - "operationId": "IntegrationRuntimes_Delete", - "x-ms-long-running-operation": true, - "summary": "Delete integration runtime", - "description": "Delete an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Accepted." - }, - "204": { - "description": "No Content." - }, - "default": { - "description": "An error response received from DELETE integration runtime operation.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Delete integration runtime": { - "$ref": "./examples/IntegrationRuntimes_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}/ipAddress": { - "post": { - "operationId": "IntegrationRuntimeNodeIpAddress_Get", - "summary": "Get integration runtime node IP address", - "description": "Get the IP address of an integration runtime node", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "nodeName", - "description": "Integration runtime node name", - "required": true - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeNodeIpAddress" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get integration runtime node IP address": { - "$ref": "./examples/IntegrationRuntimeNodes_GetIpAddress.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/upgrade": { - "post": { - "operationId": "IntegrationRuntimes_Upgrade", - "summary": "Upgrade integration runtime", - "description": "Upgrade an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Upgrade integration runtime": { - "$ref": "./examples/IntegrationRuntimes_Upgrade.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata": { - "post": { - "operationId": "IntegrationRuntimeObjectMetadata_List", - "summary": "Get integration runtime object metadata", - "description": "Get object metadata from an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - }, - { - "name": "getMetadataRequest", - "description": "The parameters for getting a SSIS object metadata.", - "in": "body", - "required": false, - "schema": { - "$ref": "#/definitions/GetSsisObjectMetadataRequest" - } - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/SsisObjectMetadataListResponse" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get integration runtime object metadata": { - "$ref": "./examples/IntegrationRuntimeObjectMetadata_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}": { - "get": { - "operationId": "IntegrationRuntimeNodes_Get", - "summary": "Get integration runtime node", - "description": "Get an integration runtime node", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "nodeName", - "description": "Integration runtime node name", - "required": true - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/SelfHostedIntegrationRuntimeNode" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get integration runtime node": { - "$ref": "./examples/IntegrationRuntimeNodes_Get.json" - } - } - }, - "patch": { - "operationId": "IntegrationRuntimeNodes_Update", - "summary": "Create integration runtime node", - "description": "Create an integration runtime node", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "nodeName", - "description": "Integration runtime node name", - "required": true - }, - { - "name": "updateIntegrationRuntimeNodeRequest", - "description": "The parameters for updating an integration runtime node.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/UpdateIntegrationRuntimeNodeRequest" - } - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/SelfHostedIntegrationRuntimeNode" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Update integration runtime node": { - "$ref": "./examples/IntegrationRuntimeNodes_Update.json" - } - } - }, - "delete": { - "operationId": "IntegrationRuntimeNodes_Delete", - "summary": "Delete integration runtime node", - "description": "Delete an integration runtime node", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "nodeName", - "description": "Integration runtime node name", - "required": true - } - ], - "responses": { - "200": { - "description": "OK." - }, - "204": { - "description": "No Content." - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Delete integration runtime node": { - "$ref": "./examples/IntegrationRuntimeNodes_Delete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials": { - "post": { - "operationId": "IntegrationRuntimeCredentials_Sync", - "summary": "Sync integration runtime credentials", - "description": "Force the integration runtime to synchronize credentials across integration runtime nodes, and this will override the credentials across all worker nodes with those available on the dispatcher node. If you already have the latest credential backup file, you should manually import it (preferred) on any self-hosted integration runtime node than using this API directly.", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Sync credentials": { - "$ref": "./examples/IntegrationRuntimes_SyncCredentials.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes": { - "get": { - "operationId": "IntegrationRuntimes_ListByWorkspace", - "summary": "List integration runtimes", - "description": "List all integration runtimes", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeListResponse" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../common/v1/types.json#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "List integration runtimes": { - "$ref": "./examples/IntegrationRuntimes_ListByWorkspace.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo": { - "post": { - "operationId": "IntegrationRuntimeConnectionInfos_Get", - "summary": "Get integration runtime connection info", - "description": "Get connection info for an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeConnectionInfo" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get connection info": { - "$ref": "./examples/IntegrationRuntimes_GetConnectionInfo.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/start": { - "post": { - "operationId": "IntegrationRuntimes_Start", - "summary": "Start integration runtime", - "description": "Start an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeStatusResponse" - } - }, - "202": { - "description": "Accepted." - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Start integration runtime": { - "$ref": "./examples/IntegrationRuntimes_Start.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey": { - "post": { - "operationId": "IntegrationRuntimeAuthKeys_Regenerate", - "summary": "Regenerate integration runtime authentication key", - "description": "Regenerate the authentication key for an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - }, - { - "name": "regenerateKeyParameters", - "description": "The parameters for regenerating integration runtime authentication key.", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/IntegrationRuntimeRegenerateKeyParameters" - } - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeAuthKeys" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Regenerate auth key": { - "$ref": "./examples/IntegrationRuntimes_RegenerateAuthKey.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys": { - "post": { - "operationId": "IntegrationRuntimeAuthKeys_List", - "summary": "List integration runtime authentication keys", - "description": "List authentication keys in an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeAuthKeys" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "List auth keys": { - "$ref": "./examples/IntegrationRuntimes_ListAuthKeys.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/monitoringData": { - "post": { - "operationId": "IntegrationRuntimeMonitoringData_List", - "summary": "Get integration runtime monitoring data", - "description": "Get monitoring data for an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeMonitoringData" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get monitoring data": { - "$ref": "./examples/IntegrationRuntimeMonitoringData_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/stop": { - "post": { - "operationId": "IntegrationRuntimes_Stop", - "summary": "Stop integration runtime", - "description": "Stop an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK." - }, - "202": { - "description": "Accepted." - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Stop integration runtime": { - "$ref": "./examples/IntegrationRuntimes_Stop.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata": { - "post": { - "operationId": "IntegrationRuntimeObjectMetadata_Refresh", - "summary": "Refresh integration runtime object metadata", - "description": "Refresh the object metadata in an integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/SsisObjectMetadataStatusResponse" - } - }, - "202": { - "description": "Accepted." - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Refresh object metadata": { - "$ref": "./examples/IntegrationRuntimeObjectMetadata_Refresh.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/getStatus": { - "post": { - "operationId": "IntegrationRuntimeStatus_Get", - "summary": "Get integration runtime status", - "description": "Get the integration runtime status", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeStatusResponse" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get status": { - "$ref": "./examples/IntegrationRuntimes_GetStatus.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints": { - "get": { - "tags": [ - "integrationRuntimes" - ], - "operationId": "IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints", - "description": "Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.", - "summary": "Gets list of outbound network dependencies for a given Azure-SSIS integration runtime.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get outbound network dependency endpoints": { - "$ref": "./examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery": { - "post": { - "operationId": "IntegrationRuntimes_EnableInteractiveQuery", - "description": "Enable interactive query in integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Stop integration runtime": { - "$ref": "./examples/IntegrationRuntimes_EnableInteractiveQuery.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery": { - "post": { - "operationId": "IntegrationRuntimes_DisableInteractiveQuery", - "description": "Disable interactive query in integration runtime", - "tags": [ - "IntegrationRuntime" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/IntegrationRuntimeNameParameter" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Stop integration runtime": { - "$ref": "./examples/IntegrationRuntimes_DisableInteractiveQuery.json" - } - } - } - } - }, - "definitions": { - "SubResource": { - "description": "Azure Synapse nested resource, which belongs to a workspace.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/AzureEntityResource" - } - ] - }, - "IntegrationRuntime": { - "description": "Azure Synapse nested object which serves as a compute resource for activities.", - "type": "object", - "discriminator": "type", - "properties": { - "type": { - "description": "Type of integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeType" - }, - "description": { - "description": "Integration runtime description.", - "type": "string" - } - }, - "additionalProperties": { - "type": "object" - }, - "required": [ - "type" - ] - }, - "IntegrationRuntimeType": { - "description": "The type of integration runtime.", - "type": "string", - "enum": [ - "Managed", - "SelfHosted" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeType", - "modelAsString": true - } - }, - "ManagedIntegrationRuntime": { - "x-ms-discriminator-value": "Managed", - "description": "Managed integration runtime, including managed elastic and managed dedicated integration runtimes.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IntegrationRuntime" - } - ], - "properties": { - "provisioningState": { - "description": "Integration runtime state, only valid for managed dedicated integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeState", - "readOnly": true - }, - "typeProperties": { - "description": "Managed integration runtime properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ManagedIntegrationRuntimeTypeProperties" - }, - "managedVirtualNetwork": { - "description": "Managed integration runtime managed virtual network.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ManagedIntegrationRuntimeManagedVirtualNetworkReference" - } - }, - "required": [ - "typeProperties" - ] - }, - "ManagedIntegrationRuntimeTypeProperties": { - "description": "Managed integration runtime type properties.", - "type": "object", - "properties": { - "computeProperties": { - "description": "The compute resource for managed integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeComputeProperties" - }, - "ssisProperties": { - "description": "SSIS properties for managed integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeSsisProperties" - }, - "customerVirtualNetwork": { - "description": "The name of virtual network to which Azure-SSIS integration runtime will join", - "$ref": "#/definitions/IntegrationRuntimeCustomerVirtualNetwork" - } - } - }, - "ManagedIntegrationRuntimeManagedVirtualNetworkReference": { - "description": "Managed integration runtime managed virtual network reference.", - "type": "object", - "properties": { - "referenceName": { - "description": "The reference name of the managed virtual network", - "type": "string" - }, - "type": { - "description": "The type of the managed virtual network.", - "type": "string" - }, - "id": { - "description": "The id of the managed virtual network.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - }, - "IntegrationRuntimeComputeProperties": { - "description": "The compute resource properties for managed integration runtime.", - "type": "object", - "properties": { - "location": { - "description": "The location for managed integration runtime. The supported regions could be found on https://docs.microsoft.com/en-us/azure/data-factory/data-factory-data-movement-activities", - "type": "string" - }, - "nodeSize": { - "description": "The node size requirement to managed integration runtime.", - "type": "string" - }, - "numberOfNodes": { - "description": "The required number of nodes for managed integration runtime.", - "type": "integer", - "format": "int32", - "minimum": 1 - }, - "maxParallelExecutionsPerNode": { - "description": "Maximum parallel executions count per node for managed integration runtime.", - "type": "integer", - "format": "int32", - "minimum": 1 - }, - "dataFlowProperties": { - "description": "Data flow properties for managed integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeDataFlowProperties" - }, - "vNetProperties": { - "description": "VNet properties for managed integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeVNetProperties" - } - }, - "additionalProperties": { - "type": "object" - } - }, - "IntegrationRuntimeDataFlowProperties": { - "description": "Data flow properties for managed integration runtime.", - "type": "object", - "properties": { - "computeType": { - "description": "Compute type of the cluster which will execute data flow job.", - "type": "string", - "enum": [ - "General", - "MemoryOptimized", - "ComputeOptimized" - ], - "x-ms-enum": { - "name": "DataFlowComputeType", - "modelAsString": true - } - }, - "coreCount": { - "description": "Core count of the cluster which will execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 and 272.", - "type": "integer", - "format": "int32" - }, - "timeToLive": { - "description": "Time to live (in minutes) setting of the cluster which will execute data flow job.", - "type": "integer", - "format": "int32", - "minimum": 0 - } - }, - "additionalProperties": { - "type": "object" - } - }, - "IntegrationRuntimeVNetProperties": { - "description": "VNet properties for managed integration runtime.", - "type": "object", - "properties": { - "vNetId": { - "description": "The ID of the VNet that this integration runtime will join.", - "type": "string" - }, - "subnet": { - "description": "The name of the subnet this integration runtime will join.", - "type": "string" - }, - "publicIPs": { - "description": "Resource IDs of the public IP addresses that this integration runtime will use.", - "type": "array", - "items": { - "type": "string", - "description": "The ID of the public IP address." - } - }, - "subnetId": { - "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined.", - "type": "string" - } - }, - "additionalProperties": { - "type": "object" - } - }, - "IntegrationRuntimeSsisProperties": { - "description": "SSIS properties for managed integration runtime.", - "type": "object", - "properties": { - "catalogInfo": { - "description": "Catalog information for managed dedicated integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeSsisCatalogInfo" - }, - "licenseType": { - "description": "License type for bringing your own license scenario.", - "type": "string", - "enum": [ - "BasePrice", - "LicenseIncluded" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeLicenseType", - "modelAsString": true - } - }, - "customSetupScriptProperties": { - "description": "Custom setup script properties for a managed dedicated integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeCustomSetupScriptProperties" - }, - "dataProxyProperties": { - "description": "Data proxy properties for a managed dedicated integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeDataProxyProperties" - }, - "edition": { - "description": "The edition for the SSIS Integration Runtime", - "type": "string", - "enum": [ - "Standard", - "Enterprise" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeEdition", - "modelAsString": true - } - }, - "expressCustomSetupProperties": { - "description": "Custom setup without script properties for a SSIS integration runtime.", - "type": "array", - "items": { - "$ref": "#/definitions/CustomSetupBase" - }, - "x-ms-identifiers": [] - } - }, - "additionalProperties": { - "type": "object" - } - }, - "IntegrationRuntimeCustomerVirtualNetwork": { - "description": "The definition and properties of virtual network to which Azure-SSIS integration runtime will join.", - "type": "object", - "properties": { - "subnetId": { - "description": "The ID of subnet to which Azure-SSIS integration runtime will join.", - "type": "string" - } - } - }, - "SecretBase": { - "description": "The base definition of a secret type.", - "discriminator": "type", - "type": "object", - "properties": { - "type": { - "type": "string", - "description": "Type of the secret." - } - }, - "required": [ - "type" - ] - }, - "SecureString": { - "x-ms-discriminator-value": "SecureString", - "description": "Azure Synapse secure string definition. The string value will be masked with asterisks '*' during Get or List API calls.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/SecretBase" - } - ], - "properties": { - "value": { - "type": "string", - "description": "Value of secure string." - } - }, - "required": [ - "value" - ] - }, - "IntegrationRuntimeSsisCatalogInfo": { - "description": "Catalog information for managed dedicated integration runtime.", - "type": "object", - "properties": { - "catalogServerEndpoint": { - "description": "The catalog database server URL.", - "type": "string" - }, - "catalogAdminUserName": { - "description": "The administrator user name of catalog database.", - "type": "string", - "minLength": 1, - "maxLength": 128 - }, - "catalogAdminPassword": { - "description": "The password of the administrator user account of the catalog database.", - "$ref": "#/definitions/SecureString" - }, - "catalogPricingTier": { - "description": "The pricing tier for the catalog database. The valid values could be found in https://azure.microsoft.com/en-us/pricing/details/sql-database/", - "type": "string", - "enum": [ - "Basic", - "Standard", - "Premium", - "PremiumRS" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeSsisCatalogPricingTier", - "modelAsString": true - } - } - }, - "additionalProperties": { - "type": "object" - } - }, - "IntegrationRuntimeCustomSetupScriptProperties": { - "description": "Custom setup script properties for a managed dedicated integration runtime.", - "type": "object", - "properties": { - "blobContainerUri": { - "description": "The URI of the Azure blob container that contains the custom setup script.", - "type": "string" - }, - "sasToken": { - "description": "The SAS token of the Azure blob container.", - "$ref": "#/definitions/SecureString" - } - } - }, - "IntegrationRuntimeDataProxyProperties": { - "description": "Data proxy properties for a managed dedicated integration runtime.", - "type": "object", - "properties": { - "connectVia": { - "description": "The self-hosted integration runtime reference.", - "$ref": "#/definitions/EntityReference" - }, - "stagingLinkedService": { - "description": "The staging linked service reference.", - "$ref": "#/definitions/EntityReference" - }, - "path": { - "description": "The path to contain the staged data in the Blob storage.", - "type": "string" - } - } - }, - "CustomSetupBase": { - "description": "The base definition of the custom setup.", - "type": "object", - "discriminator": "type", - "properties": { - "type": { - "description": "The type of custom setup.", - "type": "string" - } - }, - "required": [ - "type" - ] - }, - "CmdkeySetup": { - "description": "The custom setup of running cmdkey commands.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CustomSetupBase" - } - ], - "properties": { - "typeProperties": { - "description": "Cmdkey command custom setup type properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/CmdkeySetupTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "CmdkeySetupTypeProperties": { - "description": "Cmdkey command custom setup type properties.", - "type": "object", - "properties": { - "targetName": { - "description": "The server name of data source access.", - "type": "object" - }, - "userName": { - "description": "The user name of data source access.", - "type": "object" - }, - "password": { - "description": "The password of data source access.", - "$ref": "#/definitions/SecretBase" - } - }, - "required": [ - "targetName", - "userName", - "password" - ] - }, - "EnvironmentVariableSetup": { - "description": "The custom setup of setting environment variable.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CustomSetupBase" - } - ], - "properties": { - "typeProperties": { - "description": "Add environment variable type properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/EnvironmentVariableSetupTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "EnvironmentVariableSetupTypeProperties": { - "description": "Environment variable custom setup type properties.", - "type": "object", - "properties": { - "variableName": { - "description": "The name of the environment variable.", - "type": "string" - }, - "variableValue": { - "description": "The value of the environment variable.", - "type": "string" - } - }, - "required": [ - "variableName", - "variableValue" - ] - }, - "ComponentSetup": { - "description": "The custom setup of installing 3rd party components.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/CustomSetupBase" - } - ], - "properties": { - "typeProperties": { - "description": "Install 3rd party component type properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/LicensedComponentSetupTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "LicensedComponentSetupTypeProperties": { - "description": "Installation of licensed component setup type properties.", - "type": "object", - "properties": { - "componentName": { - "description": "The name of the 3rd party component.", - "type": "string" - }, - "licenseKey": { - "description": "The license key to activate the component.", - "$ref": "#/definitions/SecretBase" - } - }, - "required": [ - "componentName" - ] - }, - "EntityReference": { - "description": "The entity reference.", - "type": "object", - "properties": { - "type": { - "description": "The type of this referenced entity.", - "type": "string", - "enum": [ - "IntegrationRuntimeReference", - "LinkedServiceReference" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeEntityReferenceType", - "modelAsString": true - } - }, - "referenceName": { - "description": "The name of this referenced entity.", - "type": "string" - } - } - }, - "SelfHostedIntegrationRuntime": { - "x-ms-discriminator-value": "SelfHosted", - "description": "Self-hosted integration runtime.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IntegrationRuntime" - } - ], - "properties": { - "typeProperties": { - "description": "When this property is not null, means this is a linked integration runtime. The property is used to access original integration runtime.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SelfHostedIntegrationRuntimeTypeProperties" - } - } - }, - "SelfHostedIntegrationRuntimeTypeProperties": { - "description": "The self-hosted integration runtime properties.", - "type": "object", - "properties": { - "linkedInfo": { - "$ref": "#/definitions/LinkedIntegrationRuntimeType", - "description": "Linked integration runtime type from data factory" - } - } - }, - "LinkedIntegrationRuntimeType": { - "description": "The base definition of a linked integration runtime.", - "discriminator": "authorizationType", - "type": "object", - "properties": { - "authorizationType": { - "type": "string", - "description": "The authorization type for integration runtime sharing." - } - }, - "required": [ - "authorizationType" - ] - }, - "LinkedIntegrationRuntimeKeyAuthorization": { - "x-ms-discriminator-value": "Key", - "description": "The key authorization type integration runtime.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedIntegrationRuntimeType" - } - ], - "properties": { - "key": { - "description": "The key used for authorization.", - "$ref": "#/definitions/SecureString" - } - }, - "required": [ - "key" - ] - }, - "LinkedIntegrationRuntimeRbacAuthorization": { - "x-ms-discriminator-value": "RBAC", - "description": "The role based access control (RBAC) authorization type integration runtime.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/LinkedIntegrationRuntimeType" - } - ], - "properties": { - "resourceId": { - "description": "The resource identifier of the integration runtime to be shared.", - "type": "string" - } - }, - "required": [ - "resourceId" - ] - }, - "IntegrationRuntimeStatus": { - "description": "Integration runtime status.", - "type": "object", - "discriminator": "type", - "properties": { - "type": { - "description": "Type of integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeType" - }, - "dataFactoryName": { - "description": "The workspace name which the integration runtime belong to.", - "type": "string", - "readOnly": true - }, - "state": { - "description": "The state of integration runtime.", - "$ref": "#/definitions/IntegrationRuntimeState", - "readOnly": true - } - }, - "additionalProperties": { - "type": "object" - }, - "required": [ - "type" - ] - }, - "IntegrationRuntimeState": { - "description": "The state of integration runtime.", - "type": "string", - "readOnly": true, - "enum": [ - "Initial", - "Stopped", - "Started", - "Starting", - "Stopping", - "NeedRegistration", - "Online", - "Limited", - "Offline", - "AccessDenied" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeState", - "modelAsString": true - } - }, - "ManagedIntegrationRuntimeStatus": { - "x-ms-discriminator-value": "Managed", - "description": "Managed integration runtime status.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IntegrationRuntimeStatus" - } - ], - "properties": { - "typeProperties": { - "description": "Managed integration runtime status type properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/ManagedIntegrationRuntimeStatusTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "ManagedIntegrationRuntimeStatusTypeProperties": { - "description": "Managed integration runtime status type properties.", - "type": "object", - "properties": { - "createTime": { - "description": "The time at which the integration runtime was created, in ISO8601 format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "nodes": { - "description": "The list of nodes for managed integration runtime.", - "type": "array", - "items": { - "$ref": "#/definitions/ManagedIntegrationRuntimeNode" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "otherErrors": { - "description": "The errors that occurred on this integration runtime.", - "type": "array", - "items": { - "$ref": "#/definitions/ManagedIntegrationRuntimeError" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "lastOperation": { - "description": "The last operation result that occurred on this integration runtime.", - "$ref": "#/definitions/ManagedIntegrationRuntimeOperationResult", - "readOnly": true - } - } - }, - "ManagedIntegrationRuntimeOperationResult": { - "type": "object", - "description": "Properties of managed integration runtime operation result.", - "properties": { - "type": { - "description": "The operation type. Could be start or stop.", - "type": "string", - "readOnly": true - }, - "startTime": { - "description": "The start time of the operation.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "result": { - "description": "The operation result.", - "type": "string", - "readOnly": true - }, - "errorCode": { - "description": "The error code.", - "type": "string", - "readOnly": true - }, - "parameters": { - "description": "Managed integration runtime error parameters.", - "type": "array", - "items": { - "type": "string", - "description": "Error message parameters." - }, - "readOnly": true - }, - "activityId": { - "description": "The activity id for the operation request.", - "type": "string", - "readOnly": true - } - }, - "additionalProperties": { - "type": "object" - } - }, - "ManagedIntegrationRuntimeNode": { - "type": "object", - "description": "Properties of integration runtime node.", - "properties": { - "nodeId": { - "description": "The managed integration runtime node id.", - "type": "string", - "readOnly": true - }, - "status": { - "description": "The managed integration runtime node status.", - "type": "string", - "readOnly": true, - "enum": [ - "Starting", - "Available", - "Recycling", - "Unavailable" - ], - "x-ms-enum": { - "name": "ManagedIntegrationRuntimeNodeStatus", - "modelAsString": true - }, - "x-ms-identifiers": [] - }, - "errors": { - "description": "The errors that occurred on this integration runtime node.", - "type": "array", - "items": { - "$ref": "#/definitions/ManagedIntegrationRuntimeError" - }, - "x-ms-identifiers": [] - } - }, - "additionalProperties": { - "type": "object" - } - }, - "ManagedIntegrationRuntimeError": { - "type": "object", - "description": "Error definition for managed integration runtime.", - "properties": { - "time": { - "description": "The time when the error occurred.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "code": { - "description": "Error code.", - "type": "string", - "readOnly": true - }, - "parameters": { - "description": "Managed integration runtime error parameters.", - "type": "array", - "items": { - "type": "string", - "description": "Error message parameters." - }, - "readOnly": true - }, - "message": { - "description": "Error message.", - "type": "string", - "readOnly": true - } - }, - "additionalProperties": { - "type": "object" - } - }, - "SelfHostedIntegrationRuntimeStatus": { - "x-ms-discriminator-value": "SelfHosted", - "description": "Self-hosted integration runtime status.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/IntegrationRuntimeStatus" - } - ], - "properties": { - "typeProperties": { - "description": "Self-hosted integration runtime status type properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/SelfHostedIntegrationRuntimeStatusTypeProperties" - } - }, - "required": [ - "typeProperties" - ] - }, - "SelfHostedIntegrationRuntimeStatusTypeProperties": { - "description": "Self-hosted integration runtime status type properties.", - "type": "object", - "properties": { - "createTime": { - "description": "The time at which the integration runtime was created, in ISO8601 format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "taskQueueId": { - "description": "The task queue id of the integration runtime.", - "type": "string", - "readOnly": true - }, - "nodeCommunicationChannelEncryptionMode": { - "description": "The node communication Channel encryption mode", - "type": "string", - "readOnly": true - }, - "internalChannelEncryption": { - "description": "It is used to set the encryption mode for node-node communication channel (when more than 2 self-hosted integration runtime nodes exist).", - "type": "string", - "readOnly": true, - "enum": [ - "NotSet", - "SslEncrypted", - "NotEncrypted" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeInternalChannelEncryptionMode", - "modelAsString": true - }, - "x-ms-identifiers": [] - }, - "version": { - "description": "Version of the integration runtime.", - "type": "string", - "readOnly": true - }, - "nodes": { - "description": "The list of nodes for this integration runtime.", - "type": "array", - "items": { - "$ref": "#/definitions/SelfHostedIntegrationRuntimeNode" - }, - "x-ms-identifiers": [] - }, - "scheduledUpdateDate": { - "description": "The date at which the integration runtime will be scheduled to update, in ISO8601 format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "updateDelayOffset": { - "description": "The time in the date scheduled by service to update the integration runtime, e.g., PT03H is 3 hours", - "type": "string", - "readOnly": true - }, - "localTimeZoneOffset": { - "description": "The local time zone offset in hours.", - "type": "string", - "readOnly": true - }, - "capabilities": { - "description": "Object with additional information about integration runtime capabilities.", - "type": "object", - "readOnly": true, - "additionalProperties": { - "type": "string" - } - }, - "serviceUrls": { - "description": "The URLs for the services used in integration runtime backend service.", - "type": "array", - "items": { - "description": "The service URL", - "type": "string" - }, - "readOnly": true - }, - "autoUpdate": { - "description": "Whether Self-hosted integration runtime auto update has been turned on.", - "$ref": "#/definitions/IntegrationRuntimeAutoUpdate", - "readOnly": true - }, - "versionStatus": { - "description": "Status of the integration runtime version.", - "type": "string", - "readOnly": true - }, - "links": { - "description": "The list of linked integration runtimes that are created to share with this integration runtime.", - "type": "array", - "items": { - "$ref": "#/definitions/LinkedIntegrationRuntime" - }, - "x-ms-identifiers": [] - }, - "pushedVersion": { - "description": "The version that the integration runtime is going to update to.", - "type": "string", - "readOnly": true - }, - "latestVersion": { - "description": "The latest version on download center.", - "type": "string", - "readOnly": true - }, - "autoUpdateETA": { - "description": "The estimated time when the self-hosted integration runtime will be updated.", - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "IntegrationRuntimeAutoUpdate": { - "description": "The state of integration runtime auto update.", - "type": "string", - "enum": [ - "On", - "Off" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeAutoUpdate", - "modelAsString": true - }, - "x-ms-identifiers": [] - }, - "LinkedIntegrationRuntime": { - "description": "The linked integration runtime information.", - "type": "object", - "properties": { - "name": { - "description": "The name of the linked integration runtime.", - "type": "string", - "readOnly": true - }, - "subscriptionId": { - "description": "The subscription ID for which the linked integration runtime belong to.", - "type": "string", - "readOnly": true - }, - "dataFactoryName": { - "description": "The name of the workspace for which the linked integration runtime belong to.", - "type": "string", - "readOnly": true - }, - "dataFactoryLocation": { - "description": "The location of the workspace for which the linked integration runtime belong to.", - "type": "string", - "readOnly": true - }, - "createTime": { - "description": "The creating time of the linked integration runtime.", - "type": "string", - "format": "date-time", - "readOnly": true - } - } - }, - "SelfHostedIntegrationRuntimeNode": { - "type": "object", - "description": "Properties of Self-hosted integration runtime node.", - "properties": { - "nodeName": { - "description": "Name of the integration runtime node.", - "type": "string", - "readOnly": true - }, - "machineName": { - "description": "Machine name of the integration runtime node.", - "type": "string", - "readOnly": true - }, - "hostServiceUri": { - "description": "URI for the host machine of the integration runtime.", - "type": "string", - "readOnly": true - }, - "status": { - "description": "Status of the integration runtime node.", - "type": "string", - "readOnly": true, - "enum": [ - "NeedRegistration", - "Online", - "Limited", - "Offline", - "Upgrading", - "Initializing", - "InitializeFailed" - ], - "x-ms-enum": { - "name": "SelfHostedIntegrationRuntimeNodeStatus", - "modelAsString": true - } - }, - "capabilities": { - "description": "The integration runtime capabilities dictionary", - "type": "object", - "readOnly": true, - "additionalProperties": { - "type": "string" - } - }, - "versionStatus": { - "description": "Status of the integration runtime node version.", - "type": "string", - "readOnly": true - }, - "version": { - "description": "Version of the integration runtime node.", - "type": "string", - "readOnly": true - }, - "registerTime": { - "description": "The time at which the integration runtime node was registered in ISO8601 format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "lastConnectTime": { - "description": "The most recent time at which the integration runtime was connected in ISO8601 format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "expiryTime": { - "description": "The time at which the integration runtime will expire in ISO8601 format.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "lastStartTime": { - "description": "The time the node last started up.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "lastStopTime": { - "description": "The integration runtime node last stop time.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "lastUpdateResult": { - "description": "The result of the last integration runtime node update.", - "type": "string", - "enum": [ - "None", - "Succeed", - "Fail" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeUpdateResult", - "modelAsString": true - }, - "readOnly": true - }, - "lastStartUpdateTime": { - "description": "The last time for the integration runtime node update start.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "lastEndUpdateTime": { - "description": "The last time for the integration runtime node update end.", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "isActiveDispatcher": { - "description": "Indicates whether this node is the active dispatcher for integration runtime requests.", - "type": "boolean", - "readOnly": true - }, - "concurrentJobsLimit": { - "description": "Maximum concurrent jobs on the integration runtime node.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "maxConcurrentJobs": { - "description": "The maximum concurrent jobs in this integration runtime.", - "type": "integer", - "format": "int32", - "readOnly": true - } - }, - "additionalProperties": { - "type": "object" - } - }, - "IntegrationRuntimeConnectionInfo": { - "description": "Connection information for encrypting the on-premises data source credentials.", - "type": "object", - "properties": { - "serviceToken": { - "description": "The token generated in service. Callers use this token to authenticate to integration runtime.", - "type": "string", - "readOnly": true - }, - "identityCertThumbprint": { - "description": "The integration runtime SSL certificate thumbprint. Click-Once application uses it to do server validation.", - "type": "string", - "readOnly": true - }, - "hostServiceUri": { - "description": "The on-premises integration runtime host URL.", - "type": "string", - "readOnly": true - }, - "version": { - "description": "The integration runtime version.", - "type": "string", - "readOnly": true - }, - "publicKey": { - "description": "The public key for encrypting a credential when transferring the credential to the integration runtime.", - "type": "string", - "readOnly": true - }, - "isIdentityCertExprired": { - "description": "Whether the identity certificate is expired.", - "type": "boolean", - "readOnly": true - } - }, - "additionalProperties": { - "type": "object" - } - }, - "IntegrationRuntimeRegenerateKeyParameters": { - "description": "Parameters to regenerate the authentication key.", - "type": "object", - "properties": { - "keyName": { - "description": "The name of the authentication key to regenerate.", - "type": "string", - "enum": [ - "authKey1", - "authKey2" - ], - "x-ms-enum": { - "name": "IntegrationRuntimeAuthKeyName", - "modelAsString": true - } - } - } - }, - "IntegrationRuntimeAuthKeys": { - "description": "The integration runtime authentication keys.", - "type": "object", - "properties": { - "authKey1": { - "type": "string", - "description": "The primary integration runtime authentication key." - }, - "authKey2": { - "type": "string", - "description": "The secondary integration runtime authentication key." - } - } - }, - "IntegrationRuntimeMonitoringData": { - "description": "Get monitoring data response.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Integration runtime name." - }, - "nodes": { - "type": "array", - "description": "Integration runtime node monitoring data.", - "items": { - "$ref": "#/definitions/IntegrationRuntimeNodeMonitoringData" - }, - "x-ms-identifiers": [] - } - } - }, - "IntegrationRuntimeNodeMonitoringData": { - "description": "Monitoring data for integration runtime node.", - "type": "object", - "properties": { - "nodeName": { - "description": "Name of the integration runtime node.", - "type": "string", - "readOnly": true - }, - "availableMemoryInMB": { - "description": "Available memory (MB) on the integration runtime node.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "cpuUtilization": { - "description": "CPU percentage on the integration runtime node.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "concurrentJobsLimit": { - "description": "Maximum concurrent jobs on the integration runtime node.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "concurrentJobsRunning": { - "description": "The number of jobs currently running on the integration runtime node.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "maxConcurrentJobs": { - "description": "The maximum concurrent jobs in this integration runtime.", - "type": "integer", - "format": "int32", - "readOnly": true - }, - "sentBytes": { - "description": "Sent bytes on the integration runtime node.", - "type": "number", - "readOnly": true - }, - "receivedBytes": { - "description": "Received bytes on the integration runtime node.", - "type": "number", - "readOnly": true - } - }, - "additionalProperties": { - "type": "object" - } - }, - "IntegrationRuntimeNodeIpAddress": { - "type": "object", - "description": "The IP address of self-hosted integration runtime node.", - "properties": { - "ipAddress": { - "description": "The IP address of self-hosted integration runtime node.", - "type": "string", - "readOnly": true - } - } - }, - "SsisObjectMetadataListResponse": { - "type": "object", - "description": "A list of SSIS object metadata.", - "properties": { - "value": { - "type": "array", - "description": "List of SSIS object metadata.", - "items": { - "$ref": "#/definitions/SsisObjectMetadata" - } - }, - "nextLink": { - "type": "string", - "description": "The link to the next page of results, if any remaining results exist." - } - } - }, - "SsisObjectMetadata": { - "type": "object", - "description": "SSIS object metadata.", - "discriminator": "type", - "properties": { - "type": { - "description": "Type of metadata.", - "$ref": "#/definitions/SsisObjectMetadataType" - }, - "id": { - "type": "integer", - "format": "int64", - "description": "Metadata id." - }, - "name": { - "type": "string", - "description": "Metadata name." - }, - "description": { - "type": "string", - "description": "Metadata description." - } - }, - "required": [ - "type" - ] - }, - "SsisObjectMetadataType": { - "description": "The type of SSIS object metadata.", - "type": "string", - "enum": [ - "Folder", - "Project", - "Package", - "Environment" - ], - "x-ms-enum": { - "name": "SsisObjectMetadataType", - "modelAsString": true - } - }, - "SsisFolder": { - "x-ms-discriminator-value": "Folder", - "type": "object", - "description": "Ssis folder.", - "allOf": [ - { - "$ref": "#/definitions/SsisObjectMetadata" - } - ] - }, - "SsisProject": { - "x-ms-discriminator-value": "Project", - "type": "object", - "description": "Ssis project.", - "allOf": [ - { - "$ref": "#/definitions/SsisObjectMetadata" - } - ], - "properties": { - "folderId": { - "type": "integer", - "format": "int64", - "description": "Folder id which contains project." - }, - "version": { - "type": "integer", - "format": "int64", - "description": "Project version." - }, - "environmentRefs": { - "type": "array", - "description": "Environment reference in project", - "items": { - "$ref": "#/definitions/SsisEnvironmentReference" - } - }, - "parameters": { - "type": "array", - "description": "Parameters in project", - "items": { - "$ref": "#/definitions/SsisParameter" - } - } - } - }, - "SsisPackage": { - "x-ms-discriminator-value": "Package", - "type": "object", - "description": "Ssis Package.", - "allOf": [ - { - "$ref": "#/definitions/SsisObjectMetadata" - } - ], - "properties": { - "folderId": { - "type": "integer", - "format": "int64", - "description": "Folder id which contains package." - }, - "projectVersion": { - "type": "integer", - "format": "int64", - "description": "Project version which contains package." - }, - "projectId": { - "type": "integer", - "format": "int64", - "description": "Project id which contains package." - }, - "parameters": { - "type": "array", - "description": "Parameters in package", - "items": { - "$ref": "#/definitions/SsisParameter" - } - } - } - }, - "SsisEnvironment": { - "x-ms-discriminator-value": "Environment", - "type": "object", - "description": "Ssis environment.", - "allOf": [ - { - "$ref": "#/definitions/SsisObjectMetadata" - } - ], - "properties": { - "folderId": { - "type": "integer", - "format": "int64", - "description": "Folder id which contains environment." - }, - "variables": { - "type": "array", - "description": "Variable in environment", - "items": { - "$ref": "#/definitions/SsisVariable" - } - } - } - }, - "SsisParameter": { - "type": "object", - "description": "Ssis parameter.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "Parameter id." - }, - "name": { - "type": "string", - "description": "Parameter name." - }, - "description": { - "type": "string", - "description": "Parameter description." - }, - "dataType": { - "type": "string", - "description": "Parameter type." - }, - "required": { - "type": "boolean", - "description": "Whether parameter is required." - }, - "sensitive": { - "type": "boolean", - "description": "Whether parameter is sensitive." - }, - "designDefaultValue": { - "type": "string", - "description": "Design default value of parameter." - }, - "defaultValue": { - "type": "string", - "description": "Default value of parameter." - }, - "sensitiveDefaultValue": { - "type": "string", - "description": "Default sensitive value of parameter." - }, - "valueType": { - "type": "string", - "description": "Parameter value type." - }, - "valueSet": { - "type": "boolean", - "description": "Parameter value set." - }, - "variable": { - "type": "string", - "description": "Parameter reference variable." - } - } - }, - "SsisVariable": { - "type": "object", - "description": "Ssis variable.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "Variable id." - }, - "name": { - "type": "string", - "description": "Variable name." - }, - "description": { - "type": "string", - "description": "Variable description." - }, - "dataType": { - "type": "string", - "description": "Variable type." - }, - "sensitive": { - "type": "boolean", - "description": "Whether variable is sensitive." - }, - "value": { - "type": "string", - "description": "Variable value." - }, - "sensitiveValue": { - "type": "string", - "description": "Variable sensitive value." - } - } - }, - "SsisEnvironmentReference": { - "type": "object", - "description": "Ssis environment reference.", - "properties": { - "id": { - "type": "integer", - "format": "int64", - "description": "Environment reference id." - }, - "environmentFolderName": { - "type": "string", - "description": "Environment folder name." - }, - "environmentName": { - "type": "string", - "description": "Environment name." - }, - "referenceType": { - "type": "string", - "description": "Reference type" - } - } - }, - "UpdateIntegrationRuntimeRequest": { - "description": "Update integration runtime request.", - "type": "object", - "properties": { - "autoUpdate": { - "description": "Enables or disables the auto-update feature of the self-hosted integration runtime. See https://go.microsoft.com/fwlink/?linkid=854189.", - "$ref": "#/definitions/IntegrationRuntimeAutoUpdate" - }, - "updateDelayOffset": { - "description": "The time offset (in hours) in the day, e.g., PT03H is 3 hours. The integration runtime auto update will happen on that time.", - "type": "string" - } - } - }, - "IntegrationRuntimeResource": { - "type": "object", - "description": "Integration runtime resource type.", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/IntegrationRuntime", - "description": "Integration runtime properties." - } - }, - "required": [ - "properties" - ] - }, - "GetSsisObjectMetadataRequest": { - "type": "object", - "description": "The request payload of get SSIS object metadata.", - "properties": { - "metadataPath": { - "type": "string", - "description": "Metadata path." - } - } - }, - "UpdateIntegrationRuntimeNodeRequest": { - "description": "Update integration runtime node request.", - "type": "object", - "properties": { - "concurrentJobsLimit": { - "description": "The number of concurrent jobs permitted to run on the integration runtime node. Values between 1 and maxConcurrentJobs(inclusive) are allowed.", - "type": "integer", - "format": "int32", - "minimum": 1 - } - } - }, - "IntegrationRuntimeListResponse": { - "description": "A list of integration runtime resources.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of integration runtimes.", - "items": { - "$ref": "#/definitions/IntegrationRuntimeResource" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", - "type": "string" - } - } - }, - "IntegrationRuntimeStatusResponse": { - "type": "object", - "description": "Integration runtime status response.", - "properties": { - "name": { - "type": "string", - "description": "The integration runtime name.", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/IntegrationRuntimeStatus", - "description": "Integration runtime properties." - } - }, - "required": [ - "properties" - ] - }, - "SsisObjectMetadataStatusResponse": { - "type": "object", - "description": "The status of the operation.", - "properties": { - "status": { - "type": "string", - "description": "The status of the operation." - }, - "name": { - "type": "string", - "description": "The operation name." - }, - "properties": { - "type": "string", - "description": "The operation properties." - }, - "error": { - "type": "string", - "description": "The operation error message." - } - } - }, - "IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse": { - "description": "Azure-SSIS integration runtime outbound network dependency endpoints.", - "type": "object", - "properties": { - "value": { - "description": "The list of outbound network dependency endpoints.", - "type": "array", - "items": { - "$ref": "#/definitions/IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint" - }, - "x-ms-identifiers": [] - } - } - }, - "IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint": { - "description": "Azure-SSIS integration runtime outbound network dependency endpoints for one category.", - "type": "object", - "properties": { - "category": { - "description": "The category of outbound network dependency.", - "type": "string" - }, - "endpoints": { - "description": "The endpoints for outbound network dependency.", - "type": "array", - "items": { - "$ref": "#/definitions/IntegrationRuntimeOutboundNetworkDependenciesEndpoint" - }, - "x-ms-identifiers": [] - } - } - }, - "IntegrationRuntimeOutboundNetworkDependenciesEndpoint": { - "description": "The endpoint for Azure-SSIS integration runtime outbound network dependency.", - "type": "object", - "properties": { - "domainName": { - "description": "The domain name of endpoint.", - "type": "string" - }, - "endpointDetails": { - "description": "The details of endpoint.", - "type": "array", - "items": { - "$ref": "#/definitions/IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails" - }, - "x-ms-identifiers": [] - } - } - }, - "IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails": { - "description": "The details of Azure-SSIS integration runtime outbound network dependency endpoint.", - "type": "object", - "properties": { - "port": { - "description": "The port of endpoint.", - "type": "integer", - "format": "int32" - } - } - } - }, - "parameters": { - "IntegrationRuntimeNameParameter": { - "name": "integrationRuntimeName", - "type": "string", - "required": true, - "in": "path", - "description": "Integration runtime name", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/keys.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/keys.json deleted file mode 100644 index 0c359f00a5d6..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/keys.json +++ /dev/null @@ -1,298 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/keys": { - "get": { - "operationId": "Keys_ListByWorkspace", - "description": "Returns a list of keys in a workspace", - "tags": [ - "Keys" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/KeyInfoListResult" - }, - "description": "The list of workspace keys." - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 400 BadRequest - Invalid request to create a Workspace Key.\n\n * 500 InternalServerError- Some error occurred while creating Workspace Key." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List keys in workspace": { - "$ref": "./examples/ListKeysInWorkspace.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/keys/{keyName}": { - "get": { - "operationId": "Keys_Get", - "description": "Gets a workspace key", - "tags": [ - "Keys" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/keyNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/Key" - }, - "description": "Workspace Key details" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 500 InternalServerError- Some error occurred while trying to get details for Workspace Keys." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a workspace key": { - "$ref": "./examples/GetKey.json" - } - } - }, - "put": { - "operationId": "Keys_CreateOrUpdate", - "description": "Creates or updates a workspace key", - "tags": [ - "Keys" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/keyNameParameter" - }, - { - "schema": { - "$ref": "#/definitions/Key" - }, - "in": "body", - "name": "keyProperties", - "required": true, - "description": "Key put request properties" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/Key" - }, - "description": "Workspace Key resource details" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 400 BadRequest - Invalid request to create a Workspace Key.\n\n * 500 InternalServerError- Some error occurred while creating Workspace Key." - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or update a workspace key": { - "$ref": "./examples/CreateOrUpdateKey.json" - } - } - }, - "delete": { - "operationId": "Keys_Delete", - "description": "Deletes a workspace key", - "tags": [ - "Keys" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/keyNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Key" - } - }, - "204": { - "description": "Keys resource not found." - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 500 InternalServerError- Some error occurred while deleting Workspace Key." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Delete a workspace key": { - "$ref": "./examples/DeleteKey.json" - } - } - } - } - }, - "definitions": { - "KeyInfoListResult": { - "description": "List of keys", - "type": "object", - "properties": { - "nextLink": { - "description": "Link to the next page of results", - "type": "string" - }, - "value": { - "description": "List of keys", - "type": "array", - "items": { - "$ref": "#/definitions/Key" - } - } - } - }, - "Key": { - "description": "A workspace key", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "Keys resource properties", - "$ref": "#/definitions/KeyProperties", - "x-ms-client-flatten": true - } - } - }, - "KeyProperties": { - "description": "Key properties", - "type": "object", - "properties": { - "isActiveCMK": { - "type": "boolean", - "description": "Used to activate the workspace after a customer managed key is provided." - }, - "keyVaultUrl": { - "type": "string", - "description": "The Key Vault Url of the workspace key.", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - } - }, - "parameters": { - "keyNameParameter": { - "name": "keyName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the workspace key", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/library.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/library.json deleted file mode 100644 index cd4c0fce7f67..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/library.json +++ /dev/null @@ -1,185 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/libraries/{libraryName}": { - "get": { - "operationId": "Library_Get", - "summary": "Get library by name.", - "description": "Get library by name in a workspace.", - "tags": [ - "Libraries" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/LibraryNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/LibraryResource" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get Library by name": { - "$ref": "./examples/Library_Get.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/libraries": { - "get": { - "operationId": "Libraries_ListByWorkspace", - "summary": "List the libraries in a workspace.", - "description": "List libraries in a workspace.", - "tags": [ - "Libraries" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/LibraryListResponse" - } - }, - "default": { - "description": "An error response received from the Azure Synapse service.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "List libraries in a workspace": { - "$ref": "./examples/Libraries_ListByWorkspace.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "parameters": { - "LibraryNameParameter": { - "name": "libraryName", - "in": "path", - "required": true, - "type": "string", - "description": "Library name", - "x-ms-parameter-location": "method" - } - }, - "definitions": { - "LibraryListResponse": { - "description": "A list of Library resources.", - "type": "object", - "required": [ - "value" - ], - "properties": { - "value": { - "type": "array", - "description": "List of Library.", - "items": { - "$ref": "#/definitions/LibraryResource" - } - }, - "nextLink": { - "description": "The link to the next page of results, if any remaining results exist.", - "type": "string" - } - } - }, - "LibraryResource": { - "description": "Library response details", - "allOf": [ - { - "$ref": "#/definitions/SubResource" - } - ], - "properties": { - "properties": { - "$ref": "../../../../common/v1/types.json#/definitions/LibraryInfo", - "description": "Library/package properties.", - "x-ms-client-flatten": true - } - }, - "required": [ - "properties" - ] - }, - "SubResource": { - "description": "Azure Synapse nested resource, which belongs to a workspace.", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/AzureEntityResource" - } - ] - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/listUsage.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/listUsage.json deleted file mode 100644 index 945203aa2b01..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/listUsage.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/locations/{location}/usages": { - "get": { - "operationId": "Operations_GetSubscriptionQuotaAndUsage", - "summary": "Gets the current resource usage and quota of a subscription/region", - "description": "Gets the current resource usage and quota of a subscription/region", - "tags": [ - "Usages" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "location", - "in": "path", - "required": true, - "type": "string", - "description": "The location on which resource usage is queried." - } - ], - "responses": { - "200": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ListUsagesResult" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Subscription usage in given location": { - "$ref": "./examples/SubscriptionUsageQuotaGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/usages": { - "get": { - "operationId": "Operations_GetWorkspaceQuotaAndUsage", - "summary": "Gets the current usage and quota of a workspace.", - "description": "Gets the current usage and quota of a workspace.", - "tags": [ - "Usages" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ListUsagesResult" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Subscription usage in given location": { - "$ref": "./examples/WorkspaceUsageQuotaGet.json" - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/operations.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/operations.json deleted file mode 100644 index d1b40cce788a..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/operations.json +++ /dev/null @@ -1,351 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/providers/Microsoft.Synapse/operations": { - "get": { - "operationId": "Operations_List", - "summary": "All operations", - "description": "Get all available operations", - "tags": [ - "Operations" - ], - "deprecated": false, - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/AvailableRpOperation" - } - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "Get available operations": { - "$ref": "./examples/GetAvailableOperations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/operationResults/{operationId}": { - "get": { - "operationId": "Operations_GetLocationHeaderResult", - "summary": "Get operation result", - "description": "Get the result of an operation", - "tags": [ - "Operations" - ], - "deprecated": false, - "consumes": [], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "operationId", - "description": "Operation ID", - "required": true - } - ], - "responses": { - "200": { - "description": "" - }, - "201": { - "description": "" - }, - "202": { - "description": "" - }, - "204": { - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "Get location header result": { - "$ref": "./examples/GetLocationHeader.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/operationStatuses/{operationId}": { - "get": { - "operationId": "Operations_GetAzureAsyncHeaderResult", - "summary": "Get operation status", - "description": "Get the status of an operation", - "tags": [ - "Operations" - ], - "deprecated": false, - "consumes": [], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "operationId", - "description": "Operation ID", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "../../../../common/v1/types.json#/definitions/OperationResource" - }, - "description": "" - }, - "404": { - "description": "Not found" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "Get azure async operation header result": { - "$ref": "./examples/GetAzureAsyncOperationHeader.json" - } - } - } - } - }, - "definitions": { - "AvailableRpOperation": { - "type": "object", - "description": "An operation that is available in this resource provider", - "properties": { - "display": { - "$ref": "#/definitions/AvailableRpOperationDisplayInfo", - "description": "Display properties of the operation" - }, - "isDataAction": { - "type": "string", - "description": "Whether this operation is a data action" - }, - "name": { - "type": "string", - "description": "Operation name" - }, - "properties": { - "$ref": "#/definitions/OperationMetaPropertyInfo", - "description": "Operation properties", - "x-ms-client-flatten": true - }, - "origin": { - "type": "string", - "description": "Operation origin" - } - } - }, - "AvailableRpOperationDisplayInfo": { - "type": "object", - "description": "Description of an available operation", - "properties": { - "description": { - "type": "string", - "description": "Operation description" - }, - "resource": { - "type": "string", - "description": "Resource type" - }, - "provider": { - "type": "string", - "description": "Resource provider name" - }, - "operation": { - "type": "string", - "description": "Operation name" - } - } - }, - "OperationMetaPropertyInfo": { - "type": "object", - "description": "What is this?", - "properties": { - "serviceSpecification": { - "$ref": "#/definitions/OperationMetaServiceSpecification", - "description": "Operation service specification" - } - } - }, - "OperationMetaServiceSpecification": { - "type": "object", - "description": "What is this?", - "properties": { - "metricSpecifications": { - "type": "array", - "description": "Service metric specifications", - "items": { - "$ref": "#/definitions/OperationMetaMetricSpecification" - } - }, - "logSpecifications": { - "type": "array", - "description": "Service log specifications", - "items": { - "$ref": "#/definitions/OperationMetaLogSpecification" - } - } - } - }, - "OperationMetaMetricSpecification": { - "type": "object", - "description": "What is this?", - "properties": { - "sourceMdmNamespace": { - "type": "string", - "description": "The source MDM namespace" - }, - "displayName": { - "type": "string", - "description": "Metric display name" - }, - "name": { - "type": "string", - "description": "Metric unique name" - }, - "aggregationType": { - "type": "string", - "description": "Metric aggregation type" - }, - "displayDescription": { - "type": "string", - "description": "Metric description" - }, - "sourceMdmAccount": { - "type": "string", - "description": "The source MDM account" - }, - "enableRegionalMdmAccount": { - "type": "boolean", - "description": "Whether the regional MDM account is enabled" - }, - "unit": { - "type": "string", - "description": "Metric units" - }, - "dimensions": { - "type": "array", - "description": "Metric dimensions", - "items": { - "$ref": "#/definitions/OperationMetaMetricDimensionSpecification" - } - }, - "supportsInstanceLevelAggregation": { - "type": "boolean", - "description": "Whether the metric supports instance-level aggregation" - }, - "metricFilterPattern": { - "type": "string", - "description": "Metric filter" - } - } - }, - "OperationMetaLogSpecification": { - "type": "object", - "description": "What is this?", - "properties": { - "displayName": { - "type": "string", - "description": "Log display name" - }, - "blobDuration": { - "type": "string", - "description": "Time range the log covers" - }, - "name": { - "type": "string", - "description": "Log unique name" - } - } - }, - "OperationMetaMetricDimensionSpecification": { - "type": "object", - "description": "What is this?", - "properties": { - "displayName": { - "type": "string", - "description": "Dimension display name" - }, - "name": { - "type": "string", - "description": "Dimension unique name" - }, - "toBeExportedForShoebox": { - "type": "boolean", - "description": "Whether this metric should be exported for Shoebox" - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privateEndpointConnections.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privateEndpointConnections.json deleted file mode 100644 index 9f72693d1427..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privateEndpointConnections.json +++ /dev/null @@ -1,219 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "description": "The name of the private endpoint connection.", - "required": true, - "type": "string" - } - ], - "get": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Gets a private endpoint connection.", - "operationId": "PrivateEndpointConnections_Get", - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "schema": { - "$ref": "../../../../common/v1/privateEndpointConnection.json#/definitions/PrivateEndpointConnection" - }, - "description": "Private endpoint connection" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "Get private endpoint connection": { - "$ref": "./examples/GetPrivateEndpointConnection.json" - } - } - }, - "put": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Approve or reject a private endpoint connection.", - "operationId": "PrivateEndpointConnections_Create", - "parameters": [ - { - "name": "request", - "in": "body", - "description": "Request body of private endpoint connection to create.", - "required": true, - "schema": { - "$ref": "../../../../common/v1/privateEndpointConnection.json#/definitions/PrivateEndpointConnection" - } - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "schema": { - "$ref": "../../../../common/v1/privateEndpointConnection.json#/definitions/PrivateEndpointConnection" - }, - "description": "Private endpoint connection" - }, - "201": { - "schema": { - "$ref": "../../../../common/v1/privateEndpointConnection.json#/definitions/PrivateEndpointConnection" - }, - "description": "Private endpoint connection" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Approve private endpoint connection": { - "$ref": "./examples/ApprovePrivateEndpointConnection.json" - } - } - }, - "delete": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Delete a private endpoint connection.", - "operationId": "PrivateEndpointConnections_Delete", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "responses": { - "200": { - "description": "" - }, - "202": { - "schema": { - "$ref": "../../../../common/v1/types.json#/definitions/OperationResource" - }, - "description": "Operation details" - }, - "204": { - "description": "Deletion completed" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "Delete private endpoint connection": { - "$ref": "./examples/DeletePrivateEndpointConnection.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/privateEndpointConnections": { - "get": { - "tags": [ - "PrivateEndpointConnections" - ], - "description": "Lists private endpoint connection in workspace.", - "operationId": "PrivateEndpointConnections_List", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "responses": { - "200": { - "schema": { - "$ref": "../../../../common/v1/privateEndpointConnection.json#/definitions/PrivateEndpointConnectionList" - }, - "description": "Private endpoint connection" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "List private endpoint connections in workspace": { - "$ref": "./examples/ListPrivateEndpointConnections.json" - } - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privateLinkResources.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privateLinkResources.json deleted file mode 100644 index a7812e650e5d..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privateLinkResources.json +++ /dev/null @@ -1,307 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/privateLinkResources": { - "get": { - "operationId": "PrivateLinkResources_List", - "summary": "Private Link Resources", - "description": "Get all private link resources for a workspaces", - "tags": [ - "PrivateLinkResources" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" - }, - "description": "List of private link resources" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "Get private link resources for workspace": { - "$ref": "./examples/ListPrivateLinkResources.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/privateLinkResources/{privateLinkResourceName}": { - "get": { - "operationId": "PrivateLinkResources_Get", - "summary": "Get Private Link Resource", - "description": "Get private link resource in workspace", - "tags": [ - "PrivateLinkResources" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "$ref": "#/parameters/privateLinkResourceNameParameter" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - }, - "description": "Private link resource details" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "Get private link resources for workspace": { - "$ref": "./examples/GetPrivateLinkResource.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}/privateLinkResources": { - "get": { - "operationId": "PrivateLinkHubPrivateLinkResources_List", - "summary": "Private Link Resources", - "description": "Get all private link resources for a private link hub", - "tags": [ - "PrivateLinkHubPrivateLinkResources" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/privateLinkHubNameParameter" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" - }, - "description": "List of private link resources" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "Get private link resources for private link hub": { - "$ref": "./examples/ListPrivateLinkHubPrivateLinkResources.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}/privateLinkResources/{privateLinkResourceName}": { - "get": { - "operationId": "PrivateLinkHubPrivateLinkResources_Get", - "summary": "Get Private Link Hub Private Link Resource", - "description": "Get private link resource in private link hub", - "tags": [ - "PrivateLinkHubPrivateLinkResources" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/privateLinkHubNameParameter" - }, - { - "$ref": "#/parameters/privateLinkResourceNameParameter" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/PrivateLinkResource" - }, - "description": "Private link resource details" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-examples": { - "Get private link resources for private link hub": { - "$ref": "./examples/GetPrivateLinkHubPrivateLinkResource.json" - } - } - } - } - }, - "definitions": { - "PrivateLinkResourceListResult": { - "description": "A list of private link resources", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "PrivateLinkResource": { - "description": "A private link resource", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "The private link resource properties.", - "readOnly": true - } - } - }, - "PrivateLinkResourceProperties": { - "description": "Properties of a private link resource.", - "type": "object", - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string", - "readOnly": true - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true, - "description": "Required DNS zone names of the the private link resource." - } - } - } - }, - "parameters": { - "privateLinkResourceNameParameter": { - "name": "privateLinkResourceName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the private link resource", - "x-ms-parameter-location": "method" - }, - "privateLinkHubNameParameter": { - "name": "privateLinkHubName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the private link hub", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privatelinkhub.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privatelinkhub.json deleted file mode 100644 index 16a9bb828a72..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/privatelinkhub.json +++ /dev/null @@ -1,488 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs": { - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "get": { - "operationId": "PrivateLinkHubs_ListByResourceGroup", - "description": "Returns a list of privateLinkHubs in a resource group", - "tags": [ - "PrivateLinkHubs" - ], - "deprecated": false, - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/PrivateLinkHubInfoListResult" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List privateLinkHubs in resource group": { - "$ref": "./examples/ListPrivateLinkHubsInResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}": { - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/PrivateLinkHubNameParameter" - } - ], - "get": { - "operationId": "PrivateLinkHubs_Get", - "description": "Gets a privateLinkHub", - "tags": [ - "PrivateLinkHubs" - ], - "deprecated": false, - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/PrivateLinkHub" - }, - "description": "PrivateLinkHub resource details" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 500 InternalServerError- Some error occurred while trying to get details for PrivateLinkHub." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a privateLinkHub": { - "$ref": "./examples/GetPrivateLinkHub.json" - } - } - }, - "patch": { - "operationId": "PrivateLinkHubs_Update", - "description": "Updates a privateLinkHub", - "tags": [ - "PrivateLinkHubs" - ], - "deprecated": false, - "parameters": [ - { - "schema": { - "$ref": "#/definitions/PrivateLinkHubPatchInfo" - }, - "in": "body", - "name": "privateLinkHubPatchInfo", - "required": true, - "description": "PrivateLinkHub patch request properties" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/PrivateLinkHub" - }, - "description": "PrivateLinkHub resource details" - }, - "201": { - "schema": { - "$ref": "#/definitions/PrivateLinkHub" - }, - "description": "PrivateLinkHub resource details" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 400 BadRequest - Invalid request to create a PrivateLinkHub.\n\n * 500 InternalServerError- Some error occurred while creating PrivateLinkHub." - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Update a privateLinkHub": { - "$ref": "./examples/UpdatePrivateLinkHub.json" - } - } - }, - "put": { - "operationId": "PrivateLinkHubs_CreateOrUpdate", - "description": "Creates or updates a privateLinkHub", - "tags": [ - "PrivateLinkHubs" - ], - "deprecated": false, - "parameters": [ - { - "description": "PrivateLinkHub create or update request properties", - "schema": { - "$ref": "#/definitions/PrivateLinkHub" - }, - "in": "body", - "name": "privateLinkHubInfo", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/PrivateLinkHub" - }, - "description": "PrivateLinkHub resource details" - }, - "201": { - "schema": { - "$ref": "#/definitions/PrivateLinkHub" - }, - "description": "PrivateLinkHub resource details" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 400 BadRequest - Invalid request to create a PrivateLinkHub.\n\n * 500 InternalServerError- Some error occurred while creating PrivateLinkHub." - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or update a privateLinkHub": { - "$ref": "./examples/CreateOrUpdatePrivateLinkHub.json" - } - } - }, - "delete": { - "operationId": "PrivateLinkHubs_Delete", - "description": "Deletes a privateLinkHub", - "tags": [ - "PrivateLinkHubs" - ], - "deprecated": false, - "responses": { - "200": { - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "204": { - "description": "PrivateLinkHub resource not found." - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 500 InternalServerError- Some error occurred while deleting PrivateLinkHub." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete a privateLinkHub": { - "$ref": "./examples/DeletePrivateLinkHub.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/privateLinkHubs": { - "get": { - "operationId": "PrivateLinkHubs_List", - "description": "Returns a list of privateLinkHubs in a subscription", - "tags": [ - "PrivateLinkHubs" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/PrivateLinkHubInfoListResult" - }, - "description": "PrivateLinkHub resource details" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List privateLinkHubs in subscription": { - "$ref": "./examples/ListPrivateLinkHubsInSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}/privateEndpointConnections": { - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/PrivateLinkHubNameParameter" - } - ], - "get": { - "operationId": "PrivateEndpointConnectionsPrivateLinkHub_List", - "description": "Get all PrivateEndpointConnections in the PrivateLinkHub", - "tags": [ - "PrivateLinkHubs", - "PrivateEndpointConnections" - ], - "deprecated": false, - "responses": { - "200": { - "schema": { - "$ref": "../../../../common/v1/privateEndpointConnection.json#/definitions/PrivateEndpointConnectionForPrivateLinkHub_ResourceCollectionResponse" - }, - "description": "List of PrivateEndpointConnections in PrivateLinkHub" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get a privateLinkHub": { - "$ref": "./examples/PrivateEndpointConnectionsPrivateLinkHub_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs/{privateLinkHubName}/privateEndpointConnections/{privateEndpointConnectionName}": { - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/PrivateLinkHubNameParameter" - }, - { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string", - "description": "Name of the privateEndpointConnection", - "x-ms-parameter-location": "method" - } - ], - "get": { - "operationId": "PrivateEndpointConnectionsPrivateLinkHub_Get", - "description": "Get all PrivateEndpointConnection in the PrivateLinkHub by name", - "tags": [ - "PrivateLinkHubs", - "PrivateEndpointConnections" - ], - "deprecated": false, - "responses": { - "200": { - "schema": { - "$ref": "../../../../common/v1/privateEndpointConnection.json#/definitions/PrivateEndpointConnectionForPrivateLinkHub" - }, - "description": "PrivateEndpointConnection in PrivateLinkHub" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a privateLinkHub": { - "$ref": "./examples/PrivateEndpointConnectionsPrivateLinkHub_Get.json" - } - } - } - } - }, - "definitions": { - "PrivateLinkHubInfoListResult": { - "description": "List of privateLinkHubs", - "type": "object", - "properties": { - "nextLink": { - "description": "Link to the next page of results", - "type": "string" - }, - "value": { - "description": "List of privateLinkHubs", - "type": "array", - "items": { - "$ref": "#/definitions/PrivateLinkHub" - } - } - } - }, - "PrivateLinkHub": { - "description": "A privateLinkHub", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "description": "PrivateLinkHub resource properties", - "$ref": "#/definitions/PrivateLinkHubProperties", - "x-ms-client-flatten": true - } - } - }, - "PrivateLinkHubPatchInfo": { - "description": "PrivateLinkHub patch details", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags", - "additionalProperties": { - "type": "string" - }, - "type": "object" - } - } - }, - "PrivateLinkHubProperties": { - "description": "PrivateLinkHub properties", - "type": "object", - "properties": { - "provisioningState": { - "description": "PrivateLinkHub provisioning state", - "type": "string" - }, - "privateEndpointConnections": { - "description": "List of private endpoint connections", - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/PrivateEndpointConnectionForPrivateLinkHubBasic" - } - } - } - }, - "PrivateEndpointConnectionForPrivateLinkHubBasic": { - "description": "Private Endpoint Connection For Private Link Hub - Basic", - "type": "object", - "properties": { - "id": { - "description": "identifier", - "type": "string", - "readOnly": true - }, - "properties": { - "description": "Properties of private endpoint connection for private link hub", - "type": "object", - "$ref": "../../../../common/v1/privateEndpointConnection.json#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/sqlPool.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/sqlPool.json deleted file mode 100644 index b43300ad99dd..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/sqlPool.json +++ /dev/null @@ -1,7757 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}": { - "get": { - "operationId": "SqlPools_Get", - "summary": "Get SQL pool", - "description": "Get SQL pool properties", - "tags": [ - "SqlPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a SQL Analytics pool": { - "$ref": "./examples/GetSqlPool.json" - } - } - }, - "patch": { - "operationId": "SqlPools_Update", - "summary": "Update SQL pool", - "description": "Apply a partial update to a SQL pool", - "tags": [ - "SqlPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "schema": { - "$ref": "#/definitions/SqlPoolPatchInfo" - }, - "in": "body", - "name": "sqlPoolInfo", - "description": "The updated SQL pool properties", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update a SQL Analytics pool": { - "$ref": "./examples/UpdateSqlPool.json" - } - } - }, - "put": { - "operationId": "SqlPools_Create", - "summary": "Create SQL pool", - "description": "Create a SQL pool", - "tags": [ - "SqlPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "in": "body", - "name": "sqlPoolInfo", - "description": "The SQL pool to create", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "OK" - }, - "202": { - "description": "Accepted" - }, - "404": { - "description": "", - "x-ms-error-response": true - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create a SQL Analytics pool": { - "$ref": "./examples/CreateSqlPool.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - }, - "delete": { - "operationId": "SqlPools_Delete", - "summary": "Delete SQL pool", - "description": "Delete a SQL pool", - "tags": [ - "SqlPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "OK" - }, - "202": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "Accepted" - }, - "204": { - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Delete a SQL Analytics pool": { - "$ref": "./examples/DeleteSqlPool.json" - } - }, - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools": { - "get": { - "operationId": "SqlPools_ListByWorkspace", - "summary": "List SQL pools", - "description": "List all SQL pools", - "tags": [ - "SqlPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/SqlPoolInfoListResult" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "List SQL Analytics pools in a workspace": { - "$ref": "./examples/ListSqlPoolsInWorkspace.json" - }, - "List SQL Analytics pools in a workspace with filter": { - "$ref": "./examples/ListSqlPoolsInWorkspaceWithFilter.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/pause": { - "post": { - "operationId": "SqlPools_Pause", - "summary": "Pause SQL pool", - "description": "Pause a SQL pool", - "tags": [ - "SqlPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "OK" - }, - "202": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "Accepted" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Pause a SQL Analytics pool": { - "$ref": "./examples/PauseSqlPool.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/resume": { - "post": { - "operationId": "SqlPools_Resume", - "summary": "Resume SQL pool", - "description": "Resume a SQL pool", - "tags": [ - "SqlPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "OK" - }, - "202": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "Accepted" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Resume a SQL Analytics pool": { - "$ref": "./examples/ResumeSqlPool.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/move": { - "post": { - "operationId": "SqlPools_Rename", - "summary": "Rename a SQL pool", - "description": "Rename a SQL pool.", - "tags": [ - "SqlPools" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "description": "The resource move definition for renaming this Sql pool.", - "required": true, - "schema": { - "$ref": "#/definitions/ResourceMoveDefinition" - } - } - ], - "responses": { - "200": { - "description": "Successfully renamed the Sql pool" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidResourceMoveRequest - The resource move request is invalid.\n\n * 400 InvalidMoveTargetResourceId - The target resource identifier in move request is invalid.\n\n * 400 MismatchingSubscriptionWithUrl - The provided subscription did not match the subscription in the Url.\n\n * 400 MismatchingResourceGroupNameWithUrl - The provided resource group name did not match the name in the Url.\n\n * 400 MismatchingServerNameWithUrl - The provided server name did not match the name in the Url.\n\n * 400 InvalidIdentifier - The identifier contains NULL or an invalid unicode character.\n\n * 400 DatabaseNameInUse - Database already exists. Choose a different database name.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Rename a SQL Analytics pool": { - "$ref": "./examples/RenameSqlPool.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/metadataSync/config": { - "get": { - "operationId": "SqlPoolMetadataSyncConfigs_Get", - "summary": "Get SQL pool metadata sync config", - "description": "Get the metadata sync configuration for a SQL pool", - "tags": [ - "SqlPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "404": { - "description": "", - "x-ms-error-response": true - }, - "200": { - "schema": { - "$ref": "#/definitions/MetadataSyncConfig" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get metadata sync config for a SQL Analytics pool": { - "$ref": "./examples/GetSqlPoolMetadataSyncConfig.json" - } - } - }, - "put": { - "operationId": "SqlPoolMetadataSyncConfigs_Create", - "summary": "Set SQL pool metadata sync config", - "description": "Set the metadata sync configuration for a SQL pool", - "tags": [ - "SqlPools" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "description": "Metadata sync configuration", - "schema": { - "$ref": "#/definitions/MetadataSyncConfig" - }, - "in": "body", - "name": "metadataSyncConfiguration", - "required": true - } - ], - "responses": { - "404": { - "description": "", - "x-ms-error-response": true - }, - "200": { - "schema": { - "$ref": "#/definitions/MetadataSyncConfig" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Set metadata sync config for a SQL Analytics pool": { - "$ref": "./examples/CreateSqlPoolMetadataSyncConfig.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/operationResults/{operationId}": { - "get": { - "operationId": "SqlPoolOperationResults_GetLocationHeaderResult", - "summary": "Get SQL pool operation status", - "description": "Get the status of a SQL pool operation", - "tags": [ - "Operations" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "type": "string", - "in": "path", - "name": "operationId", - "description": "Operation ID", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "OK" - }, - "202": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "Accepted" - }, - "201": { - "schema": { - "$ref": "#/definitions/SqlPool" - }, - "description": "Created" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Get the result of an operation on a SQL Analytics pool": { - "$ref": "./examples/GetLocationHeaderResultWithSqlPool.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies": { - "get": { - "operationId": "SqlPoolGeoBackupPolicies_List", - "summary": "List SQL pool geo backup policies", - "description": "Get list of SQL pool geo backup policies", - "tags": [ - "SqlPools, GeoBackupPolicies" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/GeoBackupPolicyListResult" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-pageable": { - "nextLinkName": null - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get Sql pool geo backup policy": { - "$ref": "./examples/SqlPoolGeoBackupPolicies_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/geoBackupPolicies/{geoBackupPolicyName}": { - "put": { - "tags": [ - "SqlPools, GeoBackupPolicies" - ], - "deprecated": false, - "operationId": "SqlPoolGeoBackupPolicies_CreateOrUpdate", - "description": "Updates a SQL Pool geo backup policy.", - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create geo backup policy": { - "$ref": "./examples/CreateOrUpdateGeoBackupPolicies.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "geoBackupPolicyName", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "Default" - ], - "description": "The name of the geo backup policy.", - "x-ms-enum": { - "modelAsString": true, - "name": "GeoBackupPolicyName" - }, - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/GeoBackupPolicy" - }, - "description": "The required parameters for creating or updating the geo backup policy." - } - ], - "responses": { - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/GeoBackupPolicy" - } - }, - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/GeoBackupPolicy" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - } - }, - "get": { - "operationId": "SqlPoolGeoBackupPolicies_Get", - "summary": "Get a SQL pool geo backup policy", - "description": "Get the specified SQL pool geo backup policy", - "tags": [ - "SqlPools, GeoBackupPolicies" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "geoBackupPolicyName", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "Default" - ], - "description": "The name of the geo backup policy.", - "x-ms-enum": { - "modelAsString": true, - "name": "GeoBackupPolicyName" - }, - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/GeoBackupPolicy" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get Sql pool geo backup policy": { - "$ref": "./examples/GetSqlPoolGeoBackupPolicy.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataWarehouseUserActivities/{dataWarehouseUserActivityName}": { - "get": { - "operationId": "SqlPoolDataWarehouseUserActivities_Get", - "summary": "Get SQL pool user activities", - "description": "Gets the user activities of a SQL pool which includes running and suspended queries", - "tags": [ - "SqlPools, SqlPoolUserActivities" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "dataWarehouseUserActivityName", - "in": "path", - "description": "The activity name of the Sql pool. ", - "required": true, - "type": "string", - "enum": [ - "current" - ], - "x-ms-enum": { - "name": "DataWarehouseUserActivityName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/DataWarehouseUserActivities" - }, - "description": "OK" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ResourceNotFound - The specified resource was not found." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a SQL Analytics pool user activity": { - "$ref": "./examples/GetSqlPoolUserActivity.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints": { - "get": { - "operationId": "SqlPoolRestorePoints_List", - "summary": "Get SQL pool backup", - "description": "Get SQL pool backup information", - "tags": [ - "SqlPools, Backup" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/RestorePointListResult" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a list of restore points of a SQL Analytics pool": { - "$ref": "./examples/ListSqlPoolRestorePoints.json" - } - } - }, - "post": { - "tags": [ - "SqlPools, RestorePoints" - ], - "description": "Creates a restore point for a data warehouse.", - "operationId": "SqlPoolRestorePoints_Create", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "description": "The definition for creating the restore point of this Sql pool.", - "required": true, - "schema": { - "$ref": "#/definitions/CreateSqlPoolRestorePointDefinition" - } - } - ], - "responses": { - "200": { - "description": "Successfully created the restore point request.", - "schema": { - "$ref": "#/definitions/RestorePoint" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 BackupNotAllowedOnDeactivatedDatabase - Cannot create restore point on a deactivated database.\n\n * 400 RestorePointLimitReached - A restore point cannot be created because database would exceed the allowed quota of restore points.\n\n * 400 RestorePointAttemptToDeleteSystemBackup - Cannot delete system restore point.\n\n * 404 DatabaseRestorePointNotFound - Can not find database restore point.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 408 DatabaseRestorePointTimedOut - Create database restore point failed." - }, - "202": { - "description": "Accepted" - }, - "201": { - "description": "Successfully created the restore point request.", - "schema": { - "$ref": "#/definitions/RestorePoint" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Creates Sql pool restore point.": { - "$ref": "./examples/CreateSqlPoolRestorePoints.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/replicationLinks": { - "get": { - "operationId": "SqlPoolReplicationLinks_List", - "summary": "Get SQL pool replication links", - "description": "Lists a Sql pool's replication links.", - "tags": [ - "SqlPools, ReplicationLinks" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ReplicationLinkListResult" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Lists a Sql Analytic pool's replication links": { - "$ref": "./examples/ListSqlPoolReplicationLinks.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/replicationLinks/{linkId}": { - "get": { - "operationId": "SqlPoolReplicationLinks_GetByName", - "summary": "Get SQL pool replication link by name", - "description": "Get SQL pool replication link by name.", - "tags": [ - "SqlPools, ReplicationLinks" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "linkId", - "in": "path", - "required": true, - "type": "string", - "description": "The ID of the replication link." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ReplicationLink" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Lists a Sql Analytic pool's replication links": { - "$ref": "./examples/SqlPoolReplicationLinks_GetByName.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/maintenancewindows/current": { - "get": { - "operationId": "SqlPoolMaintenanceWindows_Get", - "summary": "Get a SQL pool's Maintenance Windows.", - "description": "Get a SQL pool's Maintenance Windows.", - "tags": [ - "SqlPools, MaintenanceWindows" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "maintenanceWindowName", - "in": "query", - "description": "Maintenance window name.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MaintenanceWindows" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Gets maintenance window settings for a selected SQL Analytics pool.": { - "$ref": "./examples/GetMaintenanceWindows.json" - } - } - }, - "put": { - "operationId": "SqlPoolMaintenanceWindows_CreateOrUpdate", - "summary": "Creates or updates a Sql pool's maintenance windows settings.", - "description": "Creates or updates a Sql pool's maintenance windows settings.", - "tags": [ - "SqlPools, MaintenanceWindows" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "maintenanceWindowName", - "in": "query", - "description": "Maintenance window name.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/MaintenanceWindows" - }, - "description": "The required parameters for creating or updating Maintenance Windows settings" - } - ], - "responses": { - "200": { - "description": "Successfully set maintenance windows settings." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidMaintenanceWindowSelection - Invalid maintenance window selection." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Sets maintenance window settings for a selected SQL Analytics Pool.": { - "$ref": "./examples/CreateOrUpdateMaintenanceWindows.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/maintenanceWindowOptions/current": { - "get": { - "operationId": "SqlPoolMaintenanceWindowOptions_Get", - "summary": "SQL pool's available maintenance windows.", - "description": "Get list of SQL pool's available maintenance windows.", - "tags": [ - "SqlPools, MaintenanceWindowOptions" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "maintenanceWindowOptionsName", - "in": "query", - "description": "Maintenance window options name.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of maintenance windows options.", - "schema": { - "$ref": "#/definitions/MaintenanceWindowOptions" - } - }, - "default": { - "description": "*** Error Responses: ***" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get list of transparent data encryption configurations of a SQL Analytics pool": { - "$ref": "./examples/GetMaintenanceWindowOptions.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/transparentDataEncryption/{transparentDataEncryptionName}": { - "get": { - "operationId": "SqlPoolTransparentDataEncryptions_Get", - "summary": "Get a SQL pool's transparent data encryption configuration", - "description": "Get a SQL pool's transparent data encryption configuration.", - "tags": [ - "SqlPools, TransparentDataEncryption" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "transparentDataEncryptionName", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "current" - ], - "description": "The name of the transparent data encryption configuration.", - "x-ms-enum": { - "modelAsString": true, - "name": "TransparentDataEncryptionName" - }, - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/TransparentDataEncryption" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get transparent data encryption configuration of a SQL Analytics pool": { - "$ref": "./examples/GetSqlPoolTransparentDataEncryption.json" - } - } - }, - "put": { - "operationId": "SqlPoolTransparentDataEncryptions_CreateOrUpdate", - "summary": "Creates or updates a Sql pool's transparent data encryption configuration", - "description": "Creates or updates a Sql pool's transparent data encryption configuration.", - "tags": [ - "SqlPools, TransparentDataEncryption" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "transparentDataEncryptionName", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "current" - ], - "description": "The name of the transparent data encryption configuration.", - "x-ms-enum": { - "modelAsString": true, - "name": "TransparentDataEncryptionName" - }, - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TransparentDataEncryption" - }, - "description": "The required parameters for creating or updating transparent data encryption." - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/TransparentDataEncryption" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/TransparentDataEncryption" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or update a Sql pool's transparent data encryption configuration": { - "$ref": "./examples/CreateOrUpdateSqlPoolTransparentDataEncryption.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/transparentDataEncryption": { - "get": { - "operationId": "SqlPoolTransparentDataEncryptions_List", - "summary": "SQL pool's transparent data encryption configurations", - "description": "Get list of SQL pool's transparent data encryption configurations.", - "tags": [ - "SqlPools, TransparentDataEncryption" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/TransparentDataEncryptionListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get list of transparent data encryption configurations of a SQL Analytics pool": { - "$ref": "./examples/GetSqlPoolTransparentDataEncryptionList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/auditingSettings/{blobAuditingPolicyName}": { - "get": { - "operationId": "SqlPoolBlobAuditingPolicies_Get", - "summary": "Get a SQL pool's blob auditing policy", - "description": "Get a SQL pool's blob auditing policy.", - "tags": [ - "SqlPools, BlobAuditing" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "blobAuditingPolicyName", - "in": "path", - "description": "The name of the blob auditing policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobAuditingPolicyName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlPoolBlobAuditingPolicy" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 BlobAuditingIsNotSupportedOnResourceType - Blob Auditing is currently not supported for this resource type.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get blob auditing policy of a SQL Analytics pool": { - "$ref": "./examples/GetSqlPoolBlobAuditing.json" - } - } - }, - "put": { - "operationId": "SqlPoolBlobAuditingPolicies_CreateOrUpdate", - "summary": "Creates or updates a SQL pool's blob auditing policy", - "description": "Creates or updates a SQL pool's blob auditing policy.", - "tags": [ - "SqlPools, BlobAuditing" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "blobAuditingPolicyName", - "in": "path", - "description": "The name of the blob auditing policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobAuditingPolicyName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The database blob auditing policy.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlPoolBlobAuditingPolicy" - } - } - ], - "responses": { - "200": { - "description": "Successfully set the Sql pool blob auditing policy", - "schema": { - "$ref": "#/definitions/SqlPoolBlobAuditingPolicy" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 BlobAuditingIsNotSupportedOnResourceType - Blob Auditing is currently not supported for this resource type.\n\n * 400 InvalidDatabaseBlobAuditingPolicyCreateRequest - The create database blob auditing policy request does not exist or has no properties object.\n\n * 400 InvalidBlobAuditActionsAndGroups - Invalid audit actions or action groups.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 BlobAuditingInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 BlobAuditingInvalidStorageAccountCredentials - The provided storage account or access key is not valid.\n\n * 400 BlobAuditingIsNotSupportedOnGeoDr - Blob auditing can be configured on primary databases only.\n\n * 400 InvalidBlobAuditActionsAndGroupsForDW - Unsupported audit actions or action groups for DW.\n\n * 400 BlobAuditingInsufficientStorageAccountPermissions - Insufficient read or write permissions on the provided storage account.\n\n * 400 BlobAuditingStorageAccountIsDisabled - The provided storage account is disabled.\n\n * 400 InvalidBlobAuditActions - Invalid audit action\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - }, - "201": { - "description": "Successfully created the Sql pool blob auditing policy.", - "schema": { - "$ref": "#/definitions/SqlPoolBlobAuditingPolicy" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or update a database's blob auditing policy with minimal parameters": { - "$ref": "./examples/CreateOrUpdateSqlPoolBlobAuditingWithMinParameters.json" - }, - "Create or update a database's blob auditing policy with all parameters": { - "$ref": "./examples/CreateOrUpdateSqlPoolBlobAuditingWithAllParameters.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/operations": { - "get": { - "operationId": "SqlPoolOperations_List", - "summary": "Gets a list of operations performed on the SQL pool", - "description": "Gets a list of operations performed on the SQL pool.", - "tags": [ - "SqlPools, Operations" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlPoolBlobAuditingPolicySqlPoolOperationListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 TierChangeUnsupportedDueToMemoryOptimizedObject - The database cannot update its sku because it has memory-optimized objects.\n\n * 400 SourceServerNotFound - The server part of a source database id provided in a CreateDatabaseAsCopy API call doesn't map to an existing server.\n\n * 400 ElasticPoolOverStorageUsage - Attempting to write data to a database when the storage limit of the elastic pool has been reached.\n\n * 400 InvalidAddSecondaryPermission - User does not have sufficient permission to add secondary on the specified server.\n\n * 400 UnsupportedServiceName - The specified name is an invalid name because it contains one or more unsupported unicode characters.\n\n * 400 CurrentDatabaseLogSizeExceedsMaxSize - User attempted to change the database to a sku with lower max log size than the current usage.\n\n * 400 CannotUpdateToFreeDatabase - Updating a database to the free sku is not supported.\n\n * 400 InvalidSku - The user specified an invalid sku.\n\n * 400 InvalidTierSkuCombination - The specified tier does not support the specified sku.\n\n * 400 ServerNotFound - The requested server was not found.\n\n * 400 TokenTooLong - The provided token is too long.\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OfferDisabledOnSubscription - Subscription offer type is restricted from provisioning the requested resource.\n\n * 400 InvalidTargetSubregion - The target server of a non-readable secondary is not in a DR paired Azure region.\n\n * 400 PartnerServerNotCompatible - The user is attempting to copy a database from a SAWA V1 server to a Sterling server or vice versa.\n\n * 400 IncorrectReplicationLinkState - The operation expects the database to be in an expected state on the replication link.\n\n * 400 ResourcePoolNotFound - Specified elastic pool does not exist in the specified logical server.\n\n * 400 ElasticPoolSkuCombinationInvalid - Elastic pool and sku can be specified together only if sku is specified as 'ElasticPool'.\n\n * 400 ElasticPoolTierCombinationInvalid - The database tier is different than the elastic pool service tier.\n\n * 400 ElasticPoolDatabaseCountOverLimit - Attempting to create or add database to elastic pool when the database count limit of the elastic pool has been reached.\n\n * 400 CannotChangeToOrFromDataWarehouseTier - User attempted to change the sku of a database from DataWarehouse tier to non DataWarehouse tiers or vice versa.\n\n * 400 CurrentDatabaseSizeExceedsMaxSize - User attempted to reduce the max size for a database to a size smaller than the current usage.\n\n * 400 ElasticPoolDecreaseStorageLimitBelowUsage - Attempting to decrease the storage limit of the elastic pool below its storage usage.\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 InvalidMaxSizeTierCombination - The specified tier does not support the specified database max size.\n\n * 400 RegionDoesNotSupportVersion - A user attempted to create a server of a specified version in a location where that server version isn't supported.\n\n * 400 InvalidTier - The user specified an invalid tier.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 SubscriptionNotFound - The requested subscription was not found.\n\n * 400 InvalidServerName - Invalid server name specified.\n\n * 400 CannotUseTrailingWhitespacesInDatabaseName - The database name validation failed.\n\n * 400 UpdateNotAllowedIfGeoDrOperationInProgress - The operation is disallowed because copy or failover operation for database '{0}' on server '{1}' is currently in progress.\n\n * 400 InvalidCollation - Collation is not recognized by the server.\n\n * 400 ElasticPoolOverFileSpace - Insufficient file space in the elastic pool.\n\n * 400 UpdateNotAllowedInCurrentReplicationState - The operation is disallowed on the database in its current replication state.\n\n * 400 GeoReplicaLimitReached - The per-replica replication limit was reached.\n\n * 400 ProvisioningDisabled - Displays error message from resources operation authorizer as is, without changes\n\n * 400 ReplicationSourceAndTargetMustHaveSameName - The replication source and target databases must have the same name.\n\n * 400 ReplicationSourceAndTargetMustBeInDifferentServers - The replication source and target databases must be in different logical servers.\n\n * 400 UnableToResolveRemoteServer - The remote partner server name could not be resolved due to an invalid server name or DNS connectivity issues.\n\n * 400 RemoteDatabaseCopyPermission - User does not have sufficient permission to create a database copy on the specified server.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 JobAgentDatabaseEditionUnsupported - The specified database's service level objective is not supported for use as a job agent database.\n\n * 400 SourceDatabaseNotFound - The source database does not exist.\n\n * 400 ChangeUnsupportedOnEntity - User attempted an unsupported create/update/delete operation on a given entity.\n\n * 400 CannotMoveOrDropJobAccountDatabase - Cannot drop database associated with job account.\n\n * 400 CannotUseReservedDatabaseName - Cannot use reserved database name in this operation.\n\n * 400 CannotMoveOrDropSyncMetadataDatabase - Cannot drop database used as sync metadata database.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 404 CannotFindObject - Cannot find the object because it does not exist or you do not have permissions\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 ServerNotInSubscription - Specified server does not exist on the specified subscription.\n\n * 405 UnsupportedReplicationOperation - An unsupported replication operation was initiated on the database.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 SubscriptionDisabled - Subscription is disabled.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 SkuAssignmentInProgress - The current assignment request cannot be processed because a previous request has not completed.\n\n * 409 ServerDtuQuotaExceeded - Could not perform the operation because server would exceed the allowed Database Throughput Unit quota.\n\n * 409 UnableToAlterDatabaseInReplication - User altered edition on a database in a replication relationship.\n\n * 409 CurrentMemoryUsageExceedsSkuQuota - User attempted an sku update operation that cannot be completed due to the higher resource consumption.\n\n * 409 UpdateSloInProgress - User tried to initiate an incompatible operation while a SLO update was in progress.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 SimultaneousSkuChangeNotAllowed - Service objective change operations cannot run on both databases of a replication relationship at the same time.\n\n * 409 InvalidOperationForDatabaseNotInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 InvalidOperationForDatabaseInReplicationRelationship - A replication seeding operation was performed on a database that is already in a replication relationship.\n\n * 409 DuplicateGeoDrRelation - The databases are already in a replication relation. This is a duplicate request.\n\n * 409 RemoteDatabaseExists - The destination database name already exists on the destination server.\n\n * 429 SubscriptionTooManyCreateUpdateRequests - Requests beyond max requests that can be processed by available resources.\n\n * 429 SubscriptionTooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 500 ActivateOrDeactivateWorkflowThrottling - Activation or deactivation workflow failed because there are too many concurrent workflows\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List the Sql Analytics pool management operations": { - "$ref": "./examples/ListSqlPoolOperations.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/usages": { - "get": { - "operationId": "SqlPoolUsages_List", - "summary": "Gets SQL pool usages", - "description": "Gets SQL pool usages.", - "tags": [ - "SqlPools, Usages" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlPoolUsageListResult" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List the usages of a SQL Analytics pool": { - "$ref": "./examples/SqlPoolUsageMetricsList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/currentSensitivityLabels": { - "get": { - "operationId": "SqlPoolSensitivityLabels_ListCurrent", - "summary": "Gets SQL pool sensitivity labels", - "description": "Gets SQL pool sensitivity labels.", - "tags": [ - "SqlPools, SensitivityLabels" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "$filter", - "in": "query", - "description": "An OData filter expression that filters elements in the collection.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SensitivityLabelListResult" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-odata": "#/definitions/SensitivityLabel", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets the current sensitivity labels of a given SQL Analytics pool": { - "$ref": "./examples/ListSqlPoolsSensitivityLabelsWithSourceCurrent.json" - } - } - }, - "patch": { - "tags": [ - "SqlPools, SensitivityLabels" - ], - "description": "Update sensitivity labels of a given SQL Pool using an operations batch.", - "operationId": "SqlPoolSensitivityLabels_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/SensitivityLabelUpdateList" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated sensitivity labels." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelSourceNameNotSupported - The specified sensitivity label source is not valid\n\n * 400 InvalidSensitivityLabelsBatch - The specified sensitivity labels batch is not valid. Please provide batch operations\n\n * 400 SensitivityLabelsMissingSchema - Operation[{0}]: Missing schema information\n\n * 400 SensitivityLabelsMissingTable - Operation[{0}]: Missing table information\n\n * 400 SensitivityLabelsMissingColumn - Operation[{0}]: Missing column information\n\n * 400 SensitivityLabelsUpdateSameColumnMoreThanOnce - The column {0} can not be updated more than once in a single command\n\n * 400 InvalidSensitivityLabelResource - The specified sensitivity label resource is not valid\n\n * 400 SensitivityLabelLabelNameAndInfoTypeNotProvided - At least one of LabelName and InformationType must be specified\n\n * 400 LabelNameTooLong - Label name cannot exceed {0} characters\n\n * 400 InformationTypeTooLong - Information type cannot exceed {0} characters\n\n * 400 LabelIdMustBeGuid - The provided �labelId� is invalid. Value must be a GUID\n\n * 400 InformationTypeIdMustBeGuid - The provided �informationTypeId� is invalid. Value must be a GUID\n\n * 400 LabelMissing - Label is required. At least one of �labelName� or �labelId� must be provided\n\n * 400 InformationTypeMissing - Information type is required. At least one of �informationType� or �informationTypeId� must be provided\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SensitivityLabelsLabelNotFound - The specified sensitivity label could not be found\n\n * 404 SensitivityLabelsSchemaNotFound - The schema {0} could not be found\n\n * 404 SensitivityLabelsTableNotFound - The table {0} could not be found in schema {1}\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable." - } - }, - "x-ms-examples": { - "Update sensitivity labels of a given database using an operations batch.": { - "$ref": "./examples/SensitivityLabelsCurrentUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/recommendedSensitivityLabels": { - "get": { - "operationId": "SqlPoolSensitivityLabels_ListRecommended", - "summary": "Gets sensitivity labels of a given SQL pool", - "description": "Gets sensitivity labels of a given SQL pool.", - "tags": [ - "SqlPools, SensitivityLabels" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "includeDisabledRecommendations", - "in": "query", - "description": "Specifies whether to include disabled recommendations or not.", - "required": false, - "type": "boolean" - }, - { - "name": "$skipToken", - "in": "query", - "description": "An OData query option to indicate how many elements to skip in the collection.", - "required": false, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An OData filter expression that filters elements in the collection.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SensitivityLabelListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelsInvalidODataQuery - The specified OData query is either not valid or not supported\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-odata": "#/definitions/SensitivityLabel", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Gets the recommended sensitivity labels of a given SQL Analytics pool": { - "$ref": "./examples/ListSqlPoolSensitivityLabelsWithSourceRecommended.json" - } - } - }, - "patch": { - "tags": [ - "SqlPools, SensitivityLabels" - ], - "description": "Update recommended sensitivity labels states of a given SQL Pool using an operations batch.", - "operationId": "SqlPoolRecommendedSensitivityLabels_Update", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/RecommendedSensitivityLabelUpdateList" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated recommended sensitivity labels." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelSourceNameNotSupported - The specified sensitivity label source is not valid\n\n * 400 InvalidRecommendedSensitivityLabelsBatch - The specified recommended sensitivity labels operations are not valid\n\n * 400 SensitivityLabelsMissingSchema - Operation[{0}]: Missing schema information\n\n * 400 SensitivityLabelsMissingTable - Operation[{0}]: Missing table information\n\n * 400 SensitivityLabelsMissingColumn - Operation[{0}]: Missing column information\n\n * 400 SensitivityLabelsUpdateSameColumnMoreThanOnce - The column {0} can not be updated more than once in a single command\n\n * 400 InvalidSensitivityLabelResource - The specified sensitivity label resource is not valid\n\n * 400 SensitivityLabelLabelNameAndInfoTypeNotProvided - At least one of LabelName and InformationType must be specified\n\n * 400 LabelNameTooLong - Label name cannot exceed {0} characters\n\n * 400 InformationTypeTooLong - Information type cannot exceed {0} characters\n\n * 400 LabelIdMustBeGuid - The provided �labelId� is invalid. Value must be a GUID\n\n * 400 InformationTypeIdMustBeGuid - The provided �informationTypeId� is invalid. Value must be a GUID\n\n * 400 LabelMissing - Label is required. At least one of �labelName� or �labelId� must be provided\n\n * 400 InformationTypeMissing - Information type is required. At least one of �informationType� or �informationTypeId� must be provided\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SensitivityLabelsLabelNotFound - The specified sensitivity label could not be found\n\n * 404 SensitivityLabelsSchemaNotFound - The schema {0} could not be found\n\n * 404 SensitivityLabelsTableNotFound - The table {0} could not be found in schema {1}\n\n * 404 SensitivityLabelsColumnNotFound - The column {0} could not be found in table {2}.{1}\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable." - } - }, - "x-ms-examples": { - "Update recommended sensitivity labels of a given SQL Pool using an operations batch.": { - "$ref": "./examples/SensitivityLabelsRecommendedUpdate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}": { - "put": { - "tags": [ - "SqlPools, SensitivityLabels" - ], - "description": "Creates or updates the sensitivity label of a given column in a Sql pool", - "operationId": "SqlPoolSensitivityLabels_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - }, - { - "name": "tableName", - "in": "path", - "description": "The name of the table.", - "required": true, - "type": "string" - }, - { - "name": "columnName", - "in": "path", - "description": "The name of the column.", - "required": true, - "type": "string" - }, - { - "name": "sensitivityLabelSource", - "in": "path", - "description": "The source of the sensitivity label.", - "required": true, - "type": "string", - "enum": [ - "current" - ], - "x-ms-enum": { - "name": "WritableSensitivityLabelSource", - "modelAsString": false - } - }, - { - "name": "parameters", - "in": "body", - "description": "The column sensitivity label resource.", - "required": true, - "schema": { - "$ref": "#/definitions/SensitivityLabel" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated the sensitivity label.", - "schema": { - "$ref": "#/definitions/SensitivityLabel" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelSourceNameNotSupported - The specified sensitivity label source is not valid\n\n * 400 InvalidSensitivityLabelResource - The specified sensitivity label resource is not valid\n\n * 400 SensitivityLabelLabelNameAndInfoTypeNotProvided - At least one of LabelName and InformationType must be specified\n\n * 400 LabelNameTooLong - Label name cannot exceed {0} characters\n\n * 400 InformationTypeTooLong - Information type cannot exceed {0} characters\n\n * 400 LabelIdMustBeGuid - Label ID must be a GUID\n\n * 400 InformationTypeIdMustBeGuid - Information type ID must be a GUID\n\n * 400 LabelMissing - Label is missing\n\n * 400 InformationTypeMissing - Information Type is missing\n\n * 404 SensitivityLabelsColumnNotFound - The specified schema/table/column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SensitivityLabelsLabelNotFound - The specified sensitivity label could not be found\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet" - }, - "201": { - "description": "Successfully created the sensitivity label.", - "schema": { - "$ref": "#/definitions/SensitivityLabel" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Updates the sensitivity label of a given column with all parameters": { - "$ref": "./examples/CreateOrUpdateSqlPoolColumnSensitivityLabelWithAllParameters.json" - } - } - }, - "delete": { - "tags": [ - "SqlPools, SensitivityLabels" - ], - "description": "Deletes the sensitivity label of a given column in a Sql pool", - "operationId": "SqlPoolSensitivityLabels_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - }, - { - "name": "tableName", - "in": "path", - "description": "The name of the table.", - "required": true, - "type": "string" - }, - { - "name": "columnName", - "in": "path", - "description": "The name of the column.", - "required": true, - "type": "string" - }, - { - "name": "sensitivityLabelSource", - "in": "path", - "description": "The source of the sensitivity label.", - "required": true, - "type": "string", - "enum": [ - "current" - ], - "x-ms-enum": { - "name": "WritableSensitivityLabelSource", - "modelAsString": false - } - } - ], - "responses": { - "200": { - "description": "Successfully deleted the sensitivity label." - }, - "204": { - "description": "No content" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelSourceNameNotSupported - The specified sensitivity label source is not valid\n\n * 404 SensitivityLabelsColumnNotFound - The specified schema/table/column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SensitivityLabelsLabelNotFound - The specified sensitivity label could not be found\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Deletes the sensitivity label of a given column": { - "$ref": "./examples/DeleteSqlPoolColumnSensitivityLabel.json" - } - } - }, - "get": { - "tags": [ - "SqlPools, SensitivityLabels" - ], - "description": "Gets the sensitivity label of a given column", - "operationId": "SqlPoolSensitivityLabels_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - }, - { - "name": "tableName", - "in": "path", - "description": "The name of the table.", - "required": true, - "type": "string" - }, - { - "name": "columnName", - "in": "path", - "description": "The name of the column.", - "required": true, - "type": "string" - }, - { - "name": "sensitivityLabelSource", - "in": "path", - "description": "The source of the sensitivity label.", - "required": true, - "type": "string", - "enum": [ - "current", - "recommended" - ], - "x-ms-enum": { - "name": "SensitivityLabelSource", - "modelAsString": false - } - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the sensitivity label.", - "schema": { - "$ref": "#/definitions/SensitivityLabel" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 400 SensitivityLabelSourceNameNotSupported - The specified sensitivity label source is not valid\n\n * 404 SensitivityLabelsColumnNotFound - The specified schema/table/column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 SensitivityLabelsLabelNotFound - The specified sensitivity label could not be found\n\n * 501 SensitivityLabelRecommendedSourceNameNotSupported - 'Recommended' sensitivity label source is not supported yet" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Gets the sensitivity label of a given column": { - "$ref": "./examples/GetSqlPoolColumnSensitivityLabelGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/enable": { - "post": { - "tags": [ - "SensitivityLabels" - ], - "description": "Enables sensitivity recommendations on a given column (recommendations are enabled by default on all columns)", - "operationId": "SqlPoolSensitivityLabels_EnableRecommendation", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - }, - { - "name": "tableName", - "in": "path", - "description": "The name of the table.", - "required": true, - "type": "string" - }, - { - "name": "columnName", - "in": "path", - "description": "The name of the column.", - "required": true, - "type": "string" - }, - { - "name": "sensitivityLabelSource", - "in": "path", - "description": "The source of the sensitivity label.", - "required": true, - "type": "string", - "enum": [ - "recommended" - ], - "x-ms-enum": { - "name": "WritableSensitivityLabelSource", - "modelAsString": false - } - } - ], - "responses": { - "200": { - "description": "Successfully enabled the sensitivity recommendations on the given column." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 SensitivityLabelsColumnNotFound - The specified column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance." - } - }, - "x-ms-examples": { - "Enables sensitivity recommendations on a given column": { - "$ref": "./examples/RecommendedColumnSensitivityLabelEnable.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}/sensitivityLabels/{sensitivityLabelSource}/disable": { - "post": { - "tags": [ - "SensitivityLabels" - ], - "description": "Disables sensitivity recommendations on a given column", - "operationId": "SqlPoolSensitivityLabels_DisableRecommendation", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - }, - { - "name": "tableName", - "in": "path", - "description": "The name of the table.", - "required": true, - "type": "string" - }, - { - "name": "columnName", - "in": "path", - "description": "The name of the column.", - "required": true, - "type": "string" - }, - { - "name": "sensitivityLabelSource", - "in": "path", - "description": "The source of the sensitivity label.", - "required": true, - "type": "string", - "enum": [ - "recommended" - ], - "x-ms-enum": { - "name": "WritableSensitivityLabelSource", - "modelAsString": false - } - } - ], - "responses": { - "200": { - "description": "Successfully disabled the sensitivity recommendation on the given column." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 DatawarehouseDatabaseIsDeactivated - Could not execute Data Classification operation because the database is paused. Please resume it.\n\n * 404 SensitivityLabelsColumnNotFound - The specified column could not be found\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance." - } - }, - "x-ms-examples": { - "Disables sensitivity recommendations on a given column": { - "$ref": "./examples/RecommendedColumnSensitivityLabelDisable.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas": { - "get": { - "operationId": "SqlPoolSchemas_List", - "summary": "Gets schemas of a given SQL pool", - "description": "Gets schemas of a given SQL pool.", - "tags": [ - "SqlPools, Schemas" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "$filter", - "in": "query", - "description": "An OData filter expression that filters elements in the collection.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlPoolSchemaListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 InvalidDatabaseSchema - Schema is missing in database.\n\n * 404 InvalidDatabaseTable - Table is missing in database.\n\n * 404 InvalidDatabaseColumn - Column is missing in table." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-odata": "#/definitions/SqlPoolSchema", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List the schema in a SQL Analytics pool": { - "$ref": "./examples/ListSqlPoolSchema.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables": { - "get": { - "operationId": "SqlPoolTables_ListBySchema", - "summary": "Gets tables of a given schema in a SQL pool", - "description": "Gets tables of a given schema in a SQL pool.", - "tags": [ - "SqlPools, Tables" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An OData filter expression that filters elements in the collection.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlPoolTableListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 InvalidDatabaseSchema - Schema is missing in database.\n\n * 404 InvalidDatabaseTable - Table is missing in database.\n\n * 404 InvalidDatabaseColumn - Column is missing in table." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-odata": "#/definitions/SqlPoolTable", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List the tables of a given schema in a SQL Analytics pool": { - "$ref": "./examples/ListSqlPoolTables.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns": { - "get": { - "operationId": "SqlPoolTableColumns_ListByTableName", - "summary": "Gets columns in a given table in a SQL pool", - "description": "Gets columns in a given table in a SQL pool.", - "tags": [ - "SqlPools, Tables" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - }, - { - "name": "tableName", - "in": "path", - "description": "The name of the table.", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An OData filter expression that filters elements in the collection.", - "required": false, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlPoolColumnListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 InvalidDatabaseSchema - Schema is missing in database.\n\n * 404 InvalidDatabaseTable - Table is missing in database.\n\n * 404 InvalidDatabaseColumn - Column is missing in table." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-odata": "#/definitions/SqlPoolColumn", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List the columns in a table of a given schema in a SQL Analytics pool": { - "$ref": "./examples/ListSqlPoolColumns.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/connectionPolicies/{connectionPolicyName}": { - "get": { - "operationId": "SqlPoolConnectionPolicies_Get", - "summary": "Get a Sql pool's connection policy, which is used with table auditing", - "description": "Get a Sql pool's connection policy, which is used with table auditing.", - "tags": [ - "SqlPools, ConnectionPolicies" - ], - "deprecated": true, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "connectionPolicyName", - "in": "path", - "description": "The name of the connection policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "ConnectionPolicyName", - "modelAsString": true - }, - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlPoolConnectionPolicy" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a connection policy of a SQL Analytics pool": { - "$ref": "./examples/GetSqlPoolConnectionPolicy.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments": { - "get": { - "operationId": "SqlPoolVulnerabilityAssessments_List", - "summary": "Lists the vulnerability assessment policies associated with a SQL pool", - "description": "Lists the vulnerability assessment policies associated with a SQL pool.", - "tags": [ - "SqlPools, Schemas" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 400 VulnerabilityAssessmentInvalidPolicy - Vulnerability Assessment settings don't exist or invalid storage specified in settings. \n\n * 400 DatabaseVulnerabilityAssessmentMissingStorageContainerPath - Storage container path must be provided if it isn't set in server level policy\n\n * 400 VulnerabilityAssessmentDatawarehouseDatabaseIsDeactivated - Could not execute Vulnerability Assessment operation because the database is paused. Please resume it.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 409 DatabaseVulnerabilityAssessmentScanIsAlreadyInProgress - Vulnerability Assessment scan is already in progress.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get a vulnerability assessment of a SQL Analytics pool": { - "$ref": "./examples/ListSqlPoolVulnerabilityAssessments.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans": { - "get": { - "operationId": "SqlPoolVulnerabilityAssessmentScans_List", - "summary": "Lists the vulnerability assessment scans of a SQL pool", - "description": "Lists the vulnerability assessment scans of a SQL pool.", - "tags": [ - "SqlPools, Schemas" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VulnerabilityAssessmentScanRecordListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 400 VulnerabilityAssessmentInvalidPolicy - Vulnerability Assessment settings don't exist or invalid storage specified in settings. \n\n * 400 DatabaseVulnerabilityAssessmentMissingStorageContainerPath - Storage container path must be provided if it isn't set in server level policy\n\n * 400 VulnerabilityAssessmentDatawarehouseDatabaseIsDeactivated - Could not execute Vulnerability Assessment operation because the database is paused. Please resume it.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 409 DatabaseVulnerabilityAssessmentScanIsAlreadyInProgress - Vulnerability Assessment scan is already in progress.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get a vulnerability scan record of a SQL Analytics pool": { - "$ref": "./examples/ListSqlPoolVulnerabilityAssessmentScanRecords.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}/initiateScan": { - "post": { - "tags": [ - "SqlPools, VulnerabilityAssessmentScansExecute" - ], - "description": "Executes a Vulnerability Assessment database scan.", - "operationId": "SqlPoolVulnerabilityAssessmentScans_InitiateScan", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - }, - { - "name": "scanId", - "in": "path", - "description": "The vulnerability assessment scan Id of the scan to retrieve.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully executed a Vulnerability Assessment scan." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidVulnerabilityAssessmentOperationRequest - The vulnerability assessment operation request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 InvalidVulnerabilityAssessmentScanIdLength - The vulnerability assessment scan ID length must be below {0} characters.\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 400 VulnerabilityAssessmentInvalidPolicy - Vulnerability Assessment settings don't exist or invalid storage specified in settings. \n\n * 400 DatabaseVulnerabilityAssessmentMissingStorageContainerPath - Storage container path must be provided if it isn't set in server level policy\n\n * 400 VulnerabilityAssessmentDatawarehouseDatabaseIsDeactivated - Could not execute Vulnerability Assessment operation because the database is paused. Please resume it.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 409 DatabaseVulnerabilityAssessmentScanIsAlreadyInProgress - Vulnerability Assessment scan is already in progress.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - }, - "202": { - "description": "Successfully started a Vulnerability Assessment scan." - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Executes a Sql pool's vulnerability assessment scan.": { - "$ref": "./examples/ExecuteSqlPoolVulnerabilityAssessmentScans.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}/export": { - "post": { - "tags": [ - "SqlPools, VulnerabilityAssessmentScansExport" - ], - "description": "Convert an existing scan result to a human readable format. If already exists nothing happens", - "operationId": "SqlPoolVulnerabilityAssessmentScans_Export", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - }, - { - "name": "scanId", - "in": "path", - "description": "The vulnerability assessment scan Id of the scan to retrieve.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Scan result was converted successfully.", - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentScansExport" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 400 VulnerabilityAssessmentInvalidPolicy - Vulnerability Assessment settings don't exist or invalid storage specified in settings. \n\n * 400 DatabaseVulnerabilityAssessmentMissingStorageContainerPath - Storage container path must be provided if it isn't set in server level policy\n\n * 400 VulnerabilityAssessmentDatawarehouseDatabaseIsDeactivated - Could not execute Vulnerability Assessment operation because the database is paused. Please resume it.\n\n * 400 InvalidVulnerabilityAssessmentOperationRequest - The vulnerability assessment operation request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 409 DatabaseVulnerabilityAssessmentScanIsAlreadyInProgress - Vulnerability Assessment scan is already in progress.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - }, - "201": { - "description": "Scan result was converted successfully.", - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentScansExport" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Export a database's vulnerability assessment scan results.": { - "$ref": "./examples/ExportSqlPoolVulnerabilityAssessmentScan.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/securityAlertPolicies": { - "get": { - "operationId": "SqlPoolSecurityAlertPolicies_List", - "summary": "List Sql pool's security alert policies", - "description": "Get a list of Sql pool's security alert policies.", - "tags": [ - "SqlPools, SecurityAlertPolicies" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ListSqlPoolSecurityAlertPolicies" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidServerSecurityAlertPolicyCreateRequest - The create server Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 ServerSecurityAlertPolicyInProgress - Set server security alert policy is already in progress\n\n * 409 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetServerSecurityAlertPolicyFailed - Failed to get Threat Detection settings" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a security alert of a SQL Analytics pool": { - "$ref": "./examples/SqlPoolSecurityAlertPolicies_List.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/securityAlertPolicies/{securityAlertPolicyName}": { - "get": { - "operationId": "SqlPoolSecurityAlertPolicies_Get", - "summary": "Get a Sql pool's security alert policy", - "description": "Get a Sql pool's security alert policy.", - "tags": [ - "SqlPools, SecurityAlertPolicies" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "securityAlertPolicyName", - "in": "path", - "description": "The name of the security alert policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "SecurityAlertPolicyName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SqlPoolSecurityAlertPolicy" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidDatabaseSecurityAlertPolicyCreateRequest - The create database Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 DatabaseSecurityAlertPolicyInProgress - Set database security alert policy is already in progress\n\n * 409 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetDatabaseSecurityAlertPolicyFailed - Failed to get Threat Detection settings" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a security alert of a SQL Analytics pool": { - "$ref": "./examples/GetSqlPoolSecurityAlert.json" - } - } - }, - "put": { - "operationId": "SqlPoolSecurityAlertPolicies_CreateOrUpdate", - "summary": "Create or update a Sql pool's security alert policy", - "description": "Create or update a Sql pool's security alert policy.", - "tags": [ - "SqlPools, SecurityAlertPolicies" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "securityAlertPolicyName", - "in": "path", - "description": "The name of the security alert policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "SecurityAlertPolicyName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "description": "The Sql pool security alert policy.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlPoolSecurityAlertPolicy" - } - } - ], - "responses": { - "200": { - "description": "Successfully set the Sql pool security alert policy", - "schema": { - "$ref": "#/definitions/SqlPoolSecurityAlertPolicy" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidDatabaseSecurityAlertPolicyCreateRequest - The create database Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 DatabaseSecurityAlertPolicyInProgress - Set database security alert policy is already in progress\n\n * 409 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertDatabaseSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetDatabaseSecurityAlertPolicyFailed - Failed to get Threat Detection settings" - }, - "201": { - "description": "Successfully created the Sql pool security alert policy.", - "schema": { - "$ref": "#/definitions/SqlPoolSecurityAlertPolicy" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Update a Sql pool's threat detection policy with minimal parameters": { - "$ref": "./examples/CreateOrUpdateSqlPoolSecurityAlertWithMinParameters.json" - }, - "Update a Sql pool's threat detection policy with all parameters": { - "$ref": "./examples/CreateOrUpdateSqlPoolSecurityAlertWithAllParameters.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/rules/{ruleId}/baselines/{baselineName}": { - "put": { - "tags": [ - "SqlPools, DatabaseVulnerabilityAssesmentRuleBaselines" - ], - "description": "Creates or updates a Sql pool's vulnerability assessment rule baseline.", - "operationId": "SqlPoolVulnerabilityAssessmentRuleBaselines_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - }, - { - "name": "ruleId", - "in": "path", - "description": "The vulnerability assessment rule ID.", - "required": true, - "type": "string" - }, - { - "name": "baselineName", - "in": "path", - "description": "The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for workspace level rule).", - "required": true, - "type": "string", - "enum": [ - "master", - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentPolicyBaselineName", - "modelAsString": false - } - }, - { - "name": "parameters", - "in": "body", - "description": "The requested rule baseline resource.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentRuleBaseline" - } - } - ], - "responses": { - "200": { - "description": "Successfully set the vulnerability assessment rule baseline.", - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentRuleBaseline" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 VulnerabilityAssessmentStorageAuthenticationFailed - Could not authenticate to storage account '{0}' .\n\n * 400 VulnerabilityAssessmentInvalidPolicy - Vulnerability Assessment settings don't exist or invalid storage specified in settings. \n\n * 400 VulnerabilityAssessmentDatawarehouseDatabaseIsDeactivated - Could not execute Vulnerability Assessment operation because the database is paused. Please resume it.\n\n * 400 InvalidVulnerabilityAssessmentOperationRequest - The vulnerability assessment operation request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 404 VulnerabilityAssessmentInvalidStorageAccount - The storage account '{0}' that was defined in the policy is invalid.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 VulnerabilityAssessmentRuleDoesNotExists - Rule '{0}' does not exist.\n\n * 404 VulnerabilityAssessmentBaselineDoesNotExists - Baseline does not exist for rule '{0}'\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Creates or updates a database's vulnerability assessment rule baseline.": { - "$ref": "./examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentRuleBaseline.json" - } - } - }, - "delete": { - "tags": [ - "DatabaseVulnerabilityAssesmentRuleBaselines" - ], - "description": "Removes the database's vulnerability assessment rule baseline.", - "operationId": "SqlPoolVulnerabilityAssessmentRuleBaselines_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - }, - { - "name": "ruleId", - "in": "path", - "description": "The vulnerability assessment rule ID.", - "required": true, - "type": "string" - }, - { - "name": "baselineName", - "in": "path", - "description": "The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for workspace level rule).", - "required": true, - "type": "string", - "enum": [ - "master", - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentPolicyBaselineName", - "modelAsString": false - } - } - ], - "responses": { - "200": { - "description": "Successfully removed the database vulnerability assessment rule baseline." - }, - "204": { - "description": "No content" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 VulnerabilityAssessmentStorageAuthenticationFailed - Could not authenticate to storage account '{0}' .\n\n * 400 VulnerabilityAssessmentInvalidPolicy - Vulnerability Assessment settings don't exist or invalid storage specified in settings. \n\n * 400 VulnerabilityAssessmentDatawarehouseDatabaseIsDeactivated - Could not execute Vulnerability Assessment operation because the database is paused. Please resume it.\n\n * 400 InvalidVulnerabilityAssessmentOperationRequest - The vulnerability assessment operation request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 404 VulnerabilityAssessmentInvalidStorageAccount - The storage account '{0}' that was defined in the policy is invalid.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 VulnerabilityAssessmentRuleDoesNotExists - Rule '{0}' does not exist.\n\n * 404 VulnerabilityAssessmentBaselineDoesNotExists - Baseline does not exist for rule '{0}'\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "x-ms-examples": { - "Removes a database's vulnerability assessment rule baseline.": { - "$ref": "./examples/DeleteSqlPoolVulnerabilityAssessmentRuleBaseline.json" - } - } - }, - "get": { - "tags": [ - "SqlPools, SqlPoolVulnerabilityAssesmentRuleBaselines" - ], - "description": "Gets a SqlPool's vulnerability assessment rule baseline.", - "operationId": "SqlPoolVulnerabilityAssessmentRuleBaselines_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - }, - { - "name": "ruleId", - "in": "path", - "description": "The vulnerability assessment rule ID.", - "required": true, - "type": "string" - }, - { - "name": "baselineName", - "in": "path", - "description": "The name of the vulnerability assessment rule baseline (default implies a baseline on a Sql pool level rule and master for server level rule).", - "required": true, - "type": "string", - "enum": [ - "master", - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentPolicyBaselineName", - "modelAsString": false - } - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Successfully got the vulnerability assessment rule baseline.", - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentRuleBaseline" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 VulnerabilityAssessmentStorageAuthenticationFailed - Could not authenticate to storage account '{0}' .\n\n * 400 VulnerabilityAssessmentInvalidPolicy - Vulnerability Assessment settings don't exist or invalid storage specified in settings. \n\n * 400 VulnerabilityAssessmentDatawarehouseDatabaseIsDeactivated - Could not execute Vulnerability Assessment operation because the database is paused. Please resume it.\n\n * 400 InvalidVulnerabilityAssessmentOperationRequest - The vulnerability assessment operation request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 404 VulnerabilityAssessmentInvalidStorageAccount - The storage account '{0}' that was defined in the policy is invalid.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 VulnerabilityAssessmentRuleDoesNotExists - Rule '{0}' does not exist.\n\n * 404 VulnerabilityAssessmentBaselineDoesNotExists - Baseline does not exist for rule '{0}'\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "x-ms-examples": { - "Gets a Sql pool's vulnerability assessment rule baseline.": { - "$ref": "./examples/SqlPoolVulnerabilityAssessmentRuleBaselineGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}": { - "get": { - "tags": [ - "SqlPools, VulnerabilityAssessments" - ], - "summary": "Gets the Sql pool's vulnerability assessment", - "description": "Gets the Sql pool's vulnerability assessment.", - "operationId": "SqlPoolVulnerabilityAssessments_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the Sql pool vulnerability assessment.", - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessment" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 400 DatabaseVulnerabilityAssessmentMissingStorageContainerPath - Storage container path must be provided if it isn't set in server level policy\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a Sql pool's vulnerability assessment": { - "$ref": "./examples/GetSqlPoolVulnerabilityAssessment.json" - } - } - }, - "put": { - "tags": [ - "SqlPools, VulnerabilityAssessments" - ], - "summary": "Creates or updates the Sql pool vulnerability assessment", - "description": "Creates or updates the Sql pool vulnerability assessment.", - "operationId": "SqlPoolVulnerabilityAssessments_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "description": "The requested resource.", - "required": true, - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessment" - } - } - ], - "responses": { - "200": { - "description": "Successfully set the Sql pool vulnerability assessment.", - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessment" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 400 DatabaseVulnerabilityAssessmentMissingStorageContainerPath - Storage container path must be provided if it isn't set in server level policy\n\n * 400 InvalidVulnerabilityAssessmentOperationRequest - The vulnerability assessment operation request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - }, - "201": { - "description": "Successfully created the vulnerability assessment.", - "schema": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessment" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create a database's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified": { - "$ref": "./examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithContainerSasKeyAndMinParameters.json" - }, - "Create a database's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified": { - "$ref": "./examples/CreateOrUpdateVulnerabilityAssessmentWithStorageAccessKeyAndMinParameters.json" - }, - "Create a database's vulnerability assessment with all parameters": { - "$ref": "./examples/CreateOrUpdateSqlPoolVulnerabilityAssessmentWithAllParameters.json" - } - } - }, - "delete": { - "tags": [ - "SqlPools, VulnerabilityAssessments" - ], - "summary": "Removes the database's vulnerability assessment", - "description": "Removes the database's vulnerability assessment.", - "operationId": "SqlPoolVulnerabilityAssessments_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successfully removed the Sql pool vulnerability assessment." - }, - "204": { - "description": "No content" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 400 DatabaseVulnerabilityAssessmentMissingStorageContainerPath - Storage container path must be provided if it isn't set in server level policy\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Remove a database's vulnerability assessment": { - "$ref": "./examples/DeleteSqlPoolVulnerabilityAssessment.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/extendedAuditingSettings/{blobAuditingPolicyName}": { - "get": { - "tags": [ - "SqlPools, BlobAuditing" - ], - "description": "Gets an extended Sql pool's blob auditing policy.", - "operationId": "ExtendedSqlPoolBlobAuditingPolicies_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "blobAuditingPolicyName", - "in": "path", - "description": "The name of the blob auditing policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobAuditingPolicyName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the extended Sql pool blob auditing policy.", - "schema": { - "$ref": "#/definitions/ExtendedSqlPoolBlobAuditingPolicy" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 BlobAuditingIsNotSupportedOnResourceType - Blob Auditing is currently not supported for this resource type.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get an extended database's blob auditing policy": { - "$ref": "./examples/ExtendedSqlPoolBlobAuditingGet.json" - } - } - }, - "put": { - "tags": [ - "SqlPools, BlobAuditing" - ], - "description": "Creates or updates an extended Sql pool's blob auditing policy.", - "operationId": "ExtendedSqlPoolBlobAuditingPolicies_CreateOrUpdate", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "blobAuditingPolicyName", - "in": "path", - "description": "The name of the blob auditing policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobAuditingPolicyName", - "modelAsString": false - }, - "x-ms-parameter-location": "method" - }, - { - "name": "parameters", - "in": "body", - "description": "The extended Sql pool blob auditing policy.", - "required": true, - "schema": { - "$ref": "#/definitions/ExtendedSqlPoolBlobAuditingPolicy" - } - } - ], - "responses": { - "200": { - "description": "Successfully set the extended Sql pool blob auditing policy.", - "schema": { - "$ref": "#/definitions/ExtendedSqlPoolBlobAuditingPolicy" - } - }, - "201": { - "description": "Successfully created the extended database blob auditing policy.", - "schema": { - "$ref": "#/definitions/ExtendedSqlPoolBlobAuditingPolicy" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 BlobAuditingIsNotSupportedOnResourceType - Blob Auditing is currently not supported for this resource type.\n\n * 400 BlobAuditingPredicateExpressionSyntaxError - Invalid value of parameter 'predicateExpression'.\n\n * 400 InvalidDatabaseBlobAuditingPolicyCreateRequest - The create database blob auditing policy request does not exist or has no properties object.\n\n * 400 InvalidBlobAuditActionsAndGroups - Invalid audit actions or action groups.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 BlobAuditingPredicateExpressionEmpty - Invalid parameter 'predicateExpression', value can not be empty.\n\n * 400 BlobAuditingInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 UpdateNotAllowedOnPausedDatabase - User attempted to perform an update on a paused database.\n\n * 400 BlobAuditingInvalidStorageAccountCredentials - The provided storage account or access key is not valid.\n\n * 400 BlobAuditingIsNotSupportedOnGeoDr - Blob auditing can be configured on primary databases only.\n\n * 400 BlobAuditingNoServerIdentity - The server identity is not correctly configured.\n\n * 400 InvalidBlobAuditActionsAndGroupsForDW - Unsupported audit actions or action groups for DW.\n\n * 400 BlobAuditingInsufficientStorageAccountPermissions - Insufficient read or write permissions on the provided storage account.\n\n * 400 BlobAuditingStorageAccountIsDisabled - The provided storage account is disabled.\n\n * 400 InsufficientDiskSpaceForAuditing - Insufficient disk space to save auditing metadata in the database\n\n * 400 InvalidBlobAuditActions - Invalid audit action\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or update an extended Sql pool's blob auditing policy with minimal parameters": { - "$ref": "./examples/ExtendedSqlPoolBlobAuditingCreateMin.json" - }, - "Create or update an extended Sql pool's blob auditing policy with all parameters": { - "$ref": "./examples/ExtendedSqlPoolBlobAuditingCreateMax.json" - }, - "Create or update an extended SQL pool's azure monitor auditing policy with minimal parameters": { - "$ref": "./examples/ExtendedSqlPoolAzureMonitorAuditingCreateMin.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/extendedAuditingSettings": { - "get": { - "tags": [ - "SqlPools,BlobAuditing" - ], - "description": "Lists extended auditing settings of a Sql pool.", - "operationId": "ExtendedSqlPoolBlobAuditingPolicies_ListBySqlPool", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the database extended auditing settings.", - "schema": { - "$ref": "#/definitions/ExtendedSqlPoolBlobAuditingPolicyListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 BlobAuditingIsNotSupportedOnResourceType - Blob Auditing is currently not supported for this resource type.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List extended auditing settings of a database": { - "$ref": "./examples/SqlPoolExtendedAuditingSettingsList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataMaskingPolicies/{dataMaskingPolicyName}": { - "put": { - "tags": [ - "SqlPools, DataMaskingPolicies" - ], - "operationId": "DataMaskingPolicies_CreateOrUpdate", - "description": "Creates or updates a Sql pool data masking policy", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "$ref": "#/parameters/DataMaskingPolicyNameParameter" - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataMaskingPolicy" - }, - "description": "Parameters for creating or updating a data masking policy." - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or update data masking policy max": { - "$ref": "./examples/DataMaskingPolicyCreateOrUpdateMax.json" - }, - "Create or update data masking policy min": { - "$ref": "./examples/DataMaskingPolicyCreateOrUpdateMin.json" - } - }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataMaskingPolicy" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "SqlPools, DataMaskingPolicies" - ], - "operationId": "DataMaskingPolicies_Get", - "description": "Gets a Sql pool data masking policy.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "$ref": "#/parameters/DataMaskingPolicyNameParameter" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get data masking policy": { - "$ref": "./examples/DataMaskingPolicyGet.json" - } - }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataMaskingPolicy" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules/{dataMaskingRuleName}": { - "put": { - "tags": [ - "SqlPools, DataMaskingRules" - ], - "operationId": "DataMaskingRules_CreateOrUpdate", - "description": "Creates or updates a Sql pool data masking rule.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "$ref": "#/parameters/DataMaskingPolicyNameParameter" - }, - { - "name": "dataMaskingRuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the data masking rule." - }, - { - "name": "parameters", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/DataMaskingRule" - }, - "description": "The required parameters for creating or updating a data masking rule." - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create/Update data masking rule for text": { - "$ref": "./examples/DataMaskingRuleCreateOrUpdateText.json" - }, - "Create/Update data masking rule for numbers": { - "$ref": "./examples/DataMaskingRuleCreateOrUpdateNumber.json" - }, - "Create/Update data masking rule for default min": { - "$ref": "./examples/DataMaskingRuleCreateOrUpdateDefaultMin.json" - }, - "Create/Update data masking rule for default max": { - "$ref": "./examples/DataMaskingRuleCreateOrUpdateDefaultMax.json" - } - }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataMaskingRule" - } - }, - "201": { - "description": "Created", - "schema": { - "$ref": "#/definitions/DataMaskingRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "SqlPools, DataMaskingRules" - ], - "operationId": "DataMaskingRules_Get", - "description": "Gets the specific Sql pool data masking rule.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "$ref": "#/parameters/DataMaskingPolicyNameParameter" - }, - { - "name": "dataMaskingRuleName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the data masking rule." - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get data masking rule": { - "$ref": "./examples/DataMaskingRuleGet.json" - } - }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataMaskingRule" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/dataMaskingPolicies/{dataMaskingPolicyName}/rules": { - "get": { - "tags": [ - "SqlPools, DataMaskingRules" - ], - "operationId": "DataMaskingRules_ListBySqlPool", - "description": "Gets a list of Sql pool data masking rules.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "$ref": "#/parameters/DataMaskingPolicyNameParameter" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "List data masking rules": { - "$ref": "./examples/DataMaskingRuleList.json" - } - }, - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataMaskingRuleListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/auditingSettings": { - "get": { - "tags": [ - "SqlPools, BlobAuditing" - ], - "description": "Lists auditing settings of a Sql pool.", - "operationId": "SqlPoolBlobAuditingPolicies_ListBySqlPool", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Successfully retrieved Sql pool auditing settings.", - "schema": { - "$ref": "#/definitions/SqlPoolBlobAuditingPolicyListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 BlobAuditingIsNotSupportedOnResourceType - Blob Auditing is currently not supported for this resource type.\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List audit settings of a database": { - "$ref": "./examples/SqlPoolAuditingSettingsList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}": { - "get": { - "tags": [ - "SqlPools, SqlPoolSchemas" - ], - "description": "Get Sql Pool schema", - "operationId": "SqlPoolSchemas_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Successfully retrieved Sql Pool schema.", - "schema": { - "$ref": "#/definitions/SqlPoolSchema" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 InvalidDatabaseSchema - Schema is missing in database.\n\n * 404 InvalidDatabaseTable - Table is missing in database.\n\n * 404 InvalidDatabaseColumn - Column is missing in table." - } - }, - "x-ms-examples": { - "Get database schema": { - "$ref": "./examples/SqlPoolSchemaGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}": { - "get": { - "tags": [ - "SqlPools, SqlPoolTables" - ], - "description": "Get Sql pool table", - "operationId": "SqlPoolTables_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - }, - { - "name": "tableName", - "in": "path", - "description": "The name of the table.", - "required": true, - "type": "string" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Successfully retrieved Sql pool's table.", - "schema": { - "$ref": "#/definitions/SqlPoolTable" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 InvalidDatabaseSchema - Schema is missing in database.\n\n * 404 InvalidDatabaseTable - Table is missing in database.\n\n * 404 InvalidDatabaseColumn - Column is missing in table." - } - }, - "x-ms-examples": { - "Get database table": { - "$ref": "./examples/SqlPoolTableGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/schemas/{schemaName}/tables/{tableName}/columns/{columnName}": { - "get": { - "tags": [ - "SqlPools, SqlPoolColumns" - ], - "description": "Get Sql pool column", - "operationId": "SqlPoolColumns_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "schemaName", - "in": "path", - "description": "The name of the schema.", - "required": true, - "type": "string" - }, - { - "name": "tableName", - "in": "path", - "description": "The name of the table.", - "required": true, - "type": "string" - }, - { - "name": "columnName", - "in": "path", - "description": "The name of the column.", - "required": true, - "type": "string" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Successfully retrieved Sql pool column.", - "schema": { - "$ref": "#/definitions/SqlPoolColumn" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 InvalidDatabaseSchema - Schema is missing in database.\n\n * 404 InvalidDatabaseTable - Table is missing in database.\n\n * 404 InvalidDatabaseColumn - Column is missing in table." - } - }, - "x-ms-examples": { - "Get database column": { - "$ref": "./examples/SqlPoolColumnGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}": { - "get": { - "tags": [ - "SqlPools,SqlPoolVulnerabilityAssessmentScans" - ], - "description": "Gets a vulnerability assessment scan record of a Sql pool.", - "operationId": "SqlPoolVulnerabilityAssessmentScans_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - }, - { - "name": "scanId", - "in": "path", - "description": "The vulnerability assessment scan Id of the scan to retrieve.", - "required": true, - "type": "string" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Successfully retrieved the Sql pool vulnerability assessment scan record.", - "schema": { - "$ref": "#/definitions/VulnerabilityAssessmentScanRecord" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 400 VulnerabilityAssessmentInvalidPolicy - Vulnerability Assessment settings don't exist or invalid storage specified in settings. \n\n * 400 DatabaseVulnerabilityAssessmentMissingStorageContainerPath - Storage container path must be provided if it isn't set in server level policy\n\n * 400 VulnerabilityAssessmentDatawarehouseDatabaseIsDeactivated - Could not execute Vulnerability Assessment operation because the database is paused. Please resume it.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 SourceDatabaseNotFound - The source database does not exist.\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 409 DatabaseVulnerabilityAssessmentScanIsAlreadyInProgress - Vulnerability Assessment scan is already in progress.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later." - } - }, - "x-ms-examples": { - "Gets a database vulnerability assessment scan record by scan ID": { - "$ref": "./examples/SqlPoolVulnerabilityAssessmentScanRecordsGet.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/restorePoints/{restorePointName}": { - "get": { - "tags": [ - "SqlPools, RestorePoints" - ], - "description": "Gets a restore point.", - "operationId": "SqlPoolRestorePoints_Get", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "restorePointName", - "in": "path", - "description": "The name of the restore point.", - "required": true, - "type": "string" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Successfully returned the restore point.", - "schema": { - "$ref": "#/definitions/RestorePoint" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 BackupNotAllowedOnDeactivatedDatabase - Cannot create restore point on a deactivated database.\n\n * 400 RestorePointLimitReached - A restore point cannot be created because database would exceed the allowed quota of restore points.\n\n * 400 RestorePointAttemptToDeleteSystemBackup - Cannot delete system restore point.\n\n * 404 DatabaseRestorePointNotFound - Can not find database restore point.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 408 DatabaseRestorePointTimedOut - Create database restore point failed." - } - }, - "x-ms-examples": { - "Gets a Sql pool restore point.": { - "$ref": "./examples/SqlPoolRestorePointsGet.json" - } - } - }, - "delete": { - "tags": [ - "SqlPools, RestorePoints" - ], - "description": "Deletes a restore point.", - "operationId": "SqlPoolRestorePoints_Delete", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "restorePointName", - "in": "path", - "description": "The name of the restore point.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the restore point." - }, - "204": { - "description": "The specified restore point does not exist." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 BackupNotAllowedOnDeactivatedDatabase - Cannot create restore point on a deactivated database.\n\n * 400 RestorePointLimitReached - A restore point cannot be created because database would exceed the allowed quota of restore points.\n\n * 400 RestorePointAttemptToDeleteSystemBackup - Cannot delete system restore point.\n\n * 404 DatabaseRestorePointNotFound - Can not find database restore point.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 408 DatabaseRestorePointTimedOut - Create database restore point failed." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Deletes a restore point.": { - "$ref": "./examples/SqlPoolRestorePointsDelete.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}": { - "get": { - "operationId": "SqlPoolWorkloadGroup_Get", - "summary": "Sql pool's workload group", - "description": "Get a Sql pool's workload group.", - "tags": [ - "SqlPools, WorkloadGroups" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "workloadGroupName", - "in": "path", - "description": "The name of the workload group.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the specifies workload group.", - "schema": { - "$ref": "#/definitions/WorkloadGroup" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OperationNotAllowedOnPausedDatabase - Operation is not allowed on a paused database.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a a workload group of a SQL Analytics pool": { - "$ref": "./examples/GetSqlPoolWorkloadGroup.json" - } - } - }, - "put": { - "operationId": "SqlPoolWorkloadGroup_CreateOrUpdate", - "summary": "Create Or Update workload group", - "description": "Create Or Update a Sql pool's workload group.", - "tags": [ - "SqlPools, WorkloadGroups" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "workloadGroupName", - "in": "path", - "description": "The name of the workload group.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "The requested workload group state.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadGroup" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated the workload group.", - "schema": { - "$ref": "#/definitions/WorkloadGroup" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OperationNotAllowedOnPausedDatabase - Operation is not allowed on a paused database.\n\n * 400 InvalidWorkloadGroupNameParameter - Invalid workload group name\n\n * 400 InvalidMinResourcePercentParameter - Invalid min resource percent for this workload group.\n\n * 400 InvalidMinResourcePercentPerRequestParameter - Invalid min resource percent per query for this workload group.\n\n * 400 InvalidMaxResourcePercentParameter - Invalid max resource percent to allocate for this workload group.\n\n * 400 InvalidMaxResourcePercentPerRequestParameter - Invalid max resource percent per query for this workload group.\n\n * 400 InvalidImportanceParameter - Importance must be one of the following strings: Low, Below_Normal, Normal, Above_Normal, High.\n\n * 400 InvalidQueryExecutionTimeoutParameter - Invalid query execution timeout value for this workload group.\n\n * 400 InvalidResourceRequestBody - The resource or resource properties in the request body is empty or invalid.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." - }, - "202": { - "description": "Create or update for the workload group accepted." - }, - "201": { - "description": "Successfully created the workload group.", - "schema": { - "$ref": "#/definitions/WorkloadGroup" - } - } - }, - "x-ms-long-running-operation": true, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create a workload group with the required properties specified.": { - "$ref": "./examples/CreateOrUpdateSqlPoolWorkloadGroupMin.json" - }, - "Create a workload group with all properties specified.": { - "$ref": "./examples/CreateOrUpdateSqlPoolWorkloadGroupMax.json" - } - } - }, - "delete": { - "operationId": "SqlPoolWorkloadGroup_Delete", - "summary": "Remove workload group", - "description": "Remove Sql pool's workload group.", - "tags": [ - "SqlPools, WorkloadGroups" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "workloadGroupName", - "in": "path", - "description": "The name of the workload group.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the workload group." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OperationNotAllowedOnPausedDatabase - Operation is not allowed on a paused database.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." - }, - "202": { - "description": "Deleting the workload group is in progress." - }, - "204": { - "description": "The specified workload group does not exist." - } - }, - "x-ms-long-running-operation": true, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Delete a workload group of a SQL Analytics pool": { - "$ref": "./examples/DeleteSqlPoolWorkloadGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups": { - "get": { - "operationId": "SqlPoolWorkloadGroup_List", - "summary": "Sql pool's workload groups", - "description": "Get list of Sql pool's workload groups.", - "tags": [ - "SqlPools, WorkloadGroups" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of workload groups.", - "schema": { - "$ref": "#/definitions/WorkloadGroupListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OperationNotAllowedOnPausedDatabase - Operation is not allowed on a paused database.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get the list of workload groups of a SQL Analytics pool": { - "$ref": "./examples/GetSqlPoolWorkloadGroupList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers/{workloadClassifierName}": { - "get": { - "operationId": "SqlPoolWorkloadClassifier_Get", - "summary": "Get workload classifier", - "description": "Get a workload classifier of Sql pool's workload group.", - "tags": [ - "SqlPools, WorkloadClassifiers" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "workloadGroupName", - "in": "path", - "description": "The name of the workload group.", - "required": true, - "type": "string" - }, - { - "name": "workloadClassifierName", - "in": "path", - "description": "The name of the workload classifier.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the specifies workload classifier.", - "schema": { - "$ref": "#/definitions/WorkloadClassifier" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OperationNotAllowedOnPausedDatabase - Operation is not allowed on a paused database.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a workload classifier for SQL Analytics pool's workload group": { - "$ref": "./examples/GetSqlPoolWorkloadGroupWorkloadClassifier.json" - } - } - }, - "put": { - "operationId": "SqlPoolWorkloadClassifier_CreateOrUpdate", - "summary": "Create Or Update workload classifier", - "description": "Create Or Update workload classifier for a Sql pool's workload group.", - "tags": [ - "SqlPools, WorkloadClassifiers" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "workloadGroupName", - "in": "path", - "description": "The name of the workload group.", - "required": true, - "type": "string" - }, - { - "name": "workloadClassifierName", - "in": "path", - "description": "The name of the workload classifier.", - "required": true, - "type": "string" - }, - { - "name": "parameters", - "in": "body", - "description": "The properties of the workload classifier.", - "required": true, - "schema": { - "$ref": "#/definitions/WorkloadClassifier" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated the workload classifier.", - "schema": { - "$ref": "#/definitions/WorkloadClassifier" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OperationNotAllowedOnPausedDatabase - Operation is not allowed on a paused database.\n\n * 400 InvalidMemberNameParameter - Invalid member name parameter for this workload classifier.\n\n * 400 InvalidStartTimeAndEndTimeParameters - Invalid start time and end time parameters for the workload classifier.\n\n * 400 InvalidImportanceParameter - Importance must be one of the following strings: Low, Below_Normal, Normal, Above_Normal, High.\n\n * 400 InvalidResourceRequestBody - The resource or resource properties in the request body is empty or invalid.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." - }, - "202": { - "description": "Create or update for the workload classifier is in progress." - }, - "201": { - "description": "Successfully created the workload classifier.", - "schema": { - "$ref": "#/definitions/WorkloadClassifier" - } - } - }, - "x-ms-long-running-operation": true, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create a workload classifier with the required properties specified.": { - "$ref": "./examples/CreateOrUpdateSqlPoolWorkloadClassifierMin.json" - }, - "Create a workload classifier with all properties specified.": { - "$ref": "./examples/CreateOrUpdateSqlPoolWorkloadClassifierMax.json" - } - } - }, - "delete": { - "operationId": "SqlPoolWorkloadClassifier_Delete", - "summary": "Remove workload classifier", - "description": "Remove workload classifier of a Sql pool's workload group.", - "tags": [ - "SqlPools, WorkloadClassifiers" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "workloadGroupName", - "in": "path", - "description": "The name of the workload group.", - "required": true, - "type": "string" - }, - { - "name": "workloadClassifierName", - "in": "path", - "description": "The name of the workload classifier.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully deleted the workload classifier." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OperationNotAllowedOnPausedDatabase - Operation is not allowed on a paused database.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 OperationIdNotFound - The operation with Id does not exist.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 409 OperationCancelled - The operation has been cancelled by user.\n\n * 409 OperationInterrupted - The operation on the resource could not be completed because it was interrupted by another operation on the same resource.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 OperationTimedOut - The operation timed out and automatically rolled back. Please retry the operation.\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." - }, - "202": { - "description": "Deleting the workload classifier is in progress." - }, - "204": { - "description": "The specified workload classifier does not exist." - } - }, - "x-ms-long-running-operation": true, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Delete a workload classifier of a SQL Analytics pool's workload group": { - "$ref": "./examples/DeleteSqlPoolWorkloadGroupWorkloadClassifer.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlPools/{sqlPoolName}/workloadGroups/{workloadGroupName}/workloadClassifiers": { - "get": { - "operationId": "SqlPoolWorkloadClassifier_List", - "summary": "Sql pool's workload classifier", - "description": "Get list of Sql pool's workload classifier for workload groups.", - "tags": [ - "SqlPools, WorkloadClassifiers" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "type": "string", - "in": "path", - "name": "sqlPoolName", - "description": "SQL pool name", - "required": true - }, - { - "name": "workloadGroupName", - "in": "path", - "description": "The name of the workload group.", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved the list of workload groups.", - "schema": { - "$ref": "#/definitions/WorkloadClassifierListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 FeatureDisabledOnSelectedEdition - User attempted to use a feature which is disabled on current database edition.\n\n * 400 OperationNotAllowedOnPausedDatabase - Operation is not allowed on a paused database.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 DatabaseDoesNotExist - User has specified a database name that does not exist on this server instance.\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 ConflictingSystemOperationInProgress - A system maintenance operation is in progress on the database and further operations need to wait until it is completed.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 409 ConflictingDatabaseOperation - There is already some operation on the database and the current operation should wait till it is done.\n\n * 503 DatabaseUnavailable - The operation failed because the database is unavailable.\n\n * 503 TooManyRequests - Requests beyond max requests that can be processed by available resources.\n\n * 504 RequestTimeout - Service request exceeded the allowed timeout." - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get the list of workload classifiers of a SQL Analytics pool's workload group": { - "$ref": "./examples/GetSqlPoolWorkloadGroupWorkloadClassifierList.json" - } - } - } - } - }, - "definitions": { - "SqlPoolInfoListResult": { - "type": "object", - "title": "SQL pool collection", - "description": "List of SQL pools", - "properties": { - "nextLink": { - "type": "string", - "description": "Link to the next page of results" - }, - "value": { - "type": "array", - "description": "List of SQL pools", - "items": { - "$ref": "#/definitions/SqlPool" - } - } - } - }, - "SqlPool": { - "type": "object", - "title": "SQL pool", - "description": "A SQL Analytics pool", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "sku": { - "$ref": "#/definitions/Sku", - "description": "SQL pool SKU" - }, - "properties": { - "$ref": "#/definitions/SqlPoolResourceProperties", - "description": "SQL pool properties", - "x-ms-client-flatten": true - } - } - }, - "SqlPoolPatchInfo": { - "type": "object", - "title": "SQL pool patch info", - "description": "A SQL Analytics pool patch info", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Resource tags." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "sku": { - "$ref": "#/definitions/Sku", - "description": "SQL pool SKU" - }, - "properties": { - "$ref": "#/definitions/SqlPoolResourceProperties", - "description": "SQL pool properties", - "x-ms-client-flatten": true - } - } - }, - "Sku": { - "type": "object", - "title": "Sku", - "description": "SQL pool SKU", - "properties": { - "tier": { - "type": "string", - "description": "The service tier", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "name": { - "type": "string", - "description": "The SKU name" - }, - "capacity": { - "type": "integer", - "format": "int32", - "description": "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.", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - } - } - }, - "SqlPoolResourceProperties": { - "type": "object", - "title": "SQL pool properties", - "description": "Properties of a SQL Analytics pool", - "properties": { - "maxSizeBytes": { - "type": "integer", - "description": "Maximum size in bytes", - "format": "int64" - }, - "collation": { - "type": "string", - "description": "Collation mode", - "default": "", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "sourceDatabaseId": { - "type": "string", - "description": "Source database to create from", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "recoverableDatabaseId": { - "type": "string", - "description": "Backup database to restore from" - }, - "provisioningState": { - "type": "string", - "description": "Resource state" - }, - "status": { - "type": "string", - "description": "Resource status", - "readOnly": true - }, - "restorePointInTime": { - "type": "string", - "description": "Snapshot time to restore", - "format": "date-time", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "createMode": { - "type": "string", - "description": "Specifies the mode of sql pool creation.\n\nDefault: regular sql pool creation.\n\nPointInTimeRestore: Creates a sql pool by restoring a point in time backup of an existing sql pool. sourceDatabaseId must be specified as the resource ID of the existing sql pool, and restorePointInTime must be specified.\n\nRecovery: Creates a sql pool by a geo-replicated backup. sourceDatabaseId must be specified as the recoverableDatabaseId to restore.\n\nRestore: Creates a sql pool by restoring a backup of a deleted sql pool. SourceDatabaseId should be the sql pool's original resource ID. SourceDatabaseId and sourceDatabaseDeletionDate must be specified.", - "enum": [ - "Default", - "PointInTimeRestore", - "Recovery", - "Restore" - ], - "x-ms-enum": { - "name": "createMode", - "modelAsString": true - }, - "x-ms-mutability": [ - "create", - "update" - ] - }, - "creationDate": { - "type": "string", - "description": "Date the SQL pool was created", - "format": "date-time", - "readOnly": true - }, - "storageAccountType": { - "description": "The storage account type used to store backups for this sql pool.", - "enum": [ - "GRS", - "LRS" - ], - "type": "string", - "x-ms-enum": { - "name": "StorageAccountType", - "modelAsString": true - }, - "default": "GRS" - }, - "sourceDatabaseDeletionDate": { - "type": "string", - "description": "Specifies the time that the sql pool was deleted", - "format": "date-time", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - }, - "MetadataSyncConfig": { - "type": "object", - "title": "Metadata sync configuration", - "description": "Configuration for metadata sync", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "title": "Metadata Sync Config properties", - "description": "Metadata Sync Config properties", - "type": "object", - "properties": { - "enabled": { - "type": "boolean", - "description": "Indicates whether the metadata sync is enabled or disabled" - }, - "syncIntervalInMinutes": { - "type": "integer", - "format": "int32", - "description": "The Sync Interval in minutes." - } - }, - "x-ms-client-flatten": true - } - } - }, - "GeoBackupPolicyProperties": { - "type": "object", - "properties": { - "state": { - "type": "string", - "description": "The state of the geo backup policy.", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "GeoBackupPolicyState" - } - }, - "storageType": { - "type": "string", - "description": "The storage type of the geo backup policy.", - "readOnly": true - } - }, - "required": [ - "state" - ], - "description": "The properties of the geo backup policy." - }, - "GeoBackupPolicy": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/GeoBackupPolicyProperties", - "description": "The properties of the geo backup policy.", - "x-ms-client-flatten": true - }, - "kind": { - "readOnly": true, - "type": "string", - "description": "Kind of geo backup policy. This is metadata used for the Azure portal experience." - }, - "location": { - "type": "string", - "readOnly": true, - "description": "Backup policy location." - } - }, - "required": [ - "properties" - ], - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "description": "A database geo backup policy." - }, - "GeoBackupPolicyListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/GeoBackupPolicy" - }, - "description": "The list of geo backup policies." - } - }, - "description": "The response to a list geo backup policies request." - }, - "TopQueries": { - "type": "object", - "properties": { - "aggregationFunction": { - "description": "The function that is used to aggregate each query's metrics.", - "type": "string", - "enum": [ - "min", - "max", - "avg", - "sum" - ], - "x-ms-enum": { - "name": "QueryAggregationFunction", - "modelAsString": false - }, - "readOnly": true - }, - "executionType": { - "description": "The execution type that is used to filter the query instances that are returned.", - "type": "string", - "enum": [ - "any", - "regular", - "irregular", - "aborted", - "exception" - ], - "x-ms-enum": { - "name": "QueryExecutionType", - "modelAsString": false - }, - "readOnly": true - }, - "intervalType": { - "description": "The duration of the interval (ISO8601 duration format).", - "type": "string", - "readOnly": true - }, - "numberOfTopQueries": { - "description": "The number of requested queries.", - "type": "number", - "format": "int32", - "readOnly": true - }, - "observationStartTime": { - "description": "The start time for queries that are returned (ISO8601 format)", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "observationEndTime": { - "description": "The end time for queries that are returned (ISO8601 format)", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "observedMetric": { - "description": "The type of metric to use for ordering the top metrics.", - "type": "string", - "enum": [ - "cpu", - "io", - "logio", - "duration", - "executionCount" - ], - "x-ms-enum": { - "name": "QueryObservedMetricType", - "modelAsString": false - }, - "readOnly": true - }, - "queries": { - "type": "array", - "items": { - "$ref": "#/definitions/QueryStatistic" - }, - "description": "The list of queries.", - "readOnly": true, - "x-ms-identifiers": [] - } - }, - "description": "A database query." - }, - "QueryStatistic": { - "type": "object", - "properties": { - "queryId": { - "description": "The id of the query", - "type": "string", - "readOnly": true - }, - "intervals": { - "type": "array", - "items": { - "$ref": "#/definitions/QueryInterval" - }, - "description": "The list of query intervals.", - "readOnly": true, - "x-ms-identifiers": [] - } - }, - "description": "A database query." - }, - "QueryInterval": { - "type": "object", - "properties": { - "intervalStartTime": { - "description": "The start time of the measurement interval (ISO8601 format).", - "type": "string", - "format": "date-time", - "readOnly": true - }, - "executionCount": { - "description": "The number of times the query was executed during this interval.", - "type": "number", - "format": "int32", - "readOnly": true - }, - "metrics": { - "type": "array", - "items": { - "$ref": "#/definitions/QueryMetric" - }, - "description": "The list of query metrics during this interval.", - "readOnly": true, - "x-ms-identifiers": [] - } - }, - "description": "A database query." - }, - "QueryMetric": { - "type": "object", - "properties": { - "name": { - "description": "The name of the metric", - "type": "string", - "readOnly": true - }, - "displayName": { - "description": "The name of the metric for display in user interface", - "type": "string", - "readOnly": true - }, - "unit": { - "description": "The unit of measurement", - "type": "string", - "enum": [ - "percentage", - "KB", - "microseconds" - ], - "x-ms-enum": { - "name": "QueryMetricUnit", - "modelAsString": false - }, - "readOnly": true - }, - "value": { - "description": "The measured value", - "type": "number", - "format": "double", - "readOnly": true - } - }, - "description": "A database query." - }, - "TopQueriesListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/TopQueries" - }, - "description": "The list of top queries.", - "x-ms-identifiers": [] - } - }, - "required": [ - "value" - ], - "description": "Represents the response to a get top queries request." - }, - "DataWarehouseUserActivitiesProperties": { - "description": "User activities of a data warehouse. This currently includes the count of running or suspended queries. For more information, please view the sys.dm_pdw_exec_requests dynamic management view (DMV).", - "type": "object", - "properties": { - "activeQueriesCount": { - "format": "int32", - "description": "Count of running and suspended queries.", - "type": "integer", - "readOnly": true - } - } - }, - "DataWarehouseUserActivities": { - "description": "User activities of a data warehouse", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/DataWarehouseUserActivitiesProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "RestorePointListResult": { - "description": "A list of long term retention backups.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/RestorePoint" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "RestorePointProperties": { - "description": "Properties of a database restore point", - "type": "object", - "properties": { - "restorePointType": { - "description": "The type of restore point", - "enum": [ - "CONTINUOUS", - "DISCRETE" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "RestorePointType", - "modelAsString": false - } - }, - "earliestRestoreDate": { - "format": "date-time", - "description": "The earliest time to which this database can be restored", - "type": "string", - "readOnly": true - }, - "restorePointCreationDate": { - "format": "date-time", - "description": "The time the backup was taken", - "type": "string", - "readOnly": true - }, - "restorePointLabel": { - "description": "The label of restore point for backup request by user", - "type": "string", - "readOnly": true - } - } - }, - "RestorePoint": { - "description": "Database restore points.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "location": { - "description": "Resource location.", - "type": "string", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/RestorePointProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "ReplicationLinkProperties": { - "type": "object", - "properties": { - "isTerminationAllowed": { - "readOnly": true, - "type": "boolean", - "description": "Legacy value indicating whether termination is allowed. Currently always returns true." - }, - "replicationMode": { - "readOnly": true, - "type": "string", - "description": "Replication mode of this replication link." - }, - "partnerServer": { - "readOnly": true, - "type": "string", - "description": "The name of the workspace hosting the partner Sql pool." - }, - "partnerDatabase": { - "readOnly": true, - "type": "string", - "description": "The name of the partner Sql pool." - }, - "partnerLocation": { - "readOnly": true, - "type": "string", - "description": "The Azure Region of the partner Sql pool." - }, - "role": { - "readOnly": true, - "type": "string", - "description": "The role of the Sql pool in the replication link.", - "enum": [ - "Primary", - "Secondary", - "NonReadableSecondary", - "Source", - "Copy" - ], - "x-ms-enum": { - "name": "ReplicationRole" - } - }, - "partnerRole": { - "readOnly": true, - "type": "string", - "description": "The role of the partner Sql pool in the replication link.", - "enum": [ - "Primary", - "Secondary", - "NonReadableSecondary", - "Source", - "Copy" - ], - "x-ms-enum": { - "name": "ReplicationRole" - } - }, - "startTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The start time for the replication link." - }, - "percentComplete": { - "readOnly": true, - "type": "integer", - "format": "int32", - "description": "The percentage of seeding complete for the replication link." - }, - "replicationState": { - "readOnly": true, - "type": "string", - "description": "The replication state for the replication link.", - "enum": [ - "PENDING", - "SEEDING", - "CATCH_UP", - "SUSPENDED" - ], - "x-ms-enum": { - "name": "ReplicationState", - "modelAsString": true - } - } - }, - "description": "Represents the properties of a Sql pool replication link." - }, - "ReplicationLink": { - "type": "object", - "properties": { - "location": { - "type": "string", - "description": "Location of the workspace that contains this firewall rule.", - "readOnly": true - }, - "type": { - "type": "string", - "description": "Type of resource this is.", - "readOnly": true - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/ReplicationLinkProperties", - "description": "The properties representing the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a Sql pool replication link." - }, - "ReplicationLinkListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ReplicationLink" - }, - "description": "The list of Sql pool replication links housed in the Sql pool." - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - }, - "description": "Represents the response to a List Sql pool replication link request." - }, - "MaintenanceWindowOptionsProperties": { - "description": "Maintenance window options properties.", - "type": "object", - "properties": { - "isEnabled": { - "description": "Whether maintenance windows are enabled for the database.", - "type": "boolean" - }, - "maintenanceWindowCycles": { - "description": "Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}.", - "type": "array", - "items": { - "$ref": "#/definitions/MaintenanceWindowTimeRange" - }, - "x-ms-identifiers": [] - }, - "minDurationInMinutes": { - "format": "int32", - "description": "Minimum duration of maintenance window.", - "type": "integer" - }, - "defaultDurationInMinutes": { - "format": "int32", - "description": "Default duration for maintenance window.", - "type": "integer" - }, - "minCycles": { - "format": "int32", - "description": "Minimum number of maintenance windows cycles to be set on the database.", - "type": "integer" - }, - "timeGranularityInMinutes": { - "format": "int32", - "description": "Time granularity in minutes for maintenance windows.", - "type": "integer" - }, - "allowMultipleMaintenanceWindowsPerCycle": { - "description": "Whether we allow multiple maintenance windows per cycle.", - "type": "boolean" - } - } - }, - "MaintenanceWindowOptions": { - "description": "Maintenance window options.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/MaintenanceWindowOptionsProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "MaintenanceWindowsProperties": { - "description": "Maintenance windows resource properties.", - "type": "object", - "properties": { - "timeRanges": { - "type": "array", - "items": { - "$ref": "#/definitions/MaintenanceWindowTimeRange" - }, - "x-ms-identifiers": [] - } - } - }, - "MaintenanceWindowTimeRange": { - "description": "Maintenance window time range.", - "type": "object", - "properties": { - "dayOfWeek": { - "description": "Day of maintenance window.", - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string", - "x-ms-enum": { - "name": "DayOfWeek", - "modelAsString": true - } - }, - "startTime": { - "description": "Start time minutes offset from 12am.", - "type": "string" - }, - "duration": { - "description": "Duration of maintenance window in minutes.", - "type": "string" - } - } - }, - "MaintenanceWindows": { - "description": "Maintenance windows.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/MaintenanceWindowsProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "TransparentDataEncryptionProperties": { - "type": "object", - "properties": { - "status": { - "type": "string", - "description": "The status of the database transparent data encryption.", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "TransparentDataEncryptionStatus" - } - } - }, - "description": "Represents the properties of a database transparent data encryption." - }, - "TransparentDataEncryption": { - "type": "object", - "properties": { - "location": { - "type": "string", - "readOnly": true, - "description": "Resource location." - }, - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/TransparentDataEncryptionProperties", - "description": "Represents the properties of the resource." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a Sql pool transparent data encryption configuration." - }, - "TransparentDataEncryptionListResult": { - "description": "A list of transparent data encryption configurations.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/TransparentDataEncryption" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlPoolBlobAuditingPolicyProperties": { - "description": "Properties of a Sql pool blob auditing policy.", - "required": [ - "state" - ], - "type": "object", - "properties": { - "state": { - "description": "Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "BlobAuditingPolicyState", - "modelAsString": false - } - }, - "storageEndpoint": { - "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint is required.", - "type": "string" - }, - "storageAccountAccessKey": { - "description": "Specifies the identifier key of the auditing storage account. If state is Enabled and storageEndpoint is specified, storageAccountAccessKey is required.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "retentionDays": { - "format": "int32", - "description": "Specifies the number of days to keep in the audit logs in the storage account.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "auditActionsAndGroups": { - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)", - "type": "array", - "items": { - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "storageAccountSubscriptionId": { - "format": "uuid", - "description": "Specifies the blob storage subscription Id.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isStorageSecondaryKeyInUse": { - "description": "Specifies whether storageAccountAccessKey value is the storage's secondary key.", - "type": "boolean" - }, - "isAzureMonitorTargetEnabled": { - "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", - "type": "boolean", - "default": false - } - } - }, - "SqlPoolBlobAuditingPolicy": { - "description": "A Sql pool blob auditing policy.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "kind": { - "description": "Resource kind.", - "type": "string", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/SqlPoolBlobAuditingPolicyProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "SqlPoolBlobAuditingPolicySqlPoolOperationListResult": { - "description": "The response to a list Sql pool operations request", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlPoolOperation" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlPoolOperationProperties": { - "description": "The properties of a Sql pool operation.", - "type": "object", - "properties": { - "databaseName": { - "description": "The name of the Sql pool the operation is being performed on.", - "type": "string", - "readOnly": true - }, - "operation": { - "description": "The name of operation.", - "type": "string", - "readOnly": true - }, - "operationFriendlyName": { - "description": "The friendly name of operation.", - "type": "string", - "readOnly": true - }, - "percentComplete": { - "format": "int32", - "description": "The percentage of the operation completed.", - "type": "integer", - "readOnly": true - }, - "serverName": { - "description": "The name of the server.", - "type": "string", - "readOnly": true - }, - "startTime": { - "format": "date-time", - "description": "The operation start time.", - "type": "string", - "readOnly": true - }, - "state": { - "description": "The operation state.", - "enum": [ - "Pending", - "InProgress", - "Succeeded", - "Failed", - "CancelInProgress", - "Cancelled" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ManagementOperationState", - "modelAsString": true - } - }, - "errorCode": { - "format": "int32", - "description": "The operation error code.", - "type": "integer", - "readOnly": true - }, - "errorDescription": { - "description": "The operation error description.", - "type": "string", - "readOnly": true - }, - "errorSeverity": { - "format": "int32", - "description": "The operation error severity.", - "type": "integer", - "readOnly": true - }, - "isUserError": { - "description": "Whether or not the error is a user error.", - "type": "boolean", - "readOnly": true - }, - "estimatedCompletionTime": { - "format": "date-time", - "description": "The estimated completion time of the operation.", - "type": "string", - "readOnly": true - }, - "description": { - "description": "The operation description.", - "type": "string", - "readOnly": true - }, - "isCancellable": { - "description": "Whether the operation can be cancelled.", - "type": "boolean", - "readOnly": true - } - } - }, - "SqlPoolOperation": { - "description": "A Sql pool operation.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlPoolOperationProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "SqlPoolUsage": { - "type": "object", - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the usage metric." - }, - "resourceName": { - "readOnly": true, - "type": "string", - "description": "The name of the resource." - }, - "displayName": { - "readOnly": true, - "type": "string", - "description": "The usage metric display name." - }, - "currentValue": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "The current value of the usage metric." - }, - "limit": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "The current limit of the usage metric." - }, - "unit": { - "readOnly": true, - "type": "string", - "description": "The units of the usage metric." - }, - "nextResetTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The next reset time for the usage metric (ISO8601 format)." - } - }, - "description": "The Sql pool usages." - }, - "SqlPoolUsageListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/SqlPoolUsage" - }, - "description": "The list of usages for the Sql pool.", - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - }, - "required": [ - "value" - ], - "description": "The response to a list Sql pool usages request." - }, - "SensitivityLabelProperties": { - "description": "Properties of a sensitivity label.", - "type": "object", - "properties": { - "schemaName": { - "description": "The schema name.", - "type": "string", - "readOnly": true - }, - "tableName": { - "description": "The table name.", - "type": "string", - "readOnly": true - }, - "columnName": { - "description": "The column name.", - "type": "string", - "readOnly": true - }, - "labelName": { - "description": "The label name.", - "type": "string" - }, - "labelId": { - "description": "The label ID.", - "type": "string" - }, - "informationType": { - "description": "The information type.", - "type": "string" - }, - "informationTypeId": { - "description": "The information type ID.", - "type": "string" - }, - "isDisabled": { - "description": "Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not.", - "type": "boolean", - "readOnly": true - }, - "rank": { - "enum": [ - "None", - "Low", - "Medium", - "High", - "Critical" - ], - "type": "string", - "x-ms-enum": { - "name": "SensitivityLabelRank", - "modelAsString": false - } - } - } - }, - "SensitivityLabel": { - "description": "A sensitivity label.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SensitivityLabelProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - }, - "managedBy": { - "type": "string", - "readOnly": true, - "description": "managed by" - } - } - }, - "SensitivityLabelListResult": { - "description": "A list of sensitivity labels.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SensitivityLabel" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlPoolSchema": { - "description": "A Sql pool schema resource.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ] - }, - "SqlPoolSchemaListResult": { - "description": "A list of Sql pool schemas.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlPoolSchema" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlPoolTable": { - "description": "A Sql pool table resource.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ] - }, - "SqlPoolTableListResult": { - "description": "A list of Sql pool tables.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlPoolTable" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlPoolColumnProperties": { - "description": "Sql pool column properties.", - "type": "object", - "properties": { - "columnType": { - "description": "The column data type.", - "enum": [ - "image", - "text", - "uniqueidentifier", - "date", - "time", - "datetime2", - "datetimeoffset", - "tinyint", - "smallint", - "int", - "smalldatetime", - "real", - "money", - "datetime", - "float", - "sql_variant", - "ntext", - "bit", - "decimal", - "numeric", - "smallmoney", - "bigint", - "hierarchyid", - "geometry", - "geography", - "varbinary", - "varchar", - "binary", - "char", - "timestamp", - "nvarchar", - "nchar", - "xml", - "sysname" - ], - "type": "string", - "x-ms-enum": { - "name": "ColumnDataType", - "modelAsString": true - } - }, - "isComputed": { - "type": "boolean", - "description": "Indicates whether column value is computed or not", - "readOnly": true - } - } - }, - "SqlPoolColumn": { - "description": "A Sql pool column resource.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlPoolColumnProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "SqlPoolColumnListResult": { - "description": "A list of Sql pool columns.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlPoolColumn" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlPoolConnectionPolicyProperties": { - "description": "Properties of a Sql pool connection policy.", - "type": "object", - "properties": { - "securityEnabledAccess": { - "description": "The state of security access.", - "type": "string" - }, - "proxyDnsName": { - "description": "The fully qualified host name of the auditing proxy.", - "type": "string" - }, - "proxyPort": { - "description": "The port number of the auditing proxy.", - "type": "string" - }, - "visibility": { - "description": "The visibility of the auditing proxy.", - "type": "string" - }, - "useServerDefault": { - "description": "Whether server default is enabled or disabled.", - "type": "string" - }, - "redirectionState": { - "description": "The state of proxy redirection.", - "type": "string" - }, - "state": { - "description": "The connection policy state.", - "type": "string" - } - } - }, - "SqlPoolConnectionPolicy": { - "description": "A Sql pool connection policy.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "kind": { - "description": "Resource kind.", - "type": "string", - "readOnly": true - }, - "location": { - "type": "string", - "readOnly": true, - "description": "Resource location." - }, - "properties": { - "$ref": "#/definitions/SqlPoolConnectionPolicyProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "SqlPoolVulnerabilityAssessmentProperties": { - "description": "Properties of a Sql pool Vulnerability Assessment.", - "type": "object", - "properties": { - "storageContainerPath": { - "description": "A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set", - "type": "string", - "x-ms-mutability": [ - "create", - "update", - "read" - ] - }, - "storageContainerSasKey": { - "description": "A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "storageAccountAccessKey": { - "description": "Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "recurringScans": { - "$ref": "#/definitions/VulnerabilityAssessmentRecurringScansProperties", - "description": "The recurring scans settings" - } - } - }, - "VulnerabilityAssessmentRecurringScansProperties": { - "description": "Properties of a Vulnerability Assessment recurring scans.", - "type": "object", - "properties": { - "isEnabled": { - "description": "Recurring scans state.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "emailSubscriptionAdmins": { - "description": "Specifies that the schedule scan notification will be is sent to the subscription administrators.", - "default": true, - "type": "boolean" - }, - "emails": { - "description": "Specifies an array of e-mail addresses to which the scan notification is sent.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "SqlPoolVulnerabilityAssessment": { - "description": "A Sql pool vulnerability assessment.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "SqlPoolVulnerabilityAssessmentListResult": { - "description": "A list of the Sql pool's vulnerability assessments.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessment" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "VulnerabilityAssessmentScanRecordListResult": { - "description": "A list of vulnerability assessment scan records.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/VulnerabilityAssessmentScanRecord" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "VulnerabilityAssessmentScanRecord": { - "description": "A vulnerability assessment scan record.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/VulnerabilityAssessmentScanRecordProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "VulnerabilityAssessmentScanRecordProperties": { - "description": "Properties of a vulnerability assessment scan record.", - "type": "object", - "properties": { - "scanId": { - "description": "The scan ID.", - "type": "string", - "readOnly": true - }, - "triggerType": { - "description": "The scan trigger type.", - "enum": [ - "OnDemand", - "Recurring" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "VulnerabilityAssessmentScanTriggerType", - "modelAsString": true - } - }, - "state": { - "description": "The scan status.", - "enum": [ - "Passed", - "Failed", - "FailedToRun", - "InProgress" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "VulnerabilityAssessmentScanState", - "modelAsString": true - } - }, - "startTime": { - "format": "date-time", - "description": "The scan start time (UTC).", - "type": "string", - "readOnly": true - }, - "endTime": { - "format": "date-time", - "description": "The scan end time (UTC).", - "type": "string", - "readOnly": true - }, - "errors": { - "description": "The scan errors.", - "type": "array", - "items": { - "$ref": "#/definitions/VulnerabilityAssessmentScanError" - }, - "readOnly": true, - "x-ms-identifiers": [] - }, - "storageContainerPath": { - "description": "The scan results storage container path.", - "type": "string", - "readOnly": true - }, - "numberOfFailedSecurityChecks": { - "format": "int32", - "description": "The number of failed security checks.", - "type": "integer", - "readOnly": true - } - } - }, - "VulnerabilityAssessmentScanError": { - "description": "Properties of a vulnerability assessment scan error.", - "type": "object", - "properties": { - "code": { - "description": "The error code.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "The error message.", - "type": "string", - "readOnly": true - } - } - }, - "SecurityAlertPolicyProperties": { - "description": "Properties of a security alert policy.", - "required": [ - "state" - ], - "type": "object", - "properties": { - "state": { - "description": "Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific Sql pool.", - "enum": [ - "New", - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SecurityAlertPolicyState", - "modelAsString": false - } - }, - "disabledAlerts": { - "description": "Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "emailAddresses": { - "description": "Specifies an array of e-mail addresses to which the alert is sent.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "emailAccountAdmins": { - "description": "Specifies that the alert is sent to the account administrators.", - "type": "boolean" - }, - "storageEndpoint": { - "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.", - "type": "string" - }, - "storageAccountAccessKey": { - "description": "Specifies the identifier key of the Threat Detection audit storage account.", - "type": "string" - }, - "retentionDays": { - "format": "int32", - "description": "Specifies the number of days to keep in the Threat Detection audit logs.", - "type": "integer" - }, - "creationTime": { - "format": "date-time", - "description": "Specifies the UTC creation time of the policy.", - "type": "string", - "readOnly": true - } - } - }, - "SqlPoolSecurityAlertPolicy": { - "description": "A Sql pool security alert policy.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SecurityAlertPolicyProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "ListSqlPoolSecurityAlertPolicies": { - "description": "A list of SQL pool security alert policies.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlPoolSecurityAlertPolicy" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SqlPoolVulnerabilityAssessmentRuleBaselineProperties": { - "description": "Properties of a Sql pool vulnerability assessment rule baseline.", - "required": [ - "baselineResults" - ], - "type": "object", - "properties": { - "baselineResults": { - "description": "The rule baseline result", - "type": "array", - "items": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentRuleBaselineItem" - }, - "x-ms-identifiers": [] - } - } - }, - "SqlPoolVulnerabilityAssessmentRuleBaselineItem": { - "description": "Properties for an Sql pool vulnerability assessment rule baseline's result.", - "required": [ - "result" - ], - "type": "object", - "properties": { - "result": { - "description": "The rule baseline result", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "SqlPoolVulnerabilityAssessmentRuleBaseline": { - "description": "A Sql pool vulnerability assessment rule baseline.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentRuleBaselineProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "SqlPoolVulnerabilityAssessmentScanExportProperties": { - "description": "Properties of the export operation's result.", - "type": "object", - "properties": { - "exportedReportLocation": { - "description": "Location of the exported report (e.g. https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx).", - "type": "string", - "readOnly": true - } - } - }, - "SqlPoolVulnerabilityAssessmentScansExport": { - "description": "A Sql pool Vulnerability Assessment scan export resource.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SqlPoolVulnerabilityAssessmentScanExportProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "ResourceMoveDefinition": { - "description": "Contains the information necessary to perform a resource move (rename).", - "required": [ - "id" - ], - "type": "object", - "properties": { - "id": { - "description": "The target ID for the resource", - "type": "string" - } - } - }, - "CreateSqlPoolRestorePointDefinition": { - "description": "Contains the information necessary to perform a create Sql pool restore point operation.", - "required": [ - "restorePointLabel" - ], - "type": "object", - "properties": { - "restorePointLabel": { - "description": "The restore point label to apply", - "type": "string" - } - } - }, - "WorkloadGroupProperties": { - "description": "Workload group definition. For more information look at sys.workload_management_workload_groups (DMV).", - "required": [ - "minResourcePercent", - "maxResourcePercent", - "minResourcePercentPerRequest" - ], - "type": "object", - "properties": { - "minResourcePercent": { - "format": "int32", - "description": "The workload group minimum percentage resource.", - "type": "integer" - }, - "maxResourcePercent": { - "format": "int32", - "description": "The workload group cap percentage resource.", - "type": "integer" - }, - "minResourcePercentPerRequest": { - "format": "double", - "description": "The workload group request minimum grant percentage.", - "type": "number" - }, - "maxResourcePercentPerRequest": { - "format": "double", - "description": "The workload group request maximum grant percentage.", - "type": "number" - }, - "importance": { - "description": "The workload group importance level.", - "type": "string" - }, - "queryExecutionTimeout": { - "format": "int32", - "description": "The workload group query execution timeout.", - "type": "integer" - } - } - }, - "WorkloadGroup": { - "description": "Workload group operations for a sql pool", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadGroupProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "WorkloadGroupListResult": { - "description": "A list of workload groups.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkloadGroup" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "WorkloadClassifierProperties": { - "description": "Workload classifier definition. For more information look at sys.workload_management_workload_classifiers (DMV).", - "required": [ - "memberName" - ], - "type": "object", - "properties": { - "memberName": { - "description": "The workload classifier member name.", - "type": "string" - }, - "label": { - "description": "The workload classifier label.", - "type": "string" - }, - "context": { - "description": "The workload classifier context.", - "type": "string" - }, - "startTime": { - "description": "The workload classifier start time for classification.", - "type": "string" - }, - "endTime": { - "description": "The workload classifier end time for classification.", - "type": "string" - }, - "importance": { - "description": "The workload classifier importance.", - "type": "string" - } - } - }, - "WorkloadClassifier": { - "description": "Workload classifier operations for a data warehouse", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/WorkloadClassifierProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "WorkloadClassifierListResult": { - "description": "A list of workload classifiers for a workload group.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/WorkloadClassifier" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "DataMaskingPolicyProperties": { - "type": "object", - "properties": { - "dataMaskingState": { - "type": "string", - "description": "The state of the data masking policy.", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "DataMaskingState" - } - }, - "exemptPrincipals": { - "type": "string", - "description": "The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries." - }, - "applicationPrincipals": { - "type": "string", - "description": "The list of the application principals. This is a legacy parameter and is no longer used.", - "readOnly": true - }, - "maskingLevel": { - "type": "string", - "description": "The masking level. This is a legacy parameter and is no longer used.", - "readOnly": true - } - }, - "required": [ - "dataMaskingState" - ], - "description": "The properties of a database data masking policy." - }, - "DataMaskingPolicy": { - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DataMaskingPolicyProperties", - "description": "The properties of the data masking policy." - }, - "location": { - "type": "string", - "readOnly": true, - "description": "The location of the data masking policy." - }, - "kind": { - "type": "string", - "readOnly": true, - "description": "The kind of data masking policy. Metadata, used for Azure portal." - }, - "managedBy": { - "type": "string", - "readOnly": true, - "description": "Fully qualified resource ID of the sql pool" - } - } - }, - "ExtendedSqlPoolBlobAuditingPolicy": { - "description": "An extended Sql pool blob auditing policy.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ExtendedSqlPoolBlobAuditingPolicyProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "ExtendedSqlPoolBlobAuditingPolicyProperties": { - "description": "Properties of an extended Sql pool blob auditing policy.", - "required": [ - "state" - ], - "type": "object", - "properties": { - "predicateExpression": { - "description": "Specifies condition of where clause when creating an audit.", - "type": "string" - }, - "state": { - "description": "Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "BlobAuditingPolicyState", - "modelAsString": false - } - }, - "storageEndpoint": { - "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.", - "type": "string" - }, - "storageAccountAccessKey": { - "description": "Specifies the identifier key of the auditing storage account. \r\nIf state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage.\r\nPrerequisites for using managed identity authentication:\r\n1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).\r\n2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity.\r\nFor more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355)", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "retentionDays": { - "format": "int32", - "description": "Specifies the number of days to keep in the audit logs in the storage account.", - "type": "integer" - }, - "auditActionsAndGroups": { - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)", - "type": "array", - "items": { - "type": "string" - } - }, - "storageAccountSubscriptionId": { - "format": "uuid", - "description": "Specifies the blob storage subscription Id.", - "type": "string" - }, - "isStorageSecondaryKeyInUse": { - "description": "Specifies whether storageAccountAccessKey value is the storage's secondary key.", - "type": "boolean" - }, - "isAzureMonitorTargetEnabled": { - "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", - "type": "boolean" - }, - "queueDelayMs": { - "format": "int32", - "description": "Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed.\r\nThe default minimum value is 1000 (1 second). The maximum is 2,147,483,647.", - "type": "integer" - } - } - }, - "ExtendedSqlPoolBlobAuditingPolicyListResult": { - "description": "A list of sql pool extended auditing settings.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/ExtendedSqlPoolBlobAuditingPolicy" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "DataMaskingRule": { - "type": "object", - "properties": { - "properties": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/DataMaskingRuleProperties", - "description": "The properties of the resource." - }, - "location": { - "type": "string", - "readOnly": true, - "description": "The location of the data masking rule." - }, - "kind": { - "type": "string", - "readOnly": true, - "description": "The kind of Data Masking Rule. Metadata, used for Azure portal." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "description": "Represents a Sql pool data masking rule." - }, - "DataMaskingRuleProperties": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The rule Id.", - "readOnly": true - }, - "aliasName": { - "type": "string", - "description": "The alias name. This is a legacy parameter and is no longer used." - }, - "ruleState": { - "type": "string", - "description": "The rule state. Used to delete a rule. To delete an existing rule, specify the schemaName, tableName, columnName, maskingFunction, and specify ruleState as disabled. However, if the rule doesn't already exist, the rule will be created with ruleState set to enabled, regardless of the provided value of ruleState.", - "enum": [ - "Disabled", - "Enabled" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "DataMaskingRuleState" - } - }, - "schemaName": { - "type": "string", - "description": "The schema name on which the data masking rule is applied." - }, - "tableName": { - "type": "string", - "description": "The table name on which the data masking rule is applied." - }, - "columnName": { - "type": "string", - "description": "The column name on which the data masking rule is applied." - }, - "maskingFunction": { - "type": "string", - "description": "The masking function that is used for the data masking rule.", - "enum": [ - "Default", - "CCN", - "Email", - "Number", - "SSN", - "Text" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "DataMaskingFunction" - } - }, - "numberFrom": { - "type": "string", - "description": "The numberFrom property of the masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored." - }, - "numberTo": { - "type": "string", - "description": "The numberTo property of the data masking rule. Required if maskingFunction is set to Number, otherwise this parameter will be ignored." - }, - "prefixSize": { - "type": "string", - "description": "If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored." - }, - "suffixSize": { - "type": "string", - "description": "If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored." - }, - "replacementString": { - "type": "string", - "description": "If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored." - } - }, - "required": [ - "maskingFunction", - "schemaName", - "tableName", - "columnName" - ], - "description": "The properties of a Sql pool data masking rule." - }, - "DataMaskingRuleListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/DataMaskingRule" - }, - "description": "The list of Sql pool data masking rules." - } - }, - "description": "The response to a list data masking rules request." - }, - "SqlPoolBlobAuditingPolicyListResult": { - "description": "A list of Sql pool auditing settings.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/SqlPoolBlobAuditingPolicy" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "SensitivityLabelUpdateProperties": { - "description": "Properties of an operation executed on a sensitivity label.", - "required": [ - "op", - "schema", - "table", - "column" - ], - "type": "object", - "properties": { - "op": { - "enum": [ - "set", - "remove" - ], - "type": "string", - "x-ms-enum": { - "name": "SensitivityLabelUpdateKind", - "modelAsString": false - } - }, - "schema": { - "description": "Schema name of the column to update.", - "type": "string" - }, - "table": { - "description": "Table name of the column to update.", - "type": "string" - }, - "column": { - "description": "Column name to update.", - "type": "string" - }, - "sensitivityLabel": { - "$ref": "#/definitions/SensitivityLabel", - "description": "The sensitivity label information to apply on a column." - } - } - }, - "SensitivityLabelUpdate": { - "description": "A sensitivity label update operation.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/SensitivityLabelUpdateProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "SensitivityLabelUpdateList": { - "description": "A list of sensitivity label update operations.", - "type": "object", - "properties": { - "operations": { - "type": "array", - "items": { - "$ref": "#/definitions/SensitivityLabelUpdate" - } - } - } - }, - "RecommendedSensitivityLabelUpdateProperties": { - "description": "Properties of an operation executed on a recommended sensitivity label.", - "required": [ - "op", - "schema", - "table", - "column" - ], - "type": "object", - "properties": { - "op": { - "enum": [ - "enable", - "disable" - ], - "type": "string", - "x-ms-enum": { - "name": "RecommendedSensitivityLabelUpdateKind", - "modelAsString": false - } - }, - "schema": { - "description": "Schema name of the column to update.", - "type": "string" - }, - "table": { - "description": "Table name of the column to update.", - "type": "string" - }, - "column": { - "description": "Column name to update.", - "type": "string" - } - } - }, - "RecommendedSensitivityLabelUpdate": { - "description": "A recommended sensitivity label update operation.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/RecommendedSensitivityLabelUpdateProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "RecommendedSensitivityLabelUpdateList": { - "description": "A list of recommended sensitivity label update operations.", - "type": "object", - "properties": { - "operations": { - "type": "array", - "items": { - "$ref": "#/definitions/RecommendedSensitivityLabelUpdate" - } - } - } - } - }, - "parameters": { - "DataMaskingPolicyNameParameter": { - "name": "dataMaskingPolicyName", - "in": "path", - "required": true, - "type": "string", - "enum": [ - "Default" - ], - "x-ms-enum": { - "modelAsString": false, - "name": "DataMaskingPolicyName" - }, - "description": "The name of the data masking policy for which the masking rule applies.", - "x-ms-parameter-location": "method" - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/sqlServer.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/sqlServer.json deleted file mode 100644 index d3352ed495b1..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/sqlServer.json +++ /dev/null @@ -1,2084 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "The Azure Synapse SQL management API provides a RESTful set of web APIs that interact with Azure Synapse SQL services to manage your resources. The API enables users to create, retrieve, update, and delete SqlServers sub resources." - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/auditingSettings/{blobAuditingPolicyName}": { - "get": { - "operationId": "WorkspaceManagedSqlServerBlobAuditingPolicies_Get", - "summary": "Get server's blob auditing policy.", - "description": "Get a workspace managed sql server's blob auditing policy.", - "tags": [ - "WorkspaceManagedSqlServer, BlobAuditing" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "blobAuditingPolicyName", - "in": "path", - "description": "The name of the blob auditing policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobAuditingPolicyName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successfully retrieved workspace managed sql server's blob auditing policy.", - "schema": { - "$ref": "#/definitions/ServerBlobAuditingPolicy" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get blob auditing setting of workspace managed sql Server": { - "$ref": "./examples/GetWorkspaceManagedSqlServerBlobAuditingSettings.json" - } - } - }, - "put": { - "operationId": "WorkspaceManagedSqlServerBlobAuditingPolicies_CreateOrUpdate", - "summary": "Create or Update server's blob auditing policy.", - "description": "Create or Update a workspace managed sql server's blob auditing policy.", - "tags": [ - "WorkspaceManagedSqlServer, BlobAuditing" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "blobAuditingPolicyName", - "in": "path", - "description": "The name of the blob auditing policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobAuditingPolicyName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "description": "Properties of extended blob auditing policy.", - "required": true, - "schema": { - "$ref": "#/definitions/ServerBlobAuditingPolicy" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated the auditing settings.", - "schema": { - "$ref": "#/definitions/ServerBlobAuditingPolicy" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidServerBlobAuditingPolicyCreateRequest - The create server blob auditing policy request does not exist or has no properties object.\n\n * 400 InvalidBlobAuditActionsAndGroups - Invalid audit actions or action groups.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 BlobAuditingInvalidStorageAccountCredentials - The provided storage account or access key is not valid.\n\n * 400 InvalidBlobAuditActionsAndGroups - Invalid audit actions or action groups.\n\n * 400 InsufficientDiskSpaceForAuditing - Insufficient disk space to save auditing metadata in the database\n\n 400 InvalidBlobAuditActions - Invalid audit action.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create or update blob auditing policy of workspace managed Sql Server with minimal parameters": { - "$ref": "./examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithMinParameters.json" - }, - "Create or update blob auditing policy of workspace SQL Server with all parameters": { - "$ref": "./examples/CreateWorkspaceManagedSqlServerBlobAuditingSettingsWithAllParameters.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/auditingSettings": { - "get": { - "operationId": "WorkspaceManagedSqlServerBlobAuditingPolicies_ListByWorkspace", - "summary": "List workspace server's blob auditing policies.", - "description": "List workspace managed sql server's blob auditing policies.", - "tags": [ - "WorkspaceManagedSqlServer, BlobAuditing" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved auditing settings.", - "schema": { - "$ref": "#/definitions/ServerBlobAuditingPolicyListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get blob auditing policy of workspace manged sql Server": { - "$ref": "./examples/ListWorkspaceManagedSqlServerBlobAuditingSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/extendedAuditingSettings/{blobAuditingPolicyName}": { - "get": { - "operationId": "WorkspaceManagedSqlServerExtendedBlobAuditingPolicies_Get", - "summary": "Get server's extended blob auditing policy.", - "description": "Get a workspace SQL server's extended blob auditing policy.", - "tags": [ - "WorkspaceManagedSqlServer, BlobAuditing" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "blobAuditingPolicyName", - "in": "path", - "description": "The name of the blob auditing policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobAuditingPolicyName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successfully retrieved extended auditing settings.", - "schema": { - "$ref": "#/definitions/ExtendedServerBlobAuditingPolicy" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get workspace managed sql servers' extended blob auditing settings": { - "$ref": "./examples/GetWorkspaceManagedSqlExtendedServerBlobAuditingSettings.json" - } - } - }, - "put": { - "operationId": "WorkspaceManagedSqlServerExtendedBlobAuditingPolicies_CreateOrUpdate", - "summary": "Create or Update server's extended blob auditing policy.", - "description": "Create or Update a workspace managed sql server's extended blob auditing policy.", - "tags": [ - "WorkspaceManagedSqlServer, BlobAuditing" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "blobAuditingPolicyName", - "in": "path", - "description": "The name of the blob auditing policy.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "BlobAuditingPolicyName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "description": "Properties of extended blob auditing policy.", - "required": true, - "schema": { - "$ref": "#/definitions/ExtendedServerBlobAuditingPolicy" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated the extended auditing settings.", - "schema": { - "$ref": "#/definitions/ExtendedServerBlobAuditingPolicy" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidServerBlobAuditingPolicyCreateRequest - The create server blob auditing policy request does not exist or has no properties object.\n\n * 400 InvalidBlobAuditActionsAndGroups - Invalid audit actions or action groups.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 BlobAuditingPredicateExpressionEmpty - Invalid parameter 'predicateExpression', value can not be empty.\n\n * 400 BlobAuditingInvalidStorageAccountCredentials - The provided storage account or access key is not valid.\n\n * 400 InvalidBlobAuditActionsAndGroups - Invalid audit actions or action groups.\n\n * 400 InsufficientDiskSpaceForAuditing - Insufficient disk space to save auditing metadata in the database\n\n * 400 InvalidBlobAuditActions - Invalid audit action\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 ServerBlobAuditingPolicyInProgress - Set server blob auditing is already in progress.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create or update workspace managed sql server's extended blob auditing policy of with minimal parameters": { - "$ref": "./examples/CreateWorkspaceManagedSqlServerExetendedBlobAuditingSettingsWithMinParameters.json" - }, - "Create or update workspace managed sql server's extended blob auditing policy of with all parameters": { - "$ref": "./examples/CreateWorkspaceManagedSqlServerExtendedBlobAuditingSettingsWithAllParameters.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/extendedAuditingSettings": { - "get": { - "operationId": "WorkspaceManagedSqlServerExtendedBlobAuditingPolicies_ListByWorkspace", - "summary": "List server's extended blob auditing policies.", - "description": "List workspace managed sql server's extended blob auditing policies.", - "tags": [ - "WorkspaceManagedSqlServer, BlobAuditing" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved extended auditing settings.", - "schema": { - "$ref": "#/definitions/ExtendedServerBlobAuditingPolicyListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get workspace managed sql server's extended blob auditing settings": { - "$ref": "./examples/ListWorkspaceManagedSqlServerExtendedBlobAuditingSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}": { - "get": { - "operationId": "WorkspaceManagedSqlServerSecurityAlertPolicy_Get", - "summary": "Get server's security alert policy.", - "description": "Get a workspace managed sql server's security alert policy.", - "tags": [ - "WorkspaceManagedSqlServer, SecurityAlertPolicies" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "securityAlertPolicyName", - "in": "path", - "description": "The name of the security alert policy.", - "required": true, - "type": "string", - "enum": [ - "Default" - ], - "x-ms-enum": { - "name": "SecurityAlertPolicyName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successfully retrieved security alert policy.", - "schema": { - "$ref": "#/definitions/ServerSecurityAlertPolicy" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidServerSecurityAlertPolicyCreateRequest - The create server Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 ServerSecurityAlertPolicyInProgress - Set server security alert policy is already in progress\n\n * 409 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetServerSecurityAlertPolicyFailed - Failed to get Threat Detection settings\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get workspace managed sql Server's security alert policy": { - "$ref": "./examples/GetWorkspaceManagedSqlServerSecurityAlertPolicy.json" - } - } - }, - "put": { - "operationId": "WorkspaceManagedSqlServerSecurityAlertPolicy_CreateOrUpdate", - "summary": "Create or Update server's threat detection policy.", - "description": "Create or Update a workspace managed sql server's threat detection policy.", - "tags": [ - "WorkspaceManagedSqlServer, SecurityAlertPolicies" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "securityAlertPolicyName", - "in": "path", - "description": "The name of the security alert policy.", - "required": true, - "type": "string", - "enum": [ - "Default" - ], - "x-ms-enum": { - "name": "SecurityAlertPolicyName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "description": "The workspace managed sql server security alert policy.", - "required": true, - "schema": { - "$ref": "#/definitions/ServerSecurityAlertPolicy" - } - } - ], - "responses": { - "200": { - "description": "Successfully updated threat detection policy.", - "schema": { - "$ref": "#/definitions/ServerSecurityAlertPolicy" - } - }, - "202": { - "description": "Accepted." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidServerSecurityAlertPolicyCreateRequest - The create server Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 ServerSecurityAlertPolicyInProgress - Set server security alert policy is already in progress\n\n * 409 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update a workspace managed sql server's threat detection policy with minimal parameters": { - "$ref": "./examples/WorkspaceManagedSqlServerSecurityAlertCreateWithMinParameters.json" - }, - "Update a workspace managed sql server's threat detection policy with all parameters": { - "$ref": "./examples/WorkspaceManagedSqlServerSecurityAlertWithAllParameters.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies": { - "get": { - "operationId": "WorkspaceManagedSqlServerSecurityAlertPolicy_List", - "summary": "Get server's threat detection policies.", - "description": "Get workspace managed sql server's threat detection policies.", - "tags": [ - "WorkspaceManagedSqlServer, SecurityAlertPolicies" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved threat detection policies.", - "schema": { - "$ref": "#/definitions/ServerSecurityAlertPolicyListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 SecurityAlertPoliciesInvalidStorageAccountCredentials - The provided storage account access key is not valid.\n\n * 400 InvalidServerSecurityAlertPolicyCreateRequest - The create server Threat Detection security alert policy request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 400 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 ServerSecurityAlertPolicyInProgress - Set server security alert policy is already in progress\n\n * 409 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 DatabaseIsUnavailable - Loading failed. Please try again later.\n\n * 500 UpsertServerSecurityAlertPolicyFailed - An error has occurred while saving Threat detection settings, please try again later\n\n * 500 GetServerSecurityAlertPolicyFailed - Failed to get Threat Detection settings\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get workspace managed sql server's security alert policy": { - "$ref": "./examples/ListWorkspaceManagedSqlServerSecurityAlertPolicies.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}": { - "get": { - "operationId": "WorkspaceManagedSqlServerVulnerabilityAssessments_Get", - "summary": "Get server's vulnerability assessment.", - "description": "Get workspace managed sql server's vulnerability assessment.", - "tags": [ - "WorkspaceManagedSqlServer, ServerVulnerabilityAssessments" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successfully retrieved vulnerability assessment.", - "schema": { - "$ref": "#/definitions/ServerVulnerabilityAssessment" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get workspace managed sql Server's vulnerability assessment": { - "$ref": "./examples/GetWorkspaceManagedSqlServerVulnerabilityAssessment.json" - } - } - }, - "put": { - "operationId": "WorkspaceManagedSqlServerVulnerabilityAssessments_CreateOrUpdate", - "summary": "Create or Update server's vulnerability assessment.", - "description": "Create or Update workspace managed sql server's vulnerability assessment.", - "tags": [ - "WorkspaceManagedSqlServer, ServerVulnerabilityAssessments" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "description": "Properties for vulnerability assessment.", - "required": true, - "schema": { - "$ref": "#/definitions/ServerVulnerabilityAssessment" - } - } - ], - "responses": { - "200": { - "description": "Successfully created vulnerability assessment.", - "schema": { - "$ref": "#/definitions/ServerVulnerabilityAssessment" - } - }, - "201": { - "description": "Successfully created the vulnerability assessment.", - "schema": { - "$ref": "#/definitions/ServerVulnerabilityAssessment" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 400 InvalidVulnerabilityAssessmentOperationRequest - The vulnerability assessment operation request does not exist or has no properties object.\n\n * 400 DataSecurityInvalidUserSuppliedParameter - An invalid parameter value was provided by the client.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Create or Update a workspace managed sql server's vulnerability assessment with minimal parameters, when storageContainerSasKey is specified": { - "$ref": "./examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateContainerSasKeyMin.json" - }, - "Create or Update a workspace managed sql server's vulnerability assessment with minimal parameters, when storageAccountAccessKey is specified": { - "$ref": "./examples/PutWorkspaceMangedSqlServerVulnerabilityAssessmentCreateStorageAccessKeyMin.json" - }, - "Create or Update a workspace managed sql server's vulnerability assessment with all parameters": { - "$ref": "./examples/PutWorkspaceManagedSqlServerVulnerabilityAssessmentWithAllParameters.json" - } - } - }, - "delete": { - "operationId": "WorkspaceManagedSqlServerVulnerabilityAssessments_Delete", - "summary": "Remove server's vulnerability assessment.", - "description": "Remove workspace managed sql server's vulnerability assessment.", - "tags": [ - "WorkspaceManagedSqlServer, ServerVulnerabilityAssessments" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "vulnerabilityAssessmentName", - "in": "path", - "description": "The name of the vulnerability assessment.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "VulnerabilityAssessmentName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successfully removed vulnerability assessment." - }, - "204": { - "description": "Specified vulnerability assessment policy does not exists." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Remove workspace managed sql Server's vulnerability assessment": { - "$ref": "./examples/DeleteWorkspaceManagedSqlServerVulnerabilityAssessment.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/vulnerabilityAssessments": { - "get": { - "operationId": "WorkspaceManagedSqlServerVulnerabilityAssessments_List", - "summary": "Lists the vulnerability assessment policies associated with a server.", - "description": "Lists the vulnerability assessment policies associated with a workspace managed sql server.", - "tags": [ - "WorkspaceManagedSqlServer, ServerVulnerabilityAssessments" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved vulnerability assessment policies.", - "schema": { - "$ref": "#/definitions/ServerVulnerabilityAssessmentListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidStorageAccountName - The provided storage account is not valid or does not exist.\n\n * 400 InvalidStorageAccountCredentials - The provided storage account shared access signature or account storage key is not valid.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get workspace managed sql Server's vulnerability assessment policies": { - "$ref": "./examples/ListWorkspaceManagedSqlServerVulnerabilityAssessmentPolicies.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector/{encryptionProtectorName}": { - "get": { - "operationId": "WorkspaceManagedSqlServerEncryptionProtector_Get", - "summary": "Get workspace server's encryption protector.", - "description": "Get workspace managed sql server's encryption protector.", - "tags": [ - "WorkspaceManagedSqlServer, ServerEncryptionProtector" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "encryptionProtectorName", - "in": "path", - "description": "The name of the encryption protector.", - "required": true, - "type": "string", - "enum": [ - "current" - ], - "x-ms-enum": { - "name": "EncryptionProtectorName", - "modelAsString": true - } - } - ], - "responses": { - "200": { - "description": "Successfully retrieved encryption protector.", - "schema": { - "$ref": "#/definitions/EncryptionProtector" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidKeyName - An invalid value was given for the server key name.\n\n * 400 InvalidKeyType - The create server key type is not supported.\n\n * 400 InvalidUpsertKeyType - Service Managed type keys are managed by Azure SQL. This key type does not support create or update by the user.\n\n * 400 InvalidKeyUpsertRequest - The create server key request does not exist or has no properties object.\n\n * 400 InvalidEncryptionProtectorName - The encryption protector key name is not supported.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get workspace managed sql Server's encryption protector": { - "$ref": "./examples/GetWorkspaceManagedSqlServerEncryptionProtector.json" - } - } - }, - "put": { - "operationId": "WorkspaceManagedSqlServerEncryptionProtector_CreateOrUpdate", - "summary": "Updates workspace server's encryption protector.", - "description": "Updates workspace managed sql server's encryption protector.", - "tags": [ - "WorkspaceManagedSqlServer, ServerEncryptionProtector" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "encryptionProtectorName", - "in": "path", - "description": "The name of the encryption protector.", - "required": true, - "type": "string", - "enum": [ - "current" - ], - "x-ms-enum": { - "name": "EncryptionProtectorName", - "modelAsString": true - } - }, - { - "name": "parameters", - "in": "body", - "description": "The requested encryption protector resource state.", - "required": true, - "schema": { - "$ref": "#/definitions/EncryptionProtector" - } - } - ], - "responses": { - "200": { - "description": "Successfully retrieved encryption protector.", - "schema": { - "$ref": "#/definitions/EncryptionProtector" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidKeyName - An invalid value was given for the server key name.\n\n * 400 InvalidKeyType - The create server key type is not supported.\n\n * 400 InvalidUpsertKeyType - Service Managed type keys are managed by Azure SQL. This key type does not support create or update by the user.\n\n * 400 InvalidKeyUpsertRequest - The create server key request does not exist or has no properties object.\n\n * 400 InvalidEncryptionProtectorName - The encryption protector key name is not supported.\n\n * 400 SecurityAzureKeyVaultGeoChainError - Creating secondary of secondary (a process known as chaining) is not supported when enabling Transparent Data Encryption using Azure Key Vault (BYOK).\n\n * 400 AzureKeyVaultInvalidExpirationDate - The operation could not be completed because the Azure Key Vault key expiration date is invalid.\n\n * 400 SecurityAzureKeyVaultUrlNullOrEmpty - The operation could not be completed because the Azure Key Vault Uri is null or empty.\n\n * 400 AzureKeyVaultInvalidUri - An invalid response from Azure Key Vault. Please use a valid Azure Key Vault URI.\n\n * 400 SecurityAzureKeyVaultInvalidKeyName - The operation could not be completed because of an invalid Server Key name.\n\n * 400 AzureKeyVaultMalformedVaultUri - The provided Key Vault uri is not valid.\n\n * 400 SecurityAdalPrincipalCertExpiredError - The operation could not be completed because the Azure Key Vault principal certificate has expired.\n\n * 400 SecurityInvalidAzureKeyVaultRecoveryLevel - The provided Key Vault uri is not valid.\n\n * 400 KeyMaterialNotFoundOnRemoteServer - Remote server does not have access to key material used as a TDE protector.\n\n * 400 AzureKeyVaultMismatchError - Unexpected Key Vault region found in the http response.\n\n * 400 AzureKeyVaultRsaKeyNotSupported - The provided key vault uses unsupported RSA Key Size or Key Type. The supported RSA key size is 2048 and Key Type is RSA.\n\n * 401 AzureKeyVaultKeyDisabled - The operation could not be completed on the server because the Azure Key Vault key is disabled.\n\n * 401 AzureKeyVaultNoServerIdentity - The server identity is not correctly configured.\n\n * 401 AzureKeyVaultMissingPermissions - The server is missing required permissions on the Azure Key Vault. \n\n * 401 AdalGenericError - The operation could not be completed because an Azure Active Directory error was encountered.\n\n * 401 AdalServicePrincipalNotFound - The operation could not be completed because an Azure Active Directory library Service Principal not found error was encountered.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 ServerKeyNotFound - The requested server key was not found on the current subscription.\n\n * 409 ServerKeyNameAlreadyExists - The server key already exists on the server.\n\n * 409 ServerKeyUriAlreadyExists - The server key URI already exists on the server.\n\n * 409 ServerKeyDoesNotExists - The server key does not exist.\n\n * 409 AzureKeyVaultKeyNameNotFound - The operation could not be completed because the Azure Key Vault Key name does not exist.\n\n * 409 AzureKeyVaultKeyInUse - The key is currently being used by the server.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong.\n\n * 503 AzureKeyVaultConnectionFailed - The operation could not be completed on the server because attempts to connect to Azure Key Vault have failed\n\n * 503 AzureKeyVaultGenericConnectionError - The operation could not be completed because an error was encountered when attempting to retrieve Key Vault information.", - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - } - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update the encryption protector to key vault": { - "$ref": "./examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateKeyVault.json" - }, - "Update the encryption protector to service managed": { - "$ref": "./examples/WorkspaceManagedSqlServerEncryptionProtectorCreateOrUpdateServiceManaged.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector": { - "get": { - "operationId": "WorkspaceManagedSqlServerEncryptionProtector_List", - "summary": "Get list of encryption protectors for the server.", - "description": "Get list of encryption protectors for workspace managed sql server.", - "tags": [ - "WorkspaceManagedSqlServer, ServerEncryptionProtector" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved encryption protectors.", - "schema": { - "$ref": "#/definitions/EncryptionProtectorListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidKeyName - An invalid value was given for the server key name.\n\n * 400 InvalidKeyType - The create server key type is not supported.\n\n * 400 InvalidUpsertKeyType - Service Managed type keys are managed by Azure SQL. This key type does not support create or update by the user.\n\n * 400 InvalidKeyUpsertRequest - The create server key request does not exist or has no properties object.\n\n * 400 InvalidEncryptionProtectorName - The encryption protector key name is not supported.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "Get workspace managed sql Server's encryption protectors": { - "$ref": "./examples/GetWorkspaceManagedSqlServerEncryptionProtectorList.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/encryptionProtector/{encryptionProtectorName}/revalidate": { - "post": { - "operationId": "WorkspaceManagedSqlServerEncryptionProtector_Revalidate", - "summary": "Revalidates server's existing encryption protector.", - "description": "Revalidates workspace managed sql server's existing encryption protector.", - "tags": [ - "WorkspaceManagedSqlServer, ServerEncryptionProtector" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "encryptionProtectorName", - "in": "path", - "description": "The name of the encryption protector.", - "required": true, - "type": "string", - "enum": [ - "current" - ], - "x-ms-enum": { - "name": "EncryptionProtectorName", - "modelAsString": true - } - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "Successfully revalidated the encryption protector." - }, - "default": { - "description": "*** Error Responses: ***\n\n * 400 InvalidKeyName - An invalid value was given for the server key name.\n\n * 400 InvalidKeyType - The create server key type is not supported.\n\n * 400 InvalidUpsertKeyType - Service Managed type keys are managed by Azure SQL. This key type does not support create or update by the user.\n\n * 400 InvalidKeyUpsertRequest - The create server key request does not exist or has no properties object.\n\n * 400 InvalidEncryptionProtectorName - The encryption protector key name is not supported.\n\n * 400 SecurityAzureKeyVaultGeoChainError - Creating secondary of secondary (a process known as chaining) is not supported when enabling Transparent Data Encryption using Azure Key Vault (BYOK).\n\n * 400 AzureKeyVaultInvalidExpirationDate - The operation could not be completed because the Azure Key Vault key expiration date is invalid.\n\n * 400 SecurityAzureKeyVaultUrlNullOrEmpty - The operation could not be completed because the Azure Key Vault Uri is null or empty.\n\n * 400 AzureKeyVaultInvalidUri - An invalid response from Azure Key Vault. Please use a valid Azure Key Vault URI.\n\n * 400 SecurityAzureKeyVaultInvalidKeyName - The operation could not be completed because of an invalid Server Key name.\n\n * 400 AzureKeyVaultMalformedVaultUri - The provided Key Vault uri is not valid.\n\n * 400 SecurityAdalPrincipalCertExpiredError - The operation could not be completed because the Azure Key Vault principal certificate has expired.\n\n * 400 SecurityInvalidAzureKeyVaultRecoveryLevel - The provided Key Vault uri is not valid.\n\n * 400 KeyMaterialNotFoundOnRemoteServer - Remote server does not have access to key material used as a TDE protector.\n\n * 400 AzureKeyVaultMismatchError - Unexpected Key Vault region found in the http response.\n\n * 400 AzureKeyVaultRsaKeyNotSupported - The provided key vault uses unsupported RSA Key Size or Key Type. The supported RSA key size is 2048 and Key Type is RSA.\n\n * 401 AzureKeyVaultKeyDisabled - The operation could not be completed on the server because the Azure Key Vault key is disabled.\n\n * 401 AzureKeyVaultNoServerIdentity - The server identity is not correctly configured.\n\n * 401 AzureKeyVaultMissingPermissions - The server is missing required permissions on the Azure Key Vault. \n\n * 401 AdalGenericError - The operation could not be completed because an Azure Active Directory error was encountered.\n\n * 401 AdalServicePrincipalNotFound - The operation could not be completed because an Azure Active Directory library Service Principal not found error was encountered.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found\n\n * 404 ResourceNotFound - The requested resource was not found.\n\n * 404 ServerKeyNotFound - The requested server key was not found on the current subscription.\n\n * 409 ServerKeyNameAlreadyExists - The server key already exists on the server.\n\n * 409 ServerKeyUriAlreadyExists - The server key URI already exists on the server.\n\n * 409 ServerKeyDoesNotExists - The server key does not exist.\n\n * 409 AzureKeyVaultKeyNameNotFound - The operation could not be completed because the Azure Key Vault Key name does not exist.\n\n * 409 AzureKeyVaultKeyInUse - The key is currently being used by the server.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong.\n\n * 503 AzureKeyVaultConnectionFailed - The operation could not be completed on the server because attempts to connect to Azure Key Vault have failed\n\n * 503 AzureKeyVaultGenericConnectionError - The operation could not be completed because an error was encountered when attempting to retrieve Key Vault information ." - }, - "202": { - "description": "Accepted" - } - }, - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Revalidates the encryption protector": { - "$ref": "./examples/WorkspaceManagedSqlServerEncryptionProtectorRevalidate.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlUsages": { - "get": { - "tags": [ - "WorkspaceManagedSqlServer, sqlUsages" - ], - "operationId": "WorkspaceManagedSqlServerUsages_List", - "summary": "Get list of usages metric for the server.", - "description": "Get list of server usages metric for workspace managed sql server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ServerUsageListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List usages metric for the workspace managed sql server": { - "$ref": "./examples/ListWorkspaceManagedSqlServerUsages.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/recoverableSqlPools": { - "get": { - "tags": [ - "WorkspaceManagedSqlServer", - "recoverableSqlPools" - ], - "operationId": "WorkspaceManagedSqlServerRecoverableSqlPools_List", - "summary": "Get list of recoverable sql pools for the server.", - "description": "Get list of recoverable sql pools for workspace managed sql server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecoverableSqlPoolListResult" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List recoverable sql pools for the server": { - "$ref": "./examples/ListWorkspaceManagedSqlServerRecoverableSqlPool.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/recoverableSqlPools/{sqlPoolName}": { - "get": { - "tags": [ - "WorkspaceManagedSqlServer", - "recoverableSqlPools" - ], - "operationId": "WorkspaceManagedSqlServerRecoverableSqlPools_Get", - "summary": "Get recoverable sql pools for the server.", - "description": "Get recoverable sql pools for workspace managed sql server.", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "sqlPoolName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the sql pool" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RecoverableSqlPool" - } - }, - "default": { - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get recoverable sql pools for the server": { - "$ref": "./examples/GetWorkspaceManagedSqlServerRecoverableSqlPool.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings/{dedicatedSQLminimalTlsSettingsName}": { - "put": { - "operationId": "WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettings_Update", - "summary": "Update server's tls settings.", - "description": "Update workspace managed sql server's minimal tls settings.", - "tags": [ - "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "dedicatedSQLminimalTlsSettingsName", - "in": "path", - "description": "The name of the dedicated sql minimal tls settings.", - "required": true, - "type": "string", - "enum": [ - "default" - ], - "x-ms-enum": { - "name": "DedicatedSQLMinimalTlsSettingsName", - "modelAsString": true - } - }, - { - "schema": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" - }, - "in": "body", - "name": "parameters", - "description": "minimal tls settings", - "required": true - } - ], - "responses": { - "200": { - "description": "Successfully updated dedicated sql minimal tls settings.", - "schema": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" - } - }, - "202": { - "description": "Accepted" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Update tls version of the workspace managed sql server": { - "$ref": "./examples/UpdateWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" - } - } - }, - "get": { - "operationId": "WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettings_Get", - "summary": "Get server's minimal tls settings.", - "description": "Get workspace managed sql server's minimal tls settings.", - "tags": [ - "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "dedicatedSQLminimalTlsSettingsName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the dedicated sql minimal tls settings." - } - ], - "responses": { - "200": { - "description": "Successfully retrieved dedicated sql minimal tls settings.", - "schema": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get workspace managed sql server dedicated sql minimal tls settings": { - "$ref": "./examples/GetWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/dedicatedSQLminimalTlsSettings": { - "get": { - "operationId": "WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettings_List", - "summary": "List workspace server's minimal tls settings.", - "description": "List workspace managed sql server's minimal tls settings.", - "tags": [ - "WorkspaceManagedSqlServer, DedicatedSQLminimalTlsSettings" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "Successfully retrieved dedicated sql minimal tls settings.", - "schema": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsListResult" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "*** Error Responses: ***\n\n * 404 SubscriptionDoesNotHaveServer - The requested server was not found.\n\n * 404 ServerNotInSubscriptionResourceGroup - Specified server does not exist in the specified resource group and subscription.\n\n * 409 UnsupportedWorkspaceType - Unsupported operation for the workspace type.\n\n * 500 InternalServerError - Something went wrong." - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List dedicated sql minimal tls settings of the workspace managed sql server": { - "$ref": "./examples/ListWorkspaceManagedSqlServerDedicatedSQLminimalTlsSettings.json" - } - } - } - } - }, - "definitions": { - "ServerBlobAuditingPolicyProperties": { - "description": "Properties of a server blob auditing policy.", - "required": [ - "state" - ], - "type": "object", - "properties": { - "state": { - "description": "Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "BlobAuditingPolicyState", - "modelAsString": false - } - }, - "storageEndpoint": { - "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.", - "type": "string" - }, - "storageAccountAccessKey": { - "description": "Specifies the identifier key of the auditing storage account. \r\nIf state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage.\r\nPrerequisites for using managed identity authentication:\r\n1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).\r\n2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity.\r\nFor more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355)", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "retentionDays": { - "format": "int32", - "description": "Specifies the number of days to keep in the audit logs in the storage account.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "auditActionsAndGroups": { - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "storageAccountSubscriptionId": { - "format": "uuid", - "description": "Specifies the blob storage subscription Id.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isStorageSecondaryKeyInUse": { - "description": "Specifies whether storageAccountAccessKey value is the storage's secondary key.", - "type": "boolean" - }, - "isAzureMonitorTargetEnabled": { - "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", - "type": "boolean" - }, - "queueDelayMs": { - "format": "int32", - "description": "Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed.\r\nThe default minimum value is 1000 (1 second). The maximum is 2,147,483,647.", - "type": "integer" - }, - "isDevopsAuditEnabled": { - "description": "Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor.\r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", - "type": "boolean" - } - } - }, - "ServerBlobAuditingPolicy": { - "description": "A server blob auditing policy.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ServerBlobAuditingPolicyProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "ServerBlobAuditingPolicyListResult": { - "description": "A list of server auditing settings.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/ServerBlobAuditingPolicy" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "ExtendedServerBlobAuditingPolicyProperties": { - "description": "Properties of an extended server blob auditing policy.", - "required": [ - "state" - ], - "type": "object", - "properties": { - "predicateExpression": { - "description": "Specifies condition of where clause when creating an audit.", - "type": "string" - }, - "state": { - "description": "Specifies the state of the policy. If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled are required.", - "enum": [ - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "BlobAuditingPolicyState", - "modelAsString": false - } - }, - "storageEndpoint": { - "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). If state is Enabled, storageEndpoint or isAzureMonitorTargetEnabled is required.", - "type": "string" - }, - "storageAccountAccessKey": { - "description": "Specifies the identifier key of the auditing storage account. \r\nIf state is Enabled and storageEndpoint is specified, not specifying the storageAccountAccessKey will use SQL server system-assigned managed identity to access the storage.\r\nPrerequisites for using managed identity authentication:\r\n1. Assign SQL Server a system-assigned managed identity in Azure Active Directory (AAD).\r\n2. Grant SQL Server identity access to the storage account by adding 'Storage Blob Data Contributor' RBAC role to the server identity.\r\nFor more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355)", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "retentionDays": { - "format": "int32", - "description": "Specifies the number of days to keep in the audit logs in the storage account.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "auditActionsAndGroups": { - "description": "Specifies the Actions-Groups and Actions to audit.\r\n\r\nThe recommended set of action groups to use is the following combination - this will audit all the queries and stored procedures executed against the database, as well as successful and failed logins:\r\n\r\nBATCH_COMPLETED_GROUP,\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP,\r\nFAILED_DATABASE_AUTHENTICATION_GROUP.\r\n\r\nThis above combination is also the set that is configured by default when enabling auditing from the Azure portal.\r\n\r\nThe supported action groups to audit are (note: choose only specific groups that cover your auditing needs. Using unnecessary groups could lead to very large quantities of audit records):\r\n\r\nAPPLICATION_ROLE_CHANGE_PASSWORD_GROUP\r\nBACKUP_RESTORE_GROUP\r\nDATABASE_LOGOUT_GROUP\r\nDATABASE_OBJECT_CHANGE_GROUP\r\nDATABASE_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nDATABASE_OBJECT_PERMISSION_CHANGE_GROUP\r\nDATABASE_OPERATION_GROUP\r\nDATABASE_PERMISSION_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_CHANGE_GROUP\r\nDATABASE_PRINCIPAL_IMPERSONATION_GROUP\r\nDATABASE_ROLE_MEMBER_CHANGE_GROUP\r\nFAILED_DATABASE_AUTHENTICATION_GROUP\r\nSCHEMA_OBJECT_ACCESS_GROUP\r\nSCHEMA_OBJECT_CHANGE_GROUP\r\nSCHEMA_OBJECT_OWNERSHIP_CHANGE_GROUP\r\nSCHEMA_OBJECT_PERMISSION_CHANGE_GROUP\r\nSUCCESSFUL_DATABASE_AUTHENTICATION_GROUP\r\nUSER_CHANGE_PASSWORD_GROUP\r\nBATCH_STARTED_GROUP\r\nBATCH_COMPLETED_GROUP\r\n\r\nThese are groups that cover all sql statements and stored procedures executed against the database, and should not be used in combination with other groups as this will result in duplicate audit logs.\r\n\r\nFor more information, see [Database-Level Audit Action Groups](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-action-groups).\r\n\r\nFor Database auditing policy, specific Actions can also be specified (note that Actions cannot be specified for Server auditing policy). The supported actions to audit are:\r\nSELECT\r\nUPDATE\r\nINSERT\r\nDELETE\r\nEXECUTE\r\nRECEIVE\r\nREFERENCES\r\n\r\nThe general form for defining an action to be audited is:\r\n{action} ON {object} BY {principal}\r\n\r\nNote that in the above format can refer to an object like a table, view, or stored procedure, or an entire database or schema. For the latter cases, the forms DATABASE::{db_name} and SCHEMA::{schema_name} are used, respectively.\r\n\r\nFor example:\r\nSELECT on dbo.myTable by public\r\nSELECT on DATABASE::myDatabase by public\r\nSELECT on SCHEMA::mySchema by public\r\n\r\nFor more information, see [Database-Level Audit Actions](https://docs.microsoft.com/en-us/sql/relational-databases/security/auditing/sql-server-audit-action-groups-and-actions#database-level-audit-actions)", - "type": "array", - "items": { - "type": "string" - } - }, - "storageAccountSubscriptionId": { - "format": "uuid", - "description": "Specifies the blob storage subscription Id.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "isStorageSecondaryKeyInUse": { - "description": "Specifies whether storageAccountAccessKey value is the storage's secondary key.", - "type": "boolean" - }, - "isAzureMonitorTargetEnabled": { - "description": "Specifies whether audit events are sent to Azure Monitor. \r\nIn order to send the events to Azure Monitor, specify 'state' as 'Enabled' and 'isAzureMonitorTargetEnabled' as true.\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'SQLSecurityAuditEvents' diagnostic logs category on the database should be also created.\r\nNote that for server level audit you should use the 'master' database as {databaseName}.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", - "type": "boolean" - }, - "queueDelayMs": { - "format": "int32", - "description": "Specifies the amount of time in milliseconds that can elapse before audit actions are forced to be processed.\r\nThe default minimum value is 1000 (1 second). The maximum is 2,147,483,647.", - "type": "integer" - }, - "isDevopsAuditEnabled": { - "description": "Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor.\r\nIn order to send the events to Azure Monitor, specify 'State' as 'Enabled', 'IsAzureMonitorTargetEnabled' as true and 'IsDevopsAuditEnabled' as true\r\n\r\nWhen using REST API to configure auditing, Diagnostic Settings with 'DevOpsOperationsAudit' diagnostic logs category on the master database should also be created.\r\n\r\nDiagnostic Settings URI format:\r\nPUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview\r\n\r\nFor more information, see [Diagnostic Settings REST API](https://go.microsoft.com/fwlink/?linkid=2033207)\r\nor [Diagnostic Settings PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043)\r\n", - "type": "boolean" - } - } - }, - "ExtendedServerBlobAuditingPolicy": { - "description": "An extended server blob auditing policy.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ExtendedServerBlobAuditingPolicyProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "ExtendedServerBlobAuditingPolicyListResult": { - "description": "A list of server extended auditing settings.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/ExtendedServerBlobAuditingPolicy" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "ServerSecurityAlertPolicyProperties": { - "description": "Properties of a security alert policy.", - "required": [ - "state" - ], - "type": "object", - "properties": { - "state": { - "description": "Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific server", - "enum": [ - "New", - "Enabled", - "Disabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SecurityAlertPolicyState", - "modelAsString": false - } - }, - "disabledAlerts": { - "description": "Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "emailAddresses": { - "description": "Specifies an array of e-mail addresses to which the alert is sent.", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-mutability": [ - "create", - "read" - ] - }, - "emailAccountAdmins": { - "description": "Specifies that the alert is sent to the account administrators.", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "storageEndpoint": { - "description": "Specifies the blob storage endpoint (e.g. https://MyAccount.blob.core.windows.net). This blob storage will hold all Threat Detection audit logs.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "storageAccountAccessKey": { - "description": "Specifies the identifier key of the Threat Detection audit storage account.", - "type": "string" - }, - "retentionDays": { - "format": "int32", - "description": "Specifies the number of days to keep in the Threat Detection audit logs.", - "type": "integer", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "creationTime": { - "format": "date-time", - "description": "Specifies the UTC creation time of the policy.", - "type": "string", - "readOnly": true - } - } - }, - "ServerSecurityAlertPolicy": { - "description": "Workspace managed Sql server security alert policy.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ServerSecurityAlertPolicyProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "ServerSecurityAlertPolicyListResult": { - "description": "A list of the workspace managed sql server's security alert policies.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/ServerSecurityAlertPolicy" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "ServerVulnerabilityAssessmentProperties": { - "description": "Properties of a server Vulnerability Assessment.", - "type": "object", - "required": [ - "storageContainerPath" - ], - "properties": { - "storageContainerPath": { - "description": "A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/).", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "storageContainerSasKey": { - "description": "A shared access signature (SAS Key) that has read and write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "storageAccountAccessKey": { - "description": "Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required.", - "type": "string", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "recurringScans": { - "$ref": "#/definitions/VulnerabilityAssessmentRecurringScansProperties", - "description": "The recurring scans settings" - } - } - }, - "VulnerabilityAssessmentRecurringScansProperties": { - "description": "Properties of a Vulnerability Assessment recurring scans.", - "type": "object", - "properties": { - "isEnabled": { - "description": "Recurring scans state.", - "type": "boolean" - }, - "emailSubscriptionAdmins": { - "description": "Specifies that the schedule scan notification will be is sent to the subscription administrators.", - "default": true, - "type": "boolean" - }, - "emails": { - "description": "Specifies an array of e-mail addresses to which the scan notification is sent.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "ServerVulnerabilityAssessment": { - "description": "A server vulnerability assessment.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "$ref": "#/definitions/ServerVulnerabilityAssessmentProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "ServerVulnerabilityAssessmentListResult": { - "description": "A list of the server's vulnerability assessments.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/ServerVulnerabilityAssessment" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "EncryptionProtectorListResult": { - "description": "A list of server encryption protectors.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/EncryptionProtector" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "EncryptionProtectorProperties": { - "description": "Properties for an encryption protector execution.", - "required": [ - "serverKeyType" - ], - "type": "object", - "properties": { - "subregion": { - "description": "Subregion of the encryption protector.", - "type": "string", - "readOnly": true - }, - "serverKeyName": { - "description": "The name of the server key.", - "type": "string" - }, - "serverKeyType": { - "description": "The encryption protector type like 'ServiceManaged', 'AzureKeyVault'.", - "enum": [ - "ServiceManaged", - "AzureKeyVault" - ], - "type": "string", - "x-ms-enum": { - "name": "ServerKeyType", - "modelAsString": true - } - }, - "uri": { - "description": "The URI of the server key.", - "type": "string", - "readOnly": true - }, - "thumbprint": { - "description": "Thumbprint of the server key.", - "type": "string", - "readOnly": true - } - } - }, - "EncryptionProtector": { - "description": "The server encryption protector.", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "kind": { - "description": "Kind of encryption protector. This is metadata used for the Azure portal experience.", - "type": "string", - "readOnly": true - }, - "location": { - "description": "Resource location.", - "type": "string", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/EncryptionProtectorProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "ServerUsage": { - "type": "object", - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Name of the server usage metric." - }, - "resourceName": { - "readOnly": true, - "type": "string", - "description": "The name of the resource." - }, - "displayName": { - "readOnly": true, - "type": "string", - "description": "The metric display name." - }, - "currentValue": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "The current value of the metric." - }, - "limit": { - "readOnly": true, - "type": "number", - "format": "double", - "description": "The current limit of the metric." - }, - "unit": { - "readOnly": true, - "type": "string", - "description": "The units of the metric." - }, - "nextResetTime": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The next reset time for the metric (ISO8601 format)." - } - }, - "description": "Represents server metrics." - }, - "ServerUsageListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/ServerUsage" - }, - "description": "The list of server metrics for the server.", - "x-ms-identifiers": [] - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - }, - "required": [ - "value" - ], - "description": "Represents the response to a list server metrics request." - }, - "RecoverableSqlPoolProperties": { - "type": "object", - "properties": { - "edition": { - "readOnly": true, - "type": "string", - "description": "The edition of the database" - }, - "serviceLevelObjective": { - "readOnly": true, - "type": "string", - "description": "The service level objective name of the database" - }, - "elasticPoolName": { - "readOnly": true, - "type": "string", - "description": "The elastic pool name of the database" - }, - "lastAvailableBackupDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The last available backup date of the database (ISO8601 format)" - } - }, - "description": "The properties of a recoverable sql pool" - }, - "RecoverableSqlPool": { - "type": "object", - "properties": { - "properties": { - "$ref": "#/definitions/RecoverableSqlPoolProperties", - "description": "The properties of a recoverable sql pool", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "description": "A recoverable sql pool" - }, - "RecoverableSqlPoolListResult": { - "description": "The response to a list recoverable sql pools request", - "type": "object", - "properties": { - "value": { - "description": "A list of recoverable sql pool", - "type": "array", - "items": { - "$ref": "#/definitions/RecoverableSqlPool" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - }, - "DedicatedSQLminimalTlsSettingsPatchInfo": { - "type": "object", - "title": "Dedicated SQL minimal tls settings patch info", - "description": "Dedicated SQL minimal tls settings patch info", - "properties": { - "minimalTlsVersion": { - "type": "string", - "description": "minimal tls version" - } - } - }, - "DedicatedSQLminimalTlsSettingsProperties": { - "description": "Properties of a dedicated sql minimal tls settings.", - "type": "object", - "properties": { - "minimalTlsVersion": { - "type": "string", - "description": "The minimal tls version of the sql server." - } - } - }, - "DedicatedSQLminimalTlsSettings": { - "description": "Dedicated Sql Minimal Tls Settings Info", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "location": { - "description": "Resource location.", - "type": "string", - "readOnly": true - }, - "properties": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettingsProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - } - }, - "DedicatedSQLminimalTlsSettingsListResult": { - "description": "A list of the server's dedicated sql minimal tls settings.", - "type": "object", - "properties": { - "value": { - "description": "Array of results.", - "type": "array", - "items": { - "$ref": "#/definitions/DedicatedSQLminimalTlsSettings" - }, - "readOnly": true - }, - "nextLink": { - "description": "Link to retrieve next page of results.", - "type": "string", - "readOnly": true - } - } - } - } -} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/workspace.json b/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/workspace.json deleted file mode 100644 index e4bfcb257102..000000000000 --- a/specification/synapse/resource-manager/Microsoft.Synapse/stable/2023-05-01/workspace.json +++ /dev/null @@ -1,1564 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2023-05-01", - "title": "SynapseManagementClient", - "description": "Azure Synapse Analytics APIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "securityDefinitions": { - "azure_auth": { - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "type": "oauth2", - "scopes": { - "user_impersonation": "impersonate your user account" - }, - "description": "Azure Active Directory OAuth2 Flow" - } - }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces": { - "get": { - "operationId": "Workspaces_ListByResourceGroup", - "description": "Returns a list of workspaces in a resource group", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/WorkspaceInfoListResult" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List workspaces in resource group": { - "$ref": "./examples/ListWorkspacesInResourceGroup.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}": { - "get": { - "operationId": "Workspaces_Get", - "description": "Gets a workspace", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/Workspace" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get a workspace": { - "$ref": "./examples/GetWorkspace.json" - } - } - }, - "patch": { - "operationId": "Workspaces_Update", - "description": "Updates a workspace", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "schema": { - "$ref": "#/definitions/WorkspacePatchInfo" - }, - "in": "body", - "name": "workspacePatchInfo", - "required": true, - "description": "Workspace patch request properties" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/Workspace" - }, - "description": "" - }, - "201": { - "schema": { - "$ref": "#/definitions/Workspace" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Update a workspace": { - "$ref": "./examples/UpdateWorkspace.json" - } - } - }, - "put": { - "operationId": "Workspaces_CreateOrUpdate", - "description": "Creates or updates a workspace", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "description": "Workspace create or update request properties", - "schema": { - "$ref": "#/definitions/Workspace" - }, - "in": "body", - "name": "workspaceInfo", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/Workspace" - }, - "description": "" - }, - "201": { - "schema": { - "$ref": "#/definitions/Workspace" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Create or update a workspace": { - "$ref": "./examples/CreateOrUpdateWorkspace.json" - } - } - }, - "delete": { - "operationId": "Workspaces_Delete", - "description": "Deletes a workspace", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/Workspace" - }, - "description": "OK" - }, - "202": { - "schema": { - "$ref": "#/definitions/Workspace" - }, - "description": "" - }, - "204": { - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Delete a workspace": { - "$ref": "./examples/DeleteWorkspace.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/workspaces": { - "get": { - "operationId": "Workspaces_List", - "description": "Returns a list of workspaces in a subscription", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/WorkspaceInfoListResult" - }, - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "x-ms-examples": { - "List workspaces in subscription": { - "$ref": "./examples/ListWorkspacesInSubscription.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/administrators/activeDirectory": { - "get": { - "operationId": "WorkspaceAadAdmins_Get", - "description": "Gets a workspace active directory admin", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/WorkspaceAadAdminInfo" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get workspace active directory admin": { - "$ref": "./examples/GetWorkspaceAadAdmin.json" - } - } - }, - "put": { - "operationId": "WorkspaceAadAdmins_CreateOrUpdate", - "description": "Creates or updates a workspace active directory admin", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "description": "Workspace active directory administrator properties", - "schema": { - "$ref": "#/definitions/WorkspaceAadAdminInfo" - }, - "in": "body", - "name": "aadAdminInfo", - "required": true - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/WorkspaceAadAdminInfo" - } - }, - "202": { - "description": "", - "schema": { - "$ref": "#/definitions/WorkspaceAadAdminInfo" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Create or update workspace active directory admin": { - "$ref": "./examples/CreateOrUpdateWorkspaceAadAdmin.json" - } - } - }, - "delete": { - "operationId": "WorkspaceAadAdmins_Delete", - "description": "Deletes a workspace active directory admin", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "" - }, - "204": { - "description": "Accepted" - }, - "202": { - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Delete workspace active directory admin": { - "$ref": "./examples/DeleteWorkspaceAadAdmin.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/sqlAdministrators/activeDirectory": { - "get": { - "operationId": "WorkspaceSqlAadAdmins_Get", - "description": "Gets a workspace SQL active directory admin", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/WorkspaceAadAdminInfo" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get workspace active directory admin": { - "$ref": "./examples/GetWorkspaceAadAdmin.json" - } - } - }, - "put": { - "operationId": "WorkspaceSqlAadAdmins_CreateOrUpdate", - "description": "Creates or updates a workspace SQL active directory admin", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "description": "Workspace active directory administrator properties", - "schema": { - "$ref": "#/definitions/WorkspaceAadAdminInfo" - }, - "in": "body", - "name": "aadAdminInfo", - "required": true - } - ], - "responses": { - "200": { - "description": "", - "schema": { - "$ref": "#/definitions/WorkspaceAadAdminInfo" - } - }, - "202": { - "description": "", - "schema": { - "$ref": "#/definitions/WorkspaceAadAdminInfo" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Create or update workspace active directory admin": { - "$ref": "./examples/CreateOrUpdateWorkspaceAadAdmin.json" - } - } - }, - "delete": { - "operationId": "WorkspaceSqlAadAdmins_Delete", - "description": "Deletes a workspace SQL active directory admin", - "tags": [ - "Workspaces" - ], - "deprecated": false, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "description": "" - }, - "204": { - "description": "Accepted" - }, - "202": { - "description": "" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "" - } - }, - "consumes": [], - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "location" - }, - "x-ms-examples": { - "Delete workspace active directory admin": { - "$ref": "./examples/DeleteWorkspaceAadAdmin.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/managedIdentitySqlControlSettings/default": { - "get": { - "operationId": "WorkspaceManagedIdentitySqlControlSettings_Get", - "summary": "Get Managed Identity Sql Control Settings", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/ManagedIdentitySqlControlSettingsModel" - }, - "description": "OK" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "Error" - } - }, - "produces": [ - "application/json" - ], - "x-ms-examples": { - "Get managed identity sql control settings": { - "$ref": "./examples/GetManagedIdentitySqlControlSettings.json" - } - } - }, - "put": { - "operationId": "WorkspaceManagedIdentitySqlControlSettings_CreateOrUpdate", - "summary": "Create or update Managed Identity Sql Control Settings", - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "description": "Managed Identity Sql Control Settings", - "schema": { - "$ref": "#/definitions/ManagedIdentitySqlControlSettingsModel" - }, - "in": "body", - "name": "managedIdentitySqlControlSettings", - "required": true - } - ], - "responses": { - "200": { - "schema": { - "$ref": "#/definitions/ManagedIdentitySqlControlSettingsModel" - }, - "description": "OK" - }, - "201": { - "schema": { - "$ref": "#/definitions/ManagedIdentitySqlControlSettingsModel" - }, - "description": "Created" - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "Error" - } - }, - "produces": [ - "application/json" - ], - "x-ms-long-running-operation": true, - "x-ms-long-running-operation-options": { - "final-state-via": "azure-async-operation" - }, - "x-ms-examples": { - "Create or update managed identity sql control settings": { - "$ref": "./examples/CreateOrUpdateManagedIdentitySqlControlSettings.json" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/restorableDroppedSqlPools/{restorableDroppedSqlPoolId}": { - "get": { - "tags": [ - "RestorableDroppedSqlPools" - ], - "operationId": "RestorableDroppedSqlPools_Get", - "description": "Gets a deleted sql pool that can be restored", - "x-ms-examples": { - "Get a restorable dropped Sql pool": { - "$ref": "./examples/RestorableDroppedSqlPoolGet.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - }, - { - "name": "restorableDroppedSqlPoolId", - "in": "path", - "required": true, - "type": "string", - "description": "The id of the deleted Sql Pool in the form of sqlPoolName,deletionTimeInFileTimeFormat" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RestorableDroppedSqlPool" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "Error" - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/restorableDroppedSqlPools": { - "get": { - "tags": [ - "RestorableDroppedSqlPools" - ], - "operationId": "RestorableDroppedSqlPools_ListByWorkspace", - "description": "Gets a list of deleted Sql pools that can be restored", - "x-ms-examples": { - "Get list of restorable dropped Sql pools": { - "$ref": "./examples/RestorableDroppedSqlpoolList.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" - } - ], - "consumes": [], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RestorableDroppedSqlPoolListResult" - } - }, - "default": { - "schema": { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" - }, - "description": "Error" - } - }, - "x-ms-pageable": { - "nextLinkName": null - } - } - } - }, - "definitions": { - "AadAdminProperties": { - "description": "Workspace active directory administrator properties", - "type": "object", - "properties": { - "tenantId": { - "description": "Tenant ID of the workspace active directory administrator", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "login": { - "description": "Login of the workspace active directory administrator", - "type": "string" - }, - "administratorType": { - "description": "Workspace active directory administrator type", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "sid": { - "description": "Object ID of the workspace active directory administrator", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - }, - "WorkspaceInfoListResult": { - "description": "List of workspaces", - "type": "object", - "properties": { - "nextLink": { - "description": "Link to the next page of results", - "type": "string" - }, - "value": { - "description": "List of workspaces", - "type": "array", - "items": { - "$ref": "#/definitions/Workspace" - } - } - } - }, - "DataLakeStorageAccountDetails": { - "description": "Details of the data lake storage account associated with the workspace", - "type": "object", - "properties": { - "accountUrl": { - "description": "Account URL", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "filesystem": { - "description": "Filesystem name", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "resourceId": { - "description": "ARM resource Id of this storage account", - "type": "string" - }, - "createManagedPrivateEndpoint": { - "description": "Create managed private endpoint to this storage account or not", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - }, - "EncryptionDetails": { - "description": "Details of the encryption associated with the workspace", - "type": "object", - "properties": { - "doubleEncryptionEnabled": { - "description": "Double Encryption enabled", - "type": "boolean", - "readOnly": true - }, - "cmk": { - "description": "Customer Managed Key Details", - "$ref": "#/definitions/CustomerManagedKeyDetails" - } - } - }, - "CustomerManagedKeyDetails": { - "description": "Details of the customer managed key associated with the workspace", - "type": "object", - "properties": { - "status": { - "description": "The customer managed key status on the workspace", - "type": "string", - "readOnly": true - }, - "key": { - "description": "The key object of the workspace", - "$ref": "#/definitions/WorkspaceKeyDetails" - }, - "kekIdentity": { - "description": "Key encryption key", - "$ref": "#/definitions/KekIdentityProperties" - } - } - }, - "KekIdentityProperties": { - "description": "Key encryption key properties", - "type": "object", - "properties": { - "userAssignedIdentity": { - "description": "User assigned identity resource Id", - "type": "string" - }, - "useSystemAssignedIdentity": { - "description": "Boolean specifying whether to use system assigned identity or not" - } - } - }, - "WorkspaceKeyDetails": { - "description": "Details of the customer managed key associated with the workspace", - "type": "object", - "properties": { - "name": { - "description": "Workspace Key sub-resource name", - "type": "string" - }, - "keyVaultUrl": { - "description": "Workspace Key sub-resource key vault url", - "type": "string" - } - } - }, - "ManagedIdentity": { - "description": "The workspace managed identity", - "type": "object", - "properties": { - "principalId": { - "description": "The principal ID of the workspace managed identity", - "type": "string", - "readOnly": true - }, - "tenantId": { - "description": "The tenant ID of the workspace managed identity", - "type": "string", - "format": "uuid", - "readOnly": true - }, - "type": { - "description": "The type of managed identity for the workspace", - "enum": [ - "None", - "SystemAssigned", - "SystemAssigned,UserAssigned" - ], - "type": "string", - "x-ms-enum": { - "name": "ResourceIdentityType", - "modelAsString": false - } - }, - "userAssignedIdentities": { - "description": "The user assigned managed identities.", - "$ref": "#/definitions/UserAssignedManagedIdentities" - } - } - }, - "UserAssignedManagedIdentities": { - "type": "object", - "description": "The User Assigned Managed Identities.", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedManagedIdentity" - } - }, - "UserAssignedManagedIdentity": { - "description": "User Assigned Managed Identity", - "properties": { - "clientId": { - "type": "string", - "format": "uuid", - "description": "The client ID.", - "readOnly": true, - "x-nullable": true - }, - "principalId": { - "type": "string", - "format": "uuid", - "description": "The principal ID.", - "readOnly": true, - "x-nullable": true - } - }, - "type": "object" - }, - "VirtualNetworkProfile": { - "description": "Virtual Network Profile", - "type": "object", - "properties": { - "computeSubnetId": { - "description": "Subnet ID used for computes in workspace", - "type": "string" - } - } - }, - "ManagedVirtualNetworkSettings": { - "description": "Managed Virtual Network Settings", - "type": "object", - "properties": { - "preventDataExfiltration": { - "description": "Prevent Data Exfiltration", - "type": "boolean" - }, - "linkedAccessCheckOnTargetResource": { - "description": "Linked Access Check On Target Resource", - "type": "boolean", - "x-ms-mutability": [ - "create", - "read", - "update" - ] - }, - "allowedAadTenantIdsForLinking": { - "description": "Allowed Aad Tenant Ids For Linking", - "type": "array", - "items": { - "type": "string", - "description": "Tenant Id" - } - } - } - }, - "WorkspaceRepositoryConfiguration": { - "description": "Git integration settings", - "type": "object", - "properties": { - "type": { - "description": "Type of workspace repositoryID configuration. Example WorkspaceVSTSConfiguration, WorkspaceGitHubConfiguration", - "type": "string" - }, - "hostName": { - "description": "GitHub Enterprise host name. For example: https://github.mydomain.com", - "type": "string" - }, - "accountName": { - "description": "Account name", - "type": "string" - }, - "projectName": { - "description": "VSTS project name", - "type": "string" - }, - "repositoryName": { - "description": "Repository name", - "type": "string" - }, - "collaborationBranch": { - "description": "Collaboration branch", - "type": "string" - }, - "rootFolder": { - "description": "Root folder to use in the repository", - "type": "string" - }, - "lastCommitId": { - "description": "The last commit ID", - "type": "string" - }, - "tenantId": { - "description": "The VSTS tenant ID", - "type": "string", - "format": "uuid" - } - } - }, - "PurviewConfiguration": { - "description": "Purview Configuration", - "type": "object", - "properties": { - "purviewResourceId": { - "description": "Purview Resource ID", - "type": "string" - } - } - }, - "WorkspaceAadAdminInfo": { - "description": "Workspace active directory administrator", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "description": "Workspace active directory administrator properties", - "$ref": "#/definitions/AadAdminProperties", - "x-ms-client-flatten": true - } - } - }, - "CspWorkspaceAdminProperties": { - "type": "object", - "description": "Initial workspace AAD admin properties for a CSP subscription", - "properties": { - "initialWorkspaceAdminObjectId": { - "description": "AAD object ID of initial workspace admin", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - } - }, - "Workspace": { - "description": "A workspace", - "type": "object", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/TrackedResource" - } - ], - "properties": { - "properties": { - "description": "Workspace resource properties", - "$ref": "#/definitions/WorkspaceProperties", - "x-ms-client-flatten": true - }, - "identity": { - "description": "Identity of the workspace", - "$ref": "#/definitions/ManagedIdentity" - } - } - }, - "WorkspaceProperties": { - "description": "Workspace properties", - "type": "object", - "properties": { - "defaultDataLakeStorage": { - "description": "Workspace default data lake storage account details", - "$ref": "#/definitions/DataLakeStorageAccountDetails" - }, - "sqlAdministratorLoginPassword": { - "description": "SQL administrator login password", - "type": "string" - }, - "managedResourceGroupName": { - "description": "Workspace managed resource group. The resource group name uniquely identifies the resource group within the user subscriptionId. The resource group name must be no longer than 90 characters long, and must be alphanumeric characters (Char.IsLetterOrDigit()) and '-', '_', '(', ')' and'.'. Note that the name cannot end with '.'", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "provisioningState": { - "description": "Resource provisioning state", - "type": "string", - "readOnly": true - }, - "sqlAdministratorLogin": { - "description": "Login for workspace SQL active directory administrator", - "type": "string" - }, - "virtualNetworkProfile": { - "description": "Virtual Network profile", - "$ref": "#/definitions/VirtualNetworkProfile" - }, - "connectivityEndpoints": { - "description": "Connectivity endpoints", - "additionalProperties": { - "type": "string" - }, - "type": "object", - "readOnly": true - }, - "managedVirtualNetwork": { - "description": "Setting this to 'default' will ensure that all compute for this workspace is in a virtual network managed on behalf of the user.", - "type": "string" - }, - "privateEndpointConnections": { - "description": "Private endpoint connections to the workspace", - "type": "array", - "items": { - "$ref": "../../../../common/v1/privateEndpointConnection.json#/definitions/PrivateEndpointConnection" - } - }, - "encryption": { - "description": "The encryption details of the workspace", - "$ref": "#/definitions/EncryptionDetails" - }, - "workspaceUID": { - "description": "The workspace unique identifier", - "type": "string", - "readOnly": true, - "format": "uuid" - }, - "extraProperties": { - "description": "Workspace level configs and feature flags", - "type": "object", - "readOnly": true - }, - "managedVirtualNetworkSettings": { - "description": "Managed Virtual Network Settings", - "$ref": "#/definitions/ManagedVirtualNetworkSettings" - }, - "workspaceRepositoryConfiguration": { - "description": "Git integration settings", - "$ref": "#/definitions/WorkspaceRepositoryConfiguration" - }, - "purviewConfiguration": { - "description": "Purview Configuration", - "$ref": "#/definitions/PurviewConfiguration" - }, - "adlaResourceId": { - "description": "The ADLA resource ID.", - "type": "string", - "readOnly": true - }, - "publicNetworkAccess": { - "enum": [ - "Enabled", - "Disabled" - ], - "description": "Enable or Disable public network access to workspace", - "default": "Enabled", - "type": "string", - "x-ms-enum": { - "name": "WorkspacePublicNetworkAccess", - "modelAsString": true - } - }, - "cspWorkspaceAdminProperties": { - "description": "Initial workspace AAD admin properties for a CSP subscription", - "$ref": "#/definitions/CspWorkspaceAdminProperties" - }, - "settings": { - "description": "Workspace settings", - "additionalProperties": { - "type": "object" - }, - "type": "object", - "readOnly": true - }, - "azureADOnlyAuthentication": { - "description": "Enable or Disable AzureADOnlyAuthentication on All Workspace subresource", - "type": "boolean", - "x-ms-mutability": [ - "create", - "update" - ] - }, - "trustedServiceBypassEnabled": { - "description": "Is trustedServiceBypassEnabled for the workspace", - "type": "boolean", - "default": false - } - } - }, - "WorkspacePatchInfo": { - "description": "Workspace patch details", - "type": "object", - "properties": { - "tags": { - "description": "Resource tags", - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "identity": { - "description": "The identity of the workspace", - "$ref": "#/definitions/ManagedIdentity" - }, - "properties": { - "description": "Workspace patch properties", - "$ref": "#/definitions/WorkspacePatchProperties", - "x-ms-client-flatten": true - } - } - }, - "WorkspacePatchProperties": { - "description": "Workspace patch properties", - "type": "object", - "properties": { - "sqlAdministratorLoginPassword": { - "description": "SQL administrator login password", - "type": "string" - }, - "managedVirtualNetworkSettings": { - "description": "Managed Virtual Network Settings", - "$ref": "#/definitions/ManagedVirtualNetworkSettings" - }, - "workspaceRepositoryConfiguration": { - "description": "Git integration settings", - "$ref": "#/definitions/WorkspaceRepositoryConfiguration" - }, - "purviewConfiguration": { - "description": "Purview Configuration", - "$ref": "#/definitions/PurviewConfiguration" - }, - "provisioningState": { - "description": "Resource provisioning state", - "type": "string", - "readOnly": true - }, - "encryption": { - "description": "The encryption details of the workspace", - "$ref": "#/definitions/EncryptionDetails" - }, - "publicNetworkAccess": { - "enum": [ - "Enabled", - "Disabled" - ], - "description": "Enable or Disable public network access to workspace", - "type": "string", - "x-ms-enum": { - "name": "WorkspacePublicNetworkAccess", - "modelAsString": true - } - } - } - }, - "ManagedIdentitySqlControlSettingsModel": { - "type": "object", - "title": "Managed Identity Sql Control Settings", - "description": "Sql Control Settings for workspace managed identity", - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "properties": { - "properties": { - "type": "object", - "title": "Managed Identity Sql Control Settings", - "description": "Sql Control Settings for workspace managed identity", - "properties": { - "grantSqlControlToManagedIdentity": { - "type": "object", - "description": "Grant sql control to managed identity", - "properties": { - "desiredState": { - "description": "Desired state", - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ], - "x-ms-enum": { - "name": "DesiredState", - "modelAsString": false - } - }, - "actualState": { - "description": "Actual state", - "type": "string", - "enum": [ - "Enabling", - "Enabled", - "Disabling", - "Disabled", - "Unknown" - ], - "x-ms-enum": { - "name": "ActualState", - "modelAsString": false - }, - "readOnly": true - } - } - } - }, - "x-ms-client-flatten": true - } - } - }, - "RestorableDroppedSqlPoolProperties": { - "type": "object", - "properties": { - "databaseName": { - "readOnly": true, - "type": "string", - "description": "The name of the database" - }, - "edition": { - "readOnly": true, - "type": "string", - "description": "The edition of the database" - }, - "maxSizeBytes": { - "readOnly": true, - "type": "string", - "description": "The max size in bytes of the database" - }, - "serviceLevelObjective": { - "readOnly": true, - "type": "string", - "description": "The service level objective name of the database" - }, - "elasticPoolName": { - "readOnly": true, - "type": "string", - "description": "The elastic pool name of the database" - }, - "creationDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The creation date of the database (ISO8601 format)" - }, - "deletionDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The deletion date of the database (ISO8601 format)" - }, - "earliestRestoreDate": { - "readOnly": true, - "type": "string", - "format": "date-time", - "description": "The earliest restore date of the database (ISO8601 format)" - } - }, - "description": "The properties of a restorable dropped Sql pool" - }, - "RestorableDroppedSqlPool": { - "type": "object", - "properties": { - "location": { - "type": "string", - "readOnly": true, - "description": "The geo-location where the resource lives" - }, - "properties": { - "$ref": "#/definitions/RestorableDroppedSqlPoolProperties", - "description": "The properties of a restorable dropped Sql pool", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" - } - ], - "description": "A restorable dropped Sql pool" - }, - "RestorableDroppedSqlPoolListResult": { - "type": "object", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/RestorableDroppedSqlPool" - }, - "description": "A list of restorable dropped Sql pools" - } - }, - "required": [ - "value" - ], - "description": "The response to a list restorable dropped Sql pools request" - } - } -} diff --git a/specification/synapse/resource-manager/readme.md b/specification/synapse/resource-manager/readme.md index 2a23c8739de0..216c49a11deb 100644 --- a/specification/synapse/resource-manager/readme.md +++ b/specification/synapse/resource-manager/readme.md @@ -28,40 +28,17 @@ These are the global settings for the Azure Synapse Analytics API. description: Azure Synapse Analytics Management Client openapi-type: arm azure-arm: true -tag: package-2023-05 +tag: package-composite-v2 generate-empty-classes: true modelerfour: lenient-model-deduplication: true ``` - -### Tag: package-2023-05 - -These settings apply only when `--tag=package-2023-05` is specified on the command line. - -```yaml $(tag) == 'package-2023-05' -input-file: - - Microsoft.Synapse/stable/2023-05-01/azureADOnlyAuthentication.json - - Microsoft.Synapse/stable/2023-05-01/bigDataPool.json - - Microsoft.Synapse/stable/2023-05-01/checkNameAvailability.json - - Microsoft.Synapse/stable/2023-05-01/firewallRule.json - - Microsoft.Synapse/stable/2023-05-01/integrationRuntime.json - - Microsoft.Synapse/stable/2023-05-01/keys.json - - Microsoft.Synapse/stable/2023-05-01/library.json - - Microsoft.Synapse/stable/2023-05-01/listUsage.json - - Microsoft.Synapse/stable/2023-05-01/operations.json - - Microsoft.Synapse/stable/2023-05-01/privateEndpointConnections.json - - Microsoft.Synapse/stable/2023-05-01/privateLinkResources.json - - Microsoft.Synapse/stable/2023-05-01/privatelinkhub.json - - Microsoft.Synapse/stable/2023-05-01/sqlPool.json - - Microsoft.Synapse/stable/2023-05-01/sqlServer.json - - Microsoft.Synapse/stable/2023-05-01/workspace.json -``` ### Tag: package-composite-v2 These settings apply only when `--tag=package-composite-v2` is specified on the command line. -``` yaml $(tag) == 'package-composite-v2' +```yaml $(tag) == 'package-composite-v2' input-file: - Microsoft.Synapse/stable/2021-06-01/azureADOnlyAuthentication.json - Microsoft.Synapse/stable/2021-06-01/checkNameAvailability.json @@ -85,7 +62,7 @@ input-file: These settings apply only when `--tag=package-composite-v1` is specified on the command line. -``` yaml $(tag) == 'package-composite-v1' +```yaml $(tag) == 'package-composite-v1' input-file: - Microsoft.Synapse/stable/2021-06-01/azureADOnlyAuthentication.json - Microsoft.Synapse/stable/2021-06-01/checkNameAvailability.json @@ -108,7 +85,7 @@ input-file: These settings apply only when `--tag=package-2021-06` is specified on the command line. -``` yaml $(tag) == 'package-2021-06' +```yaml $(tag) == 'package-2021-06' input-file: - Microsoft.Synapse/stable/2021-06-01/bigDataPool.json - Microsoft.Synapse/stable/2021-06-01/checkNameAvailability.json @@ -130,7 +107,7 @@ input-file: These settings apply only when `--tag=package-preview-2021-06` is specified on the command line. -``` yaml $(tag) == 'package-preview-2021-06' +```yaml $(tag) == 'package-preview-2021-06' input-file: - Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json - Microsoft.Synapse/preview/2021-06-01-preview/checkNameAvailability.json @@ -411,4 +388,4 @@ batch: ## Go -See configuration in [readme.go.md](./readme.go.md) +See configuration in [readme.go.md](./readme.go.md) \ No newline at end of file