@azure/arm-edgezones 1.0.0-beta.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/commonjs/tsdoc-metadata.json +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 +5 -50
- 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
package/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
@@ -4,7 +4,6 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
|
|
|
4
4
|
|
|
5
5
|
Microsoft Edgezones Service
|
|
6
6
|
|
|
7
|
-
|
|
8
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/edgezones/arm-edgezones) |
|
|
9
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-edgezones) |
|
|
10
9
|
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-edgezones?view=azure-node-preview) |
|
|
@@ -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,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAEzE,OAAO,EAEL,gBAAgB,IAAI,MAAM,EAC1B,
|
|
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,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAEzE,OAAO,EAEL,gBAAgB,IAAI,MAAM,EAC1B,2BAA2B,EAC3B,+BAA+B,EAC/B,0CAA0C,EAC1C,8CAA8C,EAC9C,gCAAgC,EAChC,oCAAoC,EACpC,kCAAkC,EAClC,sCAAsC,EACvC,MAAM,qBAAqB,CAAC;A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C,GAAG,oCAAoC,GAC9E,OAAO,CAAC,YAAY,CAAC,CAyCvB;AAED,oDAAoD;AACpD,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,EACxB,OAAO,GAAE,mCAA4D,GACpE,OAAO,CAAC,YAAY,CAAC,CAQvB;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,EACxB,OAAO,GAAE,qCAA8D,GACtE,gBAAgB,CAAC,kCAAkC,GAAG,sCAAsC,CAAC,CAQ/F;AAED,wBAAsB,mCAAmC,CACvD,MAAM,EAAE,kCAAkC,GAAG,sCAAsC,GAClF,OAAO,CAAC,YAAY,CAAC,CAyCvB;AAED,sDAAsD;AACtD,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,EACxB,OAAO,GAAE,qCAA8D,GACtE,OAAO,CAAC,YAAY,CAAC,CAQvB"}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { buildPagedAsyncIterator } from "../pagingHelpers.js";
|
|
4
4
|
import { isUnexpected, } from "../../rest/index.js";
|
|
5
5
|
import { operationOptionsToRequestParameters, createRestError, } from "@azure-rest/core-client";
|
|
6
|
-
export function
|
|
6
|
+
export function _extendedZonesGetSend(context, subscriptionId, extendedZoneName, options = { requestOptions: {} }) {
|
|
7
7
|
return context
|
|
8
8
|
.path("/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}", subscriptionId, extendedZoneName)
|
|
9
9
|
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
10
10
|
}
|
|
11
|
-
export async function
|
|
11
|
+
export async function _extendedZonesGetDeserialize(result) {
|
|
12
12
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
13
13
|
if (isUnexpected(result)) {
|
|
14
14
|
throw createRestError(result);
|
|
@@ -49,18 +49,18 @@ export async function _getDeserialize(result) {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
/** Gets an Azure Extended Zone for a subscription */
|
|
52
|
-
export async function
|
|
53
|
-
const result = await
|
|
54
|
-
return
|
|
52
|
+
export async function extendedZonesGet(context, subscriptionId, extendedZoneName, options = { requestOptions: {} }) {
|
|
53
|
+
const result = await _extendedZonesGetSend(context, subscriptionId, extendedZoneName, options);
|
|
54
|
+
return _extendedZonesGetDeserialize(result);
|
|
55
55
|
}
|
|
56
|
-
export function
|
|
56
|
+
export function _extendedZonesListBySubscriptionSend(context, subscriptionId, options = {
|
|
57
57
|
requestOptions: {},
|
|
58
58
|
}) {
|
|
59
59
|
return context
|
|
60
60
|
.path("/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones", subscriptionId)
|
|
61
61
|
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
62
62
|
}
|
|
63
|
-
export async function
|
|
63
|
+
export async function _extendedZonesListBySubscriptionDeserialize(result) {
|
|
64
64
|
if (isUnexpected(result)) {
|
|
65
65
|
throw createRestError(result);
|
|
66
66
|
}
|
|
@@ -106,17 +106,17 @@ export async function _listBySubscriptionDeserialize(result) {
|
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
108
|
/** Lists the Azure Extended Zones available to a subscription */
|
|
109
|
-
export function
|
|
109
|
+
export function extendedZonesListBySubscription(context, subscriptionId, options = {
|
|
110
110
|
requestOptions: {},
|
|
111
111
|
}) {
|
|
112
|
-
return buildPagedAsyncIterator(context, () =>
|
|
112
|
+
return buildPagedAsyncIterator(context, () => _extendedZonesListBySubscriptionSend(context, subscriptionId, options), _extendedZonesListBySubscriptionDeserialize, { itemName: "value", nextLinkName: "nextLink" });
|
|
113
113
|
}
|
|
114
|
-
export function
|
|
114
|
+
export function _extendedZonesRegisterSend(context, subscriptionId, extendedZoneName, options = { requestOptions: {} }) {
|
|
115
115
|
return context
|
|
116
116
|
.path("/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register", subscriptionId, extendedZoneName)
|
|
117
117
|
.post(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
118
118
|
}
|
|
119
|
-
export async function
|
|
119
|
+
export async function _extendedZonesRegisterDeserialize(result) {
|
|
120
120
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
121
121
|
if (isUnexpected(result)) {
|
|
122
122
|
throw createRestError(result);
|
|
@@ -157,16 +157,16 @@ export async function _registerDeserialize(result) {
|
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
159
|
/** Registers a subscription for an Extended Zone */
|
|
160
|
-
export async function
|
|
161
|
-
const result = await
|
|
162
|
-
return
|
|
160
|
+
export async function extendedZonesRegister(context, subscriptionId, extendedZoneName, options = { requestOptions: {} }) {
|
|
161
|
+
const result = await _extendedZonesRegisterSend(context, subscriptionId, extendedZoneName, options);
|
|
162
|
+
return _extendedZonesRegisterDeserialize(result);
|
|
163
163
|
}
|
|
164
|
-
export function
|
|
164
|
+
export function _extendedZonesUnregisterSend(context, subscriptionId, extendedZoneName, options = { requestOptions: {} }) {
|
|
165
165
|
return context
|
|
166
166
|
.path("/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister", subscriptionId, extendedZoneName)
|
|
167
167
|
.post(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
168
168
|
}
|
|
169
|
-
export async function
|
|
169
|
+
export async function _extendedZonesUnregisterDeserialize(result) {
|
|
170
170
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
171
171
|
if (isUnexpected(result)) {
|
|
172
172
|
throw createRestError(result);
|
|
@@ -207,8 +207,8 @@ export async function _unregisterDeserialize(result) {
|
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
209
|
/** Unregisters a subscription for an Extended Zone */
|
|
210
|
-
export async function
|
|
211
|
-
const result = await
|
|
212
|
-
return
|
|
210
|
+
export async function extendedZonesUnregister(context, subscriptionId, extendedZoneName, options = { requestOptions: {} }) {
|
|
211
|
+
const result = await _extendedZonesUnregisterSend(context, subscriptionId, extendedZoneName, options);
|
|
212
|
+
return _extendedZonesUnregisterDeserialize(result);
|
|
213
213
|
}
|
|
214
214
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/extendedZones/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,YAAY,GAUb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,mCAAmC,EACnC,eAAe,GAChB,MAAM,yBAAyB,CAAC;AAQjC,MAAM,UAAU,QAAQ,CACtB,OAAe,EACf,cAAsB,EACtB,gBAAwB,EACxB,UAA0C,EAAE,cAAc,EAAE,EAAE,EAAE;IAEhE,OAAO,OAAO;SACX,IAAI,CACH,gGAAgG,EAChG,cAAc,EACd,gBAAgB,CACjB;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CACnC,MAA2C;;IAE3C,IAAI,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO;QACL,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACzB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACzB,UAAU,EAAE,CA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EvE,MAAM,MAAM,GAAG,MAAM,eAAe,CAAC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACzF,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;AACxC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { ExtendedZone, _ExtendedZoneListResult } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { buildPagedAsyncIterator } from \"../pagingHelpers.js\";\nimport {\n isUnexpected,\n EdgeZonesContext as Client,\n Get200Response,\n GetDefaultResponse,\n ListBySubscription200Response,\n ListBySubscriptionDefaultResponse,\n Register200Response,\n RegisterDefaultResponse,\n Unregister200Response,\n UnregisterDefaultResponse,\n} from \"../../rest/index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport {\n ExtendedZonesGetOptionalParams,\n ExtendedZonesListBySubscriptionOptionalParams,\n ExtendedZonesRegisterOptionalParams,\n ExtendedZonesUnregisterOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _getSend(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod<Get200Response | GetDefaultResponse> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}\",\n subscriptionId,\n extendedZoneName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _getDeserialize(\n result: Get200Response | GetDefaultResponse,\n): Promise<ExtendedZone> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n provisioningState: result.body.properties?.[\"provisioningState\"],\n registrationState: result.body.properties?.[\"registrationState\"],\n displayName: result.body.properties?.[\"displayName\"],\n regionalDisplayName: result.body.properties?.[\"regionalDisplayName\"],\n regionType: result.body.properties?.[\"regionType\"],\n regionCategory: result.body.properties?.[\"regionCategory\"],\n geography: result.body.properties?.[\"geography\"],\n geographyGroup: result.body.properties?.[\"geographyGroup\"],\n longitude: result.body.properties?.[\"longitude\"],\n latitude: result.body.properties?.[\"latitude\"],\n homeLocation: result.body.properties?.[\"homeLocation\"],\n },\n };\n}\n\n/** Gets an Azure Extended Zone for a subscription */\nexport async function get(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesGetOptionalParams = { requestOptions: {} },\n): Promise<ExtendedZone> {\n const result = await _getSend(context, subscriptionId, extendedZoneName, options);\n return _getDeserialize(result);\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: ExtendedZonesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<ListBySubscription200Response | ListBySubscriptionDefaultResponse> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: ListBySubscription200Response | ListBySubscriptionDefaultResponse,\n): Promise<_ExtendedZoneListResult> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p) => {\n return {\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n provisioningState: p.properties?.[\"provisioningState\"],\n registrationState: p.properties?.[\"registrationState\"],\n displayName: p.properties?.[\"displayName\"],\n regionalDisplayName: p.properties?.[\"regionalDisplayName\"],\n regionType: p.properties?.[\"regionType\"],\n regionCategory: p.properties?.[\"regionCategory\"],\n geography: p.properties?.[\"geography\"],\n geographyGroup: p.properties?.[\"geographyGroup\"],\n longitude: p.properties?.[\"longitude\"],\n latitude: p.properties?.[\"latitude\"],\n homeLocation: p.properties?.[\"homeLocation\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** Lists the Azure Extended Zones available to a subscription */\nexport function listBySubscription(\n context: Client,\n subscriptionId: string,\n options: ExtendedZonesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<ExtendedZone> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, subscriptionId, options),\n _listBySubscriptionDeserialize,\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _registerSend(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesRegisterOptionalParams = { requestOptions: {} },\n): StreamableMethod<Register200Response | RegisterDefaultResponse> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register\",\n subscriptionId,\n extendedZoneName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _registerDeserialize(\n result: Register200Response | RegisterDefaultResponse,\n): Promise<ExtendedZone> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n provisioningState: result.body.properties?.[\"provisioningState\"],\n registrationState: result.body.properties?.[\"registrationState\"],\n displayName: result.body.properties?.[\"displayName\"],\n regionalDisplayName: result.body.properties?.[\"regionalDisplayName\"],\n regionType: result.body.properties?.[\"regionType\"],\n regionCategory: result.body.properties?.[\"regionCategory\"],\n geography: result.body.properties?.[\"geography\"],\n geographyGroup: result.body.properties?.[\"geographyGroup\"],\n longitude: result.body.properties?.[\"longitude\"],\n latitude: result.body.properties?.[\"latitude\"],\n homeLocation: result.body.properties?.[\"homeLocation\"],\n },\n };\n}\n\n/** Registers a subscription for an Extended Zone */\nexport async function register(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesRegisterOptionalParams = { requestOptions: {} },\n): Promise<ExtendedZone> {\n const result = await _registerSend(context, subscriptionId, extendedZoneName, options);\n return _registerDeserialize(result);\n}\n\nexport function _unregisterSend(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesUnregisterOptionalParams = { requestOptions: {} },\n): StreamableMethod<Unregister200Response | UnregisterDefaultResponse> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister\",\n subscriptionId,\n extendedZoneName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _unregisterDeserialize(\n result: Unregister200Response | UnregisterDefaultResponse,\n): Promise<ExtendedZone> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n provisioningState: result.body.properties?.[\"provisioningState\"],\n registrationState: result.body.properties?.[\"registrationState\"],\n displayName: result.body.properties?.[\"displayName\"],\n regionalDisplayName: result.body.properties?.[\"regionalDisplayName\"],\n regionType: result.body.properties?.[\"regionType\"],\n regionCategory: result.body.properties?.[\"regionCategory\"],\n geography: result.body.properties?.[\"geography\"],\n geographyGroup: result.body.properties?.[\"geographyGroup\"],\n longitude: result.body.properties?.[\"longitude\"],\n latitude: result.body.properties?.[\"latitude\"],\n homeLocation: result.body.properties?.[\"homeLocation\"],\n },\n };\n}\n\n/** Unregisters a subscription for an Extended Zone */\nexport async function unregister(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesUnregisterOptionalParams = { requestOptions: {} },\n): Promise<ExtendedZone> {\n const result = await _unregisterSend(context, subscriptionId, extendedZoneName, options);\n return _unregisterDeserialize(result);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/extendedZones/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,YAAY,GAUb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,mCAAmC,EACnC,eAAe,GAChB,MAAM,yBAAyB,CAAC;AAQjC,MAAM,UAAU,qBAAqB,CACnC,OAAe,EACf,cAAsB,EACtB,gBAAwB,EACxB,UAA0C,EAAE,cAAc,EAAE,EAAE,EAAE;IAEhE,OAAO,OAAO;SACX,IAAI,CACH,gGAAgG,EAChG,cAAc,EACd,gBAAgB,CACjB;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,4BAA4B,CAChD,MAAqE;;IAErE,IAAI,YAAY,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO;QACL,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;QACrB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACzB,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACzB,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU;YACjC,CAAC,CAAC,SAAS;YACX,CAAC,CAAC;gBACE,SAAS,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,WAAW,CAAC;gBAChD,aAAa,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,eAAe,CAAC;gBACxD,SAAS,EACP,CAAA,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,WAAW,CAAC,MAAK,SAAS;oBACjD,C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iBAAiB,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,mBAAmB,CAAC;gBAChE,WAAW,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,aAAa,CAAC;gBACpD,mBAAmB,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,qBAAqB,CAAC;gBACpE,UAAU,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,YAAY,CAAC;gBAClD,cAAc,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,gBAAgB,CAAC;gBAC1D,SAAS,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,WAAW,CAAC;gBAChD,cAAc,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,gBAAgB,CAAC;gBAC1D,SAAS,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,WAAW,CAAC;gBAChD,QAAQ,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,UAAU,CAAC;gBAC9C,YAAY,EAAE,MAAA,MAAM,CAAC,IAAI,CAAC,UAAU,0CAAG,cAAc,CAAC;aACvD;KACN,CAAC;AACJ,CAAC;AAED,sDAAsD;AACtD,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,OAAe,EACf,cAAsB,EACtB,gBAAwB,EACxB,UAAiD,EAAE,cAAc,EAAE,EAAE,EAAE;IAEvE,MAAM,MAAM,GAAG,MAAM,4BAA4B,CAC/C,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,OAAO,CACR,CAAC;IACF,OAAO,mCAAmC,CAAC,MAAM,CAAC,CAAC;AACrD,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { ExtendedZone, _ExtendedZoneListResult } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { buildPagedAsyncIterator } from \"../pagingHelpers.js\";\nimport {\n isUnexpected,\n EdgeZonesContext as Client,\n ExtendedZonesGet200Response,\n ExtendedZonesGetDefaultResponse,\n ExtendedZonesListBySubscription200Response,\n ExtendedZonesListBySubscriptionDefaultResponse,\n ExtendedZonesRegister200Response,\n ExtendedZonesRegisterDefaultResponse,\n ExtendedZonesUnregister200Response,\n ExtendedZonesUnregisterDefaultResponse,\n} from \"../../rest/index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport {\n ExtendedZonesGetOptionalParams,\n ExtendedZonesListBySubscriptionOptionalParams,\n ExtendedZonesRegisterOptionalParams,\n ExtendedZonesUnregisterOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _extendedZonesGetSend(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesGetOptionalParams = { requestOptions: {} },\n): StreamableMethod<ExtendedZonesGet200Response | ExtendedZonesGetDefaultResponse> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}\",\n subscriptionId,\n extendedZoneName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _extendedZonesGetDeserialize(\n result: ExtendedZonesGet200Response | ExtendedZonesGetDefaultResponse,\n): Promise<ExtendedZone> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n provisioningState: result.body.properties?.[\"provisioningState\"],\n registrationState: result.body.properties?.[\"registrationState\"],\n displayName: result.body.properties?.[\"displayName\"],\n regionalDisplayName: result.body.properties?.[\"regionalDisplayName\"],\n regionType: result.body.properties?.[\"regionType\"],\n regionCategory: result.body.properties?.[\"regionCategory\"],\n geography: result.body.properties?.[\"geography\"],\n geographyGroup: result.body.properties?.[\"geographyGroup\"],\n longitude: result.body.properties?.[\"longitude\"],\n latitude: result.body.properties?.[\"latitude\"],\n homeLocation: result.body.properties?.[\"homeLocation\"],\n },\n };\n}\n\n/** Gets an Azure Extended Zone for a subscription */\nexport async function extendedZonesGet(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesGetOptionalParams = { requestOptions: {} },\n): Promise<ExtendedZone> {\n const result = await _extendedZonesGetSend(context, subscriptionId, extendedZoneName, options);\n return _extendedZonesGetDeserialize(result);\n}\n\nexport function _extendedZonesListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: ExtendedZonesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod<\n ExtendedZonesListBySubscription200Response | ExtendedZonesListBySubscriptionDefaultResponse\n> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _extendedZonesListBySubscriptionDeserialize(\n result:\n | ExtendedZonesListBySubscription200Response\n | ExtendedZonesListBySubscriptionDefaultResponse,\n): Promise<_ExtendedZoneListResult> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p) => {\n return {\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n provisioningState: p.properties?.[\"provisioningState\"],\n registrationState: p.properties?.[\"registrationState\"],\n displayName: p.properties?.[\"displayName\"],\n regionalDisplayName: p.properties?.[\"regionalDisplayName\"],\n regionType: p.properties?.[\"regionType\"],\n regionCategory: p.properties?.[\"regionCategory\"],\n geography: p.properties?.[\"geography\"],\n geographyGroup: p.properties?.[\"geographyGroup\"],\n longitude: p.properties?.[\"longitude\"],\n latitude: p.properties?.[\"latitude\"],\n homeLocation: p.properties?.[\"homeLocation\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** Lists the Azure Extended Zones available to a subscription */\nexport function extendedZonesListBySubscription(\n context: Client,\n subscriptionId: string,\n options: ExtendedZonesListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<ExtendedZone> {\n return buildPagedAsyncIterator(\n context,\n () => _extendedZonesListBySubscriptionSend(context, subscriptionId, options),\n _extendedZonesListBySubscriptionDeserialize,\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _extendedZonesRegisterSend(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesRegisterOptionalParams = { requestOptions: {} },\n): StreamableMethod<ExtendedZonesRegister200Response | ExtendedZonesRegisterDefaultResponse> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/register\",\n subscriptionId,\n extendedZoneName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _extendedZonesRegisterDeserialize(\n result: ExtendedZonesRegister200Response | ExtendedZonesRegisterDefaultResponse,\n): Promise<ExtendedZone> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n provisioningState: result.body.properties?.[\"provisioningState\"],\n registrationState: result.body.properties?.[\"registrationState\"],\n displayName: result.body.properties?.[\"displayName\"],\n regionalDisplayName: result.body.properties?.[\"regionalDisplayName\"],\n regionType: result.body.properties?.[\"regionType\"],\n regionCategory: result.body.properties?.[\"regionCategory\"],\n geography: result.body.properties?.[\"geography\"],\n geographyGroup: result.body.properties?.[\"geographyGroup\"],\n longitude: result.body.properties?.[\"longitude\"],\n latitude: result.body.properties?.[\"latitude\"],\n homeLocation: result.body.properties?.[\"homeLocation\"],\n },\n };\n}\n\n/** Registers a subscription for an Extended Zone */\nexport async function extendedZonesRegister(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesRegisterOptionalParams = { requestOptions: {} },\n): Promise<ExtendedZone> {\n const result = await _extendedZonesRegisterSend(\n context,\n subscriptionId,\n extendedZoneName,\n options,\n );\n return _extendedZonesRegisterDeserialize(result);\n}\n\nexport function _extendedZonesUnregisterSend(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesUnregisterOptionalParams = { requestOptions: {} },\n): StreamableMethod<ExtendedZonesUnregister200Response | ExtendedZonesUnregisterDefaultResponse> {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.EdgeZones/extendedZones/{extendedZoneName}/unregister\",\n subscriptionId,\n extendedZoneName,\n )\n .post({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _extendedZonesUnregisterDeserialize(\n result: ExtendedZonesUnregister200Response | ExtendedZonesUnregisterDefaultResponse,\n): Promise<ExtendedZone> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n provisioningState: result.body.properties?.[\"provisioningState\"],\n registrationState: result.body.properties?.[\"registrationState\"],\n displayName: result.body.properties?.[\"displayName\"],\n regionalDisplayName: result.body.properties?.[\"regionalDisplayName\"],\n regionType: result.body.properties?.[\"regionType\"],\n regionCategory: result.body.properties?.[\"regionCategory\"],\n geography: result.body.properties?.[\"geography\"],\n geographyGroup: result.body.properties?.[\"geographyGroup\"],\n longitude: result.body.properties?.[\"longitude\"],\n latitude: result.body.properties?.[\"latitude\"],\n homeLocation: result.body.properties?.[\"homeLocation\"],\n },\n };\n}\n\n/** Unregisters a subscription for an Extended Zone */\nexport async function extendedZonesUnregister(\n context: Client,\n subscriptionId: string,\n extendedZoneName: string,\n options: ExtendedZonesUnregisterOptionalParams = { requestOptions: {} },\n): Promise<ExtendedZone> {\n const result = await _extendedZonesUnregisterSend(\n context,\n subscriptionId,\n extendedZoneName,\n options,\n );\n return _extendedZonesUnregisterDeserialize(result);\n}\n"]}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { createEdgeZones, EdgeZonesClientOptionalParams, EdgeZonesContext, } from "./edgeZonesContext.js";
|
|
2
|
+
export { extendedZonesGet, extendedZonesListBySubscription, extendedZonesRegister, extendedZonesUnregister, } from "./extendedZones/index.js";
|
|
3
|
+
export { operationsList } from "./operations/index.js";
|
|
2
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EACf,6BAA6B,EAC7B,gBAAgB,GACjB,MAAM,uBAAuB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,eAAe,EACf,6BAA6B,EAC7B,gBAAgB,GACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,+BAA+B,EAC/B,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT license.
|
|
3
3
|
export { createEdgeZones, } from "./edgeZonesContext.js";
|
|
4
|
+
export { extendedZonesGet, extendedZonesListBySubscription, extendedZonesRegister, extendedZonesUnregister, } from "./extendedZones/index.js";
|
|
5
|
+
export { operationsList } from "./operations/index.js";
|
|
4
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,eAAe,GAGhB,MAAM,uBAAuB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport {\n createEdgeZones,\n EdgeZonesClientOptionalParams,\n EdgeZonesContext,\n} from \"./edgeZonesContext.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,eAAe,GAGhB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,+BAA+B,EAC/B,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport {\n createEdgeZones,\n EdgeZonesClientOptionalParams,\n EdgeZonesContext,\n} from \"./edgeZonesContext.js\";\nexport {\n extendedZonesGet,\n extendedZonesListBySubscription,\n extendedZonesRegister,\n extendedZonesUnregister,\n} from \"./extendedZones/index.js\";\nexport { operationsList } from \"./operations/index.js\";\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Operation, _OperationListResult } from "../../models/models.js";
|
|
2
2
|
import { PagedAsyncIterableIterator } from "../../models/pagingTypes.js";
|
|
3
|
-
import { EdgeZonesContext as Client,
|
|
3
|
+
import { EdgeZonesContext as Client, OperationsList200Response, OperationsListDefaultResponse } from "../../rest/index.js";
|
|
4
4
|
import { StreamableMethod } from "@azure-rest/core-client";
|
|
5
5
|
import { OperationsListOptionalParams } from "../../models/options.js";
|
|
6
|
-
export declare function
|
|
7
|
-
export declare function
|
|
6
|
+
export declare function _operationsListSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod<OperationsList200Response | OperationsListDefaultResponse>;
|
|
7
|
+
export declare function _operationsListDeserialize(result: OperationsList200Response | OperationsListDefaultResponse): Promise<_OperationListResult>;
|
|
8
8
|
/** List the operations for the provider */
|
|
9
|
-
export declare function
|
|
9
|
+
export declare function operationsList(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAEzE,OAAO,EAEL,gBAAgB,IAAI,MAAM,EAC1B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAEzE,OAAO,EAEL,gBAAgB,IAAI,MAAM,EAC1B,yBAAyB,EACzB,6BAA6B,EAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,gBAAgB,EAGjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAEvE,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,gBAAgB,CAAC,yBAAyB,GAAG,6BAA6B,CAAC,CAI7E;AAED,wBAAsB,0BAA0B,CAC9C,MAAM,EAAE,yBAAyB,GAAG,6BAA6B,GAChE,OAAO,CAAC,oBAAoB,CAAC,CAwB/B;AAED,2CAA2C;AAC3C,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,0BAA0B,CAAC,SAAS,CAAC,CAOvC"}
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
import { buildPagedAsyncIterator } from "../pagingHelpers.js";
|
|
4
4
|
import { isUnexpected, } from "../../rest/index.js";
|
|
5
5
|
import { operationOptionsToRequestParameters, createRestError, } from "@azure-rest/core-client";
|
|
6
|
-
export function
|
|
6
|
+
export function _operationsListSend(context, options = { requestOptions: {} }) {
|
|
7
7
|
return context
|
|
8
8
|
.path("/providers/Microsoft.EdgeZones/operations")
|
|
9
9
|
.get(Object.assign({}, operationOptionsToRequestParameters(options)));
|
|
10
10
|
}
|
|
11
|
-
export async function
|
|
11
|
+
export async function _operationsListDeserialize(result) {
|
|
12
12
|
if (isUnexpected(result)) {
|
|
13
13
|
throw createRestError(result);
|
|
14
14
|
}
|
|
@@ -34,10 +34,7 @@ export async function _listDeserialize(result) {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
/** List the operations for the provider */
|
|
37
|
-
export function
|
|
38
|
-
return buildPagedAsyncIterator(context, () =>
|
|
39
|
-
itemName: "value",
|
|
40
|
-
nextLinkName: "nextLink",
|
|
41
|
-
});
|
|
37
|
+
export function operationsList(context, options = { requestOptions: {} }) {
|
|
38
|
+
return buildPagedAsyncIterator(context, () => _operationsListSend(context, options), _operationsListDeserialize, { itemName: "value", nextLinkName: "nextLink" });
|
|
42
39
|
}
|
|
43
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EACL,YAAY,GAIb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,mCAAmC,EACnC,eAAe,GAChB,MAAM,yBAAyB,CAAC;AAGjC,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file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,CAAC,YAAY,CAAC;aAC5B,CAAC;QACJ,CAAC,CAAC;QACF,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KAClC,CAAC;AACJ,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,cAAc,CAC5B,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,EAC3C,0BAA0B,EAC1B,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { Operation, _OperationListResult } from \"../../models/models.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { buildPagedAsyncIterator } from \"../pagingHelpers.js\";\nimport {\n isUnexpected,\n EdgeZonesContext as Client,\n OperationsList200Response,\n OperationsListDefaultResponse,\n} from \"../../rest/index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport { OperationsListOptionalParams } from \"../../models/options.js\";\n\nexport function _operationsListSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod<OperationsList200Response | OperationsListDefaultResponse> {\n return context\n .path(\"/providers/Microsoft.EdgeZones/operations\")\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _operationsListDeserialize(\n result: OperationsList200Response | OperationsListDefaultResponse,\n): Promise<_OperationListResult> {\n if (isUnexpected(result)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p) => {\n return {\n name: p[\"name\"],\n isDataAction: p[\"isDataAction\"],\n display: !p.display\n ? undefined\n : {\n provider: p.display?.[\"provider\"],\n resource: p.display?.[\"resource\"],\n operation: p.display?.[\"operation\"],\n description: p.display?.[\"description\"],\n },\n origin: p[\"origin\"],\n actionType: p[\"actionType\"],\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List the operations for the provider */\nexport function operationsList(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _operationsListSend(context, options),\n _operationsListDeserialize,\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/extendedZones/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/classic/extendedZones/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAOtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EACL,8BAA8B,EAC9B,6CAA6C,EAC7C,mCAAmC,EACnC,qCAAqC,EACtC,MAAM,yBAAyB,CAAC;AAEjC,yDAAyD;AACzD,MAAM,WAAW,uBAAuB;IACtC,qDAAqD;IACrD,GAAG,EAAE,CACH,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,8BAA8B,KACrC,OAAO,CAAC,YAAY,CAAC,CAAC;IAC3B,iEAAiE;IACjE,kBAAkB,EAAE,CAClB,OAAO,CAAC,EAAE,6CAA6C,KACpD,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC9C,oDAAoD;IACpD,QAAQ,EAAE,CACR,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,mCAAmC,KAC1C,OAAO,CAAC,YAAY,CAAC,CAAC;IAC3B,sDAAsD;IACtD,UAAU,EAAE,CACV,gBAAgB,EAAE,MAAM,EACxB,OAAO,CAAC,EAAE,qCAAqC,KAC5C,OAAO,CAAC,YAAY,CAAC,CAAC;CAC5B;AAED,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM;4BAEtD,MAAM,YAAY,8BAA8B;mCAEzC,6CAA6C;iCAE/C,MAAM,YAAY,mCAAmC;mCAEnD,MAAM,YAAY,qCAAqC;EAGzF;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,gBAAgB,EACzB,cAAc,EAAE,MAAM,GACrB,uBAAuB,CAIzB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT license.
|
|
3
|
-
import {
|
|
3
|
+
import { extendedZonesGet, extendedZonesListBySubscription, extendedZonesRegister, extendedZonesUnregister, } from "../../api/extendedZones/index.js";
|
|
4
4
|
export function getExtendedZones(context, subscriptionId) {
|
|
5
5
|
return {
|
|
6
|
-
get: (extendedZoneName, options) =>
|
|
7
|
-
listBySubscription: (options) =>
|
|
8
|
-
register: (extendedZoneName, options) =>
|
|
9
|
-
unregister: (extendedZoneName, options) =>
|
|
6
|
+
get: (extendedZoneName, options) => extendedZonesGet(context, subscriptionId, extendedZoneName, options),
|
|
7
|
+
listBySubscription: (options) => extendedZonesListBySubscription(context, subscriptionId, options),
|
|
8
|
+
register: (extendedZoneName, options) => extendedZonesRegister(context, subscriptionId, extendedZoneName, options),
|
|
9
|
+
unregister: (extendedZoneName, options) => extendedZonesUnregister(context, subscriptionId, extendedZoneName, options),
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
export function getExtendedZonesOperations(context, subscriptionId) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/extendedZones/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/extendedZones/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EACL,gBAAgB,EAChB,+BAA+B,EAC/B,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,kCAAkC,CAAC;AAgC1C,MAAM,UAAU,gBAAgB,CAAC,OAAyB,EAAE,cAAsB;IAChF,OAAO;QACL,GAAG,EAAE,CAAC,gBAAwB,EAAE,OAAwC,EAAE,EAAE,CAC1E,gBAAgB,CAAC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC;QACtE,kBAAkB,EAAE,CAAC,OAAuD,EAAE,EAAE,CAC9E,+BAA+B,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC;QACnE,QAAQ,EAAE,CAAC,gBAAwB,EAAE,OAA6C,EAAE,EAAE,CACpF,qBAAqB,CAAC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC;QAC3E,UAAU,EAAE,CAAC,gBAAwB,EAAE,OAA+C,EAAE,EAAE,CACxF,uBAAuB,CAAC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,OAAO,CAAC;KAC9E,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CACxC,OAAyB,EACzB,cAAsB;IAEtB,yBACK,gBAAgB,CAAC,OAAO,EAAE,cAAc,CAAC,EAC5C;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { EdgeZonesContext } from \"../../api/edgeZonesContext.js\";\nimport { ExtendedZone } from \"../../models/models.js\";\nimport {\n extendedZonesGet,\n extendedZonesListBySubscription,\n extendedZonesRegister,\n extendedZonesUnregister,\n} from \"../../api/extendedZones/index.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport {\n ExtendedZonesGetOptionalParams,\n ExtendedZonesListBySubscriptionOptionalParams,\n ExtendedZonesRegisterOptionalParams,\n ExtendedZonesUnregisterOptionalParams,\n} from \"../../models/options.js\";\n\n/** Interface representing a ExtendedZones operations. */\nexport interface ExtendedZonesOperations {\n /** Gets an Azure Extended Zone for a subscription */\n get: (\n extendedZoneName: string,\n options?: ExtendedZonesGetOptionalParams,\n ) => Promise<ExtendedZone>;\n /** Lists the Azure Extended Zones available to a subscription */\n listBySubscription: (\n options?: ExtendedZonesListBySubscriptionOptionalParams,\n ) => PagedAsyncIterableIterator<ExtendedZone>;\n /** Registers a subscription for an Extended Zone */\n register: (\n extendedZoneName: string,\n options?: ExtendedZonesRegisterOptionalParams,\n ) => Promise<ExtendedZone>;\n /** Unregisters a subscription for an Extended Zone */\n unregister: (\n extendedZoneName: string,\n options?: ExtendedZonesUnregisterOptionalParams,\n ) => Promise<ExtendedZone>;\n}\n\nexport function getExtendedZones(context: EdgeZonesContext, subscriptionId: string) {\n return {\n get: (extendedZoneName: string, options?: ExtendedZonesGetOptionalParams) =>\n extendedZonesGet(context, subscriptionId, extendedZoneName, options),\n listBySubscription: (options?: ExtendedZonesListBySubscriptionOptionalParams) =>\n extendedZonesListBySubscription(context, subscriptionId, options),\n register: (extendedZoneName: string, options?: ExtendedZonesRegisterOptionalParams) =>\n extendedZonesRegister(context, subscriptionId, extendedZoneName, options),\n unregister: (extendedZoneName: string, options?: ExtendedZonesUnregisterOptionalParams) =>\n extendedZonesUnregister(context, subscriptionId, extendedZoneName, options),\n };\n}\n\nexport function getExtendedZonesOperations(\n context: EdgeZonesContext,\n subscriptionId: string,\n): ExtendedZonesOperations {\n return {\n ...getExtendedZones(context, subscriptionId),\n };\n}\n"]}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// Copyright (c) Microsoft Corporation.
|
|
2
2
|
// Licensed under the MIT license.
|
|
3
|
-
import {
|
|
3
|
+
import { operationsList } from "../../api/operations/index.js";
|
|
4
4
|
export function getOperations(context) {
|
|
5
5
|
return {
|
|
6
|
-
list: (options) =>
|
|
6
|
+
list: (options) => operationsList(context, options),
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
export function getOperationsOperations(context) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/classic/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAU/D,MAAM,UAAU,aAAa,CAAC,OAAyB;IACrD,OAAO;QACL,IAAI,EAAE,CAAC,OAAsC,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC;KACnF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,OAAyB;IAC/D,yBACK,aAAa,CAAC,OAAO,CAAC,EACzB;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport { EdgeZonesContext } from \"../../api/edgeZonesContext.js\";\nimport { Operation } from \"../../models/models.js\";\nimport { operationsList } from \"../../api/operations/index.js\";\nimport { PagedAsyncIterableIterator } from \"../../models/pagingTypes.js\";\nimport { OperationsListOptionalParams } from \"../../models/options.js\";\n\n/** Interface representing a Operations operations. */\nexport interface OperationsOperations {\n /** List the operations for the provider */\n list: (options?: OperationsListOptionalParams) => PagedAsyncIterableIterator<Operation>;\n}\n\nexport function getOperations(context: EdgeZonesContext) {\n return {\n list: (options?: OperationsListOptionalParams) => operationsList(context, options),\n };\n}\n\nexport function getOperationsOperations(context: EdgeZonesContext): OperationsOperations {\n return {\n ...getOperations(context),\n };\n}\n"]}
|
|
@@ -166,7 +166,7 @@ export interface Operation {
|
|
|
166
166
|
/** Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for Azure Resource Manager/control-plane operations. */
|
|
167
167
|
readonly isDataAction?: boolean;
|
|
168
168
|
/** Localized display information for this particular operation. */
|
|
169
|
-
display?: OperationDisplay;
|
|
169
|
+
readonly display?: OperationDisplay;
|
|
170
170
|
/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" */
|
|
171
171
|
readonly origin?: Origin;
|
|
172
172
|
/** Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. */
|
|
@@ -175,13 +175,13 @@ export interface Operation {
|
|
|
175
175
|
/** Localized display information for and operation. */
|
|
176
176
|
export interface OperationDisplay {
|
|
177
177
|
/** The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". */
|
|
178
|
-
provider?: string;
|
|
178
|
+
readonly provider?: string;
|
|
179
179
|
/** The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". */
|
|
180
|
-
resource?: string;
|
|
180
|
+
readonly resource?: string;
|
|
181
181
|
/** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". */
|
|
182
|
-
operation?: string;
|
|
182
|
+
readonly operation?: string;
|
|
183
183
|
/** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */
|
|
184
|
-
description?: string;
|
|
184
|
+
readonly description?: string;
|
|
185
185
|
}
|
|
186
186
|
/** Known values of {@link Origin} that the service accepts. */
|
|
187
187
|
export declare enum KnownOrigin {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAGA,+FAA+F;AAC/F,MAAM,WAAW,QAAQ;IACvB,gMAAgM;IAChM,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IACrB,+BAA+B;IAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,gHA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mEAAmE;AACnE,oBAAY,eAAe;IACzB,eAAe;IACf,QAAQ,aAAa;CACtB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAChC,kCAAkC;AAClC,MAAM,MAAM,iBAAiB,GACzB,MAAM,GACN,yBAAyB,GACzB,cAAc,GACd,UAAU,GACV,UAAU,GACV,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AA8BlC,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B;AAiDD,kFAAkF;AAClF,MAAM,CAAN,IAAY,8BAOX;AAPD,WAAY,8BAA8B;IACxC,gBAAgB;IAChB,yDAAuB,CAAA;IACvB,aAAa;IACb,mDAAiB,CAAA;IACjB,eAAe;IACf,uDAAqB,CAAA;AACvB,CAAC,EAPW,8BAA8B,KAA9B,8BAA8B,QAOzC;AAaD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,oBAAoB;IACpB,yDAA+B,CAAA;IAC/B,sBAAsB;IACtB,6DAAmC,CAAA;IACnC,iBAAiB;IACjB,mDAAyB,CAAA;IACzB,wBAAwB;IACxB,iEAAuC,CAAA;AACzC,CAAC,EATW,sBAAsB,KAAtB,sBAAsB,QASjC;AAoFD,+DAA+D;AAC/D,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,WAAW;IACX,4BAAa,CAAA;IACb,aAAa;IACb,gCAAiB,CAAA;IACjB,kBAAkB;IAClB,0CAA6B,CAAA;AAC/B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAaD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,eAAe;IACf,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\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?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\n/** Resource that represents an Azure Extended Zone available to a subscription for registering and unregistering. */\nexport interface ExtendedZone extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: ExtendedZoneProperties;\n}\n\n/** The properties of an Extended Zone resource. */\nexport interface ExtendedZoneProperties {\n /** Status of the last operation performed by the subscription on the Edge Zone resource */\n readonly provisioningState?: ProvisioningState;\n /** Indicates the Azure Extended Zone registration’s approval status. */\n readonly registrationState?: RegistrationState;\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/** Known values of {@link ResourceProvisioningState} that the service accepts. */\nexport enum KnownResourceProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled**\n */\nexport type ResourceProvisioningState = string;\n\n/** Known values of {@link RegistrationState} that the service accepts. */\nexport enum KnownRegistrationState {\n /** NotRegistered */\n NotRegistered = \"NotRegistered\",\n /** PendingRegister */\n PendingRegister = \"PendingRegister\",\n /** Registered */\n Registered = \"Registered\",\n /** PendingUnregister */\n PendingUnregister = \"PendingUnregister\",\n}\n\n/**\n * The Azure Extended Zone registration status for a subscription \\\n * {@link KnownRegistrationState} can be used interchangeably with RegistrationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotRegistered** \\\n * **PendingRegister** \\\n * **Registered** \\\n * **PendingUnregister**\n */\nexport type RegistrationState = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\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?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\n/** The response of a ExtendedZone list operation. */\nexport interface _ExtendedZoneListResult {\n /** The ExtendedZone items on this page */\n value: ExtendedZone[];\n /** The link to the next page of items */\n nextLink?: 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 interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\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?: OperationDisplay;\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?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n actionType?: ActionType;\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\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/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n /** user */\n user = \"user\",\n /** system */\n system = \"system\",\n /** user,system */\n \"user,system\" = \"user,system\",\n}\n\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 * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n /** Internal */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**\n */\nexport type ActionType = string;\n\n/** Alias for ProvisioningState */\nexport type ProvisioningState =\n | string\n | ResourceProvisioningState\n | \"Provisioning\"\n | \"Updating\"\n | \"Deleting\"\n | \"Accepted\";\n"]}
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AA8BlC,sEAAsE;AACtE,MAAM,CAAN,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B,WAAW;IACX,mCAAa,CAAA;IACb,kBAAkB;IAClB,iDAA2B,CAAA;IAC3B,sBAAsB;IACtB,yDAAmC,CAAA;IACnC,UAAU;IACV,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,KAAlB,kBAAkB,QAS7B;AAiDD,kFAAkF;AAClF,MAAM,CAAN,IAAY,8BAOX;AAPD,WAAY,8BAA8B;IACxC,gBAAgB;IAChB,yDAAuB,CAAA;IACvB,aAAa;IACb,mDAAiB,CAAA;IACjB,eAAe;IACf,uDAAqB,CAAA;AACvB,CAAC,EAPW,8BAA8B,KAA9B,8BAA8B,QAOzC;AAaD,0EAA0E;AAC1E,MAAM,CAAN,IAAY,sBASX;AATD,WAAY,sBAAsB;IAChC,oBAAoB;IACpB,yDAA+B,CAAA;IAC/B,sBAAsB;IACtB,6DAAmC,CAAA;IACnC,iBAAiB;IACjB,mDAAyB,CAAA;IACzB,wBAAwB;IACxB,iEAAuC,CAAA;AACzC,CAAC,EATW,sBAAsB,KAAtB,sBAAsB,QASjC;AAoFD,+DAA+D;AAC/D,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,WAAW;IACX,4BAAa,CAAA;IACb,aAAa;IACb,gCAAiB,CAAA;IACjB,kBAAkB;IAClB,0CAA6B,CAAA;AAC/B,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AAaD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,eAAe;IACf,wCAAqB,CAAA;AACvB,CAAC,EAHW,eAAe,KAAf,eAAe,QAG1B","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\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?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\n/** Resource that represents an Azure Extended Zone available to a subscription for registering and unregistering. */\nexport interface ExtendedZone extends ProxyResource {\n /** The resource-specific properties for this resource. */\n properties?: ExtendedZoneProperties;\n}\n\n/** The properties of an Extended Zone resource. */\nexport interface ExtendedZoneProperties {\n /** Status of the last operation performed by the subscription on the Edge Zone resource */\n readonly provisioningState?: ProvisioningState;\n /** Indicates the Azure Extended Zone registration’s approval status. */\n readonly registrationState?: RegistrationState;\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/** Known values of {@link ResourceProvisioningState} that the service accepts. */\nexport enum KnownResourceProvisioningState {\n /** Succeeded */\n Succeeded = \"Succeeded\",\n /** Failed */\n Failed = \"Failed\",\n /** Canceled */\n Canceled = \"Canceled\",\n}\n\n/**\n * The provisioning state of a resource type. \\\n * {@link KnownResourceProvisioningState} can be used interchangeably with ResourceProvisioningState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Succeeded** \\\n * **Failed** \\\n * **Canceled**\n */\nexport type ResourceProvisioningState = string;\n\n/** Known values of {@link RegistrationState} that the service accepts. */\nexport enum KnownRegistrationState {\n /** NotRegistered */\n NotRegistered = \"NotRegistered\",\n /** PendingRegister */\n PendingRegister = \"PendingRegister\",\n /** Registered */\n Registered = \"Registered\",\n /** PendingUnregister */\n PendingUnregister = \"PendingUnregister\",\n}\n\n/**\n * The Azure Extended Zone registration status for a subscription \\\n * {@link KnownRegistrationState} can be used interchangeably with RegistrationState,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotRegistered** \\\n * **PendingRegister** \\\n * **Registered** \\\n * **PendingUnregister**\n */\nexport type RegistrationState = string;\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\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?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: Record<string, any>;\n}\n\n/** The response of a ExtendedZone list operation. */\nexport interface _ExtendedZoneListResult {\n /** The ExtendedZone items on this page */\n value: ExtendedZone[];\n /** The link to the next page of items */\n nextLink?: 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 interface _OperationListResult {\n /** The Operation items on this page */\n value: Operation[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\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?: OperationDisplay;\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?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n actionType?: ActionType;\n}\n\n/** Localized display information for and operation. */\nexport interface OperationDisplay {\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/** Known values of {@link Origin} that the service accepts. */\nexport enum KnownOrigin {\n /** user */\n user = \"user\",\n /** system */\n system = \"system\",\n /** user,system */\n \"user,system\" = \"user,system\",\n}\n\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 * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system** \\\n * **user,system**\n */\nexport type Origin = string;\n\n/** Known values of {@link ActionType} that the service accepts. */\nexport enum KnownActionType {\n /** Internal */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**\n */\nexport type ActionType = string;\n/** Alias for ProvisioningState */\nexport type ProvisioningState =\n | string\n | ResourceProvisioningState\n | \"Provisioning\"\n | \"Updating\"\n | \"Deleting\"\n | \"Accepted\";\n"]}
|