File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3109,12 +3109,14 @@ components:
31093109 - runbook
31103110 - documentation
31113111 - dashboard
3112+ - resource
31123113 example: runbook
31133114 type: string
31143115 x-enum-varnames:
31153116 - RUNBOOK
31163117 - DOCUMENTATION
31173118 - DASHBOARD
3119+ - RESOURCE
31183120 AlertEventCustomAttributesPriority:
31193121 default: '5'
31203122 description: The priority of the alert.
@@ -10383,9 +10385,11 @@ components:
1038310385 properties:
1038410386 name:
1038510387 description: The name of the resource that was changed. Limited to 128 characters.
10388+ Must contain at least one non-whitespace character.
1038610389 example: fallback_payments_test
1038710390 maxLength: 128
1038810391 minLength: 1
10392+ pattern: .*\S.*
1038910393 type: string
1039010394 type:
1039110395 $ref: '#/components/schemas/ChangeEventCustomAttributesChangedResourceType'
Original file line number Diff line number Diff line change @@ -18,12 +18,14 @@ const (
1818 ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_RUNBOOK AlertEventCustomAttributesLinksItemsCategory = "runbook"
1919 ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_DOCUMENTATION AlertEventCustomAttributesLinksItemsCategory = "documentation"
2020 ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_DASHBOARD AlertEventCustomAttributesLinksItemsCategory = "dashboard"
21+ ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_RESOURCE AlertEventCustomAttributesLinksItemsCategory = "resource"
2122)
2223
2324var allowedAlertEventCustomAttributesLinksItemsCategoryEnumValues = []AlertEventCustomAttributesLinksItemsCategory {
2425 ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_RUNBOOK ,
2526 ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_DOCUMENTATION ,
2627 ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_DASHBOARD ,
28+ ALERTEVENTCUSTOMATTRIBUTESLINKSITEMSCATEGORY_RESOURCE ,
2729}
2830
2931// GetAllowedValues reeturns the list of possible values.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
1212
1313// ChangeEventCustomAttributesChangedResource A uniquely identified resource.
1414type ChangeEventCustomAttributesChangedResource struct {
15- // The name of the resource that was changed. Limited to 128 characters.
15+ // The name of the resource that was changed. Limited to 128 characters. Must contain at least one non-whitespace character.
1616 Name string `json:"name"`
1717 // The type of the resource that was changed.
1818 Type ChangeEventCustomAttributesChangedResourceType `json:"type"`
You can’t perform that action at this time.
0 commit comments