Skip to content

Commit 3a78a81

Browse files
author
SDK Automation
committed
Generated from 62b1f2b65991dd7eac896cde29df03b7beaf0ac2
Prettier fixes
1 parent 331d059 commit 3a78a81

File tree

10 files changed

+359
-12
lines changed

10 files changed

+359
-12
lines changed

sdk/azurestack/arm-azurestack/src/azureStackManagementClient.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { AzureStackManagementClientContext } from "./azureStackManagementClientC
1818
class AzureStackManagementClient extends AzureStackManagementClientContext {
1919
// Operation groups
2020
operations: operations.Operations;
21+
cloudManifestFile: operations.CloudManifestFile;
2122
products: operations.Products;
2223
registrations: operations.Registrations;
2324
customerSubscriptions: operations.CustomerSubscriptions;
@@ -32,6 +33,7 @@ class AzureStackManagementClient extends AzureStackManagementClientContext {
3233
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureStackManagementClientOptions) {
3334
super(credentials, subscriptionId, options);
3435
this.operations = new operations.Operations(this);
36+
this.cloudManifestFile = new operations.CloudManifestFile(this);
3537
this.products = new operations.Products(this);
3638
this.registrations = new operations.Registrations(this);
3739
this.customerSubscriptions = new operations.CustomerSubscriptions(this);
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
* Copyright (c) Microsoft Corporation. All rights reserved.
3+
* Licensed under the MIT License. See License.txt in the project root for license information.
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+
export {
10+
BaseResource,
11+
CloudManifestFileDeploymentData,
12+
CloudManifestFileProperties,
13+
CloudManifestFileResponse,
14+
Compatibility,
15+
CustomerSubscription,
16+
ErrorDetails,
17+
ErrorResponse,
18+
IconUris,
19+
Product,
20+
ProductLink,
21+
ProductProperties,
22+
Registration,
23+
Resource,
24+
TrackedResource
25+
} from "../models/mappers";

sdk/azurestack/arm-azurestack/src/models/customerSubscriptionsMappers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
export {
1010
BaseResource,
1111
CloudError,
12+
CloudManifestFileDeploymentData,
13+
CloudManifestFileProperties,
14+
CloudManifestFileResponse,
1215
Compatibility,
1316
CustomerSubscription,
1417
CustomerSubscriptionList,

sdk/azurestack/arm-azurestack/src/models/index.ts

Lines changed: 96 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,52 @@ export interface Operation {
107107
origin?: string;
108108
}
109109

110+
/**
111+
* Cloud specific manifest data for AzureStack deployment.
112+
*/
113+
export interface CloudManifestFileDeploymentData {
114+
/**
115+
* Dsms external certificates.
116+
*/
117+
externalDsmsCertificates?: string;
118+
/**
119+
* Signing verification public key.
120+
*/
121+
customCloudVerificationKey?: string;
122+
/**
123+
* ARM endpoint.
124+
*/
125+
customCloudArmEndpoint?: string;
126+
/**
127+
* Dsms endpoint.
128+
*/
129+
externalDsmsEndpoint?: string;
130+
}
131+
132+
/**
133+
* Cloud specific manifest JSON properties.
134+
*/
135+
export interface CloudManifestFileProperties {
136+
/**
137+
* Cloud specific manifest data.
138+
*/
139+
deploymentData?: CloudManifestFileDeploymentData;
140+
/**
141+
* Signature of the cloud specific manifest data.
142+
*/
143+
signature?: string;
144+
}
145+
146+
/**
147+
* Cloud specific manifest GET response.
148+
*/
149+
export interface CloudManifestFileResponse extends Resource {
150+
/**
151+
* Cloud specific manifest data.
152+
*/
153+
properties?: CloudManifestFileProperties;
154+
}
155+
110156
/**
111157
* The details of the error.
112158
*/
@@ -588,10 +634,6 @@ export interface RegistrationParameter {
588634
* The token identifying registered Azure Stack
589635
*/
590636
registrationToken: string;
591-
/**
592-
* Location of the resource. Possible values include: 'global'
593-
*/
594-
location?: Location;
595637
}
596638

597639
/**
@@ -604,6 +646,16 @@ export interface CustomerSubscription extends Resource {
604646
tenantId?: string;
605647
}
606648

649+
/**
650+
* Optional Parameters.
651+
*/
652+
export interface CloudManifestFileGetOptionalParams extends msRest.RequestOptionsBase {
653+
/**
654+
* Signing verification key version creation date.
655+
*/
656+
versionCreationDate?: string;
657+
}
658+
607659
/**
608660
* An interface representing AzureStackManagementClientOptions.
609661
*/
@@ -703,14 +755,6 @@ export type CompatibilityIssue = 'HigherDeviceVersionRequired' | 'LowerDeviceVer
703755
*/
704756
export type Category = 'AzureAD' | 'ADFS';
705757

706-
/**
707-
* Defines values for Location.
708-
* Possible values include: 'global'
709-
* @readonly
710-
* @enum {string}
711-
*/
712-
export type Location = 'global';
713-
714758
/**
715759
* Contains response data for the list operation.
716760
*/
@@ -751,6 +795,46 @@ export type OperationsListNextResponse = OperationList & {
751795
};
752796
};
753797

798+
/**
799+
* Contains response data for the list operation.
800+
*/
801+
export type CloudManifestFileListResponse = CloudManifestFileResponse & {
802+
/**
803+
* The underlying HTTP response.
804+
*/
805+
_response: msRest.HttpResponse & {
806+
/**
807+
* The response body as text (string format)
808+
*/
809+
bodyAsText: string;
810+
811+
/**
812+
* The response body as parsed JSON or XML
813+
*/
814+
parsedBody: CloudManifestFileResponse;
815+
};
816+
};
817+
818+
/**
819+
* Contains response data for the get operation.
820+
*/
821+
export type CloudManifestFileGetResponse = CloudManifestFileResponse & {
822+
/**
823+
* The underlying HTTP response.
824+
*/
825+
_response: msRest.HttpResponse & {
826+
/**
827+
* The response body as text (string format)
828+
*/
829+
bodyAsText: string;
830+
831+
/**
832+
* The response body as parsed JSON or XML
833+
*/
834+
parsedBody: CloudManifestFileResponse;
835+
};
836+
};
837+
754838
/**
755839
* Contains response data for the list operation.
756840
*/

sdk/azurestack/arm-azurestack/src/models/mappers.ts

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,81 @@ export const Operation: msRest.CompositeMapper = {
169169
}
170170
};
171171

172+
export const CloudManifestFileDeploymentData: msRest.CompositeMapper = {
173+
serializedName: "CloudManifestFileDeploymentData",
174+
type: {
175+
name: "Composite",
176+
className: "CloudManifestFileDeploymentData",
177+
modelProperties: {
178+
externalDsmsCertificates: {
179+
serializedName: "externalDsmsCertificates",
180+
type: {
181+
name: "String"
182+
}
183+
},
184+
customCloudVerificationKey: {
185+
serializedName: "customCloudVerificationKey",
186+
type: {
187+
name: "String"
188+
}
189+
},
190+
customCloudArmEndpoint: {
191+
serializedName: "customEnvironmentEndpoints.customCloudArmEndpoint",
192+
type: {
193+
name: "String"
194+
}
195+
},
196+
externalDsmsEndpoint: {
197+
serializedName: "customEnvironmentEndpoints.externalDsmsEndpoint",
198+
type: {
199+
name: "String"
200+
}
201+
}
202+
}
203+
}
204+
};
205+
206+
export const CloudManifestFileProperties: msRest.CompositeMapper = {
207+
serializedName: "CloudManifestFileProperties",
208+
type: {
209+
name: "Composite",
210+
className: "CloudManifestFileProperties",
211+
modelProperties: {
212+
deploymentData: {
213+
serializedName: "deploymentData",
214+
type: {
215+
name: "Composite",
216+
className: "CloudManifestFileDeploymentData"
217+
}
218+
},
219+
signature: {
220+
serializedName: "signature",
221+
type: {
222+
name: "String"
223+
}
224+
}
225+
}
226+
}
227+
};
228+
229+
export const CloudManifestFileResponse: msRest.CompositeMapper = {
230+
serializedName: "CloudManifestFileResponse",
231+
type: {
232+
name: "Composite",
233+
className: "CloudManifestFileResponse",
234+
modelProperties: {
235+
...Resource.type.modelProperties,
236+
properties: {
237+
serializedName: "properties",
238+
type: {
239+
name: "Composite",
240+
className: "CloudManifestFileProperties"
241+
}
242+
}
243+
}
244+
}
245+
};
246+
172247
export const ErrorDetails: msRest.CompositeMapper = {
173248
serializedName: "ErrorDetails",
174249
type: {
@@ -909,7 +984,10 @@ export const RegistrationParameter: msRest.CompositeMapper = {
909984
}
910985
},
911986
location: {
987+
required: true,
988+
isConstant: true,
912989
serializedName: "location",
990+
defaultValue: 'global',
913991
type: {
914992
name: "String"
915993
}

sdk/azurestack/arm-azurestack/src/models/parameters.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,25 @@ export const subscriptionId: msRest.OperationURLParameter = {
9292
}
9393
}
9494
};
95+
export const verificationVersion: msRest.OperationURLParameter = {
96+
parameterPath: "verificationVersion",
97+
mapper: {
98+
required: true,
99+
serializedName: "verificationVersion",
100+
type: {
101+
name: "String"
102+
}
103+
}
104+
};
105+
export const versionCreationDate: msRest.OperationQueryParameter = {
106+
parameterPath: [
107+
"options",
108+
"versionCreationDate"
109+
],
110+
mapper: {
111+
serializedName: "versionCreationDate",
112+
type: {
113+
name: "String"
114+
}
115+
}
116+
};

sdk/azurestack/arm-azurestack/src/models/productsMappers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
export {
1010
BaseResource,
1111
CloudError,
12+
CloudManifestFileDeploymentData,
13+
CloudManifestFileProperties,
14+
CloudManifestFileResponse,
1215
Compatibility,
1316
CustomerSubscription,
1417
DataDiskImage,

sdk/azurestack/arm-azurestack/src/models/registrationsMappers.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ export {
1010
ActivationKeyResult,
1111
BaseResource,
1212
CloudError,
13+
CloudManifestFileDeploymentData,
14+
CloudManifestFileProperties,
15+
CloudManifestFileResponse,
1316
Compatibility,
1417
CustomerSubscription,
1518
ErrorDetails,

0 commit comments

Comments
 (0)