Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

[AutoPR hanaonazure/resource-manager] Add hwRevision field to HanaInstance definition #4675

Merged
Merged
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
9 changes: 9 additions & 0 deletions lib/services/hanaonazureManagement/lib/models/hanaInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class HanaInstance extends models['Resource'] {
* 'unknown'
* @property {string} [proximityPlacementGroup] Resource proximity placement
* group
* @property {string} [hwRevision] Hardware revision of a HANA instance
*/
constructor() {
super();
Expand Down Expand Up @@ -176,6 +177,14 @@ class HanaInstance extends models['Resource'] {
type: {
name: 'String'
}
},
hwRevision: {
required: false,
readOnly: true,
serializedName: 'properties.hwRevision',
type: {
name: 'String'
}
}
}
}
Expand Down
4 changes: 4 additions & 0 deletions lib/services/hanaonazureManagement/lib/models/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ export interface HanaInstance extends Resource {
* Resource proximity placement group
*/
readonly proximityPlacementGroup?: string;
/**
* Hardware revision of a HANA instance
*/
readonly hwRevision?: string;
}

/**
Expand Down