Files
sub2api-cn-relay-manager/internal/host/sub2api/resources.go

21 lines
460 B
Go
Raw Normal View History

package sub2api
type ListManagedResourcesRequest struct {
GroupName string
ChannelName string
PlanName string
AccountNamePrefix string
}
type NamedResource struct {
ID string `json:"id"`
Name string `json:"name"`
}
type ManagedResourceSnapshot struct {
Groups []NamedResource `json:"groups"`
Channels []NamedResource `json:"channels"`
Plans []NamedResource `json:"plans"`
Accounts []NamedResource `json:"accounts"`
}