@azure/arm-powerbiembedded 2.0.3-alpha.20250217.1 → 2.0.3-alpha.20250219.2
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/README.md +21 -15
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js +25 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/dist/browser/operations/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +2 -2
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaceCollections.d.ts +3 -3
- package/dist/browser/operations/workspaceCollections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaceCollections.js +36 -40
- package/dist/browser/operations/workspaceCollections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaces.d.ts +3 -3
- package/dist/browser/operations/workspaces.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/workspaces.js +2 -2
- package/dist/browser/operations/workspaces.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaceCollections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/workspaceCollections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workspaceCollections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.d.ts +1 -1
- package/dist/browser/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/powerBIEmbeddedManagementClient.d.ts +2 -2
- package/dist/browser/powerBIEmbeddedManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/powerBIEmbeddedManagementClient.js +17 -20
- package/dist/browser/powerBIEmbeddedManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +29 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +230 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +31 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +19 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +459 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +15 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +116 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/workspaceCollections.d.ts +110 -0
- package/dist/commonjs/operations/workspaceCollections.d.ts.map +1 -0
- package/dist/commonjs/operations/workspaceCollections.js +470 -0
- package/dist/commonjs/operations/workspaceCollections.js.map +1 -0
- package/dist/commonjs/operations/workspaces.d.ts +30 -0
- package/dist/commonjs/operations/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operations/workspaces.js +109 -0
- package/dist/commonjs/operations/workspaces.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaceCollections.d.ts +87 -0
- package/dist/commonjs/operationsInterfaces/workspaceCollections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaceCollections.js +10 -0
- package/dist/commonjs/operationsInterfaces/workspaceCollections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/workspaces.js +10 -0
- package/dist/commonjs/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/powerBIEmbeddedManagementClient.d.ts +27 -0
- package/dist/commonjs/powerBIEmbeddedManagementClient.d.ts.map +1 -0
- package/dist/commonjs/powerBIEmbeddedManagementClient.js +131 -0
- package/dist/commonjs/powerBIEmbeddedManagementClient.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +25 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +230 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +28 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +19 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +456 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +15 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +113 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/workspaceCollections.d.ts +110 -0
- package/dist/esm/operations/workspaceCollections.d.ts.map +1 -0
- package/dist/esm/operations/workspaceCollections.js +466 -0
- package/dist/esm/operations/workspaceCollections.js.map +1 -0
- package/dist/esm/operations/workspaces.d.ts +30 -0
- package/dist/esm/operations/workspaces.d.ts.map +1 -0
- package/dist/esm/operations/workspaces.js +105 -0
- package/dist/esm/operations/workspaces.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/workspaceCollections.d.ts +87 -0
- package/dist/esm/operationsInterfaces/workspaceCollections.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/workspaceCollections.js} +2 -3
- package/dist/esm/operationsInterfaces/workspaceCollections.js.map +1 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts +13 -0
- package/dist/esm/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/workspaces.js} +2 -3
- package/dist/esm/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/powerBIEmbeddedManagementClient.d.ts +27 -0
- package/dist/esm/powerBIEmbeddedManagementClient.d.ts.map +1 -0
- package/dist/esm/powerBIEmbeddedManagementClient.js +126 -0
- package/dist/esm/powerBIEmbeddedManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +25 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +230 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +28 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +19 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +456 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +15 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +113 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/workspaceCollections.d.ts +110 -0
- package/dist/react-native/operations/workspaceCollections.d.ts.map +1 -0
- package/dist/react-native/operations/workspaceCollections.js +466 -0
- package/dist/react-native/operations/workspaceCollections.js.map +1 -0
- package/dist/react-native/operations/workspaces.d.ts +30 -0
- package/dist/react-native/operations/workspaces.d.ts.map +1 -0
- package/dist/react-native/operations/workspaces.js +105 -0
- package/dist/react-native/operations/workspaces.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaceCollections.d.ts +87 -0
- package/dist/react-native/operationsInterfaces/workspaceCollections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaceCollections.js +9 -0
- package/dist/react-native/operationsInterfaces/workspaceCollections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/workspaces.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/workspaces.js +9 -0
- package/dist/react-native/operationsInterfaces/workspaces.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/powerBIEmbeddedManagementClient.d.ts +27 -0
- package/dist/react-native/powerBIEmbeddedManagementClient.d.ts.map +1 -0
- package/dist/react-native/powerBIEmbeddedManagementClient.js +126 -0
- package/dist/react-native/powerBIEmbeddedManagementClient.js.map +1 -0
- package/package.json +68 -37
- package/dist/index.js +0 -1388
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -3
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/workspaceCollections.d.ts.map +0 -1
- package/dist-esm/src/operations/workspaceCollections.js.map +0 -1
- package/dist-esm/src/operations/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operations/workspaces.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaceCollections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaceCollections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaces.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/workspaces.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/powerBIEmbeddedManagementClient.d.ts.map +0 -1
- package/dist-esm/src/powerBIEmbeddedManagementClient.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -42
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -279
- package/src/models/mappers.ts +0 -474
- package/src/models/parameters.ts +0 -137
- package/src/operations/workspaceCollections.ts +0 -611
- package/src/operations/workspaces.ts +0 -141
- package/src/operationsInterfaces/workspaceCollections.ts +0 -163
- package/src/operationsInterfaces/workspaces.ts +0 -26
- package/src/pagingHelper.ts +0 -39
- package/src/powerBIEmbeddedManagementClient.ts +0 -181
- package/tsconfig.json +0 -33
- package/types/arm-powerbiembedded.d.ts +0 -409
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaceCollections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/workspaces.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
2
|
+
export declare class LroImpl<T> implements LongRunningOperation<T> {
|
|
3
|
+
private sendOperationFn;
|
|
4
|
+
private args;
|
|
5
|
+
private spec;
|
|
6
|
+
requestPath: string;
|
|
7
|
+
requestMethod: string;
|
|
8
|
+
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
|
9
|
+
readonly requestBody?: unknown;
|
|
10
|
+
readonly path?: string;
|
|
11
|
+
readonly httpMethod: string;
|
|
12
|
+
} & Record<string, any>, requestPath?: string, requestMethod?: string);
|
|
13
|
+
sendInitialRequest(): Promise<LroResponse<T>>;
|
|
14
|
+
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=lroImpl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,qBAAa,OAAO,CAAC,CAAC,CAAE,YAAW,oBAAoB,CAAC,CAAC,CAAC;IAEtD,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,IAAI;IACZ,OAAO,CAAC,IAAI;IAKL,WAAW,EAAE,MAAM;IACnB,aAAa,EAAE,MAAM;gBARpB,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAClE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC7B,IAAI,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAChB,WAAW,GAAE,MAAmB,EAChC,aAAa,GAAE,MAAwB;IAEnC,kBAAkB,IAAI,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAG7C,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;CAQpE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __rest } from "tslib";
|
|
9
|
+
export class LroImpl {
|
|
10
|
+
constructor(sendOperationFn, args, spec, requestPath = spec.path, requestMethod = spec.httpMethod) {
|
|
11
|
+
this.sendOperationFn = sendOperationFn;
|
|
12
|
+
this.args = args;
|
|
13
|
+
this.spec = spec;
|
|
14
|
+
this.requestPath = requestPath;
|
|
15
|
+
this.requestMethod = requestMethod;
|
|
16
|
+
}
|
|
17
|
+
async sendInitialRequest() {
|
|
18
|
+
return this.sendOperationFn(this.args, this.spec);
|
|
19
|
+
}
|
|
20
|
+
async sendPollRequest(path) {
|
|
21
|
+
const _a = this.spec, { requestBody } = _a, restSpec = __rest(_a, ["requestBody"]);
|
|
22
|
+
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=lroImpl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,MAAM,OAAO,OAAO;IAClB,YACU,eAAkE,EAClE,IAA6B,EAC7B,IAIe,EAChB,cAAsB,IAAI,CAAC,IAAK,EAChC,gBAAwB,IAAI,CAAC,UAAU;QARtC,oBAAe,GAAf,eAAe,CAAmD;QAClE,SAAI,GAAJ,IAAI,CAAyB;QAC7B,SAAI,GAAJ,IAAI,CAIW;QAChB,gBAAW,GAAX,WAAW,CAAqB;QAChC,kBAAa,GAAb,aAAa,CAA0B;IAC7C,CAAC;IACG,KAAK,CAAC,kBAAkB;QAC7B,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACM,KAAK,CAAC,eAAe,CAAC,IAAY;QACvC,MAAM,KAA+B,IAAI,CAAC,IAAI,EAAxC,EAAE,WAAW,OAA2B,EAAtB,QAAQ,cAA1B,eAA4B,CAAY,CAAC;QAC/C,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,kCAChC,QAAQ,KACX,IAAI,EACJ,UAAU,EAAE,KAAK,IACjB,CAAC;IACL,CAAC;CACF","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 { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport class LroImpl<T> implements LongRunningOperation<T> {\n constructor(\n private sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>,\n private args: Record<string, unknown>,\n private spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>,\n public requestPath: string = spec.path!,\n public requestMethod: string = spec.httpMethod\n ) {}\n public async sendInitialRequest(): Promise<LroResponse<T>> {\n return this.sendOperationFn(this.args, this.spec);\n }\n public async sendPollRequest(path: string): Promise<LroResponse<T>> {\n const { requestBody, ...restSpec } = this.spec;\n return this.sendOperationFn(this.args, {\n ...restSpec,\n path,\n httpMethod: \"GET\"\n });\n }\n}\n"]}
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
export interface WorkspaceCollection {
|
|
3
|
+
/** Resource id */
|
|
4
|
+
id?: string;
|
|
5
|
+
/** Workspace collection name */
|
|
6
|
+
name?: string;
|
|
7
|
+
/** Resource type */
|
|
8
|
+
type?: string;
|
|
9
|
+
/** Azure location */
|
|
10
|
+
location?: string;
|
|
11
|
+
/** Dictionary of <string> */
|
|
12
|
+
tags?: {
|
|
13
|
+
[propertyName: string]: string;
|
|
14
|
+
};
|
|
15
|
+
sku?: AzureSku;
|
|
16
|
+
/** Properties */
|
|
17
|
+
properties?: Record<string, unknown>;
|
|
18
|
+
}
|
|
19
|
+
export interface AzureSku {
|
|
20
|
+
/** SKU name */
|
|
21
|
+
name: AzureSkuName;
|
|
22
|
+
/** SKU tier */
|
|
23
|
+
tier: AzureSkuTier;
|
|
24
|
+
}
|
|
25
|
+
export interface ErrorModel {
|
|
26
|
+
code?: string;
|
|
27
|
+
message?: string;
|
|
28
|
+
target?: string;
|
|
29
|
+
details?: ErrorDetail[];
|
|
30
|
+
}
|
|
31
|
+
export interface ErrorDetail {
|
|
32
|
+
code?: string;
|
|
33
|
+
message?: string;
|
|
34
|
+
target?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface CreateWorkspaceCollectionRequest {
|
|
37
|
+
/** Azure location */
|
|
38
|
+
location?: string;
|
|
39
|
+
/** Dictionary of <string> */
|
|
40
|
+
tags?: {
|
|
41
|
+
[propertyName: string]: string;
|
|
42
|
+
};
|
|
43
|
+
sku?: AzureSku;
|
|
44
|
+
}
|
|
45
|
+
export interface UpdateWorkspaceCollectionRequest {
|
|
46
|
+
/** Dictionary of <string> */
|
|
47
|
+
tags?: {
|
|
48
|
+
[propertyName: string]: string;
|
|
49
|
+
};
|
|
50
|
+
sku?: AzureSku;
|
|
51
|
+
}
|
|
52
|
+
export interface CheckNameRequest {
|
|
53
|
+
/** Workspace collection name */
|
|
54
|
+
name?: string;
|
|
55
|
+
/** Resource type */
|
|
56
|
+
type?: string;
|
|
57
|
+
}
|
|
58
|
+
export interface CheckNameResponse {
|
|
59
|
+
/** Specifies a Boolean value that indicates whether the specified Power BI Workspace Collection name is available to use. */
|
|
60
|
+
nameAvailable?: boolean;
|
|
61
|
+
/** Reason why the workspace collection name cannot be used. */
|
|
62
|
+
reason?: CheckNameReason;
|
|
63
|
+
/** Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated. */
|
|
64
|
+
message?: string;
|
|
65
|
+
}
|
|
66
|
+
export interface WorkspaceCollectionList {
|
|
67
|
+
value?: WorkspaceCollection[];
|
|
68
|
+
}
|
|
69
|
+
export interface WorkspaceCollectionAccessKeys {
|
|
70
|
+
/** Access key 1 */
|
|
71
|
+
key1?: string;
|
|
72
|
+
/** Access key 2 */
|
|
73
|
+
key2?: string;
|
|
74
|
+
}
|
|
75
|
+
export interface WorkspaceCollectionAccessKey {
|
|
76
|
+
/** Key name */
|
|
77
|
+
keyName?: AccessKeyName;
|
|
78
|
+
}
|
|
79
|
+
export interface OperationList {
|
|
80
|
+
value?: Operation[];
|
|
81
|
+
}
|
|
82
|
+
export interface Operation {
|
|
83
|
+
/** The name of the operation being performed on this particular object. This name should match the action name that appears in RBAC / the event service. */
|
|
84
|
+
name?: string;
|
|
85
|
+
display?: Display;
|
|
86
|
+
}
|
|
87
|
+
export interface Display {
|
|
88
|
+
/** The localized friendly form of the resource provider name. This form is also expected to include the publisher/company responsible. Use Title Casing. Begin with "Microsoft" for 1st party services. */
|
|
89
|
+
provider?: string;
|
|
90
|
+
/** The localized friendly form of the resource type related to this action/operation. This form should match the public documentation for the resource provider. Use Title Casing. For examples, refer to the "name" section. */
|
|
91
|
+
resource?: string;
|
|
92
|
+
/** The localized friendly name for the operation as shown to the user. This name should be concise (to fit in drop downs), but clear (self-documenting). Use Title Casing and include the entity/resource to which it applies. */
|
|
93
|
+
operation?: string;
|
|
94
|
+
/** The localized friendly description for the operation as shown to the user. This description should be thorough, yet concise. It will be used in tool-tips and detailed views. */
|
|
95
|
+
description?: string;
|
|
96
|
+
/** The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is 'user,system' */
|
|
97
|
+
origin?: string;
|
|
98
|
+
}
|
|
99
|
+
export interface WorkspaceList {
|
|
100
|
+
value?: Workspace[];
|
|
101
|
+
}
|
|
102
|
+
export interface Workspace {
|
|
103
|
+
/** Workspace id */
|
|
104
|
+
id?: string;
|
|
105
|
+
/** Workspace name */
|
|
106
|
+
name?: string;
|
|
107
|
+
/** Resource type */
|
|
108
|
+
type?: string;
|
|
109
|
+
/** Property bag */
|
|
110
|
+
properties?: Record<string, unknown>;
|
|
111
|
+
}
|
|
112
|
+
export interface MigrateWorkspaceCollectionRequest {
|
|
113
|
+
/** Name of the resource group the Power BI workspace collections will be migrated to. */
|
|
114
|
+
targetResourceGroup?: string;
|
|
115
|
+
resources?: string[];
|
|
116
|
+
}
|
|
117
|
+
/** Known values of {@link AzureSkuName} that the service accepts. */
|
|
118
|
+
export declare enum KnownAzureSkuName {
|
|
119
|
+
/** S1 */
|
|
120
|
+
S1 = "S1"
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Defines values for AzureSkuName. \
|
|
124
|
+
* {@link KnownAzureSkuName} can be used interchangeably with AzureSkuName,
|
|
125
|
+
* this enum contains the known values that the service supports.
|
|
126
|
+
* ### Known values supported by the service
|
|
127
|
+
* **S1**
|
|
128
|
+
*/
|
|
129
|
+
export type AzureSkuName = string;
|
|
130
|
+
/** Known values of {@link AzureSkuTier} that the service accepts. */
|
|
131
|
+
export declare enum KnownAzureSkuTier {
|
|
132
|
+
/** Standard */
|
|
133
|
+
Standard = "Standard"
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Defines values for AzureSkuTier. \
|
|
137
|
+
* {@link KnownAzureSkuTier} can be used interchangeably with AzureSkuTier,
|
|
138
|
+
* this enum contains the known values that the service supports.
|
|
139
|
+
* ### Known values supported by the service
|
|
140
|
+
* **Standard**
|
|
141
|
+
*/
|
|
142
|
+
export type AzureSkuTier = string;
|
|
143
|
+
/** Known values of {@link CheckNameReason} that the service accepts. */
|
|
144
|
+
export declare enum KnownCheckNameReason {
|
|
145
|
+
/** Unavailable */
|
|
146
|
+
Unavailable = "Unavailable",
|
|
147
|
+
/** Invalid */
|
|
148
|
+
Invalid = "Invalid"
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Defines values for CheckNameReason. \
|
|
152
|
+
* {@link KnownCheckNameReason} can be used interchangeably with CheckNameReason,
|
|
153
|
+
* this enum contains the known values that the service supports.
|
|
154
|
+
* ### Known values supported by the service
|
|
155
|
+
* **Unavailable** \
|
|
156
|
+
* **Invalid**
|
|
157
|
+
*/
|
|
158
|
+
export type CheckNameReason = string;
|
|
159
|
+
/** Defines values for AccessKeyName. */
|
|
160
|
+
export type AccessKeyName = "key1" | "key2";
|
|
161
|
+
/** Optional parameters. */
|
|
162
|
+
export interface WorkspaceCollectionsGetByNameOptionalParams extends coreClient.OperationOptions {
|
|
163
|
+
}
|
|
164
|
+
/** Contains response data for the getByName operation. */
|
|
165
|
+
export type WorkspaceCollectionsGetByNameResponse = WorkspaceCollection;
|
|
166
|
+
/** Optional parameters. */
|
|
167
|
+
export interface WorkspaceCollectionsCreateOptionalParams extends coreClient.OperationOptions {
|
|
168
|
+
}
|
|
169
|
+
/** Contains response data for the create operation. */
|
|
170
|
+
export type WorkspaceCollectionsCreateResponse = WorkspaceCollection;
|
|
171
|
+
/** Optional parameters. */
|
|
172
|
+
export interface WorkspaceCollectionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
173
|
+
}
|
|
174
|
+
/** Contains response data for the update operation. */
|
|
175
|
+
export type WorkspaceCollectionsUpdateResponse = WorkspaceCollection;
|
|
176
|
+
/** Optional parameters. */
|
|
177
|
+
export interface WorkspaceCollectionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
178
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
179
|
+
updateIntervalInMs?: number;
|
|
180
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
181
|
+
resumeFrom?: string;
|
|
182
|
+
}
|
|
183
|
+
/** Optional parameters. */
|
|
184
|
+
export interface WorkspaceCollectionsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
185
|
+
}
|
|
186
|
+
/** Contains response data for the checkNameAvailability operation. */
|
|
187
|
+
export type WorkspaceCollectionsCheckNameAvailabilityResponse = CheckNameResponse;
|
|
188
|
+
/** Optional parameters. */
|
|
189
|
+
export interface WorkspaceCollectionsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
190
|
+
}
|
|
191
|
+
/** Contains response data for the listByResourceGroup operation. */
|
|
192
|
+
export type WorkspaceCollectionsListByResourceGroupResponse = WorkspaceCollectionList;
|
|
193
|
+
/** Optional parameters. */
|
|
194
|
+
export interface WorkspaceCollectionsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
195
|
+
}
|
|
196
|
+
/** Contains response data for the listBySubscription operation. */
|
|
197
|
+
export type WorkspaceCollectionsListBySubscriptionResponse = WorkspaceCollectionList;
|
|
198
|
+
/** Optional parameters. */
|
|
199
|
+
export interface WorkspaceCollectionsGetAccessKeysOptionalParams extends coreClient.OperationOptions {
|
|
200
|
+
}
|
|
201
|
+
/** Contains response data for the getAccessKeys operation. */
|
|
202
|
+
export type WorkspaceCollectionsGetAccessKeysResponse = WorkspaceCollectionAccessKeys;
|
|
203
|
+
/** Optional parameters. */
|
|
204
|
+
export interface WorkspaceCollectionsRegenerateKeyOptionalParams extends coreClient.OperationOptions {
|
|
205
|
+
}
|
|
206
|
+
/** Contains response data for the regenerateKey operation. */
|
|
207
|
+
export type WorkspaceCollectionsRegenerateKeyResponse = WorkspaceCollectionAccessKeys;
|
|
208
|
+
/** Optional parameters. */
|
|
209
|
+
export interface WorkspaceCollectionsMigrateOptionalParams extends coreClient.OperationOptions {
|
|
210
|
+
}
|
|
211
|
+
/** Optional parameters. */
|
|
212
|
+
export interface GetAvailableOperationsOptionalParams extends coreClient.OperationOptions {
|
|
213
|
+
}
|
|
214
|
+
/** Contains response data for the getAvailableOperations operation. */
|
|
215
|
+
export type GetAvailableOperationsResponse = OperationList;
|
|
216
|
+
/** Optional parameters. */
|
|
217
|
+
export interface WorkspacesListOptionalParams extends coreClient.OperationOptions {
|
|
218
|
+
}
|
|
219
|
+
/** Contains response data for the list operation. */
|
|
220
|
+
export type WorkspacesListResponse = WorkspaceList;
|
|
221
|
+
/** Optional parameters. */
|
|
222
|
+
export interface PowerBIEmbeddedManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
223
|
+
/** server parameter */
|
|
224
|
+
$host?: string;
|
|
225
|
+
/** Api Version */
|
|
226
|
+
apiVersion?: string;
|
|
227
|
+
/** Overrides client endpoint. */
|
|
228
|
+
endpoint?: string;
|
|
229
|
+
}
|
|
230
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,MAAM,WAAW,mBAA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Q,UAAU,CAAC,oBAAoB;IACvC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
/** Known values of {@link AzureSkuName} that the service accepts. */
|
|
9
|
+
export var KnownAzureSkuName;
|
|
10
|
+
(function (KnownAzureSkuName) {
|
|
11
|
+
/** S1 */
|
|
12
|
+
KnownAzureSkuName["S1"] = "S1";
|
|
13
|
+
})(KnownAzureSkuName || (KnownAzureSkuName = {}));
|
|
14
|
+
/** Known values of {@link AzureSkuTier} that the service accepts. */
|
|
15
|
+
export var KnownAzureSkuTier;
|
|
16
|
+
(function (KnownAzureSkuTier) {
|
|
17
|
+
/** Standard */
|
|
18
|
+
KnownAzureSkuTier["Standard"] = "Standard";
|
|
19
|
+
})(KnownAzureSkuTier || (KnownAzureSkuTier = {}));
|
|
20
|
+
/** Known values of {@link CheckNameReason} that the service accepts. */
|
|
21
|
+
export var KnownCheckNameReason;
|
|
22
|
+
(function (KnownCheckNameReason) {
|
|
23
|
+
/** Unavailable */
|
|
24
|
+
KnownCheckNameReason["Unavailable"] = "Unavailable";
|
|
25
|
+
/** Invalid */
|
|
26
|
+
KnownCheckNameReason["Invalid"] = "Invalid";
|
|
27
|
+
})(KnownCheckNameReason || (KnownCheckNameReason = {}));
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAkIH,qEAAqE;AACrE,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,SAAS;IACT,8BAAS,CAAA;AACX,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B;AAWD,qEAAqE;AACrE,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,eAAe;IACf,0CAAqB,CAAA;AACvB,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B;AAWD,wEAAwE;AACxE,MAAM,CAAN,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,kBAAkB;IAClB,mDAA2B,CAAA;IAC3B,cAAc;IACd,2CAAmB,CAAA;AACrB,CAAC,EALW,oBAAoB,KAApB,oBAAoB,QAK/B","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\";\n\nexport interface WorkspaceCollection {\n /** Resource id */\n id?: string;\n /** Workspace collection name */\n name?: string;\n /** Resource type */\n type?: string;\n /** Azure location */\n location?: string;\n /** Dictionary of <string> */\n tags?: { [propertyName: string]: string };\n sku?: AzureSku;\n /** Properties */\n properties?: Record<string, unknown>;\n}\n\nexport interface AzureSku {\n /** SKU name */\n name: AzureSkuName;\n /** SKU tier */\n tier: AzureSkuTier;\n}\n\nexport interface ErrorModel {\n code?: string;\n message?: string;\n target?: string;\n details?: ErrorDetail[];\n}\n\nexport interface ErrorDetail {\n code?: string;\n message?: string;\n target?: string;\n}\n\nexport interface CreateWorkspaceCollectionRequest {\n /** Azure location */\n location?: string;\n /** Dictionary of <string> */\n tags?: { [propertyName: string]: string };\n sku?: AzureSku;\n}\n\nexport interface UpdateWorkspaceCollectionRequest {\n /** Dictionary of <string> */\n tags?: { [propertyName: string]: string };\n sku?: AzureSku;\n}\n\nexport interface CheckNameRequest {\n /** Workspace collection name */\n name?: string;\n /** Resource type */\n type?: string;\n}\n\nexport interface CheckNameResponse {\n /** Specifies a Boolean value that indicates whether the specified Power BI Workspace Collection name is available to use. */\n nameAvailable?: boolean;\n /** Reason why the workspace collection name cannot be used. */\n reason?: CheckNameReason;\n /** Message indicating an unavailable name due to a conflict, or a description of the naming rules that are violated. */\n message?: string;\n}\n\nexport interface WorkspaceCollectionList {\n value?: WorkspaceCollection[];\n}\n\nexport interface WorkspaceCollectionAccessKeys {\n /** Access key 1 */\n key1?: string;\n /** Access key 2 */\n key2?: string;\n}\n\nexport interface WorkspaceCollectionAccessKey {\n /** Key name */\n keyName?: AccessKeyName;\n}\n\nexport interface OperationList {\n value?: Operation[];\n}\n\nexport interface Operation {\n /** The name of the operation being performed on this particular object. This name should match the action name that appears in RBAC / the event service. */\n name?: string;\n display?: Display;\n}\n\nexport interface Display {\n /** The localized friendly form of the resource provider name. This form is also expected to include the publisher/company responsible. Use Title Casing. Begin with \"Microsoft\" for 1st party services. */\n provider?: string;\n /** The localized friendly form of the resource type related to this action/operation. This form should match the public documentation for the resource provider. Use Title Casing. For examples, refer to the \"name\" section. */\n resource?: string;\n /** The localized friendly name for the operation as shown to the user. This name should be concise (to fit in drop downs), but clear (self-documenting). Use Title Casing and include the entity/resource to which it applies. */\n operation?: string;\n /** The localized friendly description for the operation as shown to the user. This description should be thorough, yet concise. It will be used in tool-tips and detailed views. */\n description?: string;\n /** The intended executor of the operation; governs the display of the operation in the RBAC UX and the audit logs UX. Default value is 'user,system' */\n origin?: string;\n}\n\nexport interface WorkspaceList {\n value?: Workspace[];\n}\n\nexport interface Workspace {\n /** Workspace id */\n id?: string;\n /** Workspace name */\n name?: string;\n /** Resource type */\n type?: string;\n /** Property bag */\n properties?: Record<string, unknown>;\n}\n\nexport interface MigrateWorkspaceCollectionRequest {\n /** Name of the resource group the Power BI workspace collections will be migrated to. */\n targetResourceGroup?: string;\n resources?: string[];\n}\n\n/** Known values of {@link AzureSkuName} that the service accepts. */\nexport enum KnownAzureSkuName {\n /** S1 */\n S1 = \"S1\"\n}\n\n/**\n * Defines values for AzureSkuName. \\\n * {@link KnownAzureSkuName} can be used interchangeably with AzureSkuName,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **S1**\n */\nexport type AzureSkuName = string;\n\n/** Known values of {@link AzureSkuTier} that the service accepts. */\nexport enum KnownAzureSkuTier {\n /** Standard */\n Standard = \"Standard\"\n}\n\n/**\n * Defines values for AzureSkuTier. \\\n * {@link KnownAzureSkuTier} can be used interchangeably with AzureSkuTier,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Standard**\n */\nexport type AzureSkuTier = string;\n\n/** Known values of {@link CheckNameReason} that the service accepts. */\nexport enum KnownCheckNameReason {\n /** Unavailable */\n Unavailable = \"Unavailable\",\n /** Invalid */\n Invalid = \"Invalid\"\n}\n\n/**\n * Defines values for CheckNameReason. \\\n * {@link KnownCheckNameReason} can be used interchangeably with CheckNameReason,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unavailable** \\\n * **Invalid**\n */\nexport type CheckNameReason = string;\n/** Defines values for AccessKeyName. */\nexport type AccessKeyName = \"key1\" | \"key2\";\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsGetByNameOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getByName operation. */\nexport type WorkspaceCollectionsGetByNameResponse = WorkspaceCollection;\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsCreateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the create operation. */\nexport type WorkspaceCollectionsCreateResponse = WorkspaceCollection;\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type WorkspaceCollectionsUpdateResponse = WorkspaceCollection;\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsCheckNameAvailabilityOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the checkNameAvailability operation. */\nexport type WorkspaceCollectionsCheckNameAvailabilityResponse = CheckNameResponse;\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type WorkspaceCollectionsListByResourceGroupResponse = WorkspaceCollectionList;\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listBySubscription operation. */\nexport type WorkspaceCollectionsListBySubscriptionResponse = WorkspaceCollectionList;\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsGetAccessKeysOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAccessKeys operation. */\nexport type WorkspaceCollectionsGetAccessKeysResponse = WorkspaceCollectionAccessKeys;\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsRegenerateKeyOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the regenerateKey operation. */\nexport type WorkspaceCollectionsRegenerateKeyResponse = WorkspaceCollectionAccessKeys;\n\n/** Optional parameters. */\nexport interface WorkspaceCollectionsMigrateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface GetAvailableOperationsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getAvailableOperations operation. */\nexport type GetAvailableOperationsResponse = OperationList;\n\n/** Optional parameters. */\nexport interface WorkspacesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type WorkspacesListResponse = WorkspaceList;\n\n/** Optional parameters. */\nexport interface PowerBIEmbeddedManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as coreClient from "@azure/core-client";
|
|
2
|
+
export declare const WorkspaceCollection: coreClient.CompositeMapper;
|
|
3
|
+
export declare const AzureSku: coreClient.CompositeMapper;
|
|
4
|
+
export declare const ErrorModel: coreClient.CompositeMapper;
|
|
5
|
+
export declare const ErrorDetail: coreClient.CompositeMapper;
|
|
6
|
+
export declare const CreateWorkspaceCollectionRequest: coreClient.CompositeMapper;
|
|
7
|
+
export declare const UpdateWorkspaceCollectionRequest: coreClient.CompositeMapper;
|
|
8
|
+
export declare const CheckNameRequest: coreClient.CompositeMapper;
|
|
9
|
+
export declare const CheckNameResponse: coreClient.CompositeMapper;
|
|
10
|
+
export declare const WorkspaceCollectionList: coreClient.CompositeMapper;
|
|
11
|
+
export declare const WorkspaceCollectionAccessKeys: coreClient.CompositeMapper;
|
|
12
|
+
export declare const WorkspaceCollectionAccessKey: coreClient.CompositeMapper;
|
|
13
|
+
export declare const OperationList: coreClient.CompositeMapper;
|
|
14
|
+
export declare const Operation: coreClient.CompositeMapper;
|
|
15
|
+
export declare const Display: coreClient.CompositeMapper;
|
|
16
|
+
export declare const WorkspaceList: coreClient.CompositeMapper;
|
|
17
|
+
export declare const Workspace: coreClient.CompositeMapper;
|
|
18
|
+
export declare const MigrateWorkspaceCollectionRequest: coreClient.CompositeMapper;
|
|
19
|
+
//# sourceMappingURL=mappers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.d.ts","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAEjD,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,eAoD5C,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,UAAU,CAAC,eAqBjC,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,eAqCnC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,UAAU,CAAC,eAyBpC,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,UAAU,CAAC,eA2BzD,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,UAAU,CAAC,eAqBzD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,UAAU,CAAC,eAoBzC,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,UAAU,CAAC,eAyB1C,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,UAAU,CAAC,eAmBhD,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,UAAU,CAAC,eAmBtD,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,UAAU,CAAC,eAcrD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eAmBtC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eAoBlC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,UAAU,CAAC,eAqChC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,eAmBtC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,UAAU,CAAC,eAgClC,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,UAAU,CAAC,eAwB1D,CAAC"}
|