@azure-rest/developer-devcenter 1.0.1-alpha.20241217.1 → 1.0.1-alpha.20241219.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 +83 -0
- package/LICENSE +1 -1
- package/dist/browser/azureDeveloperDevCenter.d.ts +6 -1
- package/dist/browser/azureDeveloperDevCenter.d.ts.map +1 -1
- package/dist/browser/azureDeveloperDevCenter.js +19 -5
- package/dist/browser/azureDeveloperDevCenter.js.map +1 -1
- package/dist/browser/models.d.ts +12 -8
- package/dist/browser/models.d.ts.map +1 -1
- package/dist/browser/models.js.map +1 -1
- package/dist/browser/outputModels.d.ts +176 -59
- package/dist/browser/outputModels.d.ts.map +1 -1
- package/dist/browser/outputModels.js.map +1 -1
- package/dist/browser/paginateHelper.d.ts +27 -2
- package/dist/browser/paginateHelper.d.ts.map +1 -1
- package/dist/browser/paginateHelper.js +98 -1
- package/dist/browser/paginateHelper.js.map +1 -1
- package/dist/browser/parameters.d.ts +2 -2
- package/dist/browser/parameters.d.ts.map +1 -1
- package/dist/browser/parameters.js.map +1 -1
- package/dist/commonjs/azureDeveloperDevCenter.d.ts +6 -1
- package/dist/commonjs/azureDeveloperDevCenter.d.ts.map +1 -1
- package/dist/commonjs/azureDeveloperDevCenter.js +19 -5
- package/dist/commonjs/azureDeveloperDevCenter.js.map +1 -1
- package/dist/commonjs/models.d.ts +12 -8
- package/dist/commonjs/models.d.ts.map +1 -1
- package/dist/commonjs/models.js.map +1 -1
- package/dist/commonjs/outputModels.d.ts +176 -59
- package/dist/commonjs/outputModels.d.ts.map +1 -1
- package/dist/commonjs/outputModels.js.map +1 -1
- package/dist/commonjs/paginateHelper.d.ts +27 -2
- package/dist/commonjs/paginateHelper.d.ts.map +1 -1
- package/dist/commonjs/paginateHelper.js +99 -2
- package/dist/commonjs/paginateHelper.js.map +1 -1
- package/dist/commonjs/parameters.d.ts +2 -2
- package/dist/commonjs/parameters.d.ts.map +1 -1
- package/dist/commonjs/parameters.js.map +1 -1
- package/dist/esm/azureDeveloperDevCenter.d.ts +6 -1
- package/dist/esm/azureDeveloperDevCenter.d.ts.map +1 -1
- package/dist/esm/azureDeveloperDevCenter.js +19 -5
- package/dist/esm/azureDeveloperDevCenter.js.map +1 -1
- package/dist/esm/models.d.ts +12 -8
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/models.js.map +1 -1
- package/dist/esm/outputModels.d.ts +176 -59
- package/dist/esm/outputModels.d.ts.map +1 -1
- package/dist/esm/outputModels.js.map +1 -1
- package/dist/esm/paginateHelper.d.ts +27 -2
- package/dist/esm/paginateHelper.d.ts.map +1 -1
- package/dist/esm/paginateHelper.js +98 -1
- package/dist/esm/paginateHelper.js.map +1 -1
- package/dist/esm/parameters.d.ts +2 -2
- package/dist/esm/parameters.d.ts.map +1 -1
- package/dist/esm/parameters.js.map +1 -1
- package/dist/react-native/azureDeveloperDevCenter.d.ts +6 -1
- package/dist/react-native/azureDeveloperDevCenter.d.ts.map +1 -1
- package/dist/react-native/azureDeveloperDevCenter.js +19 -5
- package/dist/react-native/azureDeveloperDevCenter.js.map +1 -1
- package/dist/react-native/models.d.ts +12 -8
- package/dist/react-native/models.d.ts.map +1 -1
- package/dist/react-native/models.js.map +1 -1
- package/dist/react-native/outputModels.d.ts +176 -59
- package/dist/react-native/outputModels.d.ts.map +1 -1
- package/dist/react-native/outputModels.js.map +1 -1
- package/dist/react-native/paginateHelper.d.ts +27 -2
- package/dist/react-native/paginateHelper.d.ts.map +1 -1
- package/dist/react-native/paginateHelper.js +98 -1
- package/dist/react-native/paginateHelper.js.map +1 -1
- package/dist/react-native/parameters.d.ts +2 -2
- package/dist/react-native/parameters.d.ts.map +1 -1
- package/dist/react-native/parameters.js.map +1 -1
- package/package.json +34 -40
- package/review/developer-devcenter.api.md +82 -37
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 1.0.1 (2024-12-16)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
- refresh @azure-rest/developer-devcenter sdk
|
|
8
|
+
|
|
9
|
+
## 1.0.0 (2024-07-08)
|
|
10
|
+
|
|
11
|
+
This release targets Azure Dev Center 2023-04-01 General Available API, which is the same version as the previous 1.0.0-beta.3 release.
|
|
12
|
+
|
|
13
|
+
### Features Added
|
|
14
|
+
|
|
15
|
+
- Added output types:
|
|
16
|
+
- DevBoxActionDelayResultStatusOutput
|
|
17
|
+
- DevBoxActionTypeOutput
|
|
18
|
+
- DevBoxProvisioningStateOutput
|
|
19
|
+
- EnvironmentProvisioningStateOutput
|
|
20
|
+
- EnvironmentTypeEnableStatusOutput
|
|
21
|
+
- HibernateSupportOutput
|
|
22
|
+
- LocalAdminStatusOutput
|
|
23
|
+
- OperationStateOutput
|
|
24
|
+
- OsTypeOutput
|
|
25
|
+
- ParameterTypeOutput
|
|
26
|
+
- PoolHealthStatusOutput
|
|
27
|
+
- PowerStateOutput
|
|
28
|
+
- ScheduledFrequencyOutput
|
|
29
|
+
- ScheduledTypeOutput
|
|
30
|
+
- SkuNameOutput
|
|
31
|
+
- StopOnDisconnectEnableStatusOutput
|
|
32
|
+
|
|
33
|
+
### Breaking Changes
|
|
34
|
+
|
|
35
|
+
- Rename interfaces to match operation names in Dev Center API documentation
|
|
36
|
+
- ListSchedules was renamed to ListSchedulesByPool
|
|
37
|
+
- GetSchedule was renamed to GetScheduleByPool
|
|
38
|
+
- ListDevBoxes was renamed to ListDevBoxesByUser
|
|
39
|
+
- GetDevBox was renamed to GetDevBoxByUser
|
|
40
|
+
- ListDevBoxActions was renamed to ListActions
|
|
41
|
+
- GetDevBoxAction was renamed to GetAction
|
|
42
|
+
- DelayAllActions was renamed to DelayActions
|
|
43
|
+
- ListAllEnvironments was renamed to ListEnvironments
|
|
44
|
+
- ListEnvironments was renamed to ListEnvironmentsByUser
|
|
45
|
+
- GetEnvironment was renamed to GetEnvironmentByUser
|
|
46
|
+
- CreateOrUpdateEnvironment was renamed to CreateOrReplaceEnvironment
|
|
47
|
+
- ListCatalogs was renamed to ListCatalogsByProject
|
|
48
|
+
- ListEnvironmentDefinitions was renamed to listEnvironmentDefinitionsByProject
|
|
49
|
+
|
|
50
|
+
## 1.0.0-beta.3 (2023-11-20)
|
|
51
|
+
This release updates the Azure DevCenter library to use the 2023-04-01 GA API.
|
|
52
|
+
|
|
53
|
+
### Breaking Changes
|
|
54
|
+
|
|
55
|
+
- Environments client now works with "environment definitions" instead of "catalog items"
|
|
56
|
+
- Creating a new environment requires passing `environmentDefinitionName` instead of `catalogItemName`
|
|
57
|
+
- Creating a new environment requires passing an additional parameter `catalogName`
|
|
58
|
+
|
|
59
|
+
## 1.0.0-beta.2 (2023-02-07)
|
|
60
|
+
|
|
61
|
+
This release updates the Azure DevCenter library to use the 2022-11-11-preview API.
|
|
62
|
+
|
|
63
|
+
### Breaking Changes
|
|
64
|
+
|
|
65
|
+
- `createClient` now accepts an endpoint URI on construction rather than tenant ID + dev center name.
|
|
66
|
+
|
|
67
|
+
### Features Added
|
|
68
|
+
|
|
69
|
+
- Added upcoming actions APIs to dev boxes.
|
|
70
|
+
- `/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions`
|
|
71
|
+
- `/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}`
|
|
72
|
+
- `/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}:skip`
|
|
73
|
+
- `/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/upcomingActions/{upcomingActionId}:delay`
|
|
74
|
+
|
|
75
|
+
### Bugs Fixed
|
|
76
|
+
- Invalid response types removed from `DeleteDevBox`, `StartDevBox`, and `StopDevBox` APIs.
|
|
77
|
+
- Invalid `DeleteEnvironmentAction` API removed from `EnvironmentsClient`.
|
|
78
|
+
- Unimplemented artifacts APIs removed from `EnvironmentsClient`.
|
|
79
|
+
|
|
80
|
+
## 1.0.0-beta.1 (2022-11-11)
|
|
81
|
+
|
|
82
|
+
### Features Added
|
|
83
|
+
Initial release of the Azure DevCenter package
|
package/LICENSE
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import type { ClientOptions } from "@azure-rest/core-client";
|
|
2
2
|
import type { TokenCredential } from "@azure/core-auth";
|
|
3
3
|
import type { AzureDeveloperDevCenterClient } from "./clientDefinitions.js";
|
|
4
|
+
/** The optional parameters for the client */
|
|
5
|
+
export interface AzureDeveloperDevCenterClientOptions extends ClientOptions {
|
|
6
|
+
/** The api version option of the client */
|
|
7
|
+
apiVersion?: string;
|
|
8
|
+
}
|
|
4
9
|
/**
|
|
5
10
|
* Initialize a new instance of `AzureDeveloperDevCenterClient`
|
|
6
11
|
* @param endpointParam - The DevCenter-specific URI to operate on.
|
|
7
12
|
* @param credentials - uniquely identify client credential
|
|
8
13
|
* @param options - the parameter for all optional parameters
|
|
9
14
|
*/
|
|
10
|
-
export default function createClient(endpointParam: string, credentials: TokenCredential, options?:
|
|
15
|
+
export default function createClient(endpointParam: string, credentials: TokenCredential, { apiVersion, ...options }?: AzureDeveloperDevCenterClientOptions): AzureDeveloperDevCenterClient;
|
|
11
16
|
//# sourceMappingURL=azureDeveloperDevCenter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureDeveloperDevCenter.d.ts","sourceRoot":"","sources":["../../src/azureDeveloperDevCenter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAE5E;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,eAAe,EAC5B,OAAO,GAAE,
|
|
1
|
+
{"version":3,"file":"azureDeveloperDevCenter.d.ts","sourceRoot":"","sources":["../../src/azureDeveloperDevCenter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAG7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAE5E,6CAA6C;AAC7C,MAAM,WAAW,oCAAqC,SAAQ,aAAa;IACzE,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,eAAe,EAC5B,EAAE,UAAyB,EAAE,GAAG,OAAO,EAAE,GAAE,oCAAyC,GACnF,6BAA6B,CAuC/B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT License.
|
|
3
|
+
import { __rest } from "tslib";
|
|
3
4
|
import { getClient } from "@azure-rest/core-client";
|
|
4
5
|
import { logger } from "./logger.js";
|
|
5
6
|
/**
|
|
@@ -8,11 +9,11 @@ import { logger } from "./logger.js";
|
|
|
8
9
|
* @param credentials - uniquely identify client credential
|
|
9
10
|
* @param options - the parameter for all optional parameters
|
|
10
11
|
*/
|
|
11
|
-
export default function createClient(endpointParam, credentials,
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const userAgentInfo = `azsdk-js-developer-devcenter-rest/1.0.
|
|
12
|
+
export default function createClient(endpointParam, credentials, _a = {}) {
|
|
13
|
+
var _b, _c, _d, _e, _f, _g;
|
|
14
|
+
var { apiVersion = "2023-04-01" } = _a, options = __rest(_a, ["apiVersion"]);
|
|
15
|
+
const endpointUrl = (_c = (_b = options.endpoint) !== null && _b !== void 0 ? _b : options.baseUrl) !== null && _c !== void 0 ? _c : `${endpointParam}`;
|
|
16
|
+
const userAgentInfo = `azsdk-js-developer-devcenter-rest/1.0.1`;
|
|
16
17
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
17
18
|
? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
|
|
18
19
|
: `${userAgentInfo}`;
|
|
@@ -24,6 +25,19 @@ export default function createClient(endpointParam, credentials, options = {}) {
|
|
|
24
25
|
scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : ["https://devcenter.azure.com/.default"],
|
|
25
26
|
} });
|
|
26
27
|
const client = getClient(endpointUrl, credentials, options);
|
|
28
|
+
client.pipeline.removePolicy({ name: "ApiVersionPolicy" });
|
|
29
|
+
client.pipeline.addPolicy({
|
|
30
|
+
name: "ClientApiVersionPolicy",
|
|
31
|
+
sendRequest: (req, next) => {
|
|
32
|
+
// Use the apiVersion defined in request url directly
|
|
33
|
+
// Append one if there is no apiVersion and we have one at client options
|
|
34
|
+
const url = new URL(req.url);
|
|
35
|
+
if (!url.searchParams.get("api-version") && apiVersion) {
|
|
36
|
+
req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
|
|
37
|
+
}
|
|
38
|
+
return next(req);
|
|
39
|
+
},
|
|
40
|
+
});
|
|
27
41
|
return client;
|
|
28
42
|
}
|
|
29
43
|
//# sourceMappingURL=azureDeveloperDevCenter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"azureDeveloperDevCenter.js","sourceRoot":"","sources":["../../src/azureDeveloperDevCenter.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC
|
|
1
|
+
{"version":3,"file":"azureDeveloperDevCenter.js","sourceRoot":"","sources":["../../src/azureDeveloperDevCenter.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAGlC,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAUrC;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,aAAqB,EACrB,WAA4B,EAC5B,KAAkF,EAAE;;QAApF,EAAE,UAAU,GAAG,YAAY,OAAyD,EAApD,OAAO,cAAvC,cAAyC,CAAF;IAEvC,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,GAAG,aAAa,EAAE,CAAC;IAC9E,MAAM,aAAa,GAAG,yCAAyC,CAAC;IAChE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;QAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,aAAa,EAAE;QAChE,CAAC,CAAC,GAAG,aAAa,EAAE,CAAC;IACzB,OAAO,mCACF,OAAO,KACV,gBAAgB,EAAE;YAChB,eAAe;SAChB,EACD,cAAc,EAAE;YACd,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI;SACtD,EACD,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI,CAAC,sCAAsC,CAAC;SAChF,GACF,CAAC;IACF,MAAM,MAAM,GAAG,SAAS,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,CAAkC,CAAC;IAE7F,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAC3D,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC;QACxB,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACzB,qDAAqD;YACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,UAAU,EAAE,CAAC;gBACvD,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ClientOptions } from \"@azure-rest/core-client\";\nimport { getClient } from \"@azure-rest/core-client\";\nimport { logger } from \"./logger.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { AzureDeveloperDevCenterClient } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface AzureDeveloperDevCenterClientOptions extends ClientOptions {\n /** The api version option of the client */\n apiVersion?: string;\n}\n\n/**\n * Initialize a new instance of `AzureDeveloperDevCenterClient`\n * @param endpointParam - The DevCenter-specific URI to operate on.\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n endpointParam: string,\n credentials: TokenCredential,\n { apiVersion = \"2023-04-01\", ...options }: AzureDeveloperDevCenterClientOptions = {},\n): AzureDeveloperDevCenterClient {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? `${endpointParam}`;\n const userAgentInfo = `azsdk-js-developer-devcenter-rest/1.0.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`\n : `${userAgentInfo}`;\n options = {\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n loggingOptions: {\n logger: options.loggingOptions?.logger ?? logger.info,\n },\n credentials: {\n scopes: options.credentials?.scopes ?? [\"https://devcenter.azure.com/.default\"],\n },\n };\n const client = getClient(endpointUrl, credentials, options) as AzureDeveloperDevCenterClient;\n\n client.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n client.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\") && apiVersion) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n\n return client;\n}\n"]}
|
package/dist/browser/models.d.ts
CHANGED
|
@@ -16,7 +16,11 @@ export interface ImageReference {
|
|
|
16
16
|
export interface DevBox {
|
|
17
17
|
/** The name of the Dev Box pool this machine belongs to. */
|
|
18
18
|
poolName: string;
|
|
19
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Indicates whether the owner of the Dev Box is a local administrator.
|
|
21
|
+
*
|
|
22
|
+
* Possible values: "Enabled", "Disabled"
|
|
23
|
+
*/
|
|
20
24
|
localAdministrator?: LocalAdminStatus;
|
|
21
25
|
}
|
|
22
26
|
/** Properties of an environment. */
|
|
@@ -31,17 +35,17 @@ export interface Environment {
|
|
|
31
35
|
environmentDefinitionName: string;
|
|
32
36
|
}
|
|
33
37
|
/** Alias for OsType */
|
|
34
|
-
export type OsType =
|
|
38
|
+
export type OsType = string;
|
|
35
39
|
/** Alias for SkuName */
|
|
36
|
-
export type SkuName =
|
|
40
|
+
export type SkuName = string;
|
|
37
41
|
/** Alias for HibernateSupport */
|
|
38
|
-
export type HibernateSupport =
|
|
42
|
+
export type HibernateSupport = string;
|
|
39
43
|
/** Alias for LocalAdminStatus */
|
|
40
|
-
export type LocalAdminStatus =
|
|
44
|
+
export type LocalAdminStatus = string;
|
|
41
45
|
/** Alias for DevBoxProvisioningState */
|
|
42
|
-
export type DevBoxProvisioningState =
|
|
46
|
+
export type DevBoxProvisioningState = string;
|
|
43
47
|
/** Alias for PowerState */
|
|
44
|
-
export type PowerState =
|
|
48
|
+
export type PowerState = string;
|
|
45
49
|
/** Alias for EnvironmentProvisioningState */
|
|
46
|
-
export type EnvironmentProvisioningState =
|
|
50
|
+
export type EnvironmentProvisioningState = string;
|
|
47
51
|
//# sourceMappingURL=models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAGA,+CAA+C;AAC/C,MAAM,WAAW,eAAe;CAAG;AAEnC,gDAAgD;AAChD,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,8CAA8C;AAC9C,MAAM,WAAW,MAAM;CAAG;AAE1B,kDAAkD;AAClD,MAAM,WAAW,cAAc;CAAG;AAElC,iBAAiB;AACjB,MAAM,WAAW,MAAM;IACrB,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAGA,+CAA+C;AAC/C,MAAM,WAAW,eAAe;CAAG;AAEnC,gDAAgD;AAChD,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,8CAA8C;AAC9C,MAAM,WAAW,MAAM;CAAG;AAE1B,kDAAkD;AAClD,MAAM,WAAW,cAAc;CAAG;AAElC,iBAAiB;AACjB,MAAM,WAAW,MAAM;IACrB,4DAA4D;IAC5D,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;CACvC;AAED,oCAAoC;AACpC,MAAM,WAAW,WAAW;IAC1B,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,wBAAwB;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,0CAA0C;IAC1C,yBAAyB,EAAE,MAAM,CAAC;CACnC;AAED,uBAAuB;AACvB,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,wBAAwB;AACxB,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAC7B,iCAAiC;AACjC,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACtC,iCAAiC;AACjC,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACtC,wCAAwC;AACxC,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC7C,2BAA2B;AAC3B,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,6CAA6C;AAC7C,MAAM,MAAM,4BAA4B,GAAG,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Hardware specifications for the Dev Box. */\nexport interface HardwareProfile {}\n\n/** Storage settings for the Dev Box's disks. */\nexport interface StorageProfile {\n /** Settings for the operating system disk. */\n osDisk?: OsDisk;\n}\n\n/** Settings for the operating system disk. */\nexport interface OsDisk {}\n\n/** Specifies information about the image used. */\nexport interface ImageReference {}\n\n/** A Dev Box. */\nexport interface DevBox {\n /** The name of the Dev Box pool this machine belongs to. */\n poolName: string;\n
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../src/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/** Hardware specifications for the Dev Box. */\nexport interface HardwareProfile {}\n\n/** Storage settings for the Dev Box's disks. */\nexport interface StorageProfile {\n /** Settings for the operating system disk. */\n osDisk?: OsDisk;\n}\n\n/** Settings for the operating system disk. */\nexport interface OsDisk {}\n\n/** Specifies information about the image used. */\nexport interface ImageReference {}\n\n/** A Dev Box. */\nexport interface DevBox {\n /** The name of the Dev Box pool this machine belongs to. */\n poolName: string;\n /**\n * Indicates whether the owner of the Dev Box is a local administrator.\n *\n * Possible values: \"Enabled\", \"Disabled\"\n */\n localAdministrator?: LocalAdminStatus;\n}\n\n/** Properties of an environment. */\nexport interface Environment {\n /** Parameters object for the environment. */\n parameters?: Record<string, unknown>;\n /** Environment type. */\n environmentType: string;\n /** Name of the catalog. */\n catalogName: string;\n /** Name of the environment definition. */\n environmentDefinitionName: string;\n}\n\n/** Alias for OsType */\nexport type OsType = string;\n/** Alias for SkuName */\nexport type SkuName = string;\n/** Alias for HibernateSupport */\nexport type HibernateSupport = string;\n/** Alias for LocalAdminStatus */\nexport type LocalAdminStatus = string;\n/** Alias for DevBoxProvisioningState */\nexport type DevBoxProvisioningState = string;\n/** Alias for PowerState */\nexport type PowerState = string;\n/** Alias for EnvironmentProvisioningState */\nexport type EnvironmentProvisioningState = string;\n"]}
|