model

package
v0.0.78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelConfigBody

type ChannelConfigBody struct {
	Smn *TrackerSmnChannelConfigBody `json:"smn,omitempty"`

	Obs *TrackerObsChannelConfigBody `json:"obs,omitempty"`
}

tracker通道配置

func (ChannelConfigBody) String

func (o ChannelConfigBody) String() string

type CreatePolicyAssignmentsRequest

type CreatePolicyAssignmentsRequest struct {
	Body *PolicyAssignmentRequestBody `json:"body,omitempty"`
}

Request Object

func (CreatePolicyAssignmentsRequest) String

type CreatePolicyAssignmentsResponse

type CreatePolicyAssignmentsResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"`

	State *string `json:"state,omitempty"`

	Created *string `json:"created,omitempty"`

	Updated *string `json:"updated,omitempty"`

	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	Parameters     map[string]PolicyParameterValue `json:"parameters,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (CreatePolicyAssignmentsResponse) String

type CreateTrackerConfigRequest

type CreateTrackerConfigRequest struct {
	Body *TrackerConfigBody `json:"body,omitempty"`
}

Request Object

func (CreateTrackerConfigRequest) String

type CreateTrackerConfigResponse

type CreateTrackerConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateTrackerConfigResponse) String

type DeletePolicyAssignmentRequest

type DeletePolicyAssignmentRequest struct {
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

Request Object

func (DeletePolicyAssignmentRequest) String

type DeletePolicyAssignmentResponse

type DeletePolicyAssignmentResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeletePolicyAssignmentResponse) String

type DeleteTrackerConfigRequest

type DeleteTrackerConfigRequest struct {
}

Request Object

func (DeleteTrackerConfigRequest) String

type DeleteTrackerConfigResponse

type DeleteTrackerConfigResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteTrackerConfigResponse) String

type DisablePolicyAssignmentRequest

type DisablePolicyAssignmentRequest struct {
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

Request Object

func (DisablePolicyAssignmentRequest) String

type DisablePolicyAssignmentResponse

type DisablePolicyAssignmentResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DisablePolicyAssignmentResponse) String

type EnablePolicyAssignmentRequest

type EnablePolicyAssignmentRequest struct {
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

Request Object

func (EnablePolicyAssignmentRequest) String

type EnablePolicyAssignmentResponse

type EnablePolicyAssignmentResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (EnablePolicyAssignmentResponse) String

type HistoryItem

type HistoryItem struct {
	DomainId *string `json:"domain_id,omitempty"`

	ResourceId *string `json:"resource_id,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`

	CaptureTime *string `json:"capture_time,omitempty"`

	Status *string `json:"status,omitempty"`

	Relations *[]ResourceRelation `json:"relations,omitempty"`

	Resource *ResourceEntity `json:"resource,omitempty"`
}

资源历史

func (HistoryItem) String

func (o HistoryItem) String() string

type ListAllResourcesRequest

type ListAllResourcesRequest struct {
	RegionId *string `json:"region_id,omitempty"`

	EpId *string `json:"ep_id,omitempty"`

	Type *string `json:"type,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`
}

Request Object

func (ListAllResourcesRequest) String

func (o ListAllResourcesRequest) String() string

type ListAllResourcesResponse

type ListAllResourcesResponse struct {
	Resources *[]ResourceEntity `json:"resources,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListAllResourcesResponse) String

func (o ListAllResourcesResponse) String() string

type ListBuiltInPolicyDefinitionsRequest

type ListBuiltInPolicyDefinitionsRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`
}

Request Object

func (ListBuiltInPolicyDefinitionsRequest) String

type ListBuiltInPolicyDefinitionsResponse

type ListBuiltInPolicyDefinitionsResponse struct {
	Value *[]PolicyDefinition `json:"value,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListBuiltInPolicyDefinitionsResponse) String

type ListPolicyAssignmentsRequest

type ListPolicyAssignmentsRequest struct {
}

Request Object

func (ListPolicyAssignmentsRequest) String

type ListPolicyAssignmentsResponse

type ListPolicyAssignmentsResponse struct {
	Value *[]PolicyAssignment `json:"value,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListPolicyAssignmentsResponse) String

type ListPolicyStatesByAssignmentIdRequest

type ListPolicyStatesByAssignmentIdRequest struct {
	PolicyAssignmentId string `json:"policy_assignment_id"`

	ComplianceState *string `json:"compliance_state,omitempty"`

	ResourceId *string `json:"resource_id,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`
}

Request Object

func (ListPolicyStatesByAssignmentIdRequest) String

type ListPolicyStatesByAssignmentIdResponse

type ListPolicyStatesByAssignmentIdResponse struct {
	Value *[]PolicyState `json:"value,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListPolicyStatesByAssignmentIdResponse) String

type ListPolicyStatesByDomainIdRequest

type ListPolicyStatesByDomainIdRequest struct {
	ComplianceState *string `json:"compliance_state,omitempty"`

	ResourceId *string `json:"resource_id,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`
}

Request Object

func (ListPolicyStatesByDomainIdRequest) String

type ListPolicyStatesByDomainIdResponse

type ListPolicyStatesByDomainIdResponse struct {
	Value *[]PolicyState `json:"value,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListPolicyStatesByDomainIdResponse) String

type ListPolicyStatesByResourceIdRequest

type ListPolicyStatesByResourceIdRequest struct {
	ResourceId string `json:"resource_id"`

	ComplianceState *string `json:"compliance_state,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`
}

Request Object

func (ListPolicyStatesByResourceIdRequest) String

type ListPolicyStatesByResourceIdResponse

type ListPolicyStatesByResourceIdResponse struct {
	Value *[]PolicyState `json:"value,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListPolicyStatesByResourceIdResponse) String

type ListProvidersRequest

type ListProvidersRequest struct {
	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	XLanguage *ListProvidersRequestXLanguage `json:"X-Language,omitempty"`
}

Request Object

func (ListProvidersRequest) String

func (o ListProvidersRequest) String() string

type ListProvidersRequestXLanguage

type ListProvidersRequestXLanguage struct {
	// contains filtered or unexported fields
}

func (ListProvidersRequestXLanguage) MarshalJSON

func (c ListProvidersRequestXLanguage) MarshalJSON() ([]byte, error)

func (*ListProvidersRequestXLanguage) UnmarshalJSON

func (c *ListProvidersRequestXLanguage) UnmarshalJSON(b []byte) error

type ListProvidersRequestXLanguageEnum

type ListProvidersRequestXLanguageEnum struct {
	ZH_CN ListProvidersRequestXLanguage
	EN_US ListProvidersRequestXLanguage
}

func GetListProvidersRequestXLanguageEnum

func GetListProvidersRequestXLanguageEnum() ListProvidersRequestXLanguageEnum

type ListProvidersResponse

type ListProvidersResponse struct {
	ResourceProviders *[]ResourceProviderResponse `json:"resource_providers,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListProvidersResponse) String

func (o ListProvidersResponse) String() string

type ListRegionsRequest

type ListRegionsRequest struct {
	XLanguage *ListRegionsRequestXLanguage `json:"X-Language,omitempty"`
}

Request Object

func (ListRegionsRequest) String

func (o ListRegionsRequest) String() string

type ListRegionsRequestXLanguage

type ListRegionsRequestXLanguage struct {
	// contains filtered or unexported fields
}

func (ListRegionsRequestXLanguage) MarshalJSON

func (c ListRegionsRequestXLanguage) MarshalJSON() ([]byte, error)

func (*ListRegionsRequestXLanguage) UnmarshalJSON

func (c *ListRegionsRequestXLanguage) UnmarshalJSON(b []byte) error

type ListRegionsRequestXLanguageEnum

type ListRegionsRequestXLanguageEnum struct {
	ZH_CN ListRegionsRequestXLanguage
	EN_US ListRegionsRequestXLanguage
}

func GetListRegionsRequestXLanguageEnum

func GetListRegionsRequestXLanguageEnum() ListRegionsRequestXLanguageEnum

type ListRegionsResponse

type ListRegionsResponse struct {
	Value          *[]Region `json:"value,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListRegionsResponse) String

func (o ListRegionsResponse) String() string

type ListResourcesRequest

type ListResourcesRequest struct {
	Provider string `json:"provider"`

	Type string `json:"type"`

	RegionId *string `json:"region_id,omitempty"`

	EpId *string `json:"ep_id,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`
}

Request Object

func (ListResourcesRequest) String

func (o ListResourcesRequest) String() string

type ListResourcesResponse

type ListResourcesResponse struct {
	Resources *[]ResourceEntity `json:"resources,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListResourcesResponse) String

func (o ListResourcesResponse) String() string

type PageInfo

type PageInfo struct {
	CurrentCount *int32 `json:"current_count,omitempty"`

	NextMarker *string `json:"next_marker,omitempty"`
}

分页对象

func (PageInfo) String

func (o PageInfo) String() string

type PolicyAssignment

type PolicyAssignment struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"`

	State *string `json:"state,omitempty"`

	Created *string `json:"created,omitempty"`

	Updated *string `json:"updated,omitempty"`

	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`
}

规则

func (PolicyAssignment) String

func (o PolicyAssignment) String() string

type PolicyAssignmentRequestBody

type PolicyAssignmentRequestBody struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"`

	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`
}

规则请求体

func (PolicyAssignmentRequestBody) String

type PolicyDefinition

type PolicyDefinition struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	PolicyType *string `json:"policy_type,omitempty"`

	Description *string `json:"description,omitempty"`

	PolicyRuleType *string `json:"policy_rule_type,omitempty"`

	PolicyRule *interface{} `json:"policy_rule,omitempty"`

	Keywords *[]string `json:"keywords,omitempty"`

	Parameters map[string]PolicyParameterDefinition `json:"parameters,omitempty"`
}

策略定义

func (PolicyDefinition) String

func (o PolicyDefinition) String() string

type PolicyFilterDefinition

type PolicyFilterDefinition struct {
	RegionId *string `json:"region_id,omitempty"`

	ResourceProvider *string `json:"resource_provider,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`

	ResourceId *string `json:"resource_id,omitempty"`

	TagKey *string `json:"tag_key,omitempty"`

	TagValue *string `json:"tag_value,omitempty"`
}

规则过滤器

func (PolicyFilterDefinition) String

func (o PolicyFilterDefinition) String() string

type PolicyParameterDefinition

type PolicyParameterDefinition struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	AllowedValues *[]interface{} `json:"allowed_values,omitempty"`

	DefaultValue *string `json:"default_value,omitempty"`

	Type *PolicyParameterDefinitionType `json:"type,omitempty"`
}

策略参数定义

func (PolicyParameterDefinition) String

func (o PolicyParameterDefinition) String() string

type PolicyParameterDefinitionType

type PolicyParameterDefinitionType struct {
	// contains filtered or unexported fields
}

func (PolicyParameterDefinitionType) MarshalJSON

func (c PolicyParameterDefinitionType) MarshalJSON() ([]byte, error)

func (*PolicyParameterDefinitionType) UnmarshalJSON

func (c *PolicyParameterDefinitionType) UnmarshalJSON(b []byte) error

type PolicyParameterValue

type PolicyParameterValue struct {
	Value *interface{} `json:"value,omitempty"`
}

规则参数值

func (PolicyParameterValue) String

func (o PolicyParameterValue) String() string

type PolicyState

type PolicyState struct {
	DomainId *string `json:"domain_id,omitempty"`

	RegionId *string `json:"region_id,omitempty"`

	ResourceId *string `json:"resource_id,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`

	ResourceProvider *string `json:"resource_provider,omitempty"`

	ResourceType *string `json:"resource_type,omitempty"`

	ComplianceState *string `json:"compliance_state,omitempty"`

	PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"`

	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	EvaluationTime *string `json:"evaluation_time,omitempty"`
}

合规状态

func (PolicyState) String

func (o PolicyState) String() string

type Region

type Region struct {
	RegionId *string `json:"region_id,omitempty"`

	DisplayName *string `json:"display_name,omitempty"`
}

区域

func (Region) String

func (o Region) String() string

type ResourceEntity

type ResourceEntity struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Provider *string `json:"provider,omitempty"`

	Type *string `json:"type,omitempty"`

	RegionId *string `json:"region_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	EpId *string `json:"ep_id,omitempty"`

	EpName *string `json:"ep_name,omitempty"`

	Checksum *string `json:"checksum,omitempty"`

	Created *string `json:"created,omitempty"`

	Updated *string `json:"updated,omitempty"`

	ProvisioningState *string `json:"provisioning_state,omitempty"`

	Tags map[string]string `json:"tags,omitempty"`

	Properties map[string]interface{} `json:"properties,omitempty"`
}

资源对象

func (ResourceEntity) String

func (o ResourceEntity) String() string

type ResourceProviderResponse

type ResourceProviderResponse struct {
	Provider *string `json:"provider,omitempty"`

	DisplayName *string `json:"display_name,omitempty"`

	CategoryDisplayName *string `json:"category_display_name,omitempty"`

	ResourceTypes *[]ResourceTypeResponse `json:"resource_types,omitempty"`
}

云服务详情

func (ResourceProviderResponse) String

func (o ResourceProviderResponse) String() string

type ResourceRelation

type ResourceRelation struct {
	RelationType *string `json:"relation_type,omitempty"`

	FromResourceType *string `json:"from_resource_type,omitempty"`

	ToResourceType *string `json:"to_resource_type,omitempty"`

	FromResourceId *string `json:"from_resource_id,omitempty"`

	ToResourceId *string `json:"to_resource_id,omitempty"`
}

func (ResourceRelation) String

func (o ResourceRelation) String() string

type ResourceTypeResponse

type ResourceTypeResponse struct {
	Name *string `json:"name,omitempty"`

	DisplayName *string `json:"display_name,omitempty"`

	Global *bool `json:"global,omitempty"`

	Regions *[]string `json:"regions,omitempty"`

	ConsoleEndpointId *string `json:"console_endpoint_id,omitempty"`

	ConsoleListUrl *string `json:"console_list_url,omitempty"`

	ConsoleDetailUrl *string `json:"console_detail_url,omitempty"`
}

资源类型详情

func (ResourceTypeResponse) String

func (o ResourceTypeResponse) String() string

type RunEvaluationByPolicyAssignmentIdRequest

type RunEvaluationByPolicyAssignmentIdRequest struct {
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

Request Object

func (RunEvaluationByPolicyAssignmentIdRequest) String

type RunEvaluationByPolicyAssignmentIdResponse

type RunEvaluationByPolicyAssignmentIdResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (RunEvaluationByPolicyAssignmentIdResponse) String

type SelectorConfigBody

type SelectorConfigBody struct {
	AllSupported bool `json:"all_supported"`

	ResourceTypes []string `json:"resource_types"`
}

tracker选择器

func (SelectorConfigBody) String

func (o SelectorConfigBody) String() string

type ShowBuiltInPolicyDefinitionRequest

type ShowBuiltInPolicyDefinitionRequest struct {
	PolicyDefinitionId string `json:"policy_definition_id"`

	XLanguage *string `json:"X-Language,omitempty"`
}

Request Object

func (ShowBuiltInPolicyDefinitionRequest) String

type ShowBuiltInPolicyDefinitionResponse

type ShowBuiltInPolicyDefinitionResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	PolicyType *string `json:"policy_type,omitempty"`

	Description *string `json:"description,omitempty"`

	PolicyRuleType *string `json:"policy_rule_type,omitempty"`

	PolicyRule *interface{} `json:"policy_rule,omitempty"`

	Keywords *[]string `json:"keywords,omitempty"`

	Parameters     map[string]PolicyParameterDefinition `json:"parameters,omitempty"`
	HttpStatusCode int                                  `json:"-"`
}

Response Object

func (ShowBuiltInPolicyDefinitionResponse) String

type ShowEvaluationStateByAssignmentIdRequest

type ShowEvaluationStateByAssignmentIdRequest struct {
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

Request Object

func (ShowEvaluationStateByAssignmentIdRequest) String

type ShowEvaluationStateByAssignmentIdResponse

type ShowEvaluationStateByAssignmentIdResponse struct {
	PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"`

	State *string `json:"state,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	ErrorMessage   *string `json:"error_message,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowEvaluationStateByAssignmentIdResponse) String

type ShowPolicyAssignmentRequest

type ShowPolicyAssignmentRequest struct {
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

Request Object

func (ShowPolicyAssignmentRequest) String

type ShowPolicyAssignmentResponse

type ShowPolicyAssignmentResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"`

	State *string `json:"state,omitempty"`

	Created *string `json:"created,omitempty"`

	Updated *string `json:"updated,omitempty"`

	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	Parameters     map[string]PolicyParameterValue `json:"parameters,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (ShowPolicyAssignmentResponse) String

type ShowResourceByIdRequest

type ShowResourceByIdRequest struct {
	Provider string `json:"provider"`

	Type string `json:"type"`

	ResourceId string `json:"resource_id"`
}

Request Object

func (ShowResourceByIdRequest) String

func (o ShowResourceByIdRequest) String() string

type ShowResourceByIdResponse

type ShowResourceByIdResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Provider *string `json:"provider,omitempty"`

	Type *string `json:"type,omitempty"`

	RegionId *string `json:"region_id,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	ProjectName *string `json:"project_name,omitempty"`

	EpId *string `json:"ep_id,omitempty"`

	EpName *string `json:"ep_name,omitempty"`

	Checksum *string `json:"checksum,omitempty"`

	Created *string `json:"created,omitempty"`

	Updated *string `json:"updated,omitempty"`

	ProvisioningState *string `json:"provisioning_state,omitempty"`

	Tags map[string]string `json:"tags,omitempty"`

	Properties     map[string]interface{} `json:"properties,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ShowResourceByIdResponse) String

func (o ShowResourceByIdResponse) String() string

type ShowResourceHistoryRequest

type ShowResourceHistoryRequest struct {
	ResourceId string `json:"resource_id"`

	Marker *string `json:"marker,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	EarlierTime *int64 `json:"earlier_time,omitempty"`

	LaterTime *int64 `json:"later_time,omitempty"`

	ChronologicalOrder *ShowResourceHistoryRequestChronologicalOrder `json:"chronological_order,omitempty"`
}

Request Object

func (ShowResourceHistoryRequest) String

type ShowResourceHistoryRequestChronologicalOrder

type ShowResourceHistoryRequestChronologicalOrder struct {
	// contains filtered or unexported fields
}

func (ShowResourceHistoryRequestChronologicalOrder) MarshalJSON

func (*ShowResourceHistoryRequestChronologicalOrder) UnmarshalJSON

type ShowResourceHistoryResponse

type ShowResourceHistoryResponse struct {
	Items *[]HistoryItem `json:"items,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowResourceHistoryResponse) String

type ShowResourceRelationsRequest

type ShowResourceRelationsRequest struct {
	ResourceId string `json:"resource_id"`

	Direction ShowResourceRelationsRequestDirection `json:"direction"`

	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`
}

Request Object

func (ShowResourceRelationsRequest) String

type ShowResourceRelationsRequestDirection

type ShowResourceRelationsRequestDirection struct {
	// contains filtered or unexported fields
}

func (ShowResourceRelationsRequestDirection) MarshalJSON

func (c ShowResourceRelationsRequestDirection) MarshalJSON() ([]byte, error)

func (*ShowResourceRelationsRequestDirection) UnmarshalJSON

func (c *ShowResourceRelationsRequestDirection) UnmarshalJSON(b []byte) error

type ShowResourceRelationsResponse

type ShowResourceRelationsResponse struct {
	Relations *[]ResourceRelation `json:"relations,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowResourceRelationsResponse) String

type ShowTrackerConfigRequest

type ShowTrackerConfigRequest struct {
}

Request Object

func (ShowTrackerConfigRequest) String

func (o ShowTrackerConfigRequest) String() string

type ShowTrackerConfigResponse

type ShowTrackerConfigResponse struct {
	Channel *ChannelConfigBody `json:"channel,omitempty"`

	Selector *SelectorConfigBody `json:"selector,omitempty"`

	AgencyName     *string `json:"agency_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowTrackerConfigResponse) String

func (o ShowTrackerConfigResponse) String() string

type TrackerConfigBody

type TrackerConfigBody struct {
	Channel *ChannelConfigBody `json:"channel"`

	Selector *SelectorConfigBody `json:"selector"`

	AgencyName string `json:"agency_name"`
}

TrackerConfig对象

func (TrackerConfigBody) String

func (o TrackerConfigBody) String() string

type TrackerObsChannelConfigBody

type TrackerObsChannelConfigBody struct {
	BucketName string `json:"bucket_name"`

	RegionId string `json:"region_id"`
}

OBS设置对象

func (TrackerObsChannelConfigBody) String

type TrackerSmnChannelConfigBody

type TrackerSmnChannelConfigBody struct {
	RegionId string `json:"region_id"`

	ProjectId string `json:"project_id"`

	TopicUrn string `json:"topic_urn"`
}

SMN通道设置对象

func (TrackerSmnChannelConfigBody) String

type UpdatePolicyAssignmentRequest

type UpdatePolicyAssignmentRequest struct {
	PolicyAssignmentId string `json:"policy_assignment_id"`

	Body *PolicyAssignmentRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdatePolicyAssignmentRequest) String

type UpdatePolicyAssignmentResponse

type UpdatePolicyAssignmentResponse struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"`

	State *string `json:"state,omitempty"`

	Created *string `json:"created,omitempty"`

	Updated *string `json:"updated,omitempty"`

	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	Parameters     map[string]PolicyParameterValue `json:"parameters,omitempty"`
	HttpStatusCode int                             `json:"-"`
}

Response Object

func (UpdatePolicyAssignmentResponse) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL