Skip to content

Commit

Permalink
feat: resource untag add param 'all' (#268)
Browse files Browse the repository at this point in the history
Co-authored-by: zhurenzhu.zrz <zhurenzhu.zrz@alibaba-inc.com>
  • Loading branch information
ZRZ2233 and zhurenzhu.zrz authored Sep 6, 2024
1 parent 3afc324 commit cdf1129
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ type ResourceUnTags struct {
ResourceType string `json:"resourceType"`
ResourceID []string `json:"resourceId"`
Tags []string `json:"tags"`
All bool `json:"all"`
}

// ResourceUnSystemTags system tag for untag sls resouce
Expand Down Expand Up @@ -87,6 +88,7 @@ func NewResourceUnTags(resourceType string, resourceId string, tags []string) *R
ResourceType: resourceType,
ResourceID: []string{resourceId},
Tags: tags,
All: false,
}
}

Expand All @@ -109,6 +111,7 @@ func NewResourceUnSystemTags(resourceType string, resourceId string, tagOwnerUid
ResourceType: resourceType,
ResourceID: []string{resourceId},
Tags: tags,
All: false,
},
tagOwnerUid,
}
Expand Down

0 comments on commit cdf1129

Please sign in to comment.