@azure/arm-databoundaries 1.0.0-beta.2 → 1.0.0-beta.3
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/LICENSE +1 -1
- package/README.md +9 -12
- package/dist/browser/api/dataBoundaries/index.d.ts +3 -0
- package/dist/browser/api/dataBoundaries/index.js +4 -0
- package/dist/browser/api/dataBoundaries/index.js.map +1 -0
- package/dist/browser/api/dataBoundaries/operations.d.ts +17 -0
- package/dist/browser/api/dataBoundaries/operations.js +87 -0
- package/dist/browser/api/dataBoundaries/operations.js.map +1 -0
- package/dist/browser/api/dataBoundaries/options.d.ts +11 -0
- package/dist/browser/api/dataBoundaries/options.js +4 -0
- package/dist/browser/api/dataBoundaries/options.js.map +1 -0
- package/dist/browser/api/databoundariesManegementContext.d.ts +20 -0
- package/dist/browser/api/databoundariesManegementContext.js +26 -0
- package/dist/browser/api/databoundariesManegementContext.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +31 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/classic/dataBoundaries/index.d.ts +14 -0
- package/dist/browser/classic/dataBoundaries/index.js +16 -0
- package/dist/browser/classic/dataBoundaries/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +3 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/databoundariesManegementClient.d.ts +16 -16
- package/dist/browser/databoundariesManegementClient.js +24 -94
- package/dist/browser/databoundariesManegementClient.js.map +1 -1
- package/dist/browser/index.d.ts +12 -2
- package/dist/browser/index.js +6 -9
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +2 -212
- package/dist/browser/models/index.js +3 -53
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +236 -0
- package/dist/browser/models/models.js +198 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/dataBoundaries/index.d.ts +3 -0
- package/dist/commonjs/api/dataBoundaries/index.js +32 -0
- package/dist/commonjs/api/dataBoundaries/index.js.map +7 -0
- package/dist/commonjs/api/dataBoundaries/operations.d.ts +17 -0
- package/dist/commonjs/api/dataBoundaries/operations.js +136 -0
- package/dist/commonjs/api/dataBoundaries/operations.js.map +7 -0
- package/dist/commonjs/api/dataBoundaries/options.d.ts +11 -0
- package/dist/commonjs/api/dataBoundaries/options.js +16 -0
- package/dist/commonjs/api/dataBoundaries/options.js.map +7 -0
- package/dist/commonjs/api/databoundariesManegementContext.d.ts +20 -0
- package/dist/commonjs/api/databoundariesManegementContext.js +47 -0
- package/dist/commonjs/api/databoundariesManegementContext.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +68 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/classic/dataBoundaries/index.d.ts +14 -0
- package/dist/commonjs/classic/dataBoundaries/index.js +40 -0
- package/dist/commonjs/classic/dataBoundaries/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +3 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/databoundariesManegementClient.d.ts +16 -16
- package/dist/commonjs/databoundariesManegementClient.js +50 -103
- package/dist/commonjs/databoundariesManegementClient.js.map +7 -1
- package/dist/commonjs/index.d.ts +12 -2
- package/dist/commonjs/index.js +51 -16
- package/dist/commonjs/index.js.map +7 -1
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +2 -212
- package/dist/commonjs/models/index.js +40 -57
- package/dist/commonjs/models/index.js.map +7 -1
- package/dist/commonjs/models/models.d.ts +236 -0
- package/dist/commonjs/models/models.js +229 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/api/dataBoundaries/index.d.ts +3 -0
- package/dist/esm/api/dataBoundaries/index.js +4 -0
- package/dist/esm/api/dataBoundaries/index.js.map +1 -0
- package/dist/esm/api/dataBoundaries/operations.d.ts +17 -0
- package/dist/esm/api/dataBoundaries/operations.js +87 -0
- package/dist/esm/api/dataBoundaries/operations.js.map +1 -0
- package/dist/esm/api/dataBoundaries/options.d.ts +11 -0
- package/dist/esm/api/dataBoundaries/options.js +4 -0
- package/dist/esm/api/dataBoundaries/options.js.map +1 -0
- package/dist/esm/api/databoundariesManegementContext.d.ts +20 -0
- package/dist/esm/api/databoundariesManegementContext.js +26 -0
- package/dist/esm/api/databoundariesManegementContext.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +31 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/classic/dataBoundaries/index.d.ts +14 -0
- package/dist/esm/classic/dataBoundaries/index.js +16 -0
- package/dist/esm/classic/dataBoundaries/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +3 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/databoundariesManegementClient.d.ts +16 -16
- package/dist/esm/databoundariesManegementClient.js +24 -94
- package/dist/esm/databoundariesManegementClient.js.map +1 -1
- package/dist/esm/index.d.ts +12 -2
- package/dist/esm/index.js +6 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +2 -212
- package/dist/esm/models/index.js +3 -53
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +236 -0
- package/dist/esm/models/models.js +198 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +144 -91
- package/CHANGELOG.md +0 -17
- package/dist/browser/databoundariesManegementClient.d.ts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/browser/models/index.d.ts.map +0 -1
- package/dist/browser/models/mappers.d.ts +0 -10
- package/dist/browser/models/mappers.d.ts.map +0 -1
- package/dist/browser/models/mappers.js +0 -227
- package/dist/browser/models/mappers.js.map +0 -1
- package/dist/browser/models/parameters.d.ts +0 -9
- package/dist/browser/models/parameters.d.ts.map +0 -1
- package/dist/browser/models/parameters.js +0 -81
- package/dist/browser/models/parameters.js.map +0 -1
- package/dist/browser/operations/dataBoundaries.d.ts +0 -33
- package/dist/browser/operations/dataBoundaries.d.ts.map +0 -1
- package/dist/browser/operations/dataBoundaries.js +0 -103
- package/dist/browser/operations/dataBoundaries.js.map +0 -1
- package/dist/browser/operations/index.d.ts +0 -2
- package/dist/browser/operations/index.d.ts.map +0 -1
- package/dist/browser/operations/index.js +0 -9
- package/dist/browser/operations/index.js.map +0 -1
- package/dist/browser/operationsInterfaces/dataBoundaries.d.ts +0 -25
- package/dist/browser/operationsInterfaces/dataBoundaries.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/dataBoundaries.js +0 -9
- package/dist/browser/operationsInterfaces/dataBoundaries.js.map +0 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -2
- package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/index.js +0 -9
- package/dist/browser/operationsInterfaces/index.js.map +0 -1
- package/dist/commonjs/databoundariesManegementClient.d.ts.map +0 -1
- package/dist/commonjs/index.d.ts.map +0 -1
- package/dist/commonjs/models/index.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.d.ts +0 -10
- package/dist/commonjs/models/mappers.d.ts.map +0 -1
- package/dist/commonjs/models/mappers.js +0 -230
- package/dist/commonjs/models/mappers.js.map +0 -1
- package/dist/commonjs/models/parameters.d.ts +0 -9
- package/dist/commonjs/models/parameters.d.ts.map +0 -1
- package/dist/commonjs/models/parameters.js +0 -84
- package/dist/commonjs/models/parameters.js.map +0 -1
- package/dist/commonjs/operations/dataBoundaries.d.ts +0 -33
- package/dist/commonjs/operations/dataBoundaries.d.ts.map +0 -1
- package/dist/commonjs/operations/dataBoundaries.js +0 -108
- package/dist/commonjs/operations/dataBoundaries.js.map +0 -1
- package/dist/commonjs/operations/index.d.ts +0 -2
- package/dist/commonjs/operations/index.d.ts.map +0 -1
- package/dist/commonjs/operations/index.js +0 -12
- package/dist/commonjs/operations/index.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/dataBoundaries.d.ts +0 -25
- package/dist/commonjs/operationsInterfaces/dataBoundaries.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/dataBoundaries.js +0 -10
- package/dist/commonjs/operationsInterfaces/dataBoundaries.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -2
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -12
- package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
- package/dist/esm/databoundariesManegementClient.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/mappers.d.ts +0 -10
- package/dist/esm/models/mappers.d.ts.map +0 -1
- package/dist/esm/models/mappers.js +0 -227
- package/dist/esm/models/mappers.js.map +0 -1
- package/dist/esm/models/parameters.d.ts +0 -9
- package/dist/esm/models/parameters.d.ts.map +0 -1
- package/dist/esm/models/parameters.js +0 -81
- package/dist/esm/models/parameters.js.map +0 -1
- package/dist/esm/operations/dataBoundaries.d.ts +0 -33
- package/dist/esm/operations/dataBoundaries.d.ts.map +0 -1
- package/dist/esm/operations/dataBoundaries.js +0 -103
- package/dist/esm/operations/dataBoundaries.js.map +0 -1
- package/dist/esm/operations/index.d.ts +0 -2
- package/dist/esm/operations/index.d.ts.map +0 -1
- package/dist/esm/operations/index.js +0 -9
- package/dist/esm/operations/index.js.map +0 -1
- package/dist/esm/operationsInterfaces/dataBoundaries.d.ts +0 -25
- package/dist/esm/operationsInterfaces/dataBoundaries.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/dataBoundaries.js +0 -9
- package/dist/esm/operationsInterfaces/dataBoundaries.js.map +0 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -2
- package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/index.js +0 -9
- package/dist/esm/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/databoundariesManegementClient.d.ts +0 -18
- package/dist/react-native/databoundariesManegementClient.d.ts.map +0 -1
- package/dist/react-native/databoundariesManegementClient.js +0 -99
- package/dist/react-native/databoundariesManegementClient.js.map +0 -1
- package/dist/react-native/index.d.ts +0 -4
- package/dist/react-native/index.d.ts.map +0 -1
- package/dist/react-native/index.js +0 -11
- package/dist/react-native/index.js.map +0 -1
- package/dist/react-native/models/index.d.ts +0 -213
- package/dist/react-native/models/index.d.ts.map +0 -1
- package/dist/react-native/models/index.js +0 -54
- package/dist/react-native/models/index.js.map +0 -1
- package/dist/react-native/models/mappers.d.ts +0 -10
- package/dist/react-native/models/mappers.d.ts.map +0 -1
- package/dist/react-native/models/mappers.js +0 -227
- package/dist/react-native/models/mappers.js.map +0 -1
- package/dist/react-native/models/parameters.d.ts +0 -9
- package/dist/react-native/models/parameters.d.ts.map +0 -1
- package/dist/react-native/models/parameters.js +0 -81
- package/dist/react-native/models/parameters.js.map +0 -1
- package/dist/react-native/operations/dataBoundaries.d.ts +0 -33
- package/dist/react-native/operations/dataBoundaries.d.ts.map +0 -1
- package/dist/react-native/operations/dataBoundaries.js +0 -103
- package/dist/react-native/operations/dataBoundaries.js.map +0 -1
- package/dist/react-native/operations/index.d.ts +0 -2
- package/dist/react-native/operations/index.d.ts.map +0 -1
- package/dist/react-native/operations/index.js +0 -9
- package/dist/react-native/operations/index.js.map +0 -1
- package/dist/react-native/operationsInterfaces/dataBoundaries.d.ts +0 -25
- package/dist/react-native/operationsInterfaces/dataBoundaries.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/dataBoundaries.js +0 -9
- package/dist/react-native/operationsInterfaces/dataBoundaries.js.map +0 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -2
- package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -9
- package/dist/react-native/operationsInterfaces/index.js.map +0 -1
- package/dist/react-native/package.json +0 -3
- package/review/arm-databoundaries-node.api.md +0 -154
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
var options_exports = {};
|
|
15
|
+
module.exports = __toCommonJS(options_exports);
|
|
16
|
+
//# sourceMappingURL=options.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/dataBoundaries/options.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface DataBoundariesPutOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface DataBoundariesGetTenantOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface DataBoundariesGetScopeOptionalParams extends OperationOptions {}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AzureSupportedClouds } from "../static-helpers/cloudSettingHelpers.js";
|
|
2
|
+
import { Client, ClientOptions } from "@azure-rest/core-client";
|
|
3
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
4
|
+
/** Provides APIs for data boundary operations. */
|
|
5
|
+
export interface DataboundariesManegementContext extends Client {
|
|
6
|
+
/** The API version to use for this operation. */
|
|
7
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
8
|
+
apiVersion?: string;
|
|
9
|
+
}
|
|
10
|
+
/** Optional parameters for the client. */
|
|
11
|
+
export interface DataboundariesManegementClientOptionalParams extends ClientOptions {
|
|
12
|
+
/** The API version to use for this operation. */
|
|
13
|
+
/** Known values of {@link KnownVersions} that the service accepts. */
|
|
14
|
+
apiVersion?: string;
|
|
15
|
+
/** Specifies the Azure cloud environment for the client. */
|
|
16
|
+
cloudSetting?: AzureSupportedClouds;
|
|
17
|
+
}
|
|
18
|
+
/** Provides APIs for data boundary operations. */
|
|
19
|
+
export declare function createDataboundariesManegement(credential: TokenCredential, options?: DataboundariesManegementClientOptionalParams): DataboundariesManegementContext;
|
|
20
|
+
//# sourceMappingURL=databoundariesManegementContext.d.ts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var databoundariesManegementContext_exports = {};
|
|
19
|
+
__export(databoundariesManegementContext_exports, {
|
|
20
|
+
createDataboundariesManegement: () => createDataboundariesManegement
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(databoundariesManegementContext_exports);
|
|
23
|
+
var import_logger = require("../logger.js");
|
|
24
|
+
var import_cloudSettingHelpers = require("../static-helpers/cloudSettingHelpers.js");
|
|
25
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
26
|
+
function createDataboundariesManegement(credential, options = {}) {
|
|
27
|
+
const endpointUrl = options.endpoint ?? (0, import_cloudSettingHelpers.getArmEndpoint)(options.cloudSetting) ?? "https://management.azure.com";
|
|
28
|
+
const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
|
|
29
|
+
const userAgentInfo = `azsdk-js-arm-databoundaries/1.0.0-beta.3`;
|
|
30
|
+
const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}` : `azsdk-js-api ${userAgentInfo}`;
|
|
31
|
+
const { apiVersion: _, ...updatedOptions } = {
|
|
32
|
+
...options,
|
|
33
|
+
userAgentOptions: { userAgentPrefix },
|
|
34
|
+
loggingOptions: { logger: options.loggingOptions?.logger ?? import_logger.logger.info },
|
|
35
|
+
credentials: {
|
|
36
|
+
scopes: options.credentials?.scopes ?? ["https://management.azure.com/.default"]
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
const clientContext = (0, import_core_client.getClient)(endpointUrl, credential, updatedOptions);
|
|
40
|
+
const apiVersion = options.apiVersion;
|
|
41
|
+
return { ...clientContext, apiVersion };
|
|
42
|
+
}
|
|
43
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
+
0 && (module.exports = {
|
|
45
|
+
createDataboundariesManegement
|
|
46
|
+
});
|
|
47
|
+
//# sourceMappingURL=databoundariesManegementContext.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/api/databoundariesManegementContext.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { AzureSupportedClouds, getArmEndpoint } from \"../static-helpers/cloudSettingHelpers.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\n/** Provides APIs for data boundary operations. */\nexport interface DataboundariesManegementContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\n/** Optional parameters for the client. */\nexport interface DataboundariesManegementClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n /** Specifies the Azure cloud environment for the client. */\n cloudSetting?: AzureSupportedClouds;\n}\n\n/** Provides APIs for data boundary operations. */\nexport function createDataboundariesManegement(\n credential: TokenCredential,\n options: DataboundariesManegementClientOptionalParams = {},\n): DataboundariesManegementContext {\n const endpointUrl =\n options.endpoint ?? getArmEndpoint(options.cloudSetting) ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-databoundaries/1.0.0-beta.3`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://management.azure.com/.default\"],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n const apiVersion = options.apiVersion;\n return { ...clientContext, apiVersion } as DataboundariesManegementContext;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AAEvB,iCAAqD;AACrD,yBAAiD;AAoB1C,SAAS,+BACd,YACA,UAAwD,CAAC,GACxB;AACjC,QAAM,cACJ,QAAQ,gBAAY,2CAAe,QAAQ,YAAY,KAAK;AAC9D,QAAM,oBAAoB,SAAS,kBAAkB;AACrD,QAAM,gBAAgB;AACtB,QAAM,kBAAkB,oBACpB,GAAG,iBAAiB,iBAAiB,aAAa,KAClD,gBAAgB,aAAa;AACjC,QAAM,EAAE,YAAY,GAAG,GAAG,eAAe,IAAI;AAAA,IAC3C,GAAG;AAAA,IACH,kBAAkB,EAAE,gBAAgB;AAAA,IACpC,gBAAgB,EAAE,QAAQ,QAAQ,gBAAgB,UAAU,qBAAO,KAAK;AAAA,IACxE,aAAa;AAAA,MACX,QAAQ,QAAQ,aAAa,UAAU,CAAC,uCAAuC;AAAA,IACjF;AAAA,EACF;AACA,QAAM,oBAAgB,8BAAU,aAAa,YAAY,cAAc;AACvE,QAAM,aAAa,QAAQ;AAC3B,SAAO,EAAE,GAAG,eAAe,WAAW;AACxC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var api_exports = {};
|
|
19
|
+
__export(api_exports, {
|
|
20
|
+
createDataboundariesManegement: () => import_databoundariesManegementContext.createDataboundariesManegement
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(api_exports);
|
|
23
|
+
var import_databoundariesManegementContext = require("./databoundariesManegementContext.js");
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
createDataboundariesManegement
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/api/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type {\n DataboundariesManegementContext,\n DataboundariesManegementClientOptionalParams,\n} from \"./databoundariesManegementContext.js\";\nexport { createDataboundariesManegement } from \"./databoundariesManegementContext.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,6CAA+C;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var operations_exports = {};
|
|
19
|
+
__export(operations_exports, {
|
|
20
|
+
list: () => import_operations.list
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(operations_exports);
|
|
23
|
+
var import_operations = require("./operations.js");
|
|
24
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
25
|
+
0 && (module.exports = {
|
|
26
|
+
list
|
|
27
|
+
});
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/operations/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list } from \"./operations.js\";\nexport type { OperationsListOptionalParams } from \"./options.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,wBAAqB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataboundariesManegementContext as Client } from "../index.js";
|
|
2
|
+
import { _OperationListResult, Operation } from "../../models/models.js";
|
|
3
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
4
|
+
import { OperationsListOptionalParams } from "./options.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
export declare function _listSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
|
|
7
|
+
export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
|
|
8
|
+
/** List the operations for the provider */
|
|
9
|
+
export declare function list(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var operations_exports = {};
|
|
19
|
+
__export(operations_exports, {
|
|
20
|
+
_listDeserialize: () => _listDeserialize,
|
|
21
|
+
_listSend: () => _listSend,
|
|
22
|
+
list: () => list
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(operations_exports);
|
|
25
|
+
var import_models = require("../../models/models.js");
|
|
26
|
+
var import_pagingHelpers = require("../../static-helpers/pagingHelpers.js");
|
|
27
|
+
var import_urlTemplate = require("../../static-helpers/urlTemplate.js");
|
|
28
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
29
|
+
function _listSend(context, options = { requestOptions: {} }) {
|
|
30
|
+
const path = (0, import_urlTemplate.expandUrlTemplate)(
|
|
31
|
+
"/providers/Microsoft.Resources/operations{?api%2Dversion}",
|
|
32
|
+
{
|
|
33
|
+
"api%2Dversion": context.apiVersion ?? "2024-08-01"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
allowReserved: options?.requestOptions?.skipUrlEncoding
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
return context.path(path).get({
|
|
40
|
+
...(0, import_core_client.operationOptionsToRequestParameters)(options),
|
|
41
|
+
headers: { accept: "application/json", ...options.requestOptions?.headers }
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
async function _listDeserialize(result) {
|
|
45
|
+
const expectedStatuses = ["200"];
|
|
46
|
+
if (!expectedStatuses.includes(result.status)) {
|
|
47
|
+
const error = (0, import_core_client.createRestError)(result);
|
|
48
|
+
error.details = (0, import_models.errorResponseDeserializer)(result.body);
|
|
49
|
+
throw error;
|
|
50
|
+
}
|
|
51
|
+
return (0, import_models._operationListResultDeserializer)(result.body);
|
|
52
|
+
}
|
|
53
|
+
function list(context, options = { requestOptions: {} }) {
|
|
54
|
+
return (0, import_pagingHelpers.buildPagedAsyncIterator)(
|
|
55
|
+
context,
|
|
56
|
+
() => _listSend(context, options),
|
|
57
|
+
_listDeserialize,
|
|
58
|
+
["200"],
|
|
59
|
+
{ itemName: "value", nextLinkName: "nextLink", apiVersion: context.apiVersion ?? "2024-08-01" }
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
+
0 && (module.exports = {
|
|
64
|
+
_listDeserialize,
|
|
65
|
+
_listSend,
|
|
66
|
+
list
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=operations.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/operations/operations.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DataboundariesManegementContext as Client } from \"../index.js\";\nimport {\n _OperationListResult,\n _operationListResultDeserializer,\n Operation,\n errorResponseDeserializer,\n} from \"../../models/models.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport { OperationsListOptionalParams } from \"./options.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.Resources/operations{?api%2Dversion}\",\n {\n \"api%2Dversion\": context.apiVersion ?? \"2024-08-01\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n\n throw error;\n }\n\n return _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\", apiVersion: context.apiVersion ?? \"2024-08-01\" },\n );\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,oBAKO;AACP,2BAGO;AACP,yBAAkC;AAElC,yBAKO;AAEA,SAAS,UACd,SACA,UAAwC,EAAE,gBAAgB,CAAC,EAAE,GAC3C;AAClB,QAAM,WAAO;AAAA,IACX;AAAA,IACA;AAAA,MACE,iBAAiB,QAAQ,cAAc;AAAA,IACzC;AAAA,IACA;AAAA,MACE,eAAe,SAAS,gBAAgB;AAAA,IAC1C;AAAA,EACF;AACA,SAAO,QAAQ,KAAK,IAAI,EAAE,IAAI;AAAA,IAC5B,OAAG,wDAAoC,OAAO;AAAA,IAC9C,SAAS,EAAE,QAAQ,oBAAoB,GAAG,QAAQ,gBAAgB,QAAQ;AAAA,EAC5E,CAAC;AACH;AAEA,eAAsB,iBACpB,QAC+B;AAC/B,QAAM,mBAAmB,CAAC,KAAK;AAC/B,MAAI,CAAC,iBAAiB,SAAS,OAAO,MAAM,GAAG;AAC7C,UAAM,YAAQ,oCAAgB,MAAM;AACpC,UAAM,cAAU,yCAA0B,OAAO,IAAI;AAErD,UAAM;AAAA,EACR;AAEA,aAAO,gDAAiC,OAAO,IAAI;AACrD;AAGO,SAAS,KACd,SACA,UAAwC,EAAE,gBAAgB,CAAC,EAAE,GACtB;AACvC,aAAO;AAAA,IACL;AAAA,IACA,MAAM,UAAU,SAAS,OAAO;AAAA,IAChC;AAAA,IACA,CAAC,KAAK;AAAA,IACN,EAAE,UAAU,SAAS,cAAc,YAAY,YAAY,QAAQ,cAAc,aAAa;AAAA,EAChG;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
var options_exports = {};
|
|
15
|
+
module.exports = __toCommonJS(options_exports);
|
|
16
|
+
//# sourceMappingURL=options.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/api/operations/options.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams extends OperationOptions {}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DataboundariesManegementContext } from "../../api/databoundariesManegementContext.js";
|
|
2
|
+
import { DataBoundariesPutOptionalParams, DataBoundariesGetTenantOptionalParams, DataBoundariesGetScopeOptionalParams } from "../../api/dataBoundaries/options.js";
|
|
3
|
+
import { DataBoundaryDefinition, DefaultName } from "../../models/models.js";
|
|
4
|
+
/** Interface representing a DataBoundaries operations. */
|
|
5
|
+
export interface DataBoundariesOperations {
|
|
6
|
+
/** Opt-in tenant to data boundary. */
|
|
7
|
+
put: (defaultParam: DefaultName, dataBoundaryDefinition: DataBoundaryDefinition, options?: DataBoundariesPutOptionalParams) => Promise<DataBoundaryDefinition>;
|
|
8
|
+
/** Get data boundary of tenant. */
|
|
9
|
+
getTenant: (defaultParam: DefaultName, options?: DataBoundariesGetTenantOptionalParams) => Promise<DataBoundaryDefinition>;
|
|
10
|
+
/** Get data boundary at specified scope */
|
|
11
|
+
getScope: (scope: string, defaultParam: DefaultName, options?: DataBoundariesGetScopeOptionalParams) => Promise<DataBoundaryDefinition>;
|
|
12
|
+
}
|
|
13
|
+
export declare function _getDataBoundariesOperations(context: DataboundariesManegementContext): DataBoundariesOperations;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var dataBoundaries_exports = {};
|
|
19
|
+
__export(dataBoundaries_exports, {
|
|
20
|
+
_getDataBoundariesOperations: () => _getDataBoundariesOperations
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(dataBoundaries_exports);
|
|
23
|
+
var import_operations = require("../../api/dataBoundaries/operations.js");
|
|
24
|
+
function _getDataBoundaries(context) {
|
|
25
|
+
return {
|
|
26
|
+
put: (defaultParam, dataBoundaryDefinition, options) => (0, import_operations.put)(context, defaultParam, dataBoundaryDefinition, options),
|
|
27
|
+
getTenant: (defaultParam, options) => (0, import_operations.getTenant)(context, defaultParam, options),
|
|
28
|
+
getScope: (scope, defaultParam, options) => (0, import_operations.getScope)(context, scope, defaultParam, options)
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function _getDataBoundariesOperations(context) {
|
|
32
|
+
return {
|
|
33
|
+
..._getDataBoundaries(context)
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
+
0 && (module.exports = {
|
|
38
|
+
_getDataBoundariesOperations
|
|
39
|
+
});
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/classic/dataBoundaries/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DataboundariesManegementContext } from \"../../api/databoundariesManegementContext.js\";\nimport { put, getTenant, getScope } from \"../../api/dataBoundaries/operations.js\";\nimport {\n DataBoundariesPutOptionalParams,\n DataBoundariesGetTenantOptionalParams,\n DataBoundariesGetScopeOptionalParams,\n} from \"../../api/dataBoundaries/options.js\";\nimport { DataBoundaryDefinition, DefaultName } from \"../../models/models.js\";\n\n/** Interface representing a DataBoundaries operations. */\nexport interface DataBoundariesOperations {\n /** Opt-in tenant to data boundary. */\n put: (\n defaultParam: DefaultName,\n dataBoundaryDefinition: DataBoundaryDefinition,\n options?: DataBoundariesPutOptionalParams,\n ) => Promise<DataBoundaryDefinition>;\n /** Get data boundary of tenant. */\n getTenant: (\n defaultParam: DefaultName,\n options?: DataBoundariesGetTenantOptionalParams,\n ) => Promise<DataBoundaryDefinition>;\n /** Get data boundary at specified scope */\n getScope: (\n scope: string,\n defaultParam: DefaultName,\n options?: DataBoundariesGetScopeOptionalParams,\n ) => Promise<DataBoundaryDefinition>;\n}\n\nfunction _getDataBoundaries(context: DataboundariesManegementContext) {\n return {\n put: (\n defaultParam: DefaultName,\n dataBoundaryDefinition: DataBoundaryDefinition,\n options?: DataBoundariesPutOptionalParams,\n ) => put(context, defaultParam, dataBoundaryDefinition, options),\n getTenant: (defaultParam: DefaultName, options?: DataBoundariesGetTenantOptionalParams) =>\n getTenant(context, defaultParam, options),\n getScope: (\n scope: string,\n defaultParam: DefaultName,\n options?: DataBoundariesGetScopeOptionalParams,\n ) => getScope(context, scope, defaultParam, options),\n };\n}\n\nexport function _getDataBoundariesOperations(\n context: DataboundariesManegementContext,\n): DataBoundariesOperations {\n return {\n ..._getDataBoundaries(context),\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAAyC;AA6BzC,SAAS,mBAAmB,SAA0C;AACpE,SAAO;AAAA,IACL,KAAK,CACH,cACA,wBACA,gBACG,uBAAI,SAAS,cAAc,wBAAwB,OAAO;AAAA,IAC/D,WAAW,CAAC,cAA2B,gBACrC,6BAAU,SAAS,cAAc,OAAO;AAAA,IAC1C,UAAU,CACR,OACA,cACA,gBACG,4BAAS,SAAS,OAAO,cAAc,OAAO;AAAA,EACrD;AACF;AAEO,SAAS,6BACd,SAC0B;AAC1B,SAAO;AAAA,IACL,GAAG,mBAAmB,OAAO;AAAA,EAC/B;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
+
var classic_exports = {};
|
|
15
|
+
module.exports = __toCommonJS(classic_exports);
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/classic/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type { DataBoundariesOperations } from \"./dataBoundaries/index.js\";\nexport type { OperationsOperations } from \"./operations/index.js\";\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DataboundariesManegementContext } from "../../api/databoundariesManegementContext.js";
|
|
2
|
+
import { OperationsListOptionalParams } from "../../api/operations/options.js";
|
|
3
|
+
import { Operation } from "../../models/models.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
/** Interface representing a Operations operations. */
|
|
6
|
+
export interface OperationsOperations {
|
|
7
|
+
/** List the operations for the provider */
|
|
8
|
+
list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;
|
|
9
|
+
}
|
|
10
|
+
export declare function _getOperationsOperations(context: DataboundariesManegementContext): OperationsOperations;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var operations_exports = {};
|
|
19
|
+
__export(operations_exports, {
|
|
20
|
+
_getOperationsOperations: () => _getOperationsOperations
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(operations_exports);
|
|
23
|
+
var import_operations = require("../../api/operations/operations.js");
|
|
24
|
+
function _getOperations(context) {
|
|
25
|
+
return {
|
|
26
|
+
list: (options) => (0, import_operations.list)(context, options)
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function _getOperationsOperations(context) {
|
|
30
|
+
return {
|
|
31
|
+
..._getOperations(context)
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
35
|
+
0 && (module.exports = {
|
|
36
|
+
_getOperationsOperations
|
|
37
|
+
});
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/classic/operations/index.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { DataboundariesManegementContext } from \"../../api/databoundariesManegementContext.js\";\nimport { list } from \"../../api/operations/operations.js\";\nimport { OperationsListOptionalParams } from \"../../api/operations/options.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nfunction _getOperations(context: DataboundariesManegementContext) {\n return {\n list: (options?: OperationsListOptionalParams) => list(context, options),\n };\n}\n\nexport function _getOperationsOperations(\n context: DataboundariesManegementContext,\n): OperationsOperations {\n return {\n ..._getOperations(context),\n };\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAAqB;AAWrB,SAAS,eAAe,SAA0C;AAChE,SAAO;AAAA,IACL,MAAM,CAAC,gBAA2C,wBAAK,SAAS,OAAO;AAAA,EACzE;AACF;AAEO,SAAS,yBACd,SACsB;AACtB,SAAO;AAAA,IACL,GAAG,eAAe,OAAO;AAAA,EAC3B;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { DataboundariesManegementClientOptionalParams } from "./api/index.js";
|
|
2
|
+
import { DataBoundariesOperations } from "./classic/dataBoundaries/index.js";
|
|
3
|
+
import { OperationsOperations } from "./classic/operations/index.js";
|
|
4
|
+
import { TokenCredential } from "@azure/core-auth";
|
|
5
|
+
import { Pipeline } from "@azure/core-rest-pipeline";
|
|
6
|
+
export type { DataboundariesManegementClientOptionalParams } from "./api/databoundariesManegementContext.js";
|
|
7
|
+
export declare class DataboundariesManegementClient {
|
|
8
|
+
private _client;
|
|
9
|
+
/** The pipeline used by this client to make requests */
|
|
10
|
+
readonly pipeline: Pipeline;
|
|
11
|
+
/** Provides APIs for data boundary operations. */
|
|
12
|
+
constructor(credential: TokenCredential, options?: DataboundariesManegementClientOptionalParams);
|
|
13
|
+
/** The operation groups for dataBoundaries */
|
|
14
|
+
readonly dataBoundaries: DataBoundariesOperations;
|
|
15
|
+
/** The operation groups for operations */
|
|
16
|
+
readonly operations: OperationsOperations;
|
|
17
17
|
}
|
|
18
18
|
//# sourceMappingURL=databoundariesManegementClient.d.ts.map
|