@azure/arm-synapse 9.0.0-alpha.20250718.1 → 9.0.0-alpha.20250730.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 +1 -1
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationRuntimes.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAyBxC,4CAA4C;AAC5C,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IAGlC;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GA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aAAa;QACxB,UAAU,CAAC,sBAAsB;KAClC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { IntegrationRuntimes } 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 IntegrationRuntimeResource,\n IntegrationRuntimesListByWorkspaceNextOptionalParams,\n IntegrationRuntimesListByWorkspaceOptionalParams,\n IntegrationRuntimesListByWorkspaceResponse,\n UpdateIntegrationRuntimeRequest,\n IntegrationRuntimesUpdateOptionalParams,\n IntegrationRuntimesUpdateResponse,\n IntegrationRuntimesGetOptionalParams,\n IntegrationRuntimesGetResponse,\n IntegrationRuntimesCreateOptionalParams,\n IntegrationRuntimesCreateResponse,\n IntegrationRuntimesDeleteOptionalParams,\n IntegrationRuntimesUpgradeOptionalParams,\n IntegrationRuntimesStartOptionalParams,\n IntegrationRuntimesStartResponse,\n IntegrationRuntimesStopOptionalParams,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse,\n IntegrationRuntimesEnableInteractiveQueryOptionalParams,\n IntegrationRuntimesDisableInteractiveQueryOptionalParams,\n IntegrationRuntimesListByWorkspaceNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing IntegrationRuntimes operations. */\nexport class IntegrationRuntimesImpl implements IntegrationRuntimes {\n private readonly client: SynapseManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimes class.\n * @param client Reference to the service client\n */\n constructor(client: SynapseManagementClient) {\n this.client = client;\n }\n\n /**\n * List all integration runtimes\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n public listByWorkspace(\n resourceGroupName: string,\n workspaceName: string,\n options?: IntegrationRuntimesListByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<IntegrationRuntimeResource> {\n const iter = this.listByWorkspacePagingAll(\n resourceGroupName,\n workspaceName,\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.listByWorkspacePagingPage(\n resourceGroupName,\n workspaceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByWorkspacePagingPage(\n resourceGroupName: string,\n workspaceName: string,\n options?: IntegrationRuntimesListByWorkspaceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<IntegrationRuntimeResource[]> {\n let result: IntegrationRuntimesListByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByWorkspace(\n resourceGroupName,\n workspaceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByWorkspaceNext(\n resourceGroupName,\n workspaceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByWorkspacePagingAll(\n resourceGroupName: string,\n workspaceName: string,\n options?: IntegrationRuntimesListByWorkspaceOptionalParams\n ): AsyncIterableIterator<IntegrationRuntimeResource> {\n for await (const page of this.listByWorkspacePagingPage(\n resourceGroupName,\n workspaceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Update an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest,\n options?: IntegrationRuntimesUpdateOptionalParams\n ): Promise<IntegrationRuntimesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n updateIntegrationRuntimeRequest,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Get an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetOptionalParams\n ): Promise<IntegrationRuntimesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, integrationRuntimeName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param integrationRuntime Integration runtime resource definition.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n integrationRuntime: IntegrationRuntimeResource,\n options?: IntegrationRuntimesCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IntegrationRuntimesCreateResponse>,\n IntegrationRuntimesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IntegrationRuntimesCreateResponse> => {\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 integrationRuntimeName,\n integrationRuntime,\n options\n },\n createOperationSpec\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 * Create an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param integrationRuntime Integration runtime resource definition.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n integrationRuntime: IntegrationRuntimeResource,\n options?: IntegrationRuntimesCreateOptionalParams\n ): Promise<IntegrationRuntimesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n integrationRuntime,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDeleteOptionalParams\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\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 * Delete an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Upgrade an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n upgrade(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesUpgradeOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, integrationRuntimeName, options },\n upgradeOperationSpec\n );\n }\n\n /**\n * List all integration runtimes\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n private _listByWorkspace(\n resourceGroupName: string,\n workspaceName: string,\n options?: IntegrationRuntimesListByWorkspaceOptionalParams\n ): Promise<IntegrationRuntimesListByWorkspaceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, options },\n listByWorkspaceOperationSpec\n );\n }\n\n /**\n * Start an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IntegrationRuntimesStartResponse>,\n IntegrationRuntimesStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IntegrationRuntimesStartResponse> => {\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\n startOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Start an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams\n ): Promise<IntegrationRuntimesStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stop an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\n stopOperationSpec\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 * Stop an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams\n ): Promise<void> {\n const poller = await this.beginStop(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams\n ): Promise<\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse\n > {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, integrationRuntimeName, options },\n listOutboundNetworkDependenciesEndpointsOperationSpec\n );\n }\n\n /**\n * Enable interactive query in integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginEnableInteractiveQuery(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesEnableInteractiveQueryOptionalParams\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\n enableInteractiveQueryOperationSpec\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 * Enable interactive query in integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginEnableInteractiveQueryAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesEnableInteractiveQueryOptionalParams\n ): Promise<void> {\n const poller = await this.beginEnableInteractiveQuery(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Disable interactive query in integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginDisableInteractiveQuery(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDisableInteractiveQueryOptionalParams\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\n disableInteractiveQueryOperationSpec\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 * Disable interactive query in integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginDisableInteractiveQueryAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDisableInteractiveQueryOptionalParams\n ): Promise<void> {\n const poller = await this.beginDisableInteractiveQuery(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByWorkspaceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.\n * @param options The options parameters.\n */\n private _listByWorkspaceNext(\n resourceGroupName: string,\n workspaceName: string,\n nextLink: string,\n options?: IntegrationRuntimesListByWorkspaceNextOptionalParams\n ): Promise<IntegrationRuntimesListByWorkspaceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, nextLink, options },\n listByWorkspaceNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.updateIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n 304: {},\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept, Parameters.ifNoneMatch],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n 201: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n 202: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n 204: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.integrationRuntime,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.integrationRuntimeName\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}\",\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst upgradeOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/upgrade\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse\n },\n 201: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse\n },\n 202: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse\n },\n 204: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/stop\",\n httpMethod: \"POST\",\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst enableInteractiveQueryOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery\",\n httpMethod: \"POST\",\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst disableInteractiveQueryOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery\",\n httpMethod: \"POST\",\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"integrationRuntimes.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,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AO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { IntegrationRuntimes } 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 IntegrationRuntimeResource,\n IntegrationRuntimesListByWorkspaceNextOptionalParams,\n IntegrationRuntimesListByWorkspaceOptionalParams,\n IntegrationRuntimesListByWorkspaceResponse,\n UpdateIntegrationRuntimeRequest,\n IntegrationRuntimesUpdateOptionalParams,\n IntegrationRuntimesUpdateResponse,\n IntegrationRuntimesGetOptionalParams,\n IntegrationRuntimesGetResponse,\n IntegrationRuntimesCreateOptionalParams,\n IntegrationRuntimesCreateResponse,\n IntegrationRuntimesDeleteOptionalParams,\n IntegrationRuntimesUpgradeOptionalParams,\n IntegrationRuntimesStartOptionalParams,\n IntegrationRuntimesStartResponse,\n IntegrationRuntimesStopOptionalParams,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse,\n IntegrationRuntimesEnableInteractiveQueryOptionalParams,\n IntegrationRuntimesDisableInteractiveQueryOptionalParams,\n IntegrationRuntimesListByWorkspaceNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing IntegrationRuntimes operations. */\nexport class IntegrationRuntimesImpl implements IntegrationRuntimes {\n private readonly client: SynapseManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimes class.\n * @param client Reference to the service client\n */\n constructor(client: SynapseManagementClient) {\n this.client = client;\n }\n\n /**\n * List all integration runtimes\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n public listByWorkspace(\n resourceGroupName: string,\n workspaceName: string,\n options?: IntegrationRuntimesListByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<IntegrationRuntimeResource> {\n const iter = this.listByWorkspacePagingAll(\n resourceGroupName,\n workspaceName,\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.listByWorkspacePagingPage(\n resourceGroupName,\n workspaceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByWorkspacePagingPage(\n resourceGroupName: string,\n workspaceName: string,\n options?: IntegrationRuntimesListByWorkspaceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<IntegrationRuntimeResource[]> {\n let result: IntegrationRuntimesListByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByWorkspace(\n resourceGroupName,\n workspaceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByWorkspaceNext(\n resourceGroupName,\n workspaceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByWorkspacePagingAll(\n resourceGroupName: string,\n workspaceName: string,\n options?: IntegrationRuntimesListByWorkspaceOptionalParams\n ): AsyncIterableIterator<IntegrationRuntimeResource> {\n for await (const page of this.listByWorkspacePagingPage(\n resourceGroupName,\n workspaceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Update an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest,\n options?: IntegrationRuntimesUpdateOptionalParams\n ): Promise<IntegrationRuntimesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n updateIntegrationRuntimeRequest,\n options\n },\n updateOperationSpec\n );\n }\n\n /**\n * Get an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetOptionalParams\n ): Promise<IntegrationRuntimesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, integrationRuntimeName, options },\n getOperationSpec\n );\n }\n\n /**\n * Create an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param integrationRuntime Integration runtime resource definition.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n integrationRuntime: IntegrationRuntimeResource,\n options?: IntegrationRuntimesCreateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IntegrationRuntimesCreateResponse>,\n IntegrationRuntimesCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IntegrationRuntimesCreateResponse> => {\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 integrationRuntimeName,\n integrationRuntime,\n options\n },\n createOperationSpec\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 * Create an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param integrationRuntime Integration runtime resource definition.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n integrationRuntime: IntegrationRuntimeResource,\n options?: IntegrationRuntimesCreateOptionalParams\n ): Promise<IntegrationRuntimesCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n integrationRuntime,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDeleteOptionalParams\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\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 * Delete an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Upgrade an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n upgrade(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesUpgradeOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, integrationRuntimeName, options },\n upgradeOperationSpec\n );\n }\n\n /**\n * List all integration runtimes\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n private _listByWorkspace(\n resourceGroupName: string,\n workspaceName: string,\n options?: IntegrationRuntimesListByWorkspaceOptionalParams\n ): Promise<IntegrationRuntimesListByWorkspaceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, options },\n listByWorkspaceOperationSpec\n );\n }\n\n /**\n * Start an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IntegrationRuntimesStartResponse>,\n IntegrationRuntimesStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IntegrationRuntimesStartResponse> => {\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\n startOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Start an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams\n ): Promise<IntegrationRuntimesStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stop an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\n stopOperationSpec\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 * Stop an integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams\n ): Promise<void> {\n const poller = await this.beginStop(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams\n ): Promise<\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse\n > {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, integrationRuntimeName, options },\n listOutboundNetworkDependenciesEndpointsOperationSpec\n );\n }\n\n /**\n * Enable interactive query in integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginEnableInteractiveQuery(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesEnableInteractiveQueryOptionalParams\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\n enableInteractiveQueryOperationSpec\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 * Enable interactive query in integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginEnableInteractiveQueryAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesEnableInteractiveQueryOptionalParams\n ): Promise<void> {\n const poller = await this.beginEnableInteractiveQuery(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Disable interactive query in integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginDisableInteractiveQuery(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDisableInteractiveQueryOptionalParams\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 { resourceGroupName, workspaceName, integrationRuntimeName, options },\n disableInteractiveQueryOperationSpec\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 * Disable interactive query in integration runtime\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param integrationRuntimeName Integration runtime name\n * @param options The options parameters.\n */\n async beginDisableInteractiveQueryAndWait(\n resourceGroupName: string,\n workspaceName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDisableInteractiveQueryOptionalParams\n ): Promise<void> {\n const poller = await this.beginDisableInteractiveQuery(\n resourceGroupName,\n workspaceName,\n integrationRuntimeName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByWorkspaceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.\n * @param options The options parameters.\n */\n private _listByWorkspaceNext(\n resourceGroupName: string,\n workspaceName: string,\n nextLink: string,\n options?: IntegrationRuntimesListByWorkspaceNextOptionalParams\n ): Promise<IntegrationRuntimesListByWorkspaceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, nextLink, options },\n listByWorkspaceNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.updateIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n 304: {},\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept, Parameters.ifNoneMatch],\n serializer\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n 201: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n 202: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n 204: {\n bodyMapper: Mappers.IntegrationRuntimeResource\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.integrationRuntime,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.integrationRuntimeName\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch\n ],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}\",\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst upgradeOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/upgrade\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated\n }\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse\n },\n 201: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse\n },\n 202: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse\n },\n 204: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/stop\",\n httpMethod: \"POST\",\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst enableInteractiveQueryOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery\",\n httpMethod: \"POST\",\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst disableInteractiveQueryOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery\",\n httpMethod: \"POST\",\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.integrationRuntimeName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
10
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -15,6 +14,7 @@ import { LroImpl } from "../lroImpl.js";
|
|
|
15
14
|
/// <reference lib="esnext.asynciterable" />
|
|
16
15
|
/** Class containing IpFirewallRules operations. */
|
|
17
16
|
export class IpFirewallRulesImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class IpFirewallRules class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -38,52 +38,35 @@ export class IpFirewallRulesImpl {
|
|
|
38
38
|
return this;
|
|
39
39
|
},
|
|
40
40
|
byPage: (settings) => {
|
|
41
|
-
if (settings
|
|
41
|
+
if (settings?.maxPageSize) {
|
|
42
42
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
43
|
}
|
|
44
44
|
return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
});
|
|
48
|
+
async *listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings?.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = await this._listByWorkspace(resourceGroupName, workspaceName, options);
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = await this._listByWorkspaceNext(resourceGroupName, workspaceName, continuationToken, options);
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield page;
|
|
64
|
+
}
|
|
67
65
|
}
|
|
68
|
-
listByWorkspacePagingAll(resourceGroupName, workspaceName, options) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
for (var _d = true, _e = __asyncValues(this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
-
_c = _f.value;
|
|
74
|
-
_d = false;
|
|
75
|
-
const page = _c;
|
|
76
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
-
finally {
|
|
81
|
-
try {
|
|
82
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
83
|
-
}
|
|
84
|
-
finally { if (e_1) throw e_1.error; }
|
|
85
|
-
}
|
|
86
|
-
});
|
|
66
|
+
async *listByWorkspacePagingAll(resourceGroupName, workspaceName, options) {
|
|
67
|
+
for await (const page of this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
87
70
|
}
|
|
88
71
|
/**
|
|
89
72
|
* Returns a list of firewall rules
|
|
@@ -107,14 +90,19 @@ export class IpFirewallRulesImpl {
|
|
|
107
90
|
return this.client.sendOperationRequest(args, spec);
|
|
108
91
|
};
|
|
109
92
|
const sendOperation = async (args, spec) => {
|
|
110
|
-
var _a;
|
|
111
93
|
let currentRawResponse = undefined;
|
|
112
|
-
const providedCallback =
|
|
94
|
+
const providedCallback = args.options?.onResponse;
|
|
113
95
|
const callback = (rawResponse, flatResponse) => {
|
|
114
96
|
currentRawResponse = rawResponse;
|
|
115
|
-
providedCallback
|
|
97
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
98
|
+
};
|
|
99
|
+
const updatedArgs = {
|
|
100
|
+
...args,
|
|
101
|
+
options: {
|
|
102
|
+
...args.options,
|
|
103
|
+
onResponse: callback
|
|
104
|
+
}
|
|
116
105
|
};
|
|
117
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
118
106
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
119
107
|
return {
|
|
120
108
|
flatResponse,
|
|
@@ -133,8 +121,8 @@ export class IpFirewallRulesImpl {
|
|
|
133
121
|
options
|
|
134
122
|
}, createOrUpdateOperationSpec);
|
|
135
123
|
const poller = new LroEngine(lro, {
|
|
136
|
-
resumeFrom: options
|
|
137
|
-
intervalInMs: options
|
|
124
|
+
resumeFrom: options?.resumeFrom,
|
|
125
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
138
126
|
lroResourceLocationConfig: "location"
|
|
139
127
|
});
|
|
140
128
|
await poller.poll();
|
|
@@ -164,14 +152,19 @@ export class IpFirewallRulesImpl {
|
|
|
164
152
|
return this.client.sendOperationRequest(args, spec);
|
|
165
153
|
};
|
|
166
154
|
const sendOperation = async (args, spec) => {
|
|
167
|
-
var _a;
|
|
168
155
|
let currentRawResponse = undefined;
|
|
169
|
-
const providedCallback =
|
|
156
|
+
const providedCallback = args.options?.onResponse;
|
|
170
157
|
const callback = (rawResponse, flatResponse) => {
|
|
171
158
|
currentRawResponse = rawResponse;
|
|
172
|
-
providedCallback
|
|
159
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
160
|
+
};
|
|
161
|
+
const updatedArgs = {
|
|
162
|
+
...args,
|
|
163
|
+
options: {
|
|
164
|
+
...args.options,
|
|
165
|
+
onResponse: callback
|
|
166
|
+
}
|
|
173
167
|
};
|
|
174
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
175
168
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
176
169
|
return {
|
|
177
170
|
flatResponse,
|
|
@@ -184,8 +177,8 @@ export class IpFirewallRulesImpl {
|
|
|
184
177
|
};
|
|
185
178
|
const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, ruleName, options }, deleteOperationSpec);
|
|
186
179
|
const poller = new LroEngine(lro, {
|
|
187
|
-
resumeFrom: options
|
|
188
|
-
intervalInMs: options
|
|
180
|
+
resumeFrom: options?.resumeFrom,
|
|
181
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
189
182
|
lroResourceLocationConfig: "location"
|
|
190
183
|
});
|
|
191
184
|
await poller.poll();
|
|
@@ -224,14 +217,19 @@ export class IpFirewallRulesImpl {
|
|
|
224
217
|
return this.client.sendOperationRequest(args, spec);
|
|
225
218
|
};
|
|
226
219
|
const sendOperation = async (args, spec) => {
|
|
227
|
-
var _a;
|
|
228
220
|
let currentRawResponse = undefined;
|
|
229
|
-
const providedCallback =
|
|
221
|
+
const providedCallback = args.options?.onResponse;
|
|
230
222
|
const callback = (rawResponse, flatResponse) => {
|
|
231
223
|
currentRawResponse = rawResponse;
|
|
232
|
-
providedCallback
|
|
224
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
225
|
+
};
|
|
226
|
+
const updatedArgs = {
|
|
227
|
+
...args,
|
|
228
|
+
options: {
|
|
229
|
+
...args.options,
|
|
230
|
+
onResponse: callback
|
|
231
|
+
}
|
|
233
232
|
};
|
|
234
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
235
233
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
236
234
|
return {
|
|
237
235
|
flatResponse,
|
|
@@ -244,8 +242,8 @@ export class IpFirewallRulesImpl {
|
|
|
244
242
|
};
|
|
245
243
|
const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, request, options }, replaceAllOperationSpec);
|
|
246
244
|
const poller = new LroEngine(lro, {
|
|
247
|
-
resumeFrom: options
|
|
248
|
-
intervalInMs: options
|
|
245
|
+
resumeFrom: options?.resumeFrom,
|
|
246
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
249
247
|
lroResourceLocationConfig: "location"
|
|
250
248
|
});
|
|
251
249
|
await poller.poll();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ipFirewallRules.js","sourceRoot":"","sources":["../../../src/operations/ipFirewallRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG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AAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,QAAQ;IAChC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;KACzB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,gCAAgC,GAA6B;IACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { IpFirewallRules } 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 IpFirewallRuleInfo,\n IpFirewallRulesListByWorkspaceNextOptionalParams,\n IpFirewallRulesListByWorkspaceOptionalParams,\n IpFirewallRulesListByWorkspaceResponse,\n IpFirewallRulesCreateOrUpdateOptionalParams,\n IpFirewallRulesCreateOrUpdateResponse,\n IpFirewallRulesDeleteOptionalParams,\n IpFirewallRulesDeleteResponse,\n IpFirewallRulesGetOptionalParams,\n IpFirewallRulesGetResponse,\n ReplaceAllIpFirewallRulesRequest,\n IpFirewallRulesReplaceAllOptionalParams,\n IpFirewallRulesReplaceAllResponse,\n IpFirewallRulesListByWorkspaceNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing IpFirewallRules operations. */\nexport class IpFirewallRulesImpl implements IpFirewallRules {\n private readonly client: SynapseManagementClient;\n\n /**\n * Initialize a new instance of the class IpFirewallRules class.\n * @param client Reference to the service client\n */\n constructor(client: SynapseManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of firewall rules\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n public listByWorkspace(\n resourceGroupName: string,\n workspaceName: string,\n options?: IpFirewallRulesListByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<IpFirewallRuleInfo> {\n const iter = this.listByWorkspacePagingAll(\n resourceGroupName,\n workspaceName,\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.listByWorkspacePagingPage(\n resourceGroupName,\n workspaceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByWorkspacePagingPage(\n resourceGroupName: string,\n workspaceName: string,\n options?: IpFirewallRulesListByWorkspaceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<IpFirewallRuleInfo[]> {\n let result: IpFirewallRulesListByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByWorkspace(\n resourceGroupName,\n workspaceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByWorkspaceNext(\n resourceGroupName,\n workspaceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByWorkspacePagingAll(\n resourceGroupName: string,\n workspaceName: string,\n options?: IpFirewallRulesListByWorkspaceOptionalParams\n ): AsyncIterableIterator<IpFirewallRuleInfo> {\n for await (const page of this.listByWorkspacePagingPage(\n resourceGroupName,\n workspaceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of firewall rules\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n private _listByWorkspace(\n resourceGroupName: string,\n workspaceName: string,\n options?: IpFirewallRulesListByWorkspaceOptionalParams\n ): Promise<IpFirewallRulesListByWorkspaceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, options },\n listByWorkspaceOperationSpec\n );\n }\n\n /**\n * Creates or updates a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param ipFirewallRuleInfo IP firewall rule properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n ipFirewallRuleInfo: IpFirewallRuleInfo,\n options?: IpFirewallRulesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IpFirewallRulesCreateOrUpdateResponse>,\n IpFirewallRulesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IpFirewallRulesCreateOrUpdateResponse> => {\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 ruleName,\n ipFirewallRuleInfo,\n options\n },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param ipFirewallRuleInfo IP firewall rule properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n ipFirewallRuleInfo: IpFirewallRuleInfo,\n options?: IpFirewallRulesCreateOrUpdateOptionalParams\n ): Promise<IpFirewallRulesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n workspaceName,\n ruleName,\n ipFirewallRuleInfo,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n options?: IpFirewallRulesDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IpFirewallRulesDeleteResponse>,\n IpFirewallRulesDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IpFirewallRulesDeleteResponse> => {\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 { resourceGroupName, workspaceName, ruleName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n options?: IpFirewallRulesDeleteOptionalParams\n ): Promise<IpFirewallRulesDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n workspaceName,\n ruleName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n options?: IpFirewallRulesGetOptionalParams\n ): Promise<IpFirewallRulesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, ruleName, options },\n getOperationSpec\n );\n }\n\n /**\n * Replaces firewall rules\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param request Replace all IP firewall rules request\n * @param options The options parameters.\n */\n async beginReplaceAll(\n resourceGroupName: string,\n workspaceName: string,\n request: ReplaceAllIpFirewallRulesRequest,\n options?: IpFirewallRulesReplaceAllOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IpFirewallRulesReplaceAllResponse>,\n IpFirewallRulesReplaceAllResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IpFirewallRulesReplaceAllResponse> => {\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 { resourceGroupName, workspaceName, request, options },\n replaceAllOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Replaces firewall rules\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param request Replace all IP firewall rules request\n * @param options The options parameters.\n */\n async beginReplaceAllAndWait(\n resourceGroupName: string,\n workspaceName: string,\n request: ReplaceAllIpFirewallRulesRequest,\n options?: IpFirewallRulesReplaceAllOptionalParams\n ): Promise<IpFirewallRulesReplaceAllResponse> {\n const poller = await this.beginReplaceAll(\n resourceGroupName,\n workspaceName,\n request,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByWorkspaceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.\n * @param options The options parameters.\n */\n private _listByWorkspaceNext(\n resourceGroupName: string,\n workspaceName: string,\n nextLink: string,\n options?: IpFirewallRulesListByWorkspaceNextOptionalParams\n ): Promise<IpFirewallRulesListByWorkspaceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, nextLink, options },\n listByWorkspaceNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/firewallRules\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfoListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/firewallRules/{ruleName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 201: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 202: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 204: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.ipFirewallRuleInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.ruleName\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}/firewallRules/{ruleName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 201: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 202: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 204: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.ruleName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/firewallRules/{ruleName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.ruleName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst replaceAllOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/replaceAllIpFirewallRules\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReplaceAllFirewallRulesOperationResponse\n },\n 201: {\n bodyMapper: Mappers.ReplaceAllFirewallRulesOperationResponse\n },\n 202: {\n bodyMapper: Mappers.ReplaceAllFirewallRulesOperationResponse\n },\n 204: {\n bodyMapper: Mappers.ReplaceAllFirewallRulesOperationResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.request1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfoListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
1
|
+
{"version":3,"file":"ipFirewallRules.js","sourceRoot":"","sources":["../../../src/operations/ipFirewallRules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE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ACjE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,4BAA4B;SACjD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;KACpB;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 { setContinuationToken } from \"../pagingHelper.js\";\nimport { IpFirewallRules } 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 IpFirewallRuleInfo,\n IpFirewallRulesListByWorkspaceNextOptionalParams,\n IpFirewallRulesListByWorkspaceOptionalParams,\n IpFirewallRulesListByWorkspaceResponse,\n IpFirewallRulesCreateOrUpdateOptionalParams,\n IpFirewallRulesCreateOrUpdateResponse,\n IpFirewallRulesDeleteOptionalParams,\n IpFirewallRulesDeleteResponse,\n IpFirewallRulesGetOptionalParams,\n IpFirewallRulesGetResponse,\n ReplaceAllIpFirewallRulesRequest,\n IpFirewallRulesReplaceAllOptionalParams,\n IpFirewallRulesReplaceAllResponse,\n IpFirewallRulesListByWorkspaceNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing IpFirewallRules operations. */\nexport class IpFirewallRulesImpl implements IpFirewallRules {\n private readonly client: SynapseManagementClient;\n\n /**\n * Initialize a new instance of the class IpFirewallRules class.\n * @param client Reference to the service client\n */\n constructor(client: SynapseManagementClient) {\n this.client = client;\n }\n\n /**\n * Returns a list of firewall rules\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n public listByWorkspace(\n resourceGroupName: string,\n workspaceName: string,\n options?: IpFirewallRulesListByWorkspaceOptionalParams\n ): PagedAsyncIterableIterator<IpFirewallRuleInfo> {\n const iter = this.listByWorkspacePagingAll(\n resourceGroupName,\n workspaceName,\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.listByWorkspacePagingPage(\n resourceGroupName,\n workspaceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByWorkspacePagingPage(\n resourceGroupName: string,\n workspaceName: string,\n options?: IpFirewallRulesListByWorkspaceOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<IpFirewallRuleInfo[]> {\n let result: IpFirewallRulesListByWorkspaceResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByWorkspace(\n resourceGroupName,\n workspaceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByWorkspaceNext(\n resourceGroupName,\n workspaceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByWorkspacePagingAll(\n resourceGroupName: string,\n workspaceName: string,\n options?: IpFirewallRulesListByWorkspaceOptionalParams\n ): AsyncIterableIterator<IpFirewallRuleInfo> {\n for await (const page of this.listByWorkspacePagingPage(\n resourceGroupName,\n workspaceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Returns a list of firewall rules\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param options The options parameters.\n */\n private _listByWorkspace(\n resourceGroupName: string,\n workspaceName: string,\n options?: IpFirewallRulesListByWorkspaceOptionalParams\n ): Promise<IpFirewallRulesListByWorkspaceResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, options },\n listByWorkspaceOperationSpec\n );\n }\n\n /**\n * Creates or updates a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param ipFirewallRuleInfo IP firewall rule properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n ipFirewallRuleInfo: IpFirewallRuleInfo,\n options?: IpFirewallRulesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IpFirewallRulesCreateOrUpdateResponse>,\n IpFirewallRulesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IpFirewallRulesCreateOrUpdateResponse> => {\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 ruleName,\n ipFirewallRuleInfo,\n options\n },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param ipFirewallRuleInfo IP firewall rule properties\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n ipFirewallRuleInfo: IpFirewallRuleInfo,\n options?: IpFirewallRulesCreateOrUpdateOptionalParams\n ): Promise<IpFirewallRulesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n workspaceName,\n ruleName,\n ipFirewallRuleInfo,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n options?: IpFirewallRulesDeleteOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IpFirewallRulesDeleteResponse>,\n IpFirewallRulesDeleteResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IpFirewallRulesDeleteResponse> => {\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 { resourceGroupName, workspaceName, ruleName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n options?: IpFirewallRulesDeleteOptionalParams\n ): Promise<IpFirewallRulesDeleteResponse> {\n const poller = await this.beginDelete(\n resourceGroupName,\n workspaceName,\n ruleName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a firewall rule\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param ruleName The IP firewall rule name\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n workspaceName: string,\n ruleName: string,\n options?: IpFirewallRulesGetOptionalParams\n ): Promise<IpFirewallRulesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, ruleName, options },\n getOperationSpec\n );\n }\n\n /**\n * Replaces firewall rules\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param request Replace all IP firewall rules request\n * @param options The options parameters.\n */\n async beginReplaceAll(\n resourceGroupName: string,\n workspaceName: string,\n request: ReplaceAllIpFirewallRulesRequest,\n options?: IpFirewallRulesReplaceAllOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<IpFirewallRulesReplaceAllResponse>,\n IpFirewallRulesReplaceAllResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<IpFirewallRulesReplaceAllResponse> => {\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 { resourceGroupName, workspaceName, request, options },\n replaceAllOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"location\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Replaces firewall rules\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param request Replace all IP firewall rules request\n * @param options The options parameters.\n */\n async beginReplaceAllAndWait(\n resourceGroupName: string,\n workspaceName: string,\n request: ReplaceAllIpFirewallRulesRequest,\n options?: IpFirewallRulesReplaceAllOptionalParams\n ): Promise<IpFirewallRulesReplaceAllResponse> {\n const poller = await this.beginReplaceAll(\n resourceGroupName,\n workspaceName,\n request,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByWorkspaceNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param workspaceName The name of the workspace.\n * @param nextLink The nextLink from the previous successful call to the ListByWorkspace method.\n * @param options The options parameters.\n */\n private _listByWorkspaceNext(\n resourceGroupName: string,\n workspaceName: string,\n nextLink: string,\n options?: IpFirewallRulesListByWorkspaceNextOptionalParams\n ): Promise<IpFirewallRulesListByWorkspaceNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, workspaceName, nextLink, options },\n listByWorkspaceNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByWorkspaceOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/firewallRules\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfoListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/firewallRules/{ruleName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 201: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 202: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 204: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.ipFirewallRuleInfo,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.ruleName\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}/firewallRules/{ruleName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 201: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 202: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n 204: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.ruleName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/firewallRules/{ruleName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfo\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.ruleName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst replaceAllOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/replaceAllIpFirewallRules\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ReplaceAllFirewallRulesOperationResponse\n },\n 201: {\n bodyMapper: Mappers.ReplaceAllFirewallRulesOperationResponse\n },\n 202: {\n bodyMapper: Mappers.ReplaceAllFirewallRulesOperationResponse\n },\n 204: {\n bodyMapper: Mappers.ReplaceAllFirewallRulesOperationResponse\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.request1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByWorkspaceNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IpFirewallRuleInfoListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.workspaceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|