@azure/arm-azurestack 2.1.1 → 3.0.0-beta.1
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 +11 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +69 -80
- package/dist/index.js +3000 -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/azureStackManagementClient.d.ts +24 -0
- package/dist-esm/src/azureStackManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureStackManagementClient.js +57 -0
- package/dist-esm/src/azureStackManagementClient.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 +854 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +55 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +37 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +608 -394
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +20 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +163 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/cloudManifestFile.d.ts +24 -0
- package/dist-esm/src/operations/cloudManifestFile.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudManifestFile.js +70 -0
- package/dist-esm/src/operations/cloudManifestFile.js.map +1 -0
- package/dist-esm/src/operations/customerSubscriptions.d.ts +63 -0
- package/dist-esm/src/operations/customerSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/customerSubscriptions.js +241 -0
- package/dist-esm/src/operations/customerSubscriptions.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +3 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +6 -6
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/linkedSubscriptions.d.ts +83 -0
- package/dist-esm/src/operations/linkedSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/linkedSubscriptions.js +359 -0
- package/dist-esm/src/operations/linkedSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/products.d.ts +78 -0
- package/dist-esm/src/operations/products.d.ts.map +1 -0
- package/dist-esm/src/operations/products.js +303 -0
- package/dist-esm/src/operations/products.js.map +1 -0
- package/dist-esm/src/operations/registrations.d.ts +97 -0
- package/dist-esm/src/operations/registrations.d.ts.map +1 -0
- package/dist-esm/src/operations/registrations.js +416 -0
- package/dist-esm/src/operations/registrations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudManifestFile.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/customerSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +7 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +14 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/linkedSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/products.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/products.js +9 -0
- package/dist-esm/src/operationsInterfaces/products.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/registrations.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/registrations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/registrations.js +9 -0
- package/dist-esm/src/operationsInterfaces/registrations.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +4 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +43 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +63 -32
- package/review/arm-azurestack.api.md +695 -0
- package/rollup.config.js +181 -30
- package/src/azureStackManagementClient.ts +88 -43
- package/src/index.ts +12 -0
- package/src/models/index.ts +725 -836
- package/src/models/mappers.ts +623 -384
- package/src/models/parameters.ts +130 -32
- package/src/operations/cloudManifestFile.ts +93 -0
- package/src/operations/customerSubscriptions.ts +191 -206
- package/src/operations/index.ts +6 -6
- package/src/operations/linkedSubscriptions.ts +450 -0
- package/src/operations/operations.ts +89 -75
- package/src/operations/products.ts +240 -299
- package/src/operations/registrations.ts +347 -266
- package/src/operationsInterfaces/cloudManifestFile.ts +34 -0
- package/src/operationsInterfaces/customerSubscriptions.ts +75 -0
- package/src/operationsInterfaces/index.ts +14 -0
- package/src/operationsInterfaces/linkedSubscriptions.ts +91 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/products.ts +104 -0
- package/src/operationsInterfaces/registrations.ts +116 -0
- package/tsconfig.json +3 -3
- package/types/arm-azurestack.d.ts +1206 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-azurestack.js +0 -2153
- package/dist/arm-azurestack.js.map +0 -1
- package/dist/arm-azurestack.min.js +0 -1
- package/dist/arm-azurestack.min.js.map +0 -1
- package/esm/azureStackManagementClient.d.ts +0 -28
- package/esm/azureStackManagementClient.d.ts.map +0 -1
- package/esm/azureStackManagementClient.js +0 -42
- package/esm/azureStackManagementClient.js.map +0 -1
- package/esm/azureStackManagementClientContext.d.ts +0 -23
- package/esm/azureStackManagementClientContext.d.ts.map +0 -1
- package/esm/azureStackManagementClientContext.js +0 -62
- package/esm/azureStackManagementClientContext.js.map +0 -1
- package/esm/models/customerSubscriptionsMappers.d.ts +0 -2
- package/esm/models/customerSubscriptionsMappers.d.ts.map +0 -1
- package/esm/models/customerSubscriptionsMappers.js +0 -9
- package/esm/models/customerSubscriptionsMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -1014
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -31
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.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 -92
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/productsMappers.d.ts +0 -2
- package/esm/models/productsMappers.d.ts.map +0 -1
- package/esm/models/productsMappers.js +0 -9
- package/esm/models/productsMappers.js.map +0 -1
- package/esm/models/registrationsMappers.d.ts +0 -2
- package/esm/models/registrationsMappers.d.ts.map +0 -1
- package/esm/models/registrationsMappers.js +0 -9
- package/esm/models/registrationsMappers.js.map +0 -1
- package/esm/operations/customerSubscriptions.d.ts +0 -127
- package/esm/operations/customerSubscriptions.d.ts.map +0 -1
- package/esm/operations/customerSubscriptions.js +0 -188
- package/esm/operations/customerSubscriptions.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/products.d.ts +0 -169
- package/esm/operations/products.d.ts.map +0 -1
- package/esm/operations/products.js +0 -268
- package/esm/operations/products.js.map +0 -1
- package/esm/operations/registrations.d.ts +0 -160
- package/esm/operations/registrations.d.ts.map +0 -1
- package/esm/operations/registrations.js +0 -250
- package/esm/operations/registrations.js.map +0 -1
- package/src/azureStackManagementClientContext.ts +0 -69
- package/src/models/customerSubscriptionsMappers.ts +0 -24
- package/src/models/operationsMappers.ts +0 -14
- package/src/models/productsMappers.ts +0 -30
- package/src/models/registrationsMappers.ts +0 -26
package/src/models/parameters.ts
CHANGED
|
@@ -1,94 +1,192 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
9
|
+
import {
|
|
10
|
+
OperationParameter,
|
|
11
|
+
OperationURLParameter,
|
|
12
|
+
OperationQueryParameter
|
|
13
|
+
} from "@azure/core-client";
|
|
14
|
+
import {
|
|
15
|
+
CustomerSubscription as CustomerSubscriptionMapper,
|
|
16
|
+
DeviceConfiguration as DeviceConfigurationMapper,
|
|
17
|
+
MarketplaceProductLogUpdate as MarketplaceProductLogUpdateMapper,
|
|
18
|
+
RegistrationParameter as RegistrationParameterMapper,
|
|
19
|
+
LinkedSubscriptionParameter as LinkedSubscriptionParameterMapper
|
|
20
|
+
} from "../models/mappers";
|
|
12
21
|
|
|
13
|
-
export const
|
|
14
|
-
parameterPath: "
|
|
22
|
+
export const accept: OperationParameter = {
|
|
23
|
+
parameterPath: "accept",
|
|
15
24
|
mapper: {
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
defaultValue: "application/json",
|
|
26
|
+
isConstant: true,
|
|
27
|
+
serializedName: "Accept",
|
|
18
28
|
type: {
|
|
19
29
|
name: "String"
|
|
20
30
|
}
|
|
21
31
|
}
|
|
22
32
|
};
|
|
23
|
-
|
|
24
|
-
|
|
33
|
+
|
|
34
|
+
export const $host: OperationURLParameter = {
|
|
35
|
+
parameterPath: "$host",
|
|
25
36
|
mapper: {
|
|
37
|
+
serializedName: "$host",
|
|
26
38
|
required: true,
|
|
39
|
+
type: {
|
|
40
|
+
name: "String"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
skipEncoding: true
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const apiVersion: OperationQueryParameter = {
|
|
47
|
+
parameterPath: "apiVersion",
|
|
48
|
+
mapper: {
|
|
49
|
+
defaultValue: "2020-06-01-preview",
|
|
50
|
+
isConstant: true,
|
|
27
51
|
serializedName: "api-version",
|
|
28
|
-
defaultValue: '2017-06-01',
|
|
29
52
|
type: {
|
|
30
53
|
name: "String"
|
|
31
54
|
}
|
|
32
55
|
}
|
|
33
56
|
};
|
|
34
|
-
|
|
35
|
-
|
|
57
|
+
|
|
58
|
+
export const nextLink: OperationURLParameter = {
|
|
59
|
+
parameterPath: "nextLink",
|
|
36
60
|
mapper: {
|
|
61
|
+
serializedName: "nextLink",
|
|
37
62
|
required: true,
|
|
38
|
-
|
|
63
|
+
type: {
|
|
64
|
+
name: "String"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
skipEncoding: true
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export const verificationVersion: OperationURLParameter = {
|
|
71
|
+
parameterPath: "verificationVersion",
|
|
72
|
+
mapper: {
|
|
73
|
+
serializedName: "verificationVersion",
|
|
74
|
+
required: true,
|
|
75
|
+
type: {
|
|
76
|
+
name: "String"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export const versionCreationDate: OperationQueryParameter = {
|
|
82
|
+
parameterPath: ["options", "versionCreationDate"],
|
|
83
|
+
mapper: {
|
|
84
|
+
serializedName: "versionCreationDate",
|
|
39
85
|
type: {
|
|
40
86
|
name: "String"
|
|
41
87
|
}
|
|
42
88
|
}
|
|
43
89
|
};
|
|
44
|
-
|
|
45
|
-
|
|
90
|
+
|
|
91
|
+
export const subscriptionId: OperationURLParameter = {
|
|
92
|
+
parameterPath: "subscriptionId",
|
|
46
93
|
mapper: {
|
|
94
|
+
serializedName: "subscriptionId",
|
|
47
95
|
required: true,
|
|
48
|
-
serializedName: "nextLink",
|
|
49
96
|
type: {
|
|
50
97
|
name: "String"
|
|
51
98
|
}
|
|
52
|
-
}
|
|
53
|
-
skipEncoding: true
|
|
99
|
+
}
|
|
54
100
|
};
|
|
55
|
-
|
|
56
|
-
|
|
101
|
+
|
|
102
|
+
export const resourceGroup: OperationURLParameter = {
|
|
103
|
+
parameterPath: "resourceGroup",
|
|
57
104
|
mapper: {
|
|
105
|
+
serializedName: "resourceGroup",
|
|
58
106
|
required: true,
|
|
59
|
-
serializedName: "productName",
|
|
60
107
|
type: {
|
|
61
108
|
name: "String"
|
|
62
109
|
}
|
|
63
110
|
}
|
|
64
111
|
};
|
|
65
|
-
|
|
112
|
+
|
|
113
|
+
export const registrationName: OperationURLParameter = {
|
|
66
114
|
parameterPath: "registrationName",
|
|
67
115
|
mapper: {
|
|
68
|
-
required: true,
|
|
69
116
|
serializedName: "registrationName",
|
|
117
|
+
required: true,
|
|
70
118
|
type: {
|
|
71
119
|
name: "String"
|
|
72
120
|
}
|
|
73
121
|
}
|
|
74
122
|
};
|
|
75
|
-
|
|
76
|
-
|
|
123
|
+
|
|
124
|
+
export const customerSubscriptionName: OperationURLParameter = {
|
|
125
|
+
parameterPath: "customerSubscriptionName",
|
|
77
126
|
mapper: {
|
|
127
|
+
serializedName: "customerSubscriptionName",
|
|
78
128
|
required: true,
|
|
79
|
-
serializedName: "resourceGroup",
|
|
80
129
|
type: {
|
|
81
130
|
name: "String"
|
|
82
131
|
}
|
|
83
132
|
}
|
|
84
133
|
};
|
|
85
|
-
|
|
86
|
-
|
|
134
|
+
|
|
135
|
+
export const contentType: OperationParameter = {
|
|
136
|
+
parameterPath: ["options", "contentType"],
|
|
137
|
+
mapper: {
|
|
138
|
+
defaultValue: "application/json",
|
|
139
|
+
isConstant: true,
|
|
140
|
+
serializedName: "Content-Type",
|
|
141
|
+
type: {
|
|
142
|
+
name: "String"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
export const customerCreationParameters: OperationParameter = {
|
|
148
|
+
parameterPath: "customerCreationParameters",
|
|
149
|
+
mapper: CustomerSubscriptionMapper
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export const productName: OperationURLParameter = {
|
|
153
|
+
parameterPath: "productName",
|
|
87
154
|
mapper: {
|
|
155
|
+
serializedName: "productName",
|
|
156
|
+
required: true,
|
|
157
|
+
type: {
|
|
158
|
+
name: "String"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
export const deviceConfiguration: OperationParameter = {
|
|
164
|
+
parameterPath: ["options", "deviceConfiguration"],
|
|
165
|
+
mapper: DeviceConfigurationMapper
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
export const marketplaceProductLogUpdate: OperationParameter = {
|
|
169
|
+
parameterPath: ["options", "marketplaceProductLogUpdate"],
|
|
170
|
+
mapper: MarketplaceProductLogUpdateMapper
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
export const token: OperationParameter = {
|
|
174
|
+
parameterPath: "token",
|
|
175
|
+
mapper: RegistrationParameterMapper
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export const linkedSubscriptionName: OperationURLParameter = {
|
|
179
|
+
parameterPath: "linkedSubscriptionName",
|
|
180
|
+
mapper: {
|
|
181
|
+
serializedName: "linkedSubscriptionName",
|
|
88
182
|
required: true,
|
|
89
|
-
serializedName: "subscriptionId",
|
|
90
183
|
type: {
|
|
91
184
|
name: "String"
|
|
92
185
|
}
|
|
93
186
|
}
|
|
94
187
|
};
|
|
188
|
+
|
|
189
|
+
export const resource: OperationParameter = {
|
|
190
|
+
parameterPath: "resource",
|
|
191
|
+
mapper: LinkedSubscriptionParameterMapper
|
|
192
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
|
|
9
|
+
import { CloudManifestFile } from "../operationsInterfaces";
|
|
10
|
+
import * as coreClient from "@azure/core-client";
|
|
11
|
+
import * as Mappers from "../models/mappers";
|
|
12
|
+
import * as Parameters from "../models/parameters";
|
|
13
|
+
import { AzureStackManagementClient } from "../azureStackManagementClient";
|
|
14
|
+
import {
|
|
15
|
+
CloudManifestFileListOptionalParams,
|
|
16
|
+
CloudManifestFileListResponse,
|
|
17
|
+
CloudManifestFileGetOptionalParams,
|
|
18
|
+
CloudManifestFileGetResponse
|
|
19
|
+
} from "../models";
|
|
20
|
+
|
|
21
|
+
/** Class containing CloudManifestFile operations. */
|
|
22
|
+
export class CloudManifestFileImpl implements CloudManifestFile {
|
|
23
|
+
private readonly client: AzureStackManagementClient;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Initialize a new instance of the class CloudManifestFile class.
|
|
27
|
+
* @param client Reference to the service client
|
|
28
|
+
*/
|
|
29
|
+
constructor(client: AzureStackManagementClient) {
|
|
30
|
+
this.client = client;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Returns a cloud specific manifest JSON file with latest version.
|
|
35
|
+
* @param options The options parameters.
|
|
36
|
+
*/
|
|
37
|
+
list(
|
|
38
|
+
options?: CloudManifestFileListOptionalParams
|
|
39
|
+
): Promise<CloudManifestFileListResponse> {
|
|
40
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Returns a cloud specific manifest JSON file.
|
|
45
|
+
* @param verificationVersion Signing verification key version.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
get(
|
|
49
|
+
verificationVersion: string,
|
|
50
|
+
options?: CloudManifestFileGetOptionalParams
|
|
51
|
+
): Promise<CloudManifestFileGetResponse> {
|
|
52
|
+
return this.client.sendOperationRequest(
|
|
53
|
+
{ verificationVersion, options },
|
|
54
|
+
getOperationSpec
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
// Operation Specifications
|
|
59
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
60
|
+
|
|
61
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
62
|
+
path: "/providers/Microsoft.AzureStack/cloudManifestFiles",
|
|
63
|
+
httpMethod: "GET",
|
|
64
|
+
responses: {
|
|
65
|
+
200: {
|
|
66
|
+
bodyMapper: Mappers.CloudManifestFileResponse
|
|
67
|
+
},
|
|
68
|
+
default: {
|
|
69
|
+
bodyMapper: Mappers.ErrorResponse
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
queryParameters: [Parameters.apiVersion],
|
|
73
|
+
urlParameters: [Parameters.$host],
|
|
74
|
+
headerParameters: [Parameters.accept],
|
|
75
|
+
serializer
|
|
76
|
+
};
|
|
77
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
78
|
+
path:
|
|
79
|
+
"/providers/Microsoft.AzureStack/cloudManifestFiles/{verificationVersion}",
|
|
80
|
+
httpMethod: "GET",
|
|
81
|
+
responses: {
|
|
82
|
+
200: {
|
|
83
|
+
bodyMapper: Mappers.CloudManifestFileResponse
|
|
84
|
+
},
|
|
85
|
+
default: {
|
|
86
|
+
bodyMapper: Mappers.ErrorResponse
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
queryParameters: [Parameters.apiVersion, Parameters.versionCreationDate],
|
|
90
|
+
urlParameters: [Parameters.$host, Parameters.verificationVersion],
|
|
91
|
+
headerParameters: [Parameters.accept],
|
|
92
|
+
serializer
|
|
93
|
+
};
|