Skip to content

Commit 4e1c62f

Browse files
authored
feat(lb): add description field to acls (#1498)
1 parent d832801 commit 4e1c62f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

api/lb/v1/lb_sdk.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,8 @@ type ACL struct {
953953
CreatedAt *time.Time `json:"created_at"`
954954
// UpdatedAt: date at which the ACL was last updated
955955
UpdatedAt *time.Time `json:"updated_at"`
956+
// Description: description of your ACL ressource
957+
Description string `json:"description"`
956958
}
957959

958960
// ACLAction: acl action
@@ -992,6 +994,8 @@ type ACLSpec struct {
992994
Match *ACLMatch `json:"match"`
993995
// Index: order between your Acls (ascending order, 0 is first acl executed)
994996
Index int32 `json:"index"`
997+
// Description: description of your ACL ressource
998+
Description string `json:"description"`
995999
}
9961000

9971001
// Backend: backend
@@ -3643,6 +3647,8 @@ type ZonedAPICreateACLRequest struct {
36433647
Match *ACLMatch `json:"match"`
36443648
// Index: order between your Acls (ascending order, 0 is first acl executed)
36453649
Index int32 `json:"index"`
3650+
// Description: description of your ACL ressource
3651+
Description string `json:"description"`
36463652
}
36473653

36483654
// CreateACL: create an ACL for a given frontend
@@ -3742,6 +3748,8 @@ type ZonedAPIUpdateACLRequest struct {
37423748
Match *ACLMatch `json:"match"`
37433749
// Index: order between your Acls (ascending order, 0 is first acl executed)
37443750
Index int32 `json:"index"`
3751+
// Description: description of your ACL ressource
3752+
Description *string `json:"description"`
37453753
}
37463754

37473755
// UpdateACL: update an ACL
@@ -6702,6 +6710,8 @@ type CreateACLRequest struct {
67026710
Match *ACLMatch `json:"match"`
67036711
// Index: order between your Acls (ascending order, 0 is first acl executed)
67046712
Index int32 `json:"index"`
6713+
// Description: description of your ACL ressource
6714+
Description string `json:"description"`
67056715
}
67066716

67076717
// CreateACL: create an ACL for a given frontend
@@ -6801,6 +6811,8 @@ type UpdateACLRequest struct {
68016811
Match *ACLMatch `json:"match"`
68026812
// Index: order between your Acls (ascending order, 0 is first acl executed)
68036813
Index int32 `json:"index"`
6814+
// Description: description of your ACL ressource
6815+
Description *string `json:"description"`
68046816
}
68056817

68066818
// UpdateACL: update an ACL

0 commit comments

Comments
 (0)