@azure/arm-postgresql 6.1.1 → 6.1.2-alpha.20250929.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Release History
2
2
 
3
- ## 6.1.1 (Unreleased)
3
+ ## 6.1.2 (Unreleased)
4
4
 
5
5
  ### Features Added
6
6
 
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### Other Changes
12
12
 
13
+ ## 6.1.1 (2025-08-22)
14
+
15
+ ### Other Changes
16
+
17
+ - Other fixes
18
+
13
19
  ## 6.1.0 (2022-12-02)
14
20
 
15
21
  ### Features Added
@@ -32,7 +32,7 @@ export class PostgreSQLManagementClient extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials
34
34
  };
35
- const packageDetails = `azsdk-js-arm-postgresql/6.1.1`;
35
+ const packageDetails = `azsdk-js-arm-postgresql/6.1.2`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"postgreSQLManagementClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,8BAA8B,EAC9B,gCAAgC,EAChC,yBAAyB,EACzB,cAAc,EACd,+BAA+B,EAC/B,8BAA8B,EAC9B,wBAAwB,EACxB,cAAc,EACf,MAAM,uBAAuB,CAAC;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AU,CAAa;CACxB","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ServersImpl,\n ReplicasImpl,\n FirewallRulesImpl,\n VirtualNetworkRulesImpl,\n DatabasesImpl,\n ConfigurationsImpl,\n ServerParametersImpl,\n LogFilesImpl,\n ServerAdministratorsImpl,\n RecoverableServersImpl,\n ServerBasedPerformanceTierImpl,\n LocationBasedPerformanceTierImpl,\n CheckNameAvailabilityImpl,\n OperationsImpl,\n ServerSecurityAlertPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ServerKeysImpl\n} from \"./operations/index.js\";\nimport {\n Servers,\n Replicas,\n FirewallRules,\n VirtualNetworkRules,\n Databases,\n Configurations,\n ServerParameters,\n LogFiles,\n ServerAdministrators,\n RecoverableServers,\n ServerBasedPerformanceTier,\n LocationBasedPerformanceTier,\n CheckNameAvailability,\n Operations,\n ServerSecurityAlertPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ServerKeys\n} from \"./operationsInterfaces/index.js\";\nimport { PostgreSQLManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PostgreSQLManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PostgreSQLManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PostgreSQLManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PostgreSQLManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-postgresql/6.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.virtualNetworkRules = new VirtualNetworkRulesImpl(this);\n this.databases = new DatabasesImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.serverParameters = new ServerParametersImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.serverAdministrators = new ServerAdministratorsImpl(this);\n this.recoverableServers = new RecoverableServersImpl(this);\n this.serverBasedPerformanceTier = new ServerBasedPerformanceTierImpl(this);\n this.locationBasedPerformanceTier = new LocationBasedPerformanceTierImpl(\n this\n );\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.operations = new OperationsImpl(this);\n this.serverSecurityAlertPolicies = new ServerSecurityAlertPoliciesImpl(\n this\n );\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.serverKeys = new ServerKeysImpl(this);\n }\n\n servers: Servers;\n replicas: Replicas;\n firewallRules: FirewallRules;\n virtualNetworkRules: VirtualNetworkRules;\n databases: Databases;\n configurations: Configurations;\n serverParameters: ServerParameters;\n logFiles: LogFiles;\n serverAdministrators: ServerAdministrators;\n recoverableServers: RecoverableServers;\n serverBasedPerformanceTier: ServerBasedPerformanceTier;\n locationBasedPerformanceTier: LocationBasedPerformanceTier;\n checkNameAvailability: CheckNameAvailability;\n operations: Operations;\n serverSecurityAlertPolicies: ServerSecurityAlertPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n serverKeys: ServerKeys;\n}\n"]}
1
+ {"version":3,"file":"postgreSQLManagementClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,8BAA8B,EAC9B,gCAAgC,EAChC,yBAAyB,EACzB,cAAc,EACd,+BAA+B,EAC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A2B,CAA8B;IACzD,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,UAAU,CAAa;CACxB","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ServersImpl,\n ReplicasImpl,\n FirewallRulesImpl,\n VirtualNetworkRulesImpl,\n DatabasesImpl,\n ConfigurationsImpl,\n ServerParametersImpl,\n LogFilesImpl,\n ServerAdministratorsImpl,\n RecoverableServersImpl,\n ServerBasedPerformanceTierImpl,\n LocationBasedPerformanceTierImpl,\n CheckNameAvailabilityImpl,\n OperationsImpl,\n ServerSecurityAlertPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ServerKeysImpl\n} from \"./operations/index.js\";\nimport {\n Servers,\n Replicas,\n FirewallRules,\n VirtualNetworkRules,\n Databases,\n Configurations,\n ServerParameters,\n LogFiles,\n ServerAdministrators,\n RecoverableServers,\n ServerBasedPerformanceTier,\n LocationBasedPerformanceTier,\n CheckNameAvailability,\n Operations,\n ServerSecurityAlertPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ServerKeys\n} from \"./operationsInterfaces/index.js\";\nimport { PostgreSQLManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PostgreSQLManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PostgreSQLManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PostgreSQLManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PostgreSQLManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-postgresql/6.1.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.virtualNetworkRules = new VirtualNetworkRulesImpl(this);\n this.databases = new DatabasesImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.serverParameters = new ServerParametersImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.serverAdministrators = new ServerAdministratorsImpl(this);\n this.recoverableServers = new RecoverableServersImpl(this);\n this.serverBasedPerformanceTier = new ServerBasedPerformanceTierImpl(this);\n this.locationBasedPerformanceTier = new LocationBasedPerformanceTierImpl(\n this\n );\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.operations = new OperationsImpl(this);\n this.serverSecurityAlertPolicies = new ServerSecurityAlertPoliciesImpl(\n this\n );\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.serverKeys = new ServerKeysImpl(this);\n }\n\n servers: Servers;\n replicas: Replicas;\n firewallRules: FirewallRules;\n virtualNetworkRules: VirtualNetworkRules;\n databases: Databases;\n configurations: Configurations;\n serverParameters: ServerParameters;\n logFiles: LogFiles;\n serverAdministrators: ServerAdministrators;\n recoverableServers: RecoverableServers;\n serverBasedPerformanceTier: ServerBasedPerformanceTier;\n locationBasedPerformanceTier: LocationBasedPerformanceTier;\n checkNameAvailability: CheckNameAvailability;\n operations: Operations;\n serverSecurityAlertPolicies: ServerSecurityAlertPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n serverKeys: ServerKeys;\n}\n"]}
@@ -36,7 +36,7 @@ class PostgreSQLManagementClient extends coreClient.ServiceClient {
36
36
  requestContentType: "application/json; charset=utf-8",
37
37
  credential: credentials
38
38
  };
39
- const packageDetails = `azsdk-js-arm-postgresql/6.1.1`;
39
+ const packageDetails = `azsdk-js-arm-postgresql/6.1.2`;
40
40
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
41
41
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
42
42
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"postgreSQLManagement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4B,CAA+B;IAC3D,qBAAqB,CAAwB;IAC7C,UAAU,CAAa;IACvB,2BAA2B,CAA8B;IACzD,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,UAAU,CAAa;CACxB;AA9HD,gEA8HC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ServersImpl,\n ReplicasImpl,\n FirewallRulesImpl,\n VirtualNetworkRulesImpl,\n DatabasesImpl,\n ConfigurationsImpl,\n ServerParametersImpl,\n LogFilesImpl,\n ServerAdministratorsImpl,\n RecoverableServersImpl,\n ServerBasedPerformanceTierImpl,\n LocationBasedPerformanceTierImpl,\n CheckNameAvailabilityImpl,\n OperationsImpl,\n ServerSecurityAlertPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ServerKeysImpl\n} from \"./operations/index.js\";\nimport {\n Servers,\n Replicas,\n FirewallRules,\n VirtualNetworkRules,\n Databases,\n Configurations,\n ServerParameters,\n LogFiles,\n ServerAdministrators,\n RecoverableServers,\n ServerBasedPerformanceTier,\n LocationBasedPerformanceTier,\n CheckNameAvailability,\n Operations,\n ServerSecurityAlertPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ServerKeys\n} from \"./operationsInterfaces/index.js\";\nimport { PostgreSQLManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PostgreSQLManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PostgreSQLManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PostgreSQLManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PostgreSQLManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-postgresql/6.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.virtualNetworkRules = new VirtualNetworkRulesImpl(this);\n this.databases = new DatabasesImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.serverParameters = new ServerParametersImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.serverAdministrators = new ServerAdministratorsImpl(this);\n this.recoverableServers = new RecoverableServersImpl(this);\n this.serverBasedPerformanceTier = new ServerBasedPerformanceTierImpl(this);\n this.locationBasedPerformanceTier = new LocationBasedPerformanceTierImpl(\n this\n );\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.operations = new OperationsImpl(this);\n this.serverSecurityAlertPolicies = new ServerSecurityAlertPoliciesImpl(\n this\n );\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.serverKeys = new ServerKeysImpl(this);\n }\n\n servers: Servers;\n replicas: Replicas;\n firewallRules: FirewallRules;\n virtualNetworkRules: VirtualNetworkRules;\n databases: Databases;\n configurations: Configurations;\n serverParameters: ServerParameters;\n logFiles: LogFiles;\n serverAdministrators: ServerAdministrators;\n recoverableServers: RecoverableServers;\n serverBasedPerformanceTier: ServerBasedPerformanceTier;\n locationBasedPerformanceTier: LocationBasedPerformanceTier;\n checkNameAvailability: CheckNameAvailability;\n operations: Operations;\n serverSecurityAlertPolicies: ServerSecurityAlertPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n serverKeys: ServerKeys;\n}\n"]}
1
+ {"version":3,"file":"postgreSQLManagementClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAE9D,oDAmB+B;AAuB/B,MAAa,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,CAAS;IACd,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC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Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ServersImpl,\n ReplicasImpl,\n FirewallRulesImpl,\n VirtualNetworkRulesImpl,\n DatabasesImpl,\n ConfigurationsImpl,\n ServerParametersImpl,\n LogFilesImpl,\n ServerAdministratorsImpl,\n RecoverableServersImpl,\n ServerBasedPerformanceTierImpl,\n LocationBasedPerformanceTierImpl,\n CheckNameAvailabilityImpl,\n OperationsImpl,\n ServerSecurityAlertPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ServerKeysImpl\n} from \"./operations/index.js\";\nimport {\n Servers,\n Replicas,\n FirewallRules,\n VirtualNetworkRules,\n Databases,\n Configurations,\n ServerParameters,\n LogFiles,\n ServerAdministrators,\n RecoverableServers,\n ServerBasedPerformanceTier,\n LocationBasedPerformanceTier,\n CheckNameAvailability,\n Operations,\n ServerSecurityAlertPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ServerKeys\n} from \"./operationsInterfaces/index.js\";\nimport { PostgreSQLManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PostgreSQLManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PostgreSQLManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PostgreSQLManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PostgreSQLManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-postgresql/6.1.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.virtualNetworkRules = new VirtualNetworkRulesImpl(this);\n this.databases = new DatabasesImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.serverParameters = new ServerParametersImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.serverAdministrators = new ServerAdministratorsImpl(this);\n this.recoverableServers = new RecoverableServersImpl(this);\n this.serverBasedPerformanceTier = new ServerBasedPerformanceTierImpl(this);\n this.locationBasedPerformanceTier = new LocationBasedPerformanceTierImpl(\n this\n );\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.operations = new OperationsImpl(this);\n this.serverSecurityAlertPolicies = new ServerSecurityAlertPoliciesImpl(\n this\n );\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.serverKeys = new ServerKeysImpl(this);\n }\n\n servers: Servers;\n replicas: Replicas;\n firewallRules: FirewallRules;\n virtualNetworkRules: VirtualNetworkRules;\n databases: Databases;\n configurations: Configurations;\n serverParameters: ServerParameters;\n logFiles: LogFiles;\n serverAdministrators: ServerAdministrators;\n recoverableServers: RecoverableServers;\n serverBasedPerformanceTier: ServerBasedPerformanceTier;\n locationBasedPerformanceTier: LocationBasedPerformanceTier;\n checkNameAvailability: CheckNameAvailability;\n operations: Operations;\n serverSecurityAlertPolicies: ServerSecurityAlertPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n serverKeys: ServerKeys;\n}\n"]}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.52.10"
8
+ "packageVersion": "7.52.13"
9
9
  }
10
10
  ]
11
11
  }
@@ -32,7 +32,7 @@ export class PostgreSQLManagementClient extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials
34
34
  };
35
- const packageDetails = `azsdk-js-arm-postgresql/6.1.1`;
35
+ const packageDetails = `azsdk-js-arm-postgresql/6.1.2`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"postgreSQLManagementClient.js","sourceRoot":"","sources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I,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED,OAAO,CAAU;IACjB,QAAQ,CAAW;IACnB,aAAa,CAAgB;IAC7B,mBAAmB,CAAsB;IACzC,SAAS,CAAY;IACrB,cAAc,CAAiB;IAC/B,gBAAgB,CAAmB;IACnC,QAAQ,CAAW;IACnB,oBAAoB,CAAuB;IAC3C,kBAAkB,CAAqB;IACvC,0BAA0B,CAA6B;IACvD,4BAA4B,CAA+B;IAC3D,qBAAqB,CAAwB;IAC7C,UAAU,CAAa;IACvB,2BAA2B,CAA8B;IACzD,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,UAAU,CAAa;CACxB","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ServersImpl,\n ReplicasImpl,\n FirewallRulesImpl,\n VirtualNetworkRulesImpl,\n DatabasesImpl,\n ConfigurationsImpl,\n ServerParametersImpl,\n LogFilesImpl,\n ServerAdministratorsImpl,\n RecoverableServersImpl,\n ServerBasedPerformanceTierImpl,\n LocationBasedPerformanceTierImpl,\n CheckNameAvailabilityImpl,\n OperationsImpl,\n ServerSecurityAlertPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ServerKeysImpl\n} from \"./operations/index.js\";\nimport {\n Servers,\n Replicas,\n FirewallRules,\n VirtualNetworkRules,\n Databases,\n Configurations,\n ServerParameters,\n LogFiles,\n ServerAdministrators,\n RecoverableServers,\n ServerBasedPerformanceTier,\n LocationBasedPerformanceTier,\n CheckNameAvailability,\n Operations,\n ServerSecurityAlertPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ServerKeys\n} from \"./operationsInterfaces/index.js\";\nimport { PostgreSQLManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PostgreSQLManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PostgreSQLManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PostgreSQLManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PostgreSQLManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-postgresql/6.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.virtualNetworkRules = new VirtualNetworkRulesImpl(this);\n this.databases = new DatabasesImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.serverParameters = new ServerParametersImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.serverAdministrators = new ServerAdministratorsImpl(this);\n this.recoverableServers = new RecoverableServersImpl(this);\n this.serverBasedPerformanceTier = new ServerBasedPerformanceTierImpl(this);\n this.locationBasedPerformanceTier = new LocationBasedPerformanceTierImpl(\n this\n );\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.operations = new OperationsImpl(this);\n this.serverSecurityAlertPolicies = new ServerSecurityAlertPoliciesImpl(\n this\n );\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.serverKeys = new ServerKeysImpl(this);\n }\n\n servers: Servers;\n replicas: Replicas;\n firewallRules: FirewallRules;\n virtualNetworkRules: VirtualNetworkRules;\n databases: Databases;\n configurations: Configurations;\n serverParameters: ServerParameters;\n logFiles: LogFiles;\n serverAdministrators: ServerAdministrators;\n recoverableServers: RecoverableServers;\n serverBasedPerformanceTier: ServerBasedPerformanceTier;\n locationBasedPerformanceTier: LocationBasedPerformanceTier;\n checkNameAvailability: CheckNameAvailability;\n operations: Operations;\n serverSecurityAlertPolicies: ServerSecurityAlertPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n serverKeys: ServerKeys;\n}\n"]}
1
+ {"version":3,"file":"postgreSQLManagementClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,8BAA8B,EAC9B,gCAAgC,EAChC,yBAAyB,EACzB,cAAc,EACd,+BAA+B,EAC/B,8BAA8B,EAC9B,wBAAwB,EACxB,cAAc,EACf,MAAM,uBAAuB,CAAC;AAuB/B,MAAM,OAAO,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,CAAS;IACd,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAkD;QAElD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA6C;YACzD,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,+BAA+B,CAAC;QACvD,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE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,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED,OAAO,CAAU;IACjB,QAAQ,CAAW;IACnB,aAAa,CAAgB;IAC7B,mBAAmB,CAAsB;IACzC,SAAS,CAAY;IACrB,cAAc,CAAiB;IAC/B,gBAAgB,CAAmB;IACnC,QAAQ,CAAW;IACnB,oBAAoB,CAAuB;IAC3C,kBAAkB,CAAqB;IACvC,0BAA0B,CAA6B;IACvD,4BAA4B,CAA+B;IAC3D,qBAAqB,CAAwB;IAC7C,UAAU,CAAa;IACvB,2BAA2B,CAA8B;IACzD,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,UAAU,CAAa;CACxB","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ServersImpl,\n ReplicasImpl,\n FirewallRulesImpl,\n VirtualNetworkRulesImpl,\n DatabasesImpl,\n ConfigurationsImpl,\n ServerParametersImpl,\n LogFilesImpl,\n ServerAdministratorsImpl,\n RecoverableServersImpl,\n ServerBasedPerformanceTierImpl,\n LocationBasedPerformanceTierImpl,\n CheckNameAvailabilityImpl,\n OperationsImpl,\n ServerSecurityAlertPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ServerKeysImpl\n} from \"./operations/index.js\";\nimport {\n Servers,\n Replicas,\n FirewallRules,\n VirtualNetworkRules,\n Databases,\n Configurations,\n ServerParameters,\n LogFiles,\n ServerAdministrators,\n RecoverableServers,\n ServerBasedPerformanceTier,\n LocationBasedPerformanceTier,\n CheckNameAvailability,\n Operations,\n ServerSecurityAlertPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ServerKeys\n} from \"./operationsInterfaces/index.js\";\nimport { PostgreSQLManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PostgreSQLManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PostgreSQLManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PostgreSQLManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PostgreSQLManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-postgresql/6.1.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.virtualNetworkRules = new VirtualNetworkRulesImpl(this);\n this.databases = new DatabasesImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.serverParameters = new ServerParametersImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.serverAdministrators = new ServerAdministratorsImpl(this);\n this.recoverableServers = new RecoverableServersImpl(this);\n this.serverBasedPerformanceTier = new ServerBasedPerformanceTierImpl(this);\n this.locationBasedPerformanceTier = new LocationBasedPerformanceTierImpl(\n this\n );\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.operations = new OperationsImpl(this);\n this.serverSecurityAlertPolicies = new ServerSecurityAlertPoliciesImpl(\n this\n );\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.serverKeys = new ServerKeysImpl(this);\n }\n\n servers: Servers;\n replicas: Replicas;\n firewallRules: FirewallRules;\n virtualNetworkRules: VirtualNetworkRules;\n databases: Databases;\n configurations: Configurations;\n serverParameters: ServerParameters;\n logFiles: LogFiles;\n serverAdministrators: ServerAdministrators;\n recoverableServers: RecoverableServers;\n serverBasedPerformanceTier: ServerBasedPerformanceTier;\n locationBasedPerformanceTier: LocationBasedPerformanceTier;\n checkNameAvailability: CheckNameAvailability;\n operations: Operations;\n serverSecurityAlertPolicies: ServerSecurityAlertPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n serverKeys: ServerKeys;\n}\n"]}
@@ -32,7 +32,7 @@ export class PostgreSQLManagementClient extends coreClient.ServiceClient {
32
32
  requestContentType: "application/json; charset=utf-8",
33
33
  credential: credentials
34
34
  };
35
- const packageDetails = `azsdk-js-arm-postgresql/6.1.1`;
35
+ const packageDetails = `azsdk-js-arm-postgresql/6.1.2`;
36
36
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
37
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
38
  : `${packageDetails}`;
@@ -1 +1 @@
1
- {"version":3,"file":"postgreSQLManagementClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,8BAA8B,EAC9B,gCAAgC,EAChC,yBAAyB,EACzB,cAAc,EACd,+BAA+B,EAC/B,8BAA8B,EAC9B,wBAAwB,EACxB,cAAc,EACf,MAAM,uBAAuB,CAAC;AAuB/B,MAAM,OAAO,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,CAAS;IACd,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAkD;QAElD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;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AC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,4BAA4B,GAAG,IAAI,gCAAgC,CACtE,IAAI,CACL,CAAC;QACF,IAAI,CAAC,qBAAqB,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,2BAA2B,GAAG,IAAI,+BAA+B,CACpE,IAAI,CACL,CAAC;QACF,IAAI,CAAC,0BAA0B,GAAG,IAAI,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED,OAAO,CAAU;IACjB,QAAQ,CAAW;IACnB,aAAa,CAAgB;IAC7B,mBAAmB,CAAsB;IACzC,SAAS,CAAY;IACrB,cAAc,CAAiB;IAC/B,gBAAgB,CAAmB;IACnC,QAAQ,CAAW;IACnB,oBAAoB,CAAuB;IAC3C,kBAAkB,CAAqB;IACvC,0BAA0B,CAA6B;IACvD,4BAA4B,CAA+B;IAC3D,qBAAqB,CAAwB;IAC7C,UAAU,CAAa;IACvB,2BAA2B,CAA8B;IACzD,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,UAAU,CAAa;CACxB","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ServersImpl,\n ReplicasImpl,\n FirewallRulesImpl,\n VirtualNetworkRulesImpl,\n DatabasesImpl,\n ConfigurationsImpl,\n ServerParametersImpl,\n LogFilesImpl,\n ServerAdministratorsImpl,\n RecoverableServersImpl,\n ServerBasedPerformanceTierImpl,\n LocationBasedPerformanceTierImpl,\n CheckNameAvailabilityImpl,\n OperationsImpl,\n ServerSecurityAlertPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ServerKeysImpl\n} from \"./operations/index.js\";\nimport {\n Servers,\n Replicas,\n FirewallRules,\n VirtualNetworkRules,\n Databases,\n Configurations,\n ServerParameters,\n LogFiles,\n ServerAdministrators,\n RecoverableServers,\n ServerBasedPerformanceTier,\n LocationBasedPerformanceTier,\n CheckNameAvailability,\n Operations,\n ServerSecurityAlertPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ServerKeys\n} from \"./operationsInterfaces/index.js\";\nimport { PostgreSQLManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PostgreSQLManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PostgreSQLManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PostgreSQLManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PostgreSQLManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-postgresql/6.1.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.virtualNetworkRules = new VirtualNetworkRulesImpl(this);\n this.databases = new DatabasesImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.serverParameters = new ServerParametersImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.serverAdministrators = new ServerAdministratorsImpl(this);\n this.recoverableServers = new RecoverableServersImpl(this);\n this.serverBasedPerformanceTier = new ServerBasedPerformanceTierImpl(this);\n this.locationBasedPerformanceTier = new LocationBasedPerformanceTierImpl(\n this\n );\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.operations = new OperationsImpl(this);\n this.serverSecurityAlertPolicies = new ServerSecurityAlertPoliciesImpl(\n this\n );\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.serverKeys = new ServerKeysImpl(this);\n }\n\n servers: Servers;\n replicas: Replicas;\n firewallRules: FirewallRules;\n virtualNetworkRules: VirtualNetworkRules;\n databases: Databases;\n configurations: Configurations;\n serverParameters: ServerParameters;\n logFiles: LogFiles;\n serverAdministrators: ServerAdministrators;\n recoverableServers: RecoverableServers;\n serverBasedPerformanceTier: ServerBasedPerformanceTier;\n locationBasedPerformanceTier: LocationBasedPerformanceTier;\n checkNameAvailability: CheckNameAvailability;\n operations: Operations;\n serverSecurityAlertPolicies: ServerSecurityAlertPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n serverKeys: ServerKeys;\n}\n"]}
1
+ {"version":3,"file":"postgreSQLManagementClient.js","sourceRoot":"","sources":["../../src/postgreSQLManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAE9D,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,8BAA8B,EAC9B,gCAAgC,EAChC,yBAAyB,EACzB,cAAc,EACd,+BAA+B,EAC/B,8BAA8B,EAC9B,wBAAwB,EACxB,cAAc,EACf,MAAM,uBAAuB,CAAC;AAuB/B,MAAM,OAAO,0BAA2B,SAAQ,UAAU,CAAC,aAAa;IACtE,KAAK,CAAS;IACd,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAkD;QAElD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAA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I,CAAC,CAAC;QAC3D,IAAI,CAAC,0BAA0B,GAAG,IAAI,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,4BAA4B,GAAG,IAAI,gCAAgC,CACtE,IAAI,CACL,CAAC;QACF,IAAI,CAAC,qBAAqB,GAAG,IAAI,yBAAyB,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,CAAC,2BAA2B,GAAG,IAAI,+BAA+B,CACpE,IAAI,CACL,CAAC;QACF,IAAI,CAAC,0BAA0B,GAAG,IAAI,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC3E,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,UAAU,GAAG,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED,OAAO,CAAU;IACjB,QAAQ,CAAW;IACnB,aAAa,CAAgB;IAC7B,mBAAmB,CAAsB;IACzC,SAAS,CAAY;IACrB,cAAc,CAAiB;IAC/B,gBAAgB,CAAmB;IACnC,QAAQ,CAAW;IACnB,oBAAoB,CAAuB;IAC3C,kBAAkB,CAAqB;IACvC,0BAA0B,CAA6B;IACvD,4BAA4B,CAA+B;IAC3D,qBAAqB,CAAwB;IAC7C,UAAU,CAAa;IACvB,2BAA2B,CAA8B;IACzD,0BAA0B,CAA6B;IACvD,oBAAoB,CAAuB;IAC3C,UAAU,CAAa;CACxB","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ServersImpl,\n ReplicasImpl,\n FirewallRulesImpl,\n VirtualNetworkRulesImpl,\n DatabasesImpl,\n ConfigurationsImpl,\n ServerParametersImpl,\n LogFilesImpl,\n ServerAdministratorsImpl,\n RecoverableServersImpl,\n ServerBasedPerformanceTierImpl,\n LocationBasedPerformanceTierImpl,\n CheckNameAvailabilityImpl,\n OperationsImpl,\n ServerSecurityAlertPoliciesImpl,\n PrivateEndpointConnectionsImpl,\n PrivateLinkResourcesImpl,\n ServerKeysImpl\n} from \"./operations/index.js\";\nimport {\n Servers,\n Replicas,\n FirewallRules,\n VirtualNetworkRules,\n Databases,\n Configurations,\n ServerParameters,\n LogFiles,\n ServerAdministrators,\n RecoverableServers,\n ServerBasedPerformanceTier,\n LocationBasedPerformanceTier,\n CheckNameAvailability,\n Operations,\n ServerSecurityAlertPolicies,\n PrivateEndpointConnections,\n PrivateLinkResources,\n ServerKeys\n} from \"./operationsInterfaces/index.js\";\nimport { PostgreSQLManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class PostgreSQLManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the PostgreSQLManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: PostgreSQLManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: PostgreSQLManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-postgresql/6.1.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.servers = new ServersImpl(this);\n this.replicas = new ReplicasImpl(this);\n this.firewallRules = new FirewallRulesImpl(this);\n this.virtualNetworkRules = new VirtualNetworkRulesImpl(this);\n this.databases = new DatabasesImpl(this);\n this.configurations = new ConfigurationsImpl(this);\n this.serverParameters = new ServerParametersImpl(this);\n this.logFiles = new LogFilesImpl(this);\n this.serverAdministrators = new ServerAdministratorsImpl(this);\n this.recoverableServers = new RecoverableServersImpl(this);\n this.serverBasedPerformanceTier = new ServerBasedPerformanceTierImpl(this);\n this.locationBasedPerformanceTier = new LocationBasedPerformanceTierImpl(\n this\n );\n this.checkNameAvailability = new CheckNameAvailabilityImpl(this);\n this.operations = new OperationsImpl(this);\n this.serverSecurityAlertPolicies = new ServerSecurityAlertPoliciesImpl(\n this\n );\n this.privateEndpointConnections = new PrivateEndpointConnectionsImpl(this);\n this.privateLinkResources = new PrivateLinkResourcesImpl(this);\n this.serverKeys = new ServerKeysImpl(this);\n }\n\n servers: Servers;\n replicas: Replicas;\n firewallRules: FirewallRules;\n virtualNetworkRules: VirtualNetworkRules;\n databases: Databases;\n configurations: Configurations;\n serverParameters: ServerParameters;\n logFiles: LogFiles;\n serverAdministrators: ServerAdministrators;\n recoverableServers: RecoverableServers;\n serverBasedPerformanceTier: ServerBasedPerformanceTier;\n locationBasedPerformanceTier: LocationBasedPerformanceTier;\n checkNameAvailability: CheckNameAvailability;\n operations: Operations;\n serverSecurityAlertPolicies: ServerSecurityAlertPolicies;\n privateEndpointConnections: PrivateEndpointConnections;\n privateLinkResources: PrivateLinkResources;\n serverKeys: ServerKeys;\n}\n"]}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for PostgreSQLManagementClient.",
6
- "version": "6.1.1",
6
+ "version": "6.1.2-alpha.20250929.1",
7
7
  "engines": {
8
8
  "node": ">=20.0.0"
9
9
  },
@@ -37,9 +37,9 @@
37
37
  "playwright": "^1.50.1",
38
38
  "typescript": "~5.8.3",
39
39
  "vitest": "^3.2.3",
40
- "@azure-tools/test-credential": "^2.1.1",
41
- "@azure-tools/test-recorder": "^4.1.0",
42
- "@azure-tools/test-utils-vitest": "^1.0.0",
40
+ "@azure-tools/test-credential": "^2.1.2",
41
+ "@azure-tools/test-recorder": "^4.1.1",
42
+ "@azure-tools/test-utils-vitest": "^2.0.1",
43
43
  "@azure/dev-tool": "^1.0.0"
44
44
  },
45
45
  "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/postgresql/arm-postgresql",
@@ -124,8 +124,7 @@
124
124
  "pack": "pnpm pack 2>&1",
125
125
  "test": "npm run test:node && npm run test:browser",
126
126
  "test:browser": "echo skipped",
127
- "test:node": "dev-tool run test:vitest",
128
- "test:node:esm": "dev-tool run test:vitest --esm",
127
+ "test:node": "dev-tool run build-test --no-browser-test && dev-tool run test:vitest",
129
128
  "update-snippets": "dev-tool run update-snippets"
130
129
  }
131
130
  }