@azure/arm-edgezones 1.0.0-alpha.20240731.1 → 1.0.0-beta.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 +13 -0
- package/README.md +0 -1
- package/dist/browser/api/extendedZones/index.d.ts +13 -13
- package/dist/browser/api/extendedZones/index.d.ts.map +1 -1
- package/dist/browser/api/extendedZones/index.js +19 -19
- package/dist/browser/api/extendedZones/index.js.map +1 -1
- package/dist/browser/api/index.d.ts +2 -0
- package/dist/browser/api/index.d.ts.map +1 -1
- package/dist/browser/api/index.js +2 -0
- package/dist/browser/api/index.js.map +1 -1
- package/dist/browser/api/operations/index.d.ts +4 -4
- package/dist/browser/api/operations/index.d.ts.map +1 -1
- package/dist/browser/api/operations/index.js +4 -7
- package/dist/browser/api/operations/index.js.map +1 -1
- package/dist/browser/classic/extendedZones/index.d.ts.map +1 -1
- package/dist/browser/classic/extendedZones/index.js +5 -5
- package/dist/browser/classic/extendedZones/index.js.map +1 -1
- package/dist/browser/classic/operations/index.js +2 -2
- package/dist/browser/classic/operations/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +5 -5
- package/dist/browser/models/models.d.ts.map +1 -1
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/rest/clientDefinitions.d.ts +17 -17
- package/dist/browser/rest/clientDefinitions.d.ts.map +1 -1
- package/dist/browser/rest/clientDefinitions.js.map +1 -1
- package/dist/browser/rest/edgeZonesClient.js +1 -1
- package/dist/browser/rest/edgeZonesClient.js.map +1 -1
- package/dist/browser/rest/isUnexpected.d.ts +6 -6
- package/dist/browser/rest/isUnexpected.d.ts.map +1 -1
- package/dist/browser/rest/isUnexpected.js.map +1 -1
- package/dist/browser/rest/outputModels.d.ts +45 -13
- package/dist/browser/rest/outputModels.d.ts.map +1 -1
- package/dist/browser/rest/outputModels.js.map +1 -1
- package/dist/browser/rest/parameters.d.ts +5 -5
- package/dist/browser/rest/parameters.d.ts.map +1 -1
- package/dist/browser/rest/parameters.js.map +1 -1
- package/dist/browser/rest/responses.d.ts +10 -10
- package/dist/browser/rest/responses.d.ts.map +1 -1
- package/dist/browser/rest/responses.js.map +1 -1
- package/dist/commonjs/api/extendedZones/index.d.ts +13 -13
- package/dist/commonjs/api/extendedZones/index.d.ts.map +1 -1
- package/dist/commonjs/api/extendedZones/index.js +31 -31
- package/dist/commonjs/api/extendedZones/index.js.map +1 -1
- package/dist/commonjs/api/index.d.ts +2 -0
- package/dist/commonjs/api/index.d.ts.map +1 -1
- package/dist/commonjs/api/index.js +8 -1
- package/dist/commonjs/api/index.js.map +1 -1
- package/dist/commonjs/api/operations/index.d.ts +4 -4
- package/dist/commonjs/api/operations/index.d.ts.map +1 -1
- package/dist/commonjs/api/operations/index.js +7 -10
- package/dist/commonjs/api/operations/index.js.map +1 -1
- package/dist/commonjs/classic/extendedZones/index.d.ts.map +1 -1
- package/dist/commonjs/classic/extendedZones/index.js +4 -4
- package/dist/commonjs/classic/extendedZones/index.js.map +1 -1
- package/dist/commonjs/classic/operations/index.js +1 -1
- package/dist/commonjs/classic/operations/index.js.map +1 -1
- package/dist/commonjs/models/models.d.ts +5 -5
- package/dist/commonjs/models/models.d.ts.map +1 -1
- package/dist/commonjs/models/models.js.map +1 -1
- package/dist/commonjs/rest/clientDefinitions.d.ts +17 -17
- package/dist/commonjs/rest/clientDefinitions.d.ts.map +1 -1
- package/dist/commonjs/rest/clientDefinitions.js.map +1 -1
- package/dist/commonjs/rest/edgeZonesClient.js +1 -1
- package/dist/commonjs/rest/edgeZonesClient.js.map +1 -1
- package/dist/commonjs/rest/isUnexpected.d.ts +6 -6
- package/dist/commonjs/rest/isUnexpected.d.ts.map +1 -1
- package/dist/commonjs/rest/isUnexpected.js.map +1 -1
- package/dist/commonjs/rest/outputModels.d.ts +45 -13
- package/dist/commonjs/rest/outputModels.d.ts.map +1 -1
- package/dist/commonjs/rest/outputModels.js.map +1 -1
- package/dist/commonjs/rest/parameters.d.ts +5 -5
- package/dist/commonjs/rest/parameters.d.ts.map +1 -1
- package/dist/commonjs/rest/parameters.js.map +1 -1
- package/dist/commonjs/rest/responses.d.ts +10 -10
- package/dist/commonjs/rest/responses.d.ts.map +1 -1
- package/dist/commonjs/rest/responses.js.map +1 -1
- package/dist/esm/api/extendedZones/index.d.ts +13 -13
- package/dist/esm/api/extendedZones/index.d.ts.map +1 -1
- package/dist/esm/api/extendedZones/index.js +19 -19
- package/dist/esm/api/extendedZones/index.js.map +1 -1
- package/dist/esm/api/index.d.ts +2 -0
- package/dist/esm/api/index.d.ts.map +1 -1
- package/dist/esm/api/index.js +2 -0
- package/dist/esm/api/index.js.map +1 -1
- package/dist/esm/api/operations/index.d.ts +4 -4
- package/dist/esm/api/operations/index.d.ts.map +1 -1
- package/dist/esm/api/operations/index.js +4 -7
- package/dist/esm/api/operations/index.js.map +1 -1
- package/dist/esm/classic/extendedZones/index.d.ts.map +1 -1
- package/dist/esm/classic/extendedZones/index.js +5 -5
- package/dist/esm/classic/extendedZones/index.js.map +1 -1
- package/dist/esm/classic/operations/index.js +2 -2
- package/dist/esm/classic/operations/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +5 -5
- package/dist/esm/models/models.d.ts.map +1 -1
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/rest/clientDefinitions.d.ts +17 -17
- package/dist/esm/rest/clientDefinitions.d.ts.map +1 -1
- package/dist/esm/rest/clientDefinitions.js.map +1 -1
- package/dist/esm/rest/edgeZonesClient.js +1 -1
- package/dist/esm/rest/edgeZonesClient.js.map +1 -1
- package/dist/esm/rest/isUnexpected.d.ts +6 -6
- package/dist/esm/rest/isUnexpected.d.ts.map +1 -1
- package/dist/esm/rest/isUnexpected.js.map +1 -1
- package/dist/esm/rest/outputModels.d.ts +45 -13
- package/dist/esm/rest/outputModels.d.ts.map +1 -1
- package/dist/esm/rest/outputModels.js.map +1 -1
- package/dist/esm/rest/parameters.d.ts +5 -5
- package/dist/esm/rest/parameters.d.ts.map +1 -1
- package/dist/esm/rest/parameters.js.map +1 -1
- package/dist/esm/rest/responses.d.ts +10 -10
- package/dist/esm/rest/responses.d.ts.map +1 -1
- package/dist/esm/rest/responses.js.map +1 -1
- package/dist/react-native/api/extendedZones/index.d.ts +13 -13
- package/dist/react-native/api/extendedZones/index.d.ts.map +1 -1
- package/dist/react-native/api/extendedZones/index.js +19 -19
- package/dist/react-native/api/extendedZones/index.js.map +1 -1
- package/dist/react-native/api/index.d.ts +2 -0
- package/dist/react-native/api/index.d.ts.map +1 -1
- package/dist/react-native/api/index.js +2 -0
- package/dist/react-native/api/index.js.map +1 -1
- package/dist/react-native/api/operations/index.d.ts +4 -4
- package/dist/react-native/api/operations/index.d.ts.map +1 -1
- package/dist/react-native/api/operations/index.js +4 -7
- package/dist/react-native/api/operations/index.js.map +1 -1
- package/dist/react-native/classic/extendedZones/index.d.ts.map +1 -1
- package/dist/react-native/classic/extendedZones/index.js +5 -5
- package/dist/react-native/classic/extendedZones/index.js.map +1 -1
- package/dist/react-native/classic/operations/index.js +2 -2
- package/dist/react-native/classic/operations/index.js.map +1 -1
- package/dist/react-native/models/models.d.ts +5 -5
- package/dist/react-native/models/models.d.ts.map +1 -1
- package/dist/react-native/models/models.js.map +1 -1
- package/dist/react-native/rest/clientDefinitions.d.ts +17 -17
- package/dist/react-native/rest/clientDefinitions.d.ts.map +1 -1
- package/dist/react-native/rest/clientDefinitions.js.map +1 -1
- package/dist/react-native/rest/edgeZonesClient.js +1 -1
- package/dist/react-native/rest/edgeZonesClient.js.map +1 -1
- package/dist/react-native/rest/isUnexpected.d.ts +6 -6
- package/dist/react-native/rest/isUnexpected.d.ts.map +1 -1
- package/dist/react-native/rest/isUnexpected.js.map +1 -1
- package/dist/react-native/rest/outputModels.d.ts +45 -13
- package/dist/react-native/rest/outputModels.d.ts.map +1 -1
- package/dist/react-native/rest/outputModels.js.map +1 -1
- package/dist/react-native/rest/parameters.d.ts +5 -5
- package/dist/react-native/rest/parameters.d.ts.map +1 -1
- package/dist/react-native/rest/parameters.js.map +1 -1
- package/dist/react-native/rest/responses.d.ts +10 -10
- package/dist/react-native/rest/responses.d.ts.map +1 -1
- package/dist/react-native/rest/responses.js.map +1 -1
- package/package.json +7 -52
- package/review/arm-edgezones-api.api.md +16 -0
- package/review/arm-edgezones-models.api.md +5 -5
- package/review/arm-edgezones.api.md +5 -5
- package/review/arm-edgezones-api-extendedZones.api.md +0 -52
- package/review/arm-edgezones-api-operations.api.md +0 -25
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { OperationsListParameters, ExtendedZonesGetParameters, ExtendedZonesListBySubscriptionParameters, ExtendedZonesRegisterParameters, ExtendedZonesUnregisterParameters } from "./parameters.js";
|
|
2
|
+
import { OperationsList200Response, OperationsListDefaultResponse, ExtendedZonesGet200Response, ExtendedZonesGetDefaultResponse, ExtendedZonesListBySubscription200Response, ExtendedZonesListBySubscriptionDefaultResponse, ExtendedZonesRegister200Response, ExtendedZonesRegisterDefaultResponse, ExtendedZonesUnregister200Response, ExtendedZonesUnregisterDefaultResponse } from "./responses.js";
|
|
3
3
|
import { Client, StreamableMethod } from "@azure-rest/core-client";
|
|
4
|
-
export interface
|
|
4
|
+
export interface OperationsList {
|
|
5
5
|
/** List the operations for the provider */
|
|
6
|
-
get(options?:
|
|
6
|
+
get(options?: OperationsListParameters): StreamableMethod<OperationsList200Response | OperationsListDefaultResponse>;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface ExtendedZonesGet {
|
|
9
9
|
/** Gets an Azure Extended Zone for a subscription */
|
|
10
|
-
get(options?:
|
|
10
|
+
get(options?: ExtendedZonesGetParameters): StreamableMethod<ExtendedZonesGet200Response | ExtendedZonesGetDefaultResponse>;
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface ExtendedZonesListBySubscription {
|
|
13
13
|
/** Lists the Azure Extended Zones available to a subscription */
|
|
14
|
-
get(options?:
|
|
14
|
+
get(options?: ExtendedZonesListBySubscriptionParameters): StreamableMethod<ExtendedZonesListBySubscription200Response | ExtendedZonesListBySubscriptionDefaultResponse>;
|
|
15
15
|
}
|
|
16
|
-
export interface
|
|
16
|
+
export interface ExtendedZonesRegister {
|
|
17
17
|
/** Registers a subscription for an Extended Zone */
|
|
18
|
-
post(options:
|
|
18
|
+
post(options: ExtendedZonesRegisterParameters): StreamableMethod<ExtendedZonesRegister200Response | ExtendedZonesRegisterDefaultResponse>;
|
|
19
19
|
}
|
|
20
|
-
export interface
|
|
20
|
+
export interface ExtendedZonesUnregister {
|
|
21
21
|
/** Unregisters a subscription for an Extended Zone */
|
|
22
|
-
post(options:
|
|
22
|
+
post(options: ExtendedZonesUnregisterParameters): StreamableMethod<ExtendedZonesUnregister200Response | ExtendedZonesUnregisterDefaultResponse>;
|
|
23
23
|
}
|
|
24
24
|
export interface Routes {
|
|
25
25
|
/** Resource for '/providers/Microsoft.EdgeZones/operations' has methods for the following verbs: get */
|
|
26
|
-
(path: "/providers/Microsoft.EdgeZones/operations"):
|
|
26
|
+
(path: "/providers/Microsoft.EdgeZones/operations"): OperationsList;
|
|
27
27
|
/** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.EdgeZones/extendedZones/\{extendedZoneName\}' has methods for the following verbs: get */
|
|
28
|
-
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}", subscriptionId: string, extendedZoneName: string):
|
|
28
|
+
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}", subscriptionId: string, extendedZoneName: string): ExtendedZonesGet;
|
|
29
29
|
/** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.EdgeZones/extendedZones' has methods for the following verbs: get */
|
|
30
|
-
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones", subscriptionId: string):
|
|
30
|
+
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones", subscriptionId: string): ExtendedZonesListBySubscription;
|
|
31
31
|
/** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.EdgeZones/extendedZones/\{extendedZoneName\}/register' has methods for the following verbs: post */
|
|
32
|
-
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register", subscriptionId: string, extendedZoneName: string):
|
|
32
|
+
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register", subscriptionId: string, extendedZoneName: string): ExtendedZonesRegister;
|
|
33
33
|
/** Resource for '/subscriptions/\{subscriptionId\}/providers/Microsoft.EdgeZones/extendedZones/\{extendedZoneName\}/unregister' has methods for the following verbs: post */
|
|
34
|
-
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister", subscriptionId: string, extendedZoneName: string):
|
|
34
|
+
(path: "/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister", subscriptionId: string, extendedZoneName: string): ExtendedZonesUnregister;
|
|
35
35
|
}
|
|
36
36
|
export type EdgeZonesContext = Client & {
|
|
37
37
|
path: Routes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientDefinitions.d.ts","sourceRoot":"","sources":["../../../src/rest/clientDefinitions.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"clientDefinitions.d.ts","sourceRoot":"","sources":["../../../src/rest/clientDefinitions.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,wBAAwB,EACxB,0BAA0B,EAC1B,yCAAyC,EACzC,+BAA+B,EAC/B,iCAAiC,EAClC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,2BAA2B,EAC3B,+BAA+B,EAC/B,0CAA0C,EAC1C,8CAA8C,EAC9C,gCAAgC,EAChC,oCAAoC,EACpC,kCAAkC,EA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C;IACzB,6KAA6K;IAC7K,CACE,IAAI,EAAE,2GAA2G,EACjH,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,GACvB,uBAAuB,CAAC;CAC5B;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientDefinitions.js","sourceRoot":"","sources":["../../../src/rest/clientDefinitions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n
|
|
1
|
+
{"version":3,"file":"clientDefinitions.js","sourceRoot":"","sources":["../../../src/rest/clientDefinitions.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n OperationsListParameters,\n ExtendedZonesGetParameters,\n ExtendedZonesListBySubscriptionParameters,\n ExtendedZonesRegisterParameters,\n ExtendedZonesUnregisterParameters,\n} from \"./parameters.js\";\nimport {\n OperationsList200Response,\n OperationsListDefaultResponse,\n ExtendedZonesGet200Response,\n ExtendedZonesGetDefaultResponse,\n ExtendedZonesListBySubscription200Response,\n ExtendedZonesListBySubscriptionDefaultResponse,\n ExtendedZonesRegister200Response,\n ExtendedZonesRegisterDefaultResponse,\n ExtendedZonesUnregister200Response,\n ExtendedZonesUnregisterDefaultResponse,\n} from \"./responses.js\";\nimport { Client, StreamableMethod } from \"@azure-rest/core-client\";\n\nexport interface OperationsList {\n /** List the operations for the provider */\n get(\n options?: OperationsListParameters,\n ): StreamableMethod<OperationsList200Response | OperationsListDefaultResponse>;\n}\n\nexport interface ExtendedZonesGet {\n /** Gets an Azure Extended Zone for a subscription */\n get(\n options?: ExtendedZonesGetParameters,\n ): StreamableMethod<ExtendedZonesGet200Response | ExtendedZonesGetDefaultResponse>;\n}\n\nexport interface ExtendedZonesListBySubscription {\n /** Lists the Azure Extended Zones available to a subscription */\n get(\n options?: ExtendedZonesListBySubscriptionParameters,\n ): StreamableMethod<\n ExtendedZonesListBySubscription200Response | ExtendedZonesListBySubscriptionDefaultResponse\n >;\n}\n\nexport interface ExtendedZonesRegister {\n /** Registers a subscription for an Extended Zone */\n post(\n options: ExtendedZonesRegisterParameters,\n ): StreamableMethod<ExtendedZonesRegister200Response | ExtendedZonesRegisterDefaultResponse>;\n}\n\nexport interface ExtendedZonesUnregister {\n /** Unregisters a subscription for an Extended Zone */\n post(\n options: ExtendedZonesUnregisterParameters,\n ): StreamableMethod<ExtendedZonesUnregister200Response | ExtendedZonesUnregisterDefaultResponse>;\n}\n\nexport interface Routes {\n /** Resource for '/providers/Microsoft.EdgeZones/operations' has methods for the following verbs: get */\n (path: \"/providers/Microsoft.EdgeZones/operations\"): OperationsList;\n /** Resource for '/subscriptions/\\{subscriptionId\\}/providers/Microsoft.EdgeZones/extendedZones/\\{extendedZoneName\\}' has methods for the following verbs: get */\n (\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}\",\n subscriptionId: string,\n extendedZoneName: string,\n ): ExtendedZonesGet;\n /** Resource for '/subscriptions/\\{subscriptionId\\}/providers/Microsoft.EdgeZones/extendedZones' has methods for the following verbs: get */\n (\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones\",\n subscriptionId: string,\n ): ExtendedZonesListBySubscription;\n /** Resource for '/subscriptions/\\{subscriptionId\\}/providers/Microsoft.EdgeZones/extendedZones/\\{extendedZoneName\\}/register' has methods for the following verbs: post */\n (\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register\",\n subscriptionId: string,\n extendedZoneName: string,\n ): ExtendedZonesRegister;\n /** Resource for '/subscriptions/\\{subscriptionId\\}/providers/Microsoft.EdgeZones/extendedZones/\\{extendedZoneName\\}/unregister' has methods for the following verbs: post */\n (\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister\",\n subscriptionId: string,\n extendedZoneName: string,\n ): ExtendedZonesUnregister;\n}\n\nexport type EdgeZonesContext = Client & {\n path: Routes;\n};\n"]}
|
|
@@ -12,7 +12,7 @@ export default function createClient(credentials, _a = {}) {
|
|
|
12
12
|
var _b, _c, _d, _e, _f, _g;
|
|
13
13
|
var { apiVersion = "2024-04-01-preview" } = _a, options = __rest(_a, ["apiVersion"]);
|
|
14
14
|
const endpointUrl = (_c = (_b = options.endpoint) !== null && _b !== void 0 ? _b : options.baseUrl) !== null && _c !== void 0 ? _c : `https://management.azure.com`;
|
|
15
|
-
const userAgentInfo = `azsdk-js-arm-edgezones/1.0.0-beta.
|
|
15
|
+
const userAgentInfo = `azsdk-js-arm-edgezones/1.0.0-beta.2`;
|
|
16
16
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
17
17
|
? `${options.userAgentOptions.userAgentPrefix} ${userAgentInfo}`
|
|
18
18
|
: `${userAgentInfo}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edgeZonesClient.js","sourceRoot":"","sources":["../../../src/rest/edgeZonesClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,SAAS,EAAiB,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAUtC;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,WAA4B,EAC5B,KAA6E,EAAE;;QAA/E,EAAE,UAAU,GAAG,oBAAoB,OAA4C,EAAvC,OAAO,cAA/C,cAAiD,CAAF;IAE/C,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAC1F,MAAM,aAAa,GAAG,qCAAqC,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AED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { getClient, ClientOptions } from \"@azure-rest/core-client\";\nimport { logger } from \"../logger.js\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { EdgeZonesContext } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface EdgeZonesContextOptions extends ClientOptions {\n /** The api version option of the client */\n apiVersion?: string;\n}\n\n/**\n * Initialize a new instance of `EdgeZonesContext`\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n credentials: TokenCredential,\n { apiVersion = \"2024-04-01-preview\", ...options }: EdgeZonesContextOptions = {},\n): EdgeZonesContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`;\n const userAgentInfo = `azsdk-js-arm-edgezones/1.0.0-beta.
|
|
1
|
+
{"version":3,"file":"edgeZonesClient.js","sourceRoot":"","sources":["../../../src/rest/edgeZonesClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAElC,OAAO,EAAE,SAAS,EAAiB,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAUtC;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAClC,WAA4B,EAC5B,KAA6E,EAAE;;QAA/E,EAAE,UAAU,GAAG,oBAAoB,OAA4C,EAAvC,OAAO,cAA/C,cAAiD,CAAF;IAE/C,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAC1F,MAAM,aAAa,GAAG,qCAAqC,CAAC;IAC5D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAA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AM,CAAC;AAChB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { getClient, ClientOptions } from \"@azure-rest/core-client\";\nimport { logger } from \"../logger.js\";\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { EdgeZonesContext } from \"./clientDefinitions.js\";\n\n/** The optional parameters for the client */\nexport interface EdgeZonesContextOptions extends ClientOptions {\n /** The api version option of the client */\n apiVersion?: string;\n}\n\n/**\n * Initialize a new instance of `EdgeZonesContext`\n * @param credentials - uniquely identify client credential\n * @param options - the parameter for all optional parameters\n */\nexport default function createClient(\n credentials: TokenCredential,\n { apiVersion = \"2024-04-01-preview\", ...options }: EdgeZonesContextOptions = {},\n): EdgeZonesContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`;\n const userAgentInfo = `azsdk-js-arm-edgezones/1.0.0-beta.2`;\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 ?? [`${endpointUrl}/.default`],\n },\n };\n const client = getClient(endpointUrl, credentials, options) as EdgeZonesContext;\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 return client;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function isUnexpected(response:
|
|
3
|
-
export declare function isUnexpected(response:
|
|
4
|
-
export declare function isUnexpected(response:
|
|
5
|
-
export declare function isUnexpected(response:
|
|
6
|
-
export declare function isUnexpected(response:
|
|
1
|
+
import { OperationsList200Response, OperationsListDefaultResponse, ExtendedZonesGet200Response, ExtendedZonesGetDefaultResponse, ExtendedZonesListBySubscription200Response, ExtendedZonesListBySubscriptionDefaultResponse, ExtendedZonesRegister200Response, ExtendedZonesRegisterDefaultResponse, ExtendedZonesUnregister200Response, ExtendedZonesUnregisterDefaultResponse } from "./responses.js";
|
|
2
|
+
export declare function isUnexpected(response: OperationsList200Response | OperationsListDefaultResponse): response is OperationsListDefaultResponse;
|
|
3
|
+
export declare function isUnexpected(response: ExtendedZonesGet200Response | ExtendedZonesGetDefaultResponse): response is ExtendedZonesGetDefaultResponse;
|
|
4
|
+
export declare function isUnexpected(response: ExtendedZonesListBySubscription200Response | ExtendedZonesListBySubscriptionDefaultResponse): response is ExtendedZonesListBySubscriptionDefaultResponse;
|
|
5
|
+
export declare function isUnexpected(response: ExtendedZonesRegister200Response | ExtendedZonesRegisterDefaultResponse): response is ExtendedZonesRegisterDefaultResponse;
|
|
6
|
+
export declare function isUnexpected(response: ExtendedZonesUnregister200Response | ExtendedZonesUnregisterDefaultResponse): response is ExtendedZonesUnregisterDefaultResponse;
|
|
7
7
|
//# sourceMappingURL=isUnexpected.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isUnexpected.d.ts","sourceRoot":"","sources":["../../../src/rest/isUnexpected.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"isUnexpected.d.ts","sourceRoot":"","sources":["../../../src/rest/isUnexpected.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,yBAAyB,EACzB,6BAA6B,EAC7B,2BAA2B,EAC3B,+BAA+B,EAC/B,0CAA0C,EAC1C,8CAA8C,EAC9C,gCAAgC,EAChC,oCAAoC,EACpC,kCAAkC,EAClC,sCAAsC,EACvC,MAAM,gBAAgB,CAAC;AAaxB,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,yBAAyB,GAAG,6BAA6B,GAClE,QAAQ,IAAI,6BAA6B,CAAC;AAC7C,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,2BAA2B,GAAG,+BAA+B,GACtE,QAAQ,IAAI,+BAA+B,CAAC;AAC/C,wBAAgB,YAAY,CAC1B,QAAQ,EACJ,0CAA0C,GAC1C,8CAA8C,GACjD,QAAQ,IAAI,8CAA8C,CAAC;AAC9D,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,gCAAgC,GAAG,oCAAoC,GAChF,QAAQ,IAAI,oCAAoC,CAAC;AACpD,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,kCAAkC,GAAG,sCAAsC,GACpF,QAAQ,IAAI,sCAAsC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isUnexpected.js","sourceRoot":"","sources":["../../../src/rest/isUnexpected.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAelC,MAAM,WAAW,GAA6B;IAC5C,+CAA+C,EAAE,CAAC,KAAK,CAAC;IACxD,oGAAoG,EAClG,CAAC,KAAK,CAAC;IACT,iFAAiF,EAAE,CAAC,KAAK,CAAC;IAC1F,8GAA8G,EAC5G,CAAC,KAAK,CAAC;IACT,gHAAgH,EAC9G,CAAC,KAAK,CAAC;CACV,CAAC;
|
|
1
|
+
{"version":3,"file":"isUnexpected.js","sourceRoot":"","sources":["../../../src/rest/isUnexpected.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAelC,MAAM,WAAW,GAA6B;IAC5C,+CAA+C,EAAE,CAAC,KAAK,CAAC;IACxD,oGAAoG,EAClG,CAAC,KAAK,CAAC;IACT,iFAAiF,EAAE,CAAC,KAAK,CAAC;IAC1F,8GAA8G,EAC5G,CAAC,KAAK,CAAC;IACT,gHAAgH,EAC9G,CAAC,KAA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U,EAAE,CAAC;YAC/C,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC;YAClC,YAAY,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n OperationsList200Response,\n OperationsListDefaultResponse,\n ExtendedZonesGet200Response,\n ExtendedZonesGetDefaultResponse,\n ExtendedZonesListBySubscription200Response,\n ExtendedZonesListBySubscriptionDefaultResponse,\n ExtendedZonesRegister200Response,\n ExtendedZonesRegisterDefaultResponse,\n ExtendedZonesUnregister200Response,\n ExtendedZonesUnregisterDefaultResponse,\n} from \"./responses.js\";\n\nconst responseMap: Record<string, string[]> = {\n \"GET /providers/Microsoft.EdgeZones/operations\": [\"200\"],\n \"GET /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}\":\n [\"200\"],\n \"GET /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones\": [\"200\"],\n \"POST /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register\":\n [\"200\"],\n \"POST /subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister\":\n [\"200\"],\n};\n\nexport function isUnexpected(\n response: OperationsList200Response | OperationsListDefaultResponse,\n): response is OperationsListDefaultResponse;\nexport function isUnexpected(\n response: ExtendedZonesGet200Response | ExtendedZonesGetDefaultResponse,\n): response is ExtendedZonesGetDefaultResponse;\nexport function isUnexpected(\n response:\n | ExtendedZonesListBySubscription200Response\n | ExtendedZonesListBySubscriptionDefaultResponse,\n): response is ExtendedZonesListBySubscriptionDefaultResponse;\nexport function isUnexpected(\n response: ExtendedZonesRegister200Response | ExtendedZonesRegisterDefaultResponse,\n): response is ExtendedZonesRegisterDefaultResponse;\nexport function isUnexpected(\n response: ExtendedZonesUnregister200Response | ExtendedZonesUnregisterDefaultResponse,\n): response is ExtendedZonesUnregisterDefaultResponse;\nexport function isUnexpected(\n response:\n | OperationsList200Response\n | OperationsListDefaultResponse\n | ExtendedZonesGet200Response\n | ExtendedZonesGetDefaultResponse\n | ExtendedZonesListBySubscription200Response\n | ExtendedZonesListBySubscriptionDefaultResponse\n | ExtendedZonesRegister200Response\n | ExtendedZonesRegisterDefaultResponse\n | ExtendedZonesUnregister200Response\n | ExtendedZonesUnregisterDefaultResponse,\n): response is\n | OperationsListDefaultResponse\n | ExtendedZonesGetDefaultResponse\n | ExtendedZonesListBySubscriptionDefaultResponse\n | ExtendedZonesRegisterDefaultResponse\n | ExtendedZonesUnregisterDefaultResponse {\n const lroOriginal = response.headers[\"x-ms-original-url\"];\n const url = new URL(lroOriginal ?? response.request.url);\n const method = response.request.method;\n let pathDetails = responseMap[`${method} ${url.pathname}`];\n if (!pathDetails) {\n pathDetails = getParametrizedPathSuccess(method, url.pathname);\n }\n return !pathDetails.includes(response.status);\n}\n\nfunction getParametrizedPathSuccess(method: string, path: string): string[] {\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: string[] = [];\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(responseMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n"]}
|
|
@@ -6,22 +6,30 @@ export interface OperationOutput {
|
|
|
6
6
|
/** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
|
|
7
7
|
readonly isDataAction?: boolean;
|
|
8
8
|
/** Localized display information for this particular operation. */
|
|
9
|
-
display?: OperationDisplayOutput;
|
|
10
|
-
/**
|
|
9
|
+
readonly display?: OperationDisplayOutput;
|
|
10
|
+
/**
|
|
11
|
+
* The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
|
|
12
|
+
*
|
|
13
|
+
* Possible values: "user", "system", "user,system"
|
|
14
|
+
*/
|
|
11
15
|
readonly origin?: OriginOutput;
|
|
12
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
|
|
18
|
+
*
|
|
19
|
+
* Possible values: "Internal"
|
|
20
|
+
*/
|
|
13
21
|
actionType?: ActionTypeOutput;
|
|
14
22
|
}
|
|
15
23
|
/** Localized display information for and operation. */
|
|
16
24
|
export interface OperationDisplayOutput {
|
|
17
25
|
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
18
|
-
provider?: string;
|
|
26
|
+
readonly provider?: string;
|
|
19
27
|
/** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
|
|
20
|
-
resource?: string;
|
|
28
|
+
readonly resource?: string;
|
|
21
29
|
/** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
|
|
22
|
-
operation?: string;
|
|
30
|
+
readonly operation?: string;
|
|
23
31
|
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
24
|
-
description?: string;
|
|
32
|
+
readonly description?: string;
|
|
25
33
|
}
|
|
26
34
|
/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */
|
|
27
35
|
export interface ErrorResponseOutput {
|
|
@@ -55,9 +63,17 @@ export interface ExtendedZoneOutput extends ProxyResourceOutput {
|
|
|
55
63
|
}
|
|
56
64
|
/** The properties of an Extended Zone resource. */
|
|
57
65
|
export interface ExtendedZonePropertiesOutput {
|
|
58
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* Status of the last operation performed by the subscription on the Edge Zone resource
|
|
68
|
+
*
|
|
69
|
+
* Possible values: "Provisioning", "Updating", "Deleting", "Accepted"
|
|
70
|
+
*/
|
|
59
71
|
readonly provisioningState?: ProvisioningStateOutput;
|
|
60
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* Indicates the Azure Extended Zone registration’s approval status.
|
|
74
|
+
*
|
|
75
|
+
* Possible values: "NotRegistered", "PendingRegister", "Registered", "PendingUnregister"
|
|
76
|
+
*/
|
|
61
77
|
readonly registrationState?: RegistrationStateOutput;
|
|
62
78
|
/** Display name of the Azure Extended Zone. */
|
|
63
79
|
readonly displayName: string;
|
|
@@ -96,13 +112,21 @@ export interface ResourceOutput {
|
|
|
96
112
|
export interface SystemDataOutput {
|
|
97
113
|
/** The identity that created the resource. */
|
|
98
114
|
createdBy?: string;
|
|
99
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* The type of identity that created the resource.
|
|
117
|
+
*
|
|
118
|
+
* Possible values: "User", "Application", "ManagedIdentity", "Key"
|
|
119
|
+
*/
|
|
100
120
|
createdByType?: CreatedByTypeOutput;
|
|
101
121
|
/** The timestamp of resource creation (UTC). */
|
|
102
122
|
createdAt?: string;
|
|
103
123
|
/** The identity that last modified the resource. */
|
|
104
124
|
lastModifiedBy?: string;
|
|
105
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* The type of identity that last modified the resource.
|
|
127
|
+
*
|
|
128
|
+
* Possible values: "User", "Application", "ManagedIdentity", "Key"
|
|
129
|
+
*/
|
|
106
130
|
lastModifiedByType?: CreatedByTypeOutput;
|
|
107
131
|
/** The timestamp of resource last modification (UTC) */
|
|
108
132
|
lastModifiedAt?: string;
|
|
@@ -206,7 +230,11 @@ export interface PrivateEndpointConnectionPropertiesOutput {
|
|
|
206
230
|
privateEndpoint?: PrivateEndpointOutput;
|
|
207
231
|
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
208
232
|
privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput;
|
|
209
|
-
/**
|
|
233
|
+
/**
|
|
234
|
+
* The provisioning state of the private endpoint connection resource.
|
|
235
|
+
*
|
|
236
|
+
* Possible values: "Succeeded", "Creating", "Deleting", "Failed"
|
|
237
|
+
*/
|
|
210
238
|
readonly provisioningState?: PrivateEndpointConnectionProvisioningStateOutput;
|
|
211
239
|
}
|
|
212
240
|
/** The Private Endpoint resource. */
|
|
@@ -216,7 +244,11 @@ export interface PrivateEndpointOutput {
|
|
|
216
244
|
}
|
|
217
245
|
/** A collection of information about the state of the connection between service consumer and provider. */
|
|
218
246
|
export interface PrivateLinkServiceConnectionStateOutput {
|
|
219
|
-
/**
|
|
247
|
+
/**
|
|
248
|
+
* Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
|
|
249
|
+
*
|
|
250
|
+
* Possible values: "Pending", "Approved", "Rejected"
|
|
251
|
+
*/
|
|
220
252
|
status?: PrivateEndpointServiceConnectionStatusOutput;
|
|
221
253
|
/** The reason for approval/rejection of the connection. */
|
|
222
254
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../../src/rest/outputModels.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,0FAA0F;AAC1F,MAAM,WAAW,eAAe;IAC9B,sLAAsL;IACtL,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,6JAA6J;IAC7J,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,mEAAmE;IACnE,OAAO,CAAC,EAAE,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"outputModels.d.ts","sourceRoot":"","sources":["../../../src/rest/outputModels.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,0FAA0F;AAC1F,MAAM,WAAW,eAAe;IAC9B,sLAAsL;IACtL,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,6JAA6J;IAC7J,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,mEAAmE;IACnE,QAAQ,CAAC,OAAO,CAAC,EAAE,sBAAsB,CAAC;IAC1C;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B;AAED,uDAAuD;AACvD,MAAM,WAAW,sBAAsB;IACrC,8HAA8H;IAC9H,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,yIAAyI;IACzI,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,0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mGAAmG;IACnG,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,qIAAqI;AACrI,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,eAAe,CAAC,CAAC;AAC/D,6BAA6B;AAC7B,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC;AAClC,iCAAiC;AACjC,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AACtC,gDAAgD;AAChD,MAAM,MAAM,+BAA+B,GAAG,MAAM,CAAC;AACrD,wCAAwC;AACxC,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC7C,wCAAwC;AACxC,MAAM,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC7C,oCAAoC;AACpC,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC;AACzC,2CAA2C;AAC3C,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC;AAC1D,8BAA8B;AAC9B,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AACtE,6DAA6D;AAC7D,MAAM,MAAM,4CAA4C,GAAG,MAAM,CAAC;AAClE,iEAAiE;AACjE,MAAM,MAAM,gDAAgD,GAAG,MAAM,CAAC;AACtE,qDAAqD;AACrD,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../../src/rest/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Paged } from \"@azure/core-paging\";\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface OperationOutput {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplayOutput;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: OriginOutput;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n actionType?: ActionTypeOutput;\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplayOutput {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n description?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponseOutput {\n /** The error object. */\n error?: ErrorDetailOutput;\n}\n\n/** The error detail. */\nexport interface ErrorDetailOutput {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: Array<ErrorDetailOutput>;\n /** The error additional info. */\n readonly additionalInfo?: Array<ErrorAdditionalInfoOutput>;\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfoOutput {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\n/** Resource that represents an Azure Extended Zone available to a subscription for registering and unregistering. */\nexport interface ExtendedZoneOutput extends ProxyResourceOutput {\n /** The resource-specific properties for this resource. */\n properties?: ExtendedZonePropertiesOutput;\n}\n\n/** The properties of an Extended Zone resource. */\nexport interface ExtendedZonePropertiesOutput {\n /** Status of the last operation performed by the subscription on the Edge Zone resource */\n readonly provisioningState?: ProvisioningStateOutput;\n /** Indicates the Azure Extended Zone registration’s approval status. */\n readonly registrationState?: RegistrationStateOutput;\n /** Display name of the Azure Extended Zone. */\n readonly displayName: string;\n /** Regional display name of the Azure Extended Zone. */\n readonly regionalDisplayName: string;\n /** Type of region for the Azure Extended Zone. */\n readonly regionType: string;\n /** Category of region for the Azure Extended Zone. */\n readonly regionCategory: string;\n /** Geography of the Azure Extended Zone. */\n readonly geography: string;\n /** The Geography Group of the Azure Extended Zone. */\n readonly geographyGroup: string;\n /** The Longitude of the Azure Extended Zone. */\n readonly longitude: string;\n /** The Latitude of the Azure Extended Zone. */\n readonly latitude: string;\n /** The Home Location of the Azure Extended Zone. */\n readonly homeLocation: string;\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResourceOutput extends ResourceOutput {}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface ResourceOutput {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemDataOutput;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemDataOutput {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByTypeOutput;\n /** The timestamp of resource creation (UTC). */\n createdAt?: string;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByTypeOutput;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResourceOutput extends ResourceOutput {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set. */\nexport interface ResourceModelWithAllowedPropertySetOutput extends TrackedResourceOutput {\n /**\n * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource.\n * If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.\n */\n managedBy?: string;\n /**\n * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.\n * If supported, the resource provider must validate and persist this value.\n */\n kind?: string;\n /**\n * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.\n * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19),\n * If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\n */\n eTag?: string;\n identity?: IdentityOutput;\n sku?: SkuOutput;\n plan?: PlanOutput;\n}\n\n/** Identity for the resource. */\nexport interface IdentityOutput {\n /** The principal ID of resource identity. The value must be an UUID. */\n readonly principalId?: string;\n /** The tenant ID of resource. The value must be an UUID. */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityTypeOutput;\n}\n\n/** The resource model definition representing SKU */\nexport interface SkuOutput {\n /** The name of the SKU. Ex - P3. It is typically a letter+number code */\n name: string;\n /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */\n tier?: SkuTierOutput;\n /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */\n size?: string;\n /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */\n family?: string;\n /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */\n capacity?: number;\n}\n\n/** Plan for the resource. */\nexport interface PlanOutput {\n /** A user defined name of the 3rd Party Artifact that is being procured. */\n name: string;\n /** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */\n publisher: string;\n /** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */\n product: string;\n /** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */\n promotionCode?: string;\n /** The version of the desired product/artifact. */\n version?: string;\n}\n\n/** The base extension resource. */\nexport interface ExtensionResourceOutput extends ResourceOutput {}\n\n/** The resource model definition for an Azure Resource Manager resource with an etag. */\nexport interface AzureEntityResourceOutput extends ResourceOutput {\n /** Resource Etag. */\n readonly etag?: string;\n}\n\n/** A private link resource. */\nexport interface PrivateLinkResourceOutput extends ResourceOutput {\n /** Resource properties. */\n properties?: PrivateLinkResourcePropertiesOutput;\n}\n\n/** Properties of a private link resource. */\nexport interface PrivateLinkResourcePropertiesOutput {\n /** The private link resource group id. */\n readonly groupId?: string;\n /** The private link resource required member names. */\n readonly requiredMembers?: string[];\n /** The private link resource private link DNS zone name. */\n requiredZoneNames?: string[];\n}\n\n/** The private endpoint connection resource */\nexport interface PrivateEndpointConnectionOutput extends ResourceOutput {\n /** The private endpoint connection properties */\n properties?: PrivateEndpointConnectionPropertiesOutput;\n}\n\n/** Properties of the private endpoint connection. */\nexport interface PrivateEndpointConnectionPropertiesOutput {\n /** The group ids for the private endpoint resource. */\n readonly groupIds?: string[];\n /** The private endpoint resource. */\n privateEndpoint?: PrivateEndpointOutput;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput;\n /** The provisioning state of the private endpoint connection resource. */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningStateOutput;\n}\n\n/** The Private Endpoint resource. */\nexport interface PrivateEndpointOutput {\n /** The resource identifier for private endpoint */\n readonly id?: string;\n}\n\n/** A collection of information about the state of the connection between service consumer and provider. */\nexport interface PrivateLinkServiceConnectionStateOutput {\n /** Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. */\n status?: PrivateEndpointServiceConnectionStatusOutput;\n /** The reason for approval/rejection of the connection. */\n description?: string;\n /** A message indicating if changes on the service provider require any updates on the consumer. */\n actionsRequired?: string;\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport type OperationListResultOutput = Paged<OperationOutput>;\n/** Alias for OriginOutput */\nexport type OriginOutput = string;\n/** Alias for ActionTypeOutput */\nexport type ActionTypeOutput = string;\n/** Alias for ResourceProvisioningStateOutput */\nexport type ResourceProvisioningStateOutput = string;\n/** Alias for ProvisioningStateOutput */\nexport type ProvisioningStateOutput = string;\n/** Alias for RegistrationStateOutput */\nexport type RegistrationStateOutput = string;\n/** Alias for CreatedByTypeOutput */\nexport type CreatedByTypeOutput = string;\n/** Alias for ResourceIdentityTypeOutput */\nexport type ResourceIdentityTypeOutput = \"SystemAssigned\";\n/** Alias for SkuTierOutput */\nexport type SkuTierOutput = \"Free\" | \"Basic\" | \"Standard\" | \"Premium\";\n/** Alias for PrivateEndpointServiceConnectionStatusOutput */\nexport type PrivateEndpointServiceConnectionStatusOutput = string;\n/** Alias for PrivateEndpointConnectionProvisioningStateOutput */\nexport type PrivateEndpointConnectionProvisioningStateOutput = string;\n/** The response of a ExtendedZone list operation. */\nexport type ExtendedZoneListResultOutput = Paged<ExtendedZoneOutput>;\n"]}
|
|
1
|
+
{"version":3,"file":"outputModels.js","sourceRoot":"","sources":["../../../src/rest/outputModels.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Paged } from \"@azure/core-paging\";\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface OperationOutput {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n readonly display?: OperationDisplayOutput;\n /**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"\n *\n * Possible values: \"user\", \"system\", \"user,system\"\n */\n readonly origin?: OriginOutput;\n /**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.\n *\n * Possible values: \"Internal\"\n */\n actionType?: ActionTypeOutput;\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplayOutput {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponseOutput {\n /** The error object. */\n error?: ErrorDetailOutput;\n}\n\n/** The error detail. */\nexport interface ErrorDetailOutput {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: Array<ErrorDetailOutput>;\n /** The error additional info. */\n readonly additionalInfo?: Array<ErrorAdditionalInfoOutput>;\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfoOutput {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\n/** Resource that represents an Azure Extended Zone available to a subscription for registering and unregistering. */\nexport interface ExtendedZoneOutput extends ProxyResourceOutput {\n /** The resource-specific properties for this resource. */\n properties?: ExtendedZonePropertiesOutput;\n}\n\n/** The properties of an Extended Zone resource. */\nexport interface ExtendedZonePropertiesOutput {\n /**\n * Status of the last operation performed by the subscription on the Edge Zone resource\n *\n * Possible values: \"Provisioning\", \"Updating\", \"Deleting\", \"Accepted\"\n */\n readonly provisioningState?: ProvisioningStateOutput;\n /**\n * Indicates the Azure Extended Zone registration’s approval status.\n *\n * Possible values: \"NotRegistered\", \"PendingRegister\", \"Registered\", \"PendingUnregister\"\n */\n readonly registrationState?: RegistrationStateOutput;\n /** Display name of the Azure Extended Zone. */\n readonly displayName: string;\n /** Regional display name of the Azure Extended Zone. */\n readonly regionalDisplayName: string;\n /** Type of region for the Azure Extended Zone. */\n readonly regionType: string;\n /** Category of region for the Azure Extended Zone. */\n readonly regionCategory: string;\n /** Geography of the Azure Extended Zone. */\n readonly geography: string;\n /** The Geography Group of the Azure Extended Zone. */\n readonly geographyGroup: string;\n /** The Longitude of the Azure Extended Zone. */\n readonly longitude: string;\n /** The Latitude of the Azure Extended Zone. */\n readonly latitude: string;\n /** The Home Location of the Azure Extended Zone. */\n readonly homeLocation: string;\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResourceOutput extends ResourceOutput {}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface ResourceOutput {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemDataOutput;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemDataOutput {\n /** The identity that created the resource. */\n createdBy?: string;\n /**\n * The type of identity that created the resource.\n *\n * Possible values: \"User\", \"Application\", \"ManagedIdentity\", \"Key\"\n */\n createdByType?: CreatedByTypeOutput;\n /** The timestamp of resource creation (UTC). */\n createdAt?: string;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /**\n * The type of identity that last modified the resource.\n *\n * Possible values: \"User\", \"Application\", \"ManagedIdentity\", \"Key\"\n */\n lastModifiedByType?: CreatedByTypeOutput;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: string;\n}\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResourceOutput extends ResourceOutput {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\n/** The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set. */\nexport interface ResourceModelWithAllowedPropertySetOutput extends TrackedResourceOutput {\n /**\n * The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource.\n * If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.\n */\n managedBy?: string;\n /**\n * Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.\n * If supported, the resource provider must validate and persist this value.\n */\n kind?: string;\n /**\n * The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.\n * Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19),\n * If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.\n */\n eTag?: string;\n identity?: IdentityOutput;\n sku?: SkuOutput;\n plan?: PlanOutput;\n}\n\n/** Identity for the resource. */\nexport interface IdentityOutput {\n /** The principal ID of resource identity. The value must be an UUID. */\n readonly principalId?: string;\n /** The tenant ID of resource. The value must be an UUID. */\n readonly tenantId?: string;\n /** The identity type. */\n type?: ResourceIdentityTypeOutput;\n}\n\n/** The resource model definition representing SKU */\nexport interface SkuOutput {\n /** The name of the SKU. Ex - P3. It is typically a letter+number code */\n name: string;\n /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */\n tier?: SkuTierOutput;\n /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */\n size?: string;\n /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */\n family?: string;\n /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */\n capacity?: number;\n}\n\n/** Plan for the resource. */\nexport interface PlanOutput {\n /** A user defined name of the 3rd Party Artifact that is being procured. */\n name: string;\n /** The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic */\n publisher: string;\n /** The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. */\n product: string;\n /** A publisher provided promotion code as provisioned in Data Market for the said product/artifact. */\n promotionCode?: string;\n /** The version of the desired product/artifact. */\n version?: string;\n}\n\n/** The base extension resource. */\nexport interface ExtensionResourceOutput extends ResourceOutput {}\n\n/** The resource model definition for an Azure Resource Manager resource with an etag. */\nexport interface AzureEntityResourceOutput extends ResourceOutput {\n /** Resource Etag. */\n readonly etag?: string;\n}\n\n/** A private link resource. */\nexport interface PrivateLinkResourceOutput extends ResourceOutput {\n /** Resource properties. */\n properties?: PrivateLinkResourcePropertiesOutput;\n}\n\n/** Properties of a private link resource. */\nexport interface PrivateLinkResourcePropertiesOutput {\n /** The private link resource group id. */\n readonly groupId?: string;\n /** The private link resource required member names. */\n readonly requiredMembers?: string[];\n /** The private link resource private link DNS zone name. */\n requiredZoneNames?: string[];\n}\n\n/** The private endpoint connection resource */\nexport interface PrivateEndpointConnectionOutput extends ResourceOutput {\n /** The private endpoint connection properties */\n properties?: PrivateEndpointConnectionPropertiesOutput;\n}\n\n/** Properties of the private endpoint connection. */\nexport interface PrivateEndpointConnectionPropertiesOutput {\n /** The group ids for the private endpoint resource. */\n readonly groupIds?: string[];\n /** The private endpoint resource. */\n privateEndpoint?: PrivateEndpointOutput;\n /** A collection of information about the state of the connection between service consumer and provider. */\n privateLinkServiceConnectionState: PrivateLinkServiceConnectionStateOutput;\n /**\n * The provisioning state of the private endpoint connection resource.\n *\n * Possible values: \"Succeeded\", \"Creating\", \"Deleting\", \"Failed\"\n */\n readonly provisioningState?: PrivateEndpointConnectionProvisioningStateOutput;\n}\n\n/** The Private Endpoint resource. */\nexport interface PrivateEndpointOutput {\n /** The resource identifier for private endpoint */\n readonly id?: string;\n}\n\n/** A collection of information about the state of the connection between service consumer and provider. */\nexport interface PrivateLinkServiceConnectionStateOutput {\n /**\n * Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.\n *\n * Possible values: \"Pending\", \"Approved\", \"Rejected\"\n */\n status?: PrivateEndpointServiceConnectionStatusOutput;\n /** The reason for approval/rejection of the connection. */\n description?: string;\n /** A message indicating if changes on the service provider require any updates on the consumer. */\n actionsRequired?: string;\n}\n\n/** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */\nexport type OperationListResultOutput = Paged<OperationOutput>;\n/** Alias for OriginOutput */\nexport type OriginOutput = string;\n/** Alias for ActionTypeOutput */\nexport type ActionTypeOutput = string;\n/** Alias for ResourceProvisioningStateOutput */\nexport type ResourceProvisioningStateOutput = string;\n/** Alias for ProvisioningStateOutput */\nexport type ProvisioningStateOutput = string;\n/** Alias for RegistrationStateOutput */\nexport type RegistrationStateOutput = string;\n/** Alias for CreatedByTypeOutput */\nexport type CreatedByTypeOutput = string;\n/** Alias for ResourceIdentityTypeOutput */\nexport type ResourceIdentityTypeOutput = \"SystemAssigned\";\n/** Alias for SkuTierOutput */\nexport type SkuTierOutput = \"Free\" | \"Basic\" | \"Standard\" | \"Premium\";\n/** Alias for PrivateEndpointServiceConnectionStatusOutput */\nexport type PrivateEndpointServiceConnectionStatusOutput = string;\n/** Alias for PrivateEndpointConnectionProvisioningStateOutput */\nexport type PrivateEndpointConnectionProvisioningStateOutput = string;\n/** The response of a ExtendedZone list operation. */\nexport type ExtendedZoneListResultOutput = Paged<ExtendedZoneOutput>;\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RequestParameters } from "@azure-rest/core-client";
|
|
2
|
-
export type
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
5
|
-
export type
|
|
6
|
-
export type
|
|
2
|
+
export type OperationsListParameters = RequestParameters;
|
|
3
|
+
export type ExtendedZonesGetParameters = RequestParameters;
|
|
4
|
+
export type ExtendedZonesListBySubscriptionParameters = RequestParameters;
|
|
5
|
+
export type ExtendedZonesRegisterParameters = RequestParameters;
|
|
6
|
+
export type ExtendedZonesUnregisterParameters = RequestParameters;
|
|
7
7
|
//# sourceMappingURL=parameters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/rest/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../../src/rest/parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CAAC;AACzD,MAAM,MAAM,0BAA0B,GAAG,iBAAiB,CAAC;AAC3D,MAAM,MAAM,yCAAyC,GAAG,iBAAiB,CAAC;AAC1E,MAAM,MAAM,+BAA+B,GAAG,iBAAiB,CAAC;AAChE,MAAM,MAAM,iCAAiC,GAAG,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/rest/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestParameters } from \"@azure-rest/core-client\";\n\nexport type
|
|
1
|
+
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/rest/parameters.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { RequestParameters } from \"@azure-rest/core-client\";\n\nexport type OperationsListParameters = RequestParameters;\nexport type ExtendedZonesGetParameters = RequestParameters;\nexport type ExtendedZonesListBySubscriptionParameters = RequestParameters;\nexport type ExtendedZonesRegisterParameters = RequestParameters;\nexport type ExtendedZonesUnregisterParameters = RequestParameters;\n"]}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { HttpResponse } from "@azure-rest/core-client";
|
|
2
2
|
import { OperationListResultOutput, ErrorResponseOutput, ExtendedZoneOutput, ExtendedZoneListResultOutput } from "./outputModels.js";
|
|
3
3
|
/** Azure operation completed successfully. */
|
|
4
|
-
export interface
|
|
4
|
+
export interface OperationsList200Response extends HttpResponse {
|
|
5
5
|
status: "200";
|
|
6
6
|
body: OperationListResultOutput;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface OperationsListDefaultResponse extends HttpResponse {
|
|
9
9
|
status: string;
|
|
10
10
|
body: ErrorResponseOutput;
|
|
11
11
|
}
|
|
12
12
|
/** Azure operation completed successfully. */
|
|
13
|
-
export interface
|
|
13
|
+
export interface ExtendedZonesGet200Response extends HttpResponse {
|
|
14
14
|
status: "200";
|
|
15
15
|
body: ExtendedZoneOutput;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface ExtendedZonesGetDefaultResponse extends HttpResponse {
|
|
18
18
|
status: string;
|
|
19
19
|
body: ErrorResponseOutput;
|
|
20
20
|
}
|
|
21
21
|
/** Azure operation completed successfully. */
|
|
22
|
-
export interface
|
|
22
|
+
export interface ExtendedZonesListBySubscription200Response extends HttpResponse {
|
|
23
23
|
status: "200";
|
|
24
24
|
body: ExtendedZoneListResultOutput;
|
|
25
25
|
}
|
|
26
|
-
export interface
|
|
26
|
+
export interface ExtendedZonesListBySubscriptionDefaultResponse extends HttpResponse {
|
|
27
27
|
status: string;
|
|
28
28
|
body: ErrorResponseOutput;
|
|
29
29
|
}
|
|
30
30
|
/** Azure operation completed successfully. */
|
|
31
|
-
export interface
|
|
31
|
+
export interface ExtendedZonesRegister200Response extends HttpResponse {
|
|
32
32
|
status: "200";
|
|
33
33
|
body: ExtendedZoneOutput;
|
|
34
34
|
}
|
|
35
|
-
export interface
|
|
35
|
+
export interface ExtendedZonesRegisterDefaultResponse extends HttpResponse {
|
|
36
36
|
status: string;
|
|
37
37
|
body: ErrorResponseOutput;
|
|
38
38
|
}
|
|
39
39
|
/** Azure operation completed successfully. */
|
|
40
|
-
export interface
|
|
40
|
+
export interface ExtendedZonesUnregister200Response extends HttpResponse {
|
|
41
41
|
status: "200";
|
|
42
42
|
body: ExtendedZoneOutput;
|
|
43
43
|
}
|
|
44
|
-
export interface
|
|
44
|
+
export interface ExtendedZonesUnregisterDefaultResponse extends HttpResponse {
|
|
45
45
|
status: string;
|
|
46
46
|
body: ErrorResponseOutput;
|
|
47
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/rest/responses.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EACL,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,4BAA4B,EAC7B,MAAM,mBAAmB,CAAC;AAE3B,8CAA8C;AAC9C,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../src/rest/responses.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EACL,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,4BAA4B,EAC7B,MAAM,mBAAmB,CAAC;AAE3B,8CAA8C;AAC9C,MAAM,WAAW,yBAA0B,SAAQ,YAAY;IAC7D,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,yBAAyB,CAAC;CACjC;AAED,MAAM,WAAW,6BAA8B,SAAQ,YAAY;IACjE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,8CAA8C;AAC9C,MAAM,WAAW,2BAA4B,SAAQ,YAAY;IAC/D,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,MAAM,WAAW,+BAAgC,SAAQ,YAAY;IACnE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,8CAA8C;AAC9C,MAAM,WAAW,0CAA2C,SAAQ,YAAY;IAC9E,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,4BAA4B,CAAC;CACpC;AAED,MAAM,WAAW,8CAA+C,SAAQ,YAAY;IAClF,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,8CAA8C;AAC9C,MAAM,WAAW,gCAAiC,SAAQ,YAAY;IACpE,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,MAAM,WAAW,oCAAqC,SAAQ,YAAY;IACxE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,8CAA8C;AAC9C,MAAM,WAAW,kCAAmC,SAAQ,YAAY;IACtE,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,MAAM,WAAW,sCAAuC,SAAQ,YAAY;IAC1E,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,mBAAmB,CAAC;CAC3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../src/rest/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpResponse } from \"@azure-rest/core-client\";\nimport {\n OperationListResultOutput,\n ErrorResponseOutput,\n ExtendedZoneOutput,\n ExtendedZoneListResultOutput,\n} from \"./outputModels.js\";\n\n/** Azure operation completed successfully. */\nexport interface
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../src/rest/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { HttpResponse } from \"@azure-rest/core-client\";\nimport {\n OperationListResultOutput,\n ErrorResponseOutput,\n ExtendedZoneOutput,\n ExtendedZoneListResultOutput,\n} from \"./outputModels.js\";\n\n/** Azure operation completed successfully. */\nexport interface OperationsList200Response extends HttpResponse {\n status: \"200\";\n body: OperationListResultOutput;\n}\n\nexport interface OperationsListDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Azure operation completed successfully. */\nexport interface ExtendedZonesGet200Response extends HttpResponse {\n status: \"200\";\n body: ExtendedZoneOutput;\n}\n\nexport interface ExtendedZonesGetDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Azure operation completed successfully. */\nexport interface ExtendedZonesListBySubscription200Response extends HttpResponse {\n status: \"200\";\n body: ExtendedZoneListResultOutput;\n}\n\nexport interface ExtendedZonesListBySubscriptionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Azure operation completed successfully. */\nexport interface ExtendedZonesRegister200Response extends HttpResponse {\n status: \"200\";\n body: ExtendedZoneOutput;\n}\n\nexport interface ExtendedZonesRegisterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n\n/** Azure operation completed successfully. */\nexport interface ExtendedZonesUnregister200Response extends HttpResponse {\n status: \"200\";\n body: ExtendedZoneOutput;\n}\n\nexport interface ExtendedZonesUnregisterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponseOutput;\n}\n"]}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { ExtendedZone, _ExtendedZoneListResult } from "../../models/models.js";
|
|
2
2
|
import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
|
|
3
|
-
import { EdgeZonesContext as Client,
|
|
3
|
+
import { EdgeZonesContext as Client, ExtendedZonesGet200Response, ExtendedZonesGetDefaultResponse, ExtendedZonesListBySubscription200Response, ExtendedZonesListBySubscriptionDefaultResponse, ExtendedZonesRegister200Response, ExtendedZonesRegisterDefaultResponse, ExtendedZonesUnregister200Response, ExtendedZonesUnregisterDefaultResponse } from "../../rest/index.js";
|
|
4
4
|
import { StreamableMethod } from "@azure-rest/core-client";
|
|
5
5
|
import { ExtendedZonesGetOptionalParams, ExtendedZonesListBySubscriptionOptionalParams, ExtendedZonesRegisterOptionalParams, ExtendedZonesUnregisterOptionalParams } from "../../models/options.js";
|
|
6
|
-
export declare function
|
|
7
|
-
export declare function
|
|
6
|
+
export declare function _extendedZonesGetSend(context: Client, subscriptionId: string, extendedZoneName: string, options?: ExtendedZonesGetOptionalParams): StreamableMethod<ExtendedZonesGet200Response | ExtendedZonesGetDefaultResponse>;
|
|
7
|
+
export declare function _extendedZonesGetDeserialize(result: ExtendedZonesGet200Response | ExtendedZonesGetDefaultResponse): Promise<ExtendedZone>;
|
|
8
8
|
/** Gets an Azure Extended Zone for a subscription */
|
|
9
|
-
export declare function
|
|
10
|
-
export declare function
|
|
11
|
-
export declare function
|
|
9
|
+
export declare function extendedZonesGet(context: Client, subscriptionId: string, extendedZoneName: string, options?: ExtendedZonesGetOptionalParams): Promise<ExtendedZone>;
|
|
10
|
+
export declare function _extendedZonesListBySubscriptionSend(context: Client, subscriptionId: string, options?: ExtendedZonesListBySubscriptionOptionalParams): StreamableMethod<ExtendedZonesListBySubscription200Response | ExtendedZonesListBySubscriptionDefaultResponse>;
|
|
11
|
+
export declare function _extendedZonesListBySubscriptionDeserialize(result: ExtendedZonesListBySubscription200Response | ExtendedZonesListBySubscriptionDefaultResponse): Promise<_ExtendedZoneListResult>;
|
|
12
12
|
/** Lists the Azure Extended Zones available to a subscription */
|
|
13
|
-
export declare function
|
|
14
|
-
export declare function
|
|
15
|
-
export declare function
|
|
13
|
+
export declare function extendedZonesListBySubscription(context: Client, subscriptionId: string, options?: ExtendedZonesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ExtendedZone>;
|
|
14
|
+
export declare function _extendedZonesRegisterSend(context: Client, subscriptionId: string, extendedZoneName: string, options?: ExtendedZonesRegisterOptionalParams): StreamableMethod<ExtendedZonesRegister200Response | ExtendedZonesRegisterDefaultResponse>;
|
|
15
|
+
export declare function _extendedZonesRegisterDeserialize(result: ExtendedZonesRegister200Response | ExtendedZonesRegisterDefaultResponse): Promise<ExtendedZone>;
|
|
16
16
|
/** Registers a subscription for an Extended Zone */
|
|
17
|
-
export declare function
|
|
18
|
-
export declare function
|
|
19
|
-
export declare function
|
|
17
|
+
export declare function extendedZonesRegister(context: Client, subscriptionId: string, extendedZoneName: string, options?: ExtendedZonesRegisterOptionalParams): Promise<ExtendedZone>;
|
|
18
|
+
export declare function _extendedZonesUnregisterSend(context: Client, subscriptionId: string, extendedZoneName: string, options?: ExtendedZonesUnregisterOptionalParams): StreamableMethod<ExtendedZonesUnregister200Response | ExtendedZonesUnregisterDefaultResponse>;
|
|
19
|
+
export declare function _extendedZonesUnregisterDeserialize(result: ExtendedZonesUnregister200Response | ExtendedZonesUnregisterDefaultResponse): Promise<ExtendedZone>;
|
|
20
20
|
/** Unregisters a subscription for an Extended Zone */
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function extendedZonesUnregister(context: Client, subscriptionId: string, extendedZoneName: string, options?: ExtendedZonesUnregisterOptionalParams): Promise<ExtendedZone>;
|
|
22
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/extendedZones/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,EAAE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