Documentation
¶
Overview ¶
Package volcobserveiface provides an interface to enable mocking the VOLC_OBSERVE 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 ConditionForCreateRuleInput
- func (s ConditionForCreateRuleInput) GoString() string
- func (s *ConditionForCreateRuleInput) SetComparisonOperator(v string) *ConditionForCreateRuleInput
- func (s *ConditionForCreateRuleInput) SetMetricName(v string) *ConditionForCreateRuleInput
- func (s *ConditionForCreateRuleInput) SetMetricUnit(v string) *ConditionForCreateRuleInput
- func (s *ConditionForCreateRuleInput) SetNamespace(v string) *ConditionForCreateRuleInput
- func (s *ConditionForCreateRuleInput) SetPeriod(v string) *ConditionForCreateRuleInput
- func (s *ConditionForCreateRuleInput) SetStatistics(v string) *ConditionForCreateRuleInput
- func (s *ConditionForCreateRuleInput) SetThreshold(v string) *ConditionForCreateRuleInput
- func (s ConditionForCreateRuleInput) String() string
- type ConditionForListRulesByIdsOutput
- func (s ConditionForListRulesByIdsOutput) GoString() string
- func (s *ConditionForListRulesByIdsOutput) SetComparisonOperator(v string) *ConditionForListRulesByIdsOutput
- func (s *ConditionForListRulesByIdsOutput) SetMetricName(v string) *ConditionForListRulesByIdsOutput
- func (s *ConditionForListRulesByIdsOutput) SetMetricUnit(v string) *ConditionForListRulesByIdsOutput
- func (s *ConditionForListRulesByIdsOutput) SetNamespace(v string) *ConditionForListRulesByIdsOutput
- func (s *ConditionForListRulesByIdsOutput) SetPeriod(v string) *ConditionForListRulesByIdsOutput
- func (s *ConditionForListRulesByIdsOutput) SetStatistics(v string) *ConditionForListRulesByIdsOutput
- func (s *ConditionForListRulesByIdsOutput) SetThreshold(v string) *ConditionForListRulesByIdsOutput
- func (s ConditionForListRulesByIdsOutput) String() string
- type ConditionForUpdateRuleInput
- func (s ConditionForUpdateRuleInput) GoString() string
- func (s *ConditionForUpdateRuleInput) SetComparisonOperator(v string) *ConditionForUpdateRuleInput
- func (s *ConditionForUpdateRuleInput) SetMetricName(v string) *ConditionForUpdateRuleInput
- func (s *ConditionForUpdateRuleInput) SetMetricUnit(v string) *ConditionForUpdateRuleInput
- func (s *ConditionForUpdateRuleInput) SetNamespace(v string) *ConditionForUpdateRuleInput
- func (s *ConditionForUpdateRuleInput) SetPeriod(v string) *ConditionForUpdateRuleInput
- func (s *ConditionForUpdateRuleInput) SetStatistics(v string) *ConditionForUpdateRuleInput
- func (s *ConditionForUpdateRuleInput) SetThreshold(v string) *ConditionForUpdateRuleInput
- func (s ConditionForUpdateRuleInput) String() string
- type CreateRuleInput
- func (s CreateRuleInput) GoString() string
- func (s *CreateRuleInput) SetAccountId(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetAlertMethods(v []*string) *CreateRuleInput
- func (s *CreateRuleInput) SetAsc(v bool) *CreateRuleInput
- func (s *CreateRuleInput) SetCheckInterval(v int64) *CreateRuleInput
- func (s *CreateRuleInput) SetConditions(v []*ConditionForCreateRuleInput) *CreateRuleInput
- func (s *CreateRuleInput) SetContactGroupsIds(v []*string) *CreateRuleInput
- func (s *CreateRuleInput) SetDescription(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetDimensions(v []*string) *CreateRuleInput
- func (s *CreateRuleInput) SetEffectEndAt(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetEffectStartAt(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetEnableState(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetEvaluationCount(v int64) *CreateRuleInput
- func (s *CreateRuleInput) SetHandleSuggestion(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetId(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetLevel(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetNamespace(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetOrderBy(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetOriginalDimensions(v map[string][]*string) *CreateRuleInput
- func (s *CreateRuleInput) SetPageNumber(v int64) *CreateRuleInput
- func (s *CreateRuleInput) SetPageSize(v int64) *CreateRuleInput
- func (s *CreateRuleInput) SetRegions(v []*string) *CreateRuleInput
- func (s *CreateRuleInput) SetRuleExpr(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetRuleName(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetRuleType(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetSilenceTime(v int64) *CreateRuleInput
- func (s *CreateRuleInput) SetSubNamespace(v string) *CreateRuleInput
- func (s *CreateRuleInput) SetTotalCount(v int64) *CreateRuleInput
- func (s *CreateRuleInput) SetWebHook(v string) *CreateRuleInput
- func (s CreateRuleInput) String() string
- type CreateRuleOutput
- type DeleteRulesByIdsInput
- type DeleteRulesByIdsOutput
- type ListRulesByIdsInput
- func (s ListRulesByIdsInput) GoString() string
- func (s *ListRulesByIdsInput) SetAsc(v bool) *ListRulesByIdsInput
- func (s *ListRulesByIdsInput) SetIds(v []*string) *ListRulesByIdsInput
- func (s *ListRulesByIdsInput) SetOrderBy(v string) *ListRulesByIdsInput
- func (s *ListRulesByIdsInput) SetPageNumber(v int64) *ListRulesByIdsInput
- func (s *ListRulesByIdsInput) SetPageSize(v int64) *ListRulesByIdsInput
- func (s *ListRulesByIdsInput) SetTotalCount(v int64) *ListRulesByIdsInput
- func (s ListRulesByIdsInput) String() string
- type ListRulesByIdsOutput
- type RuleVOListForListRulesByIdsOutput
- func (s RuleVOListForListRulesByIdsOutput) GoString() string
- func (s *RuleVOListForListRulesByIdsOutput) SetAccountId(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetAlertMethods(v []*string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetAlertState(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetCheckInterval(v int64) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetConditions(v []*ConditionForListRulesByIdsOutput) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetContactGroupsIds(v []*string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetCreatedAt(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetDescription(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetDimension(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetDimensions(v []*string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetEffectEndAt(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetEffectStartAt(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetEnableState(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetEvaluationCount(v int64) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetHandleSuggestion(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetId(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetLevel(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetNamespace(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetOriginalDimensions(v map[string][]*string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetRegions(v []*string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetResourceType(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetResources(v map[string][]*string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetRuleExpr(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetRuleName(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetRuleType(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetSilenceTime(v int64) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetSubNamespace(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetTriggerCondition(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetUpdatedAt(v string) *RuleVOListForListRulesByIdsOutput
- func (s *RuleVOListForListRulesByIdsOutput) SetWebHook(v string) *RuleVOListForListRulesByIdsOutput
- func (s RuleVOListForListRulesByIdsOutput) String() string
- type UpdateRuleInput
- func (s UpdateRuleInput) GoString() string
- func (s *UpdateRuleInput) SetAccountId(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetAlertMethods(v []*string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetAsc(v bool) *UpdateRuleInput
- func (s *UpdateRuleInput) SetCheckInterval(v int64) *UpdateRuleInput
- func (s *UpdateRuleInput) SetConditions(v []*ConditionForUpdateRuleInput) *UpdateRuleInput
- func (s *UpdateRuleInput) SetContactGroupsIds(v []*string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetDescription(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetDimensions(v []*string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetEffectEndAt(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetEffectStartAt(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetEnableState(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetEvaluationCount(v int64) *UpdateRuleInput
- func (s *UpdateRuleInput) SetHandleSuggestion(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetId(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetLevel(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetNamespace(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetOrderBy(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetOriginalDimensions(v map[string][]*string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetPageNumber(v int64) *UpdateRuleInput
- func (s *UpdateRuleInput) SetPageSize(v int64) *UpdateRuleInput
- func (s *UpdateRuleInput) SetRegions(v []*string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetRuleExpr(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetRuleName(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetRuleType(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetSilenceTime(v int64) *UpdateRuleInput
- func (s *UpdateRuleInput) SetSubNamespace(v string) *UpdateRuleInput
- func (s *UpdateRuleInput) SetTotalCount(v int64) *UpdateRuleInput
- func (s *UpdateRuleInput) SetWebHook(v string) *UpdateRuleInput
- func (s UpdateRuleInput) String() string
- type UpdateRuleOutput
- type VOLCOBSERVE
- func (c *VOLCOBSERVE) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error)
- func (c *VOLCOBSERVE) CreateRuleCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *VOLCOBSERVE) CreateRuleCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *VOLCOBSERVE) CreateRuleCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *VOLCOBSERVE) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput)
- func (c *VOLCOBSERVE) CreateRuleWithContext(ctx volcengine.Context, input *CreateRuleInput, opts ...request.Option) (*CreateRuleOutput, error)
- func (c *VOLCOBSERVE) DeleteRulesByIds(input *DeleteRulesByIdsInput) (*DeleteRulesByIdsOutput, error)
- func (c *VOLCOBSERVE) DeleteRulesByIdsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *VOLCOBSERVE) DeleteRulesByIdsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *VOLCOBSERVE) DeleteRulesByIdsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *VOLCOBSERVE) DeleteRulesByIdsRequest(input *DeleteRulesByIdsInput) (req *request.Request, output *DeleteRulesByIdsOutput)
- func (c *VOLCOBSERVE) DeleteRulesByIdsWithContext(ctx volcengine.Context, input *DeleteRulesByIdsInput, opts ...request.Option) (*DeleteRulesByIdsOutput, error)
- func (c *VOLCOBSERVE) ListRulesByIds(input *ListRulesByIdsInput) (*ListRulesByIdsOutput, error)
- func (c *VOLCOBSERVE) ListRulesByIdsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *VOLCOBSERVE) ListRulesByIdsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *VOLCOBSERVE) ListRulesByIdsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *VOLCOBSERVE) ListRulesByIdsRequest(input *ListRulesByIdsInput) (req *request.Request, output *ListRulesByIdsOutput)
- func (c *VOLCOBSERVE) ListRulesByIdsWithContext(ctx volcengine.Context, input *ListRulesByIdsInput, opts ...request.Option) (*ListRulesByIdsOutput, error)
- func (c *VOLCOBSERVE) UpdateRule(input *UpdateRuleInput) (*UpdateRuleOutput, error)
- func (c *VOLCOBSERVE) UpdateRuleCommon(input *map[string]interface{}) (*map[string]interface{}, error)
- func (c *VOLCOBSERVE) UpdateRuleCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
- func (c *VOLCOBSERVE) UpdateRuleCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
- func (c *VOLCOBSERVE) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Request, output *UpdateRuleOutput)
- func (c *VOLCOBSERVE) UpdateRuleWithContext(ctx volcengine.Context, input *UpdateRuleInput, opts ...request.Option) (*UpdateRuleOutput, error)
- type VOLCOBSERVEAPI
Constants ¶
const ( ServiceName = "volc_observe" // Name of service. EndpointsID = ServiceName // ID to lookup a service endpoint with. ServiceID = "volc_observe" // ServiceID is a unique identifer of a specific service. )
Service information constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionForCreateRuleInput ¶
type ConditionForCreateRuleInput struct { ComparisonOperator *string `type:"string"` MetricName *string `type:"string"` MetricUnit *string `type:"string"` Namespace *string `type:"string"` Period *string `type:"string"` Statistics *string `type:"string"` Threshold *string `type:"string"` // contains filtered or unexported fields }
func (ConditionForCreateRuleInput) GoString ¶
func (s ConditionForCreateRuleInput) GoString() string
GoString returns the string representation
func (*ConditionForCreateRuleInput) SetComparisonOperator ¶
func (s *ConditionForCreateRuleInput) SetComparisonOperator(v string) *ConditionForCreateRuleInput
SetComparisonOperator sets the ComparisonOperator field's value.
func (*ConditionForCreateRuleInput) SetMetricName ¶
func (s *ConditionForCreateRuleInput) SetMetricName(v string) *ConditionForCreateRuleInput
SetMetricName sets the MetricName field's value.
func (*ConditionForCreateRuleInput) SetMetricUnit ¶
func (s *ConditionForCreateRuleInput) SetMetricUnit(v string) *ConditionForCreateRuleInput
SetMetricUnit sets the MetricUnit field's value.
func (*ConditionForCreateRuleInput) SetNamespace ¶
func (s *ConditionForCreateRuleInput) SetNamespace(v string) *ConditionForCreateRuleInput
SetNamespace sets the Namespace field's value.
func (*ConditionForCreateRuleInput) SetPeriod ¶
func (s *ConditionForCreateRuleInput) SetPeriod(v string) *ConditionForCreateRuleInput
SetPeriod sets the Period field's value.
func (*ConditionForCreateRuleInput) SetStatistics ¶
func (s *ConditionForCreateRuleInput) SetStatistics(v string) *ConditionForCreateRuleInput
SetStatistics sets the Statistics field's value.
func (*ConditionForCreateRuleInput) SetThreshold ¶
func (s *ConditionForCreateRuleInput) SetThreshold(v string) *ConditionForCreateRuleInput
SetThreshold sets the Threshold field's value.
func (ConditionForCreateRuleInput) String ¶
func (s ConditionForCreateRuleInput) String() string
String returns the string representation
type ConditionForListRulesByIdsOutput ¶
type ConditionForListRulesByIdsOutput struct { ComparisonOperator *string `type:"string"` MetricName *string `type:"string"` MetricUnit *string `type:"string"` Namespace *string `type:"string"` Period *string `type:"string"` Statistics *string `type:"string"` Threshold *string `type:"string"` // contains filtered or unexported fields }
func (ConditionForListRulesByIdsOutput) GoString ¶
func (s ConditionForListRulesByIdsOutput) GoString() string
GoString returns the string representation
func (*ConditionForListRulesByIdsOutput) SetComparisonOperator ¶
func (s *ConditionForListRulesByIdsOutput) SetComparisonOperator(v string) *ConditionForListRulesByIdsOutput
SetComparisonOperator sets the ComparisonOperator field's value.
func (*ConditionForListRulesByIdsOutput) SetMetricName ¶
func (s *ConditionForListRulesByIdsOutput) SetMetricName(v string) *ConditionForListRulesByIdsOutput
SetMetricName sets the MetricName field's value.
func (*ConditionForListRulesByIdsOutput) SetMetricUnit ¶
func (s *ConditionForListRulesByIdsOutput) SetMetricUnit(v string) *ConditionForListRulesByIdsOutput
SetMetricUnit sets the MetricUnit field's value.
func (*ConditionForListRulesByIdsOutput) SetNamespace ¶
func (s *ConditionForListRulesByIdsOutput) SetNamespace(v string) *ConditionForListRulesByIdsOutput
SetNamespace sets the Namespace field's value.
func (*ConditionForListRulesByIdsOutput) SetPeriod ¶
func (s *ConditionForListRulesByIdsOutput) SetPeriod(v string) *ConditionForListRulesByIdsOutput
SetPeriod sets the Period field's value.
func (*ConditionForListRulesByIdsOutput) SetStatistics ¶
func (s *ConditionForListRulesByIdsOutput) SetStatistics(v string) *ConditionForListRulesByIdsOutput
SetStatistics sets the Statistics field's value.
func (*ConditionForListRulesByIdsOutput) SetThreshold ¶
func (s *ConditionForListRulesByIdsOutput) SetThreshold(v string) *ConditionForListRulesByIdsOutput
SetThreshold sets the Threshold field's value.
func (ConditionForListRulesByIdsOutput) String ¶
func (s ConditionForListRulesByIdsOutput) String() string
String returns the string representation
type ConditionForUpdateRuleInput ¶
type ConditionForUpdateRuleInput struct { ComparisonOperator *string `type:"string"` MetricName *string `type:"string"` MetricUnit *string `type:"string"` Namespace *string `type:"string"` Period *string `type:"string"` Statistics *string `type:"string"` Threshold *string `type:"string"` // contains filtered or unexported fields }
func (ConditionForUpdateRuleInput) GoString ¶
func (s ConditionForUpdateRuleInput) GoString() string
GoString returns the string representation
func (*ConditionForUpdateRuleInput) SetComparisonOperator ¶
func (s *ConditionForUpdateRuleInput) SetComparisonOperator(v string) *ConditionForUpdateRuleInput
SetComparisonOperator sets the ComparisonOperator field's value.
func (*ConditionForUpdateRuleInput) SetMetricName ¶
func (s *ConditionForUpdateRuleInput) SetMetricName(v string) *ConditionForUpdateRuleInput
SetMetricName sets the MetricName field's value.
func (*ConditionForUpdateRuleInput) SetMetricUnit ¶
func (s *ConditionForUpdateRuleInput) SetMetricUnit(v string) *ConditionForUpdateRuleInput
SetMetricUnit sets the MetricUnit field's value.
func (*ConditionForUpdateRuleInput) SetNamespace ¶
func (s *ConditionForUpdateRuleInput) SetNamespace(v string) *ConditionForUpdateRuleInput
SetNamespace sets the Namespace field's value.
func (*ConditionForUpdateRuleInput) SetPeriod ¶
func (s *ConditionForUpdateRuleInput) SetPeriod(v string) *ConditionForUpdateRuleInput
SetPeriod sets the Period field's value.
func (*ConditionForUpdateRuleInput) SetStatistics ¶
func (s *ConditionForUpdateRuleInput) SetStatistics(v string) *ConditionForUpdateRuleInput
SetStatistics sets the Statistics field's value.
func (*ConditionForUpdateRuleInput) SetThreshold ¶
func (s *ConditionForUpdateRuleInput) SetThreshold(v string) *ConditionForUpdateRuleInput
SetThreshold sets the Threshold field's value.
func (ConditionForUpdateRuleInput) String ¶
func (s ConditionForUpdateRuleInput) String() string
String returns the string representation
type CreateRuleInput ¶
type CreateRuleInput struct { AccountId *string `type:"string"` AlertMethods []*string `type:"list"` Asc *bool `type:"boolean"` CheckInterval *int64 `type:"integer"` Conditions []*ConditionForCreateRuleInput `type:"list"` ContactGroupsIds []*string `type:"list"` Description *string `type:"string"` Dimensions []*string `type:"list"` EffectEndAt *string `type:"string"` EffectStartAt *string `type:"string"` EnableState *string `type:"string"` EvaluationCount *int64 `type:"integer"` HandleSuggestion *string `type:"string"` Id *string `type:"string"` Level *string `type:"string"` Namespace *string `type:"string"` OrderBy *string `type:"string"` OriginalDimensions map[string][]*string `type:"map"` PageNumber *int64 `type:"integer"` PageSize *int64 `type:"integer"` Regions []*string `type:"list"` RuleExpr *string `type:"string"` RuleName *string `type:"string"` RuleType *string `type:"string"` SilenceTime *int64 `type:"integer"` SubNamespace *string `type:"string"` TotalCount *int64 `type:"integer"` WebHook *string `type:"string"` // contains filtered or unexported fields }
func (CreateRuleInput) GoString ¶
func (s CreateRuleInput) GoString() string
GoString returns the string representation
func (*CreateRuleInput) SetAccountId ¶
func (s *CreateRuleInput) SetAccountId(v string) *CreateRuleInput
SetAccountId sets the AccountId field's value.
func (*CreateRuleInput) SetAlertMethods ¶
func (s *CreateRuleInput) SetAlertMethods(v []*string) *CreateRuleInput
SetAlertMethods sets the AlertMethods field's value.
func (*CreateRuleInput) SetAsc ¶
func (s *CreateRuleInput) SetAsc(v bool) *CreateRuleInput
SetAsc sets the Asc field's value.
func (*CreateRuleInput) SetCheckInterval ¶
func (s *CreateRuleInput) SetCheckInterval(v int64) *CreateRuleInput
SetCheckInterval sets the CheckInterval field's value.
func (*CreateRuleInput) SetConditions ¶
func (s *CreateRuleInput) SetConditions(v []*ConditionForCreateRuleInput) *CreateRuleInput
SetConditions sets the Conditions field's value.
func (*CreateRuleInput) SetContactGroupsIds ¶
func (s *CreateRuleInput) SetContactGroupsIds(v []*string) *CreateRuleInput
SetContactGroupsIds sets the ContactGroupsIds field's value.
func (*CreateRuleInput) SetDescription ¶
func (s *CreateRuleInput) SetDescription(v string) *CreateRuleInput
SetDescription sets the Description field's value.
func (*CreateRuleInput) SetDimensions ¶
func (s *CreateRuleInput) SetDimensions(v []*string) *CreateRuleInput
SetDimensions sets the Dimensions field's value.
func (*CreateRuleInput) SetEffectEndAt ¶
func (s *CreateRuleInput) SetEffectEndAt(v string) *CreateRuleInput
SetEffectEndAt sets the EffectEndAt field's value.
func (*CreateRuleInput) SetEffectStartAt ¶
func (s *CreateRuleInput) SetEffectStartAt(v string) *CreateRuleInput
SetEffectStartAt sets the EffectStartAt field's value.
func (*CreateRuleInput) SetEnableState ¶
func (s *CreateRuleInput) SetEnableState(v string) *CreateRuleInput
SetEnableState sets the EnableState field's value.
func (*CreateRuleInput) SetEvaluationCount ¶
func (s *CreateRuleInput) SetEvaluationCount(v int64) *CreateRuleInput
SetEvaluationCount sets the EvaluationCount field's value.
func (*CreateRuleInput) SetHandleSuggestion ¶
func (s *CreateRuleInput) SetHandleSuggestion(v string) *CreateRuleInput
SetHandleSuggestion sets the HandleSuggestion field's value.
func (*CreateRuleInput) SetId ¶
func (s *CreateRuleInput) SetId(v string) *CreateRuleInput
SetId sets the Id field's value.
func (*CreateRuleInput) SetLevel ¶
func (s *CreateRuleInput) SetLevel(v string) *CreateRuleInput
SetLevel sets the Level field's value.
func (*CreateRuleInput) SetNamespace ¶
func (s *CreateRuleInput) SetNamespace(v string) *CreateRuleInput
SetNamespace sets the Namespace field's value.
func (*CreateRuleInput) SetOrderBy ¶
func (s *CreateRuleInput) SetOrderBy(v string) *CreateRuleInput
SetOrderBy sets the OrderBy field's value.
func (*CreateRuleInput) SetOriginalDimensions ¶
func (s *CreateRuleInput) SetOriginalDimensions(v map[string][]*string) *CreateRuleInput
SetOriginalDimensions sets the OriginalDimensions field's value.
func (*CreateRuleInput) SetPageNumber ¶
func (s *CreateRuleInput) SetPageNumber(v int64) *CreateRuleInput
SetPageNumber sets the PageNumber field's value.
func (*CreateRuleInput) SetPageSize ¶
func (s *CreateRuleInput) SetPageSize(v int64) *CreateRuleInput
SetPageSize sets the PageSize field's value.
func (*CreateRuleInput) SetRegions ¶
func (s *CreateRuleInput) SetRegions(v []*string) *CreateRuleInput
SetRegions sets the Regions field's value.
func (*CreateRuleInput) SetRuleExpr ¶
func (s *CreateRuleInput) SetRuleExpr(v string) *CreateRuleInput
SetRuleExpr sets the RuleExpr field's value.
func (*CreateRuleInput) SetRuleName ¶
func (s *CreateRuleInput) SetRuleName(v string) *CreateRuleInput
SetRuleName sets the RuleName field's value.
func (*CreateRuleInput) SetRuleType ¶
func (s *CreateRuleInput) SetRuleType(v string) *CreateRuleInput
SetRuleType sets the RuleType field's value.
func (*CreateRuleInput) SetSilenceTime ¶
func (s *CreateRuleInput) SetSilenceTime(v int64) *CreateRuleInput
SetSilenceTime sets the SilenceTime field's value.
func (*CreateRuleInput) SetSubNamespace ¶
func (s *CreateRuleInput) SetSubNamespace(v string) *CreateRuleInput
SetSubNamespace sets the SubNamespace field's value.
func (*CreateRuleInput) SetTotalCount ¶
func (s *CreateRuleInput) SetTotalCount(v int64) *CreateRuleInput
SetTotalCount sets the TotalCount field's value.
func (*CreateRuleInput) SetWebHook ¶
func (s *CreateRuleInput) SetWebHook(v string) *CreateRuleInput
SetWebHook sets the WebHook field's value.
func (CreateRuleInput) String ¶
func (s CreateRuleInput) String() string
String returns the string representation
type CreateRuleOutput ¶
type CreateRuleOutput struct { Data []*string `type:"list"` // contains filtered or unexported fields }
func (CreateRuleOutput) GoString ¶
func (s CreateRuleOutput) GoString() string
GoString returns the string representation
func (*CreateRuleOutput) SetData ¶
func (s *CreateRuleOutput) SetData(v []*string) *CreateRuleOutput
SetData sets the Data field's value.
func (CreateRuleOutput) String ¶
func (s CreateRuleOutput) String() string
String returns the string representation
type DeleteRulesByIdsInput ¶
type DeleteRulesByIdsInput struct {
// contains filtered or unexported fields
}
func (DeleteRulesByIdsInput) GoString ¶
func (s DeleteRulesByIdsInput) GoString() string
GoString returns the string representation
func (DeleteRulesByIdsInput) String ¶
func (s DeleteRulesByIdsInput) String() string
String returns the string representation
type DeleteRulesByIdsOutput ¶
type DeleteRulesByIdsOutput struct { Data []*string `type:"list"` // contains filtered or unexported fields }
func (DeleteRulesByIdsOutput) GoString ¶
func (s DeleteRulesByIdsOutput) GoString() string
GoString returns the string representation
func (*DeleteRulesByIdsOutput) SetData ¶
func (s *DeleteRulesByIdsOutput) SetData(v []*string) *DeleteRulesByIdsOutput
SetData sets the Data field's value.
func (DeleteRulesByIdsOutput) String ¶
func (s DeleteRulesByIdsOutput) String() string
String returns the string representation
type ListRulesByIdsInput ¶
type ListRulesByIdsInput struct { Asc *bool `type:"boolean"` Ids []*string `type:"list"` OrderBy *string `type:"string"` PageNumber *int64 `type:"integer"` PageSize *int64 `type:"integer"` TotalCount *int64 `type:"integer"` // contains filtered or unexported fields }
func (ListRulesByIdsInput) GoString ¶
func (s ListRulesByIdsInput) GoString() string
GoString returns the string representation
func (*ListRulesByIdsInput) SetAsc ¶
func (s *ListRulesByIdsInput) SetAsc(v bool) *ListRulesByIdsInput
SetAsc sets the Asc field's value.
func (*ListRulesByIdsInput) SetIds ¶
func (s *ListRulesByIdsInput) SetIds(v []*string) *ListRulesByIdsInput
SetIds sets the Ids field's value.
func (*ListRulesByIdsInput) SetOrderBy ¶
func (s *ListRulesByIdsInput) SetOrderBy(v string) *ListRulesByIdsInput
SetOrderBy sets the OrderBy field's value.
func (*ListRulesByIdsInput) SetPageNumber ¶
func (s *ListRulesByIdsInput) SetPageNumber(v int64) *ListRulesByIdsInput
SetPageNumber sets the PageNumber field's value.
func (*ListRulesByIdsInput) SetPageSize ¶
func (s *ListRulesByIdsInput) SetPageSize(v int64) *ListRulesByIdsInput
SetPageSize sets the PageSize field's value.
func (*ListRulesByIdsInput) SetTotalCount ¶
func (s *ListRulesByIdsInput) SetTotalCount(v int64) *ListRulesByIdsInput
SetTotalCount sets the TotalCount field's value.
func (ListRulesByIdsInput) String ¶
func (s ListRulesByIdsInput) String() string
String returns the string representation
type ListRulesByIdsOutput ¶
type ListRulesByIdsOutput struct { Data []*RuleVOListForListRulesByIdsOutput `type:"list"` // contains filtered or unexported fields }
func (ListRulesByIdsOutput) GoString ¶
func (s ListRulesByIdsOutput) GoString() string
GoString returns the string representation
func (*ListRulesByIdsOutput) SetData ¶
func (s *ListRulesByIdsOutput) SetData(v []*RuleVOListForListRulesByIdsOutput) *ListRulesByIdsOutput
SetData sets the Data field's value.
func (ListRulesByIdsOutput) String ¶
func (s ListRulesByIdsOutput) String() string
String returns the string representation
type RuleVOListForListRulesByIdsOutput ¶
type RuleVOListForListRulesByIdsOutput struct { AccountId *string `type:"string"` AlertMethods []*string `type:"list"` AlertState *string `type:"string"` CheckInterval *int64 `type:"integer"` Conditions []*ConditionForListRulesByIdsOutput `type:"list"` ContactGroupsIds []*string `type:"list"` CreatedAt *string `type:"string"` Description *string `type:"string"` Dimension *string `type:"string"` Dimensions []*string `type:"list"` EffectEndAt *string `type:"string"` EffectStartAt *string `type:"string"` EnableState *string `type:"string"` EvaluationCount *int64 `type:"integer"` HandleSuggestion *string `type:"string"` Id *string `type:"string"` Level *string `type:"string"` Namespace *string `type:"string"` OriginalDimensions map[string][]*string `type:"map"` Regions []*string `type:"list"` ResourceType *string `type:"string"` Resources map[string][]*string `type:"map"` RuleExpr *string `type:"string"` RuleName *string `type:"string"` RuleType *string `type:"string"` SilenceTime *int64 `type:"integer"` SubNamespace *string `type:"string"` TriggerCondition *string `type:"string"` UpdatedAt *string `type:"string"` WebHook *string `type:"string"` // contains filtered or unexported fields }
func (RuleVOListForListRulesByIdsOutput) GoString ¶
func (s RuleVOListForListRulesByIdsOutput) GoString() string
GoString returns the string representation
func (*RuleVOListForListRulesByIdsOutput) SetAccountId ¶
func (s *RuleVOListForListRulesByIdsOutput) SetAccountId(v string) *RuleVOListForListRulesByIdsOutput
SetAccountId sets the AccountId field's value.
func (*RuleVOListForListRulesByIdsOutput) SetAlertMethods ¶
func (s *RuleVOListForListRulesByIdsOutput) SetAlertMethods(v []*string) *RuleVOListForListRulesByIdsOutput
SetAlertMethods sets the AlertMethods field's value.
func (*RuleVOListForListRulesByIdsOutput) SetAlertState ¶
func (s *RuleVOListForListRulesByIdsOutput) SetAlertState(v string) *RuleVOListForListRulesByIdsOutput
SetAlertState sets the AlertState field's value.
func (*RuleVOListForListRulesByIdsOutput) SetCheckInterval ¶
func (s *RuleVOListForListRulesByIdsOutput) SetCheckInterval(v int64) *RuleVOListForListRulesByIdsOutput
SetCheckInterval sets the CheckInterval field's value.
func (*RuleVOListForListRulesByIdsOutput) SetConditions ¶
func (s *RuleVOListForListRulesByIdsOutput) SetConditions(v []*ConditionForListRulesByIdsOutput) *RuleVOListForListRulesByIdsOutput
SetConditions sets the Conditions field's value.
func (*RuleVOListForListRulesByIdsOutput) SetContactGroupsIds ¶
func (s *RuleVOListForListRulesByIdsOutput) SetContactGroupsIds(v []*string) *RuleVOListForListRulesByIdsOutput
SetContactGroupsIds sets the ContactGroupsIds field's value.
func (*RuleVOListForListRulesByIdsOutput) SetCreatedAt ¶
func (s *RuleVOListForListRulesByIdsOutput) SetCreatedAt(v string) *RuleVOListForListRulesByIdsOutput
SetCreatedAt sets the CreatedAt field's value.
func (*RuleVOListForListRulesByIdsOutput) SetDescription ¶
func (s *RuleVOListForListRulesByIdsOutput) SetDescription(v string) *RuleVOListForListRulesByIdsOutput
SetDescription sets the Description field's value.
func (*RuleVOListForListRulesByIdsOutput) SetDimension ¶
func (s *RuleVOListForListRulesByIdsOutput) SetDimension(v string) *RuleVOListForListRulesByIdsOutput
SetDimension sets the Dimension field's value.
func (*RuleVOListForListRulesByIdsOutput) SetDimensions ¶
func (s *RuleVOListForListRulesByIdsOutput) SetDimensions(v []*string) *RuleVOListForListRulesByIdsOutput
SetDimensions sets the Dimensions field's value.
func (*RuleVOListForListRulesByIdsOutput) SetEffectEndAt ¶
func (s *RuleVOListForListRulesByIdsOutput) SetEffectEndAt(v string) *RuleVOListForListRulesByIdsOutput
SetEffectEndAt sets the EffectEndAt field's value.
func (*RuleVOListForListRulesByIdsOutput) SetEffectStartAt ¶
func (s *RuleVOListForListRulesByIdsOutput) SetEffectStartAt(v string) *RuleVOListForListRulesByIdsOutput
SetEffectStartAt sets the EffectStartAt field's value.
func (*RuleVOListForListRulesByIdsOutput) SetEnableState ¶
func (s *RuleVOListForListRulesByIdsOutput) SetEnableState(v string) *RuleVOListForListRulesByIdsOutput
SetEnableState sets the EnableState field's value.
func (*RuleVOListForListRulesByIdsOutput) SetEvaluationCount ¶
func (s *RuleVOListForListRulesByIdsOutput) SetEvaluationCount(v int64) *RuleVOListForListRulesByIdsOutput
SetEvaluationCount sets the EvaluationCount field's value.
func (*RuleVOListForListRulesByIdsOutput) SetHandleSuggestion ¶
func (s *RuleVOListForListRulesByIdsOutput) SetHandleSuggestion(v string) *RuleVOListForListRulesByIdsOutput
SetHandleSuggestion sets the HandleSuggestion field's value.
func (*RuleVOListForListRulesByIdsOutput) SetId ¶
func (s *RuleVOListForListRulesByIdsOutput) SetId(v string) *RuleVOListForListRulesByIdsOutput
SetId sets the Id field's value.
func (*RuleVOListForListRulesByIdsOutput) SetLevel ¶
func (s *RuleVOListForListRulesByIdsOutput) SetLevel(v string) *RuleVOListForListRulesByIdsOutput
SetLevel sets the Level field's value.
func (*RuleVOListForListRulesByIdsOutput) SetNamespace ¶
func (s *RuleVOListForListRulesByIdsOutput) SetNamespace(v string) *RuleVOListForListRulesByIdsOutput
SetNamespace sets the Namespace field's value.
func (*RuleVOListForListRulesByIdsOutput) SetOriginalDimensions ¶
func (s *RuleVOListForListRulesByIdsOutput) SetOriginalDimensions(v map[string][]*string) *RuleVOListForListRulesByIdsOutput
SetOriginalDimensions sets the OriginalDimensions field's value.
func (*RuleVOListForListRulesByIdsOutput) SetRegions ¶
func (s *RuleVOListForListRulesByIdsOutput) SetRegions(v []*string) *RuleVOListForListRulesByIdsOutput
SetRegions sets the Regions field's value.
func (*RuleVOListForListRulesByIdsOutput) SetResourceType ¶
func (s *RuleVOListForListRulesByIdsOutput) SetResourceType(v string) *RuleVOListForListRulesByIdsOutput
SetResourceType sets the ResourceType field's value.
func (*RuleVOListForListRulesByIdsOutput) SetResources ¶
func (s *RuleVOListForListRulesByIdsOutput) SetResources(v map[string][]*string) *RuleVOListForListRulesByIdsOutput
SetResources sets the Resources field's value.
func (*RuleVOListForListRulesByIdsOutput) SetRuleExpr ¶
func (s *RuleVOListForListRulesByIdsOutput) SetRuleExpr(v string) *RuleVOListForListRulesByIdsOutput
SetRuleExpr sets the RuleExpr field's value.
func (*RuleVOListForListRulesByIdsOutput) SetRuleName ¶
func (s *RuleVOListForListRulesByIdsOutput) SetRuleName(v string) *RuleVOListForListRulesByIdsOutput
SetRuleName sets the RuleName field's value.
func (*RuleVOListForListRulesByIdsOutput) SetRuleType ¶
func (s *RuleVOListForListRulesByIdsOutput) SetRuleType(v string) *RuleVOListForListRulesByIdsOutput
SetRuleType sets the RuleType field's value.
func (*RuleVOListForListRulesByIdsOutput) SetSilenceTime ¶
func (s *RuleVOListForListRulesByIdsOutput) SetSilenceTime(v int64) *RuleVOListForListRulesByIdsOutput
SetSilenceTime sets the SilenceTime field's value.
func (*RuleVOListForListRulesByIdsOutput) SetSubNamespace ¶
func (s *RuleVOListForListRulesByIdsOutput) SetSubNamespace(v string) *RuleVOListForListRulesByIdsOutput
SetSubNamespace sets the SubNamespace field's value.
func (*RuleVOListForListRulesByIdsOutput) SetTriggerCondition ¶
func (s *RuleVOListForListRulesByIdsOutput) SetTriggerCondition(v string) *RuleVOListForListRulesByIdsOutput
SetTriggerCondition sets the TriggerCondition field's value.
func (*RuleVOListForListRulesByIdsOutput) SetUpdatedAt ¶
func (s *RuleVOListForListRulesByIdsOutput) SetUpdatedAt(v string) *RuleVOListForListRulesByIdsOutput
SetUpdatedAt sets the UpdatedAt field's value.
func (*RuleVOListForListRulesByIdsOutput) SetWebHook ¶
func (s *RuleVOListForListRulesByIdsOutput) SetWebHook(v string) *RuleVOListForListRulesByIdsOutput
SetWebHook sets the WebHook field's value.
func (RuleVOListForListRulesByIdsOutput) String ¶
func (s RuleVOListForListRulesByIdsOutput) String() string
String returns the string representation
type UpdateRuleInput ¶
type UpdateRuleInput struct { AccountId *string `type:"string"` AlertMethods []*string `type:"list"` Asc *bool `type:"boolean"` CheckInterval *int64 `type:"integer"` Conditions []*ConditionForUpdateRuleInput `type:"list"` ContactGroupsIds []*string `type:"list"` Description *string `type:"string"` Dimensions []*string `type:"list"` EffectEndAt *string `type:"string"` EffectStartAt *string `type:"string"` EnableState *string `type:"string"` EvaluationCount *int64 `type:"integer"` HandleSuggestion *string `type:"string"` Id *string `type:"string"` Level *string `type:"string"` Namespace *string `type:"string"` OrderBy *string `type:"string"` OriginalDimensions map[string][]*string `type:"map"` PageNumber *int64 `type:"integer"` PageSize *int64 `type:"integer"` Regions []*string `type:"list"` RuleExpr *string `type:"string"` RuleName *string `type:"string"` RuleType *string `type:"string"` SilenceTime *int64 `type:"integer"` SubNamespace *string `type:"string"` TotalCount *int64 `type:"integer"` WebHook *string `type:"string"` // contains filtered or unexported fields }
func (UpdateRuleInput) GoString ¶
func (s UpdateRuleInput) GoString() string
GoString returns the string representation
func (*UpdateRuleInput) SetAccountId ¶
func (s *UpdateRuleInput) SetAccountId(v string) *UpdateRuleInput
SetAccountId sets the AccountId field's value.
func (*UpdateRuleInput) SetAlertMethods ¶
func (s *UpdateRuleInput) SetAlertMethods(v []*string) *UpdateRuleInput
SetAlertMethods sets the AlertMethods field's value.
func (*UpdateRuleInput) SetAsc ¶
func (s *UpdateRuleInput) SetAsc(v bool) *UpdateRuleInput
SetAsc sets the Asc field's value.
func (*UpdateRuleInput) SetCheckInterval ¶
func (s *UpdateRuleInput) SetCheckInterval(v int64) *UpdateRuleInput
SetCheckInterval sets the CheckInterval field's value.
func (*UpdateRuleInput) SetConditions ¶
func (s *UpdateRuleInput) SetConditions(v []*ConditionForUpdateRuleInput) *UpdateRuleInput
SetConditions sets the Conditions field's value.
func (*UpdateRuleInput) SetContactGroupsIds ¶
func (s *UpdateRuleInput) SetContactGroupsIds(v []*string) *UpdateRuleInput
SetContactGroupsIds sets the ContactGroupsIds field's value.
func (*UpdateRuleInput) SetDescription ¶
func (s *UpdateRuleInput) SetDescription(v string) *UpdateRuleInput
SetDescription sets the Description field's value.
func (*UpdateRuleInput) SetDimensions ¶
func (s *UpdateRuleInput) SetDimensions(v []*string) *UpdateRuleInput
SetDimensions sets the Dimensions field's value.
func (*UpdateRuleInput) SetEffectEndAt ¶
func (s *UpdateRuleInput) SetEffectEndAt(v string) *UpdateRuleInput
SetEffectEndAt sets the EffectEndAt field's value.
func (*UpdateRuleInput) SetEffectStartAt ¶
func (s *UpdateRuleInput) SetEffectStartAt(v string) *UpdateRuleInput
SetEffectStartAt sets the EffectStartAt field's value.
func (*UpdateRuleInput) SetEnableState ¶
func (s *UpdateRuleInput) SetEnableState(v string) *UpdateRuleInput
SetEnableState sets the EnableState field's value.
func (*UpdateRuleInput) SetEvaluationCount ¶
func (s *UpdateRuleInput) SetEvaluationCount(v int64) *UpdateRuleInput
SetEvaluationCount sets the EvaluationCount field's value.
func (*UpdateRuleInput) SetHandleSuggestion ¶
func (s *UpdateRuleInput) SetHandleSuggestion(v string) *UpdateRuleInput
SetHandleSuggestion sets the HandleSuggestion field's value.
func (*UpdateRuleInput) SetId ¶
func (s *UpdateRuleInput) SetId(v string) *UpdateRuleInput
SetId sets the Id field's value.
func (*UpdateRuleInput) SetLevel ¶
func (s *UpdateRuleInput) SetLevel(v string) *UpdateRuleInput
SetLevel sets the Level field's value.
func (*UpdateRuleInput) SetNamespace ¶
func (s *UpdateRuleInput) SetNamespace(v string) *UpdateRuleInput
SetNamespace sets the Namespace field's value.
func (*UpdateRuleInput) SetOrderBy ¶
func (s *UpdateRuleInput) SetOrderBy(v string) *UpdateRuleInput
SetOrderBy sets the OrderBy field's value.
func (*UpdateRuleInput) SetOriginalDimensions ¶
func (s *UpdateRuleInput) SetOriginalDimensions(v map[string][]*string) *UpdateRuleInput
SetOriginalDimensions sets the OriginalDimensions field's value.
func (*UpdateRuleInput) SetPageNumber ¶
func (s *UpdateRuleInput) SetPageNumber(v int64) *UpdateRuleInput
SetPageNumber sets the PageNumber field's value.
func (*UpdateRuleInput) SetPageSize ¶
func (s *UpdateRuleInput) SetPageSize(v int64) *UpdateRuleInput
SetPageSize sets the PageSize field's value.
func (*UpdateRuleInput) SetRegions ¶
func (s *UpdateRuleInput) SetRegions(v []*string) *UpdateRuleInput
SetRegions sets the Regions field's value.
func (*UpdateRuleInput) SetRuleExpr ¶
func (s *UpdateRuleInput) SetRuleExpr(v string) *UpdateRuleInput
SetRuleExpr sets the RuleExpr field's value.
func (*UpdateRuleInput) SetRuleName ¶
func (s *UpdateRuleInput) SetRuleName(v string) *UpdateRuleInput
SetRuleName sets the RuleName field's value.
func (*UpdateRuleInput) SetRuleType ¶
func (s *UpdateRuleInput) SetRuleType(v string) *UpdateRuleInput
SetRuleType sets the RuleType field's value.
func (*UpdateRuleInput) SetSilenceTime ¶
func (s *UpdateRuleInput) SetSilenceTime(v int64) *UpdateRuleInput
SetSilenceTime sets the SilenceTime field's value.
func (*UpdateRuleInput) SetSubNamespace ¶
func (s *UpdateRuleInput) SetSubNamespace(v string) *UpdateRuleInput
SetSubNamespace sets the SubNamespace field's value.
func (*UpdateRuleInput) SetTotalCount ¶
func (s *UpdateRuleInput) SetTotalCount(v int64) *UpdateRuleInput
SetTotalCount sets the TotalCount field's value.
func (*UpdateRuleInput) SetWebHook ¶
func (s *UpdateRuleInput) SetWebHook(v string) *UpdateRuleInput
SetWebHook sets the WebHook field's value.
func (UpdateRuleInput) String ¶
func (s UpdateRuleInput) String() string
String returns the string representation
type UpdateRuleOutput ¶
type UpdateRuleOutput struct { Data []*string `type:"list"` // contains filtered or unexported fields }
func (UpdateRuleOutput) GoString ¶
func (s UpdateRuleOutput) GoString() string
GoString returns the string representation
func (*UpdateRuleOutput) SetData ¶
func (s *UpdateRuleOutput) SetData(v []*string) *UpdateRuleOutput
SetData sets the Data field's value.
func (UpdateRuleOutput) String ¶
func (s UpdateRuleOutput) String() string
String returns the string representation
type VOLCOBSERVE ¶
VOLCOBSERVE provides the API operation methods for making requests to VOLC_OBSERVE. See this package's package overview docs for details on the service.
VOLCOBSERVE 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) *VOLCOBSERVE
New create int can support ssl or region locate set
func (*VOLCOBSERVE) CreateRule ¶
func (c *VOLCOBSERVE) CreateRule(input *CreateRuleInput) (*CreateRuleOutput, error)
CreateRule API operation for VOLC_OBSERVE.
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 VOLCSTACK API reference guide for VOLC_OBSERVE's API operation CreateRule for usage and error information.
func (*VOLCOBSERVE) CreateRuleCommon ¶
func (c *VOLCOBSERVE) CreateRuleCommon(input *map[string]interface{}) (*map[string]interface{}, error)
CreateRuleCommon API operation for VOLC_OBSERVE.
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 VOLCSTACK API reference guide for VOLC_OBSERVE's API operation CreateRuleCommon for usage and error information.
func (*VOLCOBSERVE) CreateRuleCommonRequest ¶
func (c *VOLCOBSERVE) CreateRuleCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
CreateRuleCommonRequest generates a "volcengine/request.Request" representing the client's request for the CreateRuleCommon operation. The "output" return value will be populated with the CreateRuleCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateRuleCommon Request to send the API call to the service. the "output" return value is not valid until after CreateRuleCommon Send returns without error.
See CreateRuleCommon for more information on using the CreateRuleCommon API call, and error handling.
// Example sending a request using the CreateRuleCommonRequest method. req, resp := client.CreateRuleCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VOLCOBSERVE) CreateRuleCommonWithContext ¶
func (c *VOLCOBSERVE) CreateRuleCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
CreateRuleCommonWithContext is the same as CreateRuleCommon with the addition of the ability to pass a context and additional request options.
See CreateRuleCommon 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 (*VOLCOBSERVE) CreateRuleRequest ¶
func (c *VOLCOBSERVE) CreateRuleRequest(input *CreateRuleInput) (req *request.Request, output *CreateRuleOutput)
CreateRuleRequest generates a "volcengine/request.Request" representing the client's request for the CreateRule operation. The "output" return value will be populated with the CreateRuleCommon request's response once the request completes successfully.
Use "Send" method on the returned CreateRuleCommon Request to send the API call to the service. the "output" return value is not valid until after CreateRuleCommon Send returns without error.
See CreateRule for more information on using the CreateRule API call, and error handling.
// Example sending a request using the CreateRuleRequest method. req, resp := client.CreateRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VOLCOBSERVE) CreateRuleWithContext ¶
func (c *VOLCOBSERVE) CreateRuleWithContext(ctx volcengine.Context, input *CreateRuleInput, opts ...request.Option) (*CreateRuleOutput, error)
CreateRuleWithContext is the same as CreateRule with the addition of the ability to pass a context and additional request options.
See CreateRule 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 (*VOLCOBSERVE) DeleteRulesByIds ¶
func (c *VOLCOBSERVE) DeleteRulesByIds(input *DeleteRulesByIdsInput) (*DeleteRulesByIdsOutput, error)
DeleteRulesByIds API operation for VOLC_OBSERVE.
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 VOLCSTACK API reference guide for VOLC_OBSERVE's API operation DeleteRulesByIds for usage and error information.
func (*VOLCOBSERVE) DeleteRulesByIdsCommon ¶
func (c *VOLCOBSERVE) DeleteRulesByIdsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
DeleteRulesByIdsCommon API operation for VOLC_OBSERVE.
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 VOLCSTACK API reference guide for VOLC_OBSERVE's API operation DeleteRulesByIdsCommon for usage and error information.
func (*VOLCOBSERVE) DeleteRulesByIdsCommonRequest ¶
func (c *VOLCOBSERVE) DeleteRulesByIdsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
DeleteRulesByIdsCommonRequest generates a "volcengine/request.Request" representing the client's request for the DeleteRulesByIdsCommon operation. The "output" return value will be populated with the DeleteRulesByIdsCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteRulesByIdsCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteRulesByIdsCommon Send returns without error.
See DeleteRulesByIdsCommon for more information on using the DeleteRulesByIdsCommon API call, and error handling.
// Example sending a request using the DeleteRulesByIdsCommonRequest method. req, resp := client.DeleteRulesByIdsCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VOLCOBSERVE) DeleteRulesByIdsCommonWithContext ¶
func (c *VOLCOBSERVE) DeleteRulesByIdsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
DeleteRulesByIdsCommonWithContext is the same as DeleteRulesByIdsCommon with the addition of the ability to pass a context and additional request options.
See DeleteRulesByIdsCommon 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 (*VOLCOBSERVE) DeleteRulesByIdsRequest ¶
func (c *VOLCOBSERVE) DeleteRulesByIdsRequest(input *DeleteRulesByIdsInput) (req *request.Request, output *DeleteRulesByIdsOutput)
DeleteRulesByIdsRequest generates a "volcengine/request.Request" representing the client's request for the DeleteRulesByIds operation. The "output" return value will be populated with the DeleteRulesByIdsCommon request's response once the request completes successfully.
Use "Send" method on the returned DeleteRulesByIdsCommon Request to send the API call to the service. the "output" return value is not valid until after DeleteRulesByIdsCommon Send returns without error.
See DeleteRulesByIds for more information on using the DeleteRulesByIds API call, and error handling.
// Example sending a request using the DeleteRulesByIdsRequest method. req, resp := client.DeleteRulesByIdsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VOLCOBSERVE) DeleteRulesByIdsWithContext ¶
func (c *VOLCOBSERVE) DeleteRulesByIdsWithContext(ctx volcengine.Context, input *DeleteRulesByIdsInput, opts ...request.Option) (*DeleteRulesByIdsOutput, error)
DeleteRulesByIdsWithContext is the same as DeleteRulesByIds with the addition of the ability to pass a context and additional request options.
See DeleteRulesByIds 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 (*VOLCOBSERVE) ListRulesByIds ¶
func (c *VOLCOBSERVE) ListRulesByIds(input *ListRulesByIdsInput) (*ListRulesByIdsOutput, error)
ListRulesByIds API operation for VOLC_OBSERVE.
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 VOLCSTACK API reference guide for VOLC_OBSERVE's API operation ListRulesByIds for usage and error information.
func (*VOLCOBSERVE) ListRulesByIdsCommon ¶
func (c *VOLCOBSERVE) ListRulesByIdsCommon(input *map[string]interface{}) (*map[string]interface{}, error)
ListRulesByIdsCommon API operation for VOLC_OBSERVE.
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 VOLCSTACK API reference guide for VOLC_OBSERVE's API operation ListRulesByIdsCommon for usage and error information.
func (*VOLCOBSERVE) ListRulesByIdsCommonRequest ¶
func (c *VOLCOBSERVE) ListRulesByIdsCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
ListRulesByIdsCommonRequest generates a "volcengine/request.Request" representing the client's request for the ListRulesByIdsCommon operation. The "output" return value will be populated with the ListRulesByIdsCommon request's response once the request completes successfully.
Use "Send" method on the returned ListRulesByIdsCommon Request to send the API call to the service. the "output" return value is not valid until after ListRulesByIdsCommon Send returns without error.
See ListRulesByIdsCommon for more information on using the ListRulesByIdsCommon API call, and error handling.
// Example sending a request using the ListRulesByIdsCommonRequest method. req, resp := client.ListRulesByIdsCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VOLCOBSERVE) ListRulesByIdsCommonWithContext ¶
func (c *VOLCOBSERVE) ListRulesByIdsCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
ListRulesByIdsCommonWithContext is the same as ListRulesByIdsCommon with the addition of the ability to pass a context and additional request options.
See ListRulesByIdsCommon 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 (*VOLCOBSERVE) ListRulesByIdsRequest ¶
func (c *VOLCOBSERVE) ListRulesByIdsRequest(input *ListRulesByIdsInput) (req *request.Request, output *ListRulesByIdsOutput)
ListRulesByIdsRequest generates a "volcengine/request.Request" representing the client's request for the ListRulesByIds operation. The "output" return value will be populated with the ListRulesByIdsCommon request's response once the request completes successfully.
Use "Send" method on the returned ListRulesByIdsCommon Request to send the API call to the service. the "output" return value is not valid until after ListRulesByIdsCommon Send returns without error.
See ListRulesByIds for more information on using the ListRulesByIds API call, and error handling.
// Example sending a request using the ListRulesByIdsRequest method. req, resp := client.ListRulesByIdsRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VOLCOBSERVE) ListRulesByIdsWithContext ¶
func (c *VOLCOBSERVE) ListRulesByIdsWithContext(ctx volcengine.Context, input *ListRulesByIdsInput, opts ...request.Option) (*ListRulesByIdsOutput, error)
ListRulesByIdsWithContext is the same as ListRulesByIds with the addition of the ability to pass a context and additional request options.
See ListRulesByIds 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 (*VOLCOBSERVE) UpdateRule ¶
func (c *VOLCOBSERVE) UpdateRule(input *UpdateRuleInput) (*UpdateRuleOutput, error)
UpdateRule API operation for VOLC_OBSERVE.
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 VOLCSTACK API reference guide for VOLC_OBSERVE's API operation UpdateRule for usage and error information.
func (*VOLCOBSERVE) UpdateRuleCommon ¶
func (c *VOLCOBSERVE) UpdateRuleCommon(input *map[string]interface{}) (*map[string]interface{}, error)
UpdateRuleCommon API operation for VOLC_OBSERVE.
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 VOLCSTACK API reference guide for VOLC_OBSERVE's API operation UpdateRuleCommon for usage and error information.
func (*VOLCOBSERVE) UpdateRuleCommonRequest ¶
func (c *VOLCOBSERVE) UpdateRuleCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})
UpdateRuleCommonRequest generates a "volcengine/request.Request" representing the client's request for the UpdateRuleCommon operation. The "output" return value will be populated with the UpdateRuleCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateRuleCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateRuleCommon Send returns without error.
See UpdateRuleCommon for more information on using the UpdateRuleCommon API call, and error handling.
// Example sending a request using the UpdateRuleCommonRequest method. req, resp := client.UpdateRuleCommonRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VOLCOBSERVE) UpdateRuleCommonWithContext ¶
func (c *VOLCOBSERVE) UpdateRuleCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)
UpdateRuleCommonWithContext is the same as UpdateRuleCommon with the addition of the ability to pass a context and additional request options.
See UpdateRuleCommon 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 (*VOLCOBSERVE) UpdateRuleRequest ¶
func (c *VOLCOBSERVE) UpdateRuleRequest(input *UpdateRuleInput) (req *request.Request, output *UpdateRuleOutput)
UpdateRuleRequest generates a "volcengine/request.Request" representing the client's request for the UpdateRule operation. The "output" return value will be populated with the UpdateRuleCommon request's response once the request completes successfully.
Use "Send" method on the returned UpdateRuleCommon Request to send the API call to the service. the "output" return value is not valid until after UpdateRuleCommon Send returns without error.
See UpdateRule for more information on using the UpdateRule API call, and error handling.
// Example sending a request using the UpdateRuleRequest method. req, resp := client.UpdateRuleRequest(params) err := req.Send() if err == nil { // resp is now filled fmt.Println(resp) }
func (*VOLCOBSERVE) UpdateRuleWithContext ¶
func (c *VOLCOBSERVE) UpdateRuleWithContext(ctx volcengine.Context, input *UpdateRuleInput, opts ...request.Option) (*UpdateRuleOutput, error)
UpdateRuleWithContext is the same as UpdateRule with the addition of the ability to pass a context and additional request options.
See UpdateRule 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 VOLCOBSERVEAPI ¶
type VOLCOBSERVEAPI interface { CreateRuleCommon(*map[string]interface{}) (*map[string]interface{}, error) CreateRuleCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) CreateRuleCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) CreateRule(*CreateRuleInput) (*CreateRuleOutput, error) CreateRuleWithContext(volcengine.Context, *CreateRuleInput, ...request.Option) (*CreateRuleOutput, error) CreateRuleRequest(*CreateRuleInput) (*request.Request, *CreateRuleOutput) DeleteRulesByIdsCommon(*map[string]interface{}) (*map[string]interface{}, error) DeleteRulesByIdsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) DeleteRulesByIdsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) DeleteRulesByIds(*DeleteRulesByIdsInput) (*DeleteRulesByIdsOutput, error) DeleteRulesByIdsWithContext(volcengine.Context, *DeleteRulesByIdsInput, ...request.Option) (*DeleteRulesByIdsOutput, error) DeleteRulesByIdsRequest(*DeleteRulesByIdsInput) (*request.Request, *DeleteRulesByIdsOutput) ListRulesByIdsCommon(*map[string]interface{}) (*map[string]interface{}, error) ListRulesByIdsCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) ListRulesByIdsCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) ListRulesByIds(*ListRulesByIdsInput) (*ListRulesByIdsOutput, error) ListRulesByIdsWithContext(volcengine.Context, *ListRulesByIdsInput, ...request.Option) (*ListRulesByIdsOutput, error) ListRulesByIdsRequest(*ListRulesByIdsInput) (*request.Request, *ListRulesByIdsOutput) UpdateRuleCommon(*map[string]interface{}) (*map[string]interface{}, error) UpdateRuleCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error) UpdateRuleCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{}) UpdateRule(*UpdateRuleInput) (*UpdateRuleOutput, error) UpdateRuleWithContext(volcengine.Context, *UpdateRuleInput, ...request.Option) (*UpdateRuleOutput, error) UpdateRuleRequest(*UpdateRuleInput) (*request.Request, *UpdateRuleOutput) }
VOLCOBSERVEAPI provides an interface to enable mocking the volcobserve.VOLCOBSERVE service client's API operation,
// volcengine sdk func uses an SDK service client to make a request to // VOLC_OBSERVE. func myFunc(svc VOLCOBSERVEAPI) bool { // Make svc.CreateRule request } func main() { sess := session.New() svc := volcobserve.New(sess) myFunc(svc) }