Skip to content

Commit

Permalink
Generated from 497f37d011e45d90e7a5f190b1326ec89e2719c8
Browse files Browse the repository at this point in the history
Merge pull request #6 from Khushboo-Baheti/master

merge
  • Loading branch information
SDK Automation committed Feb 24, 2020
1 parent 0453ec6 commit 121989b
Show file tree
Hide file tree
Showing 10 changed files with 356 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { AzureStackManagementClientContext } from "./azureStackManagementClientC
class AzureStackManagementClient extends AzureStackManagementClientContext {
// Operation groups
operations: operations.Operations;
cloudManifestFile: operations.CloudManifestFile;
products: operations.Products;
registrations: operations.Registrations;
customerSubscriptions: operations.CustomerSubscriptions;
Expand All @@ -32,6 +33,7 @@ class AzureStackManagementClient extends AzureStackManagementClientContext {
constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.AzureStackManagementClientOptions) {
super(credentials, subscriptionId, options);
this.operations = new operations.Operations(this);
this.cloudManifestFile = new operations.CloudManifestFile(this);
this.products = new operations.Products(this);
this.registrations = new operations.Registrations(this);
this.customerSubscriptions = new operations.CustomerSubscriptions(this);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

export {
BaseResource,
CloudManifestFileDeploymentData,
CloudManifestFileProperties,
CloudManifestFileResponse,
Compatibility,
CustomerSubscription,
ErrorDetails,
ErrorResponse,
IconUris,
Product,
ProductLink,
ProductProperties,
Registration,
Resource,
TrackedResource
} from "../models/mappers";
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
export {
BaseResource,
CloudError,
CloudManifestFileDeploymentData,
CloudManifestFileProperties,
CloudManifestFileResponse,
Compatibility,
CustomerSubscription,
CustomerSubscriptionList,
Expand Down
96 changes: 96 additions & 0 deletions sdk/azurestack/arm-azurestack/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,52 @@ export interface Operation {
origin?: string;
}

/**
* Cloud specific manifest data for AzureStack deployment.
*/
export interface CloudManifestFileDeploymentData {
/**
* Dsms external certificates.
*/
externalDsmsCertificates?: string;
/**
* Signing verification public key.
*/
customCloudVerificationKey?: string;
/**
* ARM endpoint.
*/
customCloudArmEndpoint?: string;
/**
* Dsms endpoint.
*/
externalDsmsEndpoint?: string;
}

/**
* Cloud specific manifest JSON properties.
*/
export interface CloudManifestFileProperties {
/**
* Cloud specific manifest data.
*/
deploymentData?: CloudManifestFileDeploymentData;
/**
* Signature of the cloud specific manifest data.
*/
signature?: string;
}

/**
* Cloud specific manifest GET response.
*/
export interface CloudManifestFileResponse extends Resource {
/**
* Cloud specific manifest data.
*/
properties?: CloudManifestFileProperties;
}

/**
* The details of the error.
*/
Expand Down Expand Up @@ -604,6 +650,16 @@ export interface CustomerSubscription extends Resource {
tenantId?: string;
}

/**
* Optional Parameters.
*/
export interface CloudManifestFileGetOptionalParams extends msRest.RequestOptionsBase {
/**
* Signing verification key version creation date.
*/
versionCreationDate?: string;
}

/**
* An interface representing AzureStackManagementClientOptions.
*/
Expand Down Expand Up @@ -751,6 +807,46 @@ export type OperationsListNextResponse = OperationList & {
};
};

/**
* Contains response data for the list operation.
*/
export type CloudManifestFileListResponse = CloudManifestFileResponse & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: CloudManifestFileResponse;
};
};

/**
* Contains response data for the get operation.
*/
export type CloudManifestFileGetResponse = CloudManifestFileResponse & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: CloudManifestFileResponse;
};
};

/**
* Contains response data for the list operation.
*/
Expand Down
75 changes: 75 additions & 0 deletions sdk/azurestack/arm-azurestack/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,81 @@ export const Operation: msRest.CompositeMapper = {
}
};

export const CloudManifestFileDeploymentData: msRest.CompositeMapper = {
serializedName: "CloudManifestFileDeploymentData",
type: {
name: "Composite",
className: "CloudManifestFileDeploymentData",
modelProperties: {
externalDsmsCertificates: {
serializedName: "externalDsmsCertificates",
type: {
name: "String"
}
},
customCloudVerificationKey: {
serializedName: "customCloudVerificationKey",
type: {
name: "String"
}
},
customCloudArmEndpoint: {
serializedName: "customEnvironmentEndpoints.customCloudArmEndpoint",
type: {
name: "String"
}
},
externalDsmsEndpoint: {
serializedName: "customEnvironmentEndpoints.externalDsmsEndpoint",
type: {
name: "String"
}
}
}
}
};

export const CloudManifestFileProperties: msRest.CompositeMapper = {
serializedName: "CloudManifestFileProperties",
type: {
name: "Composite",
className: "CloudManifestFileProperties",
modelProperties: {
deploymentData: {
serializedName: "deploymentData",
type: {
name: "Composite",
className: "CloudManifestFileDeploymentData"
}
},
signature: {
serializedName: "signature",
type: {
name: "String"
}
}
}
}
};

export const CloudManifestFileResponse: msRest.CompositeMapper = {
serializedName: "CloudManifestFileResponse",
type: {
name: "Composite",
className: "CloudManifestFileResponse",
modelProperties: {
...Resource.type.modelProperties,
properties: {
serializedName: "properties",
type: {
name: "Composite",
className: "CloudManifestFileProperties"
}
}
}
}
};

export const ErrorDetails: msRest.CompositeMapper = {
serializedName: "ErrorDetails",
type: {
Expand Down
22 changes: 22 additions & 0 deletions sdk/azurestack/arm-azurestack/src/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,25 @@ export const subscriptionId: msRest.OperationURLParameter = {
}
}
};
export const verificationVersion: msRest.OperationURLParameter = {
parameterPath: "verificationVersion",
mapper: {
required: true,
serializedName: "verificationVersion",
type: {
name: "String"
}
}
};
export const versionCreationDate: msRest.OperationQueryParameter = {
parameterPath: [
"options",
"versionCreationDate"
],
mapper: {
serializedName: "versionCreationDate",
type: {
name: "String"
}
}
};
3 changes: 3 additions & 0 deletions sdk/azurestack/arm-azurestack/src/models/productsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
export {
BaseResource,
CloudError,
CloudManifestFileDeploymentData,
CloudManifestFileProperties,
CloudManifestFileResponse,
Compatibility,
CustomerSubscription,
DataDiskImage,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ export {
ActivationKeyResult,
BaseResource,
CloudError,
CloudManifestFileDeploymentData,
CloudManifestFileProperties,
CloudManifestFileResponse,
Compatibility,
CustomerSubscription,
ErrorDetails,
Expand Down
Loading

0 comments on commit 121989b

Please sign in to comment.