model

package
v0.1.95 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 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 AccountAggregationSource

type AccountAggregationSource struct {

	// 帐号列表。
	DomainIds *[]string `json:"domain_ids,omitempty"`
}

AccountAggregationSource 聚合数据的源帐号。

func (AccountAggregationSource) String

func (o AccountAggregationSource) String() string

type AggregateComplianceDetailRequest

type AggregateComplianceDetailRequest struct {

	// 资源聚合器ID
	AggregatorId string `json:"aggregator_id"`

	// 源帐号ID
	AccountId *string `json:"account_id,omitempty"`

	// 合规结果。
	ComplianceState *AggregateComplianceDetailRequestComplianceState `json:"compliance_state,omitempty"`

	// 合规规则名称
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	// 资源名称
	ResourceName *string `json:"resource_name,omitempty"`

	// 资源ID
	ResourceId *string `json:"resource_id,omitempty"`
}

AggregateComplianceDetailRequest 查询指定聚合合规规则评估结果详情请求体。

func (AggregateComplianceDetailRequest) String

type AggregateComplianceDetailRequestComplianceState

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

func (AggregateComplianceDetailRequestComplianceState) MarshalJSON

func (*AggregateComplianceDetailRequestComplianceState) UnmarshalJSON

func (AggregateComplianceDetailRequestComplianceState) Value

type AggregateComplianceDetailRequestComplianceStateEnum

type AggregateComplianceDetailRequestComplianceStateEnum struct {
	NON_COMPLIANT AggregateComplianceDetailRequestComplianceState
	COMPLIANT     AggregateComplianceDetailRequestComplianceState
}

type AggregateDiscoveredResourceCountsRequest

type AggregateDiscoveredResourceCountsRequest struct {

	// 资源聚合器ID。
	AggregatorId string `json:"aggregator_id"`

	Filter *ResourceCountsFilters `json:"filter,omitempty"`

	// 用于对资源计数进行分组的键(RESOURCE_TYPE | ACCOUNT_ID)。
	GroupByKey string `json:"group_by_key"`
}

AggregateDiscoveredResourceCountsRequest 查询聚合器中帐号资源计数请求体。

func (AggregateDiscoveredResourceCountsRequest) String

type AggregateDiscoveredResourcesRequest

type AggregateDiscoveredResourcesRequest struct {

	// 资源聚合器ID。
	AggregatorId string `json:"aggregator_id"`

	Filter *ResourcesFilters `json:"filter,omitempty"`

	// 云服务类型。
	Provider *string `json:"provider,omitempty"`

	// 资源类型。
	ResourceType *string `json:"resource_type,omitempty"`
}

AggregateDiscoveredResourcesRequest 查询聚合器中帐号资源计数请求体。

func (AggregateDiscoveredResourcesRequest) String

type AggregatePolicyAssignmentDetailRequest

type AggregatePolicyAssignmentDetailRequest struct {

	// 资源聚合器ID
	AggregatorId string `json:"aggregator_id"`

	// 租户ID
	AccountId string `json:"account_id"`

	// 合规规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

AggregatePolicyAssignmentDetailRequest 查询指定聚合合规规则详情请求体。

func (AggregatePolicyAssignmentDetailRequest) String

type AggregatePolicyAssignments

type AggregatePolicyAssignments struct {

	// 合规规则ID
	PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"`

	// 合规规则名称
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	Compliance *Compliance `json:"compliance,omitempty"`

	// 源帐号ID。
	AccountId *string `json:"account_id,omitempty"`

	// 帐户名称
	AccountName *string `json:"account_name,omitempty"`
}

AggregatePolicyAssignments 聚合合规规则。

func (AggregatePolicyAssignments) String

type AggregatePolicyAssignmentsFilters

type AggregatePolicyAssignmentsFilters struct {

	// 源帐号ID。
	AccountId *string `json:"account_id,omitempty"`

	// 合规结果。
	ComplianceState *AggregatePolicyAssignmentsFiltersComplianceState `json:"compliance_state,omitempty"`

	// 合规规则名称
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`
}

AggregatePolicyAssignmentsFilters 聚合合规规则过滤器。

func (AggregatePolicyAssignmentsFilters) String

type AggregatePolicyAssignmentsFiltersComplianceState

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

func (AggregatePolicyAssignmentsFiltersComplianceState) MarshalJSON

func (*AggregatePolicyAssignmentsFiltersComplianceState) UnmarshalJSON

func (AggregatePolicyAssignmentsFiltersComplianceState) Value

type AggregatePolicyAssignmentsRequest

type AggregatePolicyAssignmentsRequest struct {

	// 资源聚合器ID
	AggregatorId string `json:"aggregator_id"`

	Filter *AggregatePolicyAssignmentsFilters `json:"filter,omitempty"`
}

AggregatePolicyAssignmentsRequest 聚合合规规则请求体

func (AggregatePolicyAssignmentsRequest) String

type AggregatePolicyComplianceSummaryResult

type AggregatePolicyComplianceSummaryResult struct {
	ResourceDetails *PolicyComplianceSummaryUnit `json:"resource_details,omitempty"`

	AssignmentDetails *PolicyComplianceSummaryUnit `json:"assignment_details,omitempty"`

	// 分组名称
	GroupName *string `json:"group_name,omitempty"`

	// 帐号名称
	GroupAccountName *string `json:"group_account_name,omitempty"`
}

AggregatePolicyComplianceSummaryResult 合规总结结果

func (AggregatePolicyComplianceSummaryResult) String

type AggregatePolicyStatesRequest

type AggregatePolicyStatesRequest struct {

	// 资源聚合器ID
	AggregatorId string `json:"aggregator_id"`

	// 源帐号ID
	AccountId *string `json:"account_id,omitempty"`

	// 用于对资源计数进行分组的键(DOMAIN)。
	GroupByKey *string `json:"group_by_key,omitempty"`
}

AggregatePolicyStatesRequest 聚合合规评估结果请求体

func (AggregatePolicyStatesRequest) String

type AggregateResourceConfigRequest

type AggregateResourceConfigRequest struct {

	// 资源聚合器ID。
	AggregatorId string `json:"aggregator_id"`

	ResourceIdentifier *ResourceIdentifier `json:"resource_identifier"`
}

AggregateResourceConfigRequest 查询源帐号中的特定资源聚合的配置项请求体。

func (AggregateResourceConfigRequest) String

type AggregatedSourceStatus

type AggregatedSourceStatus struct {

	// 源帐号最近一次聚合失败时返回的错误码。
	LastErrorCode *string `json:"last_error_code,omitempty"`

	// 源帐号最近一次聚合失败时返回的错误消息。
	LastErrorMessage *string `json:"last_error_message,omitempty"`

	// 最近一次更新的状态类型。
	LastUpdateStatus *string `json:"last_update_status,omitempty"`

	// 最近一次更新的时间。
	LastUpdateTime *string `json:"last_update_time,omitempty"`

	// 源帐号ID或组织。
	SourceId *string `json:"source_id,omitempty"`

	// 帐号名。
	SourceName *string `json:"source_name,omitempty"`

	// 源帐号类型(ACCOUNT | ORGANIZATION)。
	SourceType *string `json:"source_type,omitempty"`
}

AggregatedSourceStatus 资源聚合器状态响应体。

func (AggregatedSourceStatus) String

func (o AggregatedSourceStatus) String() string

type AggregationAuthorizationRequest

type AggregationAuthorizationRequest struct {

	// 要授权的资源聚合器的帐号ID。
	AuthorizedAccountId string `json:"authorized_account_id"`
}

AggregationAuthorizationRequest 资源聚合器授权请求体。

func (AggregationAuthorizationRequest) String

type AggregationAuthorizationResp

type AggregationAuthorizationResp struct {

	// 资源聚合器授权标识符。
	AggregationAuthorizationUrn *string `json:"aggregation_authorization_urn,omitempty"`

	// 授权的资源聚合器的帐号ID。
	AuthorizedAccountId *string `json:"authorized_account_id,omitempty"`

	// 资源聚合器授权的创建时间。
	CreatedAt *string `json:"created_at,omitempty"`
}

AggregationAuthorizationResp 资源聚合器授权。

func (AggregationAuthorizationResp) String

type ChannelConfigBody

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

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

ChannelConfigBody tracker通道配置

func (ChannelConfigBody) String

func (o ChannelConfigBody) String() string

type CollectAllResourcesSummaryRequest

type CollectAllResourcesSummaryRequest struct {

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 资源类型(provider.type)
	Type *[]string `json:"type,omitempty"`

	// 区域ID列表
	RegionId *[]string `json:"region_id,omitempty"`

	// 企业项目ID列表
	EpId *[]string `json:"ep_id,omitempty"`

	// 项目ID
	ProjectId *[]string `json:"project_id,omitempty"`

	// 标签列表
	Tags *[]string `json:"tags,omitempty"`
}

CollectAllResourcesSummaryRequest Request Object

func (CollectAllResourcesSummaryRequest) String

type CollectAllResourcesSummaryResponse

type CollectAllResourcesSummaryResponse struct {

	// 资源概要信息列表
	Body           *[]ResourceSummaryResponseItem `json:"body,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

CollectAllResourcesSummaryResponse Response Object

func (CollectAllResourcesSummaryResponse) String

type CollectConformancePackComplianceSummaryRequest added in v0.1.52

type CollectConformancePackComplianceSummaryRequest struct {

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 合规规则包名称。
	ConformancePackName *string `json:"conformance_pack_name,omitempty"`
}

CollectConformancePackComplianceSummaryRequest Request Object

func (CollectConformancePackComplianceSummaryRequest) String added in v0.1.52

type CollectConformancePackComplianceSummaryResponse added in v0.1.52

type CollectConformancePackComplianceSummaryResponse struct {

	// 合规规则包的合规结果概览列表。
	Value *[]ConformancePackComplianceSummary `json:"value,omitempty"`

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

CollectConformancePackComplianceSummaryResponse Response Object

func (CollectConformancePackComplianceSummaryResponse) String added in v0.1.52

type CollectTrackedResourcesSummaryRequest added in v0.1.72

type CollectTrackedResourcesSummaryRequest struct {

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 资源类型(provider.type)
	Type *[]string `json:"type,omitempty"`

	// 区域ID列表
	RegionId *[]string `json:"region_id,omitempty"`

	// 企业项目ID列表
	EpId *[]string `json:"ep_id,omitempty"`

	// 项目ID
	ProjectId *[]string `json:"project_id,omitempty"`

	// 标签列表
	Tags *[]string `json:"tags,omitempty"`
}

CollectTrackedResourcesSummaryRequest Request Object

func (CollectTrackedResourcesSummaryRequest) String added in v0.1.72

type CollectTrackedResourcesSummaryResponse added in v0.1.72

type CollectTrackedResourcesSummaryResponse struct {

	// 资源概要信息列表
	Body           *[]ResourceSummaryResponseItem `json:"body,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

CollectTrackedResourcesSummaryResponse Response Object

func (CollectTrackedResourcesSummaryResponse) String added in v0.1.72

type Compliance

type Compliance struct {

	// 合规结果。
	ComplianceState *string `json:"compliance_state,omitempty"`

	ResourceDetails *PolicyComplianceSummaryUnit `json:"resource_details,omitempty"`
}

Compliance 合规规则合规性

func (Compliance) String

func (o Compliance) String() string

type ConfigurationAggregatorRequest

type ConfigurationAggregatorRequest struct {

	// 资源聚合器名称。
	AggregatorName string `json:"aggregator_name"`

	// 聚合器类型(ACCOUNT | ORGANIZATION)。
	AggregatorType string `json:"aggregator_type"`

	AccountAggregationSources *AccountAggregationSource `json:"account_aggregation_sources,omitempty"`
}

ConfigurationAggregatorRequest 资源聚合器请求体。

func (ConfigurationAggregatorRequest) String

type ConfigurationAggregatorResp

type ConfigurationAggregatorResp struct {

	// 资源聚合器名称。
	AggregatorName *string `json:"aggregator_name,omitempty"`

	// 资源聚合器ID。
	AggregatorId *string `json:"aggregator_id,omitempty"`

	// 资源聚合器标识符。
	AggregatorUrn *string `json:"aggregator_urn,omitempty"`

	// 聚合器类型。
	AggregatorType *string `json:"aggregator_type,omitempty"`

	AccountAggregationSources *AccountAggregationSource `json:"account_aggregation_sources,omitempty"`

	// 资源聚合器更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 资源聚合器创建时间。
	CreatedAt *string `json:"created_at,omitempty"`
}

ConfigurationAggregatorResp 资源聚合器响应体。

func (ConfigurationAggregatorResp) String

type ConformancePack added in v0.1.52

type ConformancePack struct {

	// 合规规则包ID。
	Id *string `json:"id,omitempty"`

	// 合规规则包名称。
	Name *string `json:"name,omitempty"`

	// 资源栈(stack)的唯一ID。
	StackId *string `json:"stack_id,omitempty"`

	// 资源栈(stack)的名称。
	StackName *string `json:"stack_name,omitempty"`

	// 部署ID。
	DeploymentId *string `json:"deployment_id,omitempty"`

	// 合规规则包创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 合规规则包更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 预定义合规规则包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 合规规则包模板OBS地址
	TemplateUri *string `json:"template_uri,omitempty"`

	// 委托名称
	AgencyName *string `json:"agency_name,omitempty"`

	// 合规规则包部署状态。
	Status *ConformancePackStatus `json:"status,omitempty"`

	// 部署或删除合规规则包错误时的错误信息
	ErrorMessage *string `json:"error_message,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`

	// 创建者
	CreatedBy *string `json:"created_by,omitempty"`
}

ConformancePack 合规规则包详情。

func (ConformancePack) String added in v0.1.52

func (o ConformancePack) String() string

type ConformancePackCompliance added in v0.1.52

type ConformancePackCompliance struct {

	// 合规规则ID。
	PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"`

	// 合规规则名称。
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	// 合规规则合规结果。
	PolicyAssignmentCompliance *string `json:"policy_assignment_compliance,omitempty"`
}

ConformancePackCompliance 合规规则评估结果。

func (ConformancePackCompliance) String added in v0.1.52

func (o ConformancePackCompliance) String() string

type ConformancePackComplianceDetail added in v0.1.52

type ConformancePackComplianceDetail struct {

	// 合规规则ID。
	PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"`

	// 合规规则名称。
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	// 评估资源ID。
	ResourceId *string `json:"resource_id,omitempty"`

	// 合规规则合规结果。
	ComplianceState *string `json:"compliance_state,omitempty"`

	// 资源评估时间。
	EvaluationTime *string `json:"evaluation_time,omitempty"`
}

ConformancePackComplianceDetail 合规规则评估结果详情。

func (ConformancePackComplianceDetail) String added in v0.1.52

type ConformancePackComplianceSummary added in v0.1.52

type ConformancePackComplianceSummary struct {

	// 合规规则包ID。
	Id *string `json:"id,omitempty"`

	// 合规规则包名称。
	Name *string `json:"name,omitempty"`

	// 合规规则包合规结果。
	Compliance *string `json:"compliance,omitempty"`
}

ConformancePackComplianceSummary 合规结果概览。

func (ConformancePackComplianceSummary) String added in v0.1.52

type ConformancePackRequestBody added in v0.1.52

type ConformancePackRequestBody struct {

	// 合规规则包名称。
	Name string `json:"name"`

	// 委托名称,该委托需要授权云服务ResourceFormation调用Config服务的合规规则的创建、更新、删除接口。
	AgencyName *string `json:"agency_name,omitempty"`

	// 预定义合规包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 自定义合规包内容。
	TemplateBody *string `json:"template_body,omitempty"`

	// 合规包模板OBS地址。
	TemplateUri *string `json:"template_uri,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`
}

ConformancePackRequestBody 创建合规规则包的请求体。

func (ConformancePackRequestBody) String added in v0.1.52

type ConformancePackScore added in v0.1.52

type ConformancePackScore struct {

	// 合规规则包ID。
	Id *string `json:"id,omitempty"`

	// 合规规则包名称。
	Name *string `json:"name,omitempty"`

	// 合规规则包分数。
	Score *string `json:"score,omitempty"`
}

ConformancePackScore 合规规则包的分数详情。

func (ConformancePackScore) String added in v0.1.52

func (o ConformancePackScore) String() string

type ConformancePackStatus added in v0.1.52

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

func (ConformancePackStatus) MarshalJSON added in v0.1.52

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

func (*ConformancePackStatus) UnmarshalJSON added in v0.1.52

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

func (ConformancePackStatus) Value added in v0.1.52

func (c ConformancePackStatus) Value() string

type ConformancePackStatusEnum added in v0.1.52

type ConformancePackStatusEnum struct {
	CREATE_SUCCESSFUL    ConformancePackStatus
	CREATE_IN_PROGRESS   ConformancePackStatus
	CREATE_FAILED        ConformancePackStatus
	DELETE_IN_PROGRESS   ConformancePackStatus
	DELETE_FAILED        ConformancePackStatus
	ROLLBACK_SUCCESSFUL  ConformancePackStatus
	ROLLBACK_IN_PROGRESS ConformancePackStatus
	ROLLBACK_FAILED      ConformancePackStatus
	UPDATE_SUCCESSFUL    ConformancePackStatus
	UPDATE_IN_PROGRESS   ConformancePackStatus
	UPDATE_FAILED        ConformancePackStatus
}

func GetConformancePackStatusEnum added in v0.1.52

func GetConformancePackStatusEnum() ConformancePackStatusEnum

type ConformancePackTemplate added in v0.1.52

type ConformancePackTemplate struct {

	// 预定义合规包模板ID。
	Id *string `json:"id,omitempty"`

	// 预定义合规包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 预定义合规包模板描述。
	Description *string `json:"description,omitempty"`

	// 预定义合规包模板内容。
	TemplateBody *string `json:"template_body,omitempty"`

	// 预定义合规包模板参数。
	Parameters map[string]TemplateParameterDefinition `json:"parameters,omitempty"`
}

ConformancePackTemplate 预定义合规规则包模板详情。

func (ConformancePackTemplate) String added in v0.1.52

func (o ConformancePackTemplate) String() string

type CountAllResourcesRequest

type CountAllResourcesRequest struct {

	// 资源ID
	Id *string `json:"id,omitempty"`

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 资源类型(provider.type)
	Type *[]string `json:"type,omitempty"`

	// 区域ID列表
	RegionId *[]string `json:"region_id,omitempty"`

	// 企业项目ID列表
	EpId *[]string `json:"ep_id,omitempty"`

	// 项目ID
	ProjectId *[]string `json:"project_id,omitempty"`

	// 标签列表
	Tags *[]string `json:"tags,omitempty"`
}

CountAllResourcesRequest Request Object

func (CountAllResourcesRequest) String

func (o CountAllResourcesRequest) String() string

type CountAllResourcesResponse

type CountAllResourcesResponse struct {

	// 资源总数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CountAllResourcesResponse Response Object

func (CountAllResourcesResponse) String

func (o CountAllResourcesResponse) String() string

type CountTrackedResourcesRequest added in v0.1.72

type CountTrackedResourcesRequest struct {

	// 资源ID
	Id *string `json:"id,omitempty"`

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 资源类型(provider.type)
	Type *[]string `json:"type,omitempty"`

	// 区域ID列表
	RegionId *[]string `json:"region_id,omitempty"`

	// 企业项目ID列表
	EpId *[]string `json:"ep_id,omitempty"`

	// 项目ID
	ProjectId *[]string `json:"project_id,omitempty"`

	// 标签列表
	Tags *[]string `json:"tags,omitempty"`
}

CountTrackedResourcesRequest Request Object

func (CountTrackedResourcesRequest) String added in v0.1.72

type CountTrackedResourcesResponse added in v0.1.72

type CountTrackedResourcesResponse struct {

	// 资源总数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CountTrackedResourcesResponse Response Object

func (CountTrackedResourcesResponse) String added in v0.1.72

type CreateAggregationAuthorizationRequest

type CreateAggregationAuthorizationRequest struct {
	Body *AggregationAuthorizationRequest `json:"body,omitempty"`
}

CreateAggregationAuthorizationRequest Request Object

func (CreateAggregationAuthorizationRequest) String

type CreateAggregationAuthorizationResponse

type CreateAggregationAuthorizationResponse struct {

	// 资源聚合器授权标识符。
	AggregationAuthorizationUrn *string `json:"aggregation_authorization_urn,omitempty"`

	// 授权的资源聚合器的帐号ID。
	AuthorizedAccountId *string `json:"authorized_account_id,omitempty"`

	// 资源聚合器授权的创建时间。
	CreatedAt      *string `json:"created_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAggregationAuthorizationResponse Response Object

func (CreateAggregationAuthorizationResponse) String

type CreateConfigurationAggregatorRequest

type CreateConfigurationAggregatorRequest struct {
	Body *ConfigurationAggregatorRequest `json:"body,omitempty"`
}

CreateConfigurationAggregatorRequest Request Object

func (CreateConfigurationAggregatorRequest) String

type CreateConfigurationAggregatorResponse

type CreateConfigurationAggregatorResponse struct {

	// 资源聚合器名称。
	AggregatorName *string `json:"aggregator_name,omitempty"`

	// 资源聚合器ID。
	AggregatorId *string `json:"aggregator_id,omitempty"`

	// 资源聚合器标识符。
	AggregatorUrn *string `json:"aggregator_urn,omitempty"`

	// 聚合器类型。
	AggregatorType *string `json:"aggregator_type,omitempty"`

	AccountAggregationSources *AccountAggregationSource `json:"account_aggregation_sources,omitempty"`

	// 资源聚合器更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 资源聚合器创建时间。
	CreatedAt      *string `json:"created_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateConfigurationAggregatorResponse Response Object

func (CreateConfigurationAggregatorResponse) String

type CreateConformancePackRequest added in v0.1.52

type CreateConformancePackRequest struct {
	Body *ConformancePackRequestBody `json:"body,omitempty"`
}

CreateConformancePackRequest Request Object

func (CreateConformancePackRequest) String added in v0.1.52

type CreateConformancePackResponse added in v0.1.52

type CreateConformancePackResponse struct {

	// 合规规则包ID。
	Id *string `json:"id,omitempty"`

	// 合规规则包名称。
	Name *string `json:"name,omitempty"`

	// 资源栈(stack)的唯一ID。
	StackId *string `json:"stack_id,omitempty"`

	// 资源栈(stack)的名称。
	StackName *string `json:"stack_name,omitempty"`

	// 部署ID。
	DeploymentId *string `json:"deployment_id,omitempty"`

	// 合规规则包创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 合规规则包更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 预定义合规规则包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 合规规则包模板OBS地址
	TemplateUri *string `json:"template_uri,omitempty"`

	// 委托名称
	AgencyName *string `json:"agency_name,omitempty"`

	// 合规规则包部署状态。
	Status *CreateConformancePackResponseStatus `json:"status,omitempty"`

	// 部署或删除合规规则包错误时的错误信息
	ErrorMessage *string `json:"error_message,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`

	// 创建者
	CreatedBy      *string `json:"created_by,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateConformancePackResponse Response Object

func (CreateConformancePackResponse) String added in v0.1.52

type CreateConformancePackResponseStatus added in v0.1.52

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

func (CreateConformancePackResponseStatus) MarshalJSON added in v0.1.52

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

func (*CreateConformancePackResponseStatus) UnmarshalJSON added in v0.1.52

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

func (CreateConformancePackResponseStatus) Value added in v0.1.52

type CreateConformancePackResponseStatusEnum added in v0.1.52

type CreateConformancePackResponseStatusEnum struct {
	CREATE_SUCCESSFUL    CreateConformancePackResponseStatus
	CREATE_IN_PROGRESS   CreateConformancePackResponseStatus
	CREATE_FAILED        CreateConformancePackResponseStatus
	DELETE_IN_PROGRESS   CreateConformancePackResponseStatus
	DELETE_FAILED        CreateConformancePackResponseStatus
	ROLLBACK_SUCCESSFUL  CreateConformancePackResponseStatus
	ROLLBACK_IN_PROGRESS CreateConformancePackResponseStatus
	ROLLBACK_FAILED      CreateConformancePackResponseStatus
	UPDATE_SUCCESSFUL    CreateConformancePackResponseStatus
	UPDATE_IN_PROGRESS   CreateConformancePackResponseStatus
	UPDATE_FAILED        CreateConformancePackResponseStatus
}

func GetCreateConformancePackResponseStatusEnum added in v0.1.52

func GetCreateConformancePackResponseStatusEnum() CreateConformancePackResponseStatusEnum

type CreateOrganizationConformancePackRequest added in v0.1.61

type CreateOrganizationConformancePackRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

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

CreateOrganizationConformancePackRequest Request Object

func (CreateOrganizationConformancePackRequest) String added in v0.1.61

type CreateOrganizationConformancePackResponse added in v0.1.61

type CreateOrganizationConformancePackResponse struct {

	// 组织合规规则包ID。
	OrgConformancePackId *string `json:"org_conformance_pack_id,omitempty"`

	// 组织合规规则包名称。
	OrgConformancePackName *string `json:"org_conformance_pack_name,omitempty"`

	// 组织合规规则包创建者。
	OwnerId *string `json:"owner_id,omitempty"`

	// 组织ID
	OrganizationId *string `json:"organization_id,omitempty"`

	// 组织合规规则包资源唯一标识。
	OrgConformancePackUrn *string `json:"org_conformance_pack_urn,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`

	// 组织合规规则包创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 组织合规规则包更新时间。
	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateOrganizationConformancePackResponse Response Object

func (CreateOrganizationConformancePackResponse) String added in v0.1.61

type CreateOrganizationPolicyAssignmentRequest

type CreateOrganizationPolicyAssignmentRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

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

CreateOrganizationPolicyAssignmentRequest Request Object

func (CreateOrganizationPolicyAssignmentRequest) String

type CreateOrganizationPolicyAssignmentResponse

type CreateOrganizationPolicyAssignmentResponse struct {

	// 组织合规规则创建者。
	OwnerId *string `json:"owner_id,omitempty"`

	// 组织ID。
	OrganizationId *string `json:"organization_id,omitempty"`

	// 组织合规规则资源唯一标识。
	OrganizationPolicyAssignmentUrn *string `json:"organization_policy_assignment_urn,omitempty"`

	// 组织合规规则ID。
	OrganizationPolicyAssignmentId *string `json:"organization_policy_assignment_id,omitempty"`

	// 组织合规规则名称。
	OrganizationPolicyAssignmentName *string `json:"organization_policy_assignment_name,omitempty"`

	// 描述信息。
	Description *string `json:"description,omitempty"`

	// 触发周期。
	Period *string `json:"period,omitempty"`

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

	// 规则参数。
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

	// 策略ID。
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateOrganizationPolicyAssignmentResponse Response Object

func (CreateOrganizationPolicyAssignmentResponse) String

type CreatePolicyAssignmentsRequest

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

CreatePolicyAssignmentsRequest Request Object

func (CreatePolicyAssignmentsRequest) String

type CreatePolicyAssignmentsResponse

type CreatePolicyAssignmentsResponse struct {

	// 规则类型,包括预定义合规规则(builtin)和用户自定义合规规则(custom)
	PolicyAssignmentType *CreatePolicyAssignmentsResponsePolicyAssignmentType `json:"policy_assignment_type,omitempty"`

	// 规则ID
	Id *string `json:"id,omitempty"`

	// 规则名字
	Name *string `json:"name,omitempty"`

	// 规则描述
	Description *string `json:"description,omitempty"`

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

	// 触发周期值,可选值:One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours
	Period *string `json:"period,omitempty"`

	// 规则状态
	State *string `json:"state,omitempty"`

	// 规则创建时间
	Created *string `json:"created,omitempty"`

	// 规则更新时间
	Updated *string `json:"updated,omitempty"`

	// 规则的策略ID
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	CustomPolicy *CustomPolicy `json:"custom_policy,omitempty"`

	// 规则参数
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

	// 规则的创建者
	CreatedBy      *string `json:"created_by,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreatePolicyAssignmentsResponse Response Object

func (CreatePolicyAssignmentsResponse) String

type CreatePolicyAssignmentsResponsePolicyAssignmentType

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

func (CreatePolicyAssignmentsResponsePolicyAssignmentType) MarshalJSON

func (*CreatePolicyAssignmentsResponsePolicyAssignmentType) UnmarshalJSON

func (CreatePolicyAssignmentsResponsePolicyAssignmentType) Value

type CreateStoredQueryRequest

type CreateStoredQueryRequest struct {
	Body *StoredQueryRequestBody `json:"body,omitempty"`
}

CreateStoredQueryRequest Request Object

func (CreateStoredQueryRequest) String

func (o CreateStoredQueryRequest) String() string

type CreateStoredQueryResponse

type CreateStoredQueryResponse struct {

	// ResourceQL ID
	Id *string `json:"id,omitempty"`

	// ResourceQL 名字
	Name *string `json:"name,omitempty"`

	// ResourceQL 描述
	Description *string `json:"description,omitempty"`

	// ResourceQL 表达式
	Expression *string `json:"expression,omitempty"`

	// ResourceQL 创建时间
	Created *string `json:"created,omitempty"`

	// ResourceQL 更新时间
	Updated        *string `json:"updated,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateStoredQueryResponse Response Object

func (CreateStoredQueryResponse) String

func (o CreateStoredQueryResponse) String() string

type CreateTrackerConfigRequest

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

CreateTrackerConfigRequest Request Object

func (CreateTrackerConfigRequest) String

type CreateTrackerConfigResponse

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

CreateTrackerConfigResponse Response Object

func (CreateTrackerConfigResponse) String

type CustomPolicy

type CustomPolicy struct {

	// 自定义函数的urn
	FunctionUrn string `json:"function_urn"`

	// 自定义合规规则调用function方式
	AuthType CustomPolicyAuthType `json:"auth_type"`

	// method参数值,method为agency时,为{\"agency_name\":rms_fg_agency}, rms_fg_agency为授权Config调用FunctionGraph接口的委托名称
	AuthValue map[string]interface{} `json:"auth_value,omitempty"`
}

CustomPolicy 自定义合规规则

func (CustomPolicy) String

func (o CustomPolicy) String() string

type CustomPolicyAuthType

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

func (CustomPolicyAuthType) MarshalJSON

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

func (*CustomPolicyAuthType) UnmarshalJSON

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

func (CustomPolicyAuthType) Value

func (c CustomPolicyAuthType) Value() string

type CustomPolicyAuthTypeEnum

type CustomPolicyAuthTypeEnum struct {
	AGENCY CustomPolicyAuthType
}

func GetCustomPolicyAuthTypeEnum

func GetCustomPolicyAuthTypeEnum() CustomPolicyAuthTypeEnum

type DeleteAggregationAuthorizationRequest

type DeleteAggregationAuthorizationRequest struct {

	// 授权的资源聚合器的帐号ID。
	AuthorizedAccountId string `json:"authorized_account_id"`
}

DeleteAggregationAuthorizationRequest Request Object

func (DeleteAggregationAuthorizationRequest) String

type DeleteAggregationAuthorizationResponse

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

DeleteAggregationAuthorizationResponse Response Object

func (DeleteAggregationAuthorizationResponse) String

type DeleteConfigurationAggregatorRequest

type DeleteConfigurationAggregatorRequest struct {

	// 资源聚合器ID。
	AggregatorId string `json:"aggregator_id"`
}

DeleteConfigurationAggregatorRequest Request Object

func (DeleteConfigurationAggregatorRequest) String

type DeleteConfigurationAggregatorResponse

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

DeleteConfigurationAggregatorResponse Response Object

func (DeleteConfigurationAggregatorResponse) String

type DeleteConformancePackRequest added in v0.1.52

type DeleteConformancePackRequest struct {

	// 合规规则包ID。
	ConformancePackId string `json:"conformance_pack_id"`
}

DeleteConformancePackRequest Request Object

func (DeleteConformancePackRequest) String added in v0.1.52

type DeleteConformancePackResponse added in v0.1.52

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

DeleteConformancePackResponse Response Object

func (DeleteConformancePackResponse) String added in v0.1.52

type DeleteOrganizationConformancePackRequest added in v0.1.61

type DeleteOrganizationConformancePackRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 合规规则包ID。
	ConformancePackId string `json:"conformance_pack_id"`
}

DeleteOrganizationConformancePackRequest Request Object

func (DeleteOrganizationConformancePackRequest) String added in v0.1.61

type DeleteOrganizationConformancePackResponse added in v0.1.61

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

DeleteOrganizationConformancePackResponse Response Object

func (DeleteOrganizationConformancePackResponse) String added in v0.1.61

type DeleteOrganizationPolicyAssignmentRequest

type DeleteOrganizationPolicyAssignmentRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 组织合规规则ID。
	OrganizationPolicyAssignmentId string `json:"organization_policy_assignment_id"`
}

DeleteOrganizationPolicyAssignmentRequest Request Object

func (DeleteOrganizationPolicyAssignmentRequest) String

type DeleteOrganizationPolicyAssignmentResponse

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

DeleteOrganizationPolicyAssignmentResponse Response Object

func (DeleteOrganizationPolicyAssignmentResponse) String

type DeletePendingAggregationRequestRequest

type DeletePendingAggregationRequestRequest struct {

	// 请求聚合数据的帐号ID。
	RequesterAccountId string `json:"requester_account_id"`
}

DeletePendingAggregationRequestRequest Request Object

func (DeletePendingAggregationRequestRequest) String

type DeletePendingAggregationRequestResponse

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

DeletePendingAggregationRequestResponse Response Object

func (DeletePendingAggregationRequestResponse) String

type DeletePolicyAssignmentRequest

type DeletePolicyAssignmentRequest struct {

	// 规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

DeletePolicyAssignmentRequest Request Object

func (DeletePolicyAssignmentRequest) String

type DeletePolicyAssignmentResponse

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

DeletePolicyAssignmentResponse Response Object

func (DeletePolicyAssignmentResponse) String

type DeleteStoredQueryRequest

type DeleteStoredQueryRequest struct {

	// 查询ID
	QueryId string `json:"query_id"`
}

DeleteStoredQueryRequest Request Object

func (DeleteStoredQueryRequest) String

func (o DeleteStoredQueryRequest) String() string

type DeleteStoredQueryResponse

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

DeleteStoredQueryResponse Response Object

func (DeleteStoredQueryResponse) String

func (o DeleteStoredQueryResponse) String() string

type DeleteTrackerConfigRequest

type DeleteTrackerConfigRequest struct {
}

DeleteTrackerConfigRequest Request Object

func (DeleteTrackerConfigRequest) String

type DeleteTrackerConfigResponse

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

DeleteTrackerConfigResponse Response Object

func (DeleteTrackerConfigResponse) String

type DisablePolicyAssignmentRequest

type DisablePolicyAssignmentRequest struct {

	// 规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

DisablePolicyAssignmentRequest Request Object

func (DisablePolicyAssignmentRequest) String

type DisablePolicyAssignmentResponse

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

DisablePolicyAssignmentResponse Response Object

func (DisablePolicyAssignmentResponse) String

type EnablePolicyAssignmentRequest

type EnablePolicyAssignmentRequest struct {

	// 规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

EnablePolicyAssignmentRequest Request Object

func (EnablePolicyAssignmentRequest) String

type EnablePolicyAssignmentResponse

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

EnablePolicyAssignmentResponse Response Object

func (EnablePolicyAssignmentResponse) String

type GroupedResourceCount

type GroupedResourceCount struct {

	// 分组名称。
	GroupName *string `json:"group_name,omitempty"`

	// 资源数量。
	ResourceCount *int32 `json:"resource_count,omitempty"`
}

func (GroupedResourceCount) String

func (o GroupedResourceCount) String() string

type HistoryItem

type HistoryItem struct {

	// 用户id
	DomainId *string `json:"domain_id,omitempty"`

	// 资源id
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源类型
	ResourceType *string `json:"resource_type,omitempty"`

	// 该资源在Config系统捕获时间
	CaptureTime *string `json:"capture_time,omitempty"`

	// 资源状态
	Status *string `json:"status,omitempty"`

	// 资源关系列表
	Relations *[]ResourceRelation `json:"relations,omitempty"`

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

HistoryItem 资源历史

func (HistoryItem) String

func (o HistoryItem) String() string

type ListAggregateComplianceByPolicyAssignmentRequest

type ListAggregateComplianceByPolicyAssignmentRequest struct {

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

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

ListAggregateComplianceByPolicyAssignmentRequest Request Object

func (ListAggregateComplianceByPolicyAssignmentRequest) String

type ListAggregateComplianceByPolicyAssignmentResponse

type ListAggregateComplianceByPolicyAssignmentResponse struct {

	// 聚合合规规则的列表。
	AggregatePolicyAssignments *[]AggregatePolicyAssignments `json:"aggregate_policy_assignments,omitempty"`

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

ListAggregateComplianceByPolicyAssignmentResponse Response Object

func (ListAggregateComplianceByPolicyAssignmentResponse) String

type ListAggregateDiscoveredResourcesRequest

type ListAggregateDiscoveredResourcesRequest struct {

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

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

ListAggregateDiscoveredResourcesRequest Request Object

func (ListAggregateDiscoveredResourcesRequest) String

type ListAggregateDiscoveredResourcesResponse

type ListAggregateDiscoveredResourcesResponse struct {

	// 资源信息列表。
	ResourceIdentifiers *[]ResourceIdentifier `json:"resource_identifiers,omitempty"`

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

ListAggregateDiscoveredResourcesResponse Response Object

func (ListAggregateDiscoveredResourcesResponse) String

type ListAggregationAuthorizationsRequest

type ListAggregationAuthorizationsRequest struct {

	// 授权的帐号ID。
	AccountId *string `json:"account_id,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListAggregationAuthorizationsRequest Request Object

func (ListAggregationAuthorizationsRequest) String

type ListAggregationAuthorizationsResponse

type ListAggregationAuthorizationsResponse struct {

	// 授权过的资源聚合器帐号列表。
	AggregationAuthorizations *[]AggregationAuthorizationResp `json:"aggregation_authorizations,omitempty"`

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

ListAggregationAuthorizationsResponse Response Object

func (ListAggregationAuthorizationsResponse) String

type ListAllResourcesRequest

type ListAllResourcesRequest struct {

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 企业项目ID
	EpId *string `json:"ep_id,omitempty"`

	// 资源类型(provider.type)
	Type *string `json:"type,omitempty"`

	// 最大的返回数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 资源ID
	Id *string `json:"id,omitempty"`

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 标签列表
	Tags *[]string `json:"tags,omitempty"`
}

ListAllResourcesRequest 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:"-"`
}

ListAllResourcesResponse Response Object

func (ListAllResourcesResponse) String

func (o ListAllResourcesResponse) String() string

type ListAllTagsRequest

type ListAllTagsRequest struct {

	// 标签键名
	Key *string `json:"key,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 最大的返回数量。
	Limit *int32 `json:"limit,omitempty"`
}

ListAllTagsRequest Request Object

func (ListAllTagsRequest) String

func (o ListAllTagsRequest) String() string

type ListAllTagsResponse

type ListAllTagsResponse struct {

	// 标签列表
	Tags *[]TagDetail `json:"tags,omitempty"`

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

ListAllTagsResponse Response Object

func (ListAllTagsResponse) String

func (o ListAllTagsResponse) String() string

type ListBuiltInConformancePackTemplatesRequest added in v0.1.52

type ListBuiltInConformancePackTemplatesRequest struct {

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 预定义合规包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 选择接口返回的信息的语言,默认为\"zh-cn\"中文
	XLanguage *ListBuiltInConformancePackTemplatesRequestXLanguage `json:"X-Language,omitempty"`
}

ListBuiltInConformancePackTemplatesRequest Request Object

func (ListBuiltInConformancePackTemplatesRequest) String added in v0.1.52

type ListBuiltInConformancePackTemplatesRequestXLanguage added in v0.1.52

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

func (ListBuiltInConformancePackTemplatesRequestXLanguage) MarshalJSON added in v0.1.52

func (*ListBuiltInConformancePackTemplatesRequestXLanguage) UnmarshalJSON added in v0.1.52

func (ListBuiltInConformancePackTemplatesRequestXLanguage) Value added in v0.1.52

type ListBuiltInConformancePackTemplatesRequestXLanguageEnum added in v0.1.52

type ListBuiltInConformancePackTemplatesRequestXLanguageEnum struct {
	ZH_CN ListBuiltInConformancePackTemplatesRequestXLanguage
	EN_US ListBuiltInConformancePackTemplatesRequestXLanguage
}

func GetListBuiltInConformancePackTemplatesRequestXLanguageEnum added in v0.1.52

func GetListBuiltInConformancePackTemplatesRequestXLanguageEnum() ListBuiltInConformancePackTemplatesRequestXLanguageEnum

type ListBuiltInConformancePackTemplatesResponse added in v0.1.52

type ListBuiltInConformancePackTemplatesResponse struct {

	// 预定义合规规则包模板列表。
	Value *[]ConformancePackTemplate `json:"value,omitempty"`

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

ListBuiltInConformancePackTemplatesResponse Response Object

func (ListBuiltInConformancePackTemplatesResponse) String added in v0.1.52

type ListBuiltInPolicyDefinitionsRequest

type ListBuiltInPolicyDefinitionsRequest struct {

	// 选择接口返回的信息的语言,默认为\"zh-cn\"中文
	XLanguage *string `json:"X-Language,omitempty"`
}

ListBuiltInPolicyDefinitionsRequest Request Object

func (ListBuiltInPolicyDefinitionsRequest) String

type ListBuiltInPolicyDefinitionsResponse

type ListBuiltInPolicyDefinitionsResponse struct {

	// 策略定义列表
	Value *[]PolicyDefinition `json:"value,omitempty"`

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

ListBuiltInPolicyDefinitionsResponse Response Object

func (ListBuiltInPolicyDefinitionsResponse) String

type ListConfigurationAggregatorsRequest

type ListConfigurationAggregatorsRequest struct {

	// 资源聚合器名称。
	AggregatorName *string `json:"aggregator_name,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListConfigurationAggregatorsRequest Request Object

func (ListConfigurationAggregatorsRequest) String

type ListConfigurationAggregatorsResponse

type ListConfigurationAggregatorsResponse struct {

	// 资源聚合器列表。
	ConfigurationAggregators *[]ConfigurationAggregatorResp `json:"configuration_aggregators,omitempty"`

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

ListConfigurationAggregatorsResponse Response Object

func (ListConfigurationAggregatorsResponse) String

type ListConformancePackComplianceByPackIdRequest added in v0.1.52

type ListConformancePackComplianceByPackIdRequest struct {

	// 合规规则包ID。
	ConformancePackId string `json:"conformance_pack_id"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 合规规则名称。
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`
}

ListConformancePackComplianceByPackIdRequest Request Object

func (ListConformancePackComplianceByPackIdRequest) String added in v0.1.52

type ListConformancePackComplianceByPackIdResponse added in v0.1.52

type ListConformancePackComplianceByPackIdResponse struct {

	// 合规规则包的合规规则评估结果列表。
	Value *[]ConformancePackCompliance `json:"value,omitempty"`

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

ListConformancePackComplianceByPackIdResponse Response Object

func (ListConformancePackComplianceByPackIdResponse) String added in v0.1.52

type ListConformancePackComplianceDetailsByPackIdRequest added in v0.1.52

type ListConformancePackComplianceDetailsByPackIdRequest struct {

	// 合规规则包ID。
	ConformancePackId string `json:"conformance_pack_id"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 合规规则名称。
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`
}

ListConformancePackComplianceDetailsByPackIdRequest Request Object

func (ListConformancePackComplianceDetailsByPackIdRequest) String added in v0.1.52

type ListConformancePackComplianceDetailsByPackIdResponse added in v0.1.52

type ListConformancePackComplianceDetailsByPackIdResponse struct {

	// 合规规则包的合规规则评估结果详情列表。
	Value *[]ConformancePackComplianceDetail `json:"value,omitempty"`

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

ListConformancePackComplianceDetailsByPackIdResponse Response Object

func (ListConformancePackComplianceDetailsByPackIdResponse) String added in v0.1.52

type ListConformancePackComplianceScoresRequest added in v0.1.52

type ListConformancePackComplianceScoresRequest struct {

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 合规规则包名称。
	ConformancePackName *string `json:"conformance_pack_name,omitempty"`
}

ListConformancePackComplianceScoresRequest Request Object

func (ListConformancePackComplianceScoresRequest) String added in v0.1.52

type ListConformancePackComplianceScoresResponse added in v0.1.52

type ListConformancePackComplianceScoresResponse struct {

	// 合规规则包分数查询列表。
	Value *[]ConformancePackScore `json:"value,omitempty"`

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

ListConformancePackComplianceScoresResponse Response Object

func (ListConformancePackComplianceScoresResponse) String added in v0.1.52

type ListConformancePacksRequest added in v0.1.52

type ListConformancePacksRequest struct {

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 合规规则包名称。
	ConformancePackName *string `json:"conformance_pack_name,omitempty"`
}

ListConformancePacksRequest Request Object

func (ListConformancePacksRequest) String added in v0.1.52

type ListConformancePacksResponse added in v0.1.52

type ListConformancePacksResponse struct {

	// 合规规则包查询列表。
	Value *[]ConformancePack `json:"value,omitempty"`

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

ListConformancePacksResponse Response Object

func (ListConformancePacksResponse) String added in v0.1.52

type ListOrganizationConformancePackStatusesRequest added in v0.1.61

type ListOrganizationConformancePackStatusesRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 组织合规规则包ID。
	OrganizationConformancePackId *string `json:"organization_conformance_pack_id,omitempty"`

	// 合规规则包名称。
	ConformancePackName *string `json:"conformance_pack_name,omitempty"`
}

ListOrganizationConformancePackStatusesRequest Request Object

func (ListOrganizationConformancePackStatusesRequest) String added in v0.1.61

type ListOrganizationConformancePackStatusesResponse added in v0.1.61

type ListOrganizationConformancePackStatusesResponse struct {

	// 组织合规规则包查询列表。
	Statuses *[]OrgConformancePackStatus `json:"statuses,omitempty"`

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

ListOrganizationConformancePackStatusesResponse Response Object

func (ListOrganizationConformancePackStatusesResponse) String added in v0.1.61

type ListOrganizationConformancePacksRequest added in v0.1.61

type ListOrganizationConformancePacksRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 组织合规规则包ID。
	OrganizationConformancePackId *string `json:"organization_conformance_pack_id,omitempty"`

	// 合规规则包名称。
	ConformancePackName *string `json:"conformance_pack_name,omitempty"`
}

ListOrganizationConformancePacksRequest Request Object

func (ListOrganizationConformancePacksRequest) String added in v0.1.61

type ListOrganizationConformancePacksResponse added in v0.1.61

type ListOrganizationConformancePacksResponse struct {

	// 组织合规规则包查询列表。
	OrganizationConformancePacks *[]OrgConformancePackResponse `json:"organization_conformance_packs,omitempty"`

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

ListOrganizationConformancePacksResponse Response Object

func (ListOrganizationConformancePacksResponse) String added in v0.1.61

type ListOrganizationPolicyAssignmentsRequest

type ListOrganizationPolicyAssignmentsRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 组织合规规则ID
	OrganizationPolicyAssignmentId *string `json:"organization_policy_assignment_id,omitempty"`

	// 组织合规规则名称。
	OrganizationPolicyAssignmentName *string `json:"organization_policy_assignment_name,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListOrganizationPolicyAssignmentsRequest Request Object

func (ListOrganizationPolicyAssignmentsRequest) String

type ListOrganizationPolicyAssignmentsResponse

type ListOrganizationPolicyAssignmentsResponse struct {

	// 组织合规规则列表。
	OrganizationPolicyAssignments *[]OrganizationPolicyAssignmentResponse `json:"organization_policy_assignments,omitempty"`

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

ListOrganizationPolicyAssignmentsResponse Response Object

func (ListOrganizationPolicyAssignmentsResponse) String

type ListPendingAggregationRequestsRequest

type ListPendingAggregationRequestsRequest struct {

	// 授权的帐号ID。
	AccountId *string `json:"account_id,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListPendingAggregationRequestsRequest Request Object

func (ListPendingAggregationRequestsRequest) String

type ListPendingAggregationRequestsResponse

type ListPendingAggregationRequestsResponse struct {

	// 挂起的聚合请求列表。
	PendingAggregationRequests *[]PendingAggregationRequest `json:"pending_aggregation_requests,omitempty"`

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

ListPendingAggregationRequestsResponse Response Object

func (ListPendingAggregationRequestsResponse) String

type ListPolicyAssignmentsRequest

type ListPolicyAssignmentsRequest struct {

	// 合规规则名称
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListPolicyAssignmentsRequest Request Object

func (ListPolicyAssignmentsRequest) String

type ListPolicyAssignmentsResponse

type ListPolicyAssignmentsResponse struct {

	// 规则列表
	Value *[]PolicyAssignment `json:"value,omitempty"`

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

ListPolicyAssignmentsResponse Response Object

func (ListPolicyAssignmentsResponse) String

type ListPolicyStatesByAssignmentIdRequest

type ListPolicyStatesByAssignmentIdRequest struct {

	// 规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`

	// 合规状态
	ComplianceState *string `json:"compliance_state,omitempty"`

	// 资源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源名称
	ResourceName *string `json:"resource_name,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListPolicyStatesByAssignmentIdRequest Request Object

func (ListPolicyStatesByAssignmentIdRequest) String

type ListPolicyStatesByAssignmentIdResponse

type ListPolicyStatesByAssignmentIdResponse struct {

	// 合规结果查询返回值
	Value *[]PolicyState `json:"value,omitempty"`

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

ListPolicyStatesByAssignmentIdResponse Response Object

func (ListPolicyStatesByAssignmentIdResponse) String

type ListPolicyStatesByDomainIdRequest

type ListPolicyStatesByDomainIdRequest struct {

	// 合规状态
	ComplianceState *string `json:"compliance_state,omitempty"`

	// 资源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源名称
	ResourceName *string `json:"resource_name,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListPolicyStatesByDomainIdRequest Request Object

func (ListPolicyStatesByDomainIdRequest) String

type ListPolicyStatesByDomainIdResponse

type ListPolicyStatesByDomainIdResponse struct {

	// 合规结果查询返回值
	Value *[]PolicyState `json:"value,omitempty"`

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

ListPolicyStatesByDomainIdResponse Response Object

func (ListPolicyStatesByDomainIdResponse) String

type ListPolicyStatesByResourceIdRequest

type ListPolicyStatesByResourceIdRequest struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 合规状态
	ComplianceState *string `json:"compliance_state,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListPolicyStatesByResourceIdRequest Request Object

func (ListPolicyStatesByResourceIdRequest) String

type ListPolicyStatesByResourceIdResponse

type ListPolicyStatesByResourceIdResponse struct {

	// 合规结果查询返回值
	Value *[]PolicyState `json:"value,omitempty"`

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

ListPolicyStatesByResourceIdResponse Response Object

func (ListPolicyStatesByResourceIdResponse) String

type ListProvidersRequest

type ListProvidersRequest struct {

	// 分页偏移
	Offset *int32 `json:"offset,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 资源是否默认收集
	Track *ListProvidersRequestTrack `json:"track,omitempty"`

	// 选择接口返回的信息的语言,默认为\"zh-cn\"中文
	XLanguage *ListProvidersRequestXLanguage `json:"X-Language,omitempty"`
}

ListProvidersRequest Request Object

func (ListProvidersRequest) String

func (o ListProvidersRequest) String() string

type ListProvidersRequestTrack

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

func (ListProvidersRequestTrack) MarshalJSON

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

func (*ListProvidersRequestTrack) UnmarshalJSON

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

func (ListProvidersRequestTrack) Value

type ListProvidersRequestTrackEnum

type ListProvidersRequestTrackEnum struct {
	TRACKED   ListProvidersRequestTrack
	UNTRACKED ListProvidersRequestTrack
}

func GetListProvidersRequestTrackEnum

func GetListProvidersRequestTrackEnum() ListProvidersRequestTrackEnum

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

func (ListProvidersRequestXLanguage) Value

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:"-"`
}

ListProvidersResponse Response Object

func (ListProvidersResponse) String

func (o ListProvidersResponse) String() string

type ListRegionsRequest

type ListRegionsRequest struct {

	// 选择接口返回的信息的语言,默认为\"zh-cn\"中文
	XLanguage *ListRegionsRequestXLanguage `json:"X-Language,omitempty"`
}

ListRegionsRequest 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

func (ListRegionsRequestXLanguage) Value

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:"-"`
}

ListRegionsResponse Response Object

func (ListRegionsResponse) String

func (o ListRegionsResponse) String() string

type ListResourcesRequest

type ListResourcesRequest struct {

	// 云服务名称
	Provider string `json:"provider"`

	// 资源类型名称
	Type string `json:"type"`

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 企业项目ID
	EpId *string `json:"ep_id,omitempty"`

	// 标签
	Tag map[string][]string `json:"tag,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListResourcesRequest 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:"-"`
}

ListResourcesResponse Response Object

func (ListResourcesResponse) String

func (o ListResourcesResponse) String() string

type ListSchemasRequest

type ListSchemasRequest struct {

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ListSchemasRequest Request Object

func (ListSchemasRequest) String

func (o ListSchemasRequest) String() string

type ListSchemasResponse

type ListSchemasResponse struct {

	// schemas 接口.
	Value *[]ResourceSchemaResponse `json:"value,omitempty"`

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

ListSchemasResponse Response Object

func (ListSchemasResponse) String

func (o ListSchemasResponse) String() string

type ListStoredQueriesRequest

type ListStoredQueriesRequest struct {

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// ResourceQL 名字
	Name *string `json:"name,omitempty"`
}

ListStoredQueriesRequest Request Object

func (ListStoredQueriesRequest) String

func (o ListStoredQueriesRequest) String() string

type ListStoredQueriesResponse

type ListStoredQueriesResponse struct {

	// 高级查询列表
	Value *[]StoredQuery `json:"value,omitempty"`

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

ListStoredQueriesResponse Response Object

func (ListStoredQueriesResponse) String

func (o ListStoredQueriesResponse) String() string

type ListTrackedResourceTagsRequest added in v0.1.72

type ListTrackedResourceTagsRequest struct {

	// 标签键名
	Key *string `json:"key,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 最大的返回数量。
	Limit *int32 `json:"limit,omitempty"`
}

ListTrackedResourceTagsRequest Request Object

func (ListTrackedResourceTagsRequest) String added in v0.1.72

type ListTrackedResourceTagsResponse added in v0.1.72

type ListTrackedResourceTagsResponse struct {

	// 标签列表
	Tags *[]TagDetail `json:"tags,omitempty"`

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

ListTrackedResourceTagsResponse Response Object

func (ListTrackedResourceTagsResponse) String added in v0.1.72

type ListTrackedResourcesRequest added in v0.1.72

type ListTrackedResourcesRequest struct {

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 企业项目ID
	EpId *string `json:"ep_id,omitempty"`

	// 资源类型(provider.type)
	Type *string `json:"type,omitempty"`

	// 最大的返回数量。
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

	// 资源ID
	Id *string `json:"id,omitempty"`

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 标签列表
	Tags *[]string `json:"tags,omitempty"`
}

ListTrackedResourcesRequest Request Object

func (ListTrackedResourcesRequest) String added in v0.1.72

type ListTrackedResourcesResponse added in v0.1.72

type ListTrackedResourcesResponse struct {

	// 资源列表
	Resources *[]ResourceEntity `json:"resources,omitempty"`

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

ListTrackedResourcesResponse Response Object

func (ListTrackedResourcesResponse) String added in v0.1.72

type ManagedPolicyAssignmentMetadata

type ManagedPolicyAssignmentMetadata struct {

	// 规则描述。
	Description *string `json:"description,omitempty"`

	// 触发周期。
	Period *ManagedPolicyAssignmentMetadataPeriod `json:"period,omitempty"`

	// 输入参数。
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

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

	// 预定义策略标识符。
	PolicyDefinitionId string `json:"policy_definition_id"`
}

ManagedPolicyAssignmentMetadata 托管规则元数据。

func (ManagedPolicyAssignmentMetadata) String

type ManagedPolicyAssignmentMetadataPeriod

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

func (ManagedPolicyAssignmentMetadataPeriod) MarshalJSON

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

func (*ManagedPolicyAssignmentMetadataPeriod) UnmarshalJSON

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

func (ManagedPolicyAssignmentMetadataPeriod) Value

type OrgConformancePackDetailedStatus added in v0.1.61

type OrgConformancePackDetailedStatus struct {

	// 成员帐号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 合规规则包ID。
	ConformancePackId *string `json:"conformance_pack_id,omitempty"`

	// 合规规则包名称。
	ConformancePackName *string `json:"conformance_pack_name,omitempty"`

	// 合规规则包部署状态
	State *string `json:"state,omitempty"`

	// 部署或删除组织合规规则包错误时的错误信息
	ErrorMessage *string `json:"error_message,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

OrgConformancePackDetailedStatus 组织合规规则包查询结果。

func (OrgConformancePackDetailedStatus) String added in v0.1.61

type OrgConformancePackRequestBody added in v0.1.61

type OrgConformancePackRequestBody struct {

	// 组织合规规则包名称。
	Name string `json:"name"`

	// 排除配置合规包的帐号。
	ExcludedAccounts *[]string `json:"excluded_accounts,omitempty"`

	// 预定义合规规则包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 自定义合规规则包内容。
	TemplateBody *string `json:"template_body,omitempty"`

	// 合规规则包模板OBS地址。
	TemplateUri *string `json:"template_uri,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`
}

OrgConformancePackRequestBody 组织合规规则包请求体。

func (OrgConformancePackRequestBody) String added in v0.1.61

type OrgConformancePackResponse added in v0.1.61

type OrgConformancePackResponse struct {

	// 组织合规规则包ID。
	OrgConformancePackId *string `json:"org_conformance_pack_id,omitempty"`

	// 组织合规规则包名称。
	OrgConformancePackName *string `json:"org_conformance_pack_name,omitempty"`

	// 组织合规规则包创建者。
	OwnerId *string `json:"owner_id,omitempty"`

	// 组织ID
	OrganizationId *string `json:"organization_id,omitempty"`

	// 组织合规规则包资源唯一标识。
	OrgConformancePackUrn *string `json:"org_conformance_pack_urn,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`

	// 组织合规规则包创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 组织合规规则包更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

OrgConformancePackResponse 组织合规规则包详情。

func (OrgConformancePackResponse) String added in v0.1.61

type OrgConformancePackStatus added in v0.1.61

type OrgConformancePackStatus struct {

	// 组织合规规则包ID。
	OrgConformancePackId *string `json:"org_conformance_pack_id,omitempty"`

	// 组织合规规则包名称。
	OrgConformancePackName *string `json:"org_conformance_pack_name,omitempty"`

	// 合规规则包部署状态
	State *string `json:"state,omitempty"`

	// 部署或删除组织合规规则包错误时的错误信息
	ErrorMessage *string `json:"error_message,omitempty"`

	// 组织合规规则包创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 组织合规规则包更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

OrgConformancePackStatus 组织合规规则包详情。

func (OrgConformancePackStatus) String added in v0.1.61

func (o OrgConformancePackStatus) String() string

type OrganizationPolicyAssignmentDetailedStatusResponse

type OrganizationPolicyAssignmentDetailedStatusResponse struct {

	// 帐号ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 合规规则ID。
	PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"`

	// 合规规则名称。
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	// 成员帐号中配置规则的部署状态。
	MemberAccountPolicyAssignmentStatus *string `json:"member_account_policy_assignment_status,omitempty"`

	// 当创建或更新合规规则失败时错误码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 当创建或更新合规规则失败时错误信息。
	ErrorMessage *string `json:"error_message,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

OrganizationPolicyAssignmentDetailedStatusResponse 组织合规规则部署详细状态。

func (OrganizationPolicyAssignmentDetailedStatusResponse) String

type OrganizationPolicyAssignmentRequest

type OrganizationPolicyAssignmentRequest struct {

	// 需要排除配置规则的帐号。
	ExcludedAccounts *[]string `json:"excluded_accounts,omitempty"`

	// 组织合规规则名称。
	OrganizationPolicyAssignmentName string `json:"organization_policy_assignment_name"`

	ManagedPolicyAssignmentMetadata *ManagedPolicyAssignmentMetadata `json:"managed_policy_assignment_metadata,omitempty"`
}

OrganizationPolicyAssignmentRequest 组织合规规则请求体。

func (OrganizationPolicyAssignmentRequest) String

type OrganizationPolicyAssignmentResponse

type OrganizationPolicyAssignmentResponse struct {

	// 组织合规规则创建者。
	OwnerId *string `json:"owner_id,omitempty"`

	// 组织ID。
	OrganizationId *string `json:"organization_id,omitempty"`

	// 组织合规规则资源唯一标识。
	OrganizationPolicyAssignmentUrn *string `json:"organization_policy_assignment_urn,omitempty"`

	// 组织合规规则ID。
	OrganizationPolicyAssignmentId *string `json:"organization_policy_assignment_id,omitempty"`

	// 组织合规规则名称。
	OrganizationPolicyAssignmentName *string `json:"organization_policy_assignment_name,omitempty"`

	// 描述信息。
	Description *string `json:"description,omitempty"`

	// 触发周期。
	Period *string `json:"period,omitempty"`

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

	// 规则参数。
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

	// 策略ID。
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

OrganizationPolicyAssignmentResponse 组织合规规则部署返回。

func (OrganizationPolicyAssignmentResponse) String

type OrganizationPolicyAssignmentStatusResponse

type OrganizationPolicyAssignmentStatusResponse struct {

	// 组织合规规则ID。
	OrganizationPolicyAssignmentId *string `json:"organization_policy_assignment_id,omitempty"`

	// 组织合规规则名称。
	OrganizationPolicyAssignmentName *string `json:"organization_policy_assignment_name,omitempty"`

	// 组织合规规则部署状态。
	OrganizationPolicyAssignmentStatus *string `json:"organization_policy_assignment_status,omitempty"`

	// 当创建或更新组织合规规则失败时错误码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 当创建或更新组织合规规则失败时错误信息。
	ErrorMessage *string `json:"error_message,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

OrganizationPolicyAssignmentStatusResponse 组织合规规则部署状态。

func (OrganizationPolicyAssignmentStatusResponse) String

type PageInfo

type PageInfo struct {

	// 当前页的资源数量
	CurrentCount *int32 `json:"current_count,omitempty"`

	// 下一页的marker
	NextMarker *string `json:"next_marker,omitempty"`
}

PageInfo 分页对象

func (PageInfo) String

func (o PageInfo) String() string

type PendingAggregationRequest

type PendingAggregationRequest struct {

	// 请求聚合数据的帐号ID。
	RequesterAccountId *string `json:"requester_account_id,omitempty"`
}

PendingAggregationRequest PendingAggregationRequest对象。

func (PendingAggregationRequest) String

func (o PendingAggregationRequest) String() string

type PolicyAssignment

type PolicyAssignment struct {

	// 规则类型,包括预定义合规规则(builtin)和用户自定义合规规则(custom)
	PolicyAssignmentType *PolicyAssignmentPolicyAssignmentType `json:"policy_assignment_type,omitempty"`

	// 规则ID
	Id *string `json:"id,omitempty"`

	// 规则名字
	Name *string `json:"name,omitempty"`

	// 规则描述
	Description *string `json:"description,omitempty"`

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

	// 触发周期值,可选值:One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours
	Period *string `json:"period,omitempty"`

	// 规则状态
	State *string `json:"state,omitempty"`

	// 规则创建时间
	Created *string `json:"created,omitempty"`

	// 规则更新时间
	Updated *string `json:"updated,omitempty"`

	// 规则的策略ID
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	CustomPolicy *CustomPolicy `json:"custom_policy,omitempty"`

	// 规则参数
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

	// 规则的创建者
	CreatedBy *string `json:"created_by,omitempty"`
}

PolicyAssignment 规则

func (PolicyAssignment) String

func (o PolicyAssignment) String() string

type PolicyAssignmentPolicyAssignmentType

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

func (PolicyAssignmentPolicyAssignmentType) MarshalJSON

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

func (*PolicyAssignmentPolicyAssignmentType) UnmarshalJSON

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

func (PolicyAssignmentPolicyAssignmentType) Value

type PolicyAssignmentPolicyAssignmentTypeEnum

type PolicyAssignmentPolicyAssignmentTypeEnum struct {
	BUILTIN PolicyAssignmentPolicyAssignmentType
	CUSTOM  PolicyAssignmentPolicyAssignmentType
}

func GetPolicyAssignmentPolicyAssignmentTypeEnum

func GetPolicyAssignmentPolicyAssignmentTypeEnum() PolicyAssignmentPolicyAssignmentTypeEnum

type PolicyAssignmentRequestBody

type PolicyAssignmentRequestBody struct {

	// 规则类型,包括预定义合规规则(builtin)和用户自定义合规规则(custom)
	PolicyAssignmentType *PolicyAssignmentRequestBodyPolicyAssignmentType `json:"policy_assignment_type,omitempty"`

	// 规则名字
	Name string `json:"name"`

	// 规则描述
	Description *string `json:"description,omitempty"`

	// 触发周期值,可选值:One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours
	Period *PolicyAssignmentRequestBodyPeriod `json:"period,omitempty"`

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

	CustomPolicy *CustomPolicy `json:"custom_policy,omitempty"`

	// 策略定义ID
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	// 规则参数
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`
}

PolicyAssignmentRequestBody 规则请求体

func (PolicyAssignmentRequestBody) String

type PolicyAssignmentRequestBodyPeriod

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

func (PolicyAssignmentRequestBodyPeriod) MarshalJSON

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

func (*PolicyAssignmentRequestBodyPeriod) UnmarshalJSON

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

func (PolicyAssignmentRequestBodyPeriod) Value

type PolicyAssignmentRequestBodyPolicyAssignmentType

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

func (PolicyAssignmentRequestBodyPolicyAssignmentType) MarshalJSON

func (*PolicyAssignmentRequestBodyPolicyAssignmentType) UnmarshalJSON

func (PolicyAssignmentRequestBodyPolicyAssignmentType) Value

type PolicyComplianceSummaryUnit

type PolicyComplianceSummaryUnit struct {

	// 合规数量
	CompliantCount *int32 `json:"compliant_count,omitempty"`

	// 不合规数量
	NonCompliantCount *int32 `json:"non_compliant_count,omitempty"`
}

PolicyComplianceSummaryUnit 规则总结详情

func (PolicyComplianceSummaryUnit) String

type PolicyDefinition

type PolicyDefinition struct {

	// 策略id
	Id *string `json:"id,omitempty"`

	// 策略名字
	Name *string `json:"name,omitempty"`

	// 策略展示名
	DisplayName *string `json:"display_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"`

	// 触发器类型,可选值:resource, period
	TriggerType *string `json:"trigger_type,omitempty"`

	// 关键词列表
	Keywords *[]string `json:"keywords,omitempty"`

	// 默认资源类型列表
	DefaultResourceTypes *[]PolicyDefinitionDefaultResourceTypes `json:"default_resource_types,omitempty"`

	// 策略参数
	Parameters map[string]PolicyParameterDefinition `json:"parameters,omitempty"`
}

PolicyDefinition 策略定义

func (PolicyDefinition) String

func (o PolicyDefinition) String() string

type PolicyDefinitionDefaultResourceTypes

type PolicyDefinitionDefaultResourceTypes struct {

	// 云服务名称
	Provider *string `json:"provider,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`
}

PolicyDefinitionDefaultResourceTypes 默认资源类型

func (PolicyDefinitionDefaultResourceTypes) String

type PolicyFilterDefinition

type PolicyFilterDefinition struct {

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 云服务名称
	ResourceProvider *string `json:"resource_provider,omitempty"`

	// 资源类型
	ResourceType *string `json:"resource_type,omitempty"`

	// 资源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 标签键
	TagKey *string `json:"tag_key,omitempty"`

	// 标签值
	TagValue *string `json:"tag_value,omitempty"`
}

PolicyFilterDefinition 规则过滤器

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"`

	// 策略参数的最小值,当参数类型为Integer或Float时生效。
	Minimum *float32 `json:"minimum,omitempty"`

	// 策略参数的最大值,当参数类型为Integer或Float时生效。
	Maximum *float32 `json:"maximum,omitempty"`

	// 策略参数的最小项数,当参数类型为Array时生效。
	MinItems *int32 `json:"min_items,omitempty"`

	// 策略参数的最大项数,当参数类型为Array时生效。
	MaxItems *int32 `json:"max_items,omitempty"`

	// 策略参数的最小字符串长度或每项的最小字符串长度,当参数类型为String或Array时生效。
	MinLength *int32 `json:"min_length,omitempty"`

	// 策略参数的最大字符串长度或每项的最大字符串长度,当参数类型为String或Array时生效。
	MaxLength *int32 `json:"max_length,omitempty"`

	// 策略参数的字符串正则要求或每项的字符串正则要求,当参数类型为String或Array时生效。
	Pattern *string `json:"pattern,omitempty"`

	// 策略参数类型
	Type *PolicyParameterDefinitionType `json:"type,omitempty"`
}

PolicyParameterDefinition 策略参数定义

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

func (PolicyParameterDefinitionType) Value

type PolicyParameterValue

type PolicyParameterValue struct {

	// 规则参数值
	Value *interface{} `json:"value,omitempty"`
}

PolicyParameterValue 规则参数值

func (PolicyParameterValue) String

func (o PolicyParameterValue) String() string

type PolicyResource

type PolicyResource struct {

	// 资源id
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源名称
	ResourceName *string `json:"resource_name,omitempty"`

	// 云服务名称
	ResourceProvider *string `json:"resource_provider,omitempty"`

	// 资源类型
	ResourceType *string `json:"resource_type,omitempty"`

	// 区域id
	RegionId *string `json:"region_id,omitempty"`

	// 资源所属用户ID
	DomainId *string `json:"domain_id,omitempty"`
}

PolicyResource 资源

func (PolicyResource) String

func (o PolicyResource) String() string

type PolicyState

type PolicyState struct {

	// 用户ID
	DomainId *string `json:"domain_id,omitempty"`

	// 资源区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 资源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源名称
	ResourceName *string `json:"resource_name,omitempty"`

	// 云服务名称
	ResourceProvider *string `json:"resource_provider,omitempty"`

	// 资源类型
	ResourceType *string `json:"resource_type,omitempty"`

	// 触发器类型,可选值:resource, period
	TriggerType *string `json:"trigger_type,omitempty"`

	// 合规状态
	ComplianceState *string `json:"compliance_state,omitempty"`

	// 规则ID
	PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"`

	// 规则名称
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	// 策略ID
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	// 合规状态评估时间
	EvaluationTime *string `json:"evaluation_time,omitempty"`
}

PolicyState 合规状态

func (PolicyState) String

func (o PolicyState) String() string

type PolicyStateRequestBody

type PolicyStateRequestBody struct {
	PolicyResource *PolicyResource `json:"policy_resource"`

	// 触发器类型
	TriggerType PolicyStateRequestBodyTriggerType `json:"trigger_type"`

	// 合规状态
	ComplianceState PolicyStateRequestBodyComplianceState `json:"compliance_state"`

	// 规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`

	// 规则名称
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	// 合规状态评估时间
	EvaluationTime string `json:"evaluation_time"`

	// 评估校验码
	EvaluationHash string `json:"evaluation_hash"`
}

PolicyStateRequestBody 合规评估结果

func (PolicyStateRequestBody) String

func (o PolicyStateRequestBody) String() string

type PolicyStateRequestBodyComplianceState

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

func (PolicyStateRequestBodyComplianceState) MarshalJSON

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

func (*PolicyStateRequestBodyComplianceState) UnmarshalJSON

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

func (PolicyStateRequestBodyComplianceState) Value

type PolicyStateRequestBodyComplianceStateEnum

type PolicyStateRequestBodyComplianceStateEnum struct {
	NON_COMPLIANT PolicyStateRequestBodyComplianceState
	COMPLIANT     PolicyStateRequestBodyComplianceState
}

func GetPolicyStateRequestBodyComplianceStateEnum

func GetPolicyStateRequestBodyComplianceStateEnum() PolicyStateRequestBodyComplianceStateEnum

type PolicyStateRequestBodyTriggerType

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

func (PolicyStateRequestBodyTriggerType) MarshalJSON

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

func (*PolicyStateRequestBodyTriggerType) UnmarshalJSON

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

func (PolicyStateRequestBodyTriggerType) Value

type PolicyStateRequestBodyTriggerTypeEnum

type PolicyStateRequestBodyTriggerTypeEnum struct {
	RESOURCE PolicyStateRequestBodyTriggerType
	PERIOD   PolicyStateRequestBodyTriggerType
}

func GetPolicyStateRequestBodyTriggerTypeEnum

func GetPolicyStateRequestBodyTriggerTypeEnum() PolicyStateRequestBodyTriggerTypeEnum

type QueryInfo

type QueryInfo struct {

	// ResourceQL 查询字段
	SelectFields *[]string `json:"select_fields,omitempty"`
}

func (QueryInfo) String

func (o QueryInfo) String() string

type QueryRunRequestBody

type QueryRunRequestBody struct {

	// ResourceQL 表达式
	Expression string `json:"expression"`
}

func (QueryRunRequestBody) String

func (o QueryRunRequestBody) String() string

type Region

type Region struct {

	// 区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 区域显示名称
	DisplayName *string `json:"display_name,omitempty"`
}

Region 区域

func (Region) String

func (o Region) String() string

type ResourceCountsFilters

type ResourceCountsFilters struct {

	// 帐号ID。
	AccountId *string `json:"account_id,omitempty"`

	// 资源类型。
	ResourceType *string `json:"resource_type,omitempty"`

	// 区域ID。
	RegionId *string `json:"region_id,omitempty"`
}

ResourceCountsFilters 资源计数过滤器。

func (ResourceCountsFilters) String

func (o ResourceCountsFilters) String() string

type ResourceEntity

type ResourceEntity struct {

	// 资源id
	Id *string `json:"id,omitempty"`

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 云服务名称
	Provider *string `json:"provider,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 区域id
	RegionId *string `json:"region_id,omitempty"`

	// Openstack中的项目id
	ProjectId *string `json:"project_id,omitempty"`

	// Openstack中的项目名称
	ProjectName *string `json:"project_name,omitempty"`

	// 企业项目id
	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"`

	// 资源Tag
	Tags map[string]string `json:"tags,omitempty"`

	// 资源详细属性
	Properties map[string]interface{} `json:"properties,omitempty"`
}

ResourceEntity 资源对象

func (ResourceEntity) String

func (o ResourceEntity) String() string

type ResourceIdentifier

type ResourceIdentifier struct {

	// 资源ID。
	ResourceId string `json:"resource_id"`

	// 资源名称。
	ResourceName *string `json:"resource_name,omitempty"`

	// 云服务类型。
	Provider string `json:"provider"`

	// 资源类型。
	Type string `json:"type"`

	// 源帐号ID。
	SourceAccountId string `json:"source_account_id"`

	// 资源所属区域。
	RegionId string `json:"region_id"`
}

func (ResourceIdentifier) String

func (o ResourceIdentifier) String() string

type ResourceProviderResponse

type ResourceProviderResponse struct {

	// 云服务名称
	Provider *string `json:"provider,omitempty"`

	// 云服务显示名称,可以通过请求Header中的'X-Language'设置语言
	DisplayName *string `json:"display_name,omitempty"`

	// 云服务类别显示名称,可以通过请求Header中的'X-Language'设置语言
	CategoryDisplayName *string `json:"category_display_name,omitempty"`

	// 资源类型列表
	ResourceTypes *[]ResourceTypeResponse `json:"resource_types,omitempty"`
}

ResourceProviderResponse 云服务详情

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"`

	// 源资源ID
	FromResourceId *string `json:"from_resource_id,omitempty"`

	// 目的资源ID
	ToResourceId *string `json:"to_resource_id,omitempty"`
}

func (ResourceRelation) String

func (o ResourceRelation) String() string

type ResourceSchemaResponse

type ResourceSchemaResponse struct {

	// 资源类型.
	Type *string `json:"type,omitempty"`

	// schema 内容.
	Schema *interface{} `json:"schema,omitempty"`
}

ResourceSchemaResponse 单条schema信息

func (ResourceSchemaResponse) String

func (o ResourceSchemaResponse) String() string

type ResourceSummaryResponseItem

type ResourceSummaryResponseItem struct {

	// 云服务名称
	Provider *string `json:"provider,omitempty"`

	// 资源类型列表
	Types *[]ResourceSummaryResponseItemTypes `json:"types,omitempty"`
}

ResourceSummaryResponseItem 资源概要信息

func (ResourceSummaryResponseItem) String

type ResourceSummaryResponseItemRegions

type ResourceSummaryResponseItemRegions struct {

	// 区域id
	RegionId *string `json:"region_id,omitempty"`

	// 该资源类型在当前区域的数量
	Count *int64 `json:"count,omitempty"`
}

ResourceSummaryResponseItemRegions 区域概要

func (ResourceSummaryResponseItemRegions) String

type ResourceSummaryResponseItemTypes

type ResourceSummaryResponseItemTypes struct {

	// 资源类型名称
	Type *string `json:"type,omitempty"`

	// 区域列表
	Regions *[]ResourceSummaryResponseItemRegions `json:"regions,omitempty"`
}

ResourceSummaryResponseItemTypes 资源类型

func (ResourceSummaryResponseItemTypes) String

type ResourceTypeResponse

type ResourceTypeResponse struct {

	// 资源类型名称
	Name *string `json:"name,omitempty"`

	// 资源类型显示名称,可以通过请求中 'X-Language'设置语言
	DisplayName *string `json:"display_name,omitempty"`

	// 是否是全局类型的资源
	Global *bool `json:"global,omitempty"`

	// 支持的region列表
	Regions *[]string `json:"regions,omitempty"`

	// console终端id
	ConsoleEndpointId *string `json:"console_endpoint_id,omitempty"`

	// console列表页地址
	ConsoleListUrl *string `json:"console_list_url,omitempty"`

	// console详情页地址
	ConsoleDetailUrl *string `json:"console_detail_url,omitempty"`

	// 资源是否默认收集,\"tracked\"表示默认收集,\"untracked\"表示默认不收集
	Track *string `json:"track,omitempty"`
}

ResourceTypeResponse 资源类型详情

func (ResourceTypeResponse) String

func (o ResourceTypeResponse) String() string

type ResourcesFilters

type ResourcesFilters struct {

	// 帐号ID。
	AccountId *string `json:"account_id,omitempty"`

	// 区域ID。
	RegionId *string `json:"region_id,omitempty"`

	// 资源ID。
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源名称。
	ResourceName *string `json:"resource_name,omitempty"`
}

ResourcesFilters 资源计数过滤器。

func (ResourcesFilters) String

func (o ResourcesFilters) String() string

type RunAggregateResourceQueryRequest

type RunAggregateResourceQueryRequest struct {

	// 资源聚合器ID。
	AggregatorId string `json:"aggregator_id"`

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

RunAggregateResourceQueryRequest Request Object

func (RunAggregateResourceQueryRequest) String

type RunAggregateResourceQueryResponse

type RunAggregateResourceQueryResponse struct {
	QueryInfo *QueryInfo `json:"query_info,omitempty"`

	// ResourceQL 查询结果.
	Results        *[]interface{} `json:"results,omitempty"`
	HttpStatusCode int            `json:"-"`
}

RunAggregateResourceQueryResponse Response Object

func (RunAggregateResourceQueryResponse) String

type RunEvaluationByPolicyAssignmentIdRequest

type RunEvaluationByPolicyAssignmentIdRequest struct {

	// 规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

RunEvaluationByPolicyAssignmentIdRequest Request Object

func (RunEvaluationByPolicyAssignmentIdRequest) String

type RunEvaluationByPolicyAssignmentIdResponse

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

RunEvaluationByPolicyAssignmentIdResponse Response Object

func (RunEvaluationByPolicyAssignmentIdResponse) String

type RunQueryRequest

type RunQueryRequest struct {
	Body *QueryRunRequestBody `json:"body,omitempty"`
}

RunQueryRequest Request Object

func (RunQueryRequest) String

func (o RunQueryRequest) String() string

type RunQueryResponse

type RunQueryResponse struct {
	QueryInfo *QueryInfo `json:"query_info,omitempty"`

	// ResourceQL 查询结果.
	Results        *[]interface{} `json:"results,omitempty"`
	HttpStatusCode int            `json:"-"`
}

RunQueryResponse Response Object

func (RunQueryResponse) String

func (o RunQueryResponse) String() string

type SelectorConfigBody

type SelectorConfigBody struct {

	// 是否选择所有支持的资源
	AllSupported bool `json:"all_supported"`

	// 资源类型列表
	ResourceTypes []string `json:"resource_types"`
}

SelectorConfigBody tracker选择器

func (SelectorConfigBody) String

func (o SelectorConfigBody) String() string

type ShowAggregateComplianceDetailsByPolicyAssignmentRequest

type ShowAggregateComplianceDetailsByPolicyAssignmentRequest struct {

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`

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

ShowAggregateComplianceDetailsByPolicyAssignmentRequest Request Object

func (ShowAggregateComplianceDetailsByPolicyAssignmentRequest) String

type ShowAggregateComplianceDetailsByPolicyAssignmentResponse

type ShowAggregateComplianceDetailsByPolicyAssignmentResponse struct {

	// 合规结果查询返回值
	PolicyStates *[]PolicyState `json:"policy_states,omitempty"`

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

ShowAggregateComplianceDetailsByPolicyAssignmentResponse Response Object

func (ShowAggregateComplianceDetailsByPolicyAssignmentResponse) String

type ShowAggregateDiscoveredResourceCountsRequest

type ShowAggregateDiscoveredResourceCountsRequest struct {
	Body *AggregateDiscoveredResourceCountsRequest `json:"body,omitempty"`
}

ShowAggregateDiscoveredResourceCountsRequest Request Object

func (ShowAggregateDiscoveredResourceCountsRequest) String

type ShowAggregateDiscoveredResourceCountsResponse

type ShowAggregateDiscoveredResourceCountsResponse struct {

	// 资源计数进行分组的键。
	GroupByKey *string `json:"group_by_key,omitempty"`

	// 分组资源计数的列表。
	GroupedResourceCounts *[]GroupedResourceCount `json:"grouped_resource_counts,omitempty"`

	// 指定过滤器的资源聚合器中存在的资源总数。
	TotalDiscoveredResources *int32 `json:"total_discovered_resources,omitempty"`
	HttpStatusCode           int    `json:"-"`
}

ShowAggregateDiscoveredResourceCountsResponse Response Object

func (ShowAggregateDiscoveredResourceCountsResponse) String

type ShowAggregatePolicyAssignmentDetailRequest

type ShowAggregatePolicyAssignmentDetailRequest struct {
	Body *AggregatePolicyAssignmentDetailRequest `json:"body,omitempty"`
}

ShowAggregatePolicyAssignmentDetailRequest Request Object

func (ShowAggregatePolicyAssignmentDetailRequest) String

type ShowAggregatePolicyAssignmentDetailResponse

type ShowAggregatePolicyAssignmentDetailResponse struct {

	// 规则类型,包括预定义合规规则(builtin)和用户自定义合规规则(custom)
	PolicyAssignmentType *ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType `json:"policy_assignment_type,omitempty"`

	// 规则ID
	Id *string `json:"id,omitempty"`

	// 规则名字
	Name *string `json:"name,omitempty"`

	// 规则描述
	Description *string `json:"description,omitempty"`

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

	// 触发周期值,可选值:One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours
	Period *string `json:"period,omitempty"`

	// 规则状态
	State *string `json:"state,omitempty"`

	// 规则创建时间
	Created *string `json:"created,omitempty"`

	// 规则更新时间
	Updated *string `json:"updated,omitempty"`

	// 规则的策略ID
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	CustomPolicy *CustomPolicy `json:"custom_policy,omitempty"`

	// 规则参数
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

	// 规则的创建者
	CreatedBy      *string `json:"created_by,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAggregatePolicyAssignmentDetailResponse Response Object

func (ShowAggregatePolicyAssignmentDetailResponse) String

type ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType

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

func (ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType) MarshalJSON

func (*ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType) UnmarshalJSON

func (ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType) Value

type ShowAggregatePolicyStateComplianceSummaryRequest

type ShowAggregatePolicyStateComplianceSummaryRequest struct {
	Body *AggregatePolicyStatesRequest `json:"body,omitempty"`
}

ShowAggregatePolicyStateComplianceSummaryRequest Request Object

func (ShowAggregatePolicyStateComplianceSummaryRequest) String

type ShowAggregatePolicyStateComplianceSummaryResponse

type ShowAggregatePolicyStateComplianceSummaryResponse struct {

	// 合规总结结果列表
	Results        *[]AggregatePolicyComplianceSummaryResult `json:"results,omitempty"`
	HttpStatusCode int                                       `json:"-"`
}

ShowAggregatePolicyStateComplianceSummaryResponse Response Object

func (ShowAggregatePolicyStateComplianceSummaryResponse) String

type ShowAggregateResourceConfigRequest

type ShowAggregateResourceConfigRequest struct {
	Body *AggregateResourceConfigRequest `json:"body,omitempty"`
}

ShowAggregateResourceConfigRequest Request Object

func (ShowAggregateResourceConfigRequest) String

type ShowAggregateResourceConfigResponse

type ShowAggregateResourceConfigResponse struct {

	// 资源ID。
	ResourceId *string `json:"resource_id,omitempty"`

	// 聚合器ID。
	AggregatorId *string `json:"aggregator_id,omitempty"`

	// 聚合器帐号。
	AggregatorDomainId *string `json:"aggregator_domain_id,omitempty"`

	// 聚合资源所属帐号的ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 企业项目ID。
	EpId *string `json:"ep_id,omitempty"`

	// 云服务名称。
	Provider *string `json:"provider,omitempty"`

	// 资源类型。
	Type *string `json:"type,omitempty"`

	// 资源名称。
	Name *string `json:"name,omitempty"`

	// 区域ID。
	RegionId *string `json:"region_id,omitempty"`

	// Openstack中的项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 资源创建时间。
	Created *string `json:"created,omitempty"`

	// 资源更新时间。
	Updated *string `json:"updated,omitempty"`

	// 资源标签。
	Tags map[string]string `json:"tags,omitempty"`

	// 资源详细属性。
	Properties     map[string]interface{} `json:"properties,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ShowAggregateResourceConfigResponse Response Object

func (ShowAggregateResourceConfigResponse) String

type ShowBuiltInConformancePackTemplateRequest added in v0.1.52

type ShowBuiltInConformancePackTemplateRequest struct {

	// 合规规则包模板ID。
	TemplateId string `json:"template_id"`

	// 选择接口返回的信息的语言,默认为\"zh-cn\"中文
	XLanguage *ShowBuiltInConformancePackTemplateRequestXLanguage `json:"X-Language,omitempty"`
}

ShowBuiltInConformancePackTemplateRequest Request Object

func (ShowBuiltInConformancePackTemplateRequest) String added in v0.1.52

type ShowBuiltInConformancePackTemplateRequestXLanguage added in v0.1.52

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

func (ShowBuiltInConformancePackTemplateRequestXLanguage) MarshalJSON added in v0.1.52

func (*ShowBuiltInConformancePackTemplateRequestXLanguage) UnmarshalJSON added in v0.1.52

func (ShowBuiltInConformancePackTemplateRequestXLanguage) Value added in v0.1.52

type ShowBuiltInConformancePackTemplateRequestXLanguageEnum added in v0.1.52

type ShowBuiltInConformancePackTemplateRequestXLanguageEnum struct {
	ZH_CN ShowBuiltInConformancePackTemplateRequestXLanguage
	EN_US ShowBuiltInConformancePackTemplateRequestXLanguage
}

func GetShowBuiltInConformancePackTemplateRequestXLanguageEnum added in v0.1.52

func GetShowBuiltInConformancePackTemplateRequestXLanguageEnum() ShowBuiltInConformancePackTemplateRequestXLanguageEnum

type ShowBuiltInConformancePackTemplateResponse added in v0.1.52

type ShowBuiltInConformancePackTemplateResponse struct {

	// 预定义合规包模板ID。
	Id *string `json:"id,omitempty"`

	// 预定义合规包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 预定义合规包模板描述。
	Description *string `json:"description,omitempty"`

	// 预定义合规包模板内容。
	TemplateBody *string `json:"template_body,omitempty"`

	// 预定义合规包模板参数。
	Parameters     map[string]TemplateParameterDefinition `json:"parameters,omitempty"`
	HttpStatusCode int                                    `json:"-"`
}

ShowBuiltInConformancePackTemplateResponse Response Object

func (ShowBuiltInConformancePackTemplateResponse) String added in v0.1.52

type ShowBuiltInPolicyDefinitionRequest

type ShowBuiltInPolicyDefinitionRequest struct {

	// 策略ID
	PolicyDefinitionId string `json:"policy_definition_id"`

	// 选择接口返回的信息的语言,默认为\"zh-cn\"中文
	XLanguage *string `json:"X-Language,omitempty"`
}

ShowBuiltInPolicyDefinitionRequest Request Object

func (ShowBuiltInPolicyDefinitionRequest) String

type ShowBuiltInPolicyDefinitionResponse

type ShowBuiltInPolicyDefinitionResponse struct {

	// 策略id
	Id *string `json:"id,omitempty"`

	// 策略名字
	Name *string `json:"name,omitempty"`

	// 策略展示名
	DisplayName *string `json:"display_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"`

	// 触发器类型,可选值:resource, period
	TriggerType *string `json:"trigger_type,omitempty"`

	// 关键词列表
	Keywords *[]string `json:"keywords,omitempty"`

	// 默认资源类型列表
	DefaultResourceTypes *[]PolicyDefinitionDefaultResourceTypes `json:"default_resource_types,omitempty"`

	// 策略参数
	Parameters     map[string]PolicyParameterDefinition `json:"parameters,omitempty"`
	HttpStatusCode int                                  `json:"-"`
}

ShowBuiltInPolicyDefinitionResponse Response Object

func (ShowBuiltInPolicyDefinitionResponse) String

type ShowConfigurationAggregatorRequest

type ShowConfigurationAggregatorRequest struct {

	// 资源聚合器ID。
	AggregatorId string `json:"aggregator_id"`
}

ShowConfigurationAggregatorRequest Request Object

func (ShowConfigurationAggregatorRequest) String

type ShowConfigurationAggregatorResponse

type ShowConfigurationAggregatorResponse struct {

	// 资源聚合器名称。
	AggregatorName *string `json:"aggregator_name,omitempty"`

	// 资源聚合器ID。
	AggregatorId *string `json:"aggregator_id,omitempty"`

	// 资源聚合器标识符。
	AggregatorUrn *string `json:"aggregator_urn,omitempty"`

	// 聚合器类型。
	AggregatorType *string `json:"aggregator_type,omitempty"`

	AccountAggregationSources *AccountAggregationSource `json:"account_aggregation_sources,omitempty"`

	// 资源聚合器更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 资源聚合器创建时间。
	CreatedAt      *string `json:"created_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowConfigurationAggregatorResponse Response Object

func (ShowConfigurationAggregatorResponse) String

type ShowConfigurationAggregatorSourcesStatusRequest

type ShowConfigurationAggregatorSourcesStatusRequest struct {

	// 资源聚合器ID。
	AggregatorId string `json:"aggregator_id"`

	// 聚合帐号的状态。
	UpdateStatus *ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus `json:"update_status,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ShowConfigurationAggregatorSourcesStatusRequest Request Object

func (ShowConfigurationAggregatorSourcesStatusRequest) String

type ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus

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

func (ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus) MarshalJSON

func (*ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus) UnmarshalJSON

func (ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus) Value

type ShowConfigurationAggregatorSourcesStatusResponse

type ShowConfigurationAggregatorSourcesStatusResponse struct {

	// 资源聚合器状态列表。
	AggregatedSourceStatuses *[]AggregatedSourceStatus `json:"aggregated_source_statuses,omitempty"`

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

ShowConfigurationAggregatorSourcesStatusResponse Response Object

func (ShowConfigurationAggregatorSourcesStatusResponse) String

type ShowConformancePackRequest added in v0.1.52

type ShowConformancePackRequest struct {

	// 合规规则包ID。
	ConformancePackId string `json:"conformance_pack_id"`
}

ShowConformancePackRequest Request Object

func (ShowConformancePackRequest) String added in v0.1.52

type ShowConformancePackResponse added in v0.1.52

type ShowConformancePackResponse struct {

	// 合规规则包ID。
	Id *string `json:"id,omitempty"`

	// 合规规则包名称。
	Name *string `json:"name,omitempty"`

	// 资源栈(stack)的唯一ID。
	StackId *string `json:"stack_id,omitempty"`

	// 资源栈(stack)的名称。
	StackName *string `json:"stack_name,omitempty"`

	// 部署ID。
	DeploymentId *string `json:"deployment_id,omitempty"`

	// 合规规则包创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 合规规则包更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 预定义合规规则包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 合规规则包模板OBS地址
	TemplateUri *string `json:"template_uri,omitempty"`

	// 委托名称
	AgencyName *string `json:"agency_name,omitempty"`

	// 合规规则包部署状态。
	Status *ShowConformancePackResponseStatus `json:"status,omitempty"`

	// 部署或删除合规规则包错误时的错误信息
	ErrorMessage *string `json:"error_message,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`

	// 创建者
	CreatedBy      *string `json:"created_by,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowConformancePackResponse Response Object

func (ShowConformancePackResponse) String added in v0.1.52

type ShowConformancePackResponseStatus added in v0.1.52

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

func (ShowConformancePackResponseStatus) MarshalJSON added in v0.1.52

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

func (*ShowConformancePackResponseStatus) UnmarshalJSON added in v0.1.52

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

func (ShowConformancePackResponseStatus) Value added in v0.1.52

type ShowConformancePackResponseStatusEnum added in v0.1.52

type ShowConformancePackResponseStatusEnum struct {
	CREATE_SUCCESSFUL    ShowConformancePackResponseStatus
	CREATE_IN_PROGRESS   ShowConformancePackResponseStatus
	CREATE_FAILED        ShowConformancePackResponseStatus
	DELETE_IN_PROGRESS   ShowConformancePackResponseStatus
	DELETE_FAILED        ShowConformancePackResponseStatus
	ROLLBACK_SUCCESSFUL  ShowConformancePackResponseStatus
	ROLLBACK_IN_PROGRESS ShowConformancePackResponseStatus
	ROLLBACK_FAILED      ShowConformancePackResponseStatus
	UPDATE_SUCCESSFUL    ShowConformancePackResponseStatus
	UPDATE_IN_PROGRESS   ShowConformancePackResponseStatus
	UPDATE_FAILED        ShowConformancePackResponseStatus
}

func GetShowConformancePackResponseStatusEnum added in v0.1.52

func GetShowConformancePackResponseStatusEnum() ShowConformancePackResponseStatusEnum

type ShowEvaluationStateByAssignmentIdRequest

type ShowEvaluationStateByAssignmentIdRequest struct {

	// 规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

ShowEvaluationStateByAssignmentIdRequest Request Object

func (ShowEvaluationStateByAssignmentIdRequest) String

type ShowEvaluationStateByAssignmentIdResponse

type ShowEvaluationStateByAssignmentIdResponse struct {

	// 规则ID
	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:"-"`
}

ShowEvaluationStateByAssignmentIdResponse Response Object

func (ShowEvaluationStateByAssignmentIdResponse) String

type ShowOrganizationConformancePackDetailedStatusesRequest added in v0.1.61

type ShowOrganizationConformancePackDetailedStatusesRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 合规规则包名称。
	ConformancePackName *string `json:"conformance_pack_name,omitempty"`

	// 组织合规规则包ID。
	OrganizationConformancePackId *string `json:"organization_conformance_pack_id,omitempty"`

	// 部署状态,区分大小写
	State *ShowOrganizationConformancePackDetailedStatusesRequestState `json:"state,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ShowOrganizationConformancePackDetailedStatusesRequest Request Object

func (ShowOrganizationConformancePackDetailedStatusesRequest) String added in v0.1.61

type ShowOrganizationConformancePackDetailedStatusesRequestState added in v0.1.61

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

func (ShowOrganizationConformancePackDetailedStatusesRequestState) MarshalJSON added in v0.1.61

func (*ShowOrganizationConformancePackDetailedStatusesRequestState) UnmarshalJSON added in v0.1.61

func (ShowOrganizationConformancePackDetailedStatusesRequestState) Value added in v0.1.61

type ShowOrganizationConformancePackDetailedStatusesResponse added in v0.1.61

type ShowOrganizationConformancePackDetailedStatusesResponse struct {

	// 组织合规规则包查询列表。
	Statuses *[]OrgConformancePackDetailedStatus `json:"statuses,omitempty"`

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

ShowOrganizationConformancePackDetailedStatusesResponse Response Object

func (ShowOrganizationConformancePackDetailedStatusesResponse) String added in v0.1.61

type ShowOrganizationConformancePackRequest added in v0.1.61

type ShowOrganizationConformancePackRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 合规规则包ID。
	ConformancePackId string `json:"conformance_pack_id"`
}

ShowOrganizationConformancePackRequest Request Object

func (ShowOrganizationConformancePackRequest) String added in v0.1.61

type ShowOrganizationConformancePackResponse added in v0.1.61

type ShowOrganizationConformancePackResponse struct {

	// 组织合规规则包ID。
	OrgConformancePackId *string `json:"org_conformance_pack_id,omitempty"`

	// 组织合规规则包名称。
	OrgConformancePackName *string `json:"org_conformance_pack_name,omitempty"`

	// 组织合规规则包创建者。
	OwnerId *string `json:"owner_id,omitempty"`

	// 组织ID
	OrganizationId *string `json:"organization_id,omitempty"`

	// 组织合规规则包资源唯一标识。
	OrgConformancePackUrn *string `json:"org_conformance_pack_urn,omitempty"`

	// 排除配置合规包的帐号。
	ExcludedAccounts *[]string `json:"excluded_accounts,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`

	// 组织合规规则包创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 组织合规规则包更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 预定义合规规则包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 合规规则包模板OBS地址
	TemplateUri    *string `json:"template_uri,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowOrganizationConformancePackResponse Response Object

func (ShowOrganizationConformancePackResponse) String added in v0.1.61

type ShowOrganizationPolicyAssignmentDetailedStatusRequest

type ShowOrganizationPolicyAssignmentDetailedStatusRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 组织合规规则名称。
	OrganizationPolicyAssignmentName *string `json:"organization_policy_assignment_name,omitempty"`

	// 组织合规规则ID
	OrganizationPolicyAssignmentId *string `json:"organization_policy_assignment_id,omitempty"`

	// 成员帐号规则部署状态,区分大小写。
	Status *ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus `json:"status,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ShowOrganizationPolicyAssignmentDetailedStatusRequest Request Object

func (ShowOrganizationPolicyAssignmentDetailedStatusRequest) String

type ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus

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

func (ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus) MarshalJSON

func (*ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus) UnmarshalJSON

func (ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus) Value

type ShowOrganizationPolicyAssignmentDetailedStatusResponse

type ShowOrganizationPolicyAssignmentDetailedStatusResponse struct {

	// 组织合规规则部署详细状态结果列表。
	Value *[]OrganizationPolicyAssignmentDetailedStatusResponse `json:"value,omitempty"`

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

ShowOrganizationPolicyAssignmentDetailedStatusResponse Response Object

func (ShowOrganizationPolicyAssignmentDetailedStatusResponse) String

type ShowOrganizationPolicyAssignmentRequest

type ShowOrganizationPolicyAssignmentRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 组织合规规则ID。
	OrganizationPolicyAssignmentId string `json:"organization_policy_assignment_id"`
}

ShowOrganizationPolicyAssignmentRequest Request Object

func (ShowOrganizationPolicyAssignmentRequest) String

type ShowOrganizationPolicyAssignmentResponse

type ShowOrganizationPolicyAssignmentResponse struct {

	// 组织合规规则创建者。
	OwnerId *string `json:"owner_id,omitempty"`

	// 组织ID。
	OrganizationId *string `json:"organization_id,omitempty"`

	// 组织合规规则资源唯一标识。
	OrganizationPolicyAssignmentUrn *string `json:"organization_policy_assignment_urn,omitempty"`

	// 组织合规规则ID。
	OrganizationPolicyAssignmentId *string `json:"organization_policy_assignment_id,omitempty"`

	// 组织合规规则名称。
	OrganizationPolicyAssignmentName *string `json:"organization_policy_assignment_name,omitempty"`

	// 排除配置规则的帐号。
	ExcludedAccounts *[]string `json:"excluded_accounts,omitempty"`

	// 描述信息。
	Description *string `json:"description,omitempty"`

	// 触发周期。
	Period *string `json:"period,omitempty"`

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

	// 规则参数。
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

	// 策略ID。
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowOrganizationPolicyAssignmentResponse Response Object

func (ShowOrganizationPolicyAssignmentResponse) String

type ShowOrganizationPolicyAssignmentStatusesRequest

type ShowOrganizationPolicyAssignmentStatusesRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 组织合规规则ID
	OrganizationPolicyAssignmentId *string `json:"organization_policy_assignment_id,omitempty"`

	// 组织合规规则名称。
	OrganizationPolicyAssignmentName *string `json:"organization_policy_assignment_name,omitempty"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ShowOrganizationPolicyAssignmentStatusesRequest Request Object

func (ShowOrganizationPolicyAssignmentStatusesRequest) String

type ShowOrganizationPolicyAssignmentStatusesResponse

type ShowOrganizationPolicyAssignmentStatusesResponse struct {

	// 组织合规规则部署状态结果列表。
	Value *[]OrganizationPolicyAssignmentStatusResponse `json:"value,omitempty"`

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

ShowOrganizationPolicyAssignmentStatusesResponse Response Object

func (ShowOrganizationPolicyAssignmentStatusesResponse) String

type ShowPolicyAssignmentRequest

type ShowPolicyAssignmentRequest struct {

	// 规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`
}

ShowPolicyAssignmentRequest Request Object

func (ShowPolicyAssignmentRequest) String

type ShowPolicyAssignmentResponse

type ShowPolicyAssignmentResponse struct {

	// 规则类型,包括预定义合规规则(builtin)和用户自定义合规规则(custom)
	PolicyAssignmentType *ShowPolicyAssignmentResponsePolicyAssignmentType `json:"policy_assignment_type,omitempty"`

	// 规则ID
	Id *string `json:"id,omitempty"`

	// 规则名字
	Name *string `json:"name,omitempty"`

	// 规则描述
	Description *string `json:"description,omitempty"`

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

	// 触发周期值,可选值:One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours
	Period *string `json:"period,omitempty"`

	// 规则状态
	State *string `json:"state,omitempty"`

	// 规则创建时间
	Created *string `json:"created,omitempty"`

	// 规则更新时间
	Updated *string `json:"updated,omitempty"`

	// 规则的策略ID
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	CustomPolicy *CustomPolicy `json:"custom_policy,omitempty"`

	// 规则参数
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

	// 规则的创建者
	CreatedBy      *string `json:"created_by,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowPolicyAssignmentResponse Response Object

func (ShowPolicyAssignmentResponse) String

type ShowPolicyAssignmentResponsePolicyAssignmentType

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

func (ShowPolicyAssignmentResponsePolicyAssignmentType) MarshalJSON

func (*ShowPolicyAssignmentResponsePolicyAssignmentType) UnmarshalJSON

func (ShowPolicyAssignmentResponsePolicyAssignmentType) Value

type ShowResourceByIdRequest

type ShowResourceByIdRequest struct {

	// 云服务名称
	Provider string `json:"provider"`

	// 资源类型名称
	Type string `json:"type"`

	// 资源ID
	ResourceId string `json:"resource_id"`
}

ShowResourceByIdRequest Request Object

func (ShowResourceByIdRequest) String

func (o ShowResourceByIdRequest) String() string

type ShowResourceByIdResponse

type ShowResourceByIdResponse struct {

	// 资源id
	Id *string `json:"id,omitempty"`

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 云服务名称
	Provider *string `json:"provider,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 区域id
	RegionId *string `json:"region_id,omitempty"`

	// Openstack中的项目id
	ProjectId *string `json:"project_id,omitempty"`

	// Openstack中的项目名称
	ProjectName *string `json:"project_name,omitempty"`

	// 企业项目id
	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"`

	// 资源Tag
	Tags map[string]string `json:"tags,omitempty"`

	// 资源详细属性
	Properties     map[string]interface{} `json:"properties,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ShowResourceByIdResponse Response Object

func (ShowResourceByIdResponse) String

func (o ShowResourceByIdResponse) String() string

type ShowResourceDetailRequest

type ShowResourceDetailRequest struct {

	// 资源ID
	ResourceId string `json:"resource_id"`
}

ShowResourceDetailRequest Request Object

func (ShowResourceDetailRequest) String

func (o ShowResourceDetailRequest) String() string

type ShowResourceDetailResponse

type ShowResourceDetailResponse struct {

	// 资源id
	Id *string `json:"id,omitempty"`

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 云服务名称
	Provider *string `json:"provider,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 区域id
	RegionId *string `json:"region_id,omitempty"`

	// Openstack中的项目id
	ProjectId *string `json:"project_id,omitempty"`

	// Openstack中的项目名称
	ProjectName *string `json:"project_name,omitempty"`

	// 企业项目id
	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"`

	// 资源Tag
	Tags map[string]string `json:"tags,omitempty"`

	// 资源详细属性
	Properties     map[string]interface{} `json:"properties,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ShowResourceDetailResponse Response Object

func (ShowResourceDetailResponse) String

type ShowResourceHistoryRequest

type ShowResourceHistoryRequest struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	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"`
}

ShowResourceHistoryRequest Request Object

func (ShowResourceHistoryRequest) String

type ShowResourceHistoryRequestChronologicalOrder

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

func (ShowResourceHistoryRequestChronologicalOrder) MarshalJSON

func (*ShowResourceHistoryRequestChronologicalOrder) UnmarshalJSON

func (ShowResourceHistoryRequestChronologicalOrder) Value

type ShowResourceHistoryResponse

type ShowResourceHistoryResponse struct {

	// 资源历史列表
	Items *[]HistoryItem `json:"items,omitempty"`

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

ShowResourceHistoryResponse Response Object

func (ShowResourceHistoryResponse) String

type ShowResourceRelationsDetailRequest

type ShowResourceRelationsDetailRequest struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 资源关系的指向。
	Direction ShowResourceRelationsDetailRequestDirection `json:"direction"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ShowResourceRelationsDetailRequest Request Object

func (ShowResourceRelationsDetailRequest) String

type ShowResourceRelationsDetailRequestDirection

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

func (ShowResourceRelationsDetailRequestDirection) MarshalJSON

func (*ShowResourceRelationsDetailRequestDirection) UnmarshalJSON

func (ShowResourceRelationsDetailRequestDirection) Value

type ShowResourceRelationsDetailResponse

type ShowResourceRelationsDetailResponse struct {

	// 资源关系列表
	Relations *[]ResourceRelation `json:"relations,omitempty"`

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

ShowResourceRelationsDetailResponse Response Object

func (ShowResourceRelationsDetailResponse) String

type ShowResourceRelationsRequest

type ShowResourceRelationsRequest struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 资源关系的指向
	Direction ShowResourceRelationsRequestDirection `json:"direction"`

	// 最大的返回数量
	Limit *int32 `json:"limit,omitempty"`

	// 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页
	Marker *string `json:"marker,omitempty"`
}

ShowResourceRelationsRequest 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

func (ShowResourceRelationsRequestDirection) Value

type ShowResourceRelationsResponse

type ShowResourceRelationsResponse struct {

	// 资源关系列表
	Relations *[]ResourceRelation `json:"relations,omitempty"`

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

ShowResourceRelationsResponse Response Object

func (ShowResourceRelationsResponse) String

type ShowStoredQueryRequest

type ShowStoredQueryRequest struct {

	// 查询ID
	QueryId string `json:"query_id"`
}

ShowStoredQueryRequest Request Object

func (ShowStoredQueryRequest) String

func (o ShowStoredQueryRequest) String() string

type ShowStoredQueryResponse

type ShowStoredQueryResponse struct {

	// ResourceQL ID
	Id *string `json:"id,omitempty"`

	// ResourceQL 名字
	Name *string `json:"name,omitempty"`

	// ResourceQL 描述
	Description *string `json:"description,omitempty"`

	// ResourceQL 表达式
	Expression *string `json:"expression,omitempty"`

	// ResourceQL 创建时间
	Created *string `json:"created,omitempty"`

	// ResourceQL 更新时间
	Updated        *string `json:"updated,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowStoredQueryResponse Response Object

func (ShowStoredQueryResponse) String

func (o ShowStoredQueryResponse) String() string

type ShowTrackedResourceDetailRequest added in v0.1.72

type ShowTrackedResourceDetailRequest struct {

	// 资源ID
	ResourceId string `json:"resource_id"`
}

ShowTrackedResourceDetailRequest Request Object

func (ShowTrackedResourceDetailRequest) String added in v0.1.72

type ShowTrackedResourceDetailResponse added in v0.1.72

type ShowTrackedResourceDetailResponse struct {

	// 资源id
	Id *string `json:"id,omitempty"`

	// 资源名称
	Name *string `json:"name,omitempty"`

	// 云服务名称
	Provider *string `json:"provider,omitempty"`

	// 资源类型
	Type *string `json:"type,omitempty"`

	// 区域id
	RegionId *string `json:"region_id,omitempty"`

	// Openstack中的项目id
	ProjectId *string `json:"project_id,omitempty"`

	// Openstack中的项目名称
	ProjectName *string `json:"project_name,omitempty"`

	// 企业项目id
	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"`

	// 资源Tag
	Tags map[string]string `json:"tags,omitempty"`

	// 资源详细属性
	Properties     map[string]interface{} `json:"properties,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ShowTrackedResourceDetailResponse Response Object

func (ShowTrackedResourceDetailResponse) String added in v0.1.72

type ShowTrackerConfigRequest

type ShowTrackerConfigRequest struct {
}

ShowTrackerConfigRequest 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"`

	// 存储历史信息的天数
	RetentionPeriodInDays *int32 `json:"retention_period_in_days,omitempty"`

	// IAM委托名称
	AgencyName     *string `json:"agency_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowTrackerConfigResponse Response Object

func (ShowTrackerConfigResponse) String

func (o ShowTrackerConfigResponse) String() string

type StoredQuery

type StoredQuery struct {

	// ResourceQL ID
	Id *string `json:"id,omitempty"`

	// ResourceQL 名字
	Name *string `json:"name,omitempty"`

	// ResourceQL 描述
	Description *string `json:"description,omitempty"`

	// ResourceQL 表达式
	Expression *string `json:"expression,omitempty"`

	// ResourceQL 创建时间
	Created *string `json:"created,omitempty"`

	// ResourceQL 更新时间
	Updated *string `json:"updated,omitempty"`
}

func (StoredQuery) String

func (o StoredQuery) String() string

type StoredQueryRequestBody

type StoredQueryRequestBody struct {

	// ResourceQL 名字
	Name string `json:"name"`

	// ResourceQL 描述
	Description *string `json:"description,omitempty"`

	// ResourceQL 表达式
	Expression string `json:"expression"`
}

func (StoredQueryRequestBody) String

func (o StoredQueryRequestBody) String() string

type TagDetail

type TagDetail struct {

	// 标签key
	Key *string `json:"key,omitempty"`

	// 标签值列表
	Value *[]string `json:"value,omitempty"`
}

TagDetail 标签对象

func (TagDetail) String

func (o TagDetail) String() string

type TemplateParameterDefinition added in v0.1.52

type TemplateParameterDefinition struct {

	// 预定义合规包模板参数名字。
	Name *string `json:"name,omitempty"`

	// 预定义合规包模板参数描述。
	Description *string `json:"description,omitempty"`

	// 预定义合规包模板参数默认值。
	DefaultValue *interface{} `json:"default_value,omitempty"`

	// 预定义合规包模板参数允许值列表。
	AllowedValues *[]interface{} `json:"allowed_values,omitempty"`

	// 策略参数的最小值,当参数类型为Integer或Float时生效。
	Minimum *float32 `json:"minimum,omitempty"`

	// 策略参数的最大值,当参数类型为Integer或Float时生效。
	Maximum *float32 `json:"maximum,omitempty"`

	// 策略参数的最小项数,当参数类型为Array时生效。
	MinItems *int32 `json:"min_items,omitempty"`

	// 策略参数的最大项数,当参数类型为Array时生效。
	MaxItems *int32 `json:"max_items,omitempty"`

	// 策略参数的最小字符串长度或每项的最小字符串长度,当参数类型为String或Array时生效。
	MinLength *int32 `json:"min_length,omitempty"`

	// 策略参数的最大字符串长度或每项的最大字符串长度,当参数类型为String或Array时生效。
	MaxLength *int32 `json:"max_length,omitempty"`

	// 策略参数的字符串正则要求或每项的字符串正则要求,当参数类型为String或Array时生效。
	Pattern *string `json:"pattern,omitempty"`

	// 预定义合规包模板参数类型。
	Type *TemplateParameterDefinitionType `json:"type,omitempty"`
}

TemplateParameterDefinition 预定义合规包模板参数详情。

func (TemplateParameterDefinition) String added in v0.1.52

type TemplateParameterDefinitionType added in v0.1.52

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

func (TemplateParameterDefinitionType) MarshalJSON added in v0.1.52

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

func (*TemplateParameterDefinitionType) UnmarshalJSON added in v0.1.52

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

func (TemplateParameterDefinitionType) Value added in v0.1.52

type TrackerConfigBody

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

	Selector *SelectorConfigBody `json:"selector"`

	// 存储历史信息的天数
	RetentionPeriodInDays *int32 `json:"retention_period_in_days,omitempty"`

	// IAM委托名称
	AgencyName string `json:"agency_name"`
}

TrackerConfigBody TrackerConfig对象

func (TrackerConfigBody) String

func (o TrackerConfigBody) String() string

type TrackerObsChannelConfigBody

type TrackerObsChannelConfigBody struct {

	// OBS桶名称
	BucketName string `json:"bucket_name"`

	// OBS桶前缀
	BucketPrefix *string `json:"bucket_prefix,omitempty"`

	// 区域id
	RegionId string `json:"region_id"`
}

TrackerObsChannelConfigBody OBS设置对象。跨帐号授予OBS桶转储文件的权限请参考《用户指南- 资源记录器- 开启/配置/修改资源记录器》中的“跨帐号授权”内容。

func (TrackerObsChannelConfigBody) String

type TrackerSmnChannelConfigBody

type TrackerSmnChannelConfigBody struct {

	// 区域id
	RegionId string `json:"region_id"`

	// 项目id
	ProjectId string `json:"project_id"`

	// SMN主题urn
	TopicUrn string `json:"topic_urn"`
}

TrackerSmnChannelConfigBody SMN通道设置对象。跨帐号授予SMN主题发送通知的权限请参考《用户指南- 资源记录器- 开启/配置/修改资源记录器》中的“跨帐号授权”内容。

func (TrackerSmnChannelConfigBody) String

type UpdateConfigurationAggregatorRequest

type UpdateConfigurationAggregatorRequest struct {

	// 资源聚合器ID。
	AggregatorId string `json:"aggregator_id"`

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

UpdateConfigurationAggregatorRequest Request Object

func (UpdateConfigurationAggregatorRequest) String

type UpdateConfigurationAggregatorResponse

type UpdateConfigurationAggregatorResponse struct {

	// 资源聚合器名称。
	AggregatorName *string `json:"aggregator_name,omitempty"`

	// 资源聚合器ID。
	AggregatorId *string `json:"aggregator_id,omitempty"`

	// 资源聚合器标识符。
	AggregatorUrn *string `json:"aggregator_urn,omitempty"`

	// 聚合器类型。
	AggregatorType *string `json:"aggregator_type,omitempty"`

	AccountAggregationSources *AccountAggregationSource `json:"account_aggregation_sources,omitempty"`

	// 资源聚合器更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 资源聚合器创建时间。
	CreatedAt      *string `json:"created_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateConfigurationAggregatorResponse Response Object

func (UpdateConfigurationAggregatorResponse) String

type UpdateConformancePackRequest added in v0.1.92

type UpdateConformancePackRequest struct {

	// 合规规则包ID。
	ConformancePackId string `json:"conformance_pack_id"`

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

UpdateConformancePackRequest Request Object

func (UpdateConformancePackRequest) String added in v0.1.92

type UpdateConformancePackRequestBody added in v0.1.92

type UpdateConformancePackRequestBody struct {

	// 合规规则包名称。
	Name string `json:"name"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`
}

UpdateConformancePackRequestBody 更新合规规则包的请求体。

func (UpdateConformancePackRequestBody) String added in v0.1.92

type UpdateConformancePackResponse added in v0.1.92

type UpdateConformancePackResponse struct {

	// 合规规则包ID。
	Id *string `json:"id,omitempty"`

	// 合规规则包名称。
	Name *string `json:"name,omitempty"`

	// 资源栈(stack)的唯一ID。
	StackId *string `json:"stack_id,omitempty"`

	// 资源栈(stack)的名称。
	StackName *string `json:"stack_name,omitempty"`

	// 部署ID。
	DeploymentId *string `json:"deployment_id,omitempty"`

	// 合规规则包创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 合规规则包更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 预定义合规规则包模板名称。
	TemplateKey *string `json:"template_key,omitempty"`

	// 合规规则包模板OBS地址
	TemplateUri *string `json:"template_uri,omitempty"`

	// 委托名称
	AgencyName *string `json:"agency_name,omitempty"`

	// 合规规则包部署状态。
	Status *UpdateConformancePackResponseStatus `json:"status,omitempty"`

	// 部署或删除合规规则包错误时的错误信息
	ErrorMessage *string `json:"error_message,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`

	// 创建者
	CreatedBy      *string `json:"created_by,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateConformancePackResponse Response Object

func (UpdateConformancePackResponse) String added in v0.1.92

type UpdateConformancePackResponseStatus added in v0.1.92

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

func (UpdateConformancePackResponseStatus) MarshalJSON added in v0.1.92

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

func (*UpdateConformancePackResponseStatus) UnmarshalJSON added in v0.1.92

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

func (UpdateConformancePackResponseStatus) Value added in v0.1.92

type UpdateConformancePackResponseStatusEnum added in v0.1.92

type UpdateConformancePackResponseStatusEnum struct {
	CREATE_SUCCESSFUL    UpdateConformancePackResponseStatus
	CREATE_IN_PROGRESS   UpdateConformancePackResponseStatus
	CREATE_FAILED        UpdateConformancePackResponseStatus
	DELETE_IN_PROGRESS   UpdateConformancePackResponseStatus
	DELETE_FAILED        UpdateConformancePackResponseStatus
	ROLLBACK_SUCCESSFUL  UpdateConformancePackResponseStatus
	ROLLBACK_IN_PROGRESS UpdateConformancePackResponseStatus
	ROLLBACK_FAILED      UpdateConformancePackResponseStatus
	UPDATE_SUCCESSFUL    UpdateConformancePackResponseStatus
	UPDATE_IN_PROGRESS   UpdateConformancePackResponseStatus
	UPDATE_FAILED        UpdateConformancePackResponseStatus
}

func GetUpdateConformancePackResponseStatusEnum added in v0.1.92

func GetUpdateConformancePackResponseStatusEnum() UpdateConformancePackResponseStatusEnum

type UpdateOrgConformancePackRequestBody added in v0.1.92

type UpdateOrgConformancePackRequestBody struct {

	// 组织合规规则包名称。
	Name string `json:"name"`

	// 排除配置合规包的帐号。
	ExcludedAccounts *[]string `json:"excluded_accounts,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`
}

UpdateOrgConformancePackRequestBody 更新组织合规规则包请求体。

func (UpdateOrgConformancePackRequestBody) String added in v0.1.92

type UpdateOrganizationConformancePackRequest added in v0.1.92

type UpdateOrganizationConformancePackRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 合规规则包ID。
	ConformancePackId string `json:"conformance_pack_id"`

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

UpdateOrganizationConformancePackRequest Request Object

func (UpdateOrganizationConformancePackRequest) String added in v0.1.92

type UpdateOrganizationConformancePackResponse added in v0.1.92

type UpdateOrganizationConformancePackResponse struct {

	// 组织合规规则包ID。
	OrgConformancePackId *string `json:"org_conformance_pack_id,omitempty"`

	// 组织合规规则包名称。
	OrgConformancePackName *string `json:"org_conformance_pack_name,omitempty"`

	// 组织合规规则包创建者。
	OwnerId *string `json:"owner_id,omitempty"`

	// 组织ID
	OrganizationId *string `json:"organization_id,omitempty"`

	// 组织合规规则包资源唯一标识。
	OrgConformancePackUrn *string `json:"org_conformance_pack_urn,omitempty"`

	// 合规规则包参数。
	VarsStructure *[]VarsStructure `json:"vars_structure,omitempty"`

	// 组织合规规则包创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 组织合规规则包更新时间。
	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateOrganizationConformancePackResponse Response Object

func (UpdateOrganizationConformancePackResponse) String added in v0.1.92

type UpdateOrganizationPolicyAssignmentRequest added in v0.1.90

type UpdateOrganizationPolicyAssignmentRequest struct {

	// 组织ID。
	OrganizationId string `json:"organization_id"`

	// 组织合规规则ID。
	OrganizationPolicyAssignmentId string `json:"organization_policy_assignment_id"`

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

UpdateOrganizationPolicyAssignmentRequest Request Object

func (UpdateOrganizationPolicyAssignmentRequest) String added in v0.1.90

type UpdateOrganizationPolicyAssignmentResponse added in v0.1.90

type UpdateOrganizationPolicyAssignmentResponse struct {

	// 组织合规规则创建者。
	OwnerId *string `json:"owner_id,omitempty"`

	// 组织ID。
	OrganizationId *string `json:"organization_id,omitempty"`

	// 组织合规规则资源唯一标识。
	OrganizationPolicyAssignmentUrn *string `json:"organization_policy_assignment_urn,omitempty"`

	// 组织合规规则ID。
	OrganizationPolicyAssignmentId *string `json:"organization_policy_assignment_id,omitempty"`

	// 组织合规规则名称。
	OrganizationPolicyAssignmentName *string `json:"organization_policy_assignment_name,omitempty"`

	// 描述信息。
	Description *string `json:"description,omitempty"`

	// 触发周期。
	Period *string `json:"period,omitempty"`

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

	// 规则参数。
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

	// 策略ID。
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt      *string `json:"updated_at,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateOrganizationPolicyAssignmentResponse Response Object

func (UpdateOrganizationPolicyAssignmentResponse) String added in v0.1.90

type UpdatePolicyAssignmentRequest

type UpdatePolicyAssignmentRequest struct {

	// 规则ID
	PolicyAssignmentId string `json:"policy_assignment_id"`

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

UpdatePolicyAssignmentRequest Request Object

func (UpdatePolicyAssignmentRequest) String

type UpdatePolicyAssignmentResponse

type UpdatePolicyAssignmentResponse struct {

	// 规则类型,包括预定义合规规则(builtin)和用户自定义合规规则(custom)
	PolicyAssignmentType *UpdatePolicyAssignmentResponsePolicyAssignmentType `json:"policy_assignment_type,omitempty"`

	// 规则ID
	Id *string `json:"id,omitempty"`

	// 规则名字
	Name *string `json:"name,omitempty"`

	// 规则描述
	Description *string `json:"description,omitempty"`

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

	// 触发周期值,可选值:One_Hour, Three_Hours, Six_Hours, Twelve_Hours, TwentyFour_Hours
	Period *string `json:"period,omitempty"`

	// 规则状态
	State *string `json:"state,omitempty"`

	// 规则创建时间
	Created *string `json:"created,omitempty"`

	// 规则更新时间
	Updated *string `json:"updated,omitempty"`

	// 规则的策略ID
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	CustomPolicy *CustomPolicy `json:"custom_policy,omitempty"`

	// 规则参数
	Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"`

	// 规则的创建者
	CreatedBy      *string `json:"created_by,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdatePolicyAssignmentResponse Response Object

func (UpdatePolicyAssignmentResponse) String

type UpdatePolicyAssignmentResponsePolicyAssignmentType

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

func (UpdatePolicyAssignmentResponsePolicyAssignmentType) MarshalJSON

func (*UpdatePolicyAssignmentResponsePolicyAssignmentType) UnmarshalJSON

func (UpdatePolicyAssignmentResponsePolicyAssignmentType) Value

type UpdatePolicyStateRequest

type UpdatePolicyStateRequest struct {
	Body *PolicyStateRequestBody `json:"body,omitempty"`
}

UpdatePolicyStateRequest Request Object

func (UpdatePolicyStateRequest) String

func (o UpdatePolicyStateRequest) String() string

type UpdatePolicyStateResponse

type UpdatePolicyStateResponse struct {

	// 用户ID
	DomainId *string `json:"domain_id,omitempty"`

	// 资源区域ID
	RegionId *string `json:"region_id,omitempty"`

	// 资源ID
	ResourceId *string `json:"resource_id,omitempty"`

	// 资源名称
	ResourceName *string `json:"resource_name,omitempty"`

	// 云服务名称
	ResourceProvider *string `json:"resource_provider,omitempty"`

	// 资源类型
	ResourceType *string `json:"resource_type,omitempty"`

	// 触发器类型,可选值:resource, period
	TriggerType *string `json:"trigger_type,omitempty"`

	// 合规状态
	ComplianceState *string `json:"compliance_state,omitempty"`

	// 规则ID
	PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"`

	// 规则名称
	PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"`

	// 策略ID
	PolicyDefinitionId *string `json:"policy_definition_id,omitempty"`

	// 合规状态评估时间
	EvaluationTime *string `json:"evaluation_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdatePolicyStateResponse Response Object

func (UpdatePolicyStateResponse) String

func (o UpdatePolicyStateResponse) String() string

type UpdateStoredQueryRequest

type UpdateStoredQueryRequest struct {

	// 查询ID
	QueryId string `json:"query_id"`

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

UpdateStoredQueryRequest Request Object

func (UpdateStoredQueryRequest) String

func (o UpdateStoredQueryRequest) String() string

type UpdateStoredQueryResponse

type UpdateStoredQueryResponse struct {

	// ResourceQL ID
	Id *string `json:"id,omitempty"`

	// ResourceQL 名字
	Name *string `json:"name,omitempty"`

	// ResourceQL 描述
	Description *string `json:"description,omitempty"`

	// ResourceQL 表达式
	Expression *string `json:"expression,omitempty"`

	// ResourceQL 创建时间
	Created *string `json:"created,omitempty"`

	// ResourceQL 更新时间
	Updated        *string `json:"updated,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateStoredQueryResponse Response Object

func (UpdateStoredQueryResponse) String

func (o UpdateStoredQueryResponse) String() string

type VarsStructure added in v0.1.52

type VarsStructure struct {

	// 参数名称。
	VarKey *string `json:"var_key,omitempty"`

	// 参数的值。
	VarValue *interface{} `json:"var_value,omitempty"`
}

VarsStructure 合规包模版参数。

func (VarsStructure) String added in v0.1.52

func (o VarsStructure) String() string

Source Files

Jump to

Keyboard shortcuts

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