Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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