@azure/arm-synapse 9.0.0-alpha.20250619.1 → 9.0.0-alpha.20250721.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/lroImpl.js +11 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +1142 -531
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/azureADOnlyAuthentications.js +34 -46
- package/dist/browser/operations/azureADOnlyAuthentications.js.map +1 -1
- package/dist/browser/operations/bigDataPools.js +45 -52
- package/dist/browser/operations/bigDataPools.js.map +1 -1
- package/dist/browser/operations/dataMaskingPolicies.js +1 -0
- package/dist/browser/operations/dataMaskingPolicies.js.map +1 -1
- package/dist/browser/operations/dataMaskingRules.js +10 -27
- package/dist/browser/operations/dataMaskingRules.js.map +1 -1
- package/dist/browser/operations/extendedSqlPoolBlobAuditingPolicies.js +23 -40
- package/dist/browser/operations/extendedSqlPoolBlobAuditingPolicies.js.map +1 -1
- package/dist/browser/operations/get.js +1 -0
- package/dist/browser/operations/get.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeAuthKeysOperations.js +1 -0
- package/dist/browser/operations/integrationRuntimeAuthKeysOperations.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeConnectionInfos.js +1 -0
- package/dist/browser/operations/integrationRuntimeConnectionInfos.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeCredentials.js +1 -0
- package/dist/browser/operations/integrationRuntimeCredentials.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeMonitoringDataOperations.js +1 -0
- package/dist/browser/operations/integrationRuntimeMonitoringDataOperations.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeNodeIpAddressOperations.js +1 -0
- package/dist/browser/operations/integrationRuntimeNodeIpAddressOperations.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeNodes.js +1 -0
- package/dist/browser/operations/integrationRuntimeNodes.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeObjectMetadata.js +12 -6
- package/dist/browser/operations/integrationRuntimeObjectMetadata.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeStatusOperations.js +1 -0
- package/dist/browser/operations/integrationRuntimeStatusOperations.js.map +1 -1
- package/dist/browser/operations/integrationRuntimes.js +89 -76
- package/dist/browser/operations/integrationRuntimes.js.map +1 -1
- package/dist/browser/operations/ipFirewallRules.js +56 -58
- package/dist/browser/operations/ipFirewallRules.js.map +1 -1
- package/dist/browser/operations/keys.js +23 -40
- package/dist/browser/operations/keys.js.map +1 -1
- package/dist/browser/operations/kustoOperations.js +23 -40
- package/dist/browser/operations/kustoOperations.js.map +1 -1
- package/dist/browser/operations/kustoPoolAttachedDatabaseConfigurations.js +32 -39
- package/dist/browser/operations/kustoPoolAttachedDatabaseConfigurations.js.map +1 -1
- package/dist/browser/operations/kustoPoolChildResource.js +1 -0
- package/dist/browser/operations/kustoPoolChildResource.js.map +1 -1
- package/dist/browser/operations/kustoPoolDataConnections.js +54 -51
- package/dist/browser/operations/kustoPoolDataConnections.js.map +1 -1
- package/dist/browser/operations/kustoPoolDatabasePrincipalAssignments.js +32 -39
- package/dist/browser/operations/kustoPoolDatabasePrincipalAssignments.js.map +1 -1
- package/dist/browser/operations/kustoPoolDatabases.js +43 -45
- package/dist/browser/operations/kustoPoolDatabases.js.map +1 -1
- package/dist/browser/operations/kustoPoolPrincipalAssignments.js +32 -39
- package/dist/browser/operations/kustoPoolPrincipalAssignments.js.map +1 -1
- package/dist/browser/operations/kustoPoolPrivateLinkResourcesOperations.js +10 -27
- package/dist/browser/operations/kustoPoolPrivateLinkResourcesOperations.js.map +1 -1
- package/dist/browser/operations/kustoPools.js +125 -153
- package/dist/browser/operations/kustoPools.js.map +1 -1
- package/dist/browser/operations/libraries.js +23 -40
- package/dist/browser/operations/libraries.js.map +1 -1
- package/dist/browser/operations/library.js +1 -0
- package/dist/browser/operations/library.js.map +1 -1
- package/dist/browser/operations/operations.js +1 -0
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +45 -52
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnectionsPrivateLinkHub.js +23 -40
- package/dist/browser/operations/privateEndpointConnectionsPrivateLinkHub.js.map +1 -1
- package/dist/browser/operations/privateLinkHubPrivateLinkResources.js +23 -40
- package/dist/browser/operations/privateLinkHubPrivateLinkResources.js.map +1 -1
- package/dist/browser/operations/privateLinkHubs.js +56 -85
- package/dist/browser/operations/privateLinkHubs.js.map +1 -1
- package/dist/browser/operations/privateLinkResourcesOperations.js +23 -40
- package/dist/browser/operations/privateLinkResourcesOperations.js.map +1 -1
- package/dist/browser/operations/restorableDroppedSqlPools.js +10 -27
- package/dist/browser/operations/restorableDroppedSqlPools.js.map +1 -1
- package/dist/browser/operations/sparkConfiguration.js +1 -0
- package/dist/browser/operations/sparkConfiguration.js.map +1 -1
- package/dist/browser/operations/sparkConfigurations.js +23 -40
- package/dist/browser/operations/sparkConfigurations.js.map +1 -1
- package/dist/browser/operations/sqlPoolBlobAuditingPolicies.js +23 -40
- package/dist/browser/operations/sqlPoolBlobAuditingPolicies.js.map +1 -1
- package/dist/browser/operations/sqlPoolColumns.js +1 -0
- package/dist/browser/operations/sqlPoolColumns.js.map +1 -1
- package/dist/browser/operations/sqlPoolConnectionPolicies.js +1 -0
- package/dist/browser/operations/sqlPoolConnectionPolicies.js.map +1 -1
- package/dist/browser/operations/sqlPoolDataWarehouseUserActivities.js +1 -0
- package/dist/browser/operations/sqlPoolDataWarehouseUserActivities.js.map +1 -1
- package/dist/browser/operations/sqlPoolGeoBackupPolicies.js +10 -27
- package/dist/browser/operations/sqlPoolGeoBackupPolicies.js.map +1 -1
- package/dist/browser/operations/sqlPoolMaintenanceWindowOptions.js +1 -0
- package/dist/browser/operations/sqlPoolMaintenanceWindowOptions.js.map +1 -1
- package/dist/browser/operations/sqlPoolMaintenanceWindows.js +1 -0
- package/dist/browser/operations/sqlPoolMaintenanceWindows.js.map +1 -1
- package/dist/browser/operations/sqlPoolMetadataSyncConfigs.js +1 -0
- package/dist/browser/operations/sqlPoolMetadataSyncConfigs.js.map +1 -1
- package/dist/browser/operations/sqlPoolOperationResults.js +12 -6
- package/dist/browser/operations/sqlPoolOperationResults.js.map +1 -1
- package/dist/browser/operations/sqlPoolOperations.js +23 -40
- package/dist/browser/operations/sqlPoolOperations.js.map +1 -1
- package/dist/browser/operations/sqlPoolRecommendedSensitivityLabels.js +1 -0
- package/dist/browser/operations/sqlPoolRecommendedSensitivityLabels.js.map +1 -1
- package/dist/browser/operations/sqlPoolReplicationLinks.js +23 -40
- package/dist/browser/operations/sqlPoolReplicationLinks.js.map +1 -1
- package/dist/browser/operations/sqlPoolRestorePoints.js +34 -46
- package/dist/browser/operations/sqlPoolRestorePoints.js.map +1 -1
- package/dist/browser/operations/sqlPoolSchemas.js +23 -40
- package/dist/browser/operations/sqlPoolSchemas.js.map +1 -1
- package/dist/browser/operations/sqlPoolSecurityAlertPolicies.js +23 -40
- package/dist/browser/operations/sqlPoolSecurityAlertPolicies.js.map +1 -1
- package/dist/browser/operations/sqlPoolSensitivityLabels.js +45 -79
- package/dist/browser/operations/sqlPoolSensitivityLabels.js.map +1 -1
- package/dist/browser/operations/sqlPoolTableColumns.js +23 -40
- package/dist/browser/operations/sqlPoolTableColumns.js.map +1 -1
- package/dist/browser/operations/sqlPoolTables.js +23 -40
- package/dist/browser/operations/sqlPoolTables.js.map +1 -1
- package/dist/browser/operations/sqlPoolTransparentDataEncryptions.js +23 -40
- package/dist/browser/operations/sqlPoolTransparentDataEncryptions.js.map +1 -1
- package/dist/browser/operations/sqlPoolUsages.js +23 -40
- package/dist/browser/operations/sqlPoolUsages.js.map +1 -1
- package/dist/browser/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.js +1 -0
- package/dist/browser/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.js.map +1 -1
- package/dist/browser/operations/sqlPoolVulnerabilityAssessmentScans.js +34 -46
- package/dist/browser/operations/sqlPoolVulnerabilityAssessmentScans.js.map +1 -1
- package/dist/browser/operations/sqlPoolVulnerabilityAssessments.js +23 -40
- package/dist/browser/operations/sqlPoolVulnerabilityAssessments.js.map +1 -1
- package/dist/browser/operations/sqlPoolWorkloadClassifier.js +45 -52
- package/dist/browser/operations/sqlPoolWorkloadClassifier.js.map +1 -1
- package/dist/browser/operations/sqlPoolWorkloadGroup.js +45 -52
- package/dist/browser/operations/sqlPoolWorkloadGroup.js.map +1 -1
- package/dist/browser/operations/sqlPools.js +78 -70
- package/dist/browser/operations/sqlPools.js.map +1 -1
- package/dist/browser/operations/workspaceAadAdmins.js +23 -12
- package/dist/browser/operations/workspaceAadAdmins.js.map +1 -1
- package/dist/browser/operations/workspaceManagedIdentitySqlControlSettings.js +12 -6
- package/dist/browser/operations/workspaceManagedIdentitySqlControlSettings.js.map +1 -1
- package/dist/browser/operations/workspaceManagedSqlServerBlobAuditingPolicies.js +34 -46
- package/dist/browser/operations/workspaceManagedSqlServerBlobAuditingPolicies.js.map +1 -1
- package/dist/browser/operations/workspaceManagedSqlServerDedicatedSQLMinimalTlsSettings.js +34 -46
- package/dist/browser/operations/workspaceManagedSqlServerDedicatedSQLMinimalTlsSettings.js.map +1 -1
- package/dist/browser/operations/workspaceManagedSqlServerEncryptionProtector.js +45 -52
- package/dist/browser/operations/workspaceManagedSqlServerEncryptionProtector.js.map +1 -1
- package/dist/browser/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.js +34 -46
- package/dist/browser/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.js.map +1 -1
- package/dist/browser/operations/workspaceManagedSqlServerRecoverableSqlPools.js +23 -40
- package/dist/browser/operations/workspaceManagedSqlServerRecoverableSqlPools.js.map +1 -1
- package/dist/browser/operations/workspaceManagedSqlServerSecurityAlertPolicy.js +34 -46
- package/dist/browser/operations/workspaceManagedSqlServerSecurityAlertPolicy.js.map +1 -1
- package/dist/browser/operations/workspaceManagedSqlServerUsages.js +23 -40
- package/dist/browser/operations/workspaceManagedSqlServerUsages.js.map +1 -1
- package/dist/browser/operations/workspaceManagedSqlServerVulnerabilityAssessments.js +23 -40
- package/dist/browser/operations/workspaceManagedSqlServerVulnerabilityAssessments.js.map +1 -1
- package/dist/browser/operations/workspaceSqlAadAdmins.js +23 -12
- package/dist/browser/operations/workspaceSqlAadAdmins.js.map +1 -1
- package/dist/browser/operations/workspaces.js +78 -97
- package/dist/browser/operations/workspaces.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/synapseManagementClient.js +87 -5
- package/dist/browser/synapseManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +11 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +1142 -531
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/azureADOnlyAuthentications.js +34 -45
- package/dist/commonjs/operations/azureADOnlyAuthentications.js.map +1 -1
- package/dist/commonjs/operations/bigDataPools.js +45 -51
- package/dist/commonjs/operations/bigDataPools.js.map +1 -1
- package/dist/commonjs/operations/dataMaskingPolicies.js +1 -0
- package/dist/commonjs/operations/dataMaskingPolicies.js.map +1 -1
- package/dist/commonjs/operations/dataMaskingRules.js +10 -26
- package/dist/commonjs/operations/dataMaskingRules.js.map +1 -1
- package/dist/commonjs/operations/extendedSqlPoolBlobAuditingPolicies.js +23 -39
- package/dist/commonjs/operations/extendedSqlPoolBlobAuditingPolicies.js.map +1 -1
- package/dist/commonjs/operations/get.js +1 -0
- package/dist/commonjs/operations/get.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeAuthKeysOperations.js +1 -0
- package/dist/commonjs/operations/integrationRuntimeAuthKeysOperations.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeConnectionInfos.js +1 -0
- package/dist/commonjs/operations/integrationRuntimeConnectionInfos.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeCredentials.js +1 -0
- package/dist/commonjs/operations/integrationRuntimeCredentials.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeMonitoringDataOperations.js +1 -0
- package/dist/commonjs/operations/integrationRuntimeMonitoringDataOperations.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeNodeIpAddressOperations.js +1 -0
- package/dist/commonjs/operations/integrationRuntimeNodeIpAddressOperations.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeNodes.js +1 -0
- package/dist/commonjs/operations/integrationRuntimeNodes.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeObjectMetadata.js +12 -6
- package/dist/commonjs/operations/integrationRuntimeObjectMetadata.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeStatusOperations.js +1 -0
- package/dist/commonjs/operations/integrationRuntimeStatusOperations.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimes.js +89 -75
- package/dist/commonjs/operations/integrationRuntimes.js.map +1 -1
- package/dist/commonjs/operations/ipFirewallRules.js +56 -57
- package/dist/commonjs/operations/ipFirewallRules.js.map +1 -1
- package/dist/commonjs/operations/keys.js +23 -39
- package/dist/commonjs/operations/keys.js.map +1 -1
- package/dist/commonjs/operations/kustoOperations.js +23 -39
- package/dist/commonjs/operations/kustoOperations.js.map +1 -1
- package/dist/commonjs/operations/kustoPoolAttachedDatabaseConfigurations.js +32 -38
- package/dist/commonjs/operations/kustoPoolAttachedDatabaseConfigurations.js.map +1 -1
- package/dist/commonjs/operations/kustoPoolChildResource.js +1 -0
- package/dist/commonjs/operations/kustoPoolChildResource.js.map +1 -1
- package/dist/commonjs/operations/kustoPoolDataConnections.js +54 -50
- package/dist/commonjs/operations/kustoPoolDataConnections.js.map +1 -1
- package/dist/commonjs/operations/kustoPoolDatabasePrincipalAssignments.js +32 -38
- package/dist/commonjs/operations/kustoPoolDatabasePrincipalAssignments.js.map +1 -1
- package/dist/commonjs/operations/kustoPoolDatabases.js +43 -44
- package/dist/commonjs/operations/kustoPoolDatabases.js.map +1 -1
- package/dist/commonjs/operations/kustoPoolPrincipalAssignments.js +32 -38
- package/dist/commonjs/operations/kustoPoolPrincipalAssignments.js.map +1 -1
- package/dist/commonjs/operations/kustoPoolPrivateLinkResourcesOperations.js +10 -26
- package/dist/commonjs/operations/kustoPoolPrivateLinkResourcesOperations.js.map +1 -1
- package/dist/commonjs/operations/kustoPools.js +125 -152
- package/dist/commonjs/operations/kustoPools.js.map +1 -1
- package/dist/commonjs/operations/libraries.js +23 -39
- package/dist/commonjs/operations/libraries.js.map +1 -1
- package/dist/commonjs/operations/library.js +1 -0
- package/dist/commonjs/operations/library.js.map +1 -1
- package/dist/commonjs/operations/operations.js +1 -0
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +45 -51
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnectionsPrivateLinkHub.js +23 -39
- package/dist/commonjs/operations/privateEndpointConnectionsPrivateLinkHub.js.map +1 -1
- package/dist/commonjs/operations/privateLinkHubPrivateLinkResources.js +23 -39
- package/dist/commonjs/operations/privateLinkHubPrivateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/privateLinkHubs.js +56 -84
- package/dist/commonjs/operations/privateLinkHubs.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResourcesOperations.js +23 -39
- package/dist/commonjs/operations/privateLinkResourcesOperations.js.map +1 -1
- package/dist/commonjs/operations/restorableDroppedSqlPools.js +10 -26
- package/dist/commonjs/operations/restorableDroppedSqlPools.js.map +1 -1
- package/dist/commonjs/operations/sparkConfiguration.js +1 -0
- package/dist/commonjs/operations/sparkConfiguration.js.map +1 -1
- package/dist/commonjs/operations/sparkConfigurations.js +23 -39
- package/dist/commonjs/operations/sparkConfigurations.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolBlobAuditingPolicies.js +23 -39
- package/dist/commonjs/operations/sqlPoolBlobAuditingPolicies.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolColumns.js +1 -0
- package/dist/commonjs/operations/sqlPoolColumns.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolConnectionPolicies.js +1 -0
- package/dist/commonjs/operations/sqlPoolConnectionPolicies.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolDataWarehouseUserActivities.js +1 -0
- package/dist/commonjs/operations/sqlPoolDataWarehouseUserActivities.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolGeoBackupPolicies.js +10 -26
- package/dist/commonjs/operations/sqlPoolGeoBackupPolicies.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolMaintenanceWindowOptions.js +1 -0
- package/dist/commonjs/operations/sqlPoolMaintenanceWindowOptions.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolMaintenanceWindows.js +1 -0
- package/dist/commonjs/operations/sqlPoolMaintenanceWindows.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolMetadataSyncConfigs.js +1 -0
- package/dist/commonjs/operations/sqlPoolMetadataSyncConfigs.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolOperationResults.js +12 -6
- package/dist/commonjs/operations/sqlPoolOperationResults.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolOperations.js +23 -39
- package/dist/commonjs/operations/sqlPoolOperations.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolRecommendedSensitivityLabels.js +1 -0
- package/dist/commonjs/operations/sqlPoolRecommendedSensitivityLabels.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolReplicationLinks.js +23 -39
- package/dist/commonjs/operations/sqlPoolReplicationLinks.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolRestorePoints.js +34 -45
- package/dist/commonjs/operations/sqlPoolRestorePoints.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolSchemas.js +23 -39
- package/dist/commonjs/operations/sqlPoolSchemas.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolSecurityAlertPolicies.js +23 -39
- package/dist/commonjs/operations/sqlPoolSecurityAlertPolicies.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolSensitivityLabels.js +45 -78
- package/dist/commonjs/operations/sqlPoolSensitivityLabels.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolTableColumns.js +23 -39
- package/dist/commonjs/operations/sqlPoolTableColumns.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolTables.js +23 -39
- package/dist/commonjs/operations/sqlPoolTables.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolTransparentDataEncryptions.js +23 -39
- package/dist/commonjs/operations/sqlPoolTransparentDataEncryptions.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolUsages.js +23 -39
- package/dist/commonjs/operations/sqlPoolUsages.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.js +1 -0
- package/dist/commonjs/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolVulnerabilityAssessmentScans.js +34 -45
- package/dist/commonjs/operations/sqlPoolVulnerabilityAssessmentScans.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolVulnerabilityAssessments.js +23 -39
- package/dist/commonjs/operations/sqlPoolVulnerabilityAssessments.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolWorkloadClassifier.js +45 -51
- package/dist/commonjs/operations/sqlPoolWorkloadClassifier.js.map +1 -1
- package/dist/commonjs/operations/sqlPoolWorkloadGroup.js +45 -51
- package/dist/commonjs/operations/sqlPoolWorkloadGroup.js.map +1 -1
- package/dist/commonjs/operations/sqlPools.js +78 -69
- package/dist/commonjs/operations/sqlPools.js.map +1 -1
- package/dist/commonjs/operations/workspaceAadAdmins.js +23 -12
- package/dist/commonjs/operations/workspaceAadAdmins.js.map +1 -1
- package/dist/commonjs/operations/workspaceManagedIdentitySqlControlSettings.js +12 -6
- package/dist/commonjs/operations/workspaceManagedIdentitySqlControlSettings.js.map +1 -1
- package/dist/commonjs/operations/workspaceManagedSqlServerBlobAuditingPolicies.js +34 -45
- package/dist/commonjs/operations/workspaceManagedSqlServerBlobAuditingPolicies.js.map +1 -1
- package/dist/commonjs/operations/workspaceManagedSqlServerDedicatedSQLMinimalTlsSettings.js +34 -45
- package/dist/commonjs/operations/workspaceManagedSqlServerDedicatedSQLMinimalTlsSettings.js.map +1 -1
- package/dist/commonjs/operations/workspaceManagedSqlServerEncryptionProtector.js +45 -51
- package/dist/commonjs/operations/workspaceManagedSqlServerEncryptionProtector.js.map +1 -1
- package/dist/commonjs/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.js +34 -45
- package/dist/commonjs/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.js.map +1 -1
- package/dist/commonjs/operations/workspaceManagedSqlServerRecoverableSqlPools.js +23 -39
- package/dist/commonjs/operations/workspaceManagedSqlServerRecoverableSqlPools.js.map +1 -1
- package/dist/commonjs/operations/workspaceManagedSqlServerSecurityAlertPolicy.js +34 -45
- package/dist/commonjs/operations/workspaceManagedSqlServerSecurityAlertPolicy.js.map +1 -1
- package/dist/commonjs/operations/workspaceManagedSqlServerUsages.js +23 -39
- package/dist/commonjs/operations/workspaceManagedSqlServerUsages.js.map +1 -1
- package/dist/commonjs/operations/workspaceManagedSqlServerVulnerabilityAssessments.js +23 -39
- package/dist/commonjs/operations/workspaceManagedSqlServerVulnerabilityAssessments.js.map +1 -1
- package/dist/commonjs/operations/workspaceSqlAadAdmins.js +23 -12
- package/dist/commonjs/operations/workspaceSqlAadAdmins.js.map +1 -1
- package/dist/commonjs/operations/workspaces.js +78 -96
- package/dist/commonjs/operations/workspaces.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/synapseManagementClient.js +87 -5
- package/dist/commonjs/synapseManagementClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +11 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +1142 -531
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/azureADOnlyAuthentications.js +34 -46
- package/dist/esm/operations/azureADOnlyAuthentications.js.map +1 -1
- package/dist/esm/operations/bigDataPools.js +45 -52
- package/dist/esm/operations/bigDataPools.js.map +1 -1
- package/dist/esm/operations/dataMaskingPolicies.js +1 -0
- package/dist/esm/operations/dataMaskingPolicies.js.map +1 -1
- package/dist/esm/operations/dataMaskingRules.js +10 -27
- package/dist/esm/operations/dataMaskingRules.js.map +1 -1
- package/dist/esm/operations/extendedSqlPoolBlobAuditingPolicies.js +23 -40
- package/dist/esm/operations/extendedSqlPoolBlobAuditingPolicies.js.map +1 -1
- package/dist/esm/operations/get.js +1 -0
- package/dist/esm/operations/get.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeAuthKeysOperations.js +1 -0
- package/dist/esm/operations/integrationRuntimeAuthKeysOperations.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeConnectionInfos.js +1 -0
- package/dist/esm/operations/integrationRuntimeConnectionInfos.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeCredentials.js +1 -0
- package/dist/esm/operations/integrationRuntimeCredentials.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeMonitoringDataOperations.js +1 -0
- package/dist/esm/operations/integrationRuntimeMonitoringDataOperations.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeNodeIpAddressOperations.js +1 -0
- package/dist/esm/operations/integrationRuntimeNodeIpAddressOperations.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeNodes.js +1 -0
- package/dist/esm/operations/integrationRuntimeNodes.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeObjectMetadata.js +12 -6
- package/dist/esm/operations/integrationRuntimeObjectMetadata.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeStatusOperations.js +1 -0
- package/dist/esm/operations/integrationRuntimeStatusOperations.js.map +1 -1
- package/dist/esm/operations/integrationRuntimes.js +89 -76
- package/dist/esm/operations/integrationRuntimes.js.map +1 -1
- package/dist/esm/operations/ipFirewallRules.js +56 -58
- package/dist/esm/operations/ipFirewallRules.js.map +1 -1
- package/dist/esm/operations/keys.js +23 -40
- package/dist/esm/operations/keys.js.map +1 -1
- package/dist/esm/operations/kustoOperations.js +23 -40
- package/dist/esm/operations/kustoOperations.js.map +1 -1
- package/dist/esm/operations/kustoPoolAttachedDatabaseConfigurations.js +32 -39
- package/dist/esm/operations/kustoPoolAttachedDatabaseConfigurations.js.map +1 -1
- package/dist/esm/operations/kustoPoolChildResource.js +1 -0
- package/dist/esm/operations/kustoPoolChildResource.js.map +1 -1
- package/dist/esm/operations/kustoPoolDataConnections.js +54 -51
- package/dist/esm/operations/kustoPoolDataConnections.js.map +1 -1
- package/dist/esm/operations/kustoPoolDatabasePrincipalAssignments.js +32 -39
- package/dist/esm/operations/kustoPoolDatabasePrincipalAssignments.js.map +1 -1
- package/dist/esm/operations/kustoPoolDatabases.js +43 -45
- package/dist/esm/operations/kustoPoolDatabases.js.map +1 -1
- package/dist/esm/operations/kustoPoolPrincipalAssignments.js +32 -39
- package/dist/esm/operations/kustoPoolPrincipalAssignments.js.map +1 -1
- package/dist/esm/operations/kustoPoolPrivateLinkResourcesOperations.js +10 -27
- package/dist/esm/operations/kustoPoolPrivateLinkResourcesOperations.js.map +1 -1
- package/dist/esm/operations/kustoPools.js +125 -153
- package/dist/esm/operations/kustoPools.js.map +1 -1
- package/dist/esm/operations/libraries.js +23 -40
- package/dist/esm/operations/libraries.js.map +1 -1
- package/dist/esm/operations/library.js +1 -0
- package/dist/esm/operations/library.js.map +1 -1
- package/dist/esm/operations/operations.js +1 -0
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +45 -52
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnectionsPrivateLinkHub.js +23 -40
- package/dist/esm/operations/privateEndpointConnectionsPrivateLinkHub.js.map +1 -1
- package/dist/esm/operations/privateLinkHubPrivateLinkResources.js +23 -40
- package/dist/esm/operations/privateLinkHubPrivateLinkResources.js.map +1 -1
- package/dist/esm/operations/privateLinkHubs.js +56 -85
- package/dist/esm/operations/privateLinkHubs.js.map +1 -1
- package/dist/esm/operations/privateLinkResourcesOperations.js +23 -40
- package/dist/esm/operations/privateLinkResourcesOperations.js.map +1 -1
- package/dist/esm/operations/restorableDroppedSqlPools.js +10 -27
- package/dist/esm/operations/restorableDroppedSqlPools.js.map +1 -1
- package/dist/esm/operations/sparkConfiguration.js +1 -0
- package/dist/esm/operations/sparkConfiguration.js.map +1 -1
- package/dist/esm/operations/sparkConfigurations.js +23 -40
- package/dist/esm/operations/sparkConfigurations.js.map +1 -1
- package/dist/esm/operations/sqlPoolBlobAuditingPolicies.js +23 -40
- package/dist/esm/operations/sqlPoolBlobAuditingPolicies.js.map +1 -1
- package/dist/esm/operations/sqlPoolColumns.js +1 -0
- package/dist/esm/operations/sqlPoolColumns.js.map +1 -1
- package/dist/esm/operations/sqlPoolConnectionPolicies.js +1 -0
- package/dist/esm/operations/sqlPoolConnectionPolicies.js.map +1 -1
- package/dist/esm/operations/sqlPoolDataWarehouseUserActivities.js +1 -0
- package/dist/esm/operations/sqlPoolDataWarehouseUserActivities.js.map +1 -1
- package/dist/esm/operations/sqlPoolGeoBackupPolicies.js +10 -27
- package/dist/esm/operations/sqlPoolGeoBackupPolicies.js.map +1 -1
- package/dist/esm/operations/sqlPoolMaintenanceWindowOptions.js +1 -0
- package/dist/esm/operations/sqlPoolMaintenanceWindowOptions.js.map +1 -1
- package/dist/esm/operations/sqlPoolMaintenanceWindows.js +1 -0
- package/dist/esm/operations/sqlPoolMaintenanceWindows.js.map +1 -1
- package/dist/esm/operations/sqlPoolMetadataSyncConfigs.js +1 -0
- package/dist/esm/operations/sqlPoolMetadataSyncConfigs.js.map +1 -1
- package/dist/esm/operations/sqlPoolOperationResults.js +12 -6
- package/dist/esm/operations/sqlPoolOperationResults.js.map +1 -1
- package/dist/esm/operations/sqlPoolOperations.js +23 -40
- package/dist/esm/operations/sqlPoolOperations.js.map +1 -1
- package/dist/esm/operations/sqlPoolRecommendedSensitivityLabels.js +1 -0
- package/dist/esm/operations/sqlPoolRecommendedSensitivityLabels.js.map +1 -1
- package/dist/esm/operations/sqlPoolReplicationLinks.js +23 -40
- package/dist/esm/operations/sqlPoolReplicationLinks.js.map +1 -1
- package/dist/esm/operations/sqlPoolRestorePoints.js +34 -46
- package/dist/esm/operations/sqlPoolRestorePoints.js.map +1 -1
- package/dist/esm/operations/sqlPoolSchemas.js +23 -40
- package/dist/esm/operations/sqlPoolSchemas.js.map +1 -1
- package/dist/esm/operations/sqlPoolSecurityAlertPolicies.js +23 -40
- package/dist/esm/operations/sqlPoolSecurityAlertPolicies.js.map +1 -1
- package/dist/esm/operations/sqlPoolSensitivityLabels.js +45 -79
- package/dist/esm/operations/sqlPoolSensitivityLabels.js.map +1 -1
- package/dist/esm/operations/sqlPoolTableColumns.js +23 -40
- package/dist/esm/operations/sqlPoolTableColumns.js.map +1 -1
- package/dist/esm/operations/sqlPoolTables.js +23 -40
- package/dist/esm/operations/sqlPoolTables.js.map +1 -1
- package/dist/esm/operations/sqlPoolTransparentDataEncryptions.js +23 -40
- package/dist/esm/operations/sqlPoolTransparentDataEncryptions.js.map +1 -1
- package/dist/esm/operations/sqlPoolUsages.js +23 -40
- package/dist/esm/operations/sqlPoolUsages.js.map +1 -1
- package/dist/esm/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.js +1 -0
- package/dist/esm/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.js.map +1 -1
- package/dist/esm/operations/sqlPoolVulnerabilityAssessmentScans.js +34 -46
- package/dist/esm/operations/sqlPoolVulnerabilityAssessmentScans.js.map +1 -1
- package/dist/esm/operations/sqlPoolVulnerabilityAssessments.js +23 -40
- package/dist/esm/operations/sqlPoolVulnerabilityAssessments.js.map +1 -1
- package/dist/esm/operations/sqlPoolWorkloadClassifier.js +45 -52
- package/dist/esm/operations/sqlPoolWorkloadClassifier.js.map +1 -1
- package/dist/esm/operations/sqlPoolWorkloadGroup.js +45 -52
- package/dist/esm/operations/sqlPoolWorkloadGroup.js.map +1 -1
- package/dist/esm/operations/sqlPools.js +78 -70
- package/dist/esm/operations/sqlPools.js.map +1 -1
- package/dist/esm/operations/workspaceAadAdmins.js +23 -12
- package/dist/esm/operations/workspaceAadAdmins.js.map +1 -1
- package/dist/esm/operations/workspaceManagedIdentitySqlControlSettings.js +12 -6
- package/dist/esm/operations/workspaceManagedIdentitySqlControlSettings.js.map +1 -1
- package/dist/esm/operations/workspaceManagedSqlServerBlobAuditingPolicies.js +34 -46
- package/dist/esm/operations/workspaceManagedSqlServerBlobAuditingPolicies.js.map +1 -1
- package/dist/esm/operations/workspaceManagedSqlServerDedicatedSQLMinimalTlsSettings.js +34 -46
- package/dist/esm/operations/workspaceManagedSqlServerDedicatedSQLMinimalTlsSettings.js.map +1 -1
- package/dist/esm/operations/workspaceManagedSqlServerEncryptionProtector.js +45 -52
- package/dist/esm/operations/workspaceManagedSqlServerEncryptionProtector.js.map +1 -1
- package/dist/esm/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.js +34 -46
- package/dist/esm/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.js.map +1 -1
- package/dist/esm/operations/workspaceManagedSqlServerRecoverableSqlPools.js +23 -40
- package/dist/esm/operations/workspaceManagedSqlServerRecoverableSqlPools.js.map +1 -1
- package/dist/esm/operations/workspaceManagedSqlServerSecurityAlertPolicy.js +34 -46
- package/dist/esm/operations/workspaceManagedSqlServerSecurityAlertPolicy.js.map +1 -1
- package/dist/esm/operations/workspaceManagedSqlServerUsages.js +23 -40
- package/dist/esm/operations/workspaceManagedSqlServerUsages.js.map +1 -1
- package/dist/esm/operations/workspaceManagedSqlServerVulnerabilityAssessments.js +23 -40
- package/dist/esm/operations/workspaceManagedSqlServerVulnerabilityAssessments.js.map +1 -1
- package/dist/esm/operations/workspaceSqlAadAdmins.js +23 -12
- package/dist/esm/operations/workspaceSqlAadAdmins.js.map +1 -1
- package/dist/esm/operations/workspaces.js +78 -97
- package/dist/esm/operations/workspaces.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/synapseManagementClient.js +87 -5
- package/dist/esm/synapseManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +11 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +1142 -531
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/azureADOnlyAuthentications.js +34 -46
- package/dist/react-native/operations/azureADOnlyAuthentications.js.map +1 -1
- package/dist/react-native/operations/bigDataPools.js +45 -52
- package/dist/react-native/operations/bigDataPools.js.map +1 -1
- package/dist/react-native/operations/dataMaskingPolicies.js +1 -0
- package/dist/react-native/operations/dataMaskingPolicies.js.map +1 -1
- package/dist/react-native/operations/dataMaskingRules.js +10 -27
- package/dist/react-native/operations/dataMaskingRules.js.map +1 -1
- package/dist/react-native/operations/extendedSqlPoolBlobAuditingPolicies.js +23 -40
- package/dist/react-native/operations/extendedSqlPoolBlobAuditingPolicies.js.map +1 -1
- package/dist/react-native/operations/get.js +1 -0
- package/dist/react-native/operations/get.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeAuthKeysOperations.js +1 -0
- package/dist/react-native/operations/integrationRuntimeAuthKeysOperations.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeConnectionInfos.js +1 -0
- package/dist/react-native/operations/integrationRuntimeConnectionInfos.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeCredentials.js +1 -0
- package/dist/react-native/operations/integrationRuntimeCredentials.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeMonitoringDataOperations.js +1 -0
- package/dist/react-native/operations/integrationRuntimeMonitoringDataOperations.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeNodeIpAddressOperations.js +1 -0
- package/dist/react-native/operations/integrationRuntimeNodeIpAddressOperations.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeNodes.js +1 -0
- package/dist/react-native/operations/integrationRuntimeNodes.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeObjectMetadata.js +12 -6
- package/dist/react-native/operations/integrationRuntimeObjectMetadata.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeStatusOperations.js +1 -0
- package/dist/react-native/operations/integrationRuntimeStatusOperations.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimes.js +89 -76
- package/dist/react-native/operations/integrationRuntimes.js.map +1 -1
- package/dist/react-native/operations/ipFirewallRules.js +56 -58
- package/dist/react-native/operations/ipFirewallRules.js.map +1 -1
- package/dist/react-native/operations/keys.js +23 -40
- package/dist/react-native/operations/keys.js.map +1 -1
- package/dist/react-native/operations/kustoOperations.js +23 -40
- package/dist/react-native/operations/kustoOperations.js.map +1 -1
- package/dist/react-native/operations/kustoPoolAttachedDatabaseConfigurations.js +32 -39
- package/dist/react-native/operations/kustoPoolAttachedDatabaseConfigurations.js.map +1 -1
- package/dist/react-native/operations/kustoPoolChildResource.js +1 -0
- package/dist/react-native/operations/kustoPoolChildResource.js.map +1 -1
- package/dist/react-native/operations/kustoPoolDataConnections.js +54 -51
- package/dist/react-native/operations/kustoPoolDataConnections.js.map +1 -1
- package/dist/react-native/operations/kustoPoolDatabasePrincipalAssignments.js +32 -39
- package/dist/react-native/operations/kustoPoolDatabasePrincipalAssignments.js.map +1 -1
- package/dist/react-native/operations/kustoPoolDatabases.js +43 -45
- package/dist/react-native/operations/kustoPoolDatabases.js.map +1 -1
- package/dist/react-native/operations/kustoPoolPrincipalAssignments.js +32 -39
- package/dist/react-native/operations/kustoPoolPrincipalAssignments.js.map +1 -1
- package/dist/react-native/operations/kustoPoolPrivateLinkResourcesOperations.js +10 -27
- package/dist/react-native/operations/kustoPoolPrivateLinkResourcesOperations.js.map +1 -1
- package/dist/react-native/operations/kustoPools.js +125 -153
- package/dist/react-native/operations/kustoPools.js.map +1 -1
- package/dist/react-native/operations/libraries.js +23 -40
- package/dist/react-native/operations/libraries.js.map +1 -1
- package/dist/react-native/operations/library.js +1 -0
- package/dist/react-native/operations/library.js.map +1 -1
- package/dist/react-native/operations/operations.js +1 -0
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +45 -52
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnectionsPrivateLinkHub.js +23 -40
- package/dist/react-native/operations/privateEndpointConnectionsPrivateLinkHub.js.map +1 -1
- package/dist/react-native/operations/privateLinkHubPrivateLinkResources.js +23 -40
- package/dist/react-native/operations/privateLinkHubPrivateLinkResources.js.map +1 -1
- package/dist/react-native/operations/privateLinkHubs.js +56 -85
- package/dist/react-native/operations/privateLinkHubs.js.map +1 -1
- package/dist/react-native/operations/privateLinkResourcesOperations.js +23 -40
- package/dist/react-native/operations/privateLinkResourcesOperations.js.map +1 -1
- package/dist/react-native/operations/restorableDroppedSqlPools.js +10 -27
- package/dist/react-native/operations/restorableDroppedSqlPools.js.map +1 -1
- package/dist/react-native/operations/sparkConfiguration.js +1 -0
- package/dist/react-native/operations/sparkConfiguration.js.map +1 -1
- package/dist/react-native/operations/sparkConfigurations.js +23 -40
- package/dist/react-native/operations/sparkConfigurations.js.map +1 -1
- package/dist/react-native/operations/sqlPoolBlobAuditingPolicies.js +23 -40
- package/dist/react-native/operations/sqlPoolBlobAuditingPolicies.js.map +1 -1
- package/dist/react-native/operations/sqlPoolColumns.js +1 -0
- package/dist/react-native/operations/sqlPoolColumns.js.map +1 -1
- package/dist/react-native/operations/sqlPoolConnectionPolicies.js +1 -0
- package/dist/react-native/operations/sqlPoolConnectionPolicies.js.map +1 -1
- package/dist/react-native/operations/sqlPoolDataWarehouseUserActivities.js +1 -0
- package/dist/react-native/operations/sqlPoolDataWarehouseUserActivities.js.map +1 -1
- package/dist/react-native/operations/sqlPoolGeoBackupPolicies.js +10 -27
- package/dist/react-native/operations/sqlPoolGeoBackupPolicies.js.map +1 -1
- package/dist/react-native/operations/sqlPoolMaintenanceWindowOptions.js +1 -0
- package/dist/react-native/operations/sqlPoolMaintenanceWindowOptions.js.map +1 -1
- package/dist/react-native/operations/sqlPoolMaintenanceWindows.js +1 -0
- package/dist/react-native/operations/sqlPoolMaintenanceWindows.js.map +1 -1
- package/dist/react-native/operations/sqlPoolMetadataSyncConfigs.js +1 -0
- package/dist/react-native/operations/sqlPoolMetadataSyncConfigs.js.map +1 -1
- package/dist/react-native/operations/sqlPoolOperationResults.js +12 -6
- package/dist/react-native/operations/sqlPoolOperationResults.js.map +1 -1
- package/dist/react-native/operations/sqlPoolOperations.js +23 -40
- package/dist/react-native/operations/sqlPoolOperations.js.map +1 -1
- package/dist/react-native/operations/sqlPoolRecommendedSensitivityLabels.js +1 -0
- package/dist/react-native/operations/sqlPoolRecommendedSensitivityLabels.js.map +1 -1
- package/dist/react-native/operations/sqlPoolReplicationLinks.js +23 -40
- package/dist/react-native/operations/sqlPoolReplicationLinks.js.map +1 -1
- package/dist/react-native/operations/sqlPoolRestorePoints.js +34 -46
- package/dist/react-native/operations/sqlPoolRestorePoints.js.map +1 -1
- package/dist/react-native/operations/sqlPoolSchemas.js +23 -40
- package/dist/react-native/operations/sqlPoolSchemas.js.map +1 -1
- package/dist/react-native/operations/sqlPoolSecurityAlertPolicies.js +23 -40
- package/dist/react-native/operations/sqlPoolSecurityAlertPolicies.js.map +1 -1
- package/dist/react-native/operations/sqlPoolSensitivityLabels.js +45 -79
- package/dist/react-native/operations/sqlPoolSensitivityLabels.js.map +1 -1
- package/dist/react-native/operations/sqlPoolTableColumns.js +23 -40
- package/dist/react-native/operations/sqlPoolTableColumns.js.map +1 -1
- package/dist/react-native/operations/sqlPoolTables.js +23 -40
- package/dist/react-native/operations/sqlPoolTables.js.map +1 -1
- package/dist/react-native/operations/sqlPoolTransparentDataEncryptions.js +23 -40
- package/dist/react-native/operations/sqlPoolTransparentDataEncryptions.js.map +1 -1
- package/dist/react-native/operations/sqlPoolUsages.js +23 -40
- package/dist/react-native/operations/sqlPoolUsages.js.map +1 -1
- package/dist/react-native/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.js +1 -0
- package/dist/react-native/operations/sqlPoolVulnerabilityAssessmentRuleBaselines.js.map +1 -1
- package/dist/react-native/operations/sqlPoolVulnerabilityAssessmentScans.js +34 -46
- package/dist/react-native/operations/sqlPoolVulnerabilityAssessmentScans.js.map +1 -1
- package/dist/react-native/operations/sqlPoolVulnerabilityAssessments.js +23 -40
- package/dist/react-native/operations/sqlPoolVulnerabilityAssessments.js.map +1 -1
- package/dist/react-native/operations/sqlPoolWorkloadClassifier.js +45 -52
- package/dist/react-native/operations/sqlPoolWorkloadClassifier.js.map +1 -1
- package/dist/react-native/operations/sqlPoolWorkloadGroup.js +45 -52
- package/dist/react-native/operations/sqlPoolWorkloadGroup.js.map +1 -1
- package/dist/react-native/operations/sqlPools.js +78 -70
- package/dist/react-native/operations/sqlPools.js.map +1 -1
- package/dist/react-native/operations/workspaceAadAdmins.js +23 -12
- package/dist/react-native/operations/workspaceAadAdmins.js.map +1 -1
- package/dist/react-native/operations/workspaceManagedIdentitySqlControlSettings.js +12 -6
- package/dist/react-native/operations/workspaceManagedIdentitySqlControlSettings.js.map +1 -1
- package/dist/react-native/operations/workspaceManagedSqlServerBlobAuditingPolicies.js +34 -46
- package/dist/react-native/operations/workspaceManagedSqlServerBlobAuditingPolicies.js.map +1 -1
- package/dist/react-native/operations/workspaceManagedSqlServerDedicatedSQLMinimalTlsSettings.js +34 -46
- package/dist/react-native/operations/workspaceManagedSqlServerDedicatedSQLMinimalTlsSettings.js.map +1 -1
- package/dist/react-native/operations/workspaceManagedSqlServerEncryptionProtector.js +45 -52
- package/dist/react-native/operations/workspaceManagedSqlServerEncryptionProtector.js.map +1 -1
- package/dist/react-native/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.js +34 -46
- package/dist/react-native/operations/workspaceManagedSqlServerExtendedBlobAuditingPolicies.js.map +1 -1
- package/dist/react-native/operations/workspaceManagedSqlServerRecoverableSqlPools.js +23 -40
- package/dist/react-native/operations/workspaceManagedSqlServerRecoverableSqlPools.js.map +1 -1
- package/dist/react-native/operations/workspaceManagedSqlServerSecurityAlertPolicy.js +34 -46
- package/dist/react-native/operations/workspaceManagedSqlServerSecurityAlertPolicy.js.map +1 -1
- package/dist/react-native/operations/workspaceManagedSqlServerUsages.js +23 -40
- package/dist/react-native/operations/workspaceManagedSqlServerUsages.js.map +1 -1
- package/dist/react-native/operations/workspaceManagedSqlServerVulnerabilityAssessments.js +23 -40
- package/dist/react-native/operations/workspaceManagedSqlServerVulnerabilityAssessments.js.map +1 -1
- package/dist/react-native/operations/workspaceSqlAadAdmins.js +23 -12
- package/dist/react-native/operations/workspaceSqlAadAdmins.js.map +1 -1
- package/dist/react-native/operations/workspaces.js +78 -97
- package/dist/react-native/operations/workspaces.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/synapseManagementClient.js +87 -5
- package/dist/react-native/synapseManagementClient.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-synapse.api.md → arm-synapse-node.api.md} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kustoPoolDatabasePrincipalAssignments.js","sourceRoot":"","sources":["../../../src/operations/kustoPoolDatabasePrincipalAssignments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAexC,4CAA4C;AAC5C,yEAAyE;AACzE,MAAa,yCAAyC;IAIpD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,aAAqB,EACrB,aAAqB,EACrB,YAAoB,EACpB,iBAAyB,EACzB,OAAiE;QAEjE,MAAM,IAAI,GAAG,IA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,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { KustoPoolDatabasePrincipalAssignments } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SynapseManagementClient } from \"../synapseManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n DatabasePrincipalAssignment,\n KustoPoolDatabasePrincipalAssignmentsListOptionalParams,\n KustoPoolDatabasePrincipalAssignmentsListResponse,\n DatabasePrincipalAssignmentCheckNameRequest,\n KustoPoolDatabasePrincipalAssignmentsCheckNameAvailabilityOptionalParams,\n KustoPoolDatabasePrincipalAssignmentsCheckNameAvailabilityResponse,\n KustoPoolDatabasePrincipalAssignmentsGetOptionalParams,\n KustoPoolDatabasePrincipalAssignmentsGetResponse,\n KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateOptionalParams,\n KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse,\n KustoPoolDatabasePrincipalAssignmentsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing KustoPoolDatabasePrincipalAssignments operations. */\nexport class KustoPoolDatabasePrincipalAssignmentsImpl\n implements KustoPoolDatabasePrincipalAssignments {\n private readonly client: SynapseManagementClient;\n\n /**\n * Initialize a new instance of the class KustoPoolDatabasePrincipalAssignments class.\n * @param client Reference to the service client\n */\n constructor(client: SynapseManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all Kusto pool database principalAssignments.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public list(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsListOptionalParams\n ): PagedAsyncIterableIterator<DatabasePrincipalAssignment> {\n const iter = this.listPagingAll(\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<DatabasePrincipalAssignment[]> {\n let result: KustoPoolDatabasePrincipalAssignmentsListResponse;\n result = await this._list(\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options\n );\n yield result.value || [];\n }\n\n private async *listPagingAll(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsListOptionalParams\n ): AsyncIterableIterator<DatabasePrincipalAssignment> {\n for await (const page of this.listPagingPage(\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Checks that the database principal assignment is valid and is not already in use.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param principalAssignmentName The name of the resource.\n * @param options The options parameters.\n */\n checkNameAvailability(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n principalAssignmentName: DatabasePrincipalAssignmentCheckNameRequest,\n options?: KustoPoolDatabasePrincipalAssignmentsCheckNameAvailabilityOptionalParams\n ): Promise<\n KustoPoolDatabasePrincipalAssignmentsCheckNameAvailabilityResponse\n > {\n return this.client.sendOperationRequest(\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n principalAssignmentName,\n options\n },\n checkNameAvailabilityOperationSpec\n );\n }\n\n /**\n * Lists all Kusto pool database principalAssignments.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _list(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsListOptionalParams\n ): Promise<KustoPoolDatabasePrincipalAssignmentsListResponse> {\n return this.client.sendOperationRequest(\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options\n },\n listOperationSpec\n );\n }\n\n /**\n * Gets a Kusto pool database principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n get(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsGetOptionalParams\n ): Promise<KustoPoolDatabasePrincipalAssignmentsGetResponse> {\n return this.client.sendOperationRequest(\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Creates a Kusto pool database principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param parameters The Kusto principalAssignments parameters supplied for the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n parameters: DatabasePrincipalAssignment,\n options?: KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<\n KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse\n >,\n KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a Kusto pool database principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param parameters The Kusto principalAssignments parameters supplied for the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n parameters: DatabasePrincipalAssignment,\n options?: KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateOptionalParams\n ): Promise<KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a Kusto pool principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n async beginDelete(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n options\n },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a Kusto pool principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/checkPrincipalAssignmentNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.principalAssignmentName2,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/principalAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabasePrincipalAssignmentListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName,\n Parameters.principalAssignmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n 201: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n 202: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n 204: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters30,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName,\n Parameters.principalAssignmentName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName,\n Parameters.principalAssignmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"kustoPoolDatabasePrincipalAssignments.js","sourceRoot":"","sources":["../../../src/operations/kustoPoolDatabasePrincipalAssignments.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAexC,4CAA4C;AAC5C,yEAAyE;AACzE,MAAa,yCAAyC;IAEnC,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,aAAqB,EACrB,aAAqB,EACrB,YAAoB,EACpB,iBAAyB,EACzB,OAAiE;QAEjE,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAC7B,aAAa,EACb,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CACxB,aAAa,EACb,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEO,KAAK,CAAC,CAAC,cAAc,CAC3B,aAAqB,EACrB,aAAqB,EACrB,YAAoB,EACpB,iBAAyB,EACzB,OAAiE,EACjE,SAAwB;QAExB,IAAI,MAAyD,CAAC;QAC9D,MAAM,GAAG,MAAM,IAAI,CAAC,KAAK,CACvB,aAAa,EACb,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,OA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AE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { KustoPoolDatabasePrincipalAssignments } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SynapseManagementClient } from \"../synapseManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n DatabasePrincipalAssignment,\n KustoPoolDatabasePrincipalAssignmentsListOptionalParams,\n KustoPoolDatabasePrincipalAssignmentsListResponse,\n DatabasePrincipalAssignmentCheckNameRequest,\n KustoPoolDatabasePrincipalAssignmentsCheckNameAvailabilityOptionalParams,\n KustoPoolDatabasePrincipalAssignmentsCheckNameAvailabilityResponse,\n KustoPoolDatabasePrincipalAssignmentsGetOptionalParams,\n KustoPoolDatabasePrincipalAssignmentsGetResponse,\n KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateOptionalParams,\n KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse,\n KustoPoolDatabasePrincipalAssignmentsDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing KustoPoolDatabasePrincipalAssignments operations. */\nexport class KustoPoolDatabasePrincipalAssignmentsImpl\n implements KustoPoolDatabasePrincipalAssignments {\n private readonly client: SynapseManagementClient;\n\n /**\n * Initialize a new instance of the class KustoPoolDatabasePrincipalAssignments class.\n * @param client Reference to the service client\n */\n constructor(client: SynapseManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all Kusto pool database principalAssignments.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public list(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsListOptionalParams\n ): PagedAsyncIterableIterator<DatabasePrincipalAssignment> {\n const iter = this.listPagingAll(\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listPagingPage(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsListOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<DatabasePrincipalAssignment[]> {\n let result: KustoPoolDatabasePrincipalAssignmentsListResponse;\n result = await this._list(\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options\n );\n yield result.value || [];\n }\n\n private async *listPagingAll(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsListOptionalParams\n ): AsyncIterableIterator<DatabasePrincipalAssignment> {\n for await (const page of this.listPagingPage(\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Checks that the database principal assignment is valid and is not already in use.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param principalAssignmentName The name of the resource.\n * @param options The options parameters.\n */\n checkNameAvailability(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n principalAssignmentName: DatabasePrincipalAssignmentCheckNameRequest,\n options?: KustoPoolDatabasePrincipalAssignmentsCheckNameAvailabilityOptionalParams\n ): Promise<\n KustoPoolDatabasePrincipalAssignmentsCheckNameAvailabilityResponse\n > {\n return this.client.sendOperationRequest(\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n principalAssignmentName,\n options\n },\n checkNameAvailabilityOperationSpec\n );\n }\n\n /**\n * Lists all Kusto pool database principalAssignments.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _list(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsListOptionalParams\n ): Promise<KustoPoolDatabasePrincipalAssignmentsListResponse> {\n return this.client.sendOperationRequest(\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n resourceGroupName,\n options\n },\n listOperationSpec\n );\n }\n\n /**\n * Gets a Kusto pool database principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n get(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsGetOptionalParams\n ): Promise<KustoPoolDatabasePrincipalAssignmentsGetResponse> {\n return this.client.sendOperationRequest(\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Creates a Kusto pool database principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param parameters The Kusto principalAssignments parameters supplied for the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n parameters: DatabasePrincipalAssignment,\n options?: KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<\n KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse\n >,\n KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a Kusto pool database principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param parameters The Kusto principalAssignments parameters supplied for the operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n parameters: DatabasePrincipalAssignment,\n options?: KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateOptionalParams\n ): Promise<KustoPoolDatabasePrincipalAssignmentsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a Kusto pool principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n async beginDelete(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n options\n },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a Kusto pool principalAssignment.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param principalAssignmentName The name of the Kusto principalAssignment.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n principalAssignmentName: string,\n resourceGroupName: string,\n options?: KustoPoolDatabasePrincipalAssignmentsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n workspaceName,\n kustoPoolName,\n databaseName,\n principalAssignmentName,\n resourceGroupName,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/checkPrincipalAssignmentNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.principalAssignmentName2,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/principalAssignments\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabasePrincipalAssignmentListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName,\n Parameters.principalAssignmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n 201: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n 202: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n 204: {\n bodyMapper: Mappers.DatabasePrincipalAssignment\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters30,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName,\n Parameters.principalAssignmentName1\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}/principalAssignments/{principalAssignmentName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName,\n Parameters.principalAssignmentName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -17,6 +17,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
17
17
|
/// <reference lib="esnext.asynciterable" />
|
|
18
18
|
/** Class containing KustoPoolDatabases operations. */
|
|
19
19
|
class KustoPoolDatabasesImpl {
|
|
20
|
+
client;
|
|
20
21
|
/**
|
|
21
22
|
* Initialize a new instance of the class KustoPoolDatabases class.
|
|
22
23
|
* @param client Reference to the service client
|
|
@@ -41,39 +42,22 @@ class KustoPoolDatabasesImpl {
|
|
|
41
42
|
return this;
|
|
42
43
|
},
|
|
43
44
|
byPage: (settings) => {
|
|
44
|
-
if (settings
|
|
45
|
+
if (settings?.maxPageSize) {
|
|
45
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
47
|
}
|
|
47
48
|
return this.listByKustoPoolPagingPage(resourceGroupName, workspaceName, kustoPoolName, options, settings);
|
|
48
49
|
}
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
|
-
listByKustoPoolPagingPage(resourceGroupName, workspaceName, kustoPoolName, options, _settings) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
yield yield tslib_1.__await(result.value || []);
|
|
56
|
-
});
|
|
52
|
+
async *listByKustoPoolPagingPage(resourceGroupName, workspaceName, kustoPoolName, options, _settings) {
|
|
53
|
+
let result;
|
|
54
|
+
result = await this._listByKustoPool(resourceGroupName, workspaceName, kustoPoolName, options);
|
|
55
|
+
yield result.value || [];
|
|
57
56
|
}
|
|
58
|
-
listByKustoPoolPagingAll(resourceGroupName, workspaceName, kustoPoolName, options) {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listByKustoPoolPagingPage(resourceGroupName, workspaceName, kustoPoolName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
63
|
-
_c = _f.value;
|
|
64
|
-
_d = false;
|
|
65
|
-
const page = _c;
|
|
66
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
70
|
-
finally {
|
|
71
|
-
try {
|
|
72
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
73
|
-
}
|
|
74
|
-
finally { if (e_1) throw e_1.error; }
|
|
75
|
-
}
|
|
76
|
-
});
|
|
57
|
+
async *listByKustoPoolPagingAll(resourceGroupName, workspaceName, kustoPoolName, options) {
|
|
58
|
+
for await (const page of this.listByKustoPoolPagingPage(resourceGroupName, workspaceName, kustoPoolName, options)) {
|
|
59
|
+
yield* page;
|
|
60
|
+
}
|
|
77
61
|
}
|
|
78
62
|
/**
|
|
79
63
|
* Returns the list of databases of the given Kusto pool.
|
|
@@ -116,14 +100,19 @@ class KustoPoolDatabasesImpl {
|
|
|
116
100
|
return this.client.sendOperationRequest(args, spec);
|
|
117
101
|
};
|
|
118
102
|
const sendOperation = async (args, spec) => {
|
|
119
|
-
var _a;
|
|
120
103
|
let currentRawResponse = undefined;
|
|
121
|
-
const providedCallback =
|
|
104
|
+
const providedCallback = args.options?.onResponse;
|
|
122
105
|
const callback = (rawResponse, flatResponse) => {
|
|
123
106
|
currentRawResponse = rawResponse;
|
|
124
|
-
providedCallback
|
|
107
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
108
|
+
};
|
|
109
|
+
const updatedArgs = {
|
|
110
|
+
...args,
|
|
111
|
+
options: {
|
|
112
|
+
...args.options,
|
|
113
|
+
onResponse: callback
|
|
114
|
+
}
|
|
125
115
|
};
|
|
126
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
127
116
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
128
117
|
return {
|
|
129
118
|
flatResponse,
|
|
@@ -143,8 +132,8 @@ class KustoPoolDatabasesImpl {
|
|
|
143
132
|
options
|
|
144
133
|
}, createOrUpdateOperationSpec);
|
|
145
134
|
const poller = new core_lro_1.LroEngine(lro, {
|
|
146
|
-
resumeFrom: options
|
|
147
|
-
intervalInMs: options
|
|
135
|
+
resumeFrom: options?.resumeFrom,
|
|
136
|
+
intervalInMs: options?.updateIntervalInMs
|
|
148
137
|
});
|
|
149
138
|
await poller.poll();
|
|
150
139
|
return poller;
|
|
@@ -176,14 +165,19 @@ class KustoPoolDatabasesImpl {
|
|
|
176
165
|
return this.client.sendOperationRequest(args, spec);
|
|
177
166
|
};
|
|
178
167
|
const sendOperation = async (args, spec) => {
|
|
179
|
-
var _a;
|
|
180
168
|
let currentRawResponse = undefined;
|
|
181
|
-
const providedCallback =
|
|
169
|
+
const providedCallback = args.options?.onResponse;
|
|
182
170
|
const callback = (rawResponse, flatResponse) => {
|
|
183
171
|
currentRawResponse = rawResponse;
|
|
184
|
-
providedCallback
|
|
172
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
173
|
+
};
|
|
174
|
+
const updatedArgs = {
|
|
175
|
+
...args,
|
|
176
|
+
options: {
|
|
177
|
+
...args.options,
|
|
178
|
+
onResponse: callback
|
|
179
|
+
}
|
|
185
180
|
};
|
|
186
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
187
181
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
188
182
|
return {
|
|
189
183
|
flatResponse,
|
|
@@ -203,8 +197,8 @@ class KustoPoolDatabasesImpl {
|
|
|
203
197
|
options
|
|
204
198
|
}, updateOperationSpec);
|
|
205
199
|
const poller = new core_lro_1.LroEngine(lro, {
|
|
206
|
-
resumeFrom: options
|
|
207
|
-
intervalInMs: options
|
|
200
|
+
resumeFrom: options?.resumeFrom,
|
|
201
|
+
intervalInMs: options?.updateIntervalInMs
|
|
208
202
|
});
|
|
209
203
|
await poller.poll();
|
|
210
204
|
return poller;
|
|
@@ -235,14 +229,19 @@ class KustoPoolDatabasesImpl {
|
|
|
235
229
|
return this.client.sendOperationRequest(args, spec);
|
|
236
230
|
};
|
|
237
231
|
const sendOperation = async (args, spec) => {
|
|
238
|
-
var _a;
|
|
239
232
|
let currentRawResponse = undefined;
|
|
240
|
-
const providedCallback =
|
|
233
|
+
const providedCallback = args.options?.onResponse;
|
|
241
234
|
const callback = (rawResponse, flatResponse) => {
|
|
242
235
|
currentRawResponse = rawResponse;
|
|
243
|
-
providedCallback
|
|
236
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
237
|
+
};
|
|
238
|
+
const updatedArgs = {
|
|
239
|
+
...args,
|
|
240
|
+
options: {
|
|
241
|
+
...args.options,
|
|
242
|
+
onResponse: callback
|
|
243
|
+
}
|
|
244
244
|
};
|
|
245
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
246
245
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
247
246
|
return {
|
|
248
247
|
flatResponse,
|
|
@@ -261,8 +260,8 @@ class KustoPoolDatabasesImpl {
|
|
|
261
260
|
options
|
|
262
261
|
}, deleteOperationSpec);
|
|
263
262
|
const poller = new core_lro_1.LroEngine(lro, {
|
|
264
|
-
resumeFrom: options
|
|
265
|
-
intervalInMs: options
|
|
263
|
+
resumeFrom: options?.resumeFrom,
|
|
264
|
+
intervalInMs: options?.updateIntervalInMs
|
|
266
265
|
});
|
|
267
266
|
await poller.poll();
|
|
268
267
|
return poller;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kustoPoolDatabases.js","sourceRoot":"","sources":["../../../src/operations/kustoPoolDatabases.ts"],"names":[],"mappings":";AAAA;;;;;;G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CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,+KAA+K;IACjL,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { KustoPoolDatabases } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SynapseManagementClient } from \"../synapseManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n DatabaseUnion,\n KustoPoolDatabasesListByKustoPoolOptionalParams,\n KustoPoolDatabasesListByKustoPoolResponse,\n KustoPoolDatabasesGetOptionalParams,\n KustoPoolDatabasesGetResponse,\n KustoPoolDatabasesCreateOrUpdateOptionalParams,\n KustoPoolDatabasesCreateOrUpdateResponse,\n KustoPoolDatabasesUpdateOptionalParams,\n KustoPoolDatabasesUpdateResponse,\n KustoPoolDatabasesDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing KustoPoolDatabases operations. */\nexport class KustoPoolDatabasesImpl implements KustoPoolDatabases {\n private readonly client: SynapseManagementClient;\n\n /**\n * Initialize a new instance of the class KustoPoolDatabases class.\n * @param client Reference to the service client\n */\n constructor(client: SynapseManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns the list of databases of the given Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param options The options parameters.\n */\n public listByKustoPool(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n options?: KustoPoolDatabasesListByKustoPoolOptionalParams\n ): PagedAsyncIterableIterator<DatabaseUnion> {\n const iter = this.listByKustoPoolPagingAll(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByKustoPoolPagingPage(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByKustoPoolPagingPage(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n options?: KustoPoolDatabasesListByKustoPoolOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<DatabaseUnion[]> {\n let result: KustoPoolDatabasesListByKustoPoolResponse;\n result = await this._listByKustoPool(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n options\n );\n yield result.value || [];\n }\n\n private async *listByKustoPoolPagingAll(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n options?: KustoPoolDatabasesListByKustoPoolOptionalParams\n ): AsyncIterableIterator<DatabaseUnion> {\n for await (const page of this.listByKustoPoolPagingPage(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns the list of databases of the given Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param options The options parameters.\n */\n private _listByKustoPool(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n options?: KustoPoolDatabasesListByKustoPoolOptionalParams\n ): Promise<KustoPoolDatabasesListByKustoPoolResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, kustoPoolName, options },\n listByKustoPoolOperationSpec\n );\n }\n\n /**\n * Returns a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n options?: KustoPoolDatabasesGetOptionalParams\n ): Promise<KustoPoolDatabasesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param parameters The database parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n parameters: DatabaseUnion,\n options?: KustoPoolDatabasesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<KustoPoolDatabasesCreateOrUpdateResponse>,\n KustoPoolDatabasesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<KustoPoolDatabasesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param parameters The database parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n parameters: DatabaseUnion,\n options?: KustoPoolDatabasesCreateOrUpdateOptionalParams\n ): Promise<KustoPoolDatabasesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param parameters The database parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n parameters: DatabaseUnion,\n options?: KustoPoolDatabasesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<KustoPoolDatabasesUpdateResponse>,\n KustoPoolDatabasesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<KustoPoolDatabasesUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n parameters,\n options\n },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param parameters The database parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n parameters: DatabaseUnion,\n options?: KustoPoolDatabasesUpdateOptionalParams\n ): Promise<KustoPoolDatabasesUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the database with the given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n options?: KustoPoolDatabasesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n options\n },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the database with the given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n options?: KustoPoolDatabasesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByKustoPoolOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabaseListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Database\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Database\n },\n 201: {\n bodyMapper: Mappers.Database\n },\n 202: {\n bodyMapper: Mappers.Database\n },\n 204: {\n bodyMapper: Mappers.Database\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters26,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Database\n },\n 201: {\n bodyMapper: Mappers.Database\n },\n 202: {\n bodyMapper: Mappers.Database\n },\n 204: {\n bodyMapper: Mappers.Database\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters26,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"kustoPoolDatabases.js","sourceRoot":"","sources":["../../../src/operations/kustoPoolDatabases.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAcxC,4CAA4C;AAC5C,sDAAsD;AACtD,MAAa,sBAAsB;IAChB,MAAM,CAA0B;IAEjD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,eAAe,CACpB,iBAAyB,EACzB,aAAqB,EACrB,aAAqB,EACrB,OAAyD;QAEzD,MAAM,IAAI,GAAG,IAAI,CAAC,wBAAwB,CACxC,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;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7B;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EACF,+KAA+K;IACjL,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IACzC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { KustoPoolDatabases } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SynapseManagementClient } from \"../synapseManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n DatabaseUnion,\n KustoPoolDatabasesListByKustoPoolOptionalParams,\n KustoPoolDatabasesListByKustoPoolResponse,\n KustoPoolDatabasesGetOptionalParams,\n KustoPoolDatabasesGetResponse,\n KustoPoolDatabasesCreateOrUpdateOptionalParams,\n KustoPoolDatabasesCreateOrUpdateResponse,\n KustoPoolDatabasesUpdateOptionalParams,\n KustoPoolDatabasesUpdateResponse,\n KustoPoolDatabasesDeleteOptionalParams\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing KustoPoolDatabases operations. */\nexport class KustoPoolDatabasesImpl implements KustoPoolDatabases {\n private readonly client: SynapseManagementClient;\n\n /**\n * Initialize a new instance of the class KustoPoolDatabases class.\n * @param client Reference to the service client\n */\n constructor(client: SynapseManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns the list of databases of the given Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param options The options parameters.\n */\n public listByKustoPool(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n options?: KustoPoolDatabasesListByKustoPoolOptionalParams\n ): PagedAsyncIterableIterator<DatabaseUnion> {\n const iter = this.listByKustoPoolPagingAll(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByKustoPoolPagingPage(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByKustoPoolPagingPage(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n options?: KustoPoolDatabasesListByKustoPoolOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<DatabaseUnion[]> {\n let result: KustoPoolDatabasesListByKustoPoolResponse;\n result = await this._listByKustoPool(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n options\n );\n yield result.value || [];\n }\n\n private async *listByKustoPoolPagingAll(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n options?: KustoPoolDatabasesListByKustoPoolOptionalParams\n ): AsyncIterableIterator<DatabaseUnion> {\n for await (const page of this.listByKustoPoolPagingPage(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns the list of databases of the given Kusto pool.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param options The options parameters.\n */\n private _listByKustoPool(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n options?: KustoPoolDatabasesListByKustoPoolOptionalParams\n ): Promise<KustoPoolDatabasesListByKustoPoolResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, kustoPoolName, options },\n listByKustoPoolOperationSpec\n );\n }\n\n /**\n * Returns a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n options?: KustoPoolDatabasesGetOptionalParams\n ): Promise<KustoPoolDatabasesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n options\n },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param parameters The database parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n parameters: DatabaseUnion,\n options?: KustoPoolDatabasesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<KustoPoolDatabasesCreateOrUpdateResponse>,\n KustoPoolDatabasesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<KustoPoolDatabasesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n parameters,\n options\n },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param parameters The database parameters supplied to the CreateOrUpdate operation.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n parameters: DatabaseUnion,\n options?: KustoPoolDatabasesCreateOrUpdateOptionalParams\n ): Promise<KustoPoolDatabasesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param parameters The database parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n parameters: DatabaseUnion,\n options?: KustoPoolDatabasesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<KustoPoolDatabasesUpdateResponse>,\n KustoPoolDatabasesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<KustoPoolDatabasesUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n parameters,\n options\n },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates a database.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param parameters The database parameters supplied to the Update operation.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n parameters: DatabaseUnion,\n options?: KustoPoolDatabasesUpdateOptionalParams\n ): Promise<KustoPoolDatabasesUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the database with the given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n options?: KustoPoolDatabasesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n {\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n options\n },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the database with the given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param kustoPoolName The name of the Kusto pool.\n * @param databaseName The name of the database in the Kusto pool.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n workspaceName: string,\n kustoPoolName: string,\n databaseName: string,\n options?: KustoPoolDatabasesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n workspaceName,\n kustoPoolName,\n databaseName,\n options\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByKustoPoolOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DatabaseListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Database\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Database\n },\n 201: {\n bodyMapper: Mappers.Database\n },\n 202: {\n bodyMapper: Mappers.Database\n },\n 204: {\n bodyMapper: Mappers.Database\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters26,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.Database\n },\n 201: {\n bodyMapper: Mappers.Database\n },\n 202: {\n bodyMapper: Mappers.Database\n },\n 204: {\n bodyMapper: Mappers.Database\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters26,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.kustoPoolName1,\n Parameters.databaseName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -17,6 +17,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
17
17
|
/// <reference lib="esnext.asynciterable" />
|
|
18
18
|
/** Class containing KustoPoolPrincipalAssignments operations. */
|
|
19
19
|
class KustoPoolPrincipalAssignmentsImpl {
|
|
20
|
+
client;
|
|
20
21
|
/**
|
|
21
22
|
* Initialize a new instance of the class KustoPoolPrincipalAssignments class.
|
|
22
23
|
* @param client Reference to the service client
|
|
@@ -41,39 +42,22 @@ class KustoPoolPrincipalAssignmentsImpl {
|
|
|
41
42
|
return this;
|
|
42
43
|
},
|
|
43
44
|
byPage: (settings) => {
|
|
44
|
-
if (settings
|
|
45
|
+
if (settings?.maxPageSize) {
|
|
45
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
47
|
}
|
|
47
48
|
return this.listPagingPage(workspaceName, kustoPoolName, resourceGroupName, options, settings);
|
|
48
49
|
}
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
|
-
listPagingPage(workspaceName, kustoPoolName, resourceGroupName, options, _settings) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
yield yield tslib_1.__await(result.value || []);
|
|
56
|
-
});
|
|
52
|
+
async *listPagingPage(workspaceName, kustoPoolName, resourceGroupName, options, _settings) {
|
|
53
|
+
let result;
|
|
54
|
+
result = await this._list(workspaceName, kustoPoolName, resourceGroupName, options);
|
|
55
|
+
yield result.value || [];
|
|
57
56
|
}
|
|
58
|
-
listPagingAll(workspaceName, kustoPoolName, resourceGroupName, options) {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(workspaceName, kustoPoolName, resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
63
|
-
_c = _f.value;
|
|
64
|
-
_d = false;
|
|
65
|
-
const page = _c;
|
|
66
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
70
|
-
finally {
|
|
71
|
-
try {
|
|
72
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
73
|
-
}
|
|
74
|
-
finally { if (e_1) throw e_1.error; }
|
|
75
|
-
}
|
|
76
|
-
});
|
|
57
|
+
async *listPagingAll(workspaceName, kustoPoolName, resourceGroupName, options) {
|
|
58
|
+
for await (const page of this.listPagingPage(workspaceName, kustoPoolName, resourceGroupName, options)) {
|
|
59
|
+
yield* page;
|
|
60
|
+
}
|
|
77
61
|
}
|
|
78
62
|
/**
|
|
79
63
|
* Checks that the principal assignment name is valid and is not already in use.
|
|
@@ -133,14 +117,19 @@ class KustoPoolPrincipalAssignmentsImpl {
|
|
|
133
117
|
return this.client.sendOperationRequest(args, spec);
|
|
134
118
|
};
|
|
135
119
|
const sendOperation = async (args, spec) => {
|
|
136
|
-
var _a;
|
|
137
120
|
let currentRawResponse = undefined;
|
|
138
|
-
const providedCallback =
|
|
121
|
+
const providedCallback = args.options?.onResponse;
|
|
139
122
|
const callback = (rawResponse, flatResponse) => {
|
|
140
123
|
currentRawResponse = rawResponse;
|
|
141
|
-
providedCallback
|
|
124
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
125
|
+
};
|
|
126
|
+
const updatedArgs = {
|
|
127
|
+
...args,
|
|
128
|
+
options: {
|
|
129
|
+
...args.options,
|
|
130
|
+
onResponse: callback
|
|
131
|
+
}
|
|
142
132
|
};
|
|
143
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
144
133
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
145
134
|
return {
|
|
146
135
|
flatResponse,
|
|
@@ -160,8 +149,8 @@ class KustoPoolPrincipalAssignmentsImpl {
|
|
|
160
149
|
options
|
|
161
150
|
}, createOrUpdateOperationSpec);
|
|
162
151
|
const poller = new core_lro_1.LroEngine(lro, {
|
|
163
|
-
resumeFrom: options
|
|
164
|
-
intervalInMs: options
|
|
152
|
+
resumeFrom: options?.resumeFrom,
|
|
153
|
+
intervalInMs: options?.updateIntervalInMs
|
|
165
154
|
});
|
|
166
155
|
await poller.poll();
|
|
167
156
|
return poller;
|
|
@@ -192,14 +181,19 @@ class KustoPoolPrincipalAssignmentsImpl {
|
|
|
192
181
|
return this.client.sendOperationRequest(args, spec);
|
|
193
182
|
};
|
|
194
183
|
const sendOperation = async (args, spec) => {
|
|
195
|
-
var _a;
|
|
196
184
|
let currentRawResponse = undefined;
|
|
197
|
-
const providedCallback =
|
|
185
|
+
const providedCallback = args.options?.onResponse;
|
|
198
186
|
const callback = (rawResponse, flatResponse) => {
|
|
199
187
|
currentRawResponse = rawResponse;
|
|
200
|
-
providedCallback
|
|
188
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
189
|
+
};
|
|
190
|
+
const updatedArgs = {
|
|
191
|
+
...args,
|
|
192
|
+
options: {
|
|
193
|
+
...args.options,
|
|
194
|
+
onResponse: callback
|
|
195
|
+
}
|
|
201
196
|
};
|
|
202
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
203
197
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
204
198
|
return {
|
|
205
199
|
flatResponse,
|
|
@@ -218,8 +212,8 @@ class KustoPoolPrincipalAssignmentsImpl {
|
|
|
218
212
|
options
|
|
219
213
|
}, deleteOperationSpec);
|
|
220
214
|
const poller = new core_lro_1.LroEngine(lro, {
|
|
221
|
-
resumeFrom: options
|
|
222
|
-
intervalInMs: options
|
|
215
|
+
resumeFrom: options?.resumeFrom,
|
|
216
|
+
intervalInMs: options?.updateIntervalInMs
|
|
223
217
|
});
|
|
224
218
|
await poller.poll();
|
|
225
219
|
return poller;
|