Documentation
¶
Overview ¶
Package resourcecenteriface provides an interface to enable mocking the RESOURCECENTER service client for testing your code.
It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.
Index ¶
- Constants
- type DisableResourceCenterInput
- type DisableResourceCenterOutput
- type EnableResourceCenterInput
- type EnableResourceCenterOutput
- type FilterForGetResourceCountsInput
- func (s FilterForGetResourceCountsInput) GoString() string
- func (s *FilterForGetResourceCountsInput) SetKey(v string) *FilterForGetResourceCountsInput
- func (s *FilterForGetResourceCountsInput) SetMatchType(v string) *FilterForGetResourceCountsInput
- func (s *FilterForGetResourceCountsInput) SetValues(v []*string) *FilterForGetResourceCountsInput
- func (s FilterForGetResourceCountsInput) String() string
- type FilterForGetResourceCountsOutput
- func (s FilterForGetResourceCountsOutput) GoString() string
- func (s *FilterForGetResourceCountsOutput) SetKey(v string) *FilterForGetResourceCountsOutput
- func (s *FilterForGetResourceCountsOutput) SetMatchType(v string) *FilterForGetResourceCountsOutput
- func (s *FilterForGetResourceCountsOutput) SetValues(v []*string) *FilterForGetResourceCountsOutput
- func (s FilterForGetResourceCountsOutput) String() string
- type FilterForSearchResourcesInput
- func (s FilterForSearchResourcesInput) GoString() string
- func (s *FilterForSearchResourcesInput) SetKey(v string) *FilterForSearchResourcesInput
- func (s *FilterForSearchResourcesInput) SetMatchType(v string) *FilterForSearchResourcesInput
- func (s *FilterForSearchResourcesInput) SetValues(v []*string) *FilterForSearchResourcesInput
- func (s FilterForSearchResourcesInput) String() string
- type GetResourceCenterStatusInput
- type GetResourceCenterStatusOutput
- func (s GetResourceCenterStatusOutput) GoString() string
- func (s *GetResourceCenterStatusOutput) SetInitStatus(v string) *GetResourceCenterStatusOutput
- func (s *GetResourceCenterStatusOutput) SetServiceStatus(v string) *GetResourceCenterStatusOutput
- func (s GetResourceCenterStatusOutput) String() string
- type GetResourceCountsInput
- func (s GetResourceCountsInput) GoString() string
- func (s *GetResourceCountsInput) SetFilter(v []*FilterForGetResourceCountsInput) *GetResourceCountsInput
- func (s *GetResourceCountsInput) SetGroupByKey(v string) *GetResourceCountsInput
- func (s GetResourceCountsInput) String() string
- func (s *GetResourceCountsInput) Validate() error
- type GetResourceCountsOutput
- func (s GetResourceCountsOutput) GoString() string
- func (s *GetResourceCountsOutput) SetFilter(v []*FilterForGetResourceCountsOutput) *GetResourceCountsOutput
- func (s *GetResourceCountsOutput) SetGroupByKey(v string) *GetResourceCountsOutput
- func (s *GetResourceCountsOutput) SetResourceCounts(v []*ResourceCountForGetResourceCountsOutput) *GetResourceCountsOutput
- func (s GetResourceCountsOutput) String() string
- type ListResourceTypesInput
- type ListResourceTypesOutput
- type RESOURCECENTER
- func (c *RESOURCECENTER) DisableResourceCenter(input *DisableResourceCenterInput) (*DisableResourceCenterOutput, error)
- func (c *RESOURCECENTER) DisableResourceCenterCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) DisableResourceCenterCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *RESOURCECENTER) DisableResourceCenterCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) DisableResourceCenterRequest(input *DisableResourceCenterInput) (req *request.Request, output *DisableResourceCenterOutput)
- func (c *RESOURCECENTER) DisableResourceCenterWithContext(ctx volcengine.Context, input *DisableResourceCenterInput, ...) (*DisableResourceCenterOutput, error)
- func (c *RESOURCECENTER) EnableResourceCenter(input *EnableResourceCenterInput) (*EnableResourceCenterOutput, error)
- func (c *RESOURCECENTER) EnableResourceCenterCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) EnableResourceCenterCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *RESOURCECENTER) EnableResourceCenterCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) EnableResourceCenterRequest(input *EnableResourceCenterInput) (req *request.Request, output *EnableResourceCenterOutput)
- func (c *RESOURCECENTER) EnableResourceCenterWithContext(ctx volcengine.Context, input *EnableResourceCenterInput, ...) (*EnableResourceCenterOutput, error)
- func (c *RESOURCECENTER) GetResourceCenterStatus(input *GetResourceCenterStatusInput) (*GetResourceCenterStatusOutput, error)
- func (c *RESOURCECENTER) GetResourceCenterStatusCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) GetResourceCenterStatusCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *RESOURCECENTER) GetResourceCenterStatusCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) GetResourceCenterStatusRequest(input *GetResourceCenterStatusInput) (req *request.Request, output *GetResourceCenterStatusOutput)
- func (c *RESOURCECENTER) GetResourceCenterStatusWithContext(ctx volcengine.Context, input *GetResourceCenterStatusInput, ...) (*GetResourceCenterStatusOutput, error)
- func (c *RESOURCECENTER) GetResourceCounts(input *GetResourceCountsInput) (*GetResourceCountsOutput, error)
- func (c *RESOURCECENTER) GetResourceCountsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) GetResourceCountsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *RESOURCECENTER) GetResourceCountsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) GetResourceCountsRequest(input *GetResourceCountsInput) (req *request.Request, output *GetResourceCountsOutput)
- func (c *RESOURCECENTER) GetResourceCountsWithContext(ctx volcengine.Context, input *GetResourceCountsInput, opts ...request.Option) (*GetResourceCountsOutput, error)
- func (c *RESOURCECENTER) ListResourceTypes(input *ListResourceTypesInput) (*ListResourceTypesOutput, error)
- func (c *RESOURCECENTER) ListResourceTypesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) ListResourceTypesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *RESOURCECENTER) ListResourceTypesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) ListResourceTypesRequest(input *ListResourceTypesInput) (req *request.Request, output *ListResourceTypesOutput)
- func (c *RESOURCECENTER) ListResourceTypesWithContext(ctx volcengine.Context, input *ListResourceTypesInput, opts ...request.Option) (*ListResourceTypesOutput, error)
- func (c *RESOURCECENTER) SearchResources(input *SearchResourcesInput) (*SearchResourcesOutput, error)
- func (c *RESOURCECENTER) SearchResourcesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) SearchResourcesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *RESOURCECENTER) SearchResourcesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *RESOURCECENTER) SearchResourcesRequest(input *SearchResourcesInput) (req *request.Request, output *SearchResourcesOutput)
- func (c *RESOURCECENTER) SearchResourcesWithContext(ctx volcengine.Context, input *SearchResourcesInput, opts ...request.Option) (*SearchResourcesOutput, error)
- type RESOURCECENTERAPI
- type ResourceCountForGetResourceCountsOutput
- func (s ResourceCountForGetResourceCountsOutput) GoString() string
- func (s *ResourceCountForGetResourceCountsOutput) SetCount(v int32) *ResourceCountForGetResourceCountsOutput
- func (s *ResourceCountForGetResourceCountsOutput) SetGroupName(v string) *ResourceCountForGetResourceCountsOutput
- func (s ResourceCountForGetResourceCountsOutput) String() string
- type ResourceForSearchResourcesOutput
- func (s ResourceForSearchResourcesOutput) GoString() string
- func (s *ResourceForSearchResourcesOutput) SetAccountID(v int32) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetCreateTime(v string) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetPrivateIpAddress(v []*string) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetProjectName(v string) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetPublicIpAddress(v []*string) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetRegion(v string) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetResourceID(v string) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetResourceName(v string) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetResourceType(v string) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetService(v string) *ResourceForSearchResourcesOutput
- func (s *ResourceForSearchResourcesOutput) SetTags(v []*TagForSearchResourcesOutput) *ResourceForSearchResourcesOutput
- func (s ResourceForSearchResourcesOutput) String() string
- type ResourceTypeForListResourceTypesOutput
- func (s ResourceTypeForListResourceTypesOutput) GoString() string
- func (s *ResourceTypeForListResourceTypesOutput) SetResourceType(v string) *ResourceTypeForListResourceTypesOutput
- func (s *ResourceTypeForListResourceTypesOutput) SetResourceTypeName(v string) *ResourceTypeForListResourceTypesOutput
- func (s *ResourceTypeForListResourceTypesOutput) SetService(v string) *ResourceTypeForListResourceTypesOutput
- func (s *ResourceTypeForListResourceTypesOutput) SetServiceName(v string) *ResourceTypeForListResourceTypesOutput
- func (s ResourceTypeForListResourceTypesOutput) String() string
- type SearchResourcesInput
- func (s SearchResourcesInput) GoString() string
- func (s *SearchResourcesInput) SetFilter(v []*FilterForSearchResourcesInput) *SearchResourcesInput
- func (s *SearchResourcesInput) SetMaxResults(v int32) *SearchResourcesInput
- func (s *SearchResourcesInput) SetNextToken(v string) *SearchResourcesInput
- func (s *SearchResourcesInput) SetSortBy(v string) *SearchResourcesInput
- func (s *SearchResourcesInput) SetSortOrder(v string) *SearchResourcesInput
- func (s SearchResourcesInput) String() string
- type SearchResourcesOutput
- type TagForSearchResourcesOutput
Constants ¶
const ( // EnumOfGroupByKeyForGetResourceCountsInputResourceType is a EnumOfGroupByKeyForGetResourceCountsInput enum value EnumOfGroupByKeyForGetResourceCountsInputResourceType = "ResourceType" // EnumOfGroupByKeyForGetResourceCountsInputRegion is a EnumOfGroupByKeyForGetResourceCountsInput enum value EnumOfGroupByKeyForGetResourceCountsInputRegion = "Region" )
const ( // EnumOfSortOrderForSearchResourcesInputAsc is a EnumOfSortOrderForSearchResourcesInput enum value EnumOfSortOrderForSearchResourcesInputAsc = "Asc" // EnumOfSortOrderForSearchResourcesInputDesc is a EnumOfSortOrderForSearchResourcesInput enum value EnumOfSortOrderForSearchResourcesInputDesc = "Desc" )
const ( ServiceName = "resourcecenter" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "resourcecenter" // ServiceID is a unique identifer of a specific service. )
Service information constants
const (
// EnumOfSortByForSearchResourcesInputCreateTime is a EnumOfSortByForSearchResourcesInput enum value
EnumOfSortByForSearchResourcesInputCreateTime = "CreateTime"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisableResourceCenterInput ¶
type DisableResourceCenterInput struct {
// contains filtered or unexported fields
}
func (DisableResourceCenterInput) GoString ¶
func (s DisableResourceCenterInput) GoString() string
GoString returns the string representation
func (DisableResourceCenterInput) String ¶
func (s DisableResourceCenterInput) String() string
String returns the string representation
type DisableResourceCenterOutput ¶
type DisableResourceCenterOutput struct {
Metadata *response.ResponseMetadata
// contains filtered or unexported fields
}
func (DisableResourceCenterOutput) GoString ¶
func (s DisableResourceCenterOutput) GoString() string
GoString returns the string representation
func (DisableResourceCenterOutput) String ¶
func (s DisableResourceCenterOutput) String() string
String returns the string representation
type EnableResourceCenterInput ¶
type EnableResourceCenterInput struct {
// contains filtered or unexported fields
}
func (EnableResourceCenterInput) GoString ¶
func (s EnableResourceCenterInput) GoString() string
GoString returns the string representation
func (EnableResourceCenterInput) String ¶
func (s EnableResourceCenterInput) String() string
String returns the string representation
type EnableResourceCenterOutput ¶
type EnableResourceCenterOutput struct {
Metadata *response.ResponseMetadata
// contains filtered or unexported fields
}
func (EnableResourceCenterOutput) GoString ¶
func (s EnableResourceCenterOutput) GoString() string
GoString returns the string representation
func (EnableResourceCenterOutput) String ¶
func (s EnableResourceCenterOutput) String() string
String returns the string representation
type FilterForGetResourceCountsInput ¶
type FilterForGetResourceCountsInput struct {
Key *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
Values []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (FilterForGetResourceCountsInput) GoString ¶
func (s FilterForGetResourceCountsInput) GoString() string
GoString returns the string representation
func (*FilterForGetResourceCountsInput) SetKey ¶
func (s *FilterForGetResourceCountsInput) SetKey(v string) *FilterForGetResourceCountsInput
SetKey sets the Key field's value.
func (*FilterForGetResourceCountsInput) SetMatchType ¶
func (s *FilterForGetResourceCountsInput) SetMatchType(v string) *FilterForGetResourceCountsInput
SetMatchType sets the MatchType field's value.
func (*FilterForGetResourceCountsInput) SetValues ¶
func (s *FilterForGetResourceCountsInput) SetValues(v []*string) *FilterForGetResourceCountsInput
SetValues sets the Values field's value.
func (FilterForGetResourceCountsInput) String ¶
func (s FilterForGetResourceCountsInput) String() string
String returns the string representation
type FilterForGetResourceCountsOutput ¶
type FilterForGetResourceCountsOutput struct {
Key *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
Values []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (FilterForGetResourceCountsOutput) GoString ¶
func (s FilterForGetResourceCountsOutput) GoString() string
GoString returns the string representation
func (*FilterForGetResourceCountsOutput) SetKey ¶
func (s *FilterForGetResourceCountsOutput) SetKey(v string) *FilterForGetResourceCountsOutput
SetKey sets the Key field's value.
func (*FilterForGetResourceCountsOutput) SetMatchType ¶
func (s *FilterForGetResourceCountsOutput) SetMatchType(v string) *FilterForGetResourceCountsOutput
SetMatchType sets the MatchType field's value.
func (*FilterForGetResourceCountsOutput) SetValues ¶
func (s *FilterForGetResourceCountsOutput) SetValues(v []*string) *FilterForGetResourceCountsOutput
SetValues sets the Values field's value.
func (FilterForGetResourceCountsOutput) String ¶
func (s FilterForGetResourceCountsOutput) String() string
String returns the string representation
type FilterForSearchResourcesInput ¶
type FilterForSearchResourcesInput struct {
Key *string `type:"string" json:",omitempty"`
MatchType *string `type:"string" json:",omitempty"`
Values []*string `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (FilterForSearchResourcesInput) GoString ¶
func (s FilterForSearchResourcesInput) GoString() string
GoString returns the string representation
func (*FilterForSearchResourcesInput) SetKey ¶
func (s *FilterForSearchResourcesInput) SetKey(v string) *FilterForSearchResourcesInput
SetKey sets the Key field's value.
func (*FilterForSearchResourcesInput) SetMatchType ¶
func (s *FilterForSearchResourcesInput) SetMatchType(v string) *FilterForSearchResourcesInput
SetMatchType sets the MatchType field's value.
func (*FilterForSearchResourcesInput) SetValues ¶
func (s *FilterForSearchResourcesInput) SetValues(v []*string) *FilterForSearchResourcesInput
SetValues sets the Values field's value.
func (FilterForSearchResourcesInput) String ¶
func (s FilterForSearchResourcesInput) String() string
String returns the string representation
type GetResourceCenterStatusInput ¶
type GetResourceCenterStatusInput struct {
// contains filtered or unexported fields
}
func (GetResourceCenterStatusInput) GoString ¶
func (s GetResourceCenterStatusInput) GoString() string
GoString returns the string representation
func (GetResourceCenterStatusInput) String ¶
func (s GetResourceCenterStatusInput) String() string
String returns the string representation
type GetResourceCenterStatusOutput ¶
type GetResourceCenterStatusOutput struct {
Metadata *response.ResponseMetadata
InitStatus *string `type:"string" json:",omitempty"`
ServiceStatus *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (GetResourceCenterStatusOutput) GoString ¶
func (s GetResourceCenterStatusOutput) GoString() string
GoString returns the string representation
func (*GetResourceCenterStatusOutput) SetInitStatus ¶
func (s *GetResourceCenterStatusOutput) SetInitStatus(v string) *GetResourceCenterStatusOutput
SetInitStatus sets the InitStatus field's value.
func (*GetResourceCenterStatusOutput) SetServiceStatus ¶
func (s *GetResourceCenterStatusOutput) SetServiceStatus(v string) *GetResourceCenterStatusOutput
SetServiceStatus sets the ServiceStatus field's value.
func (GetResourceCenterStatusOutput) String ¶
func (s GetResourceCenterStatusOutput) String() string
String returns the string representation
type GetResourceCountsInput ¶
type GetResourceCountsInput struct {
Filter []*FilterForGetResourceCountsInput `type:"list" json:",omitempty"`
// GroupByKey is a required field
GroupByKey *string `type:"string" json:",omitempty" required:"true" enum:"EnumOfGroupByKeyForGetResourceCountsInput"`
// contains filtered or unexported fields
}
func (GetResourceCountsInput) GoString ¶
func (s GetResourceCountsInput) GoString() string
GoString returns the string representation
func (*GetResourceCountsInput) SetFilter ¶
func (s *GetResourceCountsInput) SetFilter(v []*FilterForGetResourceCountsInput) *GetResourceCountsInput
SetFilter sets the Filter field's value.
func (*GetResourceCountsInput) SetGroupByKey ¶
func (s *GetResourceCountsInput) SetGroupByKey(v string) *GetResourceCountsInput
SetGroupByKey sets the GroupByKey field's value.
func (GetResourceCountsInput) String ¶
func (s GetResourceCountsInput) String() string
String returns the string representation
func (*GetResourceCountsInput) Validate ¶
func (s *GetResourceCountsInput) Validate() error
Validate inspects the fields of the type to determine if they are valid.
type GetResourceCountsOutput ¶
type GetResourceCountsOutput struct {
Metadata *response.ResponseMetadata
Filter []*FilterForGetResourceCountsOutput `type:"list" json:",omitempty"`
GroupByKey *string `type:"string" json:",omitempty"`
ResourceCounts []*ResourceCountForGetResourceCountsOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (GetResourceCountsOutput) GoString ¶
func (s GetResourceCountsOutput) GoString() string
GoString returns the string representation
func (*GetResourceCountsOutput) SetFilter ¶
func (s *GetResourceCountsOutput) SetFilter(v []*FilterForGetResourceCountsOutput) *GetResourceCountsOutput
SetFilter sets the Filter field's value.
func (*GetResourceCountsOutput) SetGroupByKey ¶
func (s *GetResourceCountsOutput) SetGroupByKey(v string) *GetResourceCountsOutput
SetGroupByKey sets the GroupByKey field's value.
func (*GetResourceCountsOutput) SetResourceCounts ¶
func (s *GetResourceCountsOutput) SetResourceCounts(v []*ResourceCountForGetResourceCountsOutput) *GetResourceCountsOutput
SetResourceCounts sets the ResourceCounts field's value.
func (GetResourceCountsOutput) String ¶
func (s GetResourceCountsOutput) String() string
String returns the string representation
type ListResourceTypesInput ¶
type ListResourceTypesInput struct {
// contains filtered or unexported fields
}
func (ListResourceTypesInput) GoString ¶
func (s ListResourceTypesInput) GoString() string
GoString returns the string representation
func (ListResourceTypesInput) String ¶
func (s ListResourceTypesInput) String() string
String returns the string representation
type ListResourceTypesOutput ¶
type ListResourceTypesOutput struct {
Metadata *response.ResponseMetadata
ResourceTypes []*ResourceTypeForListResourceTypesOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (ListResourceTypesOutput) GoString ¶
func (s ListResourceTypesOutput) GoString() string
GoString returns the string representation
func (*ListResourceTypesOutput) SetResourceTypes ¶
func (s *ListResourceTypesOutput) SetResourceTypes(v []*ResourceTypeForListResourceTypesOutput) *ListResourceTypesOutput
SetResourceTypes sets the ResourceTypes field's value.
func (ListResourceTypesOutput) String ¶
func (s ListResourceTypesOutput) String() string
String returns the string representation
type RESOURCECENTER ¶
RESOURCECENTER provides the API operation methods for making requests to RESOURCECENTER. See this package's package overview docs for details on the service.
RESOURCECENTER methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *RESOURCECENTER
New create int can support ssl or region locate set
func (*RESOURCECENTER) DisableResourceCenter ¶
func (c *RESOURCECENTER) DisableResourceCenter(input *DisableResourceCenterInput) (*DisableResourceCenterOutput, error)
DisableResourceCenter API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation DisableResourceCenter for usage and error information.
func (*RESOURCECENTER) DisableResourceCenterCommon ¶
func (c *RESOURCECENTER) DisableResourceCenterCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DisableResourceCenterCommon API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation DisableResourceCenterCommon for usage and error information.
func (*RESOURCECENTER) DisableResourceCenterCommonRequest ¶
func (c *RESOURCECENTER) DisableResourceCenterCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DisableResourceCenterCommonRequest generates a "volcengine/request.Request" representing the client's request for the DisableResourceCenterCommon operation. The "output" return value will be populated with the DisableResourceCenterCommon request's response once the request completes successfully.
Use "Send" method on the returned DisableResourceCenterCommon Request to send the API call to the service. the "output" return value is not valid until after DisableResourceCenterCommon Send returns without error.
See DisableResourceCenterCommon for more information on using the DisableResourceCenterCommon API call, and error handling.
// Example sending a request using the DisableResourceCenterCommonRequest method.
req, resp := client.DisableResourceCenterCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) DisableResourceCenterCommonWithContext ¶
func (c *RESOURCECENTER) DisableResourceCenterCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DisableResourceCenterCommonWithContext is the same as DisableResourceCenterCommon with the addition of the ability to pass a context and additional request options.
See DisableResourceCenterCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) DisableResourceCenterRequest ¶
func (c *RESOURCECENTER) DisableResourceCenterRequest(input *DisableResourceCenterInput) (req *request.Request, output *DisableResourceCenterOutput)
DisableResourceCenterRequest generates a "volcengine/request.Request" representing the client's request for the DisableResourceCenter operation. The "output" return value will be populated with the DisableResourceCenterCommon request's response once the request completes successfully.
Use "Send" method on the returned DisableResourceCenterCommon Request to send the API call to the service. the "output" return value is not valid until after DisableResourceCenterCommon Send returns without error.
See DisableResourceCenter for more information on using the DisableResourceCenter API call, and error handling.
// Example sending a request using the DisableResourceCenterRequest method.
req, resp := client.DisableResourceCenterRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) DisableResourceCenterWithContext ¶
func (c *RESOURCECENTER) DisableResourceCenterWithContext(ctx volcengine.Context, input *DisableResourceCenterInput, opts ...request.Option) (*DisableResourceCenterOutput, error)
DisableResourceCenterWithContext is the same as DisableResourceCenter with the addition of the ability to pass a context and additional request options.
See DisableResourceCenter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) EnableResourceCenter ¶
func (c *RESOURCECENTER) EnableResourceCenter(input *EnableResourceCenterInput) (*EnableResourceCenterOutput, error)
EnableResourceCenter API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation EnableResourceCenter for usage and error information.
func (*RESOURCECENTER) EnableResourceCenterCommon ¶
func (c *RESOURCECENTER) EnableResourceCenterCommon(input *map[string]interface{}) (*map[string]interface{}, error)
EnableResourceCenterCommon API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation EnableResourceCenterCommon for usage and error information.
func (*RESOURCECENTER) EnableResourceCenterCommonRequest ¶
func (c *RESOURCECENTER) EnableResourceCenterCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
EnableResourceCenterCommonRequest generates a "volcengine/request.Request" representing the client's request for the EnableResourceCenterCommon operation. The "output" return value will be populated with the EnableResourceCenterCommon request's response once the request completes successfully.
Use "Send" method on the returned EnableResourceCenterCommon Request to send the API call to the service. the "output" return value is not valid until after EnableResourceCenterCommon Send returns without error.
See EnableResourceCenterCommon for more information on using the EnableResourceCenterCommon API call, and error handling.
// Example sending a request using the EnableResourceCenterCommonRequest method.
req, resp := client.EnableResourceCenterCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) EnableResourceCenterCommonWithContext ¶
func (c *RESOURCECENTER) EnableResourceCenterCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
EnableResourceCenterCommonWithContext is the same as EnableResourceCenterCommon with the addition of the ability to pass a context and additional request options.
See EnableResourceCenterCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) EnableResourceCenterRequest ¶
func (c *RESOURCECENTER) EnableResourceCenterRequest(input *EnableResourceCenterInput) (req *request.Request, output *EnableResourceCenterOutput)
EnableResourceCenterRequest generates a "volcengine/request.Request" representing the client's request for the EnableResourceCenter operation. The "output" return value will be populated with the EnableResourceCenterCommon request's response once the request completes successfully.
Use "Send" method on the returned EnableResourceCenterCommon Request to send the API call to the service. the "output" return value is not valid until after EnableResourceCenterCommon Send returns without error.
See EnableResourceCenter for more information on using the EnableResourceCenter API call, and error handling.
// Example sending a request using the EnableResourceCenterRequest method.
req, resp := client.EnableResourceCenterRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) EnableResourceCenterWithContext ¶
func (c *RESOURCECENTER) EnableResourceCenterWithContext(ctx volcengine.Context, input *EnableResourceCenterInput, opts ...request.Option) (*EnableResourceCenterOutput, error)
EnableResourceCenterWithContext is the same as EnableResourceCenter with the addition of the ability to pass a context and additional request options.
See EnableResourceCenter for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) GetResourceCenterStatus ¶
func (c *RESOURCECENTER) GetResourceCenterStatus(input *GetResourceCenterStatusInput) (*GetResourceCenterStatusOutput, error)
GetResourceCenterStatus API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation GetResourceCenterStatus for usage and error information.
func (*RESOURCECENTER) GetResourceCenterStatusCommon ¶
func (c *RESOURCECENTER) GetResourceCenterStatusCommon(input *map[string]interface{}) (*map[string]interface{}, error)
GetResourceCenterStatusCommon API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation GetResourceCenterStatusCommon for usage and error information.
func (*RESOURCECENTER) GetResourceCenterStatusCommonRequest ¶
func (c *RESOURCECENTER) GetResourceCenterStatusCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetResourceCenterStatusCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetResourceCenterStatusCommon operation. The "output" return value will be populated with the GetResourceCenterStatusCommon request's response once the request completes successfully.
Use "Send" method on the returned GetResourceCenterStatusCommon Request to send the API call to the service. the "output" return value is not valid until after GetResourceCenterStatusCommon Send returns without error.
See GetResourceCenterStatusCommon for more information on using the GetResourceCenterStatusCommon API call, and error handling.
// Example sending a request using the GetResourceCenterStatusCommonRequest method.
req, resp := client.GetResourceCenterStatusCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) GetResourceCenterStatusCommonWithContext ¶
func (c *RESOURCECENTER) GetResourceCenterStatusCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetResourceCenterStatusCommonWithContext is the same as GetResourceCenterStatusCommon with the addition of the ability to pass a context and additional request options.
See GetResourceCenterStatusCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) GetResourceCenterStatusRequest ¶
func (c *RESOURCECENTER) GetResourceCenterStatusRequest(input *GetResourceCenterStatusInput) (req *request.Request, output *GetResourceCenterStatusOutput)
GetResourceCenterStatusRequest generates a "volcengine/request.Request" representing the client's request for the GetResourceCenterStatus operation. The "output" return value will be populated with the GetResourceCenterStatusCommon request's response once the request completes successfully.
Use "Send" method on the returned GetResourceCenterStatusCommon Request to send the API call to the service. the "output" return value is not valid until after GetResourceCenterStatusCommon Send returns without error.
See GetResourceCenterStatus for more information on using the GetResourceCenterStatus API call, and error handling.
// Example sending a request using the GetResourceCenterStatusRequest method.
req, resp := client.GetResourceCenterStatusRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) GetResourceCenterStatusWithContext ¶
func (c *RESOURCECENTER) GetResourceCenterStatusWithContext(ctx volcengine.Context, input *GetResourceCenterStatusInput, opts ...request.Option) (*GetResourceCenterStatusOutput, error)
GetResourceCenterStatusWithContext is the same as GetResourceCenterStatus with the addition of the ability to pass a context and additional request options.
See GetResourceCenterStatus for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) GetResourceCounts ¶
func (c *RESOURCECENTER) GetResourceCounts(input *GetResourceCountsInput) (*GetResourceCountsOutput, error)
GetResourceCounts API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation GetResourceCounts for usage and error information.
func (*RESOURCECENTER) GetResourceCountsCommon ¶
func (c *RESOURCECENTER) GetResourceCountsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
GetResourceCountsCommon API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation GetResourceCountsCommon for usage and error information.
func (*RESOURCECENTER) GetResourceCountsCommonRequest ¶
func (c *RESOURCECENTER) GetResourceCountsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
GetResourceCountsCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetResourceCountsCommon operation. The "output" return value will be populated with the GetResourceCountsCommon request's response once the request completes successfully.
Use "Send" method on the returned GetResourceCountsCommon Request to send the API call to the service. the "output" return value is not valid until after GetResourceCountsCommon Send returns without error.
See GetResourceCountsCommon for more information on using the GetResourceCountsCommon API call, and error handling.
// Example sending a request using the GetResourceCountsCommonRequest method.
req, resp := client.GetResourceCountsCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) GetResourceCountsCommonWithContext ¶
func (c *RESOURCECENTER) GetResourceCountsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
GetResourceCountsCommonWithContext is the same as GetResourceCountsCommon with the addition of the ability to pass a context and additional request options.
See GetResourceCountsCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) GetResourceCountsRequest ¶
func (c *RESOURCECENTER) GetResourceCountsRequest(input *GetResourceCountsInput) (req *request.Request, output *GetResourceCountsOutput)
GetResourceCountsRequest generates a "volcengine/request.Request" representing the client's request for the GetResourceCounts operation. The "output" return value will be populated with the GetResourceCountsCommon request's response once the request completes successfully.
Use "Send" method on the returned GetResourceCountsCommon Request to send the API call to the service. the "output" return value is not valid until after GetResourceCountsCommon Send returns without error.
See GetResourceCounts for more information on using the GetResourceCounts API call, and error handling.
// Example sending a request using the GetResourceCountsRequest method.
req, resp := client.GetResourceCountsRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) GetResourceCountsWithContext ¶
func (c *RESOURCECENTER) GetResourceCountsWithContext(ctx volcengine.Context, input *GetResourceCountsInput, opts ...request.Option) (*GetResourceCountsOutput, error)
GetResourceCountsWithContext is the same as GetResourceCounts with the addition of the ability to pass a context and additional request options.
See GetResourceCounts for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) ListResourceTypes ¶
func (c *RESOURCECENTER) ListResourceTypes(input *ListResourceTypesInput) (*ListResourceTypesOutput, error)
ListResourceTypes API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation ListResourceTypes for usage and error information.
func (*RESOURCECENTER) ListResourceTypesCommon ¶
func (c *RESOURCECENTER) ListResourceTypesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListResourceTypesCommon API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation ListResourceTypesCommon for usage and error information.
func (*RESOURCECENTER) ListResourceTypesCommonRequest ¶
func (c *RESOURCECENTER) ListResourceTypesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListResourceTypesCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListResourceTypesCommon operation. The "output" return value will be populated with the ListResourceTypesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListResourceTypesCommon Request to send the API call to the service. the "output" return value is not valid until after ListResourceTypesCommon Send returns without error.
See ListResourceTypesCommon for more information on using the ListResourceTypesCommon API call, and error handling.
// Example sending a request using the ListResourceTypesCommonRequest method.
req, resp := client.ListResourceTypesCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) ListResourceTypesCommonWithContext ¶
func (c *RESOURCECENTER) ListResourceTypesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListResourceTypesCommonWithContext is the same as ListResourceTypesCommon with the addition of the ability to pass a context and additional request options.
See ListResourceTypesCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) ListResourceTypesRequest ¶
func (c *RESOURCECENTER) ListResourceTypesRequest(input *ListResourceTypesInput) (req *request.Request, output *ListResourceTypesOutput)
ListResourceTypesRequest generates a "volcengine/request.Request" representing the client's request for the ListResourceTypes operation. The "output" return value will be populated with the ListResourceTypesCommon request's response once the request completes successfully.
Use "Send" method on the returned ListResourceTypesCommon Request to send the API call to the service. the "output" return value is not valid until after ListResourceTypesCommon Send returns without error.
See ListResourceTypes for more information on using the ListResourceTypes API call, and error handling.
// Example sending a request using the ListResourceTypesRequest method.
req, resp := client.ListResourceTypesRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) ListResourceTypesWithContext ¶
func (c *RESOURCECENTER) ListResourceTypesWithContext(ctx volcengine.Context, input *ListResourceTypesInput, opts ...request.Option) (*ListResourceTypesOutput, error)
ListResourceTypesWithContext is the same as ListResourceTypes with the addition of the ability to pass a context and additional request options.
See ListResourceTypes for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) SearchResources ¶
func (c *RESOURCECENTER) SearchResources(input *SearchResourcesInput) (*SearchResourcesOutput, error)
SearchResources API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation SearchResources for usage and error information.
func (*RESOURCECENTER) SearchResourcesCommon ¶
func (c *RESOURCECENTER) SearchResourcesCommon(input *map[string]interface{}) (*map[string]interface{}, error)
SearchResourcesCommon API operation for RESOURCECENTER.
Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.
See the VOLCENGINE API reference guide for RESOURCECENTER's API operation SearchResourcesCommon for usage and error information.
func (*RESOURCECENTER) SearchResourcesCommonRequest ¶
func (c *RESOURCECENTER) SearchResourcesCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
SearchResourcesCommonRequest generates a "volcengine/request.Request" representing the client's request for the SearchResourcesCommon operation. The "output" return value will be populated with the SearchResourcesCommon request's response once the request completes successfully.
Use "Send" method on the returned SearchResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after SearchResourcesCommon Send returns without error.
See SearchResourcesCommon for more information on using the SearchResourcesCommon API call, and error handling.
// Example sending a request using the SearchResourcesCommonRequest method.
req, resp := client.SearchResourcesCommonRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) SearchResourcesCommonWithContext ¶
func (c *RESOURCECENTER) SearchResourcesCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
SearchResourcesCommonWithContext is the same as SearchResourcesCommon with the addition of the ability to pass a context and additional request options.
See SearchResourcesCommon for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
func (*RESOURCECENTER) SearchResourcesRequest ¶
func (c *RESOURCECENTER) SearchResourcesRequest(input *SearchResourcesInput) (req *request.Request, output *SearchResourcesOutput)
SearchResourcesRequest generates a "volcengine/request.Request" representing the client's request for the SearchResources operation. The "output" return value will be populated with the SearchResourcesCommon request's response once the request completes successfully.
Use "Send" method on the returned SearchResourcesCommon Request to send the API call to the service. the "output" return value is not valid until after SearchResourcesCommon Send returns without error.
See SearchResources for more information on using the SearchResources API call, and error handling.
// Example sending a request using the SearchResourcesRequest method.
req, resp := client.SearchResourcesRequest(params)
err := req.Send()
if err == nil { // resp is now filled
fmt.Println(resp)
}
func (*RESOURCECENTER) SearchResourcesWithContext ¶
func (c *RESOURCECENTER) SearchResourcesWithContext(ctx volcengine.Context, input *SearchResourcesInput, opts ...request.Option) (*SearchResourcesOutput, error)
SearchResourcesWithContext is the same as SearchResources with the addition of the ability to pass a context and additional request options.
See SearchResources for details on how to use this API operation.
The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.
type RESOURCECENTERAPI ¶
type RESOURCECENTERAPI interface {
DisableResourceCenterCommon(*map[string]interface{}) (*map[string]interface{}, error)
DisableResourceCenterCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
DisableResourceCenterCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
DisableResourceCenter(*DisableResourceCenterInput) (*DisableResourceCenterOutput, error)
DisableResourceCenterWithContext(volcengine.Context, *DisableResourceCenterInput, ...request.Option) (*DisableResourceCenterOutput, error)
DisableResourceCenterRequest(*DisableResourceCenterInput) (*request.Request, *DisableResourceCenterOutput)
EnableResourceCenterCommon(*map[string]interface{}) (*map[string]interface{}, error)
EnableResourceCenterCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
EnableResourceCenterCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
EnableResourceCenter(*EnableResourceCenterInput) (*EnableResourceCenterOutput, error)
EnableResourceCenterWithContext(volcengine.Context, *EnableResourceCenterInput, ...request.Option) (*EnableResourceCenterOutput, error)
EnableResourceCenterRequest(*EnableResourceCenterInput) (*request.Request, *EnableResourceCenterOutput)
GetResourceCenterStatusCommon(*map[string]interface{}) (*map[string]interface{}, error)
GetResourceCenterStatusCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
GetResourceCenterStatusCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
GetResourceCenterStatus(*GetResourceCenterStatusInput) (*GetResourceCenterStatusOutput, error)
GetResourceCenterStatusWithContext(volcengine.Context, *GetResourceCenterStatusInput, ...request.Option) (*GetResourceCenterStatusOutput, error)
GetResourceCenterStatusRequest(*GetResourceCenterStatusInput) (*request.Request, *GetResourceCenterStatusOutput)
GetResourceCountsCommon(*map[string]interface{}) (*map[string]interface{}, error)
GetResourceCountsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
GetResourceCountsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
GetResourceCounts(*GetResourceCountsInput) (*GetResourceCountsOutput, error)
GetResourceCountsWithContext(volcengine.Context, *GetResourceCountsInput, ...request.Option) (*GetResourceCountsOutput, error)
GetResourceCountsRequest(*GetResourceCountsInput) (*request.Request, *GetResourceCountsOutput)
ListResourceTypesCommon(*map[string]interface{}) (*map[string]interface{}, error)
ListResourceTypesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
ListResourceTypesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
ListResourceTypes(*ListResourceTypesInput) (*ListResourceTypesOutput, error)
ListResourceTypesWithContext(volcengine.Context, *ListResourceTypesInput, ...request.Option) (*ListResourceTypesOutput, error)
ListResourceTypesRequest(*ListResourceTypesInput) (*request.Request, *ListResourceTypesOutput)
SearchResourcesCommon(*map[string]interface{}) (*map[string]interface{}, error)
SearchResourcesCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
SearchResourcesCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})
SearchResources(*SearchResourcesInput) (*SearchResourcesOutput, error)
SearchResourcesWithContext(volcengine.Context, *SearchResourcesInput, ...request.Option) (*SearchResourcesOutput, error)
SearchResourcesRequest(*SearchResourcesInput) (*request.Request, *SearchResourcesOutput)
}
RESOURCECENTERAPI provides an interface to enable mocking the resourcecenter.RESOURCECENTER service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to
// RESOURCECENTER.
func myFunc(svc RESOURCECENTERAPI) bool {
// Make svc.DisableResourceCenter request
}
func main() {
sess := session.New()
svc := resourcecenter.New(sess)
myFunc(svc)
}
type ResourceCountForGetResourceCountsOutput ¶
type ResourceCountForGetResourceCountsOutput struct {
Count *int32 `type:"int32" json:",omitempty"`
GroupName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ResourceCountForGetResourceCountsOutput) GoString ¶
func (s ResourceCountForGetResourceCountsOutput) GoString() string
GoString returns the string representation
func (*ResourceCountForGetResourceCountsOutput) SetCount ¶
func (s *ResourceCountForGetResourceCountsOutput) SetCount(v int32) *ResourceCountForGetResourceCountsOutput
SetCount sets the Count field's value.
func (*ResourceCountForGetResourceCountsOutput) SetGroupName ¶
func (s *ResourceCountForGetResourceCountsOutput) SetGroupName(v string) *ResourceCountForGetResourceCountsOutput
SetGroupName sets the GroupName field's value.
func (ResourceCountForGetResourceCountsOutput) String ¶
func (s ResourceCountForGetResourceCountsOutput) String() string
String returns the string representation
type ResourceForSearchResourcesOutput ¶
type ResourceForSearchResourcesOutput struct {
AccountID *int32 `type:"int32" json:",omitempty"`
CreateTime *string `type:"string" json:",omitempty"`
PrivateIpAddress []*string `type:"list" json:",omitempty"`
ProjectName *string `type:"string" json:",omitempty"`
PublicIpAddress []*string `type:"list" json:",omitempty"`
Region *string `type:"string" json:",omitempty"`
ResourceID *string `type:"string" json:",omitempty"`
ResourceName *string `type:"string" json:",omitempty"`
ResourceType *string `type:"string" json:",omitempty"`
Service *string `type:"string" json:",omitempty"`
Tags []*TagForSearchResourcesOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (ResourceForSearchResourcesOutput) GoString ¶
func (s ResourceForSearchResourcesOutput) GoString() string
GoString returns the string representation
func (*ResourceForSearchResourcesOutput) SetAccountID ¶
func (s *ResourceForSearchResourcesOutput) SetAccountID(v int32) *ResourceForSearchResourcesOutput
SetAccountID sets the AccountID field's value.
func (*ResourceForSearchResourcesOutput) SetCreateTime ¶
func (s *ResourceForSearchResourcesOutput) SetCreateTime(v string) *ResourceForSearchResourcesOutput
SetCreateTime sets the CreateTime field's value.
func (*ResourceForSearchResourcesOutput) SetPrivateIpAddress ¶
func (s *ResourceForSearchResourcesOutput) SetPrivateIpAddress(v []*string) *ResourceForSearchResourcesOutput
SetPrivateIpAddress sets the PrivateIpAddress field's value.
func (*ResourceForSearchResourcesOutput) SetProjectName ¶
func (s *ResourceForSearchResourcesOutput) SetProjectName(v string) *ResourceForSearchResourcesOutput
SetProjectName sets the ProjectName field's value.
func (*ResourceForSearchResourcesOutput) SetPublicIpAddress ¶
func (s *ResourceForSearchResourcesOutput) SetPublicIpAddress(v []*string) *ResourceForSearchResourcesOutput
SetPublicIpAddress sets the PublicIpAddress field's value.
func (*ResourceForSearchResourcesOutput) SetRegion ¶
func (s *ResourceForSearchResourcesOutput) SetRegion(v string) *ResourceForSearchResourcesOutput
SetRegion sets the Region field's value.
func (*ResourceForSearchResourcesOutput) SetResourceID ¶
func (s *ResourceForSearchResourcesOutput) SetResourceID(v string) *ResourceForSearchResourcesOutput
SetResourceID sets the ResourceID field's value.
func (*ResourceForSearchResourcesOutput) SetResourceName ¶
func (s *ResourceForSearchResourcesOutput) SetResourceName(v string) *ResourceForSearchResourcesOutput
SetResourceName sets the ResourceName field's value.
func (*ResourceForSearchResourcesOutput) SetResourceType ¶
func (s *ResourceForSearchResourcesOutput) SetResourceType(v string) *ResourceForSearchResourcesOutput
SetResourceType sets the ResourceType field's value.
func (*ResourceForSearchResourcesOutput) SetService ¶
func (s *ResourceForSearchResourcesOutput) SetService(v string) *ResourceForSearchResourcesOutput
SetService sets the Service field's value.
func (*ResourceForSearchResourcesOutput) SetTags ¶
func (s *ResourceForSearchResourcesOutput) SetTags(v []*TagForSearchResourcesOutput) *ResourceForSearchResourcesOutput
SetTags sets the Tags field's value.
func (ResourceForSearchResourcesOutput) String ¶
func (s ResourceForSearchResourcesOutput) String() string
String returns the string representation
type ResourceTypeForListResourceTypesOutput ¶
type ResourceTypeForListResourceTypesOutput struct {
ResourceType *string `type:"string" json:",omitempty"`
ResourceTypeName *string `type:"string" json:",omitempty"`
Service *string `type:"string" json:",omitempty"`
ServiceName *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (ResourceTypeForListResourceTypesOutput) GoString ¶
func (s ResourceTypeForListResourceTypesOutput) GoString() string
GoString returns the string representation
func (*ResourceTypeForListResourceTypesOutput) SetResourceType ¶
func (s *ResourceTypeForListResourceTypesOutput) SetResourceType(v string) *ResourceTypeForListResourceTypesOutput
SetResourceType sets the ResourceType field's value.
func (*ResourceTypeForListResourceTypesOutput) SetResourceTypeName ¶
func (s *ResourceTypeForListResourceTypesOutput) SetResourceTypeName(v string) *ResourceTypeForListResourceTypesOutput
SetResourceTypeName sets the ResourceTypeName field's value.
func (*ResourceTypeForListResourceTypesOutput) SetService ¶
func (s *ResourceTypeForListResourceTypesOutput) SetService(v string) *ResourceTypeForListResourceTypesOutput
SetService sets the Service field's value.
func (*ResourceTypeForListResourceTypesOutput) SetServiceName ¶
func (s *ResourceTypeForListResourceTypesOutput) SetServiceName(v string) *ResourceTypeForListResourceTypesOutput
SetServiceName sets the ServiceName field's value.
func (ResourceTypeForListResourceTypesOutput) String ¶
func (s ResourceTypeForListResourceTypesOutput) String() string
String returns the string representation
type SearchResourcesInput ¶
type SearchResourcesInput struct {
Filter []*FilterForSearchResourcesInput `type:"list" json:",omitempty"`
MaxResults *int32 `type:"int32" json:",omitempty"`
NextToken *string `type:"string" json:",omitempty"`
SortBy *string `type:"string" json:",omitempty" enum:"EnumOfSortByForSearchResourcesInput"`
SortOrder *string `type:"string" json:",omitempty" enum:"EnumOfSortOrderForSearchResourcesInput"`
// contains filtered or unexported fields
}
func (SearchResourcesInput) GoString ¶
func (s SearchResourcesInput) GoString() string
GoString returns the string representation
func (*SearchResourcesInput) SetFilter ¶
func (s *SearchResourcesInput) SetFilter(v []*FilterForSearchResourcesInput) *SearchResourcesInput
SetFilter sets the Filter field's value.
func (*SearchResourcesInput) SetMaxResults ¶
func (s *SearchResourcesInput) SetMaxResults(v int32) *SearchResourcesInput
SetMaxResults sets the MaxResults field's value.
func (*SearchResourcesInput) SetNextToken ¶
func (s *SearchResourcesInput) SetNextToken(v string) *SearchResourcesInput
SetNextToken sets the NextToken field's value.
func (*SearchResourcesInput) SetSortBy ¶
func (s *SearchResourcesInput) SetSortBy(v string) *SearchResourcesInput
SetSortBy sets the SortBy field's value.
func (*SearchResourcesInput) SetSortOrder ¶
func (s *SearchResourcesInput) SetSortOrder(v string) *SearchResourcesInput
SetSortOrder sets the SortOrder field's value.
func (SearchResourcesInput) String ¶
func (s SearchResourcesInput) String() string
String returns the string representation
type SearchResourcesOutput ¶
type SearchResourcesOutput struct {
Metadata *response.ResponseMetadata
NextToken *string `type:"string" json:",omitempty"`
Resources []*ResourceForSearchResourcesOutput `type:"list" json:",omitempty"`
// contains filtered or unexported fields
}
func (SearchResourcesOutput) GoString ¶
func (s SearchResourcesOutput) GoString() string
GoString returns the string representation
func (*SearchResourcesOutput) SetNextToken ¶
func (s *SearchResourcesOutput) SetNextToken(v string) *SearchResourcesOutput
SetNextToken sets the NextToken field's value.
func (*SearchResourcesOutput) SetResources ¶
func (s *SearchResourcesOutput) SetResources(v []*ResourceForSearchResourcesOutput) *SearchResourcesOutput
SetResources sets the Resources field's value.
func (SearchResourcesOutput) String ¶
func (s SearchResourcesOutput) String() string
String returns the string representation
type TagForSearchResourcesOutput ¶
type TagForSearchResourcesOutput struct {
Key *string `type:"string" json:",omitempty"`
Value *string `type:"string" json:",omitempty"`
// contains filtered or unexported fields
}
func (TagForSearchResourcesOutput) GoString ¶
func (s TagForSearchResourcesOutput) GoString() string
GoString returns the string representation
func (*TagForSearchResourcesOutput) SetKey ¶
func (s *TagForSearchResourcesOutput) SetKey(v string) *TagForSearchResourcesOutput
SetKey sets the Key field's value.
func (*TagForSearchResourcesOutput) SetValue ¶
func (s *TagForSearchResourcesOutput) SetValue(v string) *TagForSearchResourcesOutput
SetValue sets the Value field's value.
func (TagForSearchResourcesOutput) String ¶
func (s TagForSearchResourcesOutput) String() string
String returns the string representation