@azure/arm-mariadb
Advanced tools
Comparing version 2.0.0 to 2.0.1-alpha.20220427.1
# Release History | ||
## 2.0.1 (2022-04-25) | ||
**Features** | ||
- Bug fix | ||
@@ -3,0 +9,0 @@ ## 2.0.0 (2022-01-19) |
@@ -10,2 +10,3 @@ /* | ||
import * as coreClient from "@azure/core-client"; | ||
import * as coreRestPipeline from "@azure/core-rest-pipeline"; | ||
import { LroEngine } from "@azure/core-lro"; | ||
@@ -24,2 +25,3 @@ import { LroImpl } from "./lroImpl"; | ||
constructor(credentials, subscriptionId, options) { | ||
var _a, _b; | ||
if (credentials === undefined) { | ||
@@ -39,3 +41,3 @@ throw new Error("'credentials' cannot be null"); | ||
}; | ||
const packageDetails = `azsdk-js-arm-mariadb/2.0.0`; | ||
const packageDetails = `azsdk-js-arm-mariadb/2.0.1`; | ||
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix | ||
@@ -49,4 +51,20 @@ ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` | ||
userAgentPrefix | ||
}, baseUri: options.endpoint || "https://management.azure.com" }); | ||
}, baseUri: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" }); | ||
super(optionsWithDefaults); | ||
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) { | ||
const pipelinePolicies = options.pipeline.getOrderedPolicies(); | ||
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === | ||
coreRestPipeline.bearerTokenAuthenticationPolicyName); | ||
if (!bearerTokenAuthenticationPolicyFound) { | ||
this.pipeline.removePolicy({ | ||
name: coreRestPipeline.bearerTokenAuthenticationPolicyName | ||
}); | ||
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({ | ||
scopes: `${optionsWithDefaults.baseUri}/.default`, | ||
challengeCallbacks: { | ||
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge | ||
} | ||
})); | ||
} | ||
} | ||
// Parameter assignments | ||
@@ -122,6 +140,8 @@ this.subscriptionId = subscriptionId; | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, advisorName, databaseName, options }, createRecommendedActionSessionOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -128,0 +148,0 @@ } |
@@ -101,6 +101,8 @@ /* | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, configurationName, parameters, options }, createOrUpdateOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -107,0 +109,0 @@ } |
@@ -101,6 +101,8 @@ /* | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, databaseName, parameters, options }, createOrUpdateOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -154,6 +156,8 @@ } | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, databaseName, options }, deleteOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -160,0 +164,0 @@ } |
@@ -101,6 +101,8 @@ /* | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, parameters, options }, createOrUpdateOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -154,6 +156,8 @@ } | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, firewallRuleName, options }, deleteOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -160,0 +164,0 @@ } |
@@ -123,6 +123,8 @@ /* | ||
}, createOrUpdateOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -176,6 +178,8 @@ } | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, privateEndpointConnectionName, options }, deleteOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -235,6 +239,8 @@ } | ||
}, updateTagsOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -241,0 +247,0 @@ } |
@@ -55,3 +55,3 @@ /* | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, value, options }, listUpdateConfigurationsOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
@@ -61,2 +61,4 @@ intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs, | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -63,0 +65,0 @@ } |
@@ -142,6 +142,8 @@ /* | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, parameters, options }, createOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -196,6 +198,8 @@ } | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, parameters, options }, updateOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -248,6 +252,8 @@ } | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, deleteOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -322,6 +328,8 @@ } | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, restartOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -372,6 +380,8 @@ } | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, startOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -422,6 +432,8 @@ } | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, options }, stopOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -428,0 +440,0 @@ } |
@@ -123,6 +123,8 @@ /* | ||
}, createOrUpdateOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -129,0 +131,0 @@ } |
@@ -123,6 +123,8 @@ /* | ||
}, createOrUpdateOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -176,6 +178,8 @@ } | ||
const lro = new LroImpl(sendOperation, { resourceGroupName, serverName, virtualNetworkRuleName, options }, deleteOperationSpec); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom, | ||
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs | ||
}); | ||
yield poller.poll(); | ||
return poller; | ||
}); | ||
@@ -182,0 +186,0 @@ } |
@@ -6,4 +6,6 @@ { | ||
"description": "A generated SDK for MariaDBManagementClient.", | ||
"version": "2.0.0", | ||
"engines": { "node": ">=12.0.0" }, | ||
"version": "2.0.1-alpha.20220427.1", | ||
"engines": { | ||
"node": ">=12.0.0" | ||
}, | ||
"dependencies": { | ||
@@ -13,8 +15,14 @@ "@azure/core-lro": "^2.2.0", | ||
"@azure/core-paging": "^1.2.0", | ||
"@azure/core-client": "^1.0.0", | ||
"@azure/core-client": "^1.5.0", | ||
"@azure/core-auth": "^1.3.0", | ||
"@azure/core-rest-pipeline": "^1.1.0", | ||
"@azure/core-rest-pipeline": "^1.8.0", | ||
"tslib": "^2.2.0" | ||
}, | ||
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"], | ||
"keywords": [ | ||
"node", | ||
"azure", | ||
"typescript", | ||
"browser", | ||
"isomorphic" | ||
], | ||
"license": "MIT", | ||
@@ -25,10 +33,10 @@ "main": "./dist/index.js", | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.18.11", | ||
"@rollup/plugin-commonjs": "11.0.2", | ||
"@rollup/plugin-json": "^4.0.0", | ||
"@rollup/plugin-multi-entry": "^3.0.0", | ||
"@rollup/plugin-node-resolve": "^8.0.0", | ||
"@microsoft/api-extractor": "7.18.11", | ||
"@rollup/plugin-commonjs": "^21.0.1", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-multi-entry": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^13.1.3", | ||
"mkdirp": "^1.0.4", | ||
"rollup": "^1.16.3", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"rollup": "^2.66.1", | ||
"rollup-plugin-sourcemaps": "^0.6.3", | ||
"typescript": "~4.2.0", | ||
@@ -47,3 +55,5 @@ "uglify-js": "^3.4.9", | ||
}, | ||
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, | ||
"bugs": { | ||
"url": "https://github.com/Azure/azure-sdk-for-js/issues" | ||
}, | ||
"files": [ | ||
@@ -97,3 +107,6 @@ "dist/**/*.js", | ||
"constantPaths": [ | ||
{ "path": "src/MariaDBManagementClient.ts", "prefix": "packageDetails" } | ||
{ | ||
"path": "src/mariaDBManagementClient.ts", | ||
"prefix": "packageDetails" | ||
} | ||
] | ||
@@ -104,3 +117,5 @@ }, | ||
"productName": "", | ||
"productSlugs": ["azure"], | ||
"productSlugs": [ | ||
"azure" | ||
], | ||
"disableDocsMs": true, | ||
@@ -107,0 +122,0 @@ "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-mariadb?view=azure-node-preview" |
@@ -19,2 +19,4 @@ # Azure MariaDBManagement client library for JavaScript | ||
See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUPPORT.md) for more details. | ||
### Prerequisites | ||
@@ -53,4 +55,13 @@ | ||
const { DefaultAzureCredential } = require("@azure/identity"); | ||
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details. | ||
const subscriptionId = "00000000-0000-0000-0000-000000000000"; | ||
const client = new MariaDBManagementClient(new DefaultAzureCredential(), subscriptionId); | ||
// For client-side applications running in the browser, use this code instead: | ||
// const credential = new InteractiveBrowserCredential({ | ||
// tenantId: "<YOUR_TENANT_ID>", | ||
// clientId: "<YOUR_CLIENT_ID>" | ||
// }); | ||
// const client = new MariaDBManagementClient(credential, subscriptionId); | ||
``` | ||
@@ -57,0 +68,0 @@ |
@@ -17,58 +17,10 @@ /* | ||
/** | ||
* Gets the proper configuration needed for rollup's commonJS plugin for @opentelemetry/api. | ||
* | ||
* NOTE: this manual configuration is only needed because OpenTelemetry uses an | ||
* __exportStar downleveled helper function to declare its exports which confuses | ||
* rollup's automatic discovery mechanism. | ||
* | ||
* @returns an object reference that can be `...`'d into your cjs() configuration. | ||
*/ | ||
export function openTelemetryCommonJs() { | ||
const namedExports = {}; | ||
for (const key of [ | ||
"@opentelemetry/api", | ||
"@azure/core-tracing/node_modules/@opentelemetry/api" | ||
]) { | ||
namedExports[key] = [ | ||
"SpanKind", | ||
"TraceFlags", | ||
"getSpan", | ||
"setSpan", | ||
"SpanStatusCode", | ||
"getSpanContext", | ||
"setSpanContext" | ||
]; | ||
} | ||
const releasedOpenTelemetryVersions = ["0.10.2", "1.0.0-rc.0"]; | ||
for (const version of releasedOpenTelemetryVersions) { | ||
namedExports[ | ||
// working around a limitation in the rollup common.js plugin - it's not able to resolve these modules so the named exports listed above will not get applied. We have to drill down to the actual path. | ||
`../../../common/temp/node_modules/.pnpm/@opentelemetry/api@${version}/node_modules/@opentelemetry/api/build/src/index.js` | ||
] = [ | ||
"SpanKind", | ||
"TraceFlags", | ||
"getSpan", | ||
"setSpan", | ||
"StatusCode", | ||
"CanonicalCode", | ||
"getSpanContext", | ||
"setSpanContext" | ||
]; | ||
} | ||
return namedExports; | ||
} | ||
// #region Warning Handler | ||
/** | ||
* A function that can determine whether a rollupwarning should be ignored. If | ||
* A function that can determine whether a rollup warning should be ignored. If | ||
* the function returns `true`, then the warning will not be displayed. | ||
*/ | ||
function ignoreNiseSinonEvalWarnings(warning) { | ||
function ignoreNiseSinonEval(warning) { | ||
return ( | ||
@@ -82,3 +34,3 @@ warning.code === "EVAL" && | ||
function ignoreChaiCircularDependencyWarnings(warning) { | ||
function ignoreChaiCircularDependency(warning) { | ||
return ( | ||
@@ -90,6 +42,3 @@ warning.code === "CIRCULAR_DEPENDENCY" && | ||
const warningInhibitors = [ | ||
ignoreChaiCircularDependencyWarnings, | ||
ignoreNiseSinonEvalWarnings | ||
]; | ||
const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval]; | ||
@@ -128,18 +77,3 @@ /** | ||
}), | ||
cjs({ | ||
namedExports: { | ||
// Chai's strange internal architecture makes it impossible to statically | ||
// analyze its exports. | ||
chai: [ | ||
"version", | ||
"use", | ||
"util", | ||
"config", | ||
"expect", | ||
"should", | ||
"assert" | ||
], | ||
...openTelemetryCommonJs() | ||
} | ||
}), | ||
cjs(), | ||
json(), | ||
@@ -180,3 +114,3 @@ sourcemaps() | ||
preserveSymlinks: false, | ||
plugins: [sourcemaps(), nodeResolve(), cjs()] | ||
plugins: [sourcemaps(), nodeResolve()] | ||
}; | ||
@@ -183,0 +117,0 @@ |
@@ -10,2 +10,3 @@ /* | ||
import * as coreClient from "@azure/core-client"; | ||
import * as coreRestPipeline from "@azure/core-rest-pipeline"; | ||
import * as coreAuth from "@azure/core-auth"; | ||
@@ -104,3 +105,3 @@ import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro"; | ||
const packageDetails = `azsdk-js-arm-mariadb/2.0.0`; | ||
const packageDetails = `azsdk-js-arm-mariadb/2.0.1`; | ||
const userAgentPrefix = | ||
@@ -120,5 +121,29 @@ options.userAgentOptions && options.userAgentOptions.userAgentPrefix | ||
}, | ||
baseUri: options.endpoint || "https://management.azure.com" | ||
baseUri: | ||
options.endpoint ?? options.baseUri ?? "https://management.azure.com" | ||
}; | ||
super(optionsWithDefaults); | ||
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) { | ||
const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies(); | ||
const bearerTokenAuthenticationPolicyFound = pipelinePolicies.some( | ||
(pipelinePolicy) => | ||
pipelinePolicy.name === | ||
coreRestPipeline.bearerTokenAuthenticationPolicyName | ||
); | ||
if (!bearerTokenAuthenticationPolicyFound) { | ||
this.pipeline.removePolicy({ | ||
name: coreRestPipeline.bearerTokenAuthenticationPolicyName | ||
}); | ||
this.pipeline.addPolicy( | ||
coreRestPipeline.bearerTokenAuthenticationPolicy({ | ||
scopes: `${optionsWithDefaults.baseUri}/.default`, | ||
challengeCallbacks: { | ||
authorizeRequestOnChallenge: | ||
coreClient.authorizeRequestOnClaimChallenge | ||
} | ||
}) | ||
); | ||
} | ||
} | ||
// Parameter assignments | ||
@@ -238,6 +263,8 @@ this.subscriptionId = subscriptionId; | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -244,0 +271,0 @@ |
@@ -164,6 +164,8 @@ /* | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -170,0 +172,0 @@ |
@@ -165,6 +165,8 @@ /* | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -254,6 +256,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -260,0 +264,0 @@ |
@@ -165,6 +165,8 @@ /* | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -254,6 +256,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -260,0 +264,0 @@ |
@@ -207,6 +207,8 @@ /* | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -296,6 +298,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -395,6 +399,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -401,0 +407,0 @@ |
@@ -96,3 +96,3 @@ /* | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
@@ -102,2 +102,4 @@ intervalInMs: options?.updateIntervalInMs, | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -104,0 +106,0 @@ |
@@ -189,6 +189,8 @@ /* | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -279,6 +281,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -364,6 +368,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -487,6 +493,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -568,6 +576,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -649,6 +659,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -655,0 +667,0 @@ |
@@ -204,6 +204,8 @@ /* | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -210,0 +212,0 @@ |
@@ -203,6 +203,8 @@ /* | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -292,6 +294,8 @@ | ||
); | ||
return new LroEngine(lro, { | ||
const poller = new LroEngine(lro, { | ||
resumeFrom: options?.resumeFrom, | ||
intervalInMs: options?.updateIntervalInMs | ||
}); | ||
await poller.poll(); | ||
return poller; | ||
} | ||
@@ -298,0 +302,0 @@ |
@@ -12,10 +12,23 @@ { | ||
"forceConsistentCasingInFileNames": true, | ||
"lib": ["es6", "dom"], | ||
"lib": [ | ||
"es6", | ||
"dom" | ||
], | ||
"declaration": true, | ||
"outDir": "./dist-esm", | ||
"importHelpers": true, | ||
"paths": { "@azure/arm-mariadb": ["./src/index"] } | ||
"paths": { | ||
"@azure/arm-mariadb": [ | ||
"./src/index" | ||
] | ||
} | ||
}, | ||
"include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"], | ||
"exclude": ["node_modules"] | ||
} | ||
"include": [ | ||
"./src/**/*.ts", | ||
"./test/**/*.ts", | ||
"samples-dev/**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
] | ||
} |
@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard. | ||
"packageName": "@microsoft/api-extractor", | ||
"packageVersion": "7.19.4" | ||
"packageVersion": "7.18.11" | ||
} | ||
] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2496587
739
35926
110
0
2