@azure/arm-onlineexperimentation 1.0.0-alpha.20250605.1 → 1.0.0-alpha.20250609.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/CHANGELOG.md +1 -1
- package/dist/browser/api/onlineExperimentationWorkspaces/index.d.ts +3 -0
- package/dist/browser/api/onlineExperimentationWorkspaces/index.d.ts.map +1 -0
- package/dist/browser/api/onlineExperimentationWorkspaces/index.js.map +1 -0
- package/dist/browser/api/onlineExperimentationWorkspaces/operations.d.ts +36 -0
- package/dist/browser/api/onlineExperimentationWorkspaces/operations.d.ts.map +1 -0
- package/dist/browser/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/operations.js +21 -17
- package/dist/browser/api/onlineExperimentationWorkspaces/operations.js.map +1 -0
- package/dist/browser/api/onlineExperimentationWorkspaces/options.d.ts +26 -0
- package/dist/browser/api/onlineExperimentationWorkspaces/options.d.ts.map +1 -0
- package/dist/browser/api/onlineExperimentationWorkspaces/options.js.map +1 -0
- package/dist/browser/classic/index.d.ts +1 -1
- package/dist/browser/classic/index.d.ts.map +1 -1
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/onlineExperimentationWorkspaces/index.d.ts +27 -0
- package/dist/browser/classic/onlineExperimentationWorkspaces/index.d.ts.map +1 -0
- package/dist/browser/classic/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/index.js +4 -4
- package/dist/browser/classic/onlineExperimentationWorkspaces/index.js.map +1 -0
- package/dist/browser/index.d.ts +3 -3
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +1 -1
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +50 -24
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js +34 -13
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/onlineExperimentationClient.d.ts +3 -3
- package/dist/browser/onlineExperimentationClient.d.ts.map +1 -1
- package/dist/browser/onlineExperimentationClient.js +2 -2
- package/dist/browser/onlineExperimentationClient.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +1 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/onlineExperimentationWorkspaces/index.d.ts +3 -0
- package/dist/commonjs/api/onlineExperimentationWorkspaces/index.d.ts.map +1 -0
- package/dist/commonjs/api/onlineExperimentationWorkspaces/index.js.map +1 -0
- package/dist/commonjs/api/onlineExperimentationWorkspaces/operations.d.ts +36 -0
- package/dist/commonjs/api/onlineExperimentationWorkspaces/operations.d.ts.map +1 -0
- package/dist/commonjs/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/operations.js +20 -16
- package/dist/commonjs/api/onlineExperimentationWorkspaces/operations.js.map +1 -0
- package/dist/commonjs/api/onlineExperimentationWorkspaces/options.d.ts +26 -0
- package/dist/commonjs/api/onlineExperimentationWorkspaces/options.d.ts.map +1 -0
- package/dist/commonjs/api/onlineExperimentationWorkspaces/options.js.map +1 -0
- package/dist/commonjs/classic/index.d.ts +1 -1
- package/dist/commonjs/classic/index.d.ts.map +1 -1
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/onlineExperimentationWorkspaces/index.d.ts +27 -0
- package/dist/commonjs/classic/onlineExperimentationWorkspaces/index.d.ts.map +1 -0
- package/dist/commonjs/classic/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/index.js +5 -5
- package/dist/commonjs/classic/onlineExperimentationWorkspaces/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +3 -3
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +1 -1
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +50 -24
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js +43 -20
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/onlineExperimentationClient.d.ts +3 -3
- package/dist/commonjs/onlineExperimentationClient.d.ts.map +1 -1
- package/dist/commonjs/onlineExperimentationClient.js +2 -2
- package/dist/commonjs/onlineExperimentationClient.js.map +1 -1
- package/dist/commonjs/restorePollerHelpers.js +1 -1
- package/dist/commonjs/restorePollerHelpers.js.map +1 -1
- package/dist/esm/api/onlineExperimentationWorkspaces/index.d.ts +3 -0
- package/dist/esm/api/onlineExperimentationWorkspaces/index.d.ts.map +1 -0
- package/dist/esm/api/onlineExperimentationWorkspaces/index.js.map +1 -0
- package/dist/esm/api/onlineExperimentationWorkspaces/operations.d.ts +36 -0
- package/dist/esm/api/onlineExperimentationWorkspaces/operations.d.ts.map +1 -0
- package/dist/esm/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/operations.js +21 -17
- package/dist/esm/api/onlineExperimentationWorkspaces/operations.js.map +1 -0
- package/dist/esm/api/onlineExperimentationWorkspaces/options.d.ts +26 -0
- package/dist/esm/api/onlineExperimentationWorkspaces/options.d.ts.map +1 -0
- package/dist/esm/api/onlineExperimentationWorkspaces/options.js.map +1 -0
- package/dist/esm/classic/index.d.ts +1 -1
- package/dist/esm/classic/index.d.ts.map +1 -1
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/onlineExperimentationWorkspaces/index.d.ts +27 -0
- package/dist/esm/classic/onlineExperimentationWorkspaces/index.d.ts.map +1 -0
- package/dist/esm/classic/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/index.js +4 -4
- package/dist/esm/classic/onlineExperimentationWorkspaces/index.js.map +1 -0
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +1 -1
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +50 -24
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js +34 -13
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/onlineExperimentationClient.d.ts +3 -3
- package/dist/esm/onlineExperimentationClient.d.ts.map +1 -1
- package/dist/esm/onlineExperimentationClient.js +2 -2
- package/dist/esm/onlineExperimentationClient.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +1 -1
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/react-native/api/onlineExperimentationWorkspaces/index.d.ts +3 -0
- package/dist/react-native/api/onlineExperimentationWorkspaces/index.d.ts.map +1 -0
- package/dist/react-native/api/onlineExperimentationWorkspaces/index.js.map +1 -0
- package/dist/react-native/api/onlineExperimentationWorkspaces/operations.d.ts +36 -0
- package/dist/react-native/api/onlineExperimentationWorkspaces/operations.d.ts.map +1 -0
- package/dist/react-native/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/operations.js +21 -17
- package/dist/react-native/api/onlineExperimentationWorkspaces/operations.js.map +1 -0
- package/dist/react-native/api/onlineExperimentationWorkspaces/options.d.ts +26 -0
- package/dist/react-native/api/onlineExperimentationWorkspaces/options.d.ts.map +1 -0
- package/dist/react-native/api/onlineExperimentationWorkspaces/options.js.map +1 -0
- package/dist/react-native/classic/index.d.ts +1 -1
- package/dist/react-native/classic/index.d.ts.map +1 -1
- package/dist/react-native/classic/index.js.map +1 -1
- package/dist/react-native/classic/onlineExperimentationWorkspaces/index.d.ts +27 -0
- package/dist/react-native/classic/onlineExperimentationWorkspaces/index.d.ts.map +1 -0
- package/dist/react-native/classic/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/index.js +4 -4
- package/dist/react-native/classic/onlineExperimentationWorkspaces/index.js.map +1 -0
- package/dist/react-native/index.d.ts +3 -3
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/models/index.d.ts +1 -1
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +50 -24
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js +34 -13
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/onlineExperimentationClient.d.ts +3 -3
- package/dist/react-native/onlineExperimentationClient.d.ts.map +1 -1
- package/dist/react-native/onlineExperimentationClient.js +2 -2
- package/dist/react-native/onlineExperimentationClient.js.map +1 -1
- package/dist/react-native/restorePollerHelpers.js +1 -1
- package/dist/react-native/restorePollerHelpers.js.map +1 -1
- package/package.json +17 -17
- package/review/{arm-onlineexperimentation-api-onlineExperimentWorkspaces.api.md → arm-onlineexperimentation-api-onlineExperimentationWorkspaces.api.md} +12 -12
- package/review/arm-onlineexperimentation-models.api.md +24 -12
- package/review/arm-onlineexperimentation.api.md +38 -26
- package/dist/browser/api/onlineExperimentWorkspaces/index.d.ts +0 -3
- package/dist/browser/api/onlineExperimentWorkspaces/index.d.ts.map +0 -1
- package/dist/browser/api/onlineExperimentWorkspaces/index.js.map +0 -1
- package/dist/browser/api/onlineExperimentWorkspaces/operations.d.ts +0 -36
- package/dist/browser/api/onlineExperimentWorkspaces/operations.d.ts.map +0 -1
- package/dist/browser/api/onlineExperimentWorkspaces/operations.js.map +0 -1
- package/dist/browser/api/onlineExperimentWorkspaces/options.d.ts +0 -26
- package/dist/browser/api/onlineExperimentWorkspaces/options.d.ts.map +0 -1
- package/dist/browser/api/onlineExperimentWorkspaces/options.js.map +0 -1
- package/dist/browser/classic/onlineExperimentWorkspaces/index.d.ts +0 -27
- package/dist/browser/classic/onlineExperimentWorkspaces/index.d.ts.map +0 -1
- package/dist/browser/classic/onlineExperimentWorkspaces/index.js.map +0 -1
- package/dist/commonjs/api/onlineExperimentWorkspaces/index.d.ts +0 -3
- package/dist/commonjs/api/onlineExperimentWorkspaces/index.d.ts.map +0 -1
- package/dist/commonjs/api/onlineExperimentWorkspaces/index.js.map +0 -1
- package/dist/commonjs/api/onlineExperimentWorkspaces/operations.d.ts +0 -36
- package/dist/commonjs/api/onlineExperimentWorkspaces/operations.d.ts.map +0 -1
- package/dist/commonjs/api/onlineExperimentWorkspaces/operations.js.map +0 -1
- package/dist/commonjs/api/onlineExperimentWorkspaces/options.d.ts +0 -26
- package/dist/commonjs/api/onlineExperimentWorkspaces/options.d.ts.map +0 -1
- package/dist/commonjs/api/onlineExperimentWorkspaces/options.js.map +0 -1
- package/dist/commonjs/classic/onlineExperimentWorkspaces/index.d.ts +0 -27
- package/dist/commonjs/classic/onlineExperimentWorkspaces/index.d.ts.map +0 -1
- package/dist/commonjs/classic/onlineExperimentWorkspaces/index.js.map +0 -1
- package/dist/esm/api/onlineExperimentWorkspaces/index.d.ts +0 -3
- package/dist/esm/api/onlineExperimentWorkspaces/index.d.ts.map +0 -1
- package/dist/esm/api/onlineExperimentWorkspaces/index.js.map +0 -1
- package/dist/esm/api/onlineExperimentWorkspaces/operations.d.ts +0 -36
- package/dist/esm/api/onlineExperimentWorkspaces/operations.d.ts.map +0 -1
- package/dist/esm/api/onlineExperimentWorkspaces/operations.js.map +0 -1
- package/dist/esm/api/onlineExperimentWorkspaces/options.d.ts +0 -26
- package/dist/esm/api/onlineExperimentWorkspaces/options.d.ts.map +0 -1
- package/dist/esm/api/onlineExperimentWorkspaces/options.js.map +0 -1
- package/dist/esm/classic/onlineExperimentWorkspaces/index.d.ts +0 -27
- package/dist/esm/classic/onlineExperimentWorkspaces/index.d.ts.map +0 -1
- package/dist/esm/classic/onlineExperimentWorkspaces/index.js.map +0 -1
- package/dist/react-native/api/onlineExperimentWorkspaces/index.d.ts +0 -3
- package/dist/react-native/api/onlineExperimentWorkspaces/index.d.ts.map +0 -1
- package/dist/react-native/api/onlineExperimentWorkspaces/index.js.map +0 -1
- package/dist/react-native/api/onlineExperimentWorkspaces/operations.d.ts +0 -36
- package/dist/react-native/api/onlineExperimentWorkspaces/operations.d.ts.map +0 -1
- package/dist/react-native/api/onlineExperimentWorkspaces/operations.js.map +0 -1
- package/dist/react-native/api/onlineExperimentWorkspaces/options.d.ts +0 -26
- package/dist/react-native/api/onlineExperimentWorkspaces/options.d.ts.map +0 -1
- package/dist/react-native/api/onlineExperimentWorkspaces/options.js.map +0 -1
- package/dist/react-native/classic/onlineExperimentWorkspaces/index.d.ts +0 -27
- package/dist/react-native/classic/onlineExperimentWorkspaces/index.d.ts.map +0 -1
- package/dist/react-native/classic/onlineExperimentWorkspaces/index.js.map +0 -1
- /package/dist/browser/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/index.js +0 -0
- /package/dist/browser/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/options.js +0 -0
- /package/dist/commonjs/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/index.js +0 -0
- /package/dist/commonjs/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/options.js +0 -0
- /package/dist/esm/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/index.js +0 -0
- /package/dist/esm/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/options.js +0 -0
- /package/dist/react-native/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/index.js +0 -0
- /package/dist/react-native/api/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/options.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "./operations.js";
|
|
2
|
+
export { OnlineExperimentationWorkspacesListBySubscriptionOptionalParams, OnlineExperimentationWorkspacesListByResourceGroupOptionalParams, OnlineExperimentationWorkspacesDeleteOptionalParams, OnlineExperimentationWorkspacesUpdateOptionalParams, OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams, OnlineExperimentationWorkspacesGetOptionalParams, } from "./options.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/onlineExperimentationWorkspaces/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,+DAA+D,EAC/D,gEAAgE,EAChE,mDAAmD,EACnD,mDAAmD,EACnD,2DAA2D,EAC3D,gDAAgD,GACjD,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/onlineExperimentationWorkspaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport {\n OnlineExperimentationWorkspacesListBySubscriptionOptionalParams,\n OnlineExperimentationWorkspacesListByResourceGroupOptionalParams,\n OnlineExperimentationWorkspacesDeleteOptionalParams,\n OnlineExperimentationWorkspacesUpdateOptionalParams,\n OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams,\n OnlineExperimentationWorkspacesGetOptionalParams,\n} from \"./options.js\";\n"]}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { OnlineExperimentationContext as Client } from "../index.js";
|
|
2
|
+
import { OnlineExperimentationWorkspace, OnlineExperimentationWorkspacePatch, _OnlineExperimentationWorkspaceListResult } from "../../models/models.js";
|
|
3
|
+
import { OnlineExperimentationWorkspacesListBySubscriptionOptionalParams, OnlineExperimentationWorkspacesListByResourceGroupOptionalParams, OnlineExperimentationWorkspacesDeleteOptionalParams, OnlineExperimentationWorkspacesUpdateOptionalParams, OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams, OnlineExperimentationWorkspacesGetOptionalParams } from "./options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
6
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
7
|
+
export declare function _listBySubscriptionSend(context: Client, options?: OnlineExperimentationWorkspacesListBySubscriptionOptionalParams): StreamableMethod;
|
|
8
|
+
export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_OnlineExperimentationWorkspaceListResult>;
|
|
9
|
+
/** Gets all online experimentation workspaces in the specified subscription. */
|
|
10
|
+
export declare function listBySubscription(context: Client, options?: OnlineExperimentationWorkspacesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<OnlineExperimentationWorkspace>;
|
|
11
|
+
export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: OnlineExperimentationWorkspacesListByResourceGroupOptionalParams): StreamableMethod;
|
|
12
|
+
export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_OnlineExperimentationWorkspaceListResult>;
|
|
13
|
+
/** Gets all online experimentation workspaces in a resource group. */
|
|
14
|
+
export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: OnlineExperimentationWorkspacesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<OnlineExperimentationWorkspace>;
|
|
15
|
+
export declare function _$deleteSend(context: Client, resourceGroupName: string, workspaceName: string, options?: OnlineExperimentationWorkspacesDeleteOptionalParams): StreamableMethod;
|
|
16
|
+
export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
|
|
17
|
+
/** Deletes an online experimentation workspace. */
|
|
18
|
+
/**
|
|
19
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
20
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
21
|
+
* to the operation to override the generated name.
|
|
22
|
+
*/
|
|
23
|
+
export declare function $delete(context: Client, resourceGroupName: string, workspaceName: string, options?: OnlineExperimentationWorkspacesDeleteOptionalParams): PollerLike<OperationState<void>, void>;
|
|
24
|
+
export declare function _updateSend(context: Client, resourceGroupName: string, workspaceName: string, properties: OnlineExperimentationWorkspacePatch, options?: OnlineExperimentationWorkspacesUpdateOptionalParams): StreamableMethod;
|
|
25
|
+
export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<OnlineExperimentationWorkspace>;
|
|
26
|
+
/** Patch an online experimentation workspace. */
|
|
27
|
+
export declare function update(context: Client, resourceGroupName: string, workspaceName: string, properties: OnlineExperimentationWorkspacePatch, options?: OnlineExperimentationWorkspacesUpdateOptionalParams): PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace>;
|
|
28
|
+
export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, workspaceName: string, resource: OnlineExperimentationWorkspace, options?: OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams): StreamableMethod;
|
|
29
|
+
export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<OnlineExperimentationWorkspace>;
|
|
30
|
+
/** Create an online experimentation workspace, or update an existing workspace. */
|
|
31
|
+
export declare function createOrUpdate(context: Client, resourceGroupName: string, workspaceName: string, resource: OnlineExperimentationWorkspace, options?: OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams): PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace>;
|
|
32
|
+
export declare function _getSend(context: Client, resourceGroupName: string, workspaceName: string, options?: OnlineExperimentationWorkspacesGetOptionalParams): StreamableMethod;
|
|
33
|
+
export declare function _getDeserialize(result: PathUncheckedResponse): Promise<OnlineExperimentationWorkspace>;
|
|
34
|
+
/** Gets an online experimentation workspace. */
|
|
35
|
+
export declare function get(context: Client, resourceGroupName: string, workspaceName: string, options?: OnlineExperimentationWorkspacesGetOptionalParams): Promise<OnlineExperimentationWorkspace>;
|
|
36
|
+
//# sourceMappingURL=operations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/onlineExperimentationWorkspaces/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAEL,8BAA8B,EAG9B,mCAAmC,EAEnC,yCAAyC,EAE1C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,+DAA+D,EAC/D,gEAAgE,EAChE,mDAAmD,EACnD,mDAAmD,EACnD,2DAA2D,EAC3D,gDAAgD,EACjD,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAG/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,+DAER,GACA,gBAAgB,CAkBlB;AAED,wBAAsB,8BAA8B,CAClD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,yCAAyC,CAAC,CASpD;AAED,gFAAgF;AAChF,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,+DAER,GACA,0BAA0B,CAAC,8BAA8B,CAAC,CAQ5D;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,OAAO,GAAE,gEAER,GACA,gBAAgB,CAmBlB;AAED,wBAAsB,+BAA+B,CACnD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,yCAAyC,CAAC,CASpD;AAED,sEAAsE;AACtE,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,OAAO,GAAE,gEAER,GACA,0BAA0B,C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,cAAc,CAC5B,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,8BAA8B,EACxC,OAAO,GAAE,2DAER,GACA,UAAU,CAAC,cAAc,CAAC,8BAA8B,CAAC,EAAE,8BAA8B,CAAC,CAQ5F;AAED,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,GAAE,gDAER,GACA,gBAAgB,CAoBlB;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,8BAA8B,CAAC,CASzC;AAED,gDAAgD;AAChD,wBAAsB,GAAG,CACvB,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,GAAE,gDAER,GACA,OAAO,CAAC,8BAA8B,CAAC,CAGzC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { errorResponseDeserializer,
|
|
4
|
-
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
3
|
+
import { errorResponseDeserializer, onlineExperimentationWorkspaceSerializer, onlineExperimentationWorkspaceDeserializer, onlineExperimentationWorkspacePatchSerializer, _onlineExperimentationWorkspaceListResultDeserializer, } from "../../models/models.js";
|
|
5
4
|
import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
|
|
6
5
|
import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
|
|
6
|
+
import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
|
|
7
7
|
import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
|
|
8
8
|
export function _listBySubscriptionSend(context, options = {
|
|
9
9
|
requestOptions: {},
|
|
@@ -24,9 +24,9 @@ export async function _listBySubscriptionDeserialize(result) {
|
|
|
24
24
|
error.details = errorResponseDeserializer(result.body);
|
|
25
25
|
throw error;
|
|
26
26
|
}
|
|
27
|
-
return
|
|
27
|
+
return _onlineExperimentationWorkspaceListResultDeserializer(result.body);
|
|
28
28
|
}
|
|
29
|
-
/** Gets all
|
|
29
|
+
/** Gets all online experimentation workspaces in the specified subscription. */
|
|
30
30
|
export function listBySubscription(context, options = {
|
|
31
31
|
requestOptions: {},
|
|
32
32
|
}) {
|
|
@@ -52,9 +52,9 @@ export async function _listByResourceGroupDeserialize(result) {
|
|
|
52
52
|
error.details = errorResponseDeserializer(result.body);
|
|
53
53
|
throw error;
|
|
54
54
|
}
|
|
55
|
-
return
|
|
55
|
+
return _onlineExperimentationWorkspaceListResultDeserializer(result.body);
|
|
56
56
|
}
|
|
57
|
-
/** Gets all
|
|
57
|
+
/** Gets all online experimentation workspaces in a resource group. */
|
|
58
58
|
export function listByResourceGroup(context, resourceGroupName, options = {
|
|
59
59
|
requestOptions: {},
|
|
60
60
|
}) {
|
|
@@ -83,7 +83,7 @@ export async function _$deleteDeserialize(result) {
|
|
|
83
83
|
}
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
86
|
-
/** Deletes an
|
|
86
|
+
/** Deletes an online experimentation workspace. */
|
|
87
87
|
/**
|
|
88
88
|
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
89
89
|
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
@@ -111,7 +111,7 @@ export function _updateSend(context, resourceGroupName, workspaceName, propertie
|
|
|
111
111
|
}, {
|
|
112
112
|
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
113
113
|
});
|
|
114
|
-
return context.path(path).patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body:
|
|
114
|
+
return context.path(path).patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: onlineExperimentationWorkspacePatchSerializer(properties) }));
|
|
115
115
|
}
|
|
116
116
|
export async function _updateDeserialize(result) {
|
|
117
117
|
const expectedStatuses = ["200", "202"];
|
|
@@ -120,9 +120,9 @@ export async function _updateDeserialize(result) {
|
|
|
120
120
|
error.details = errorResponseDeserializer(result.body);
|
|
121
121
|
throw error;
|
|
122
122
|
}
|
|
123
|
-
return
|
|
123
|
+
return onlineExperimentationWorkspaceDeserializer(result.body);
|
|
124
124
|
}
|
|
125
|
-
/** Patch an
|
|
125
|
+
/** Patch an online experimentation workspace. */
|
|
126
126
|
export function update(context, resourceGroupName, workspaceName, properties, options = {
|
|
127
127
|
requestOptions: {},
|
|
128
128
|
}) {
|
|
@@ -145,7 +145,7 @@ export function _createOrUpdateSend(context, resourceGroupName, workspaceName, r
|
|
|
145
145
|
}, {
|
|
146
146
|
allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
|
|
147
147
|
});
|
|
148
|
-
return context.path(path).put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body:
|
|
148
|
+
return context.path(path).put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: onlineExperimentationWorkspaceSerializer(resource) }));
|
|
149
149
|
}
|
|
150
150
|
export async function _createOrUpdateDeserialize(result) {
|
|
151
151
|
const expectedStatuses = ["200", "201"];
|
|
@@ -154,9 +154,9 @@ export async function _createOrUpdateDeserialize(result) {
|
|
|
154
154
|
error.details = errorResponseDeserializer(result.body);
|
|
155
155
|
throw error;
|
|
156
156
|
}
|
|
157
|
-
return
|
|
157
|
+
return onlineExperimentationWorkspaceDeserializer(result.body);
|
|
158
158
|
}
|
|
159
|
-
/** Create an
|
|
159
|
+
/** Create an online experimentation workspace, or update an existing workspace. */
|
|
160
160
|
export function createOrUpdate(context, resourceGroupName, workspaceName, resource, options = {
|
|
161
161
|
requestOptions: {},
|
|
162
162
|
}) {
|
|
@@ -167,7 +167,9 @@ export function createOrUpdate(context, resourceGroupName, workspaceName, resour
|
|
|
167
167
|
resourceLocationConfig: "azure-async-operation",
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
|
-
export function _getSend(context, resourceGroupName, workspaceName, options = {
|
|
170
|
+
export function _getSend(context, resourceGroupName, workspaceName, options = {
|
|
171
|
+
requestOptions: {},
|
|
172
|
+
}) {
|
|
171
173
|
var _a, _b;
|
|
172
174
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OnlineExperimentation/workspaces/{workspaceName}{?api%2Dversion}", {
|
|
173
175
|
subscriptionId: context.subscriptionId,
|
|
@@ -186,10 +188,12 @@ export async function _getDeserialize(result) {
|
|
|
186
188
|
error.details = errorResponseDeserializer(result.body);
|
|
187
189
|
throw error;
|
|
188
190
|
}
|
|
189
|
-
return
|
|
191
|
+
return onlineExperimentationWorkspaceDeserializer(result.body);
|
|
190
192
|
}
|
|
191
|
-
/** Gets an
|
|
192
|
-
export async function get(context, resourceGroupName, workspaceName, options = {
|
|
193
|
+
/** Gets an online experimentation workspace. */
|
|
194
|
+
export async function get(context, resourceGroupName, workspaceName, options = {
|
|
195
|
+
requestOptions: {},
|
|
196
|
+
}) {
|
|
193
197
|
const result = await _getSend(context, resourceGroupName, workspaceName, options);
|
|
194
198
|
return _getDeserialize(result);
|
|
195
199
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/onlineExperimentationWork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AAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,0CAA0C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACjE,CAAC;AAED,gDAAgD;AAChD,MAAM,CAAC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,aAAqB,EACrB,UAA4D;IAC1D,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;IAClF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OnlineExperimentationContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n OnlineExperimentationWorkspace,\n onlineExperimentationWorkspaceSerializer,\n onlineExperimentationWorkspaceDeserializer,\n OnlineExperimentationWorkspacePatch,\n onlineExperimentationWorkspacePatchSerializer,\n _OnlineExperimentationWorkspaceListResult,\n _onlineExperimentationWorkspaceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n OnlineExperimentationWorkspacesListBySubscriptionOptionalParams,\n OnlineExperimentationWorkspacesListByResourceGroupOptionalParams,\n OnlineExperimentationWorkspacesDeleteOptionalParams,\n OnlineExperimentationWorkspacesUpdateOptionalParams,\n OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams,\n OnlineExperimentationWorkspacesGetOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: OnlineExperimentationWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.OnlineExperimentation/workspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OnlineExperimentationWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _onlineExperimentationWorkspaceListResultDeserializer(result.body);\n}\n\n/** Gets all online experimentation workspaces in the specified subscription. */\nexport function listBySubscription(\n context: Client,\n options: OnlineExperimentationWorkspacesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<OnlineExperimentationWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: OnlineExperimentationWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OnlineExperimentation/workspaces{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OnlineExperimentationWorkspaceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _onlineExperimentationWorkspaceListResultDeserializer(result.body);\n}\n\n/** Gets all online experimentation workspaces in a resource group. */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: OnlineExperimentationWorkspacesListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<OnlineExperimentationWorkspace> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n workspaceName: string,\n options: OnlineExperimentationWorkspacesDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OnlineExperimentation/workspaces/{workspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n workspaceName: workspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return;\n}\n\n/** Deletes an online experimentation workspace. */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n workspaceName: string,\n options: OnlineExperimentationWorkspacesDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () => _$deleteSend(context, resourceGroupName, workspaceName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n workspaceName: string,\n properties: OnlineExperimentationWorkspacePatch,\n options: OnlineExperimentationWorkspacesUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OnlineExperimentation/workspaces/{workspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n workspaceName: workspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: onlineExperimentationWorkspacePatchSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<OnlineExperimentationWorkspace> {\n const expectedStatuses = [\"200\", \"202\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return onlineExperimentationWorkspaceDeserializer(result.body);\n}\n\n/** Patch an online experimentation workspace. */\nexport function update(\n context: Client,\n resourceGroupName: string,\n workspaceName: string,\n properties: OnlineExperimentationWorkspacePatch,\n options: OnlineExperimentationWorkspacesUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace> {\n return getLongRunningPoller(context, _updateDeserialize, [\"200\", \"202\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _updateSend(context, resourceGroupName, workspaceName, properties, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n workspaceName: string,\n resource: OnlineExperimentationWorkspace,\n options: OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OnlineExperimentation/workspaces/{workspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n workspaceName: workspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: onlineExperimentationWorkspaceSerializer(resource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<OnlineExperimentationWorkspace> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return onlineExperimentationWorkspaceDeserializer(result.body);\n}\n\n/** Create an online experimentation workspace, or update an existing workspace. */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n workspaceName: string,\n resource: OnlineExperimentationWorkspace,\n options: OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(context, resourceGroupName, workspaceName, resource, options),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace>;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n workspaceName: string,\n options: OnlineExperimentationWorkspacesGetOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OnlineExperimentation/workspaces/{workspaceName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n workspaceName: workspaceName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<OnlineExperimentationWorkspace> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return onlineExperimentationWorkspaceDeserializer(result.body);\n}\n\n/** Gets an online experimentation workspace. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n workspaceName: string,\n options: OnlineExperimentationWorkspacesGetOptionalParams = {\n requestOptions: {},\n },\n): Promise<OnlineExperimentationWorkspace> {\n const result = await _getSend(context, resourceGroupName, workspaceName, options);\n return _getDeserialize(result);\n}\n"]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OperationOptions } from "@azure-rest/core-client";
|
|
2
|
+
/** Optional parameters. */
|
|
3
|
+
export interface OnlineExperimentationWorkspacesListBySubscriptionOptionalParams extends OperationOptions {
|
|
4
|
+
}
|
|
5
|
+
/** Optional parameters. */
|
|
6
|
+
export interface OnlineExperimentationWorkspacesListByResourceGroupOptionalParams extends OperationOptions {
|
|
7
|
+
}
|
|
8
|
+
/** Optional parameters. */
|
|
9
|
+
export interface OnlineExperimentationWorkspacesDeleteOptionalParams extends OperationOptions {
|
|
10
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
11
|
+
updateIntervalInMs?: number;
|
|
12
|
+
}
|
|
13
|
+
/** Optional parameters. */
|
|
14
|
+
export interface OnlineExperimentationWorkspacesUpdateOptionalParams extends OperationOptions {
|
|
15
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
16
|
+
updateIntervalInMs?: number;
|
|
17
|
+
}
|
|
18
|
+
/** Optional parameters. */
|
|
19
|
+
export interface OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams extends OperationOptions {
|
|
20
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
21
|
+
updateIntervalInMs?: number;
|
|
22
|
+
}
|
|
23
|
+
/** Optional parameters. */
|
|
24
|
+
export interface OnlineExperimentationWorkspacesGetOptionalParams extends OperationOptions {
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/onlineExperimentationWorkspaces/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,+DACf,SAAQ,gBAAgB;CAAG;AAE7B,2BAA2B;AAC3B,MAAM,WAAW,gEACf,SAAQ,gBAAgB;CAAG;AAE7B,2BAA2B;AAC3B,MAAM,WAAW,mDAAoD,SAAQ,gBAAgB;IAC3F,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,mDAAoD,SAAQ,gBAAgB;IAC3F,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,2DACf,SAAQ,gBAAgB;IACxB,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,gDAAiD,SAAQ,gBAAgB;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/onlineExperimentationWorkspaces/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","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 OnlineExperimentationWorkspacesListBySubscriptionOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface OnlineExperimentationWorkspacesListByResourceGroupOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface OnlineExperimentationWorkspacesDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface OnlineExperimentationWorkspacesUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams\n extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface OnlineExperimentationWorkspacesGetOptionalParams extends OperationOptions {}\n"]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { OnlineExperimentationWorkspacesOperations } from "./onlineExperimentationWorkspaces/index.js";
|
|
2
2
|
export { OperationsOperations } from "./operations/index.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yCAAyC,EAAE,MAAM,4CAA4C,CAAC;AACvG,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/classic/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { OnlineExperimentationWorkspacesOperations } from \"./onlineExperimentationWorkspaces/index.js\";\nexport { OperationsOperations } from \"./operations/index.js\";\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnlineExperimentationContext } from "../../api/onlineExperimentationContext.js";
|
|
2
|
+
import { OnlineExperimentationWorkspace, OnlineExperimentationWorkspacePatch } from "../../models/models.js";
|
|
3
|
+
import { OnlineExperimentationWorkspacesListBySubscriptionOptionalParams, OnlineExperimentationWorkspacesListByResourceGroupOptionalParams, OnlineExperimentationWorkspacesDeleteOptionalParams, OnlineExperimentationWorkspacesUpdateOptionalParams, OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams, OnlineExperimentationWorkspacesGetOptionalParams } from "../../api/onlineExperimentationWorkspaces/options.js";
|
|
4
|
+
import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
|
|
5
|
+
import { PollerLike, OperationState } from "@azure/core-lro";
|
|
6
|
+
/** Interface representing a OnlineExperimentationWorkspaces operations. */
|
|
7
|
+
export interface OnlineExperimentationWorkspacesOperations {
|
|
8
|
+
/** Gets all online experimentation workspaces in the specified subscription. */
|
|
9
|
+
listBySubscription: (options?: OnlineExperimentationWorkspacesListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<OnlineExperimentationWorkspace>;
|
|
10
|
+
/** Gets all online experimentation workspaces in a resource group. */
|
|
11
|
+
listByResourceGroup: (resourceGroupName: string, options?: OnlineExperimentationWorkspacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<OnlineExperimentationWorkspace>;
|
|
12
|
+
/** Deletes an online experimentation workspace. */
|
|
13
|
+
/**
|
|
14
|
+
* @fixme delete is a reserved word that cannot be used as an operation name.
|
|
15
|
+
* Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
|
|
16
|
+
* to the operation to override the generated name.
|
|
17
|
+
*/
|
|
18
|
+
delete: (resourceGroupName: string, workspaceName: string, options?: OnlineExperimentationWorkspacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>;
|
|
19
|
+
/** Patch an online experimentation workspace. */
|
|
20
|
+
update: (resourceGroupName: string, workspaceName: string, properties: OnlineExperimentationWorkspacePatch, options?: OnlineExperimentationWorkspacesUpdateOptionalParams) => PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace>;
|
|
21
|
+
/** Create an online experimentation workspace, or update an existing workspace. */
|
|
22
|
+
createOrUpdate: (resourceGroupName: string, workspaceName: string, resource: OnlineExperimentationWorkspace, options?: OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace>;
|
|
23
|
+
/** Gets an online experimentation workspace. */
|
|
24
|
+
get: (resourceGroupName: string, workspaceName: string, options?: OnlineExperimentationWorkspacesGetOptionalParams) => Promise<OnlineExperimentationWorkspace>;
|
|
25
|
+
}
|
|
26
|
+
export declare function _getOnlineExperimentationWorkspacesOperations(context: OnlineExperimentationContext): OnlineExperimentationWorkspacesOperations;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/onlineExperimentationWorkspaces/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EACL,8BAA8B,EAC9B,mCAAmC,EACpC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,+DAA+D,EAC/D,gEAAgE,EAChE,mDAAmD,EACnD,mDAAmD,EACnD,2DAA2D,EAC3D,gDAAgD,EACjD,MAAM,sDAAsD,CAAC;AAS9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,2EAA2E;AAC3E,MAAM,WAAW,yCAAyC;IACxD,gFAAgF;IAChF,kBAAkB,EAAE,CAClB,OAAO,CAAC,EAAE,+DAA+D,KACtE,0BAA0B,CAAC,8BAA8B,CAAC,CAAC;IAChE,sEAAsE;IACtE,mBAAmB,EAAE,CACnB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,gEAAgE,KACvE,0BAA0B,CAAC,8BAA8B,CAAC,CAAC;IAChE,mDAAmD;IACnD;;;;OAIG;IACH,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,mDAAmD,KAC1D,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAC5C,iDAAiD;IACjD,MAAM,EAAE,CACN,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,mCAAmC,EAC/C,OAAO,CAAC,EAAE,mDAAmD,KAC1D,UAAU,CAAC,cAAc,CAAC,8BAA8B,CAAC,EAAE,8BAA8B,CAAC,CAAC;IAChG,mFAAmF;IACnF,cAAc,EAAE,CACd,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,QAAQ,EAAE,8BAA8B,EACxC,OAAO,CAAC,EAAE,2DAA2D,KAClE,UAAU,CAAC,cAAc,CAAC,8BAA8B,CAAC,EAAE,8BAA8B,CAAC,CAAC;IAChG,gDAAgD;IAChD,GAAG,EAAE,CACH,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,gDAAgD,KACvD,OAAO,CAAC,8BAA8B,CAAC,CAAC;CAC9C;AAoCD,wBAAgB,6CAA6C,CAC3D,OAAO,EAAE,4BAA4B,GACpC,yCAAyC,CAI3C"}
|
package/dist/browser/classic/{onlineExperimentWorkspaces → onlineExperimentationWorkspaces}/index.js
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
-
import { listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "../../api/
|
|
4
|
-
function
|
|
3
|
+
import { listBySubscription, listByResourceGroup, $delete, update, createOrUpdate, get, } from "../../api/onlineExperimentationWorkspaces/operations.js";
|
|
4
|
+
function _getOnlineExperimentationWorkspaces(context) {
|
|
5
5
|
return {
|
|
6
6
|
listBySubscription: (options) => listBySubscription(context, options),
|
|
7
7
|
listByResourceGroup: (resourceGroupName, options) => listByResourceGroup(context, resourceGroupName, options),
|
|
@@ -11,7 +11,7 @@ function _getOnlineExperimentWorkspaces(context) {
|
|
|
11
11
|
get: (resourceGroupName, workspaceName, options) => get(context, resourceGroupName, workspaceName, options),
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
export function
|
|
15
|
-
return Object.assign({},
|
|
14
|
+
export function _getOnlineExperimentationWorkspacesOperations(context) {
|
|
15
|
+
return Object.assign({}, _getOnlineExperimentationWorkspaces(context));
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/onlineExperimentationWorkspaces/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAelC,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,yDAAyD,CAAC;AAgDjE,SAAS,mCAAmC,CAAC,OAAqC;IAChF,OAAO;QACL,kBAAkB,EAAE,CAClB,OAAyE,EACzE,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,OAAO,CAAC;QACzC,mBAAmB,EAAE,CACnB,iBAAyB,EACzB,OAA0E,EAC1E,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC;QAC7D,MAAM,EAAE,CACN,iBAAyB,EACzB,aAAqB,EACrB,OAA6D,EAC7D,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC;QAChE,MAAM,EAAE,CACN,iBAAyB,EACzB,aAAqB,EACrB,UAA+C,EAC/C,OAA6D,EAC7D,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,UAAU,EAAE,OAAO,CAAC;QAC3E,cAAc,EAAE,CACd,iBAAyB,EACzB,aAAqB,EACrB,QAAwC,EACxC,OAAqE,EACrE,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,QAAQ,EAAE,OAAO,CAAC;QACjF,GAAG,EAAE,CACH,iBAAyB,EACzB,aAAqB,EACrB,OAA0D,EAC1D,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC;KAC7D,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,6CAA6C,CAC3D,OAAqC;IAErC,yBACK,mCAAmC,CAAC,OAAO,CAAC,EAC/C;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OnlineExperimentationContext } from \"../../api/onlineExperimentationContext.js\";\nimport {\n OnlineExperimentationWorkspace,\n OnlineExperimentationWorkspacePatch,\n} from \"../../models/models.js\";\nimport {\n OnlineExperimentationWorkspacesListBySubscriptionOptionalParams,\n OnlineExperimentationWorkspacesListByResourceGroupOptionalParams,\n OnlineExperimentationWorkspacesDeleteOptionalParams,\n OnlineExperimentationWorkspacesUpdateOptionalParams,\n OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams,\n OnlineExperimentationWorkspacesGetOptionalParams,\n} from \"../../api/onlineExperimentationWorkspaces/options.js\";\nimport {\n listBySubscription,\n listByResourceGroup,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"../../api/onlineExperimentationWorkspaces/operations.js\";\nimport { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a OnlineExperimentationWorkspaces operations. */\nexport interface OnlineExperimentationWorkspacesOperations {\n /** Gets all online experimentation workspaces in the specified subscription. */\n listBySubscription: (\n options?: OnlineExperimentationWorkspacesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<OnlineExperimentationWorkspace>;\n /** Gets all online experimentation workspaces in a resource group. */\n listByResourceGroup: (\n resourceGroupName: string,\n options?: OnlineExperimentationWorkspacesListByResourceGroupOptionalParams,\n ) => PagedAsyncIterableIterator<OnlineExperimentationWorkspace>;\n /** Deletes an online experimentation workspace. */\n /**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\n delete: (\n resourceGroupName: string,\n workspaceName: string,\n options?: OnlineExperimentationWorkspacesDeleteOptionalParams,\n ) => PollerLike<OperationState<void>, void>;\n /** Patch an online experimentation workspace. */\n update: (\n resourceGroupName: string,\n workspaceName: string,\n properties: OnlineExperimentationWorkspacePatch,\n options?: OnlineExperimentationWorkspacesUpdateOptionalParams,\n ) => PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace>;\n /** Create an online experimentation workspace, or update an existing workspace. */\n createOrUpdate: (\n resourceGroupName: string,\n workspaceName: string,\n resource: OnlineExperimentationWorkspace,\n options?: OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<OnlineExperimentationWorkspace>, OnlineExperimentationWorkspace>;\n /** Gets an online experimentation workspace. */\n get: (\n resourceGroupName: string,\n workspaceName: string,\n options?: OnlineExperimentationWorkspacesGetOptionalParams,\n ) => Promise<OnlineExperimentationWorkspace>;\n}\n\nfunction _getOnlineExperimentationWorkspaces(context: OnlineExperimentationContext) {\n return {\n listBySubscription: (\n options?: OnlineExperimentationWorkspacesListBySubscriptionOptionalParams,\n ) => listBySubscription(context, options),\n listByResourceGroup: (\n resourceGroupName: string,\n options?: OnlineExperimentationWorkspacesListByResourceGroupOptionalParams,\n ) => listByResourceGroup(context, resourceGroupName, options),\n delete: (\n resourceGroupName: string,\n workspaceName: string,\n options?: OnlineExperimentationWorkspacesDeleteOptionalParams,\n ) => $delete(context, resourceGroupName, workspaceName, options),\n update: (\n resourceGroupName: string,\n workspaceName: string,\n properties: OnlineExperimentationWorkspacePatch,\n options?: OnlineExperimentationWorkspacesUpdateOptionalParams,\n ) => update(context, resourceGroupName, workspaceName, properties, options),\n createOrUpdate: (\n resourceGroupName: string,\n workspaceName: string,\n resource: OnlineExperimentationWorkspace,\n options?: OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams,\n ) => createOrUpdate(context, resourceGroupName, workspaceName, resource, options),\n get: (\n resourceGroupName: string,\n workspaceName: string,\n options?: OnlineExperimentationWorkspacesGetOptionalParams,\n ) => get(context, resourceGroupName, workspaceName, options),\n };\n}\n\nexport function _getOnlineExperimentationWorkspacesOperations(\n context: OnlineExperimentationContext,\n): OnlineExperimentationWorkspacesOperations {\n return {\n ..._getOnlineExperimentationWorkspaces(context),\n };\n}\n"]}
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
|
|
2
2
|
export { OnlineExperimentationClient } from "./onlineExperimentationClient.js";
|
|
3
3
|
export { restorePoller, RestorePollerOptions } from "./restorePollerHelpers.js";
|
|
4
|
-
export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo,
|
|
4
|
+
export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, OnlineExperimentationWorkspace, OnlineExperimentationWorkspaceProperties, KnownResourceProvisioningState, ResourceProvisioningState, ResourceEncryptionConfiguration, CustomerManagedKeyEncryption, KeyEncryptionKeyIdentity, KnownKeyEncryptionKeyIdentityType, KeyEncryptionKeyIdentityType, ManagedServiceIdentity, KnownManagedServiceIdentityType, ManagedServiceIdentityType, UserAssignedIdentity, OnlineExperimentationWorkspaceSku, KnownOnlineExperimentationWorkspaceSkuName, OnlineExperimentationWorkspaceSkuName, KnownOnlineExperimentationWorkspaceSkuTier, OnlineExperimentationWorkspaceSkuTier, TrackedResource, Resource, SystemData, KnownCreatedByType, CreatedByType, OnlineExperimentationWorkspacePatch, KnownVersions, } from "./models/index.js";
|
|
5
5
|
export { OnlineExperimentationClientOptionalParams } from "./api/index.js";
|
|
6
|
-
export {
|
|
6
|
+
export { OnlineExperimentationWorkspacesListBySubscriptionOptionalParams, OnlineExperimentationWorkspacesListByResourceGroupOptionalParams, OnlineExperimentationWorkspacesDeleteOptionalParams, OnlineExperimentationWorkspacesUpdateOptionalParams, OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams, OnlineExperimentationWorkspacesGetOptionalParams, } from "./api/onlineExperimentationWorkspaces/index.js";
|
|
7
7
|
export { OperationsListOptionalParams } from "./api/operations/index.js";
|
|
8
|
-
export {
|
|
8
|
+
export { OnlineExperimentationWorkspacesOperations, OperationsOperations, } from "./classic/index.js";
|
|
9
9
|
export { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,YAAY,EACZ,eAAe,EACf,0BAA0B,EAC3B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,YAAY,EACZ,eAAe,EACf,0BAA0B,EAC3B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAChF,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,8BAA8B,EAC9B,wCAAwC,EACxC,8BAA8B,EAC9B,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,EACxB,iCAAiC,EACjC,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAC/B,0BAA0B,EAC1B,oBAAoB,EACpB,iCAAiC,EACjC,0CAA0C,EAC1C,qCAAqC,EACrC,0CAA0C,EAC1C,qCAAqC,EACrC,eAAe,EACf,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,mCAAmC,EACnC,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,yCAAyC,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EACL,+DAA+D,EAC/D,gEAAgE,EAChE,mDAAmD,EACnD,mDAAmD,EACnD,2DAA2D,EAC3D,gDAAgD,GACjD,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EACL,yCAAyC,EACzC,oBAAoB,GACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,0BAA0B,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAwB,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,8BAA8B,EAK9B,iCAAiC,EAGjC,+BAA+B,EAI/B,0CAA0C,EAE1C,0CAA0C,EAK1C,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAwB,MAAM,2BAA2B,CAAC;AAChF,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,8BAA8B,EAK9B,iCAAiC,EAGjC,+BAA+B,EAI/B,0CAA0C,EAE1C,0CAA0C,EAK1C,kBAAkB,EAGlB,aAAa,GACd,MAAM,mBAAmB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { OnlineExperimentationClient } from \"./onlineExperimentationClient.js\";\nexport { restorePoller, RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport {\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n OnlineExperimentationWorkspace,\n OnlineExperimentationWorkspaceProperties,\n KnownResourceProvisioningState,\n ResourceProvisioningState,\n ResourceEncryptionConfiguration,\n CustomerManagedKeyEncryption,\n KeyEncryptionKeyIdentity,\n KnownKeyEncryptionKeyIdentityType,\n KeyEncryptionKeyIdentityType,\n ManagedServiceIdentity,\n KnownManagedServiceIdentityType,\n ManagedServiceIdentityType,\n UserAssignedIdentity,\n OnlineExperimentationWorkspaceSku,\n KnownOnlineExperimentationWorkspaceSkuName,\n OnlineExperimentationWorkspaceSkuName,\n KnownOnlineExperimentationWorkspaceSkuTier,\n OnlineExperimentationWorkspaceSkuTier,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n OnlineExperimentationWorkspacePatch,\n KnownVersions,\n} from \"./models/index.js\";\nexport { OnlineExperimentationClientOptionalParams } from \"./api/index.js\";\nexport {\n OnlineExperimentationWorkspacesListBySubscriptionOptionalParams,\n OnlineExperimentationWorkspacesListByResourceGroupOptionalParams,\n OnlineExperimentationWorkspacesDeleteOptionalParams,\n OnlineExperimentationWorkspacesUpdateOptionalParams,\n OnlineExperimentationWorkspacesCreateOrUpdateOptionalParams,\n OnlineExperimentationWorkspacesGetOptionalParams,\n} from \"./api/onlineExperimentationWorkspaces/index.js\";\nexport { OperationsListOptionalParams } from \"./api/operations/index.js\";\nexport {\n OnlineExperimentationWorkspacesOperations,\n OperationsOperations,\n} from \"./classic/index.js\";\nexport { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo,
|
|
1
|
+
export { Operation, OperationDisplay, KnownOrigin, Origin, KnownActionType, ActionType, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, OnlineExperimentationWorkspace, OnlineExperimentationWorkspaceProperties, KnownResourceProvisioningState, ResourceProvisioningState, ResourceEncryptionConfiguration, CustomerManagedKeyEncryption, KeyEncryptionKeyIdentity, KnownKeyEncryptionKeyIdentityType, KeyEncryptionKeyIdentityType, ManagedServiceIdentity, KnownManagedServiceIdentityType, ManagedServiceIdentityType, UserAssignedIdentity, OnlineExperimentationWorkspaceSku, KnownOnlineExperimentationWorkspaceSkuName, OnlineExperimentationWorkspaceSkuName, KnownOnlineExperimentationWorkspaceSkuTier, OnlineExperimentationWorkspaceSkuTier, TrackedResource, Resource, SystemData, KnownCreatedByType, CreatedByType, OnlineExperimentationWorkspacePatch, KnownVersions, } from "./models.js";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,WAAW,EACX,MAAM,EACN,eAAe,EACf,UAAU,EACV,aAAa,EACb,WAAW,EACX,mBAAmB,EACnB,8BAA8B,EAC9B,wCAAwC,EACxC,8BAA8B,EAC9B,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,EACxB,iCAAiC,EACjC,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAC/B,0BAA0B,EAC1B,oBAAoB,EACpB,iCAAiC,EACjC,0CAA0C,EAC1C,qCAAqC,EACrC,0CAA0C,EAC1C,qCAAqC,EACrC,eAAe,EACf,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,aAAa,EACb,mCAAmC,EACnC,aAAa,GACd,MAAM,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,8BAA8B,EAK9B,iCAAiC,EAGjC,+BAA+B,EAI/B,0CAA0C,EAE1C,0CAA0C,EAK1C,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAGL,WAAW,EAEX,eAAe,EAOf,8BAA8B,EAK9B,iCAAiC,EAGjC,+BAA+B,EAI/B,0CAA0C,EAE1C,0CAA0C,EAK1C,kBAAkB,EAGlB,aAAa,GACd,MAAM,aAAa,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n Operation,\n OperationDisplay,\n KnownOrigin,\n Origin,\n KnownActionType,\n ActionType,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n OnlineExperimentationWorkspace,\n OnlineExperimentationWorkspaceProperties,\n KnownResourceProvisioningState,\n ResourceProvisioningState,\n ResourceEncryptionConfiguration,\n CustomerManagedKeyEncryption,\n KeyEncryptionKeyIdentity,\n KnownKeyEncryptionKeyIdentityType,\n KeyEncryptionKeyIdentityType,\n ManagedServiceIdentity,\n KnownManagedServiceIdentityType,\n ManagedServiceIdentityType,\n UserAssignedIdentity,\n OnlineExperimentationWorkspaceSku,\n KnownOnlineExperimentationWorkspaceSkuName,\n OnlineExperimentationWorkspaceSkuName,\n KnownOnlineExperimentationWorkspaceSkuTier,\n OnlineExperimentationWorkspaceSkuTier,\n TrackedResource,\n Resource,\n SystemData,\n KnownCreatedByType,\n CreatedByType,\n OnlineExperimentationWorkspacePatch,\n KnownVersions,\n} from \"./models.js\";\n"]}
|
|
@@ -99,36 +99,36 @@ export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditio
|
|
|
99
99
|
export interface _ErrorAdditionalInfoInfo {
|
|
100
100
|
}
|
|
101
101
|
export declare function _errorAdditionalInfoInfoDeserializer(item: any): _ErrorAdditionalInfoInfo;
|
|
102
|
-
/** An online
|
|
103
|
-
export interface
|
|
102
|
+
/** An online experimentation workspace resource. */
|
|
103
|
+
export interface OnlineExperimentationWorkspace extends TrackedResource {
|
|
104
104
|
/** The resource-specific properties for this resource. */
|
|
105
|
-
properties?:
|
|
105
|
+
properties?: OnlineExperimentationWorkspaceProperties;
|
|
106
106
|
/** The managed service identities assigned to this resource. */
|
|
107
107
|
identity?: ManagedServiceIdentity;
|
|
108
108
|
/** The SKU (Stock Keeping Unit) assigned to this resource. */
|
|
109
109
|
sku?: OnlineExperimentationWorkspaceSku;
|
|
110
110
|
}
|
|
111
|
-
export declare function
|
|
112
|
-
export declare function
|
|
113
|
-
/** The properties of an online
|
|
114
|
-
export interface
|
|
111
|
+
export declare function onlineExperimentationWorkspaceSerializer(item: OnlineExperimentationWorkspace): any;
|
|
112
|
+
export declare function onlineExperimentationWorkspaceDeserializer(item: any): OnlineExperimentationWorkspace;
|
|
113
|
+
/** The properties of an online experimentation workspace. */
|
|
114
|
+
export interface OnlineExperimentationWorkspaceProperties {
|
|
115
115
|
/** The Id of the workspace. */
|
|
116
116
|
readonly workspaceId?: string;
|
|
117
117
|
/** The provisioning state for the resource */
|
|
118
118
|
readonly provisioningState?: ResourceProvisioningState;
|
|
119
|
-
/** The resource identifier of the Log Analytics workspace which online
|
|
119
|
+
/** The resource identifier of the Log Analytics workspace which online experimentation workspace uses for generating experiment analysis results. */
|
|
120
120
|
logAnalyticsWorkspaceResourceId: string;
|
|
121
|
-
/** The resource identifier of storage account where logs are exported from Log Analytics workspace.
|
|
121
|
+
/** The resource identifier of storage account where logs are exported from Log Analytics workspace. online experimentation workspace uses it generating experiment analysis results. */
|
|
122
122
|
logsExporterStorageAccountResourceId: string;
|
|
123
|
-
/** The resource identifier of App Configuration with which this online
|
|
123
|
+
/** The resource identifier of App Configuration with which this online experimentation workspace is tied for experimentation. This is a required field for creating an online experimentation workspace. */
|
|
124
124
|
appConfigurationResourceId: string;
|
|
125
|
-
/** The encryption configuration for the online
|
|
125
|
+
/** The encryption configuration for the online experimentation workspace resource. */
|
|
126
126
|
encryption?: ResourceEncryptionConfiguration;
|
|
127
|
-
/** The data plane endpoint for the online
|
|
127
|
+
/** The data plane endpoint for the online experimentation workspace resource. */
|
|
128
128
|
readonly endpoint?: string;
|
|
129
129
|
}
|
|
130
|
-
export declare function
|
|
131
|
-
export declare function
|
|
130
|
+
export declare function onlineExperimentationWorkspacePropertiesSerializer(item: OnlineExperimentationWorkspaceProperties): any;
|
|
131
|
+
export declare function onlineExperimentationWorkspacePropertiesDeserializer(item: any): OnlineExperimentationWorkspaceProperties;
|
|
132
132
|
/** The provisioning state of a resource type. */
|
|
133
133
|
export declare enum KnownResourceProvisioningState {
|
|
134
134
|
/** Resource has been created. */
|
|
@@ -148,7 +148,7 @@ export declare enum KnownResourceProvisioningState {
|
|
|
148
148
|
* **Canceled**: Resource creation was canceled.
|
|
149
149
|
*/
|
|
150
150
|
export type ResourceProvisioningState = string;
|
|
151
|
-
/** The encryption configuration for the online
|
|
151
|
+
/** The encryption configuration for the online experimentation workspace resource. */
|
|
152
152
|
export interface ResourceEncryptionConfiguration {
|
|
153
153
|
/** All Customer-managed key encryption properties for the resource. */
|
|
154
154
|
customerManagedKeyEncryption?: CustomerManagedKeyEncryption;
|
|
@@ -228,10 +228,10 @@ export declare enum KnownManagedServiceIdentityType {
|
|
|
228
228
|
export type ManagedServiceIdentityType = string;
|
|
229
229
|
/** User assigned identity properties */
|
|
230
230
|
export interface UserAssignedIdentity {
|
|
231
|
-
/** The client ID of the assigned identity. */
|
|
232
|
-
readonly clientId?: string;
|
|
233
231
|
/** The principal ID of the assigned identity. */
|
|
234
232
|
readonly principalId?: string;
|
|
233
|
+
/** The client ID of the assigned identity. */
|
|
234
|
+
readonly clientId?: string;
|
|
235
235
|
}
|
|
236
236
|
export declare function userAssignedIdentitySerializer(item: UserAssignedIdentity): any;
|
|
237
237
|
export declare function userAssignedIdentityDeserializer(item: any): UserAssignedIdentity;
|
|
@@ -348,16 +348,42 @@ export declare enum KnownCreatedByType {
|
|
|
348
348
|
* **Key**: The entity was created by a key.
|
|
349
349
|
*/
|
|
350
350
|
export type CreatedByType = string;
|
|
351
|
-
/**
|
|
352
|
-
export interface
|
|
353
|
-
/** The
|
|
354
|
-
|
|
351
|
+
/** Partial update of an online experimentation workspace resource. */
|
|
352
|
+
export interface OnlineExperimentationWorkspacePatch {
|
|
353
|
+
/** The managed service identities assigned to this resource. */
|
|
354
|
+
identity?: ManagedServiceIdentity;
|
|
355
|
+
/** Resource tags. */
|
|
356
|
+
tags?: Record<string, string>;
|
|
357
|
+
/** The SKU (Stock Keeping Unit) assigned to this resource. */
|
|
358
|
+
sku?: OnlineExperimentationWorkspaceSku;
|
|
359
|
+
/** Updatable properties of the online experimentation workspace resource. */
|
|
360
|
+
properties?: {
|
|
361
|
+
logAnalyticsWorkspaceResourceId?: string;
|
|
362
|
+
logsExporterStorageAccountResourceId?: string;
|
|
363
|
+
encryption?: ResourceEncryptionConfiguration;
|
|
364
|
+
};
|
|
365
|
+
}
|
|
366
|
+
export declare function onlineExperimentationWorkspacePatchSerializer(item: OnlineExperimentationWorkspacePatch): any;
|
|
367
|
+
/** model interface _OnlineExperimentationWorkspacePatchProperties */
|
|
368
|
+
export interface _OnlineExperimentationWorkspacePatchProperties {
|
|
369
|
+
/** The resource identifier of the Log Analytics workspace which online experimentation workspace uses for generating experiment analysis results. */
|
|
370
|
+
logAnalyticsWorkspaceResourceId?: string;
|
|
371
|
+
/** The resource identifier of storage account where logs are exported from Log Analytics workspace. online experimentation workspace uses it generating experiment analysis results. */
|
|
372
|
+
logsExporterStorageAccountResourceId?: string;
|
|
373
|
+
/** The encryption configuration for the online experimentation workspace resource. */
|
|
374
|
+
encryption?: ResourceEncryptionConfiguration;
|
|
375
|
+
}
|
|
376
|
+
export declare function _onlineExperimentationWorkspacePatchPropertiesSerializer(item: _OnlineExperimentationWorkspacePatchProperties): any;
|
|
377
|
+
/** The response of a OnlineExperimentationWorkspace list operation. */
|
|
378
|
+
export interface _OnlineExperimentationWorkspaceListResult {
|
|
379
|
+
/** The OnlineExperimentationWorkspace items on this page */
|
|
380
|
+
value: OnlineExperimentationWorkspace[];
|
|
355
381
|
/** The link to the next page of items */
|
|
356
382
|
nextLink?: string;
|
|
357
383
|
}
|
|
358
|
-
export declare function
|
|
359
|
-
export declare function
|
|
360
|
-
export declare function
|
|
384
|
+
export declare function _onlineExperimentationWorkspaceListResultDeserializer(item: any): _OnlineExperimentationWorkspaceListResult;
|
|
385
|
+
export declare function onlineExperimentationWorkspaceArraySerializer(result: Array<OnlineExperimentationWorkspace>): any[];
|
|
386
|
+
export declare function onlineExperimentationWorkspaceArrayDeserializer(result: Array<OnlineExperimentationWorkspace>): any[];
|
|
361
387
|
/** The available API versions. */
|
|
362
388
|
export declare enum KnownVersions {
|
|
363
389
|
/** 2025-05-31-preview version */
|