Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CNS-10047] Add PaaS cloud alert record type values #965

Merged
merged 2 commits into from
May 13, 2024
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
33 changes: 30 additions & 3 deletions cloudalertrecord.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion doc/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10618,7 +10618,7 @@ Resource ID of the resource for which the Alert Record is raised.

##### `resourceType` [`autogenerated`,`read_only`]

Type: `enum(Interface | Instance | VPC | Subnet | K8sService)`
Type: `enum(Interface | Instance | VPC | Subnet | K8sService | CosmosDB | SQLServer | MySQLServer | MySQLFlexibleServer | PostgreSQLServer | PostgreSQLFlexibleServer | LambdaFunction | RedshiftCluster | RDSDBInstance)`

Returns the type of the resource on which alert was raised.

Expand Down
11 changes: 10 additions & 1 deletion openapi3_autogen/cloudalertrecord.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,16 @@
"Instance",
"VPC",
"Subnet",
"K8sService"
"K8sService",
"CosmosDB",
"SQLServer",
"MySQLServer",
"MySQLFlexibleServer",
"PostgreSQLServer",
"PostgreSQLFlexibleServer",
"LambdaFunction",
"RedshiftCluster",
"RDSDBInstance"
],
"readOnly": true
},
Expand Down
9 changes: 9 additions & 0 deletions specs/cloudalertrecord.spec
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,15 @@ attributes:
- VPC
- Subnet
- K8sService
- CosmosDB
- SQLServer
- MySQLServer
- MySQLFlexibleServer
- PostgreSQLServer
- PostgreSQLFlexibleServer
- LambdaFunction
- RedshiftCluster
- RDSDBInstance
autogenerated: true

- name: tags
Expand Down
Loading