Skip to content

Commit

Permalink
Generated from 29d39c43fef99181b4b2b94d648216cf46129892 (#3144)
Browse files Browse the repository at this point in the history
chore: jsonfmt hanaonazure

Ran `jsonfmt -w "specification/hanaonazure/**/*.json"`
  • Loading branch information
AutorestCI authored May 23, 2019
1 parent 06c59d0 commit 6b00009
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 36 deletions.
32 changes: 10 additions & 22 deletions sdk/hanaonazure/arm-hanaonazure/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export interface HardwareProfile {
/**
* Specifies the HANA instance SKU. Possible values include: 'S72m', 'S144m', 'S72', 'S144',
* 'S192', 'S192m', 'S192xm', 'S96', 'S384', 'S384m', 'S384xm', 'S384xxm', 'S576m', 'S576xm',
* 'S768', 'S768m', 'S768xm', 'S960m'
* 'S768', 'S768m', 'S768xm', 'S960m', 'S224o', 'S224m', 'S224om', 'S224oxm', 'S224oxxm'
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly hanaInstanceSize?: HanaInstanceSizeNamesEnum;
Expand Down Expand Up @@ -270,26 +270,21 @@ export interface Tags {
*/
export interface MonitoringDetails {
/**
* ARM ID of an Azure Vnet with access to the HANA instance.
* ARM ID of an Azure Subnet with access to the HANA instance.
*/
hanaVnet?: string;
hanaSubnet?: string;
/**
* Hostname of the HANA Instance blade.
*/
hanaHostname?: string;
/**
* A number between 00 and 99, stored as a string to maintain leading zero.
* Name of the database itself.
*/
hanaInstanceNum?: string;
hanaDbName?: string;
/**
* Either single or multiple depending on the use of MDC(Multiple Database Containers). Possible
* values include: 'single', 'multiple'. Default value: 'single'.
* The port number of the tenant DB. Used to connect to the DB.
*/
dbContainer?: HanaDatabaseContainersEnum;
/**
* Name of the database itself. It only needs to be specified if using MDC
*/
hanaDatabase?: string;
hanaDbSqlPort?: number;
/**
* Username for the HANA database to login to for monitoring
*/
Expand Down Expand Up @@ -338,11 +333,12 @@ export type HanaHardwareTypeNamesEnum = 'Cisco_UCS' | 'HPE';
/**
* Defines values for HanaInstanceSizeNamesEnum.
* Possible values include: 'S72m', 'S144m', 'S72', 'S144', 'S192', 'S192m', 'S192xm', 'S96',
* 'S384', 'S384m', 'S384xm', 'S384xxm', 'S576m', 'S576xm', 'S768', 'S768m', 'S768xm', 'S960m'
* 'S384', 'S384m', 'S384xm', 'S384xxm', 'S576m', 'S576xm', 'S768', 'S768m', 'S768xm', 'S960m',
* 'S224o', 'S224m', 'S224om', 'S224oxm', 'S224oxxm'
* @readonly
* @enum {string}
*/
export type HanaInstanceSizeNamesEnum = 'S72m' | 'S144m' | 'S72' | 'S144' | 'S192' | 'S192m' | 'S192xm' | 'S96' | 'S384' | 'S384m' | 'S384xm' | 'S384xxm' | 'S576m' | 'S576xm' | 'S768' | 'S768m' | 'S768xm' | 'S960m';
export type HanaInstanceSizeNamesEnum = 'S72m' | 'S144m' | 'S72' | 'S144' | 'S192' | 'S192m' | 'S192xm' | 'S96' | 'S384' | 'S384m' | 'S384xm' | 'S384xxm' | 'S576m' | 'S576xm' | 'S768' | 'S768m' | 'S768xm' | 'S960m' | 'S224o' | 'S224m' | 'S224om' | 'S224oxm' | 'S224oxxm';

/**
* Defines values for HanaInstancePowerStateEnum.
Expand All @@ -352,14 +348,6 @@ export type HanaInstanceSizeNamesEnum = 'S72m' | 'S144m' | 'S72' | 'S144' | 'S19
*/
export type HanaInstancePowerStateEnum = 'starting' | 'started' | 'stopping' | 'stopped' | 'restarting' | 'unknown';

/**
* Defines values for HanaDatabaseContainersEnum.
* Possible values include: 'single', 'multiple'
* @readonly
* @enum {string}
*/
export type HanaDatabaseContainersEnum = 'single' | 'multiple';

/**
* Contains response data for the list operation.
*/
Expand Down
21 changes: 7 additions & 14 deletions sdk/hanaonazure/arm-hanaonazure/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ export const MonitoringDetails: msRest.CompositeMapper = {
name: "Composite",
className: "MonitoringDetails",
modelProperties: {
hanaVnet: {
serializedName: "hanaVnet",
hanaSubnet: {
serializedName: "hanaSubnet",
type: {
name: "String"
}
Expand All @@ -418,23 +418,16 @@ export const MonitoringDetails: msRest.CompositeMapper = {
name: "String"
}
},
hanaInstanceNum: {
serializedName: "hanaInstanceNum",
hanaDbName: {
serializedName: "hanaDbName",
type: {
name: "String"
}
},
dbContainer: {
serializedName: "dbContainer",
defaultValue: 'single',
hanaDbSqlPort: {
serializedName: "hanaDbSqlPort",
type: {
name: "String"
}
},
hanaDatabase: {
serializedName: "hanaDatabase",
type: {
name: "String"
name: "Number"
}
},
hanaDbUsername: {
Expand Down

0 comments on commit 6b00009

Please sign in to comment.