@azure/arm-templatespecs 1.0.0 → 2.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 +5 -0
- package/{LICENSE.txt → LICENSE} +1 -1
- package/README.md +70 -84
- package/dist/index.js +1285 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +306 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +22 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +15 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +196 -227
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +16 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +144 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +1 -2
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/templateSpecVersions.d.ts +72 -0
- package/dist-esm/src/operations/templateSpecVersions.d.ts.map +1 -0
- package/dist-esm/src/operations/templateSpecVersions.js +279 -0
- package/dist-esm/src/operations/templateSpecVersions.js.map +1 -0
- package/dist-esm/src/operations/templateSpecs.d.ts +82 -0
- package/dist-esm/src/operations/templateSpecs.d.ts.map +1 -0
- package/dist-esm/src/operations/templateSpecs.js +358 -0
- package/dist-esm/src/operations/templateSpecs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +10 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/templateSpecVersions.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/templateSpecVersions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/templateSpecVersions.js +9 -0
- package/dist-esm/src/operationsInterfaces/templateSpecVersions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/templateSpecs.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/templateSpecs.d.ts.map +1 -0
- package/{esm/models/index.js → dist-esm/src/operationsInterfaces/templateSpecs.js} +2 -1
- package/dist-esm/src/operationsInterfaces/templateSpecs.js.map +1 -0
- package/dist-esm/src/templateSpecsClient.d.ts +19 -0
- package/dist-esm/src/templateSpecsClient.d.ts.map +1 -0
- package/dist-esm/src/templateSpecsClient.js +52 -0
- package/dist-esm/src/templateSpecsClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +63 -32
- package/review/arm-templatespecs.api.md +280 -0
- package/rollup.config.js +181 -30
- package/src/index.ts +12 -0
- package/src/models/index.ts +233 -494
- package/src/models/mappers.ts +208 -239
- package/src/models/parameters.ts +104 -45
- package/src/operations/index.ts +1 -2
- package/src/operations/templateSpecVersions.ts +222 -254
- package/src/operations/templateSpecs.ts +276 -315
- package/src/operationsInterfaces/index.ts +10 -0
- package/src/operationsInterfaces/templateSpecVersions.ts +91 -0
- package/src/operationsInterfaces/templateSpecs.ts +88 -0
- package/src/templateSpecsClient.ts +62 -34
- package/tsconfig.json +3 -3
- package/types/arm-templatespecs.d.ts +457 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-templatespecs.js +0 -1294
- package/dist/arm-templatespecs.js.map +0 -1
- package/dist/arm-templatespecs.min.js +0 -1
- package/dist/arm-templatespecs.min.js.map +0 -1
- package/esm/models/index.d.ts +0 -571
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -17
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -107
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/templateSpecVersionsMappers.d.ts +0 -2
- package/esm/models/templateSpecVersionsMappers.d.ts.map +0 -1
- package/esm/models/templateSpecVersionsMappers.js +0 -9
- package/esm/models/templateSpecVersionsMappers.js.map +0 -1
- package/esm/models/templateSpecsMappers.d.ts +0 -2
- package/esm/models/templateSpecsMappers.d.ts.map +0 -1
- package/esm/models/templateSpecsMappers.js +0 -9
- package/esm/models/templateSpecsMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/templateSpecVersions.d.ts +0 -152
- package/esm/operations/templateSpecVersions.d.ts.map +0 -1
- package/esm/operations/templateSpecVersions.js +0 -233
- package/esm/operations/templateSpecVersions.js.map +0 -1
- package/esm/operations/templateSpecs.d.ts +0 -170
- package/esm/operations/templateSpecs.d.ts.map +0 -1
- package/esm/operations/templateSpecs.js +0 -284
- package/esm/operations/templateSpecs.js.map +0 -1
- package/esm/templateSpecsClient.d.ts +0 -25
- package/esm/templateSpecsClient.d.ts.map +0 -1
- package/esm/templateSpecsClient.js +0 -38
- package/esm/templateSpecsClient.js.map +0 -1
- package/esm/templateSpecsClientContext.d.ts +0 -22
- package/esm/templateSpecsClientContext.d.ts.map +0 -1
- package/esm/templateSpecsClientContext.js +0 -60
- package/esm/templateSpecsClientContext.js.map +0 -1
- package/src/models/templateSpecVersionsMappers.ts +0 -23
- package/src/models/templateSpecsMappers.ts +0 -23
- package/src/templateSpecsClientContext.ts +0 -67
package/esm/models/parameters.js
DELETED
@@ -1,107 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
7
|
-
* regenerated.
|
8
|
-
*/
|
9
|
-
export var acceptLanguage = {
|
10
|
-
parameterPath: "acceptLanguage",
|
11
|
-
mapper: {
|
12
|
-
serializedName: "accept-language",
|
13
|
-
defaultValue: 'en-US',
|
14
|
-
type: {
|
15
|
-
name: "String"
|
16
|
-
}
|
17
|
-
}
|
18
|
-
};
|
19
|
-
export var apiVersion = {
|
20
|
-
parameterPath: "apiVersion",
|
21
|
-
mapper: {
|
22
|
-
required: true,
|
23
|
-
serializedName: "api-version",
|
24
|
-
type: {
|
25
|
-
name: "String"
|
26
|
-
}
|
27
|
-
}
|
28
|
-
};
|
29
|
-
export var expand = {
|
30
|
-
parameterPath: [
|
31
|
-
"options",
|
32
|
-
"expand"
|
33
|
-
],
|
34
|
-
mapper: {
|
35
|
-
serializedName: "$expand",
|
36
|
-
type: {
|
37
|
-
name: "String"
|
38
|
-
}
|
39
|
-
}
|
40
|
-
};
|
41
|
-
export var nextPageLink = {
|
42
|
-
parameterPath: "nextPageLink",
|
43
|
-
mapper: {
|
44
|
-
required: true,
|
45
|
-
serializedName: "nextLink",
|
46
|
-
type: {
|
47
|
-
name: "String"
|
48
|
-
}
|
49
|
-
},
|
50
|
-
skipEncoding: true
|
51
|
-
};
|
52
|
-
export var resourceGroupName = {
|
53
|
-
parameterPath: "resourceGroupName",
|
54
|
-
mapper: {
|
55
|
-
required: true,
|
56
|
-
serializedName: "resourceGroupName",
|
57
|
-
constraints: {
|
58
|
-
MaxLength: 90,
|
59
|
-
MinLength: 1,
|
60
|
-
Pattern: /^[-\w\._\(\)]+$/
|
61
|
-
},
|
62
|
-
type: {
|
63
|
-
name: "String"
|
64
|
-
}
|
65
|
-
}
|
66
|
-
};
|
67
|
-
export var subscriptionId = {
|
68
|
-
parameterPath: "subscriptionId",
|
69
|
-
mapper: {
|
70
|
-
required: true,
|
71
|
-
serializedName: "subscriptionId",
|
72
|
-
type: {
|
73
|
-
name: "String"
|
74
|
-
}
|
75
|
-
}
|
76
|
-
};
|
77
|
-
export var templateSpecName = {
|
78
|
-
parameterPath: "templateSpecName",
|
79
|
-
mapper: {
|
80
|
-
required: true,
|
81
|
-
serializedName: "templateSpecName",
|
82
|
-
constraints: {
|
83
|
-
MaxLength: 90,
|
84
|
-
MinLength: 1,
|
85
|
-
Pattern: /^[-\w\._\(\)]+$/
|
86
|
-
},
|
87
|
-
type: {
|
88
|
-
name: "String"
|
89
|
-
}
|
90
|
-
}
|
91
|
-
};
|
92
|
-
export var templateSpecVersion = {
|
93
|
-
parameterPath: "templateSpecVersion",
|
94
|
-
mapper: {
|
95
|
-
required: true,
|
96
|
-
serializedName: "templateSpecVersion",
|
97
|
-
constraints: {
|
98
|
-
MaxLength: 90,
|
99
|
-
MinLength: 1,
|
100
|
-
Pattern: /^[-\w\._\(\)]+$/
|
101
|
-
},
|
102
|
-
type: {
|
103
|
-
name: "String"
|
104
|
-
}
|
105
|
-
}
|
106
|
-
};
|
107
|
-
//# sourceMappingURL=parameters.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,IAAM,cAAc,GAA8B;IACvD,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE;QACN,cAAc,EAAE,iBAAiB;QACjC,YAAY,EAAE,OAAO;QACrB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,UAAU,GAAmC;IACxD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,QAAQ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,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AACF,MAAM,CAAC,IAAM,mBAAmB,GAAiC;IAC/D,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE;QACN,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,qBAAqB;QACrC,WAAW,EAAE;YACX,SAAS,EAAE,EAAE;YACb,SAAS,EAAE,CAAC;YACZ,OAAO,EAAE,iBAAiB;SAC3B;QACD,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export { AzureResourceBase, BaseResource, ErrorAdditionalInfo, ErrorResponse, LinkedTemplateArtifact, SystemData, TemplateSpec, TemplateSpecsError, TemplateSpecUpdateModel, TemplateSpecVersion, TemplateSpecVersionInfo, TemplateSpecVersionsListResult, TemplateSpecVersionUpdateModel } from "../models/mappers";
|
2
|
-
//# sourceMappingURL=templateSpecVersionsMappers.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"templateSpecVersionsMappers.d.ts","sourceRoot":"","sources":["../../src/models/templateSpecVersionsMappers.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,mBAAmB,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
export { AzureResourceBase, BaseResource, ErrorAdditionalInfo, ErrorResponse, LinkedTemplateArtifact, SystemData, TemplateSpec, TemplateSpecsError, TemplateSpecUpdateModel, TemplateSpecVersion, TemplateSpecVersionInfo, TemplateSpecVersionsListResult, TemplateSpecVersionUpdateModel } from "../models/mappers";
|
9
|
-
//# sourceMappingURL=templateSpecVersionsMappers.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"templateSpecVersionsMappers.js","sourceRoot":"","sources":["../../src/models/templateSpecVersionsMappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,8BAA8B,EAC9B,8BAA8B,EAC/B,MAAM,mBAAmB,CAAC"}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export { AzureResourceBase, BaseResource, ErrorAdditionalInfo, ErrorResponse, LinkedTemplateArtifact, SystemData, TemplateSpec, TemplateSpecsError, TemplateSpecsListResult, TemplateSpecUpdateModel, TemplateSpecVersion, TemplateSpecVersionInfo, TemplateSpecVersionUpdateModel } from "../models/mappers";
|
2
|
-
//# sourceMappingURL=templateSpecsMappers.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"templateSpecsMappers.d.ts","sourceRoot":"","sources":["../../src/models/templateSpecsMappers.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,8BAA8B,EAC/B,MAAM,mBAAmB,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
export { AzureResourceBase, BaseResource, ErrorAdditionalInfo, ErrorResponse, LinkedTemplateArtifact, SystemData, TemplateSpec, TemplateSpecsError, TemplateSpecsListResult, TemplateSpecUpdateModel, TemplateSpecVersion, TemplateSpecVersionInfo, TemplateSpecVersionUpdateModel } from "../models/mappers";
|
9
|
-
//# sourceMappingURL=templateSpecsMappers.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"templateSpecsMappers.js","sourceRoot":"","sources":["../../src/models/templateSpecsMappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,aAAa,EACb,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,uBAAuB,EACvB,8BAA8B,EAC/B,MAAM,mBAAmB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AASA,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC"}
|
@@ -1,152 +0,0 @@
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
2
|
-
import * as Models from "../models";
|
3
|
-
import { TemplateSpecsClientContext } from "../templateSpecsClientContext";
|
4
|
-
/** Class representing a TemplateSpecVersions. */
|
5
|
-
export declare class TemplateSpecVersions {
|
6
|
-
private readonly client;
|
7
|
-
/**
|
8
|
-
* Create a TemplateSpecVersions.
|
9
|
-
* @param {TemplateSpecsClientContext} client Reference to the service client.
|
10
|
-
*/
|
11
|
-
constructor(client: TemplateSpecsClientContext);
|
12
|
-
/**
|
13
|
-
* Creates or updates a Template Spec version.
|
14
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
15
|
-
* @param templateSpecName Name of the Template Spec.
|
16
|
-
* @param templateSpecVersion The version of the Template Spec.
|
17
|
-
* @param templateSpecVersionModel Template Spec Version supplied to the operation.
|
18
|
-
* @param [options] The optional parameters
|
19
|
-
* @returns Promise<Models.TemplateSpecVersionsCreateOrUpdateResponse>
|
20
|
-
*/
|
21
|
-
createOrUpdate(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, templateSpecVersionModel: Models.TemplateSpecVersion, options?: msRest.RequestOptionsBase): Promise<Models.TemplateSpecVersionsCreateOrUpdateResponse>;
|
22
|
-
/**
|
23
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
24
|
-
* @param templateSpecName Name of the Template Spec.
|
25
|
-
* @param templateSpecVersion The version of the Template Spec.
|
26
|
-
* @param templateSpecVersionModel Template Spec Version supplied to the operation.
|
27
|
-
* @param callback The callback
|
28
|
-
*/
|
29
|
-
createOrUpdate(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, templateSpecVersionModel: Models.TemplateSpecVersion, callback: msRest.ServiceCallback<Models.TemplateSpecVersion>): void;
|
30
|
-
/**
|
31
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
32
|
-
* @param templateSpecName Name of the Template Spec.
|
33
|
-
* @param templateSpecVersion The version of the Template Spec.
|
34
|
-
* @param templateSpecVersionModel Template Spec Version supplied to the operation.
|
35
|
-
* @param options The optional parameters
|
36
|
-
* @param callback The callback
|
37
|
-
*/
|
38
|
-
createOrUpdate(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, templateSpecVersionModel: Models.TemplateSpecVersion, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TemplateSpecVersion>): void;
|
39
|
-
/**
|
40
|
-
* Updates Template Spec Version tags with specified values.
|
41
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
42
|
-
* @param templateSpecName Name of the Template Spec.
|
43
|
-
* @param templateSpecVersion The version of the Template Spec.
|
44
|
-
* @param [options] The optional parameters
|
45
|
-
* @returns Promise<Models.TemplateSpecVersionsUpdateResponse>
|
46
|
-
*/
|
47
|
-
update(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, options?: Models.TemplateSpecVersionsUpdateOptionalParams): Promise<Models.TemplateSpecVersionsUpdateResponse>;
|
48
|
-
/**
|
49
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
50
|
-
* @param templateSpecName Name of the Template Spec.
|
51
|
-
* @param templateSpecVersion The version of the Template Spec.
|
52
|
-
* @param callback The callback
|
53
|
-
*/
|
54
|
-
update(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, callback: msRest.ServiceCallback<Models.TemplateSpecVersion>): void;
|
55
|
-
/**
|
56
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
57
|
-
* @param templateSpecName Name of the Template Spec.
|
58
|
-
* @param templateSpecVersion The version of the Template Spec.
|
59
|
-
* @param options The optional parameters
|
60
|
-
* @param callback The callback
|
61
|
-
*/
|
62
|
-
update(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, options: Models.TemplateSpecVersionsUpdateOptionalParams, callback: msRest.ServiceCallback<Models.TemplateSpecVersion>): void;
|
63
|
-
/**
|
64
|
-
* Gets a Template Spec version from a specific Template Spec.
|
65
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
66
|
-
* @param templateSpecName Name of the Template Spec.
|
67
|
-
* @param templateSpecVersion The version of the Template Spec.
|
68
|
-
* @param [options] The optional parameters
|
69
|
-
* @returns Promise<Models.TemplateSpecVersionsGetResponse>
|
70
|
-
*/
|
71
|
-
get(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, options?: msRest.RequestOptionsBase): Promise<Models.TemplateSpecVersionsGetResponse>;
|
72
|
-
/**
|
73
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
74
|
-
* @param templateSpecName Name of the Template Spec.
|
75
|
-
* @param templateSpecVersion The version of the Template Spec.
|
76
|
-
* @param callback The callback
|
77
|
-
*/
|
78
|
-
get(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, callback: msRest.ServiceCallback<Models.TemplateSpecVersion>): void;
|
79
|
-
/**
|
80
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
81
|
-
* @param templateSpecName Name of the Template Spec.
|
82
|
-
* @param templateSpecVersion The version of the Template Spec.
|
83
|
-
* @param options The optional parameters
|
84
|
-
* @param callback The callback
|
85
|
-
*/
|
86
|
-
get(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TemplateSpecVersion>): void;
|
87
|
-
/**
|
88
|
-
* Deletes a specific version from a Template Spec. When operation completes, status code 200
|
89
|
-
* returned without content.
|
90
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
91
|
-
* @param templateSpecName Name of the Template Spec.
|
92
|
-
* @param templateSpecVersion The version of the Template Spec.
|
93
|
-
* @param [options] The optional parameters
|
94
|
-
* @returns Promise<msRest.RestResponse>
|
95
|
-
*/
|
96
|
-
deleteMethod(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
97
|
-
/**
|
98
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
99
|
-
* @param templateSpecName Name of the Template Spec.
|
100
|
-
* @param templateSpecVersion The version of the Template Spec.
|
101
|
-
* @param callback The callback
|
102
|
-
*/
|
103
|
-
deleteMethod(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, callback: msRest.ServiceCallback<void>): void;
|
104
|
-
/**
|
105
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
106
|
-
* @param templateSpecName Name of the Template Spec.
|
107
|
-
* @param templateSpecVersion The version of the Template Spec.
|
108
|
-
* @param options The optional parameters
|
109
|
-
* @param callback The callback
|
110
|
-
*/
|
111
|
-
deleteMethod(resourceGroupName: string, templateSpecName: string, templateSpecVersion: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
112
|
-
/**
|
113
|
-
* Lists all the Template Spec versions in the specified Template Spec.
|
114
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
115
|
-
* @param templateSpecName Name of the Template Spec.
|
116
|
-
* @param [options] The optional parameters
|
117
|
-
* @returns Promise<Models.TemplateSpecVersionsListResponse>
|
118
|
-
*/
|
119
|
-
list(resourceGroupName: string, templateSpecName: string, options?: msRest.RequestOptionsBase): Promise<Models.TemplateSpecVersionsListResponse>;
|
120
|
-
/**
|
121
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
122
|
-
* @param templateSpecName Name of the Template Spec.
|
123
|
-
* @param callback The callback
|
124
|
-
*/
|
125
|
-
list(resourceGroupName: string, templateSpecName: string, callback: msRest.ServiceCallback<Models.TemplateSpecVersionsListResult>): void;
|
126
|
-
/**
|
127
|
-
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
128
|
-
* @param templateSpecName Name of the Template Spec.
|
129
|
-
* @param options The optional parameters
|
130
|
-
* @param callback The callback
|
131
|
-
*/
|
132
|
-
list(resourceGroupName: string, templateSpecName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TemplateSpecVersionsListResult>): void;
|
133
|
-
/**
|
134
|
-
* Lists all the Template Spec versions in the specified Template Spec.
|
135
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
136
|
-
* @param [options] The optional parameters
|
137
|
-
* @returns Promise<Models.TemplateSpecVersionsListNextResponse>
|
138
|
-
*/
|
139
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.TemplateSpecVersionsListNextResponse>;
|
140
|
-
/**
|
141
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
142
|
-
* @param callback The callback
|
143
|
-
*/
|
144
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.TemplateSpecVersionsListResult>): void;
|
145
|
-
/**
|
146
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
147
|
-
* @param options The optional parameters
|
148
|
-
* @param callback The callback
|
149
|
-
*/
|
150
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TemplateSpecVersionsListResult>): void;
|
151
|
-
}
|
152
|
-
//# sourceMappingURL=templateSpecVersions.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"templateSpecVersions.d.ts","sourceRoot":"","sources":["../../src/operations/templateSpecVersions.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,iDAAiD;AACjD,qBAAa,oBAAoB;IAC/B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAAE,0BAA0B;IAI9C;;;;;;;;OAQG;IACH,cAAc,CAAC,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,CAAC,mBAAmB,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,0CAA0C,CAAC;IACvP;;;;;;OAMG;IACH,cAAc,CAAC,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,EAAE,wBAAwB,EAAE,MAAM,CAAC,mBAAmB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,mBAAmB,CAAC,GAAG,IAAI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,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,8BAA8B,CAAC,GAAG,IAAI;IAY5K;;;;;OAKG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,oCAAoC,CAAC;IACzH;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,8BAA8B,CAAC,GAAG,IAAI;IAC7G;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,8BAA8B,CAAC,GAAG,IAAI;CAUlJ"}
|
@@ -1,233 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
7
|
-
* regenerated.
|
8
|
-
*/
|
9
|
-
import { __assign } from "tslib";
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
11
|
-
import * as Mappers from "../models/templateSpecVersionsMappers";
|
12
|
-
import * as Parameters from "../models/parameters";
|
13
|
-
/** Class representing a TemplateSpecVersions. */
|
14
|
-
var TemplateSpecVersions = /** @class */ (function () {
|
15
|
-
/**
|
16
|
-
* Create a TemplateSpecVersions.
|
17
|
-
* @param {TemplateSpecsClientContext} client Reference to the service client.
|
18
|
-
*/
|
19
|
-
function TemplateSpecVersions(client) {
|
20
|
-
this.client = client;
|
21
|
-
}
|
22
|
-
TemplateSpecVersions.prototype.createOrUpdate = function (resourceGroupName, templateSpecName, templateSpecVersion, templateSpecVersionModel, options, callback) {
|
23
|
-
return this.client.sendOperationRequest({
|
24
|
-
resourceGroupName: resourceGroupName,
|
25
|
-
templateSpecName: templateSpecName,
|
26
|
-
templateSpecVersion: templateSpecVersion,
|
27
|
-
templateSpecVersionModel: templateSpecVersionModel,
|
28
|
-
options: options
|
29
|
-
}, createOrUpdateOperationSpec, callback);
|
30
|
-
};
|
31
|
-
TemplateSpecVersions.prototype.update = function (resourceGroupName, templateSpecName, templateSpecVersion, options, callback) {
|
32
|
-
return this.client.sendOperationRequest({
|
33
|
-
resourceGroupName: resourceGroupName,
|
34
|
-
templateSpecName: templateSpecName,
|
35
|
-
templateSpecVersion: templateSpecVersion,
|
36
|
-
options: options
|
37
|
-
}, updateOperationSpec, callback);
|
38
|
-
};
|
39
|
-
TemplateSpecVersions.prototype.get = function (resourceGroupName, templateSpecName, templateSpecVersion, options, callback) {
|
40
|
-
return this.client.sendOperationRequest({
|
41
|
-
resourceGroupName: resourceGroupName,
|
42
|
-
templateSpecName: templateSpecName,
|
43
|
-
templateSpecVersion: templateSpecVersion,
|
44
|
-
options: options
|
45
|
-
}, getOperationSpec, callback);
|
46
|
-
};
|
47
|
-
TemplateSpecVersions.prototype.deleteMethod = function (resourceGroupName, templateSpecName, templateSpecVersion, options, callback) {
|
48
|
-
return this.client.sendOperationRequest({
|
49
|
-
resourceGroupName: resourceGroupName,
|
50
|
-
templateSpecName: templateSpecName,
|
51
|
-
templateSpecVersion: templateSpecVersion,
|
52
|
-
options: options
|
53
|
-
}, deleteMethodOperationSpec, callback);
|
54
|
-
};
|
55
|
-
TemplateSpecVersions.prototype.list = function (resourceGroupName, templateSpecName, options, callback) {
|
56
|
-
return this.client.sendOperationRequest({
|
57
|
-
resourceGroupName: resourceGroupName,
|
58
|
-
templateSpecName: templateSpecName,
|
59
|
-
options: options
|
60
|
-
}, listOperationSpec, callback);
|
61
|
-
};
|
62
|
-
TemplateSpecVersions.prototype.listNext = function (nextPageLink, options, callback) {
|
63
|
-
return this.client.sendOperationRequest({
|
64
|
-
nextPageLink: nextPageLink,
|
65
|
-
options: options
|
66
|
-
}, listNextOperationSpec, callback);
|
67
|
-
};
|
68
|
-
return TemplateSpecVersions;
|
69
|
-
}());
|
70
|
-
export { TemplateSpecVersions };
|
71
|
-
// Operation Specifications
|
72
|
-
var serializer = new msRest.Serializer(Mappers);
|
73
|
-
var createOrUpdateOperationSpec = {
|
74
|
-
httpMethod: "PUT",
|
75
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",
|
76
|
-
urlParameters: [
|
77
|
-
Parameters.subscriptionId,
|
78
|
-
Parameters.resourceGroupName,
|
79
|
-
Parameters.templateSpecName,
|
80
|
-
Parameters.templateSpecVersion
|
81
|
-
],
|
82
|
-
queryParameters: [
|
83
|
-
Parameters.apiVersion
|
84
|
-
],
|
85
|
-
headerParameters: [
|
86
|
-
Parameters.acceptLanguage
|
87
|
-
],
|
88
|
-
requestBody: {
|
89
|
-
parameterPath: "templateSpecVersionModel",
|
90
|
-
mapper: __assign(__assign({}, Mappers.TemplateSpecVersion), { required: true })
|
91
|
-
},
|
92
|
-
responses: {
|
93
|
-
200: {
|
94
|
-
bodyMapper: Mappers.TemplateSpecVersion
|
95
|
-
},
|
96
|
-
201: {
|
97
|
-
bodyMapper: Mappers.TemplateSpecVersion
|
98
|
-
},
|
99
|
-
default: {
|
100
|
-
bodyMapper: Mappers.TemplateSpecsError
|
101
|
-
}
|
102
|
-
},
|
103
|
-
serializer: serializer
|
104
|
-
};
|
105
|
-
var updateOperationSpec = {
|
106
|
-
httpMethod: "PATCH",
|
107
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",
|
108
|
-
urlParameters: [
|
109
|
-
Parameters.subscriptionId,
|
110
|
-
Parameters.resourceGroupName,
|
111
|
-
Parameters.templateSpecName,
|
112
|
-
Parameters.templateSpecVersion
|
113
|
-
],
|
114
|
-
queryParameters: [
|
115
|
-
Parameters.apiVersion
|
116
|
-
],
|
117
|
-
headerParameters: [
|
118
|
-
Parameters.acceptLanguage
|
119
|
-
],
|
120
|
-
requestBody: {
|
121
|
-
parameterPath: [
|
122
|
-
"options",
|
123
|
-
"templateSpecVersionUpdateModel"
|
124
|
-
],
|
125
|
-
mapper: Mappers.TemplateSpecVersionUpdateModel
|
126
|
-
},
|
127
|
-
responses: {
|
128
|
-
200: {
|
129
|
-
bodyMapper: Mappers.TemplateSpecVersion
|
130
|
-
},
|
131
|
-
default: {
|
132
|
-
bodyMapper: Mappers.TemplateSpecsError
|
133
|
-
}
|
134
|
-
},
|
135
|
-
serializer: serializer
|
136
|
-
};
|
137
|
-
var getOperationSpec = {
|
138
|
-
httpMethod: "GET",
|
139
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",
|
140
|
-
urlParameters: [
|
141
|
-
Parameters.subscriptionId,
|
142
|
-
Parameters.resourceGroupName,
|
143
|
-
Parameters.templateSpecName,
|
144
|
-
Parameters.templateSpecVersion
|
145
|
-
],
|
146
|
-
queryParameters: [
|
147
|
-
Parameters.apiVersion
|
148
|
-
],
|
149
|
-
headerParameters: [
|
150
|
-
Parameters.acceptLanguage
|
151
|
-
],
|
152
|
-
responses: {
|
153
|
-
200: {
|
154
|
-
bodyMapper: Mappers.TemplateSpecVersion
|
155
|
-
},
|
156
|
-
default: {
|
157
|
-
bodyMapper: Mappers.TemplateSpecsError
|
158
|
-
}
|
159
|
-
},
|
160
|
-
serializer: serializer
|
161
|
-
};
|
162
|
-
var deleteMethodOperationSpec = {
|
163
|
-
httpMethod: "DELETE",
|
164
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",
|
165
|
-
urlParameters: [
|
166
|
-
Parameters.subscriptionId,
|
167
|
-
Parameters.resourceGroupName,
|
168
|
-
Parameters.templateSpecName,
|
169
|
-
Parameters.templateSpecVersion
|
170
|
-
],
|
171
|
-
queryParameters: [
|
172
|
-
Parameters.apiVersion
|
173
|
-
],
|
174
|
-
headerParameters: [
|
175
|
-
Parameters.acceptLanguage
|
176
|
-
],
|
177
|
-
responses: {
|
178
|
-
200: {},
|
179
|
-
204: {},
|
180
|
-
default: {
|
181
|
-
bodyMapper: Mappers.TemplateSpecsError
|
182
|
-
}
|
183
|
-
},
|
184
|
-
serializer: serializer
|
185
|
-
};
|
186
|
-
var listOperationSpec = {
|
187
|
-
httpMethod: "GET",
|
188
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions",
|
189
|
-
urlParameters: [
|
190
|
-
Parameters.subscriptionId,
|
191
|
-
Parameters.resourceGroupName,
|
192
|
-
Parameters.templateSpecName
|
193
|
-
],
|
194
|
-
queryParameters: [
|
195
|
-
Parameters.apiVersion
|
196
|
-
],
|
197
|
-
headerParameters: [
|
198
|
-
Parameters.acceptLanguage
|
199
|
-
],
|
200
|
-
responses: {
|
201
|
-
200: {
|
202
|
-
bodyMapper: Mappers.TemplateSpecVersionsListResult
|
203
|
-
},
|
204
|
-
default: {
|
205
|
-
bodyMapper: Mappers.TemplateSpecsError
|
206
|
-
}
|
207
|
-
},
|
208
|
-
serializer: serializer
|
209
|
-
};
|
210
|
-
var listNextOperationSpec = {
|
211
|
-
httpMethod: "GET",
|
212
|
-
baseUrl: "https://management.azure.com",
|
213
|
-
path: "{nextLink}",
|
214
|
-
urlParameters: [
|
215
|
-
Parameters.nextPageLink
|
216
|
-
],
|
217
|
-
queryParameters: [
|
218
|
-
Parameters.apiVersion
|
219
|
-
],
|
220
|
-
headerParameters: [
|
221
|
-
Parameters.acceptLanguage
|
222
|
-
],
|
223
|
-
responses: {
|
224
|
-
200: {
|
225
|
-
bodyMapper: Mappers.TemplateSpecVersionsListResult
|
226
|
-
},
|
227
|
-
default: {
|
228
|
-
bodyMapper: Mappers.TemplateSpecsError
|
229
|
-
}
|
230
|
-
},
|
231
|
-
serializer: serializer
|
232
|
-
};
|
233
|
-
//# sourceMappingURL=templateSpecVersions.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"templateSpecVersions.js","sourceRoot":"","sources":["../../src/operations/templateSpecVersions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,uCAAuC,CAAC;AACjE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,iDAAiD;AACjD;IAGE;;;OAGG;IACH,8BAAY,MAAkC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IA6BD,6CAAc,GAAd,UAAe,iBAAyB,EAAE,gBAAwB,EAAE,mBAA2B,EAAE,wBAAoD,EAAE,OAAwF,EAAE,QAA6D;QAC5S,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,gBAAgB,kBAAA;YAChB,mBAAmB,qBAAA;YACnB,wBAAwB,0BAAA;YACxB,OAAO,SAAA;SACR,EACD,2BAA2B,EAC3B,QAAQ,CAA+D,CAAC;IAC5E,CAAC;IA0BD,qCAAM,GAAN,UAAO,iBAAyB,EAAE,gBAAwB,EAAE,mBAA2B,EAAE,OAA8G,EAAE,QAA6D;QACpQ,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,gBAAgB,kBAAA;YAChB,mBAAmB,qBAAA;YACnB,OAAO,SAAA;SACR,EACD,mBAAmB,EACnB,QAAQ,CAAuD,CAAC;IACpE,CAAC;IA0BD,kCAAG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