@azure/arm-postgresql-flexible 8.0.0 → 8.1.0-beta.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/CHANGELOG.md +98 -0
- package/LICENSE +3 -3
- package/README.md +26 -16
- package/dist/browser/lroImpl.d.ts +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +506 -35
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +70 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +23 -1
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +788 -99
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +5 -1
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +36 -3
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/administrators.d.ts +9 -9
- package/dist/browser/operations/administrators.d.ts.map +1 -1
- package/dist/browser/operations/administrators.js +7 -7
- package/dist/browser/operations/administrators.js.map +1 -1
- package/dist/browser/operations/backups.d.ts +5 -5
- package/dist/browser/operations/backups.d.ts.map +1 -1
- package/dist/browser/operations/backups.js +3 -3
- package/dist/browser/operations/backups.js.map +1 -1
- package/dist/browser/operations/checkNameAvailability.d.ts +3 -3
- package/dist/browser/operations/checkNameAvailability.d.ts.map +1 -1
- package/dist/browser/operations/checkNameAvailability.js.map +1 -1
- package/dist/browser/operations/checkNameAvailabilityWithLocation.d.ts +3 -3
- package/dist/browser/operations/checkNameAvailabilityWithLocation.d.ts.map +1 -1
- package/dist/browser/operations/checkNameAvailabilityWithLocation.js +1 -5
- package/dist/browser/operations/checkNameAvailabilityWithLocation.js.map +1 -1
- package/dist/browser/operations/configurations.d.ts +5 -5
- package/dist/browser/operations/configurations.d.ts.map +1 -1
- package/dist/browser/operations/configurations.js +3 -3
- package/dist/browser/operations/configurations.js.map +1 -1
- package/dist/browser/operations/databases.d.ts +5 -5
- package/dist/browser/operations/databases.d.ts.map +1 -1
- package/dist/browser/operations/databases.js +3 -3
- package/dist/browser/operations/databases.js.map +1 -1
- package/dist/browser/operations/firewallRules.d.ts +5 -5
- package/dist/browser/operations/firewallRules.d.ts.map +1 -1
- package/dist/browser/operations/firewallRules.js +3 -3
- package/dist/browser/operations/firewallRules.js.map +1 -1
- package/dist/browser/operations/flexibleServer.d.ts +4 -4
- package/dist/browser/operations/flexibleServer.d.ts.map +1 -1
- package/dist/browser/operations/flexibleServer.js +1 -1
- package/dist/browser/operations/flexibleServer.js.map +1 -1
- package/dist/browser/operations/getPrivateDnsZoneSuffix.d.ts +3 -3
- package/dist/browser/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -1
- package/dist/browser/operations/getPrivateDnsZoneSuffix.js.map +1 -1
- package/dist/browser/operations/index.d.ts +4 -0
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +4 -0
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/locationBasedCapabilities.d.ts +4 -4
- package/dist/browser/operations/locationBasedCapabilities.d.ts.map +1 -1
- package/dist/browser/operations/locationBasedCapabilities.js +3 -7
- package/dist/browser/operations/locationBasedCapabilities.js.map +1 -1
- package/dist/browser/operations/logFiles.d.ts +4 -4
- package/dist/browser/operations/logFiles.d.ts.map +1 -1
- package/dist/browser/operations/logFiles.js +2 -2
- package/dist/browser/operations/logFiles.js.map +1 -1
- package/dist/browser/operations/ltrBackupOperations.d.ts +4 -4
- package/dist/browser/operations/ltrBackupOperations.d.ts.map +1 -1
- package/dist/browser/operations/ltrBackupOperations.js +2 -2
- package/dist/browser/operations/ltrBackupOperations.js.map +1 -1
- package/dist/browser/operations/migrations.d.ts +4 -4
- package/dist/browser/operations/migrations.d.ts.map +1 -1
- package/dist/browser/operations/migrations.js +2 -2
- package/dist/browser/operations/migrations.js.map +1 -1
- package/dist/browser/operations/operations.d.ts +18 -4
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +87 -0
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnectionOperations.d.ts +4 -4
- package/dist/browser/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnectionOperations.js +1 -1
- package/dist/browser/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/browser/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operations/privateEndpointConnections.js +2 -2
- package/dist/browser/operations/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.d.ts +4 -4
- package/dist/browser/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +2 -2
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/quotaUsages.d.ts +35 -0
- package/dist/browser/operations/quotaUsages.d.ts.map +1 -0
- package/dist/browser/operations/quotaUsages.js +141 -0
- package/dist/browser/operations/quotaUsages.js.map +1 -0
- package/dist/browser/operations/replicas.d.ts +4 -4
- package/dist/browser/operations/replicas.d.ts.map +1 -1
- package/dist/browser/operations/replicas.js.map +1 -1
- package/dist/browser/operations/serverCapabilities.d.ts +4 -4
- package/dist/browser/operations/serverCapabilities.d.ts.map +1 -1
- package/dist/browser/operations/serverCapabilities.js +2 -2
- package/dist/browser/operations/serverCapabilities.js.map +1 -1
- package/dist/browser/operations/serverThreatProtectionSettings.d.ts +5 -5
- package/dist/browser/operations/serverThreatProtectionSettings.d.ts.map +1 -1
- package/dist/browser/operations/serverThreatProtectionSettings.js +3 -3
- package/dist/browser/operations/serverThreatProtectionSettings.js.map +1 -1
- package/dist/browser/operations/servers.d.ts +5 -5
- package/dist/browser/operations/servers.d.ts.map +1 -1
- package/dist/browser/operations/servers.js +7 -15
- package/dist/browser/operations/servers.js.map +1 -1
- package/dist/browser/operations/tuningConfiguration.d.ts +137 -0
- package/dist/browser/operations/tuningConfiguration.d.ts.map +1 -0
- package/dist/browser/operations/tuningConfiguration.js +638 -0
- package/dist/browser/operations/tuningConfiguration.js.map +1 -0
- package/dist/browser/operations/tuningIndex.d.ts +41 -0
- package/dist/browser/operations/tuningIndex.d.ts.map +1 -0
- package/dist/browser/operations/tuningIndex.js +155 -0
- package/dist/browser/operations/tuningIndex.js.map +1 -0
- package/dist/browser/operations/tuningOptions.d.ts +46 -0
- package/dist/browser/operations/tuningOptions.d.ts.map +1 -0
- package/dist/browser/operations/tuningOptions.js +182 -0
- package/dist/browser/operations/tuningOptions.js.map +1 -0
- package/dist/browser/operations/virtualEndpoints.d.ts +5 -5
- package/dist/browser/operations/virtualEndpoints.d.ts.map +1 -1
- package/dist/browser/operations/virtualEndpoints.js +3 -3
- package/dist/browser/operations/virtualEndpoints.js.map +1 -1
- package/dist/browser/operations/virtualNetworkSubnetUsage.d.ts +3 -3
- package/dist/browser/operations/virtualNetworkSubnetUsage.d.ts.map +1 -1
- package/dist/browser/operations/virtualNetworkSubnetUsage.js +1 -5
- package/dist/browser/operations/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist/browser/operationsInterfaces/administrators.d.ts +7 -7
- package/dist/browser/operationsInterfaces/administrators.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/administrators.js.map +1 -1
- package/dist/browser/operationsInterfaces/backups.d.ts +3 -3
- package/dist/browser/operationsInterfaces/backups.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/backups.js.map +1 -1
- package/dist/browser/operationsInterfaces/checkNameAvailability.d.ts +1 -1
- package/dist/browser/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/checkNameAvailability.js.map +1 -1
- package/dist/browser/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts +1 -1
- package/dist/browser/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/checkNameAvailabilityWithLocation.js.map +1 -1
- package/dist/browser/operationsInterfaces/configurations.d.ts +3 -3
- package/dist/browser/operationsInterfaces/configurations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/configurations.js.map +1 -1
- package/dist/browser/operationsInterfaces/databases.d.ts +3 -3
- package/dist/browser/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databases.js.map +1 -1
- package/dist/browser/operationsInterfaces/firewallRules.d.ts +3 -3
- package/dist/browser/operationsInterfaces/firewallRules.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/firewallRules.js.map +1 -1
- package/dist/browser/operationsInterfaces/flexibleServer.d.ts +2 -2
- package/dist/browser/operationsInterfaces/flexibleServer.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/flexibleServer.js.map +1 -1
- package/dist/browser/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +1 -1
- package/dist/browser/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +4 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
- package/dist/browser/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/locationBasedCapabilities.js.map +1 -1
- package/dist/browser/operationsInterfaces/logFiles.d.ts +2 -2
- package/dist/browser/operationsInterfaces/logFiles.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/logFiles.js.map +1 -1
- package/dist/browser/operationsInterfaces/ltrBackupOperations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/ltrBackupOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/migrations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/migrations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/migrations.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts +3 -2
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.d.ts +2 -2
- package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/browser/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/browser/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/browser/operationsInterfaces/quotaUsages.d.ts +12 -0
- package/dist/browser/operationsInterfaces/quotaUsages.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/quotaUsages.js +9 -0
- package/dist/browser/operationsInterfaces/quotaUsages.js.map +1 -0
- package/dist/browser/operationsInterfaces/replicas.d.ts +2 -2
- package/dist/browser/operationsInterfaces/replicas.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/replicas.js.map +1 -1
- package/dist/browser/operationsInterfaces/serverCapabilities.d.ts +2 -2
- package/dist/browser/operationsInterfaces/serverCapabilities.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/serverCapabilities.js.map +1 -1
- package/dist/browser/operationsInterfaces/serverThreatProtectionSettings.d.ts +3 -3
- package/dist/browser/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -1
- package/dist/browser/operationsInterfaces/servers.d.ts +3 -3
- package/dist/browser/operationsInterfaces/servers.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/servers.js.map +1 -1
- package/dist/browser/operationsInterfaces/tuningConfiguration.d.ts +90 -0
- package/dist/browser/operationsInterfaces/tuningConfiguration.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/tuningConfiguration.js +9 -0
- package/dist/browser/operationsInterfaces/tuningConfiguration.js.map +1 -0
- package/dist/browser/operationsInterfaces/tuningIndex.d.ts +14 -0
- package/dist/browser/operationsInterfaces/tuningIndex.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/tuningIndex.js +9 -0
- package/dist/browser/operationsInterfaces/tuningIndex.js.map +1 -0
- package/dist/browser/operationsInterfaces/tuningOptions.d.ts +21 -0
- package/dist/browser/operationsInterfaces/tuningOptions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/tuningOptions.js +9 -0
- package/dist/browser/operationsInterfaces/tuningOptions.js.map +1 -0
- package/dist/browser/operationsInterfaces/virtualEndpoints.d.ts +3 -3
- package/dist/browser/operationsInterfaces/virtualEndpoints.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/virtualEndpoints.js.map +1 -1
- package/dist/browser/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +1 -1
- package/dist/browser/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/postgreSQLManagementFlexibleServerClient.d.ts +7 -3
- package/dist/browser/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist/browser/postgreSQLManagementFlexibleServerClient.js +11 -11
- package/dist/browser/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +506 -35
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +72 -2
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +23 -1
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +791 -102
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +5 -1
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +36 -3
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/administrators.d.ts +9 -9
- package/dist/commonjs/operations/administrators.d.ts.map +1 -1
- package/dist/commonjs/operations/administrators.js +6 -6
- package/dist/commonjs/operations/administrators.js.map +1 -1
- package/dist/commonjs/operations/backups.d.ts +5 -5
- package/dist/commonjs/operations/backups.d.ts.map +1 -1
- package/dist/commonjs/operations/backups.js +2 -2
- package/dist/commonjs/operations/backups.js.map +1 -1
- package/dist/commonjs/operations/checkNameAvailability.d.ts +3 -3
- package/dist/commonjs/operations/checkNameAvailability.d.ts.map +1 -1
- package/dist/commonjs/operations/checkNameAvailability.js.map +1 -1
- package/dist/commonjs/operations/checkNameAvailabilityWithLocation.d.ts +3 -3
- package/dist/commonjs/operations/checkNameAvailabilityWithLocation.d.ts.map +1 -1
- package/dist/commonjs/operations/checkNameAvailabilityWithLocation.js +1 -5
- package/dist/commonjs/operations/checkNameAvailabilityWithLocation.js.map +1 -1
- package/dist/commonjs/operations/configurations.d.ts +5 -5
- package/dist/commonjs/operations/configurations.d.ts.map +1 -1
- package/dist/commonjs/operations/configurations.js +2 -2
- package/dist/commonjs/operations/configurations.js.map +1 -1
- package/dist/commonjs/operations/databases.d.ts +5 -5
- package/dist/commonjs/operations/databases.d.ts.map +1 -1
- package/dist/commonjs/operations/databases.js +2 -2
- package/dist/commonjs/operations/databases.js.map +1 -1
- package/dist/commonjs/operations/firewallRules.d.ts +5 -5
- package/dist/commonjs/operations/firewallRules.d.ts.map +1 -1
- package/dist/commonjs/operations/firewallRules.js +2 -2
- package/dist/commonjs/operations/firewallRules.js.map +1 -1
- package/dist/commonjs/operations/flexibleServer.d.ts +4 -4
- package/dist/commonjs/operations/flexibleServer.d.ts.map +1 -1
- package/dist/commonjs/operations/flexibleServer.js.map +1 -1
- package/dist/commonjs/operations/getPrivateDnsZoneSuffix.d.ts +3 -3
- package/dist/commonjs/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -1
- package/dist/commonjs/operations/getPrivateDnsZoneSuffix.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +4 -0
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/locationBasedCapabilities.d.ts +4 -4
- package/dist/commonjs/operations/locationBasedCapabilities.d.ts.map +1 -1
- package/dist/commonjs/operations/locationBasedCapabilities.js +3 -7
- package/dist/commonjs/operations/locationBasedCapabilities.js.map +1 -1
- package/dist/commonjs/operations/logFiles.d.ts +4 -4
- package/dist/commonjs/operations/logFiles.d.ts.map +1 -1
- package/dist/commonjs/operations/logFiles.js +2 -2
- package/dist/commonjs/operations/logFiles.js.map +1 -1
- package/dist/commonjs/operations/ltrBackupOperations.d.ts +4 -4
- package/dist/commonjs/operations/ltrBackupOperations.d.ts.map +1 -1
- package/dist/commonjs/operations/ltrBackupOperations.js +2 -2
- package/dist/commonjs/operations/ltrBackupOperations.js.map +1 -1
- package/dist/commonjs/operations/migrations.d.ts +4 -4
- package/dist/commonjs/operations/migrations.d.ts.map +1 -1
- package/dist/commonjs/operations/migrations.js +2 -2
- package/dist/commonjs/operations/migrations.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts +18 -4
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +86 -0
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnectionOperations.d.ts +4 -4
- package/dist/commonjs/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/commonjs/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnections.js +2 -2
- package/dist/commonjs/operations/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.d.ts +4 -4
- package/dist/commonjs/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +2 -2
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/quotaUsages.d.ts +35 -0
- package/dist/commonjs/operations/quotaUsages.d.ts.map +1 -0
- package/dist/commonjs/operations/quotaUsages.js +145 -0
- package/dist/commonjs/operations/quotaUsages.js.map +1 -0
- package/dist/commonjs/operations/replicas.d.ts +4 -4
- package/dist/commonjs/operations/replicas.d.ts.map +1 -1
- package/dist/commonjs/operations/replicas.js.map +1 -1
- package/dist/commonjs/operations/serverCapabilities.d.ts +4 -4
- package/dist/commonjs/operations/serverCapabilities.d.ts.map +1 -1
- package/dist/commonjs/operations/serverCapabilities.js +2 -2
- package/dist/commonjs/operations/serverCapabilities.js.map +1 -1
- package/dist/commonjs/operations/serverThreatProtectionSettings.d.ts +5 -5
- package/dist/commonjs/operations/serverThreatProtectionSettings.d.ts.map +1 -1
- package/dist/commonjs/operations/serverThreatProtectionSettings.js +2 -2
- package/dist/commonjs/operations/serverThreatProtectionSettings.js.map +1 -1
- package/dist/commonjs/operations/servers.d.ts +5 -5
- package/dist/commonjs/operations/servers.d.ts.map +1 -1
- package/dist/commonjs/operations/servers.js +6 -14
- package/dist/commonjs/operations/servers.js.map +1 -1
- package/dist/commonjs/operations/tuningConfiguration.d.ts +137 -0
- package/dist/commonjs/operations/tuningConfiguration.d.ts.map +1 -0
- package/dist/commonjs/operations/tuningConfiguration.js +642 -0
- package/dist/commonjs/operations/tuningConfiguration.js.map +1 -0
- package/dist/commonjs/operations/tuningIndex.d.ts +41 -0
- package/dist/commonjs/operations/tuningIndex.d.ts.map +1 -0
- package/dist/commonjs/operations/tuningIndex.js +159 -0
- package/dist/commonjs/operations/tuningIndex.js.map +1 -0
- package/dist/commonjs/operations/tuningOptions.d.ts +46 -0
- package/dist/commonjs/operations/tuningOptions.d.ts.map +1 -0
- package/dist/commonjs/operations/tuningOptions.js +186 -0
- package/dist/commonjs/operations/tuningOptions.js.map +1 -0
- package/dist/commonjs/operations/virtualEndpoints.d.ts +5 -5
- package/dist/commonjs/operations/virtualEndpoints.d.ts.map +1 -1
- package/dist/commonjs/operations/virtualEndpoints.js +2 -2
- package/dist/commonjs/operations/virtualEndpoints.js.map +1 -1
- package/dist/commonjs/operations/virtualNetworkSubnetUsage.d.ts +3 -3
- package/dist/commonjs/operations/virtualNetworkSubnetUsage.d.ts.map +1 -1
- package/dist/commonjs/operations/virtualNetworkSubnetUsage.js +1 -5
- package/dist/commonjs/operations/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/administrators.d.ts +7 -7
- package/dist/commonjs/operationsInterfaces/administrators.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/administrators.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/backups.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/backups.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/backups.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/checkNameAvailability.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/checkNameAvailability.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/checkNameAvailabilityWithLocation.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/configurations.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/configurations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/configurations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databases.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databases.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/firewallRules.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/firewallRules.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/firewallRules.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/flexibleServer.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/flexibleServer.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/flexibleServer.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +4 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/locationBasedCapabilities.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/logFiles.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/logFiles.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/logFiles.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/ltrBackupOperations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/ltrBackupOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/migrations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/migrations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/migrations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts +3 -2
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/quotaUsages.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/quotaUsages.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/quotaUsages.js +10 -0
- package/dist/commonjs/operationsInterfaces/quotaUsages.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/replicas.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/replicas.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/replicas.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/serverCapabilities.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/serverCapabilities.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/serverCapabilities.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/serverThreatProtectionSettings.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/servers.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/servers.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/servers.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tuningConfiguration.d.ts +90 -0
- package/dist/commonjs/operationsInterfaces/tuningConfiguration.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/tuningConfiguration.js +10 -0
- package/dist/commonjs/operationsInterfaces/tuningConfiguration.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/tuningIndex.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/tuningIndex.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/tuningIndex.js +10 -0
- package/dist/commonjs/operationsInterfaces/tuningIndex.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/tuningOptions.d.ts +21 -0
- package/dist/commonjs/operationsInterfaces/tuningOptions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/tuningOptions.js +10 -0
- package/dist/commonjs/operationsInterfaces/tuningOptions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/virtualEndpoints.d.ts +3 -3
- package/dist/commonjs/operationsInterfaces/virtualEndpoints.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/virtualEndpoints.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/postgreSQLManagementFlexibleServerClient.d.ts +7 -3
- package/dist/commonjs/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist/commonjs/postgreSQLManagementFlexibleServerClient.js +10 -10
- package/dist/commonjs/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/lroImpl.d.ts +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +506 -35
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +70 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +23 -1
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +788 -99
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +5 -1
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +36 -3
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/administrators.d.ts +9 -9
- package/dist/esm/operations/administrators.d.ts.map +1 -1
- package/dist/esm/operations/administrators.js +7 -7
- package/dist/esm/operations/administrators.js.map +1 -1
- package/dist/esm/operations/backups.d.ts +5 -5
- package/dist/esm/operations/backups.d.ts.map +1 -1
- package/dist/esm/operations/backups.js +3 -3
- package/dist/esm/operations/backups.js.map +1 -1
- package/dist/esm/operations/checkNameAvailability.d.ts +3 -3
- package/dist/esm/operations/checkNameAvailability.d.ts.map +1 -1
- package/dist/esm/operations/checkNameAvailability.js.map +1 -1
- package/dist/esm/operations/checkNameAvailabilityWithLocation.d.ts +3 -3
- package/dist/esm/operations/checkNameAvailabilityWithLocation.d.ts.map +1 -1
- package/dist/esm/operations/checkNameAvailabilityWithLocation.js +1 -5
- package/dist/esm/operations/checkNameAvailabilityWithLocation.js.map +1 -1
- package/dist/esm/operations/configurations.d.ts +5 -5
- package/dist/esm/operations/configurations.d.ts.map +1 -1
- package/dist/esm/operations/configurations.js +3 -3
- package/dist/esm/operations/configurations.js.map +1 -1
- package/dist/esm/operations/databases.d.ts +5 -5
- package/dist/esm/operations/databases.d.ts.map +1 -1
- package/dist/esm/operations/databases.js +3 -3
- package/dist/esm/operations/databases.js.map +1 -1
- package/dist/esm/operations/firewallRules.d.ts +5 -5
- package/dist/esm/operations/firewallRules.d.ts.map +1 -1
- package/dist/esm/operations/firewallRules.js +3 -3
- package/dist/esm/operations/firewallRules.js.map +1 -1
- package/dist/esm/operations/flexibleServer.d.ts +4 -4
- package/dist/esm/operations/flexibleServer.d.ts.map +1 -1
- package/dist/esm/operations/flexibleServer.js +1 -1
- package/dist/esm/operations/flexibleServer.js.map +1 -1
- package/dist/esm/operations/getPrivateDnsZoneSuffix.d.ts +3 -3
- package/dist/esm/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -1
- package/dist/esm/operations/getPrivateDnsZoneSuffix.js.map +1 -1
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +4 -0
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/locationBasedCapabilities.d.ts +4 -4
- package/dist/esm/operations/locationBasedCapabilities.d.ts.map +1 -1
- package/dist/esm/operations/locationBasedCapabilities.js +3 -7
- package/dist/esm/operations/locationBasedCapabilities.js.map +1 -1
- package/dist/esm/operations/logFiles.d.ts +4 -4
- package/dist/esm/operations/logFiles.d.ts.map +1 -1
- package/dist/esm/operations/logFiles.js +2 -2
- package/dist/esm/operations/logFiles.js.map +1 -1
- package/dist/esm/operations/ltrBackupOperations.d.ts +4 -4
- package/dist/esm/operations/ltrBackupOperations.d.ts.map +1 -1
- package/dist/esm/operations/ltrBackupOperations.js +2 -2
- package/dist/esm/operations/ltrBackupOperations.js.map +1 -1
- package/dist/esm/operations/migrations.d.ts +4 -4
- package/dist/esm/operations/migrations.d.ts.map +1 -1
- package/dist/esm/operations/migrations.js +2 -2
- package/dist/esm/operations/migrations.js.map +1 -1
- package/dist/esm/operations/operations.d.ts +18 -4
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +87 -0
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnectionOperations.d.ts +4 -4
- package/dist/esm/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnectionOperations.js +1 -1
- package/dist/esm/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/esm/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operations/privateEndpointConnections.js +2 -2
- package/dist/esm/operations/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.d.ts +4 -4
- package/dist/esm/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +2 -2
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/quotaUsages.d.ts +35 -0
- package/dist/esm/operations/quotaUsages.d.ts.map +1 -0
- package/dist/esm/operations/quotaUsages.js +141 -0
- package/dist/esm/operations/quotaUsages.js.map +1 -0
- package/dist/esm/operations/replicas.d.ts +4 -4
- package/dist/esm/operations/replicas.d.ts.map +1 -1
- package/dist/esm/operations/replicas.js.map +1 -1
- package/dist/esm/operations/serverCapabilities.d.ts +4 -4
- package/dist/esm/operations/serverCapabilities.d.ts.map +1 -1
- package/dist/esm/operations/serverCapabilities.js +2 -2
- package/dist/esm/operations/serverCapabilities.js.map +1 -1
- package/dist/esm/operations/serverThreatProtectionSettings.d.ts +5 -5
- package/dist/esm/operations/serverThreatProtectionSettings.d.ts.map +1 -1
- package/dist/esm/operations/serverThreatProtectionSettings.js +3 -3
- package/dist/esm/operations/serverThreatProtectionSettings.js.map +1 -1
- package/dist/esm/operations/servers.d.ts +5 -5
- package/dist/esm/operations/servers.d.ts.map +1 -1
- package/dist/esm/operations/servers.js +7 -15
- package/dist/esm/operations/servers.js.map +1 -1
- package/dist/esm/operations/tuningConfiguration.d.ts +137 -0
- package/dist/esm/operations/tuningConfiguration.d.ts.map +1 -0
- package/dist/esm/operations/tuningConfiguration.js +638 -0
- package/dist/esm/operations/tuningConfiguration.js.map +1 -0
- package/dist/esm/operations/tuningIndex.d.ts +41 -0
- package/dist/esm/operations/tuningIndex.d.ts.map +1 -0
- package/dist/esm/operations/tuningIndex.js +155 -0
- package/dist/esm/operations/tuningIndex.js.map +1 -0
- package/dist/esm/operations/tuningOptions.d.ts +46 -0
- package/dist/esm/operations/tuningOptions.d.ts.map +1 -0
- package/dist/esm/operations/tuningOptions.js +182 -0
- package/dist/esm/operations/tuningOptions.js.map +1 -0
- package/dist/esm/operations/virtualEndpoints.d.ts +5 -5
- package/dist/esm/operations/virtualEndpoints.d.ts.map +1 -1
- package/dist/esm/operations/virtualEndpoints.js +3 -3
- package/dist/esm/operations/virtualEndpoints.js.map +1 -1
- package/dist/esm/operations/virtualNetworkSubnetUsage.d.ts +3 -3
- package/dist/esm/operations/virtualNetworkSubnetUsage.d.ts.map +1 -1
- package/dist/esm/operations/virtualNetworkSubnetUsage.js +1 -5
- package/dist/esm/operations/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist/esm/operationsInterfaces/administrators.d.ts +7 -7
- package/dist/esm/operationsInterfaces/administrators.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/administrators.js.map +1 -1
- package/dist/esm/operationsInterfaces/backups.d.ts +3 -3
- package/dist/esm/operationsInterfaces/backups.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/backups.js.map +1 -1
- package/dist/esm/operationsInterfaces/checkNameAvailability.d.ts +1 -1
- package/dist/esm/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/checkNameAvailability.js.map +1 -1
- package/dist/esm/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts +1 -1
- package/dist/esm/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/checkNameAvailabilityWithLocation.js.map +1 -1
- package/dist/esm/operationsInterfaces/configurations.d.ts +3 -3
- package/dist/esm/operationsInterfaces/configurations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/configurations.js.map +1 -1
- package/dist/esm/operationsInterfaces/databases.d.ts +3 -3
- package/dist/esm/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databases.js.map +1 -1
- package/dist/esm/operationsInterfaces/firewallRules.d.ts +3 -3
- package/dist/esm/operationsInterfaces/firewallRules.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/firewallRules.js.map +1 -1
- package/dist/esm/operationsInterfaces/flexibleServer.d.ts +2 -2
- package/dist/esm/operationsInterfaces/flexibleServer.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/flexibleServer.js.map +1 -1
- package/dist/esm/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +1 -1
- package/dist/esm/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +4 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
- package/dist/esm/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/locationBasedCapabilities.js.map +1 -1
- package/dist/esm/operationsInterfaces/logFiles.d.ts +2 -2
- package/dist/esm/operationsInterfaces/logFiles.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/logFiles.js.map +1 -1
- package/dist/esm/operationsInterfaces/ltrBackupOperations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/ltrBackupOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/migrations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/migrations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/migrations.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts +3 -2
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.d.ts +2 -2
- package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/esm/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/esm/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/esm/operationsInterfaces/quotaUsages.d.ts +12 -0
- package/dist/esm/operationsInterfaces/quotaUsages.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/quotaUsages.js +9 -0
- package/dist/esm/operationsInterfaces/quotaUsages.js.map +1 -0
- package/dist/esm/operationsInterfaces/replicas.d.ts +2 -2
- package/dist/esm/operationsInterfaces/replicas.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/replicas.js.map +1 -1
- package/dist/esm/operationsInterfaces/serverCapabilities.d.ts +2 -2
- package/dist/esm/operationsInterfaces/serverCapabilities.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/serverCapabilities.js.map +1 -1
- package/dist/esm/operationsInterfaces/serverThreatProtectionSettings.d.ts +3 -3
- package/dist/esm/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -1
- package/dist/esm/operationsInterfaces/servers.d.ts +3 -3
- package/dist/esm/operationsInterfaces/servers.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/servers.js.map +1 -1
- package/dist/esm/operationsInterfaces/tuningConfiguration.d.ts +90 -0
- package/dist/esm/operationsInterfaces/tuningConfiguration.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/tuningConfiguration.js +9 -0
- package/dist/esm/operationsInterfaces/tuningConfiguration.js.map +1 -0
- package/dist/esm/operationsInterfaces/tuningIndex.d.ts +14 -0
- package/dist/esm/operationsInterfaces/tuningIndex.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/tuningIndex.js +9 -0
- package/dist/esm/operationsInterfaces/tuningIndex.js.map +1 -0
- package/dist/esm/operationsInterfaces/tuningOptions.d.ts +21 -0
- package/dist/esm/operationsInterfaces/tuningOptions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/tuningOptions.js +9 -0
- package/dist/esm/operationsInterfaces/tuningOptions.js.map +1 -0
- package/dist/esm/operationsInterfaces/virtualEndpoints.d.ts +3 -3
- package/dist/esm/operationsInterfaces/virtualEndpoints.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/virtualEndpoints.js.map +1 -1
- package/dist/esm/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +1 -1
- package/dist/esm/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/postgreSQLManagementFlexibleServerClient.d.ts +7 -3
- package/dist/esm/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist/esm/postgreSQLManagementFlexibleServerClient.js +11 -11
- package/dist/esm/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +506 -35
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +70 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +23 -1
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +788 -99
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +5 -1
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +36 -3
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/administrators.d.ts +9 -9
- package/dist/react-native/operations/administrators.d.ts.map +1 -1
- package/dist/react-native/operations/administrators.js +7 -7
- package/dist/react-native/operations/administrators.js.map +1 -1
- package/dist/react-native/operations/backups.d.ts +5 -5
- package/dist/react-native/operations/backups.d.ts.map +1 -1
- package/dist/react-native/operations/backups.js +3 -3
- package/dist/react-native/operations/backups.js.map +1 -1
- package/dist/react-native/operations/checkNameAvailability.d.ts +3 -3
- package/dist/react-native/operations/checkNameAvailability.d.ts.map +1 -1
- package/dist/react-native/operations/checkNameAvailability.js.map +1 -1
- package/dist/react-native/operations/checkNameAvailabilityWithLocation.d.ts +3 -3
- package/dist/react-native/operations/checkNameAvailabilityWithLocation.d.ts.map +1 -1
- package/dist/react-native/operations/checkNameAvailabilityWithLocation.js +1 -5
- package/dist/react-native/operations/checkNameAvailabilityWithLocation.js.map +1 -1
- package/dist/react-native/operations/configurations.d.ts +5 -5
- package/dist/react-native/operations/configurations.d.ts.map +1 -1
- package/dist/react-native/operations/configurations.js +3 -3
- package/dist/react-native/operations/configurations.js.map +1 -1
- package/dist/react-native/operations/databases.d.ts +5 -5
- package/dist/react-native/operations/databases.d.ts.map +1 -1
- package/dist/react-native/operations/databases.js +3 -3
- package/dist/react-native/operations/databases.js.map +1 -1
- package/dist/react-native/operations/firewallRules.d.ts +5 -5
- package/dist/react-native/operations/firewallRules.d.ts.map +1 -1
- package/dist/react-native/operations/firewallRules.js +3 -3
- package/dist/react-native/operations/firewallRules.js.map +1 -1
- package/dist/react-native/operations/flexibleServer.d.ts +4 -4
- package/dist/react-native/operations/flexibleServer.d.ts.map +1 -1
- package/dist/react-native/operations/flexibleServer.js +1 -1
- package/dist/react-native/operations/flexibleServer.js.map +1 -1
- package/dist/react-native/operations/getPrivateDnsZoneSuffix.d.ts +3 -3
- package/dist/react-native/operations/getPrivateDnsZoneSuffix.d.ts.map +1 -1
- package/dist/react-native/operations/getPrivateDnsZoneSuffix.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +4 -0
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/locationBasedCapabilities.d.ts +4 -4
- package/dist/react-native/operations/locationBasedCapabilities.d.ts.map +1 -1
- package/dist/react-native/operations/locationBasedCapabilities.js +3 -7
- package/dist/react-native/operations/locationBasedCapabilities.js.map +1 -1
- package/dist/react-native/operations/logFiles.d.ts +4 -4
- package/dist/react-native/operations/logFiles.d.ts.map +1 -1
- package/dist/react-native/operations/logFiles.js +2 -2
- package/dist/react-native/operations/logFiles.js.map +1 -1
- package/dist/react-native/operations/ltrBackupOperations.d.ts +4 -4
- package/dist/react-native/operations/ltrBackupOperations.d.ts.map +1 -1
- package/dist/react-native/operations/ltrBackupOperations.js +2 -2
- package/dist/react-native/operations/ltrBackupOperations.js.map +1 -1
- package/dist/react-native/operations/migrations.d.ts +4 -4
- package/dist/react-native/operations/migrations.d.ts.map +1 -1
- package/dist/react-native/operations/migrations.js +2 -2
- package/dist/react-native/operations/migrations.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts +18 -4
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +87 -0
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnectionOperations.d.ts +4 -4
- package/dist/react-native/operations/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnectionOperations.js +1 -1
- package/dist/react-native/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.d.ts +4 -4
- package/dist/react-native/operations/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operations/privateEndpointConnections.js +2 -2
- package/dist/react-native/operations/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.d.ts +4 -4
- package/dist/react-native/operations/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +2 -2
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/quotaUsages.d.ts +35 -0
- package/dist/react-native/operations/quotaUsages.d.ts.map +1 -0
- package/dist/react-native/operations/quotaUsages.js +141 -0
- package/dist/react-native/operations/quotaUsages.js.map +1 -0
- package/dist/react-native/operations/replicas.d.ts +4 -4
- package/dist/react-native/operations/replicas.d.ts.map +1 -1
- package/dist/react-native/operations/replicas.js.map +1 -1
- package/dist/react-native/operations/serverCapabilities.d.ts +4 -4
- package/dist/react-native/operations/serverCapabilities.d.ts.map +1 -1
- package/dist/react-native/operations/serverCapabilities.js +2 -2
- package/dist/react-native/operations/serverCapabilities.js.map +1 -1
- package/dist/react-native/operations/serverThreatProtectionSettings.d.ts +5 -5
- package/dist/react-native/operations/serverThreatProtectionSettings.d.ts.map +1 -1
- package/dist/react-native/operations/serverThreatProtectionSettings.js +3 -3
- package/dist/react-native/operations/serverThreatProtectionSettings.js.map +1 -1
- package/dist/react-native/operations/servers.d.ts +5 -5
- package/dist/react-native/operations/servers.d.ts.map +1 -1
- package/dist/react-native/operations/servers.js +7 -15
- package/dist/react-native/operations/servers.js.map +1 -1
- package/dist/react-native/operations/tuningConfiguration.d.ts +137 -0
- package/dist/react-native/operations/tuningConfiguration.d.ts.map +1 -0
- package/dist/react-native/operations/tuningConfiguration.js +638 -0
- package/dist/react-native/operations/tuningConfiguration.js.map +1 -0
- package/dist/react-native/operations/tuningIndex.d.ts +41 -0
- package/dist/react-native/operations/tuningIndex.d.ts.map +1 -0
- package/dist/react-native/operations/tuningIndex.js +155 -0
- package/dist/react-native/operations/tuningIndex.js.map +1 -0
- package/dist/react-native/operations/tuningOptions.d.ts +46 -0
- package/dist/react-native/operations/tuningOptions.d.ts.map +1 -0
- package/dist/react-native/operations/tuningOptions.js +182 -0
- package/dist/react-native/operations/tuningOptions.js.map +1 -0
- package/dist/react-native/operations/virtualEndpoints.d.ts +5 -5
- package/dist/react-native/operations/virtualEndpoints.d.ts.map +1 -1
- package/dist/react-native/operations/virtualEndpoints.js +3 -3
- package/dist/react-native/operations/virtualEndpoints.js.map +1 -1
- package/dist/react-native/operations/virtualNetworkSubnetUsage.d.ts +3 -3
- package/dist/react-native/operations/virtualNetworkSubnetUsage.d.ts.map +1 -1
- package/dist/react-native/operations/virtualNetworkSubnetUsage.js +1 -5
- package/dist/react-native/operations/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist/react-native/operationsInterfaces/administrators.d.ts +7 -7
- package/dist/react-native/operationsInterfaces/administrators.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/administrators.js.map +1 -1
- package/dist/react-native/operationsInterfaces/backups.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/backups.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/backups.js.map +1 -1
- package/dist/react-native/operationsInterfaces/checkNameAvailability.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/checkNameAvailability.js.map +1 -1
- package/dist/react-native/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/checkNameAvailabilityWithLocation.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/checkNameAvailabilityWithLocation.js.map +1 -1
- package/dist/react-native/operationsInterfaces/configurations.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/configurations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/configurations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databases.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/databases.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databases.js.map +1 -1
- package/dist/react-native/operationsInterfaces/firewallRules.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/firewallRules.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/firewallRules.js.map +1 -1
- package/dist/react-native/operationsInterfaces/flexibleServer.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/flexibleServer.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/flexibleServer.js.map +1 -1
- package/dist/react-native/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/getPrivateDnsZoneSuffix.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/getPrivateDnsZoneSuffix.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +4 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/locationBasedCapabilities.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/locationBasedCapabilities.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/locationBasedCapabilities.js.map +1 -1
- package/dist/react-native/operationsInterfaces/logFiles.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/logFiles.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/logFiles.js.map +1 -1
- package/dist/react-native/operationsInterfaces/ltrBackupOperations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/ltrBackupOperations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/ltrBackupOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/migrations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/migrations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/migrations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts +3 -2
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateEndpointConnections.js.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/privateLinkResources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/privateLinkResources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/quotaUsages.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/quotaUsages.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/quotaUsages.js +9 -0
- package/dist/react-native/operationsInterfaces/quotaUsages.js.map +1 -0
- package/dist/react-native/operationsInterfaces/replicas.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/replicas.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/replicas.js.map +1 -1
- package/dist/react-native/operationsInterfaces/serverCapabilities.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/serverCapabilities.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/serverCapabilities.js.map +1 -1
- package/dist/react-native/operationsInterfaces/serverThreatProtectionSettings.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/serverThreatProtectionSettings.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/serverThreatProtectionSettings.js.map +1 -1
- package/dist/react-native/operationsInterfaces/servers.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/servers.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/servers.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tuningConfiguration.d.ts +90 -0
- package/dist/react-native/operationsInterfaces/tuningConfiguration.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/tuningConfiguration.js +9 -0
- package/dist/react-native/operationsInterfaces/tuningConfiguration.js.map +1 -0
- package/dist/react-native/operationsInterfaces/tuningIndex.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/tuningIndex.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/tuningIndex.js +9 -0
- package/dist/react-native/operationsInterfaces/tuningIndex.js.map +1 -0
- package/dist/react-native/operationsInterfaces/tuningOptions.d.ts +21 -0
- package/dist/react-native/operationsInterfaces/tuningOptions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/tuningOptions.js +9 -0
- package/dist/react-native/operationsInterfaces/tuningOptions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/virtualEndpoints.d.ts +3 -3
- package/dist/react-native/operationsInterfaces/virtualEndpoints.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/virtualEndpoints.js.map +1 -1
- package/dist/react-native/operationsInterfaces/virtualNetworkSubnetUsage.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/virtualNetworkSubnetUsage.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/virtualNetworkSubnetUsage.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/postgreSQLManagementFlexibleServerClient.d.ts +7 -3
- package/dist/react-native/postgreSQLManagementFlexibleServerClient.d.ts.map +1 -1
- package/dist/react-native/postgreSQLManagementFlexibleServerClient.js +11 -11
- package/dist/react-native/postgreSQLManagementFlexibleServerClient.js.map +1 -1
- package/package.json +37 -48
- package/review/arm-postgresql-flexible.api.md +387 -7
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { QuotaUsages } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
|
|
4
|
+
import type { QuotaUsage, QuotaUsagesListOptionalParams } from "../models/index.js";
|
|
5
|
+
/** Class containing QuotaUsages operations. */
|
|
6
|
+
export declare class QuotaUsagesImpl implements QuotaUsages {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class QuotaUsages class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: PostgreSQLManagementFlexibleServerClient);
|
|
13
|
+
/**
|
|
14
|
+
* Get quota usages at specified location in a given subscription.
|
|
15
|
+
* @param locationName The name of the location.
|
|
16
|
+
* @param options The options parameters.
|
|
17
|
+
*/
|
|
18
|
+
list(locationName: string, options?: QuotaUsagesListOptionalParams): PagedAsyncIterableIterator<QuotaUsage>;
|
|
19
|
+
private listPagingPage;
|
|
20
|
+
private listPagingAll;
|
|
21
|
+
/**
|
|
22
|
+
* Get quota usages at specified location in a given subscription.
|
|
23
|
+
* @param locationName The name of the location.
|
|
24
|
+
* @param options The options parameters.
|
|
25
|
+
*/
|
|
26
|
+
private _list;
|
|
27
|
+
/**
|
|
28
|
+
* ListNext
|
|
29
|
+
* @param locationName The name of the location.
|
|
30
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
31
|
+
* @param options The options parameters.
|
|
32
|
+
*/
|
|
33
|
+
private _listNext;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=quotaUsages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quotaUsages.d.ts","sourceRoot":"","sources":["../../../src/operations/quotaUsages.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAIpE,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,KAAK,EACV,UAAU,EAEV,6BAA6B,EAG9B,MAAM,oBAAoB,CAAC;AAG5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;OAIG;IACI,IAAI,CACT,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,6BAA6B,GACtC,0BAA0B,CAAC,UAAU,CAAC;YAkB1B,cAAc;YAuBd,aAAa;IAS5B;;;;OAIG;IACH,OAAO,CAAC,KAAK;IAOb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
*
|
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.QuotaUsagesImpl = void 0;
|
|
11
|
+
const tslib_1 = require("tslib");
|
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
|
+
/// <reference lib="esnext.asynciterable" />
|
|
17
|
+
/** Class containing QuotaUsages operations. */
|
|
18
|
+
class QuotaUsagesImpl {
|
|
19
|
+
/**
|
|
20
|
+
* Initialize a new instance of the class QuotaUsages class.
|
|
21
|
+
* @param client Reference to the service client
|
|
22
|
+
*/
|
|
23
|
+
constructor(client) {
|
|
24
|
+
this.client = client;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Get quota usages at specified location in a given subscription.
|
|
28
|
+
* @param locationName The name of the location.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
list(locationName, options) {
|
|
32
|
+
const iter = this.listPagingAll(locationName, options);
|
|
33
|
+
return {
|
|
34
|
+
next() {
|
|
35
|
+
return iter.next();
|
|
36
|
+
},
|
|
37
|
+
[Symbol.asyncIterator]() {
|
|
38
|
+
return this;
|
|
39
|
+
},
|
|
40
|
+
byPage: (settings) => {
|
|
41
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
42
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
|
+
}
|
|
44
|
+
return this.listPagingPage(locationName, options, settings);
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
listPagingPage(locationName, options, settings) {
|
|
49
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
50
|
+
let result;
|
|
51
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
52
|
+
if (!continuationToken) {
|
|
53
|
+
result = yield tslib_1.__await(this._list(locationName, options));
|
|
54
|
+
const page = result.value || [];
|
|
55
|
+
continuationToken = result.nextLink;
|
|
56
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
57
|
+
yield yield tslib_1.__await(page);
|
|
58
|
+
}
|
|
59
|
+
while (continuationToken) {
|
|
60
|
+
result = yield tslib_1.__await(this._listNext(locationName, continuationToken, options));
|
|
61
|
+
continuationToken = result.nextLink;
|
|
62
|
+
const page = result.value || [];
|
|
63
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
64
|
+
yield yield tslib_1.__await(page);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
listPagingAll(locationName, options) {
|
|
69
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
70
|
+
var _a, e_1, _b, _c;
|
|
71
|
+
try {
|
|
72
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(locationName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
+
_c = _f.value;
|
|
74
|
+
_d = false;
|
|
75
|
+
const page = _c;
|
|
76
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__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 tslib_1.__await(_b.call(_e));
|
|
83
|
+
}
|
|
84
|
+
finally { if (e_1) throw e_1.error; }
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Get quota usages at specified location in a given subscription.
|
|
90
|
+
* @param locationName The name of the location.
|
|
91
|
+
* @param options The options parameters.
|
|
92
|
+
*/
|
|
93
|
+
_list(locationName, options) {
|
|
94
|
+
return this.client.sendOperationRequest({ locationName, options }, listOperationSpec);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* ListNext
|
|
98
|
+
* @param locationName The name of the location.
|
|
99
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
_listNext(locationName, nextLink, options) {
|
|
103
|
+
return this.client.sendOperationRequest({ locationName, nextLink, options }, listNextOperationSpec);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.QuotaUsagesImpl = QuotaUsagesImpl;
|
|
107
|
+
// Operation Specifications
|
|
108
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
109
|
+
const listOperationSpec = {
|
|
110
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/resourceType/flexibleServers/usages",
|
|
111
|
+
httpMethod: "GET",
|
|
112
|
+
responses: {
|
|
113
|
+
200: {
|
|
114
|
+
bodyMapper: Mappers.QuotaUsagesListResult,
|
|
115
|
+
},
|
|
116
|
+
default: {
|
|
117
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
queryParameters: [Parameters.apiVersion],
|
|
121
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.locationName],
|
|
122
|
+
headerParameters: [Parameters.accept],
|
|
123
|
+
serializer,
|
|
124
|
+
};
|
|
125
|
+
const listNextOperationSpec = {
|
|
126
|
+
path: "{nextLink}",
|
|
127
|
+
httpMethod: "GET",
|
|
128
|
+
responses: {
|
|
129
|
+
200: {
|
|
130
|
+
bodyMapper: Mappers.QuotaUsagesListResult,
|
|
131
|
+
},
|
|
132
|
+
default: {
|
|
133
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
urlParameters: [
|
|
137
|
+
Parameters.$host,
|
|
138
|
+
Parameters.subscriptionId,
|
|
139
|
+
Parameters.nextLink,
|
|
140
|
+
Parameters.locationName,
|
|
141
|
+
],
|
|
142
|
+
headerParameters: [Parameters.accept],
|
|
143
|
+
serializer,
|
|
144
|
+
};
|
|
145
|
+
//# sourceMappingURL=quotaUsages.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quotaUsages.js","sourceRoot":"","sources":["../../../src/operations/quotaUsages.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,+CAA+C;AAC/C,MAAa,eAAe;IAG1B;;;OAGG;IACH,YAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;O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;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,YAAY,CAAC;IACrF,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,qBAAqB;SAC1C;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,QAAQ;QACnB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { QuotaUsages } 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 type { PostgreSQLManagementFlexibleServerClient } from \"../postgreSQLManagementFlexibleServerClient.js\";\nimport type {\n QuotaUsage,\n QuotaUsagesListNextOptionalParams,\n QuotaUsagesListOptionalParams,\n QuotaUsagesListResponse,\n QuotaUsagesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing QuotaUsages operations. */\nexport class QuotaUsagesImpl implements QuotaUsages {\n private readonly client: PostgreSQLManagementFlexibleServerClient;\n\n /**\n * Initialize a new instance of the class QuotaUsages class.\n * @param client Reference to the service client\n */\n constructor(client: PostgreSQLManagementFlexibleServerClient) {\n this.client = client;\n }\n\n /**\n * Get quota usages at specified location in a given subscription.\n * @param locationName The name of the location.\n * @param options The options parameters.\n */\n public list(\n locationName: string,\n options?: QuotaUsagesListOptionalParams,\n ): PagedAsyncIterableIterator<QuotaUsage> {\n const iter = this.listPagingAll(locationName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(locationName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n locationName: string,\n options?: QuotaUsagesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<QuotaUsage[]> {\n let result: QuotaUsagesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(locationName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(locationName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n locationName: string,\n options?: QuotaUsagesListOptionalParams,\n ): AsyncIterableIterator<QuotaUsage> {\n for await (const page of this.listPagingPage(locationName, options)) {\n yield* page;\n }\n }\n\n /**\n * Get quota usages at specified location in a given subscription.\n * @param locationName The name of the location.\n * @param options The options parameters.\n */\n private _list(\n locationName: string,\n options?: QuotaUsagesListOptionalParams,\n ): Promise<QuotaUsagesListResponse> {\n return this.client.sendOperationRequest({ locationName, options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param locationName The name of the location.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n locationName: string,\n nextLink: string,\n options?: QuotaUsagesListNextOptionalParams,\n ): Promise<QuotaUsagesListNextResponse> {\n return this.client.sendOperationRequest(\n { locationName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/locations/{locationName}/resourceType/flexibleServers/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.locationName],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaUsagesListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.locationName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Replicas } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
|
|
4
|
-
import { Server, ReplicasListByServerOptionalParams } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { Replicas } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
|
|
4
|
+
import type { Server, ReplicasListByServerOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Replicas operations. */
|
|
6
6
|
export declare class ReplicasImpl implements Replicas {
|
|
7
7
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replicas.d.ts","sourceRoot":"","sources":["../../../src/operations/replicas.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"replicas.d.ts","sourceRoot":"","sources":["../../../src/operations/replicas.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AACnF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAIjE,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,KAAK,EACV,MAAM,EACN,kCAAkC,EAEnC,MAAM,oBAAoB,CAAC;AAG5B,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;;OAKG;IACI,YAAY,CACjB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,MAAM,CAAC;YAkBtB,sBAAsB;YAWtB,qBAAqB;IAUpC;;;;;OAKG;IACH,OAAO,CAAC,aAAa;CAUtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replicas.js","sourceRoot":"","sources":["../../../src/operations/replicas.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAIH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAa,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;I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oft 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 type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport type { Replicas } 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 type { PostgreSQLManagementFlexibleServerClient } from \"../postgreSQLManagementFlexibleServerClient.js\";\nimport type {\n Server,\n ReplicasListByServerOptionalParams,\n ReplicasListByServerResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Replicas operations. */\nexport class ReplicasImpl implements Replicas {\n private readonly client: PostgreSQLManagementFlexibleServerClient;\n\n /**\n * Initialize a new instance of the class Replicas class.\n * @param client Reference to the service client\n */\n constructor(client: PostgreSQLManagementFlexibleServerClient) {\n this.client = client;\n }\n\n /**\n * List all the replicas for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n public listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: ReplicasListByServerOptionalParams,\n ): PagedAsyncIterableIterator<Server> {\n const iter = this.listByServerPagingAll(resourceGroupName, serverName, options);\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.listByServerPagingPage(resourceGroupName, serverName, options, settings);\n },\n };\n }\n\n private async *listByServerPagingPage(\n resourceGroupName: string,\n serverName: string,\n options?: ReplicasListByServerOptionalParams,\n _settings?: PageSettings,\n ): AsyncIterableIterator<Server[]> {\n let result: ReplicasListByServerResponse;\n result = await this._listByServer(resourceGroupName, serverName, options);\n yield result.value || [];\n }\n\n private async *listByServerPagingAll(\n resourceGroupName: string,\n serverName: string,\n options?: ReplicasListByServerOptionalParams,\n ): AsyncIterableIterator<Server> {\n for await (const page of this.listByServerPagingPage(resourceGroupName, serverName, options)) {\n yield* page;\n }\n }\n\n /**\n * List all the replicas for a given server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n private _listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: ReplicasListByServerOptionalParams,\n ): Promise<ReplicasListByServerResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, options },\n listByServerOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByServerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/replicas\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerListResult,\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.serverName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ServerCapabilities } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
|
|
4
|
-
import { FlexibleServerCapability, ServerCapabilitiesListOptionalParams } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { ServerCapabilities } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
|
|
4
|
+
import type { FlexibleServerCapability, ServerCapabilitiesListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing ServerCapabilities operations. */
|
|
6
6
|
export declare class ServerCapabilitiesImpl implements ServerCapabilities {
|
|
7
7
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverCapabilities.d.ts","sourceRoot":"","sources":["../../../src/operations/serverCapabilities.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"serverCapabilities.d.ts","sourceRoot":"","sources":["../../../src/operations/serverCapabilities.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAI3E,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,KAAK,EACV,wBAAwB,EAExB,oCAAoC,EAGrC,MAAM,oBAAoB,CAAC;AAG5B,sDAAsD;AACtD,qBAAa,sBAAuB,YAAW,kBAAkB;IAC/D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,oCAAoC,GAC7C,0BAA0B,CAAC,wBAAwB,CAAC;YAkBxC,cAAc;YAwBd,aAAa;IAU5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -52,7 +52,7 @@ class ServerCapabilitiesImpl {
|
|
|
52
52
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
53
53
|
if (!continuationToken) {
|
|
54
54
|
result = yield tslib_1.__await(this._list(resourceGroupName, serverName, options));
|
|
55
|
-
|
|
55
|
+
const page = result.value || [];
|
|
56
56
|
continuationToken = result.nextLink;
|
|
57
57
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
58
58
|
yield yield tslib_1.__await(page);
|
|
@@ -60,7 +60,7 @@ class ServerCapabilitiesImpl {
|
|
|
60
60
|
while (continuationToken) {
|
|
61
61
|
result = yield tslib_1.__await(this._listNext(resourceGroupName, serverName, continuationToken, options));
|
|
62
62
|
continuationToken = result.nextLink;
|
|
63
|
-
|
|
63
|
+
const page = result.value || [];
|
|
64
64
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
65
65
|
yield yield tslib_1.__await(page);
|
|
66
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverCapabilities.js","sourceRoot":"","sources":["../../../src/operations/serverCapabilities.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,sDAAsD;AACtD,MAAa,sBAAsB;IAGjC;;;OAGG;IACH,YAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,UAAkB,EAClB,OAA8C;QAE9C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;QACxE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE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cesContent":["/*\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 type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ServerCapabilities } 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 type { PostgreSQLManagementFlexibleServerClient } from \"../postgreSQLManagementFlexibleServerClient.js\";\nimport type {\n FlexibleServerCapability,\n ServerCapabilitiesListNextOptionalParams,\n ServerCapabilitiesListOptionalParams,\n ServerCapabilitiesListResponse,\n ServerCapabilitiesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ServerCapabilities operations. */\nexport class ServerCapabilitiesImpl implements ServerCapabilities {\n private readonly client: PostgreSQLManagementFlexibleServerClient;\n\n /**\n * Initialize a new instance of the class ServerCapabilities class.\n * @param client Reference to the service client\n */\n constructor(client: PostgreSQLManagementFlexibleServerClient) {\n this.client = client;\n }\n\n /**\n * Get capabilities for a flexible server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n serverName: string,\n options?: ServerCapabilitiesListOptionalParams,\n ): PagedAsyncIterableIterator<FlexibleServerCapability> {\n const iter = this.listPagingAll(resourceGroupName, serverName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(resourceGroupName, serverName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n serverName: string,\n options?: ServerCapabilitiesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<FlexibleServerCapability[]> {\n let result: ServerCapabilitiesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, serverName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(resourceGroupName, serverName, continuationToken, options);\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n serverName: string,\n options?: ServerCapabilitiesListOptionalParams,\n ): AsyncIterableIterator<FlexibleServerCapability> {\n for await (const page of this.listPagingPage(resourceGroupName, serverName, options)) {\n yield* page;\n }\n }\n\n /**\n * Get capabilities for a flexible server.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n serverName: string,\n options?: ServerCapabilitiesListOptionalParams,\n ): Promise<ServerCapabilitiesListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n serverName: string,\n nextLink: string,\n options?: ServerCapabilitiesListNextOptionalParams,\n ): Promise<ServerCapabilitiesListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/capabilities\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CapabilitiesListResult,\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.serverName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CapabilitiesListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { ServerThreatProtectionSettings } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
|
|
4
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { ServerThreatProtectionSettingsModel, ServerThreatProtectionSettingsListByServerOptionalParams, ThreatProtectionName, ServerThreatProtectionSettingsGetOptionalParams, ServerThreatProtectionSettingsGetResponse, ServerThreatProtectionSettingsCreateOrUpdateOptionalParams, ServerThreatProtectionSettingsCreateOrUpdateResponse } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { ServerThreatProtectionSettings } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { ServerThreatProtectionSettingsModel, ServerThreatProtectionSettingsListByServerOptionalParams, ThreatProtectionName, ServerThreatProtectionSettingsGetOptionalParams, ServerThreatProtectionSettingsGetResponse, ServerThreatProtectionSettingsCreateOrUpdateOptionalParams, ServerThreatProtectionSettingsCreateOrUpdateResponse } from "../models/index.js";
|
|
6
6
|
/** Class containing ServerThreatProtectionSettings operations. */
|
|
7
7
|
export declare class ServerThreatProtectionSettingsImpl implements ServerThreatProtectionSettings {
|
|
8
8
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverThreatProtectionSettings.d.ts","sourceRoot":"","sources":["../../../src/operations/serverThreatProtectionSettings.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"serverThreatProtectionSettings.d.ts","sourceRoot":"","sources":["../../../src/operations/serverThreatProtectionSettings.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAEnF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,kCAAkC,CAAC;AAIvF,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAGxE,OAAO,KAAK,EACV,mCAAmC,EAEnC,wDAAwD,EAExD,oBAAoB,EACpB,+CAA+C,EAC/C,yCAAyC,EACzC,0DAA0D,EAC1D,oDAAoD,EAErD,MAAM,oBAAoB,CAAC;AAG5B,kEAAkE;AAClE,qBAAa,kCAAmC,YAAW,8BAA8B;IACvF,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA2C;IAElE;;;OAGG;gBACS,MAAM,EAAE,wCAAwC;IAI5D;;;;;OAKG;IACI,YAAY,CACjB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,wDAAwD,GACjE,0BAA0B,CAAC,mCAAmC,CAAC;YAkBnD,sBAAsB;YA6BtB,qBAAqB;IAUpC;;;;;OAKG;IACH,OAAO,CAAC,aAAa;IAWrB;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,oBAAoB,EAAE,oBAAoB,EAC1C,OAAO,CAAC,EAAE,+CAA+C,GACxD,OAAO,CAAC,yCAAyC,CAAC;IAOrD;;;;;;;OAOG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,mCAAmC,EAC/C,OAAO,CAAC,EAAE,0DAA0D,GACnE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,oDAAoD,CAAC,EACpE,oDAAoD,CACrD,CACF;IA6DD;;;;;;;OAOG;IACG,0BAA0B,CAC9B,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,mCAAmC,EAC/C,OAAO,CAAC,EAAE,0DAA0D,GACnE,OAAO,CAAC,oDAAoD,CAAC;IAWhE;;;;;;OAMG;IACH,OAAO,CAAC,iBAAiB;CAW1B"}
|
|
@@ -54,7 +54,7 @@ class ServerThreatProtectionSettingsImpl {
|
|
|
54
54
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
55
55
|
if (!continuationToken) {
|
|
56
56
|
result = yield tslib_1.__await(this._listByServer(resourceGroupName, serverName, options));
|
|
57
|
-
|
|
57
|
+
const page = result.value || [];
|
|
58
58
|
continuationToken = result.nextLink;
|
|
59
59
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
60
60
|
yield yield tslib_1.__await(page);
|
|
@@ -62,7 +62,7 @@ class ServerThreatProtectionSettingsImpl {
|
|
|
62
62
|
while (continuationToken) {
|
|
63
63
|
result = yield tslib_1.__await(this._listByServerNext(resourceGroupName, serverName, continuationToken, options));
|
|
64
64
|
continuationToken = result.nextLink;
|
|
65
|
-
|
|
65
|
+
const page = result.value || [];
|
|
66
66
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
67
67
|
yield yield tslib_1.__await(page);
|
|
68
68
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverThreatProtectionSettings.js","sourceRoot":"","sources":["../../../src/operations/serverThreatProtectionSettings.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAc9C,4CAA4C;AAC5C,kEAAkE;AAClE,MAAa,kCAAkC;IAK7C;;;OAGG;IACH,YAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,YAAY,CACjB,iBAAyB,EACzB,UAAkB,EAClB,OAAkE;QAElE,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CACrC,iBAAiB,EACjB,UAAU,EACV,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,sBAAsB,CAChC,iBAAiB,EACjB,UAAU,EACV,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,sBAAsB,CACnC,iBAAyB,EACzB,UAAkB,EAClB,OAAkE,EAClE,QAAuB;;YAEvB,IAAI,MAA0D,CAAC;YAC/D,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GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,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,UAAU;QACrB,UAAU,CAAC,oBAAoB;KAChC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;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,UAAU;QACrB,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 { ServerThreatProtectionSettings } 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 { PostgreSQLManagementFlexibleServerClient } from \"../postgreSQLManagementFlexibleServerClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n ServerThreatProtectionSettingsModel,\n ServerThreatProtectionSettingsListByServerNextOptionalParams,\n ServerThreatProtectionSettingsListByServerOptionalParams,\n ServerThreatProtectionSettingsListByServerResponse,\n ThreatProtectionName,\n ServerThreatProtectionSettingsGetOptionalParams,\n ServerThreatProtectionSettingsGetResponse,\n ServerThreatProtectionSettingsCreateOrUpdateOptionalParams,\n ServerThreatProtectionSettingsCreateOrUpdateResponse,\n ServerThreatProtectionSettingsListByServerNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ServerThreatProtectionSettings operations. */\nexport class ServerThreatProtectionSettingsImpl\n implements ServerThreatProtectionSettings\n{\n private readonly client: PostgreSQLManagementFlexibleServerClient;\n\n /**\n * Initialize a new instance of the class ServerThreatProtectionSettings class.\n * @param client Reference to the service client\n */\n constructor(client: PostgreSQLManagementFlexibleServerClient) {\n this.client = client;\n }\n\n /**\n * Get a list of server's Threat Protection state.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n public listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: ServerThreatProtectionSettingsListByServerOptionalParams,\n ): PagedAsyncIterableIterator<ServerThreatProtectionSettingsModel> {\n const iter = this.listByServerPagingAll(\n resourceGroupName,\n serverName,\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.listByServerPagingPage(\n resourceGroupName,\n serverName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByServerPagingPage(\n resourceGroupName: string,\n serverName: string,\n options?: ServerThreatProtectionSettingsListByServerOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ServerThreatProtectionSettingsModel[]> {\n let result: ServerThreatProtectionSettingsListByServerResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByServer(resourceGroupName, serverName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServerNext(\n resourceGroupName,\n serverName,\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 *listByServerPagingAll(\n resourceGroupName: string,\n serverName: string,\n options?: ServerThreatProtectionSettingsListByServerOptionalParams,\n ): AsyncIterableIterator<ServerThreatProtectionSettingsModel> {\n for await (const page of this.listByServerPagingPage(\n resourceGroupName,\n serverName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get a list of server's Threat Protection state.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n private _listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: ServerThreatProtectionSettingsListByServerOptionalParams,\n ): Promise<ServerThreatProtectionSettingsListByServerResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, options },\n listByServerOperationSpec,\n );\n }\n\n /**\n * Get a server's Advanced Threat Protection settings.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param threatProtectionName The name of the Threat Protection state.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serverName: string,\n threatProtectionName: ThreatProtectionName,\n options?: ServerThreatProtectionSettingsGetOptionalParams,\n ): Promise<ServerThreatProtectionSettingsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, threatProtectionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a server's Advanced Threat Protection settings.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param threatProtectionName The name of the Threat Protection state.\n * @param parameters The Advanced Threat Protection state for the flexible server.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n serverName: string,\n threatProtectionName: ThreatProtectionName,\n parameters: ServerThreatProtectionSettingsModel,\n options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ServerThreatProtectionSettingsCreateOrUpdateResponse>,\n ServerThreatProtectionSettingsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ServerThreatProtectionSettingsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n serverName,\n threatProtectionName,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ServerThreatProtectionSettingsCreateOrUpdateResponse,\n OperationState<ServerThreatProtectionSettingsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a server's Advanced Threat Protection settings.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param threatProtectionName The name of the Threat Protection state.\n * @param parameters The Advanced Threat Protection state for the flexible server.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n serverName: string,\n threatProtectionName: ThreatProtectionName,\n parameters: ServerThreatProtectionSettingsModel,\n options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams,\n ): Promise<ServerThreatProtectionSettingsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n serverName,\n threatProtectionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByServerNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param nextLink The nextLink from the previous successful call to the ListByServer method.\n * @param options The options parameters.\n */\n private _listByServerNext(\n resourceGroupName: string,\n serverName: string,\n nextLink: string,\n options?: ServerThreatProtectionSettingsListByServerNextOptionalParams,\n ): Promise<ServerThreatProtectionSettingsListByServerNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, nextLink, options },\n listByServerNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByServerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerThreatProtectionListResult,\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.serverName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\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.serverName,\n Parameters.threatProtectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\n },\n 201: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\n },\n 202: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\n },\n 204: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters14,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.threatProtectionName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listByServerNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerThreatProtectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"serverThreatProtectionSettings.js","sourceRoot":"","sources":["../../../src/operations/serverThreatProtectionSettings.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAGtD,8CAAmD;AACnD,8CAA8C;AAc9C,4CAA4C;AAC5C,kEAAkE;AAClE,MAAa,kCAAkC;IAG7C;;;OAGG;IACH,YAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,YAAY,CACjB,iBAAyB,EACzB,UAAkB,EAClB,OAAkE;QAElE,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,CAAC,iBAAiB,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;QAChF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YACvF,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,sBAAsB,CACnC,iBAAyB,EACzB,UAAkB,EAClB,OAAkE,EAClE,QAAuB;;YAEvB,IAAI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AC,mCAAmC;SACxD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mCAAmC;SACxD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,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,UAAU;QACrB,UAAU,CAAC,oBAAoB;KAChC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,6BAA6B,GAA6B;IAC9D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;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,UAAU;QACrB,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 type { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport type { ServerThreatProtectionSettings } 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 type { PostgreSQLManagementFlexibleServerClient } from \"../postgreSQLManagementFlexibleServerClient.js\";\nimport type { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport { createHttpPoller } from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport type {\n ServerThreatProtectionSettingsModel,\n ServerThreatProtectionSettingsListByServerNextOptionalParams,\n ServerThreatProtectionSettingsListByServerOptionalParams,\n ServerThreatProtectionSettingsListByServerResponse,\n ThreatProtectionName,\n ServerThreatProtectionSettingsGetOptionalParams,\n ServerThreatProtectionSettingsGetResponse,\n ServerThreatProtectionSettingsCreateOrUpdateOptionalParams,\n ServerThreatProtectionSettingsCreateOrUpdateResponse,\n ServerThreatProtectionSettingsListByServerNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ServerThreatProtectionSettings operations. */\nexport class ServerThreatProtectionSettingsImpl implements ServerThreatProtectionSettings {\n private readonly client: PostgreSQLManagementFlexibleServerClient;\n\n /**\n * Initialize a new instance of the class ServerThreatProtectionSettings class.\n * @param client Reference to the service client\n */\n constructor(client: PostgreSQLManagementFlexibleServerClient) {\n this.client = client;\n }\n\n /**\n * Get a list of server's Threat Protection state.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n public listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: ServerThreatProtectionSettingsListByServerOptionalParams,\n ): PagedAsyncIterableIterator<ServerThreatProtectionSettingsModel> {\n const iter = this.listByServerPagingAll(resourceGroupName, serverName, options);\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.listByServerPagingPage(resourceGroupName, serverName, options, settings);\n },\n };\n }\n\n private async *listByServerPagingPage(\n resourceGroupName: string,\n serverName: string,\n options?: ServerThreatProtectionSettingsListByServerOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ServerThreatProtectionSettingsModel[]> {\n let result: ServerThreatProtectionSettingsListByServerResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByServer(resourceGroupName, serverName, options);\n const page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByServerNext(\n resourceGroupName,\n serverName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n const page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByServerPagingAll(\n resourceGroupName: string,\n serverName: string,\n options?: ServerThreatProtectionSettingsListByServerOptionalParams,\n ): AsyncIterableIterator<ServerThreatProtectionSettingsModel> {\n for await (const page of this.listByServerPagingPage(resourceGroupName, serverName, options)) {\n yield* page;\n }\n }\n\n /**\n * Get a list of server's Threat Protection state.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param options The options parameters.\n */\n private _listByServer(\n resourceGroupName: string,\n serverName: string,\n options?: ServerThreatProtectionSettingsListByServerOptionalParams,\n ): Promise<ServerThreatProtectionSettingsListByServerResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, options },\n listByServerOperationSpec,\n );\n }\n\n /**\n * Get a server's Advanced Threat Protection settings.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param threatProtectionName The name of the Threat Protection state.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n serverName: string,\n threatProtectionName: ThreatProtectionName,\n options?: ServerThreatProtectionSettingsGetOptionalParams,\n ): Promise<ServerThreatProtectionSettingsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, threatProtectionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Creates or updates a server's Advanced Threat Protection settings.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param threatProtectionName The name of the Threat Protection state.\n * @param parameters The Advanced Threat Protection state for the flexible server.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n serverName: string,\n threatProtectionName: ThreatProtectionName,\n parameters: ServerThreatProtectionSettingsModel,\n options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ServerThreatProtectionSettingsCreateOrUpdateResponse>,\n ServerThreatProtectionSettingsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ServerThreatProtectionSettingsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | 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 = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n serverName,\n threatProtectionName,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ServerThreatProtectionSettingsCreateOrUpdateResponse,\n OperationState<ServerThreatProtectionSettingsCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a server's Advanced Threat Protection settings.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param threatProtectionName The name of the Threat Protection state.\n * @param parameters The Advanced Threat Protection state for the flexible server.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n serverName: string,\n threatProtectionName: ThreatProtectionName,\n parameters: ServerThreatProtectionSettingsModel,\n options?: ServerThreatProtectionSettingsCreateOrUpdateOptionalParams,\n ): Promise<ServerThreatProtectionSettingsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n serverName,\n threatProtectionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListByServerNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param serverName The name of the server.\n * @param nextLink The nextLink from the previous successful call to the ListByServer method.\n * @param options The options parameters.\n */\n private _listByServerNext(\n resourceGroupName: string,\n serverName: string,\n nextLink: string,\n options?: ServerThreatProtectionSettingsListByServerNextOptionalParams,\n ): Promise<ServerThreatProtectionSettingsListByServerNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, serverName, nextLink, options },\n listByServerNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByServerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerThreatProtectionListResult,\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.serverName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\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.serverName,\n Parameters.threatProtectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{threatProtectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\n },\n 201: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\n },\n 202: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\n },\n 204: {\n bodyMapper: Mappers.ServerThreatProtectionSettingsModel,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.parameters14,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.threatProtectionName,\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer,\n};\nconst listByServerNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServerThreatProtectionListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.serverName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Servers } from "../operationsInterfaces/index.js";
|
|
3
|
-
import { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
|
|
4
|
-
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
-
import { Server, ServersListByResourceGroupOptionalParams, ServersListOptionalParams, ServersCreateOptionalParams, ServersCreateResponse, ServerForUpdate, ServersUpdateOptionalParams, ServersUpdateResponse, ServersDeleteOptionalParams, ServersGetOptionalParams, ServersGetResponse, ServersRestartOptionalParams, ServersStartOptionalParams, ServersStopOptionalParams } from "../models/index.js";
|
|
1
|
+
import type { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import type { Servers } from "../operationsInterfaces/index.js";
|
|
3
|
+
import type { PostgreSQLManagementFlexibleServerClient } from "../postgreSQLManagementFlexibleServerClient.js";
|
|
4
|
+
import type { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
import type { Server, ServersListByResourceGroupOptionalParams, ServersListOptionalParams, ServersCreateOptionalParams, ServersCreateResponse, ServerForUpdate, ServersUpdateOptionalParams, ServersUpdateResponse, ServersDeleteOptionalParams, ServersGetOptionalParams, ServersGetResponse, ServersRestartOptionalParams, ServersStartOptionalParams, ServersStopOptionalParams } from "../models/index.js";
|
|
6
6
|
/** Class containing Servers operations. */
|
|
7
7
|
export declare class ServersImpl implements Servers {
|
|
8
8
|
private readonly client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"servers.d.ts","sourceRoot":"","sources":["../../../src/operations/servers.ts"],"names":[],"mappings":"AA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AAE,MAAM,EAClB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAoDxD;;;;;OAKG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;OAKG;IACG,UAAU,CACd,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAoDxD;;;;;OAKG;IACG,iBAAiB,CACrB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;OAKG;IACG,SAAS,CACb,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,gBAAgB,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAoDxD;;;;;OAKG;IACG,gBAAgB,CACpB,iBAAiB,EAAE,MAAM,EACzB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,yBAAyB,GAClC,OAAO,CAAC,IAAI,CAAC;IAKhB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,SAAS;CAMlB"}
|
|
@@ -53,7 +53,7 @@ class ServersImpl {
|
|
|
53
53
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
54
54
|
if (!continuationToken) {
|
|
55
55
|
result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
56
|
-
|
|
56
|
+
const page = result.value || [];
|
|
57
57
|
continuationToken = result.nextLink;
|
|
58
58
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
59
59
|
yield yield tslib_1.__await(page);
|
|
@@ -61,7 +61,7 @@ class ServersImpl {
|
|
|
61
61
|
while (continuationToken) {
|
|
62
62
|
result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
63
63
|
continuationToken = result.nextLink;
|
|
64
|
-
|
|
64
|
+
const page = result.value || [];
|
|
65
65
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
66
66
|
yield yield tslib_1.__await(page);
|
|
67
67
|
}
|
|
@@ -114,7 +114,7 @@ class ServersImpl {
|
|
|
114
114
|
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
115
115
|
if (!continuationToken) {
|
|
116
116
|
result = yield tslib_1.__await(this._list(options));
|
|
117
|
-
|
|
117
|
+
const page = result.value || [];
|
|
118
118
|
continuationToken = result.nextLink;
|
|
119
119
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
120
120
|
yield yield tslib_1.__await(page);
|
|
@@ -122,7 +122,7 @@ class ServersImpl {
|
|
|
122
122
|
while (continuationToken) {
|
|
123
123
|
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
|
124
124
|
continuationToken = result.nextLink;
|
|
125
|
-
|
|
125
|
+
const page = result.value || [];
|
|
126
126
|
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
127
127
|
yield yield tslib_1.__await(page);
|
|
128
128
|
}
|
|
@@ -630,11 +630,7 @@ const listByResourceGroupOperationSpec = {
|
|
|
630
630
|
},
|
|
631
631
|
},
|
|
632
632
|
queryParameters: [Parameters.apiVersion],
|
|
633
|
-
urlParameters: [
|
|
634
|
-
Parameters.$host,
|
|
635
|
-
Parameters.subscriptionId,
|
|
636
|
-
Parameters.resourceGroupName,
|
|
637
|
-
],
|
|
633
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.resourceGroupName],
|
|
638
634
|
headerParameters: [Parameters.accept],
|
|
639
635
|
serializer,
|
|
640
636
|
};
|
|
@@ -753,11 +749,7 @@ const listNextOperationSpec = {
|
|
|
753
749
|
bodyMapper: Mappers.ErrorResponse,
|
|
754
750
|
},
|
|
755
751
|
},
|
|
756
|
-
urlParameters: [
|
|
757
|
-
Parameters.$host,
|
|
758
|
-
Parameters.subscriptionId,
|
|
759
|
-
Parameters.nextLink,
|
|
760
|
-
],
|
|
752
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId, Parameters.nextLink],
|
|
761
753
|
headerParameters: [Parameters.accept],
|
|
762
754
|
serializer,
|
|
763
755
|
};
|