diff --git a/pkg/apis/compute/kafka.go b/pkg/apis/compute/kafka.go index e0426579a3..9ce098bce4 100644 --- a/pkg/apis/compute/kafka.go +++ b/pkg/apis/compute/kafka.go @@ -42,6 +42,8 @@ type KafkaDetails struct { VpcResourceInfoBase NetworkResourceInfoBase ZoneResourceInfoBase + + SKafka } // 资源列表请求参数 @@ -50,7 +52,5 @@ type KafkaListInput struct { apis.ExternalizedResourceBaseListInput apis.DeletePreventableResourceBaseListInput - RegionalFilterListInput - ManagedResourceListInput VpcFilterListInput } diff --git a/pkg/apis/compute/mongodb.go b/pkg/apis/compute/mongodb.go index e45cba05ec..ed5406f524 100644 --- a/pkg/apis/compute/mongodb.go +++ b/pkg/apis/compute/mongodb.go @@ -59,6 +59,7 @@ type MongoDBDetails struct { ManagedResourceInfo VpcResourceInfoBase + SMongoDB // IP子网名称 // example: test-network diff --git a/pkg/apis/list.go b/pkg/apis/list.go index e9e738aaa2..1f490a90d6 100644 --- a/pkg/apis/list.go +++ b/pkg/apis/list.go @@ -26,11 +26,6 @@ type ScopedResourceInput struct { } type DomainizedResourceListInput struct { - // swagger:ignore - // Is an admin call? equivalent to scope=system - // Deprecated - Admin *bool `json:"admin"` - ScopedResourceInput DomainizedResourceInput