@azure/arm-resources 5.2.1-alpha.20250226.1 → 6.0.0
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 +53 -8
- package/README.md +0 -2
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +8 -1
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +181 -4
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +28 -0
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +8 -0
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +1167 -892
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.js +97 -97
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/deploymentOperations.js +79 -79
- package/dist/browser/operations/deploymentOperations.js.map +1 -1
- package/dist/browser/operations/deployments.d.ts.map +1 -1
- package/dist/browser/operations/deployments.js +343 -343
- package/dist/browser/operations/deployments.js.map +1 -1
- package/dist/browser/operations/operations.js +9 -9
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/providerResourceTypes.js +5 -5
- package/dist/browser/operations/providerResourceTypes.js.map +1 -1
- package/dist/browser/operations/providers.d.ts +4 -1
- package/dist/browser/operations/providers.d.ts.map +1 -1
- package/dist/browser/operations/providers.js +51 -48
- package/dist/browser/operations/providers.js.map +1 -1
- package/dist/browser/operations/resourceGroups.d.ts.map +1 -1
- package/dist/browser/operations/resourceGroups.js +51 -51
- package/dist/browser/operations/resourceGroups.js.map +1 -1
- package/dist/browser/operations/resources.d.ts +3 -1
- package/dist/browser/operations/resources.d.ts.map +1 -1
- package/dist/browser/operations/resources.js +125 -123
- package/dist/browser/operations/resources.js.map +1 -1
- package/dist/browser/operations/tagsOperations.d.ts +29 -3
- package/dist/browser/operations/tagsOperations.d.ts.map +1 -1
- package/dist/browser/operations/tagsOperations.js +204 -51
- package/dist/browser/operations/tagsOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/deployments.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/providerResourceTypes.js.map +1 -1
- package/dist/browser/operationsInterfaces/providers.d.ts +4 -1
- package/dist/browser/operationsInterfaces/providers.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/providers.js.map +1 -1
- package/dist/browser/operationsInterfaces/resourceGroups.js.map +1 -1
- package/dist/browser/operationsInterfaces/resources.d.ts +3 -1
- package/dist/browser/operationsInterfaces/resources.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/resources.js.map +1 -1
- package/dist/browser/operationsInterfaces/tagsOperations.d.ts +29 -3
- package/dist/browser/operationsInterfaces/tagsOperations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/tagsOperations.js.map +1 -1
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/resourceManagementClient.d.ts +2 -1
- package/dist/browser/resourceManagementClient.d.ts.map +1 -1
- package/dist/browser/resourceManagementClient.js +16 -18
- package/dist/browser/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +8 -1
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +181 -4
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +29 -1
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +8 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +1169 -894
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.js +96 -96
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/deploymentOperations.js +79 -79
- package/dist/commonjs/operations/deploymentOperations.js.map +1 -1
- package/dist/commonjs/operations/deployments.d.ts.map +1 -1
- package/dist/commonjs/operations/deployments.js +342 -342
- package/dist/commonjs/operations/deployments.js.map +1 -1
- package/dist/commonjs/operations/operations.js +9 -9
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/providerResourceTypes.js +5 -5
- package/dist/commonjs/operations/providerResourceTypes.js.map +1 -1
- package/dist/commonjs/operations/providers.d.ts +4 -1
- package/dist/commonjs/operations/providers.d.ts.map +1 -1
- package/dist/commonjs/operations/providers.js +51 -48
- package/dist/commonjs/operations/providers.js.map +1 -1
- package/dist/commonjs/operations/resourceGroups.d.ts.map +1 -1
- package/dist/commonjs/operations/resourceGroups.js +50 -50
- package/dist/commonjs/operations/resourceGroups.js.map +1 -1
- package/dist/commonjs/operations/resources.d.ts +3 -1
- package/dist/commonjs/operations/resources.d.ts.map +1 -1
- package/dist/commonjs/operations/resources.js +124 -122
- package/dist/commonjs/operations/resources.js.map +1 -1
- package/dist/commonjs/operations/tagsOperations.d.ts +29 -3
- package/dist/commonjs/operations/tagsOperations.d.ts.map +1 -1
- package/dist/commonjs/operations/tagsOperations.js +204 -51
- package/dist/commonjs/operations/tagsOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/deployments.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/providerResourceTypes.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/providers.d.ts +4 -1
- package/dist/commonjs/operationsInterfaces/providers.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/providers.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceGroups.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resources.d.ts +3 -1
- package/dist/commonjs/operationsInterfaces/resources.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/resources.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tagsOperations.d.ts +29 -3
- package/dist/commonjs/operationsInterfaces/tagsOperations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/tagsOperations.js.map +1 -1
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/resourceManagementClient.d.ts +2 -1
- package/dist/commonjs/resourceManagementClient.d.ts.map +1 -1
- package/dist/commonjs/resourceManagementClient.js +15 -17
- package/dist/commonjs/resourceManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +8 -1
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +181 -4
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +28 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +8 -0
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +1167 -892
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.js +97 -97
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/deploymentOperations.js +79 -79
- package/dist/esm/operations/deploymentOperations.js.map +1 -1
- package/dist/esm/operations/deployments.d.ts.map +1 -1
- package/dist/esm/operations/deployments.js +343 -343
- package/dist/esm/operations/deployments.js.map +1 -1
- package/dist/esm/operations/operations.js +9 -9
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/providerResourceTypes.js +5 -5
- package/dist/esm/operations/providerResourceTypes.js.map +1 -1
- package/dist/esm/operations/providers.d.ts +4 -1
- package/dist/esm/operations/providers.d.ts.map +1 -1
- package/dist/esm/operations/providers.js +51 -48
- package/dist/esm/operations/providers.js.map +1 -1
- package/dist/esm/operations/resourceGroups.d.ts.map +1 -1
- package/dist/esm/operations/resourceGroups.js +51 -51
- package/dist/esm/operations/resourceGroups.js.map +1 -1
- package/dist/esm/operations/resources.d.ts +3 -1
- package/dist/esm/operations/resources.d.ts.map +1 -1
- package/dist/esm/operations/resources.js +125 -123
- package/dist/esm/operations/resources.js.map +1 -1
- package/dist/esm/operations/tagsOperations.d.ts +29 -3
- package/dist/esm/operations/tagsOperations.d.ts.map +1 -1
- package/dist/esm/operations/tagsOperations.js +204 -51
- package/dist/esm/operations/tagsOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/deployments.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/providerResourceTypes.js.map +1 -1
- package/dist/esm/operationsInterfaces/providers.d.ts +4 -1
- package/dist/esm/operationsInterfaces/providers.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/providers.js.map +1 -1
- package/dist/esm/operationsInterfaces/resourceGroups.js.map +1 -1
- package/dist/esm/operationsInterfaces/resources.d.ts +3 -1
- package/dist/esm/operationsInterfaces/resources.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/resources.js.map +1 -1
- package/dist/esm/operationsInterfaces/tagsOperations.d.ts +29 -3
- package/dist/esm/operationsInterfaces/tagsOperations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/tagsOperations.js.map +1 -1
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/resourceManagementClient.d.ts +2 -1
- package/dist/esm/resourceManagementClient.d.ts.map +1 -1
- package/dist/esm/resourceManagementClient.js +16 -18
- package/dist/esm/resourceManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +8 -1
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +181 -4
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +28 -0
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +8 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +1167 -892
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.js +97 -97
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/deploymentOperations.js +79 -79
- package/dist/react-native/operations/deploymentOperations.js.map +1 -1
- package/dist/react-native/operations/deployments.d.ts.map +1 -1
- package/dist/react-native/operations/deployments.js +343 -343
- package/dist/react-native/operations/deployments.js.map +1 -1
- package/dist/react-native/operations/operations.js +9 -9
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/providerResourceTypes.js +5 -5
- package/dist/react-native/operations/providerResourceTypes.js.map +1 -1
- package/dist/react-native/operations/providers.d.ts +4 -1
- package/dist/react-native/operations/providers.d.ts.map +1 -1
- package/dist/react-native/operations/providers.js +51 -48
- package/dist/react-native/operations/providers.js.map +1 -1
- package/dist/react-native/operations/resourceGroups.d.ts.map +1 -1
- package/dist/react-native/operations/resourceGroups.js +51 -51
- package/dist/react-native/operations/resourceGroups.js.map +1 -1
- package/dist/react-native/operations/resources.d.ts +3 -1
- package/dist/react-native/operations/resources.d.ts.map +1 -1
- package/dist/react-native/operations/resources.js +125 -123
- package/dist/react-native/operations/resources.js.map +1 -1
- package/dist/react-native/operations/tagsOperations.d.ts +29 -3
- package/dist/react-native/operations/tagsOperations.d.ts.map +1 -1
- package/dist/react-native/operations/tagsOperations.js +204 -51
- package/dist/react-native/operations/tagsOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/deployments.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/providerResourceTypes.js.map +1 -1
- package/dist/react-native/operationsInterfaces/providers.d.ts +4 -1
- package/dist/react-native/operationsInterfaces/providers.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/providers.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceGroups.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resources.d.ts +3 -1
- package/dist/react-native/operationsInterfaces/resources.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/resources.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tagsOperations.d.ts +29 -3
- package/dist/react-native/operationsInterfaces/tagsOperations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/tagsOperations.js.map +1 -1
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/resourceManagementClient.d.ts +2 -1
- package/dist/react-native/resourceManagementClient.d.ts.map +1 -1
- package/dist/react-native/resourceManagementClient.js +16 -18
- package/dist/react-native/resourceManagementClient.js.map +1 -1
- package/package.json +9 -9
- package/review/arm-resources.api.md +107 -6
|
@@ -7,21 +7,19 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
10
|
-
import { OperationsImpl, DeploymentsImpl, ProvidersImpl, ProviderResourceTypesImpl, ResourcesImpl, ResourceGroupsImpl, TagsOperationsImpl, DeploymentOperationsImpl } from "./operations/index.js";
|
|
10
|
+
import { OperationsImpl, DeploymentsImpl, ProvidersImpl, ProviderResourceTypesImpl, ResourcesImpl, ResourceGroupsImpl, TagsOperationsImpl, DeploymentOperationsImpl, } from "./operations/index.js";
|
|
11
11
|
export class ResourceManagementClient extends coreClient.ServiceClient {
|
|
12
|
-
|
|
13
|
-
* Initializes a new instance of the ResourceManagementClient class.
|
|
14
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
15
|
-
* @param subscriptionId The Microsoft Azure subscription ID.
|
|
16
|
-
* @param options The parameter options
|
|
17
|
-
*/
|
|
18
|
-
constructor(credentials, subscriptionId, options) {
|
|
12
|
+
constructor(credentials, subscriptionIdOrOptions, options) {
|
|
19
13
|
var _a, _b, _c;
|
|
20
14
|
if (credentials === undefined) {
|
|
21
15
|
throw new Error("'credentials' cannot be null");
|
|
22
16
|
}
|
|
23
|
-
|
|
24
|
-
|
|
17
|
+
let subscriptionId;
|
|
18
|
+
if (typeof subscriptionIdOrOptions === "string") {
|
|
19
|
+
subscriptionId = subscriptionIdOrOptions;
|
|
20
|
+
}
|
|
21
|
+
else if (typeof subscriptionIdOrOptions === "object") {
|
|
22
|
+
options = subscriptionIdOrOptions;
|
|
25
23
|
}
|
|
26
24
|
// Initializing default values for options
|
|
27
25
|
if (!options) {
|
|
@@ -29,14 +27,14 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
|
|
|
29
27
|
}
|
|
30
28
|
const defaults = {
|
|
31
29
|
requestContentType: "application/json; charset=utf-8",
|
|
32
|
-
credential: credentials
|
|
30
|
+
credential: credentials,
|
|
33
31
|
};
|
|
34
|
-
const packageDetails = `azsdk-js-arm-resources/
|
|
32
|
+
const packageDetails = `azsdk-js-arm-resources/6.0.0`;
|
|
35
33
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
36
34
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
37
35
|
: `${packageDetails}`;
|
|
38
36
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
39
|
-
userAgentPrefix
|
|
37
|
+
userAgentPrefix,
|
|
40
38
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
41
39
|
super(optionsWithDefaults);
|
|
42
40
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -50,21 +48,21 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
|
|
|
50
48
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
51
49
|
!bearerTokenAuthenticationPolicyFound) {
|
|
52
50
|
this.pipeline.removePolicy({
|
|
53
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
51
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
54
52
|
});
|
|
55
53
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
56
54
|
credential: credentials,
|
|
57
55
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
58
56
|
challengeCallbacks: {
|
|
59
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
60
|
-
}
|
|
57
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
58
|
+
},
|
|
61
59
|
}));
|
|
62
60
|
}
|
|
63
61
|
// Parameter assignments
|
|
64
62
|
this.subscriptionId = subscriptionId;
|
|
65
63
|
// Assigning values to Constant parameters
|
|
66
64
|
this.$host = options.$host || "https://management.azure.com";
|
|
67
|
-
this.apiVersion = options.apiVersion || "
|
|
65
|
+
this.apiVersion = options.apiVersion || "2024-11-01";
|
|
68
66
|
this.operations = new OperationsImpl(this);
|
|
69
67
|
this.deployments = new DeploymentsImpl(this);
|
|
70
68
|
this.providers = new ProvidersImpl(this);
|
|
@@ -96,7 +94,7 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
|
|
|
96
94
|
request.url = param[0] + "?" + newParams.join("&");
|
|
97
95
|
}
|
|
98
96
|
return next(request);
|
|
99
|
-
}
|
|
97
|
+
},
|
|
100
98
|
};
|
|
101
99
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
102
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceManagementClient.js","sourceRoot":"","sources":["../../src/resourceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,cAAc,EACd,eAAe,EACf,aAAa,EACb,yBAAyB,EACzB,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,
|
|
1
|
+
{"version":3,"file":"resourceManagementClient.js","sourceRoot":"","sources":["../../src/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GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAUF","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n OperationsImpl,\n DeploymentsImpl,\n ProvidersImpl,\n ProviderResourceTypesImpl,\n ResourcesImpl,\n ResourceGroupsImpl,\n TagsOperationsImpl,\n DeploymentOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n Operations,\n Deployments,\n Providers,\n ProviderResourceTypes,\n Resources,\n ResourceGroups,\n TagsOperations,\n DeploymentOperations,\n} from \"./operationsInterfaces/index.js\";\nimport { ResourceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ResourceManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId?: string;\n\n /**\n * Initializes a new instance of the ResourceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The Microsoft Azure subscription ID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ResourceManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n options?: ResourceManagementClientOptionalParams,\n );\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionIdOrOptions?: ResourceManagementClientOptionalParams | string,\n options?: ResourceManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ResourceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-resources/6.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-11-01\";\n this.operations = new OperationsImpl(this);\n this.deployments = new DeploymentsImpl(this);\n this.providers = new ProvidersImpl(this);\n this.providerResourceTypes = new ProviderResourceTypesImpl(this);\n this.resources = new ResourcesImpl(this);\n this.resourceGroups = new ResourceGroupsImpl(this);\n this.tagsOperations = new TagsOperationsImpl(this);\n this.deploymentOperations = new DeploymentOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n operations: Operations;\n deployments: Deployments;\n providers: Providers;\n providerResourceTypes: ProviderResourceTypes;\n resources: Resources;\n resourceGroups: ResourceGroups;\n tagsOperations: TagsOperations;\n deploymentOperations: DeploymentOperations;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for ResourceManagementClient.",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "6.0.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=18.0.0"
|
|
9
9
|
},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@azure/abort-controller": "^2.1.2",
|
|
12
12
|
"@azure/core-auth": "^1.9.0",
|
|
13
13
|
"@azure/core-client": "^1.9.2",
|
|
14
|
-
"@azure/core-lro": "^2.5.
|
|
14
|
+
"@azure/core-lro": "^2.5.4",
|
|
15
15
|
"@azure/core-paging": "^1.6.2",
|
|
16
16
|
"@azure/core-rest-pipeline": "^1.19.0",
|
|
17
17
|
"tslib": "^2.8.1"
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
"types": "./dist/commonjs/index.d.ts",
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@azure-tools/test-credential": "^2.0.0",
|
|
32
|
-
"@azure-tools/test-recorder": "
|
|
33
|
-
"@azure-tools/test-utils-vitest": "
|
|
34
|
-
"@azure/dev-tool": "
|
|
35
|
-
"@azure/identity": "^4.
|
|
32
|
+
"@azure-tools/test-recorder": "^4.1.0",
|
|
33
|
+
"@azure-tools/test-utils-vitest": "^1.0.0",
|
|
34
|
+
"@azure/dev-tool": "^1.0.0",
|
|
35
|
+
"@azure/identity": "^4.7.0",
|
|
36
36
|
"@azure/logger": "^1.1.4",
|
|
37
37
|
"@types/node": "^18.0.0",
|
|
38
|
-
"@vitest/browser": "^3.0.
|
|
39
|
-
"@vitest/coverage-istanbul": "^3.0.
|
|
38
|
+
"@vitest/browser": "^3.0.6",
|
|
39
|
+
"@vitest/coverage-istanbul": "^3.0.6",
|
|
40
40
|
"dotenv": "^16.0.0",
|
|
41
41
|
"playwright": "^1.50.1",
|
|
42
42
|
"typescript": "~5.7.2",
|
|
43
|
-
"vitest": "^3.0.
|
|
43
|
+
"vitest": "^3.0.6"
|
|
44
44
|
},
|
|
45
45
|
"repository": {
|
|
46
46
|
"type": "git",
|
|
@@ -96,6 +96,15 @@ export interface Deployment {
|
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
// @public (undocumented)
|
|
100
|
+
export interface DeploymentDiagnosticsDefinition {
|
|
101
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
102
|
+
readonly code: string;
|
|
103
|
+
readonly level: Level;
|
|
104
|
+
readonly message: string;
|
|
105
|
+
readonly target?: string;
|
|
106
|
+
}
|
|
107
|
+
|
|
99
108
|
// @public
|
|
100
109
|
export interface DeploymentExportResult {
|
|
101
110
|
template?: Record<string, unknown>;
|
|
@@ -278,16 +287,25 @@ export interface DeploymentOperationsListResult {
|
|
|
278
287
|
value?: DeploymentOperation[];
|
|
279
288
|
}
|
|
280
289
|
|
|
290
|
+
// @public
|
|
291
|
+
export interface DeploymentParameter {
|
|
292
|
+
reference?: KeyVaultParameterReference;
|
|
293
|
+
value?: any;
|
|
294
|
+
}
|
|
295
|
+
|
|
281
296
|
// @public
|
|
282
297
|
export interface DeploymentProperties {
|
|
283
298
|
debugSetting?: DebugSetting;
|
|
284
299
|
expressionEvaluationOptions?: ExpressionEvaluationOptions;
|
|
285
300
|
mode: DeploymentMode;
|
|
286
301
|
onErrorDeployment?: OnErrorDeployment;
|
|
287
|
-
parameters?:
|
|
302
|
+
parameters?: {
|
|
303
|
+
[propertyName: string]: DeploymentParameter;
|
|
304
|
+
};
|
|
288
305
|
parametersLink?: ParametersLink;
|
|
289
306
|
template?: Record<string, unknown>;
|
|
290
307
|
templateLink?: TemplateLink;
|
|
308
|
+
validationLevel?: ValidationLevel;
|
|
291
309
|
}
|
|
292
310
|
|
|
293
311
|
// @public
|
|
@@ -295,6 +313,7 @@ export interface DeploymentPropertiesExtended {
|
|
|
295
313
|
readonly correlationId?: string;
|
|
296
314
|
readonly debugSetting?: DebugSetting;
|
|
297
315
|
readonly dependencies?: Dependency[];
|
|
316
|
+
readonly diagnostics?: DeploymentDiagnosticsDefinition[];
|
|
298
317
|
readonly duration?: string;
|
|
299
318
|
readonly error?: ErrorResponse;
|
|
300
319
|
readonly mode?: DeploymentMode;
|
|
@@ -309,6 +328,7 @@ export interface DeploymentPropertiesExtended {
|
|
|
309
328
|
readonly templateLink?: TemplateLink;
|
|
310
329
|
readonly timestamp?: Date;
|
|
311
330
|
readonly validatedResources?: ResourceReference[];
|
|
331
|
+
validationLevel?: ValidationLevel;
|
|
312
332
|
}
|
|
313
333
|
|
|
314
334
|
// @public
|
|
@@ -784,7 +804,10 @@ export type DeploymentsWhatIfResponse = WhatIfOperationResult;
|
|
|
784
804
|
// @public
|
|
785
805
|
export interface DeploymentValidateResult {
|
|
786
806
|
readonly error?: ErrorResponse;
|
|
807
|
+
readonly id?: string;
|
|
808
|
+
readonly name?: string;
|
|
787
809
|
properties?: DeploymentPropertiesExtended;
|
|
810
|
+
readonly type?: string;
|
|
788
811
|
}
|
|
789
812
|
|
|
790
813
|
// @public
|
|
@@ -818,9 +841,13 @@ export interface ErrorResponse {
|
|
|
818
841
|
readonly target?: string;
|
|
819
842
|
}
|
|
820
843
|
|
|
844
|
+
// @public
|
|
845
|
+
export type ExportTemplateOutputFormat = string;
|
|
846
|
+
|
|
821
847
|
// @public
|
|
822
848
|
export interface ExportTemplateRequest {
|
|
823
849
|
options?: string;
|
|
850
|
+
outputFormat?: ExportTemplateOutputFormat;
|
|
824
851
|
resources?: string[];
|
|
825
852
|
}
|
|
826
853
|
|
|
@@ -889,6 +916,18 @@ export interface IdentityUserAssignedIdentitiesValue {
|
|
|
889
916
|
readonly principalId?: string;
|
|
890
917
|
}
|
|
891
918
|
|
|
919
|
+
// @public
|
|
920
|
+
export interface KeyVaultParameterReference {
|
|
921
|
+
keyVault: KeyVaultReference;
|
|
922
|
+
secretName: string;
|
|
923
|
+
secretVersion?: string;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
// @public
|
|
927
|
+
export interface KeyVaultReference {
|
|
928
|
+
id: string;
|
|
929
|
+
}
|
|
930
|
+
|
|
892
931
|
// @public
|
|
893
932
|
export enum KnownAliasPathAttributes {
|
|
894
933
|
Modifiable = "Modifiable",
|
|
@@ -907,6 +946,12 @@ export enum KnownAliasPathTokenType {
|
|
|
907
946
|
String = "String"
|
|
908
947
|
}
|
|
909
948
|
|
|
949
|
+
// @public
|
|
950
|
+
export enum KnownExportTemplateOutputFormat {
|
|
951
|
+
Bicep = "Bicep",
|
|
952
|
+
Json = "Json"
|
|
953
|
+
}
|
|
954
|
+
|
|
910
955
|
// @public
|
|
911
956
|
export enum KnownExpressionEvaluationOptionsScopeType {
|
|
912
957
|
Inner = "Inner",
|
|
@@ -919,6 +964,13 @@ export enum KnownExtendedLocationType {
|
|
|
919
964
|
EdgeZone = "EdgeZone"
|
|
920
965
|
}
|
|
921
966
|
|
|
967
|
+
// @public
|
|
968
|
+
export enum KnownLevel {
|
|
969
|
+
Error = "Error",
|
|
970
|
+
Info = "Info",
|
|
971
|
+
Warning = "Warning"
|
|
972
|
+
}
|
|
973
|
+
|
|
922
974
|
// @public
|
|
923
975
|
export enum KnownProviderAuthorizationConsentState {
|
|
924
976
|
Consented = "Consented",
|
|
@@ -950,6 +1002,16 @@ export enum KnownTagsPatchOperation {
|
|
|
950
1002
|
Replace = "Replace"
|
|
951
1003
|
}
|
|
952
1004
|
|
|
1005
|
+
// @public
|
|
1006
|
+
export enum KnownValidationLevel {
|
|
1007
|
+
Provider = "Provider",
|
|
1008
|
+
ProviderNoRbac = "ProviderNoRbac",
|
|
1009
|
+
Template = "Template"
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
// @public
|
|
1013
|
+
export type Level = string;
|
|
1014
|
+
|
|
953
1015
|
// @public
|
|
954
1016
|
export interface OnErrorDeployment {
|
|
955
1017
|
deploymentName?: string;
|
|
@@ -1235,6 +1297,7 @@ export interface ResourceGroup {
|
|
|
1235
1297
|
// @public
|
|
1236
1298
|
export interface ResourceGroupExportResult {
|
|
1237
1299
|
error?: ErrorResponse;
|
|
1300
|
+
output?: string;
|
|
1238
1301
|
template?: Record<string, unknown>;
|
|
1239
1302
|
}
|
|
1240
1303
|
|
|
@@ -1294,6 +1357,11 @@ export interface ResourceGroupsCreateOrUpdateOptionalParams extends coreClient.O
|
|
|
1294
1357
|
// @public
|
|
1295
1358
|
export type ResourceGroupsCreateOrUpdateResponse = ResourceGroup;
|
|
1296
1359
|
|
|
1360
|
+
// @public
|
|
1361
|
+
export interface ResourceGroupsDeleteHeaders {
|
|
1362
|
+
location?: string;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1297
1365
|
// @public
|
|
1298
1366
|
export interface ResourceGroupsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1299
1367
|
forceDeletionTypes?: string;
|
|
@@ -1354,6 +1422,7 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
|
|
|
1354
1422
|
// (undocumented)
|
|
1355
1423
|
$host: string;
|
|
1356
1424
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ResourceManagementClientOptionalParams);
|
|
1425
|
+
constructor(credentials: coreAuth.TokenCredential, options?: ResourceManagementClientOptionalParams);
|
|
1357
1426
|
// (undocumented)
|
|
1358
1427
|
apiVersion: string;
|
|
1359
1428
|
// (undocumented)
|
|
@@ -1371,7 +1440,7 @@ export class ResourceManagementClient extends coreClient.ServiceClient {
|
|
|
1371
1440
|
// (undocumented)
|
|
1372
1441
|
resources: Resources;
|
|
1373
1442
|
// (undocumented)
|
|
1374
|
-
subscriptionId
|
|
1443
|
+
subscriptionId?: string;
|
|
1375
1444
|
// (undocumented)
|
|
1376
1445
|
tagsOperations: TagsOperations;
|
|
1377
1446
|
}
|
|
@@ -1621,8 +1690,15 @@ export interface Tags {
|
|
|
1621
1690
|
};
|
|
1622
1691
|
}
|
|
1623
1692
|
|
|
1693
|
+
// @public
|
|
1694
|
+
export interface TagsCreateOrUpdateAtScopeHeaders {
|
|
1695
|
+
location?: string;
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1624
1698
|
// @public
|
|
1625
1699
|
export interface TagsCreateOrUpdateAtScopeOptionalParams extends coreClient.OperationOptions {
|
|
1700
|
+
resumeFrom?: string;
|
|
1701
|
+
updateIntervalInMs?: number;
|
|
1626
1702
|
}
|
|
1627
1703
|
|
|
1628
1704
|
// @public
|
|
@@ -1642,8 +1718,15 @@ export interface TagsCreateOrUpdateValueOptionalParams extends coreClient.Operat
|
|
|
1642
1718
|
// @public
|
|
1643
1719
|
export type TagsCreateOrUpdateValueResponse = TagValue;
|
|
1644
1720
|
|
|
1721
|
+
// @public
|
|
1722
|
+
export interface TagsDeleteAtScopeHeaders {
|
|
1723
|
+
location?: string;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1645
1726
|
// @public
|
|
1646
1727
|
export interface TagsDeleteAtScopeOptionalParams extends coreClient.OperationOptions {
|
|
1728
|
+
resumeFrom?: string;
|
|
1729
|
+
updateIntervalInMs?: number;
|
|
1647
1730
|
}
|
|
1648
1731
|
|
|
1649
1732
|
// @public
|
|
@@ -1683,15 +1766,18 @@ export interface TagsListResult {
|
|
|
1683
1766
|
|
|
1684
1767
|
// @public
|
|
1685
1768
|
export interface TagsOperations {
|
|
1769
|
+
beginCreateOrUpdateAtScope(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<SimplePollerLike<OperationState<TagsCreateOrUpdateAtScopeResponse>, TagsCreateOrUpdateAtScopeResponse>>;
|
|
1770
|
+
beginCreateOrUpdateAtScopeAndWait(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<TagsCreateOrUpdateAtScopeResponse>;
|
|
1771
|
+
beginDeleteAtScope(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
|
1772
|
+
beginDeleteAtScopeAndWait(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<void>;
|
|
1773
|
+
beginUpdateAtScope(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<SimplePollerLike<OperationState<TagsUpdateAtScopeResponse>, TagsUpdateAtScopeResponse>>;
|
|
1774
|
+
beginUpdateAtScopeAndWait(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<TagsUpdateAtScopeResponse>;
|
|
1686
1775
|
createOrUpdate(tagName: string, options?: TagsCreateOrUpdateOptionalParams): Promise<TagsCreateOrUpdateResponse>;
|
|
1687
|
-
createOrUpdateAtScope(scope: string, parameters: TagsResource, options?: TagsCreateOrUpdateAtScopeOptionalParams): Promise<TagsCreateOrUpdateAtScopeResponse>;
|
|
1688
1776
|
createOrUpdateValue(tagName: string, tagValue: string, options?: TagsCreateOrUpdateValueOptionalParams): Promise<TagsCreateOrUpdateValueResponse>;
|
|
1689
1777
|
delete(tagName: string, options?: TagsDeleteOptionalParams): Promise<void>;
|
|
1690
|
-
deleteAtScope(scope: string, options?: TagsDeleteAtScopeOptionalParams): Promise<void>;
|
|
1691
1778
|
deleteValue(tagName: string, tagValue: string, options?: TagsDeleteValueOptionalParams): Promise<void>;
|
|
1692
1779
|
getAtScope(scope: string, options?: TagsGetAtScopeOptionalParams): Promise<TagsGetAtScopeResponse>;
|
|
1693
1780
|
list(options?: TagsListOptionalParams): PagedAsyncIterableIterator<TagDetails>;
|
|
1694
|
-
updateAtScope(scope: string, parameters: TagsPatchResource, options?: TagsUpdateAtScopeOptionalParams): Promise<TagsUpdateAtScopeResponse>;
|
|
1695
1781
|
}
|
|
1696
1782
|
|
|
1697
1783
|
// @public
|
|
@@ -1711,8 +1797,15 @@ export interface TagsResource {
|
|
|
1711
1797
|
readonly type?: string;
|
|
1712
1798
|
}
|
|
1713
1799
|
|
|
1800
|
+
// @public
|
|
1801
|
+
export interface TagsUpdateAtScopeHeaders {
|
|
1802
|
+
location?: string;
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1714
1805
|
// @public
|
|
1715
1806
|
export interface TagsUpdateAtScopeOptionalParams extends coreClient.OperationOptions {
|
|
1807
|
+
resumeFrom?: string;
|
|
1808
|
+
updateIntervalInMs?: number;
|
|
1716
1809
|
}
|
|
1717
1810
|
|
|
1718
1811
|
// @public
|
|
@@ -1747,20 +1840,28 @@ export interface TemplateLink {
|
|
|
1747
1840
|
uri?: string;
|
|
1748
1841
|
}
|
|
1749
1842
|
|
|
1843
|
+
// @public
|
|
1844
|
+
export type ValidationLevel = string;
|
|
1845
|
+
|
|
1750
1846
|
// @public
|
|
1751
1847
|
export interface WhatIfChange {
|
|
1752
1848
|
after?: Record<string, unknown>;
|
|
1753
1849
|
before?: Record<string, unknown>;
|
|
1754
1850
|
changeType: ChangeType;
|
|
1755
1851
|
delta?: WhatIfPropertyChange[];
|
|
1756
|
-
|
|
1852
|
+
deploymentId?: string;
|
|
1853
|
+
identifiers?: Record<string, unknown>;
|
|
1854
|
+
resourceId?: string;
|
|
1855
|
+
symbolicName?: string;
|
|
1757
1856
|
unsupportedReason?: string;
|
|
1758
1857
|
}
|
|
1759
1858
|
|
|
1760
1859
|
// @public
|
|
1761
1860
|
export interface WhatIfOperationResult {
|
|
1762
1861
|
changes?: WhatIfChange[];
|
|
1862
|
+
readonly diagnostics?: DeploymentDiagnosticsDefinition[];
|
|
1763
1863
|
error?: ErrorResponse;
|
|
1864
|
+
potentialChanges?: WhatIfChange[];
|
|
1764
1865
|
status?: string;
|
|
1765
1866
|
}
|
|
1766
1867
|
|