Documentation ¶
Index ¶
- type AccountAggregationSource
- type AggregateComplianceDetailRequest
- type AggregateComplianceDetailRequestComplianceState
- type AggregateComplianceDetailRequestComplianceStateEnum
- type AggregateDiscoveredResourceCountsRequest
- type AggregateDiscoveredResourcesRequest
- type AggregatePolicyAssignmentDetailRequest
- type AggregatePolicyAssignments
- type AggregatePolicyAssignmentsFilters
- type AggregatePolicyAssignmentsFiltersComplianceState
- type AggregatePolicyAssignmentsFiltersComplianceStateEnum
- type AggregatePolicyAssignmentsRequest
- type AggregatePolicyComplianceSummaryResult
- type AggregatePolicyStatesRequest
- type AggregateResourceConfigRequest
- type AggregatedSourceStatus
- type AggregationAuthorizationRequest
- type AggregationAuthorizationResp
- type BatchCreateRemediationExceptionsRequest
- type BatchCreateRemediationExceptionsRequestBody
- type BatchCreateRemediationExceptionsResponse
- type BatchDeleteRemediationExceptionsRequest
- type BatchDeleteRemediationExceptionsRequestBody
- type BatchDeleteRemediationExceptionsResponse
- type ChannelConfigBody
- type CollectAllResourcesSummaryRequest
- type CollectAllResourcesSummaryResponse
- type CollectConformancePackComplianceSummaryRequest
- type CollectConformancePackComplianceSummaryResponse
- type CollectRemediationExecutionStatusesSummaryRequest
- type CollectRemediationExecutionStatusesSummaryResponse
- type CollectTrackedResourcesSummaryRequest
- type CollectTrackedResourcesSummaryResponse
- type Compliance
- type ConfigurationAggregatorRequest
- type ConfigurationAggregatorResp
- type ConformancePack
- type ConformancePackCompliance
- type ConformancePackComplianceDetail
- type ConformancePackComplianceSummary
- type ConformancePackRequestBody
- type ConformancePackScore
- type ConformancePackStatus
- type ConformancePackStatusEnum
- type ConformancePackTemplate
- type CountAllResourcesRequest
- type CountAllResourcesResponse
- type CountResourcesByTagRequest
- type CountResourcesByTagRequestResourceType
- type CountResourcesByTagRequestResourceTypeEnum
- type CountResourcesByTagResponse
- type CountTrackedResourcesRequest
- type CountTrackedResourcesResponse
- type CreateAggregationAuthorizationRequest
- type CreateAggregationAuthorizationResponse
- type CreateConfigurationAggregatorRequest
- type CreateConfigurationAggregatorResponse
- type CreateConformancePackRequest
- type CreateConformancePackRequestXLanguage
- type CreateConformancePackRequestXLanguageEnum
- type CreateConformancePackResponse
- type CreateConformancePackResponseStatus
- type CreateConformancePackResponseStatusEnum
- type CreateOrUpdateRemediationConfigurationRequest
- type CreateOrUpdateRemediationConfigurationResponse
- type CreateOrganizationConformancePackRequest
- type CreateOrganizationConformancePackRequestXLanguage
- type CreateOrganizationConformancePackRequestXLanguageEnum
- type CreateOrganizationConformancePackResponse
- type CreateOrganizationPolicyAssignmentRequest
- type CreateOrganizationPolicyAssignmentResponse
- type CreatePolicyAssignmentsRequest
- type CreatePolicyAssignmentsResponse
- type CreatePolicyAssignmentsResponsePolicyAssignmentType
- type CreatePolicyAssignmentsResponsePolicyAssignmentTypeEnum
- type CreateStoredQueryRequest
- type CreateStoredQueryResponse
- type CreateStoredQueryResponseType
- type CreateStoredQueryResponseTypeEnum
- type CreateTrackerConfigRequest
- type CreateTrackerConfigResponse
- type CustomPolicy
- type CustomPolicyAuthType
- type CustomPolicyAuthTypeEnum
- type DeleteAggregationAuthorizationRequest
- type DeleteAggregationAuthorizationResponse
- type DeleteConfigurationAggregatorRequest
- type DeleteConfigurationAggregatorResponse
- type DeleteConformancePackRequest
- type DeleteConformancePackResponse
- type DeleteOrganizationConformancePackRequest
- type DeleteOrganizationConformancePackResponse
- type DeleteOrganizationPolicyAssignmentRequest
- type DeleteOrganizationPolicyAssignmentResponse
- type DeletePendingAggregationRequestRequest
- type DeletePendingAggregationRequestResponse
- type DeletePolicyAssignmentRequest
- type DeletePolicyAssignmentResponse
- type DeleteRemediationConfigurationRequest
- type DeleteRemediationConfigurationResponse
- type DeleteStoredQueryRequest
- type DeleteStoredQueryResponse
- type DeleteTrackerConfigRequest
- type DeleteTrackerConfigResponse
- type DisablePolicyAssignmentRequest
- type DisablePolicyAssignmentResponse
- type EnablePolicyAssignmentRequest
- type EnablePolicyAssignmentResponse
- type FrozenStatus
- type GroupedResourceCount
- type HistoryItem
- type ListAggregateComplianceByPolicyAssignmentRequest
- type ListAggregateComplianceByPolicyAssignmentResponse
- type ListAggregateDiscoveredResourcesRequest
- type ListAggregateDiscoveredResourcesResponse
- type ListAggregationAuthorizationsRequest
- type ListAggregationAuthorizationsResponse
- type ListAllResourcesRequest
- type ListAllResourcesResponse
- type ListAllTagsRequest
- type ListAllTagsResponse
- type ListBuiltInConformancePackTemplatesRequest
- type ListBuiltInConformancePackTemplatesRequestXLanguage
- type ListBuiltInConformancePackTemplatesRequestXLanguageEnum
- type ListBuiltInConformancePackTemplatesResponse
- type ListBuiltInPolicyDefinitionsRequest
- type ListBuiltInPolicyDefinitionsResponse
- type ListConfigurationAggregatorsRequest
- type ListConfigurationAggregatorsResponse
- type ListConformancePackComplianceByPackIdRequest
- type ListConformancePackComplianceByPackIdResponse
- type ListConformancePackComplianceDetailsByPackIdRequest
- type ListConformancePackComplianceDetailsByPackIdResponse
- type ListConformancePackComplianceScoresRequest
- type ListConformancePackComplianceScoresResponse
- type ListConformancePacksRequest
- type ListConformancePacksResponse
- type ListOrganizationConformancePackStatusesRequest
- type ListOrganizationConformancePackStatusesResponse
- type ListOrganizationConformancePacksRequest
- type ListOrganizationConformancePacksResponse
- type ListOrganizationPolicyAssignmentsRequest
- type ListOrganizationPolicyAssignmentsResponse
- type ListPendingAggregationRequestsRequest
- type ListPendingAggregationRequestsResponse
- type ListPolicyAssignmentsRequest
- type ListPolicyAssignmentsResponse
- type ListPolicyStatesByAssignmentIdRequest
- type ListPolicyStatesByAssignmentIdResponse
- type ListPolicyStatesByDomainIdRequest
- type ListPolicyStatesByDomainIdResponse
- type ListPolicyStatesByResourceIdRequest
- type ListPolicyStatesByResourceIdResponse
- type ListProvidersRequest
- type ListProvidersRequestTrack
- type ListProvidersRequestTrackEnum
- type ListProvidersRequestXLanguage
- type ListProvidersRequestXLanguageEnum
- type ListProvidersResponse
- type ListRegionsRequest
- type ListRegionsRequestXLanguage
- type ListRegionsRequestXLanguageEnum
- type ListRegionsResponse
- type ListRemediationExceptionsRequest
- type ListRemediationExceptionsResponse
- type ListRemediationExecutionStatusesRequest
- type ListRemediationExecutionStatusesResponse
- type ListResourcesByTagRequest
- type ListResourcesByTagRequestResourceType
- type ListResourcesByTagRequestResourceTypeEnum
- type ListResourcesByTagResponse
- type ListResourcesRequest
- type ListResourcesResponse
- type ListSchemasRequest
- type ListSchemasResponse
- type ListStoredQueriesRequest
- type ListStoredQueriesResponse
- type ListTagsForResourceRequest
- type ListTagsForResourceRequestResourceType
- type ListTagsForResourceRequestResourceTypeEnum
- type ListTagsForResourceResponse
- type ListTagsForResourceTypeRequest
- type ListTagsForResourceTypeRequestResourceType
- type ListTagsForResourceTypeRequestResourceTypeEnum
- type ListTagsForResourceTypeResponse
- type ListTrackedResourceTagsRequest
- type ListTrackedResourceTagsResponse
- type ListTrackedResourcesRequest
- type ListTrackedResourcesResponse
- type ManagedPolicyAssignmentMetadata
- type ManagedPolicyAssignmentMetadataPeriod
- type ManagedPolicyAssignmentMetadataPeriodEnum
- type Match
- type MatchKey
- type MatchKeyEnum
- type OrgConformancePackDetailedStatus
- type OrgConformancePackRequestBody
- type OrgConformancePackResponse
- type OrgConformancePackStatus
- type OrganizationPolicyAssignmentDetailedStatusResponse
- type OrganizationPolicyAssignmentRequest
- type OrganizationPolicyAssignmentResponse
- type OrganizationPolicyAssignmentStatusResponse
- type PageInfo
- type PendingAggregationRequest
- type PolicyAssignment
- type PolicyAssignmentPolicyAssignmentType
- type PolicyAssignmentPolicyAssignmentTypeEnum
- type PolicyAssignmentRequestBody
- type PolicyAssignmentRequestBodyPeriod
- type PolicyAssignmentRequestBodyPeriodEnum
- type PolicyAssignmentRequestBodyPolicyAssignmentType
- type PolicyAssignmentRequestBodyPolicyAssignmentTypeEnum
- type PolicyComplianceSummaryUnit
- type PolicyDefinition
- type PolicyDefinitionDefaultResourceTypes
- type PolicyFilterDefinition
- type PolicyParameterDefinition
- type PolicyParameterDefinitionType
- type PolicyParameterDefinitionTypeEnum
- type PolicyParameterValue
- type PolicyResource
- type PolicyState
- type PolicyStateRequestBody
- type PolicyStateRequestBodyComplianceState
- type PolicyStateRequestBodyComplianceStateEnum
- type PolicyStateRequestBodyTriggerType
- type PolicyStateRequestBodyTriggerTypeEnum
- type QueryInfo
- type QueryRunRequestBody
- type Region
- type RemediationConfigurationRequestBody
- type RemediationConfigurationRequestBodyAuthType
- type RemediationConfigurationRequestBodyAuthTypeEnum
- type RemediationConfigurationRequestBodyTargetType
- type RemediationConfigurationRequestBodyTargetTypeEnum
- type RemediationException
- type RemediationExceptionRequest
- type RemediationExecution
- type RemediationExecutionState
- type RemediationExecutionStateEnum
- type RemediationExecutionStatus
- type RemediationExecutionStatusState
- type RemediationExecutionStatusStateEnum
- type RemediationExecutionStatusesSummaryRequestBody
- type RemediationResourceKey
- type RemediationResourceParameter
- type RemediationRunRequestBody
- type RemediationStaticParameter
- type ResourceCountsFilters
- type ResourceEntity
- type ResourceIdentifier
- type ResourceInstancesReq
- type ResourceProviderResponse
- type ResourceRelation
- type ResourceResp
- type ResourceSchemaResponse
- type ResourceSummaryResponseItem
- type ResourceSummaryResponseItemRegions
- type ResourceSummaryResponseItemTypes
- type ResourceTag
- type ResourceTypeResponse
- type ResourceUnTag
- type ResourcesFilters
- type RunAggregateResourceQueryRequest
- type RunAggregateResourceQueryResponse
- type RunEvaluationByPolicyAssignmentIdRequest
- type RunEvaluationByPolicyAssignmentIdResponse
- type RunQueryRequest
- type RunQueryResponse
- type RunRemediationExecutionRequest
- type RunRemediationExecutionResponse
- type SelectorConfigBody
- type ShowAggregateComplianceDetailsByPolicyAssignmentRequest
- type ShowAggregateComplianceDetailsByPolicyAssignmentResponse
- type ShowAggregateDiscoveredResourceCountsRequest
- type ShowAggregateDiscoveredResourceCountsResponse
- type ShowAggregatePolicyAssignmentDetailRequest
- type ShowAggregatePolicyAssignmentDetailResponse
- type ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType
- type ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentTypeEnum
- type ShowAggregatePolicyStateComplianceSummaryRequest
- type ShowAggregatePolicyStateComplianceSummaryResponse
- type ShowAggregateResourceConfigRequest
- type ShowAggregateResourceConfigResponse
- type ShowBuiltInConformancePackTemplateRequest
- type ShowBuiltInConformancePackTemplateRequestXLanguage
- type ShowBuiltInConformancePackTemplateRequestXLanguageEnum
- type ShowBuiltInConformancePackTemplateResponse
- type ShowBuiltInPolicyDefinitionRequest
- type ShowBuiltInPolicyDefinitionResponse
- type ShowConfigurationAggregatorRequest
- type ShowConfigurationAggregatorResponse
- type ShowConfigurationAggregatorSourcesStatusRequest
- type ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus
- type ShowConfigurationAggregatorSourcesStatusRequestUpdateStatusEnum
- type ShowConfigurationAggregatorSourcesStatusResponse
- type ShowConformancePackRequest
- type ShowConformancePackResponse
- type ShowConformancePackResponseStatus
- type ShowConformancePackResponseStatusEnum
- type ShowEvaluationStateByAssignmentIdRequest
- type ShowEvaluationStateByAssignmentIdResponse
- type ShowOrganizationConformancePackDetailedStatusesRequest
- type ShowOrganizationConformancePackDetailedStatusesRequestState
- type ShowOrganizationConformancePackDetailedStatusesRequestStateEnum
- type ShowOrganizationConformancePackDetailedStatusesResponse
- type ShowOrganizationConformancePackRequest
- type ShowOrganizationConformancePackResponse
- type ShowOrganizationPolicyAssignmentDetailedStatusRequest
- type ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus
- type ShowOrganizationPolicyAssignmentDetailedStatusRequestStatusEnum
- type ShowOrganizationPolicyAssignmentDetailedStatusResponse
- type ShowOrganizationPolicyAssignmentRequest
- type ShowOrganizationPolicyAssignmentResponse
- type ShowOrganizationPolicyAssignmentStatusesRequest
- type ShowOrganizationPolicyAssignmentStatusesResponse
- type ShowPolicyAssignmentRequest
- type ShowPolicyAssignmentResponse
- type ShowPolicyAssignmentResponsePolicyAssignmentType
- type ShowPolicyAssignmentResponsePolicyAssignmentTypeEnum
- type ShowRemediationConfigurationRequest
- type ShowRemediationConfigurationResponse
- type ShowResourceByIdRequest
- type ShowResourceByIdResponse
- type ShowResourceDetailRequest
- type ShowResourceDetailResponse
- type ShowResourceHistoryRequest
- type ShowResourceHistoryRequestChronologicalOrder
- type ShowResourceHistoryRequestChronologicalOrderEnum
- type ShowResourceHistoryResponse
- type ShowResourceRelationsDetailRequest
- type ShowResourceRelationsDetailRequestDirection
- type ShowResourceRelationsDetailRequestDirectionEnum
- type ShowResourceRelationsDetailResponse
- type ShowResourceRelationsRequest
- type ShowResourceRelationsRequestDirection
- type ShowResourceRelationsRequestDirectionEnum
- type ShowResourceRelationsResponse
- type ShowStoredQueryRequest
- type ShowStoredQueryResponse
- type ShowStoredQueryResponseType
- type ShowStoredQueryResponseTypeEnum
- type ShowTrackedResourceDetailRequest
- type ShowTrackedResourceDetailResponse
- type ShowTrackerConfigRequest
- type ShowTrackerConfigResponse
- type StoredQuery
- type StoredQueryRequestBody
- type StoredQueryRequestBodyType
- type StoredQueryRequestBodyTypeEnum
- type StoredQueryType
- type StoredQueryTypeEnum
- type Tag
- type TagDetail
- type TagResourceRequest
- type TagResourceRequestResourceType
- type TagResourceRequestResourceTypeEnum
- type TagResourceResponse
- type TagsReq
- type TemplateParameterDefinition
- type TemplateParameterDefinitionType
- type TemplateParameterDefinitionTypeEnum
- type TrackerConfigBody
- type TrackerObsChannelConfigBody
- type TrackerSmnChannelConfigBody
- type UnTagResourceRequest
- type UnTagResourceRequestResourceType
- type UnTagResourceRequestResourceTypeEnum
- type UnTagResourceResponse
- type UnTagsReq
- type UpdateConfigurationAggregatorRequest
- type UpdateConfigurationAggregatorResponse
- type UpdateConformancePackRequest
- type UpdateConformancePackRequestBody
- type UpdateConformancePackResponse
- type UpdateConformancePackResponseStatus
- type UpdateConformancePackResponseStatusEnum
- type UpdateOrgConformancePackRequestBody
- type UpdateOrganizationConformancePackRequest
- type UpdateOrganizationConformancePackResponse
- type UpdateOrganizationPolicyAssignmentRequest
- type UpdateOrganizationPolicyAssignmentResponse
- type UpdatePolicyAssignmentRequest
- type UpdatePolicyAssignmentResponse
- type UpdatePolicyAssignmentResponsePolicyAssignmentType
- type UpdatePolicyAssignmentResponsePolicyAssignmentTypeEnum
- type UpdatePolicyStateRequest
- type UpdatePolicyStateResponse
- type UpdateStoredQueryRequest
- type UpdateStoredQueryResponse
- type UpdateStoredQueryResponseType
- type UpdateStoredQueryResponseTypeEnum
- type VarsStructure
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 ¶
func (o AggregateComplianceDetailRequest) String() string
type AggregateComplianceDetailRequestComplianceState ¶
type AggregateComplianceDetailRequestComplianceState struct {
// contains filtered or unexported fields
}
func (AggregateComplianceDetailRequestComplianceState) MarshalJSON ¶
func (c AggregateComplianceDetailRequestComplianceState) MarshalJSON() ([]byte, error)
func (*AggregateComplianceDetailRequestComplianceState) UnmarshalJSON ¶
func (c *AggregateComplianceDetailRequestComplianceState) UnmarshalJSON(b []byte) error
func (AggregateComplianceDetailRequestComplianceState) Value ¶
func (c AggregateComplianceDetailRequestComplianceState) Value() string
type AggregateComplianceDetailRequestComplianceStateEnum ¶
type AggregateComplianceDetailRequestComplianceStateEnum struct { NON_COMPLIANT AggregateComplianceDetailRequestComplianceState COMPLIANT AggregateComplianceDetailRequestComplianceState }
func GetAggregateComplianceDetailRequestComplianceStateEnum ¶
func GetAggregateComplianceDetailRequestComplianceStateEnum() AggregateComplianceDetailRequestComplianceStateEnum
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 ¶
func (o AggregateDiscoveredResourceCountsRequest) String() 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 ¶
func (o AggregateDiscoveredResourcesRequest) String() 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 ¶
func (o AggregatePolicyAssignmentDetailRequest) String() 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 ¶
func (o AggregatePolicyAssignments) String() 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 ¶
func (o AggregatePolicyAssignmentsFilters) String() string
type AggregatePolicyAssignmentsFiltersComplianceState ¶
type AggregatePolicyAssignmentsFiltersComplianceState struct {
// contains filtered or unexported fields
}
func (AggregatePolicyAssignmentsFiltersComplianceState) MarshalJSON ¶
func (c AggregatePolicyAssignmentsFiltersComplianceState) MarshalJSON() ([]byte, error)
func (*AggregatePolicyAssignmentsFiltersComplianceState) UnmarshalJSON ¶
func (c *AggregatePolicyAssignmentsFiltersComplianceState) UnmarshalJSON(b []byte) error
func (AggregatePolicyAssignmentsFiltersComplianceState) Value ¶
func (c AggregatePolicyAssignmentsFiltersComplianceState) Value() string
type AggregatePolicyAssignmentsFiltersComplianceStateEnum ¶
type AggregatePolicyAssignmentsFiltersComplianceStateEnum struct { NON_COMPLIANT AggregatePolicyAssignmentsFiltersComplianceState COMPLIANT AggregatePolicyAssignmentsFiltersComplianceState NOT_STARTED AggregatePolicyAssignmentsFiltersComplianceState }
func GetAggregatePolicyAssignmentsFiltersComplianceStateEnum ¶
func GetAggregatePolicyAssignmentsFiltersComplianceStateEnum() AggregatePolicyAssignmentsFiltersComplianceStateEnum
type AggregatePolicyAssignmentsRequest ¶
type AggregatePolicyAssignmentsRequest struct { // 资源聚合器ID AggregatorId string `json:"aggregator_id"` Filter *AggregatePolicyAssignmentsFilters `json:"filter,omitempty"` }
AggregatePolicyAssignmentsRequest 聚合合规规则请求体
func (AggregatePolicyAssignmentsRequest) String ¶
func (o AggregatePolicyAssignmentsRequest) String() 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 ¶
func (o AggregatePolicyComplianceSummaryResult) String() 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 ¶
func (o AggregatePolicyStatesRequest) String() string
type AggregateResourceConfigRequest ¶
type AggregateResourceConfigRequest struct { // 资源聚合器ID。 AggregatorId string `json:"aggregator_id"` ResourceIdentifier *ResourceIdentifier `json:"resource_identifier"` }
AggregateResourceConfigRequest 查询源帐号中的特定资源聚合的配置项请求体。
func (AggregateResourceConfigRequest) String ¶
func (o AggregateResourceConfigRequest) String() 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 ¶
func (o AggregationAuthorizationRequest) String() 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 ¶
func (o AggregationAuthorizationResp) String() string
type BatchCreateRemediationExceptionsRequest ¶ added in v0.1.100
type BatchCreateRemediationExceptionsRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` Body *BatchCreateRemediationExceptionsRequestBody `json:"body,omitempty"` }
BatchCreateRemediationExceptionsRequest Request Object
func (BatchCreateRemediationExceptionsRequest) String ¶ added in v0.1.100
func (o BatchCreateRemediationExceptionsRequest) String() string
type BatchCreateRemediationExceptionsRequestBody ¶ added in v0.1.100
type BatchCreateRemediationExceptionsRequestBody struct { // 批量创建合规规则修正例外的详情。 Exceptions []RemediationExceptionRequest `json:"exceptions"` }
BatchCreateRemediationExceptionsRequestBody 批量创建合规规则修正例外的详情。
func (BatchCreateRemediationExceptionsRequestBody) String ¶ added in v0.1.100
func (o BatchCreateRemediationExceptionsRequestBody) String() string
type BatchCreateRemediationExceptionsResponse ¶ added in v0.1.100
type BatchCreateRemediationExceptionsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchCreateRemediationExceptionsResponse Response Object
func (BatchCreateRemediationExceptionsResponse) String ¶ added in v0.1.100
func (o BatchCreateRemediationExceptionsResponse) String() string
type BatchDeleteRemediationExceptionsRequest ¶ added in v0.1.100
type BatchDeleteRemediationExceptionsRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` Body *BatchDeleteRemediationExceptionsRequestBody `json:"body,omitempty"` }
BatchDeleteRemediationExceptionsRequest Request Object
func (BatchDeleteRemediationExceptionsRequest) String ¶ added in v0.1.100
func (o BatchDeleteRemediationExceptionsRequest) String() string
type BatchDeleteRemediationExceptionsRequestBody ¶ added in v0.1.100
type BatchDeleteRemediationExceptionsRequestBody struct { // 批量删除合规规则修正例外的详情。 Exceptions []RemediationExceptionRequest `json:"exceptions"` }
BatchDeleteRemediationExceptionsRequestBody 批量删除合规规则修正例外的详情。
func (BatchDeleteRemediationExceptionsRequestBody) String ¶ added in v0.1.100
func (o BatchDeleteRemediationExceptionsRequestBody) String() string
type BatchDeleteRemediationExceptionsResponse ¶ added in v0.1.100
type BatchDeleteRemediationExceptionsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchDeleteRemediationExceptionsResponse Response Object
func (BatchDeleteRemediationExceptionsResponse) String ¶ added in v0.1.100
func (o BatchDeleteRemediationExceptionsResponse) String() 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 ¶
func (o CollectAllResourcesSummaryRequest) String() string
type CollectAllResourcesSummaryResponse ¶
type CollectAllResourcesSummaryResponse struct { // 资源概要信息列表 Body *[]ResourceSummaryResponseItem `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
CollectAllResourcesSummaryResponse Response Object
func (CollectAllResourcesSummaryResponse) String ¶
func (o CollectAllResourcesSummaryResponse) String() 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
func (o CollectConformancePackComplianceSummaryRequest) String() string
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
func (o CollectConformancePackComplianceSummaryResponse) String() string
type CollectRemediationExecutionStatusesSummaryRequest ¶ added in v0.1.110
type CollectRemediationExecutionStatusesSummaryRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` // 最大的返回数量 Limit *int32 `json:"limit,omitempty"` // 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页 Marker *string `json:"marker,omitempty"` Body *RemediationExecutionStatusesSummaryRequestBody `json:"body,omitempty"` }
CollectRemediationExecutionStatusesSummaryRequest Request Object
func (CollectRemediationExecutionStatusesSummaryRequest) String ¶ added in v0.1.110
func (o CollectRemediationExecutionStatusesSummaryRequest) String() string
type CollectRemediationExecutionStatusesSummaryResponse ¶ added in v0.1.110
type CollectRemediationExecutionStatusesSummaryResponse struct { // 合规规则修正执行结果查询列表。 Value *[]RemediationExecutionStatus `json:"value,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
CollectRemediationExecutionStatusesSummaryResponse Response Object
func (CollectRemediationExecutionStatusesSummaryResponse) String ¶ added in v0.1.110
func (o CollectRemediationExecutionStatusesSummaryResponse) String() string
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"` // 是否查询已删除的资源。默认为false,不查询已删除的资源 ResourceDeleted *bool `json:"resource_deleted,omitempty"` }
CollectTrackedResourcesSummaryRequest Request Object
func (CollectTrackedResourcesSummaryRequest) String ¶ added in v0.1.72
func (o CollectTrackedResourcesSummaryRequest) String() string
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
func (o CollectTrackedResourcesSummaryResponse) String() string
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 ¶
func (o ConfigurationAggregatorRequest) String() 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 ¶
func (o ConfigurationAggregatorResp) String() 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
func (o ConformancePackComplianceDetail) String() string
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
func (o ConformancePackComplianceSummary) String() string
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
func (o ConformancePackRequestBody) String() string
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 CountResourcesByTagRequest ¶ added in v0.1.97
type CountResourcesByTagRequest struct { // 资源类型 ResourceType CountResourcesByTagRequestResourceType `json:"resource_type"` Body *ResourceInstancesReq `json:"body,omitempty"` }
CountResourcesByTagRequest Request Object
func (CountResourcesByTagRequest) String ¶ added in v0.1.97
func (o CountResourcesByTagRequest) String() string
type CountResourcesByTagRequestResourceType ¶ added in v0.1.97
type CountResourcesByTagRequestResourceType struct {
// contains filtered or unexported fields
}
func (CountResourcesByTagRequestResourceType) MarshalJSON ¶ added in v0.1.97
func (c CountResourcesByTagRequestResourceType) MarshalJSON() ([]byte, error)
func (*CountResourcesByTagRequestResourceType) UnmarshalJSON ¶ added in v0.1.97
func (c *CountResourcesByTagRequestResourceType) UnmarshalJSON(b []byte) error
func (CountResourcesByTagRequestResourceType) Value ¶ added in v0.1.97
func (c CountResourcesByTagRequestResourceType) Value() string
type CountResourcesByTagRequestResourceTypeEnum ¶ added in v0.1.97
type CountResourcesByTagRequestResourceTypeEnum struct {
CONFIGPOLICY_ASSIGNMENTS CountResourcesByTagRequestResourceType
}
func GetCountResourcesByTagRequestResourceTypeEnum ¶ added in v0.1.97
func GetCountResourcesByTagRequestResourceTypeEnum() CountResourcesByTagRequestResourceTypeEnum
type CountResourcesByTagResponse ¶ added in v0.1.97
type CountResourcesByTagResponse struct { // 总记录数 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
CountResourcesByTagResponse Response Object
func (CountResourcesByTagResponse) String ¶ added in v0.1.97
func (o CountResourcesByTagResponse) 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"` // 是否查询已删除的资源。默认为false,不查询已删除的资源 ResourceDeleted *bool `json:"resource_deleted,omitempty"` }
CountTrackedResourcesRequest Request Object
func (CountTrackedResourcesRequest) String ¶ added in v0.1.72
func (o CountTrackedResourcesRequest) String() string
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
func (o CountTrackedResourcesResponse) String() string
type CreateAggregationAuthorizationRequest ¶
type CreateAggregationAuthorizationRequest struct {
Body *AggregationAuthorizationRequest `json:"body,omitempty"`
}
CreateAggregationAuthorizationRequest Request Object
func (CreateAggregationAuthorizationRequest) String ¶
func (o CreateAggregationAuthorizationRequest) String() 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 ¶
func (o CreateAggregationAuthorizationResponse) String() string
type CreateConfigurationAggregatorRequest ¶
type CreateConfigurationAggregatorRequest struct {
Body *ConfigurationAggregatorRequest `json:"body,omitempty"`
}
CreateConfigurationAggregatorRequest Request Object
func (CreateConfigurationAggregatorRequest) String ¶
func (o CreateConfigurationAggregatorRequest) String() 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 ¶
func (o CreateConfigurationAggregatorResponse) String() string
type CreateConformancePackRequest ¶ added in v0.1.52
type CreateConformancePackRequest struct { // 合规包信息语言,默认为\"en-us\"英文 XLanguage *CreateConformancePackRequestXLanguage `json:"X-Language,omitempty"` Body *ConformancePackRequestBody `json:"body,omitempty"` }
CreateConformancePackRequest Request Object
func (CreateConformancePackRequest) String ¶ added in v0.1.52
func (o CreateConformancePackRequest) String() string
type CreateConformancePackRequestXLanguage ¶ added in v0.1.100
type CreateConformancePackRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateConformancePackRequestXLanguage) MarshalJSON ¶ added in v0.1.100
func (c CreateConformancePackRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateConformancePackRequestXLanguage) UnmarshalJSON ¶ added in v0.1.100
func (c *CreateConformancePackRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreateConformancePackRequestXLanguage) Value ¶ added in v0.1.100
func (c CreateConformancePackRequestXLanguage) Value() string
type CreateConformancePackRequestXLanguageEnum ¶ added in v0.1.100
type CreateConformancePackRequestXLanguageEnum struct { ZH_CN CreateConformancePackRequestXLanguage EN_US CreateConformancePackRequestXLanguage }
func GetCreateConformancePackRequestXLanguageEnum ¶ added in v0.1.100
func GetCreateConformancePackRequestXLanguageEnum() CreateConformancePackRequestXLanguageEnum
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
func (o CreateConformancePackResponse) String() string
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
func (c CreateConformancePackResponseStatus) Value() string
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 CreateOrUpdateRemediationConfigurationRequest ¶ added in v0.1.100
type CreateOrUpdateRemediationConfigurationRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` Body *RemediationConfigurationRequestBody `json:"body,omitempty"` }
CreateOrUpdateRemediationConfigurationRequest Request Object
func (CreateOrUpdateRemediationConfigurationRequest) String ¶ added in v0.1.100
func (o CreateOrUpdateRemediationConfigurationRequest) String() string
type CreateOrUpdateRemediationConfigurationResponse ¶ added in v0.1.100
type CreateOrUpdateRemediationConfigurationResponse struct { // 是否为自动修正。 Automatic *bool `json:"automatic,omitempty"` // 合规规则修正执行的方式。 TargetType *string `json:"target_type,omitempty"` // 修正执行的目标ID。如果修正方式为fgs,则该值为函数工作流的函数urn;如果修正方式为rfs,则该值为资源编排服务的模板name与版本号,两者以/分割,如果没有指定默认V1。 TargetId *string `json:"target_id,omitempty"` // 修正执行的参数。 StaticParameter *[]RemediationStaticParameter `json:"static_parameter,omitempty"` ResourceParameter *RemediationResourceParameter `json:"resource_parameter,omitempty"` // 指定时间内修正的最大尝试次数。 MaximumAttempts *int32 `json:"maximum_attempts,omitempty"` // 用于防止循环修正的时间窗口,如果在指定时间内进行了自动修正的最大尝试次数,则将资源添加至修正例外。 RetryAttemptSeconds *int32 `json:"retry_attempt_seconds,omitempty"` // 合规规则修正配置的权限方式。 AuthType *string `json:"auth_type,omitempty"` // 合规规则修正配置的权限信息。 AuthValue *string `json:"auth_value,omitempty"` // 修正配置的创建时间。 CreatedAt *string `json:"created_at,omitempty"` // 修正配置的更新时间。 UpdatedAt *string `json:"updated_at,omitempty"` // 创建者。 CreatedBy *string `json:"created_by,omitempty"` HttpStatusCode int `json:"-"` }
CreateOrUpdateRemediationConfigurationResponse Response Object
func (CreateOrUpdateRemediationConfigurationResponse) String ¶ added in v0.1.100
func (o CreateOrUpdateRemediationConfigurationResponse) String() string
type CreateOrganizationConformancePackRequest ¶ added in v0.1.61
type CreateOrganizationConformancePackRequest struct { // 组织ID。 OrganizationId string `json:"organization_id"` // 组织合规包信息语言,默认为\"en-us\"英文 XLanguage *CreateOrganizationConformancePackRequestXLanguage `json:"X-Language,omitempty"` Body *OrgConformancePackRequestBody `json:"body,omitempty"` }
CreateOrganizationConformancePackRequest Request Object
func (CreateOrganizationConformancePackRequest) String ¶ added in v0.1.61
func (o CreateOrganizationConformancePackRequest) String() string
type CreateOrganizationConformancePackRequestXLanguage ¶ added in v0.1.100
type CreateOrganizationConformancePackRequestXLanguage struct {
// contains filtered or unexported fields
}
func (CreateOrganizationConformancePackRequestXLanguage) MarshalJSON ¶ added in v0.1.100
func (c CreateOrganizationConformancePackRequestXLanguage) MarshalJSON() ([]byte, error)
func (*CreateOrganizationConformancePackRequestXLanguage) UnmarshalJSON ¶ added in v0.1.100
func (c *CreateOrganizationConformancePackRequestXLanguage) UnmarshalJSON(b []byte) error
func (CreateOrganizationConformancePackRequestXLanguage) Value ¶ added in v0.1.100
func (c CreateOrganizationConformancePackRequestXLanguage) Value() string
type CreateOrganizationConformancePackRequestXLanguageEnum ¶ added in v0.1.100
type CreateOrganizationConformancePackRequestXLanguageEnum struct { ZH_CN CreateOrganizationConformancePackRequestXLanguage EN_US CreateOrganizationConformancePackRequestXLanguage }
func GetCreateOrganizationConformancePackRequestXLanguageEnum ¶ added in v0.1.100
func GetCreateOrganizationConformancePackRequestXLanguageEnum() CreateOrganizationConformancePackRequestXLanguageEnum
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
func (o CreateOrganizationConformancePackResponse) String() string
type CreateOrganizationPolicyAssignmentRequest ¶
type CreateOrganizationPolicyAssignmentRequest struct { // 组织ID。 OrganizationId string `json:"organization_id"` Body *OrganizationPolicyAssignmentRequest `json:"body,omitempty"` }
CreateOrganizationPolicyAssignmentRequest Request Object
func (CreateOrganizationPolicyAssignmentRequest) String ¶
func (o CreateOrganizationPolicyAssignmentRequest) String() 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 ¶
func (o CreateOrganizationPolicyAssignmentResponse) String() string
type CreatePolicyAssignmentsRequest ¶
type CreatePolicyAssignmentsRequest struct {
Body *PolicyAssignmentRequestBody `json:"body,omitempty"`
}
CreatePolicyAssignmentsRequest Request Object
func (CreatePolicyAssignmentsRequest) String ¶
func (o CreatePolicyAssignmentsRequest) String() 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"` Tags *[]ResourceTag `json:"tags,omitempty"` // 规则的创建者 CreatedBy *string `json:"created_by,omitempty"` // 合规规则修正方式。 TargetType *string `json:"target_type,omitempty"` // 修正执行的目标id。 TargetId *string `json:"target_id,omitempty"` HttpStatusCode int `json:"-"` }
CreatePolicyAssignmentsResponse Response Object
func (CreatePolicyAssignmentsResponse) String ¶
func (o CreatePolicyAssignmentsResponse) String() string
type CreatePolicyAssignmentsResponsePolicyAssignmentType ¶
type CreatePolicyAssignmentsResponsePolicyAssignmentType struct {
// contains filtered or unexported fields
}
func (CreatePolicyAssignmentsResponsePolicyAssignmentType) MarshalJSON ¶
func (c CreatePolicyAssignmentsResponsePolicyAssignmentType) MarshalJSON() ([]byte, error)
func (*CreatePolicyAssignmentsResponsePolicyAssignmentType) UnmarshalJSON ¶
func (c *CreatePolicyAssignmentsResponsePolicyAssignmentType) UnmarshalJSON(b []byte) error
func (CreatePolicyAssignmentsResponsePolicyAssignmentType) Value ¶
func (c CreatePolicyAssignmentsResponsePolicyAssignmentType) Value() string
type CreatePolicyAssignmentsResponsePolicyAssignmentTypeEnum ¶
type CreatePolicyAssignmentsResponsePolicyAssignmentTypeEnum struct { BUILTIN CreatePolicyAssignmentsResponsePolicyAssignmentType CUSTOM CreatePolicyAssignmentsResponsePolicyAssignmentType }
func GetCreatePolicyAssignmentsResponsePolicyAssignmentTypeEnum ¶
func GetCreatePolicyAssignmentsResponsePolicyAssignmentTypeEnum() CreatePolicyAssignmentsResponsePolicyAssignmentTypeEnum
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"` // 自定义查询类型,枚举值为“account”和“aggregator”。若取值为“account”,表示单帐号的自定义查询语句;若取值为“aggregator”,表示聚合器的自定义查询语句。默认值为“account”。 Type *CreateStoredQueryResponseType `json:"type,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 CreateStoredQueryResponseType ¶ added in v0.1.113
type CreateStoredQueryResponseType struct {
// contains filtered or unexported fields
}
func (CreateStoredQueryResponseType) MarshalJSON ¶ added in v0.1.113
func (c CreateStoredQueryResponseType) MarshalJSON() ([]byte, error)
func (*CreateStoredQueryResponseType) UnmarshalJSON ¶ added in v0.1.113
func (c *CreateStoredQueryResponseType) UnmarshalJSON(b []byte) error
func (CreateStoredQueryResponseType) Value ¶ added in v0.1.113
func (c CreateStoredQueryResponseType) Value() string
type CreateStoredQueryResponseTypeEnum ¶ added in v0.1.113
type CreateStoredQueryResponseTypeEnum struct { ACCOUNT CreateStoredQueryResponseType AGGREGATOR CreateStoredQueryResponseType }
func GetCreateStoredQueryResponseTypeEnum ¶ added in v0.1.113
func GetCreateStoredQueryResponseTypeEnum() CreateStoredQueryResponseTypeEnum
type CreateTrackerConfigRequest ¶
type CreateTrackerConfigRequest struct {
Body *TrackerConfigBody `json:"body,omitempty"`
}
CreateTrackerConfigRequest Request Object
func (CreateTrackerConfigRequest) String ¶
func (o CreateTrackerConfigRequest) String() string
type CreateTrackerConfigResponse ¶
type CreateTrackerConfigResponse struct {
HttpStatusCode int `json:"-"`
}
CreateTrackerConfigResponse Response Object
func (CreateTrackerConfigResponse) String ¶
func (o CreateTrackerConfigResponse) String() 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 ¶
func (o DeleteAggregationAuthorizationRequest) String() string
type DeleteAggregationAuthorizationResponse ¶
type DeleteAggregationAuthorizationResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteAggregationAuthorizationResponse Response Object
func (DeleteAggregationAuthorizationResponse) String ¶
func (o DeleteAggregationAuthorizationResponse) String() string
type DeleteConfigurationAggregatorRequest ¶
type DeleteConfigurationAggregatorRequest struct { // 资源聚合器ID。 AggregatorId string `json:"aggregator_id"` }
DeleteConfigurationAggregatorRequest Request Object
func (DeleteConfigurationAggregatorRequest) String ¶
func (o DeleteConfigurationAggregatorRequest) String() string
type DeleteConfigurationAggregatorResponse ¶
type DeleteConfigurationAggregatorResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteConfigurationAggregatorResponse Response Object
func (DeleteConfigurationAggregatorResponse) String ¶
func (o DeleteConfigurationAggregatorResponse) String() 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
func (o DeleteConformancePackRequest) String() string
type DeleteConformancePackResponse ¶ added in v0.1.52
type DeleteConformancePackResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteConformancePackResponse Response Object
func (DeleteConformancePackResponse) String ¶ added in v0.1.52
func (o DeleteConformancePackResponse) String() string
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
func (o DeleteOrganizationConformancePackRequest) String() string
type DeleteOrganizationConformancePackResponse ¶ added in v0.1.61
type DeleteOrganizationConformancePackResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteOrganizationConformancePackResponse Response Object
func (DeleteOrganizationConformancePackResponse) String ¶ added in v0.1.61
func (o DeleteOrganizationConformancePackResponse) String() string
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 ¶
func (o DeleteOrganizationPolicyAssignmentRequest) String() string
type DeleteOrganizationPolicyAssignmentResponse ¶
type DeleteOrganizationPolicyAssignmentResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteOrganizationPolicyAssignmentResponse Response Object
func (DeleteOrganizationPolicyAssignmentResponse) String ¶
func (o DeleteOrganizationPolicyAssignmentResponse) String() string
type DeletePendingAggregationRequestRequest ¶
type DeletePendingAggregationRequestRequest struct { // 请求聚合数据的帐号ID。 RequesterAccountId string `json:"requester_account_id"` }
DeletePendingAggregationRequestRequest Request Object
func (DeletePendingAggregationRequestRequest) String ¶
func (o DeletePendingAggregationRequestRequest) String() string
type DeletePendingAggregationRequestResponse ¶
type DeletePendingAggregationRequestResponse struct {
HttpStatusCode int `json:"-"`
}
DeletePendingAggregationRequestResponse Response Object
func (DeletePendingAggregationRequestResponse) String ¶
func (o DeletePendingAggregationRequestResponse) String() string
type DeletePolicyAssignmentRequest ¶
type DeletePolicyAssignmentRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` }
DeletePolicyAssignmentRequest Request Object
func (DeletePolicyAssignmentRequest) String ¶
func (o DeletePolicyAssignmentRequest) String() string
type DeletePolicyAssignmentResponse ¶
type DeletePolicyAssignmentResponse struct {
HttpStatusCode int `json:"-"`
}
DeletePolicyAssignmentResponse Response Object
func (DeletePolicyAssignmentResponse) String ¶
func (o DeletePolicyAssignmentResponse) String() string
type DeleteRemediationConfigurationRequest ¶ added in v0.1.100
type DeleteRemediationConfigurationRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` }
DeleteRemediationConfigurationRequest Request Object
func (DeleteRemediationConfigurationRequest) String ¶ added in v0.1.100
func (o DeleteRemediationConfigurationRequest) String() string
type DeleteRemediationConfigurationResponse ¶ added in v0.1.100
type DeleteRemediationConfigurationResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteRemediationConfigurationResponse Response Object
func (DeleteRemediationConfigurationResponse) String ¶ added in v0.1.100
func (o DeleteRemediationConfigurationResponse) String() 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 ¶
func (o DeleteTrackerConfigRequest) String() string
type DeleteTrackerConfigResponse ¶
type DeleteTrackerConfigResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteTrackerConfigResponse Response Object
func (DeleteTrackerConfigResponse) String ¶
func (o DeleteTrackerConfigResponse) String() string
type DisablePolicyAssignmentRequest ¶
type DisablePolicyAssignmentRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` }
DisablePolicyAssignmentRequest Request Object
func (DisablePolicyAssignmentRequest) String ¶
func (o DisablePolicyAssignmentRequest) String() string
type DisablePolicyAssignmentResponse ¶
type DisablePolicyAssignmentResponse struct {
HttpStatusCode int `json:"-"`
}
DisablePolicyAssignmentResponse Response Object
func (DisablePolicyAssignmentResponse) String ¶
func (o DisablePolicyAssignmentResponse) String() string
type EnablePolicyAssignmentRequest ¶
type EnablePolicyAssignmentRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` }
EnablePolicyAssignmentRequest Request Object
func (EnablePolicyAssignmentRequest) String ¶
func (o EnablePolicyAssignmentRequest) String() string
type EnablePolicyAssignmentResponse ¶
type EnablePolicyAssignmentResponse struct {
HttpStatusCode int `json:"-"`
}
EnablePolicyAssignmentResponse Response Object
func (EnablePolicyAssignmentResponse) String ¶
func (o EnablePolicyAssignmentResponse) String() string
type FrozenStatus ¶ added in v0.1.113
type FrozenStatus struct { // 是否冻结 IsFrozen *bool `json:"is_frozen,omitempty"` // 冻结场景 FrozenScene *[]string `json:"frozen_scene,omitempty"` }
FrozenStatus 资源记录器冻结状态
func (FrozenStatus) String ¶ added in v0.1.113
func (o FrozenStatus) String() 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 ¶
func (o ListAggregateComplianceByPolicyAssignmentRequest) String() 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 ¶
func (o ListAggregateComplianceByPolicyAssignmentResponse) String() 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 ¶
func (o ListAggregateDiscoveredResourcesRequest) String() 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 ¶
func (o ListAggregateDiscoveredResourcesResponse) String() 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 ¶
func (o ListAggregationAuthorizationsRequest) String() 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 ¶
func (o ListAggregationAuthorizationsResponse) String() 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
func (o ListBuiltInConformancePackTemplatesRequest) String() string
type ListBuiltInConformancePackTemplatesRequestXLanguage ¶ added in v0.1.52
type ListBuiltInConformancePackTemplatesRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListBuiltInConformancePackTemplatesRequestXLanguage) MarshalJSON ¶ added in v0.1.52
func (c ListBuiltInConformancePackTemplatesRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListBuiltInConformancePackTemplatesRequestXLanguage) UnmarshalJSON ¶ added in v0.1.52
func (c *ListBuiltInConformancePackTemplatesRequestXLanguage) UnmarshalJSON(b []byte) error
func (ListBuiltInConformancePackTemplatesRequestXLanguage) Value ¶ added in v0.1.52
func (c ListBuiltInConformancePackTemplatesRequestXLanguage) Value() string
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
func (o ListBuiltInConformancePackTemplatesResponse) String() string
type ListBuiltInPolicyDefinitionsRequest ¶
type ListBuiltInPolicyDefinitionsRequest struct { // 选择接口返回的信息的语言,默认为\"zh-cn\"中文 XLanguage *string `json:"X-Language,omitempty"` }
ListBuiltInPolicyDefinitionsRequest Request Object
func (ListBuiltInPolicyDefinitionsRequest) String ¶
func (o ListBuiltInPolicyDefinitionsRequest) String() 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 ¶
func (o ListBuiltInPolicyDefinitionsResponse) String() 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 ¶
func (o ListConfigurationAggregatorsRequest) String() 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 ¶
func (o ListConfigurationAggregatorsResponse) String() 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
func (o ListConformancePackComplianceByPackIdRequest) String() string
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
func (o ListConformancePackComplianceByPackIdResponse) String() string
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
func (o ListConformancePackComplianceDetailsByPackIdRequest) String() string
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
func (o ListConformancePackComplianceDetailsByPackIdResponse) String() string
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
func (o ListConformancePackComplianceScoresRequest) String() string
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
func (o ListConformancePackComplianceScoresResponse) String() string
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
func (o ListConformancePacksRequest) String() string
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
func (o ListConformancePacksResponse) String() string
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
func (o ListOrganizationConformancePackStatusesRequest) String() string
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
func (o ListOrganizationConformancePackStatusesResponse) String() string
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
func (o ListOrganizationConformancePacksRequest) String() string
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
func (o ListOrganizationConformancePacksResponse) String() string
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 ¶
func (o ListOrganizationPolicyAssignmentsRequest) String() 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 ¶
func (o ListOrganizationPolicyAssignmentsResponse) String() 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 ¶
func (o ListPendingAggregationRequestsRequest) String() 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 ¶
func (o ListPendingAggregationRequestsResponse) String() 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 ¶
func (o ListPolicyAssignmentsRequest) String() 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 ¶
func (o ListPolicyAssignmentsResponse) String() 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 ¶
func (o ListPolicyStatesByAssignmentIdRequest) String() 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 ¶
func (o ListPolicyStatesByAssignmentIdResponse) String() 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 ¶
func (o ListPolicyStatesByDomainIdRequest) String() 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 ¶
func (o ListPolicyStatesByDomainIdResponse) String() 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 ¶
func (o ListPolicyStatesByResourceIdRequest) String() 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 ¶
func (o ListPolicyStatesByResourceIdResponse) String() 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 ¶
func (c ListProvidersRequestTrack) Value() string
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 ¶
func (c ListProvidersRequestXLanguage) Value() string
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 ¶
func (c ListRegionsRequestXLanguage) Value() string
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 ListRemediationExceptionsRequest ¶ added in v0.1.100
type ListRemediationExceptionsRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` // 最大的返回数量 Limit *int32 `json:"limit,omitempty"` // 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页 Marker *string `json:"marker,omitempty"` // 资源ID ResourceId *string `json:"resource_id,omitempty"` }
ListRemediationExceptionsRequest Request Object
func (ListRemediationExceptionsRequest) String ¶ added in v0.1.100
func (o ListRemediationExceptionsRequest) String() string
type ListRemediationExceptionsResponse ¶ added in v0.1.100
type ListRemediationExceptionsResponse struct { // 合规规则修正例外的详情。 Value *[]RemediationException `json:"value,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListRemediationExceptionsResponse Response Object
func (ListRemediationExceptionsResponse) String ¶ added in v0.1.100
func (o ListRemediationExceptionsResponse) String() string
type ListRemediationExecutionStatusesRequest ¶ added in v0.1.100
type ListRemediationExecutionStatusesRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` // 最大的返回数量 Limit *int32 `json:"limit,omitempty"` // 分页参数,通过上一个请求中返回的marker信息作为输入,获取当前页 Marker *string `json:"marker,omitempty"` // 资源ID ResourceId *string `json:"resource_id,omitempty"` // 资源名称 ResourceName *string `json:"resource_name,omitempty"` }
ListRemediationExecutionStatusesRequest Request Object
func (ListRemediationExecutionStatusesRequest) String ¶ added in v0.1.100
func (o ListRemediationExecutionStatusesRequest) String() string
type ListRemediationExecutionStatusesResponse ¶ added in v0.1.100
type ListRemediationExecutionStatusesResponse struct { // 合规规则修正执行结果查询列表。 Value *[]RemediationExecution `json:"value,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
ListRemediationExecutionStatusesResponse Response Object
func (ListRemediationExecutionStatusesResponse) String ¶ added in v0.1.100
func (o ListRemediationExecutionStatusesResponse) String() string
type ListResourcesByTagRequest ¶ added in v0.1.97
type ListResourcesByTagRequest struct { // 资源类型 ResourceType ListResourcesByTagRequestResourceType `json:"resource_type"` // 查询记录数(action为count时无此参数)如果action为filter默认为1000,limit最多为1000,不能为负数,最小值为1 Limit *int32 `json:"limit,omitempty"` // 索引位置,偏移量(action为count时无此参数)从第一条数据偏移offset条数据后开始查询,如果action为filter默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数 Offset *int32 `json:"offset,omitempty"` Body *ResourceInstancesReq `json:"body,omitempty"` }
ListResourcesByTagRequest Request Object
func (ListResourcesByTagRequest) String ¶ added in v0.1.97
func (o ListResourcesByTagRequest) String() string
type ListResourcesByTagRequestResourceType ¶ added in v0.1.97
type ListResourcesByTagRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListResourcesByTagRequestResourceType) MarshalJSON ¶ added in v0.1.97
func (c ListResourcesByTagRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListResourcesByTagRequestResourceType) UnmarshalJSON ¶ added in v0.1.97
func (c *ListResourcesByTagRequestResourceType) UnmarshalJSON(b []byte) error
func (ListResourcesByTagRequestResourceType) Value ¶ added in v0.1.97
func (c ListResourcesByTagRequestResourceType) Value() string
type ListResourcesByTagRequestResourceTypeEnum ¶ added in v0.1.97
type ListResourcesByTagRequestResourceTypeEnum struct {
CONFIGPOLICY_ASSIGNMENTS ListResourcesByTagRequestResourceType
}
func GetListResourcesByTagRequestResourceTypeEnum ¶ added in v0.1.97
func GetListResourcesByTagRequestResourceTypeEnum() ListResourcesByTagRequestResourceTypeEnum
type ListResourcesByTagResponse ¶ added in v0.1.97
type ListResourcesByTagResponse struct { Resources *[]ResourceResp `json:"resources,omitempty"` // 总记录数 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListResourcesByTagResponse Response Object
func (ListResourcesByTagResponse) String ¶ added in v0.1.97
func (o ListResourcesByTagResponse) 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 ListTagsForResourceRequest ¶ added in v0.1.97
type ListTagsForResourceRequest struct { // 资源类型 ResourceType ListTagsForResourceRequestResourceType `json:"resource_type"` // 资源ID ResourceId string `json:"resource_id"` }
ListTagsForResourceRequest Request Object
func (ListTagsForResourceRequest) String ¶ added in v0.1.97
func (o ListTagsForResourceRequest) String() string
type ListTagsForResourceRequestResourceType ¶ added in v0.1.97
type ListTagsForResourceRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListTagsForResourceRequestResourceType) MarshalJSON ¶ added in v0.1.97
func (c ListTagsForResourceRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListTagsForResourceRequestResourceType) UnmarshalJSON ¶ added in v0.1.97
func (c *ListTagsForResourceRequestResourceType) UnmarshalJSON(b []byte) error
func (ListTagsForResourceRequestResourceType) Value ¶ added in v0.1.97
func (c ListTagsForResourceRequestResourceType) Value() string
type ListTagsForResourceRequestResourceTypeEnum ¶ added in v0.1.97
type ListTagsForResourceRequestResourceTypeEnum struct {
CONFIGPOLICY_ASSIGNMENTS ListTagsForResourceRequestResourceType
}
func GetListTagsForResourceRequestResourceTypeEnum ¶ added in v0.1.97
func GetListTagsForResourceRequestResourceTypeEnum() ListTagsForResourceRequestResourceTypeEnum
type ListTagsForResourceResponse ¶ added in v0.1.97
type ListTagsForResourceResponse struct { // 标签列表 Tags *[]ResourceTag `json:"tags,omitempty"` HttpStatusCode int `json:"-"` }
ListTagsForResourceResponse Response Object
func (ListTagsForResourceResponse) String ¶ added in v0.1.97
func (o ListTagsForResourceResponse) String() string
type ListTagsForResourceTypeRequest ¶ added in v0.1.97
type ListTagsForResourceTypeRequest struct { // 资源类型 ResourceType ListTagsForResourceTypeRequestResourceType `json:"resource_type"` // 查询记录数默认为1000,limit最多为1000,不能为负数,最小值为1 Limit *int32 `json:"limit,omitempty"` // 索引位置,从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数 Offset *int32 `json:"offset,omitempty"` }
ListTagsForResourceTypeRequest Request Object
func (ListTagsForResourceTypeRequest) String ¶ added in v0.1.97
func (o ListTagsForResourceTypeRequest) String() string
type ListTagsForResourceTypeRequestResourceType ¶ added in v0.1.97
type ListTagsForResourceTypeRequestResourceType struct {
// contains filtered or unexported fields
}
func (ListTagsForResourceTypeRequestResourceType) MarshalJSON ¶ added in v0.1.97
func (c ListTagsForResourceTypeRequestResourceType) MarshalJSON() ([]byte, error)
func (*ListTagsForResourceTypeRequestResourceType) UnmarshalJSON ¶ added in v0.1.97
func (c *ListTagsForResourceTypeRequestResourceType) UnmarshalJSON(b []byte) error
func (ListTagsForResourceTypeRequestResourceType) Value ¶ added in v0.1.97
func (c ListTagsForResourceTypeRequestResourceType) Value() string
type ListTagsForResourceTypeRequestResourceTypeEnum ¶ added in v0.1.97
type ListTagsForResourceTypeRequestResourceTypeEnum struct {
CONFIGPOLICY_ASSIGNMENTS ListTagsForResourceTypeRequestResourceType
}
func GetListTagsForResourceTypeRequestResourceTypeEnum ¶ added in v0.1.97
func GetListTagsForResourceTypeRequestResourceTypeEnum() ListTagsForResourceTypeRequestResourceTypeEnum
type ListTagsForResourceTypeResponse ¶ added in v0.1.97
type ListTagsForResourceTypeResponse struct { // 标签列表 Tags *[]Tag `json:"tags,omitempty"` // 总记录数 TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
ListTagsForResourceTypeResponse Response Object
func (ListTagsForResourceTypeResponse) String ¶ added in v0.1.97
func (o ListTagsForResourceTypeResponse) 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"` // 是否查询已删除的资源。默认为false,不查询已删除的资源 ResourceDeleted *bool `json:"resource_deleted,omitempty"` }
ListTrackedResourceTagsRequest Request Object
func (ListTrackedResourceTagsRequest) String ¶ added in v0.1.72
func (o ListTrackedResourceTagsRequest) String() string
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
func (o ListTrackedResourceTagsResponse) String() string
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"` // 是否查询已删除的资源。默认为false,不查询已删除的资源 ResourceDeleted *bool `json:"resource_deleted,omitempty"` }
ListTrackedResourcesRequest Request Object
func (ListTrackedResourcesRequest) String ¶ added in v0.1.72
func (o ListTrackedResourcesRequest) String() string
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
func (o ListTrackedResourcesResponse) String() string
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 ¶
func (o ManagedPolicyAssignmentMetadata) String() 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 ¶
func (c ManagedPolicyAssignmentMetadataPeriod) Value() string
type ManagedPolicyAssignmentMetadataPeriodEnum ¶
type ManagedPolicyAssignmentMetadataPeriodEnum struct { ONE_HOUR ManagedPolicyAssignmentMetadataPeriod THREE_HOURS ManagedPolicyAssignmentMetadataPeriod SIX_HOURS ManagedPolicyAssignmentMetadataPeriod TWELVE_HOURS ManagedPolicyAssignmentMetadataPeriod TWENTY_FOUR_HOURS ManagedPolicyAssignmentMetadataPeriod }
func GetManagedPolicyAssignmentMetadataPeriodEnum ¶
func GetManagedPolicyAssignmentMetadataPeriodEnum() ManagedPolicyAssignmentMetadataPeriodEnum
type Match ¶ added in v0.1.97
type MatchKey ¶ added in v0.1.97
type MatchKey struct {
// contains filtered or unexported fields
}
func (MatchKey) MarshalJSON ¶ added in v0.1.97
func (*MatchKey) UnmarshalJSON ¶ added in v0.1.97
type MatchKeyEnum ¶ added in v0.1.97
type MatchKeyEnum struct {
RESOURCE_NAME MatchKey
}
func GetMatchKeyEnum ¶ added in v0.1.97
func GetMatchKeyEnum() MatchKeyEnum
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
func (o OrgConformancePackDetailedStatus) String() string
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
func (o OrgConformancePackRequestBody) String() string
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
func (o OrgConformancePackResponse) String() string
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 ¶
func (o OrganizationPolicyAssignmentDetailedStatusResponse) String() 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 ¶
func (o OrganizationPolicyAssignmentRequest) String() 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 ¶
func (o OrganizationPolicyAssignmentResponse) String() 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 ¶
func (o OrganizationPolicyAssignmentStatusResponse) String() string
type PageInfo ¶
type PageInfo struct { // 当前页的资源数量 CurrentCount *int32 `json:"current_count,omitempty"` // 下一页的marker NextMarker *string `json:"next_marker,omitempty"` }
PageInfo 分页对象
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"` Tags *[]ResourceTag `json:"tags,omitempty"` // 规则的创建者 CreatedBy *string `json:"created_by,omitempty"` // 合规规则修正方式。 TargetType *string `json:"target_type,omitempty"` // 修正执行的目标id。 TargetId *string `json:"target_id,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 ¶
func (c PolicyAssignmentPolicyAssignmentType) Value() string
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"` Tags *[]ResourceTag `json:"tags,omitempty"` }
PolicyAssignmentRequestBody 规则请求体
func (PolicyAssignmentRequestBody) String ¶
func (o PolicyAssignmentRequestBody) String() 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 ¶
func (c PolicyAssignmentRequestBodyPeriod) Value() string
type PolicyAssignmentRequestBodyPeriodEnum ¶
type PolicyAssignmentRequestBodyPeriodEnum struct { ONE_HOUR PolicyAssignmentRequestBodyPeriod THREE_HOURS PolicyAssignmentRequestBodyPeriod SIX_HOURS PolicyAssignmentRequestBodyPeriod TWELVE_HOURS PolicyAssignmentRequestBodyPeriod TWENTY_FOUR_HOURS PolicyAssignmentRequestBodyPeriod }
func GetPolicyAssignmentRequestBodyPeriodEnum ¶
func GetPolicyAssignmentRequestBodyPeriodEnum() PolicyAssignmentRequestBodyPeriodEnum
type PolicyAssignmentRequestBodyPolicyAssignmentType ¶
type PolicyAssignmentRequestBodyPolicyAssignmentType struct {
// contains filtered or unexported fields
}
func (PolicyAssignmentRequestBodyPolicyAssignmentType) MarshalJSON ¶
func (c PolicyAssignmentRequestBodyPolicyAssignmentType) MarshalJSON() ([]byte, error)
func (*PolicyAssignmentRequestBodyPolicyAssignmentType) UnmarshalJSON ¶
func (c *PolicyAssignmentRequestBodyPolicyAssignmentType) UnmarshalJSON(b []byte) error
func (PolicyAssignmentRequestBodyPolicyAssignmentType) Value ¶
func (c PolicyAssignmentRequestBodyPolicyAssignmentType) Value() string
type PolicyAssignmentRequestBodyPolicyAssignmentTypeEnum ¶
type PolicyAssignmentRequestBodyPolicyAssignmentTypeEnum struct { BUILTIN PolicyAssignmentRequestBodyPolicyAssignmentType CUSTOM PolicyAssignmentRequestBodyPolicyAssignmentType }
func GetPolicyAssignmentRequestBodyPolicyAssignmentTypeEnum ¶
func GetPolicyAssignmentRequestBodyPolicyAssignmentTypeEnum() PolicyAssignmentRequestBodyPolicyAssignmentTypeEnum
type PolicyComplianceSummaryUnit ¶
type PolicyComplianceSummaryUnit struct { // 合规数量 CompliantCount *int32 `json:"compliant_count,omitempty"` // 不合规数量 NonCompliantCount *int32 `json:"non_compliant_count,omitempty"` }
PolicyComplianceSummaryUnit 规则总结详情
func (PolicyComplianceSummaryUnit) String ¶
func (o PolicyComplianceSummaryUnit) String() 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 ¶
func (o PolicyDefinitionDefaultResourceTypes) String() 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 ¶
func (c PolicyParameterDefinitionType) Value() string
type PolicyParameterDefinitionTypeEnum ¶
type PolicyParameterDefinitionTypeEnum struct { ARRAY PolicyParameterDefinitionType BOOLEAN PolicyParameterDefinitionType INTEGER PolicyParameterDefinitionType FLOAT PolicyParameterDefinitionType STRING PolicyParameterDefinitionType DATE_TIME PolicyParameterDefinitionType }
func GetPolicyParameterDefinitionTypeEnum ¶
func GetPolicyParameterDefinitionTypeEnum() PolicyParameterDefinitionTypeEnum
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 ¶
func (c PolicyStateRequestBodyComplianceState) Value() string
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 ¶
func (c PolicyStateRequestBodyTriggerType) Value() string
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"` }
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 区域
type RemediationConfigurationRequestBody ¶ added in v0.1.100
type RemediationConfigurationRequestBody struct { // 是否为自动修正。 Automatic *bool `json:"automatic,omitempty"` // 合规规则修正执行的方式。 TargetType RemediationConfigurationRequestBodyTargetType `json:"target_type"` // 修正执行的目标ID。如果修正方式为fgs,则该值为函数工作流的函数urn;如果修正方式为rfs,则该值为资源编排服务的模板name与版本号,两者以/分割,如果没有指定默认V1。 TargetId string `json:"target_id"` // 修正执行的静态参数。 StaticParameter *[]RemediationStaticParameter `json:"static_parameter,omitempty"` ResourceParameter *RemediationResourceParameter `json:"resource_parameter"` // 指定时间内修正的最大尝试次数。 MaximumAttempts *int32 `json:"maximum_attempts,omitempty"` // 用于防止循环修正的时间窗口,如果在指定时间内进行了自动修正的最大尝试次数,则将资源添加至修正例外。 RetryAttemptSeconds *int32 `json:"retry_attempt_seconds,omitempty"` // 合规规则修正配置的权限方式。 AuthType *RemediationConfigurationRequestBodyAuthType `json:"auth_type,omitempty"` // 合规规则修正配置的权限信息。 AuthValue *string `json:"auth_value,omitempty"` }
RemediationConfigurationRequestBody 合规规则修正配置的请求体。
func (RemediationConfigurationRequestBody) String ¶ added in v0.1.100
func (o RemediationConfigurationRequestBody) String() string
type RemediationConfigurationRequestBodyAuthType ¶ added in v0.1.100
type RemediationConfigurationRequestBodyAuthType struct {
// contains filtered or unexported fields
}
func (RemediationConfigurationRequestBodyAuthType) MarshalJSON ¶ added in v0.1.100
func (c RemediationConfigurationRequestBodyAuthType) MarshalJSON() ([]byte, error)
func (*RemediationConfigurationRequestBodyAuthType) UnmarshalJSON ¶ added in v0.1.100
func (c *RemediationConfigurationRequestBodyAuthType) UnmarshalJSON(b []byte) error
func (RemediationConfigurationRequestBodyAuthType) Value ¶ added in v0.1.100
func (c RemediationConfigurationRequestBodyAuthType) Value() string
type RemediationConfigurationRequestBodyAuthTypeEnum ¶ added in v0.1.100
type RemediationConfigurationRequestBodyAuthTypeEnum struct { AGENCY RemediationConfigurationRequestBodyAuthType TRUST_AGENCY RemediationConfigurationRequestBodyAuthType }
func GetRemediationConfigurationRequestBodyAuthTypeEnum ¶ added in v0.1.100
func GetRemediationConfigurationRequestBodyAuthTypeEnum() RemediationConfigurationRequestBodyAuthTypeEnum
type RemediationConfigurationRequestBodyTargetType ¶ added in v0.1.100
type RemediationConfigurationRequestBodyTargetType struct {
// contains filtered or unexported fields
}
func (RemediationConfigurationRequestBodyTargetType) MarshalJSON ¶ added in v0.1.100
func (c RemediationConfigurationRequestBodyTargetType) MarshalJSON() ([]byte, error)
func (*RemediationConfigurationRequestBodyTargetType) UnmarshalJSON ¶ added in v0.1.100
func (c *RemediationConfigurationRequestBodyTargetType) UnmarshalJSON(b []byte) error
func (RemediationConfigurationRequestBodyTargetType) Value ¶ added in v0.1.100
func (c RemediationConfigurationRequestBodyTargetType) Value() string
type RemediationConfigurationRequestBodyTargetTypeEnum ¶ added in v0.1.100
type RemediationConfigurationRequestBodyTargetTypeEnum struct { FGS RemediationConfigurationRequestBodyTargetType RFS RemediationConfigurationRequestBodyTargetType }
func GetRemediationConfigurationRequestBodyTargetTypeEnum ¶ added in v0.1.100
func GetRemediationConfigurationRequestBodyTargetTypeEnum() RemediationConfigurationRequestBodyTargetTypeEnum
type RemediationException ¶ added in v0.1.100
type RemediationException struct { // 资源ID。 ResourceId *string `json:"resource_id,omitempty"` // 加入合规规则修正例外的原因。 Message *string `json:"message,omitempty"` // 加入合规规则修正例外的时间。 JoinedAt *string `json:"joined_at,omitempty"` // 合规规则修正例外的创建者。 CreatedBy *string `json:"created_by,omitempty"` }
RemediationException 合规规则修正例外。
func (RemediationException) String ¶ added in v0.1.100
func (o RemediationException) String() string
type RemediationExceptionRequest ¶ added in v0.1.100
type RemediationExceptionRequest struct { // 资源ID。 ResourceId string `json:"resource_id"` // 加入合规规则修正例外的原因。 Message *string `json:"message,omitempty"` }
RemediationExceptionRequest 合规规则修正例外。
func (RemediationExceptionRequest) String ¶ added in v0.1.100
func (o RemediationExceptionRequest) String() string
type RemediationExecution ¶ added in v0.1.100
type RemediationExecution struct { // 是否为自动修正。 Automatic *bool `json:"automatic,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"` // 补救执行的开始时间。 InvocationTime *string `json:"invocation_time,omitempty"` // 合规规则修正执行的状态。 State *RemediationExecutionState `json:"state,omitempty"` // 合规规则修正执行的信息。 Message *string `json:"message,omitempty"` }
RemediationExecution 合规规则修正执行结果的详情。
func (RemediationExecution) String ¶ added in v0.1.100
func (o RemediationExecution) String() string
type RemediationExecutionState ¶ added in v0.1.100
type RemediationExecutionState struct {
// contains filtered or unexported fields
}
func (RemediationExecutionState) MarshalJSON ¶ added in v0.1.100
func (c RemediationExecutionState) MarshalJSON() ([]byte, error)
func (*RemediationExecutionState) UnmarshalJSON ¶ added in v0.1.100
func (c *RemediationExecutionState) UnmarshalJSON(b []byte) error
func (RemediationExecutionState) Value ¶ added in v0.1.100
func (c RemediationExecutionState) Value() string
type RemediationExecutionStateEnum ¶ added in v0.1.100
type RemediationExecutionStateEnum struct { IN_QUEUE RemediationExecutionState IN_PROGRESS RemediationExecutionState SUCCEEDED RemediationExecutionState FAILED RemediationExecutionState }
func GetRemediationExecutionStateEnum ¶ added in v0.1.100
func GetRemediationExecutionStateEnum() RemediationExecutionStateEnum
type RemediationExecutionStatus ¶ added in v0.1.110
type RemediationExecutionStatus struct { ResourceKey *RemediationResourceKey `json:"resource_key,omitempty"` // 补救执行的开始时间。 InvocationTime *string `json:"invocation_time,omitempty"` // 合规规则修正执行的状态。 State *RemediationExecutionStatusState `json:"state,omitempty"` // 合规规则修正执行的信息。 Message *string `json:"message,omitempty"` }
RemediationExecutionStatus 指定资源合规规则修正最新执行结果。
func (RemediationExecutionStatus) String ¶ added in v0.1.110
func (o RemediationExecutionStatus) String() string
type RemediationExecutionStatusState ¶ added in v0.1.110
type RemediationExecutionStatusState struct {
// contains filtered or unexported fields
}
func (RemediationExecutionStatusState) MarshalJSON ¶ added in v0.1.110
func (c RemediationExecutionStatusState) MarshalJSON() ([]byte, error)
func (*RemediationExecutionStatusState) UnmarshalJSON ¶ added in v0.1.110
func (c *RemediationExecutionStatusState) UnmarshalJSON(b []byte) error
func (RemediationExecutionStatusState) Value ¶ added in v0.1.110
func (c RemediationExecutionStatusState) Value() string
type RemediationExecutionStatusStateEnum ¶ added in v0.1.110
type RemediationExecutionStatusStateEnum struct { IN_QUEUE RemediationExecutionStatusState IN_PROGRESS RemediationExecutionStatusState SUCCEEDED RemediationExecutionStatusState FAILED RemediationExecutionStatusState }
func GetRemediationExecutionStatusStateEnum ¶ added in v0.1.110
func GetRemediationExecutionStatusStateEnum() RemediationExecutionStatusStateEnum
type RemediationExecutionStatusesSummaryRequestBody ¶ added in v0.1.110
type RemediationExecutionStatusesSummaryRequestBody struct { // 合规规则最新修正记录查询条件列表。 ResourceKeys []RemediationResourceKey `json:"resource_keys"` }
RemediationExecutionStatusesSummaryRequestBody 合规规则最新修正记录查询条件。
func (RemediationExecutionStatusesSummaryRequestBody) String ¶ added in v0.1.110
func (o RemediationExecutionStatusesSummaryRequestBody) String() string
type RemediationResourceKey ¶ added in v0.1.110
type RemediationResourceKey struct { // 资源ID。 ResourceId string `json:"resource_id"` // 云服务名称,为兼容部分合规结果中云服务名称为空的场景,可为空字符串。 ResourceProvider string `json:"resource_provider"` // 资源类型,为兼容部分合规结果中资源类型为空的场景,可为空字符串。 ResourceType string `json:"resource_type"` }
RemediationResourceKey 合规规则修正记录查询条件详情。
func (RemediationResourceKey) String ¶ added in v0.1.110
func (o RemediationResourceKey) String() string
type RemediationResourceParameter ¶ added in v0.1.100
type RemediationResourceParameter struct { // 传入resourceID的参数名称。 ResourceId string `json:"resource_id"` }
RemediationResourceParameter 合规规则修正执行的动态参数。
func (RemediationResourceParameter) String ¶ added in v0.1.100
func (o RemediationResourceParameter) String() string
type RemediationRunRequestBody ¶ added in v0.1.100
type RemediationRunRequestBody struct { // 是否选择对所有不合规资源执行补救。 AllSupported bool `json:"all_supported"` ResourceIds *[]string `json:"resource_ids,omitempty"` }
RemediationRunRequestBody 手动执行修正的范围。
func (RemediationRunRequestBody) String ¶ added in v0.1.100
func (o RemediationRunRequestBody) String() string
type RemediationStaticParameter ¶ added in v0.1.100
type RemediationStaticParameter struct { // 参数名称。 VarKey *string `json:"var_key,omitempty"` // 参数的值。 VarValue *interface{} `json:"var_value,omitempty"` }
RemediationStaticParameter 合规规则修正执行的静态参数。
func (RemediationStaticParameter) String ¶ added in v0.1.100
func (o RemediationStaticParameter) 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"` // 资源状态,保有中(Normal)/已删除(Deleted) State *string `json:"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 ResourceInstancesReq ¶ added in v0.1.97
type ResourceInstancesReq struct { // 不包含任意一个标签,该字段为true时查询所有不带标签的资源,此时忽略 “tags”字段。该字段为false或者未提供该参数时,该条件不生效,即返回所有资源或按\"tags\",\"matches\"等条件过滤。 WithoutAnyTag *bool `json:"without_any_tag,omitempty"` // 包含标签,最多包含20个key,每个key下面的value最多20个,每个key对应的value可以为空数组但结构体不能缺失。key不能重复,同一个key中values不能重复。结果返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。 Tags *[]Tag `json:"tags,omitempty"` // 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。key为固定字典值,不能包含重复的key或不支持的key。根据key的值确认是否需要模糊匹配,如resource_name默认为精确搜索(推荐实现前缀搜索),如果value为空字符串精确匹配(多数服务不存在资源名称为空的情况,因此此类情况返回空列表)。resource_id为精确匹配。第一期只做resource_name,后续再扩展。 Matches *[]Match `json:"matches,omitempty"` }
func (ResourceInstancesReq) String ¶ added in v0.1.97
func (o ResourceInstancesReq) 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 ResourceResp ¶ added in v0.1.97
type ResourceResp struct { // 资源ID ResourceId string `json:"resource_id"` // 资源详情。 资源对象,用于扩展。默认为空 ResourceDetail *interface{} `json:"resource_detail"` // 标签列表,没有标签默认为空数组 Tags []ResourceTag `json:"tags"` // 资源名称,资源没有名称时默认为空字符串,eip返回ip地址。 ResourceName string `json:"resource_name"` }
func (ResourceResp) String ¶ added in v0.1.97
func (o ResourceResp) 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 ¶
func (o ResourceSummaryResponseItem) String() string
type ResourceSummaryResponseItemRegions ¶
type ResourceSummaryResponseItemRegions struct { // 区域id RegionId *string `json:"region_id,omitempty"` // 该资源类型在当前区域的数量 Count *int64 `json:"count,omitempty"` }
ResourceSummaryResponseItemRegions 区域概要
func (ResourceSummaryResponseItemRegions) String ¶
func (o ResourceSummaryResponseItemRegions) String() string
type ResourceSummaryResponseItemTypes ¶
type ResourceSummaryResponseItemTypes struct { // 资源类型名称 Type *string `json:"type,omitempty"` // 区域列表 Regions *[]ResourceSummaryResponseItemRegions `json:"regions,omitempty"` }
ResourceSummaryResponseItemTypes 资源类型
func (ResourceSummaryResponseItemTypes) String ¶
func (o ResourceSummaryResponseItemTypes) String() string
type ResourceTag ¶ added in v0.1.97
type ResourceTag struct { // 键。最大长度128个unicode字符。 key符合3.1 KEY字符集规范。 Key string `json:"key"` // 值。每个值最大长度255个unicode字符。value符合3.2 VALUE字符集规范。 Value string `json:"value"` }
func (ResourceTag) String ¶ added in v0.1.97
func (o ResourceTag) String() 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 ResourceUnTag ¶ added in v0.1.97
type ResourceUnTag struct { // 键。最大长度128个unicode字符。 key符合3.1 KEY字符集规范。 Key string `json:"key"` // 值。每个值最大长度255个unicode字符。value符合3.2 VALUE字符集规范。 Value string `json:"value"` }
func (ResourceUnTag) String ¶ added in v0.1.97
func (o ResourceUnTag) 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 ¶
func (o RunAggregateResourceQueryRequest) String() 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 ¶
func (o RunAggregateResourceQueryResponse) String() string
type RunEvaluationByPolicyAssignmentIdRequest ¶
type RunEvaluationByPolicyAssignmentIdRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` }
RunEvaluationByPolicyAssignmentIdRequest Request Object
func (RunEvaluationByPolicyAssignmentIdRequest) String ¶
func (o RunEvaluationByPolicyAssignmentIdRequest) String() string
type RunEvaluationByPolicyAssignmentIdResponse ¶
type RunEvaluationByPolicyAssignmentIdResponse struct {
HttpStatusCode int `json:"-"`
}
RunEvaluationByPolicyAssignmentIdResponse Response Object
func (RunEvaluationByPolicyAssignmentIdResponse) String ¶
func (o RunEvaluationByPolicyAssignmentIdResponse) String() 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 RunRemediationExecutionRequest ¶ added in v0.1.100
type RunRemediationExecutionRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` Body *RemediationRunRequestBody `json:"body,omitempty"` }
RunRemediationExecutionRequest Request Object
func (RunRemediationExecutionRequest) String ¶ added in v0.1.100
func (o RunRemediationExecutionRequest) String() string
type RunRemediationExecutionResponse ¶ added in v0.1.100
type RunRemediationExecutionResponse struct {
HttpStatusCode int `json:"-"`
}
RunRemediationExecutionResponse Response Object
func (RunRemediationExecutionResponse) String ¶ added in v0.1.100
func (o RunRemediationExecutionResponse) 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 ¶
func (o ShowAggregateComplianceDetailsByPolicyAssignmentRequest) String() 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 ¶
func (o ShowAggregateComplianceDetailsByPolicyAssignmentResponse) String() string
type ShowAggregateDiscoveredResourceCountsRequest ¶
type ShowAggregateDiscoveredResourceCountsRequest struct {
Body *AggregateDiscoveredResourceCountsRequest `json:"body,omitempty"`
}
ShowAggregateDiscoveredResourceCountsRequest Request Object
func (ShowAggregateDiscoveredResourceCountsRequest) String ¶
func (o ShowAggregateDiscoveredResourceCountsRequest) String() 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 ¶
func (o ShowAggregateDiscoveredResourceCountsResponse) String() string
type ShowAggregatePolicyAssignmentDetailRequest ¶
type ShowAggregatePolicyAssignmentDetailRequest struct {
Body *AggregatePolicyAssignmentDetailRequest `json:"body,omitempty"`
}
ShowAggregatePolicyAssignmentDetailRequest Request Object
func (ShowAggregatePolicyAssignmentDetailRequest) String ¶
func (o ShowAggregatePolicyAssignmentDetailRequest) String() 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"` Tags *[]ResourceTag `json:"tags,omitempty"` // 规则的创建者 CreatedBy *string `json:"created_by,omitempty"` // 合规规则修正方式。 TargetType *string `json:"target_type,omitempty"` // 修正执行的目标id。 TargetId *string `json:"target_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowAggregatePolicyAssignmentDetailResponse Response Object
func (ShowAggregatePolicyAssignmentDetailResponse) String ¶
func (o ShowAggregatePolicyAssignmentDetailResponse) String() string
type ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType ¶
type ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType struct {
// contains filtered or unexported fields
}
func (ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType) MarshalJSON ¶
func (c ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType) MarshalJSON() ([]byte, error)
func (*ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType) UnmarshalJSON ¶
func (c *ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType) UnmarshalJSON(b []byte) error
func (ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType) Value ¶
func (c ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType) Value() string
type ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentTypeEnum ¶
type ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentTypeEnum struct { BUILTIN ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType CUSTOM ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentType }
func GetShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentTypeEnum ¶
func GetShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentTypeEnum() ShowAggregatePolicyAssignmentDetailResponsePolicyAssignmentTypeEnum
type ShowAggregatePolicyStateComplianceSummaryRequest ¶
type ShowAggregatePolicyStateComplianceSummaryRequest struct {
Body *AggregatePolicyStatesRequest `json:"body,omitempty"`
}
ShowAggregatePolicyStateComplianceSummaryRequest Request Object
func (ShowAggregatePolicyStateComplianceSummaryRequest) String ¶
func (o ShowAggregatePolicyStateComplianceSummaryRequest) String() string
type ShowAggregatePolicyStateComplianceSummaryResponse ¶
type ShowAggregatePolicyStateComplianceSummaryResponse struct { // 合规总结结果列表 Results *[]AggregatePolicyComplianceSummaryResult `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
ShowAggregatePolicyStateComplianceSummaryResponse Response Object
func (ShowAggregatePolicyStateComplianceSummaryResponse) String ¶
func (o ShowAggregatePolicyStateComplianceSummaryResponse) String() string
type ShowAggregateResourceConfigRequest ¶
type ShowAggregateResourceConfigRequest struct {
Body *AggregateResourceConfigRequest `json:"body,omitempty"`
}
ShowAggregateResourceConfigRequest Request Object
func (ShowAggregateResourceConfigRequest) String ¶
func (o ShowAggregateResourceConfigRequest) String() 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 ¶
func (o ShowAggregateResourceConfigResponse) String() 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
func (o ShowBuiltInConformancePackTemplateRequest) String() string
type ShowBuiltInConformancePackTemplateRequestXLanguage ¶ added in v0.1.52
type ShowBuiltInConformancePackTemplateRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ShowBuiltInConformancePackTemplateRequestXLanguage) MarshalJSON ¶ added in v0.1.52
func (c ShowBuiltInConformancePackTemplateRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ShowBuiltInConformancePackTemplateRequestXLanguage) UnmarshalJSON ¶ added in v0.1.52
func (c *ShowBuiltInConformancePackTemplateRequestXLanguage) UnmarshalJSON(b []byte) error
func (ShowBuiltInConformancePackTemplateRequestXLanguage) Value ¶ added in v0.1.52
func (c ShowBuiltInConformancePackTemplateRequestXLanguage) Value() string
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
func (o ShowBuiltInConformancePackTemplateResponse) String() string
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 ¶
func (o ShowBuiltInPolicyDefinitionRequest) String() 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 ¶
func (o ShowBuiltInPolicyDefinitionResponse) String() string
type ShowConfigurationAggregatorRequest ¶
type ShowConfigurationAggregatorRequest struct { // 资源聚合器ID。 AggregatorId string `json:"aggregator_id"` }
ShowConfigurationAggregatorRequest Request Object
func (ShowConfigurationAggregatorRequest) String ¶
func (o ShowConfigurationAggregatorRequest) String() 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 ¶
func (o ShowConfigurationAggregatorResponse) String() 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 ¶
func (o ShowConfigurationAggregatorSourcesStatusRequest) String() string
type ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus ¶
type ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus struct {
// contains filtered or unexported fields
}
func (ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus) MarshalJSON ¶
func (c ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus) MarshalJSON() ([]byte, error)
func (*ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus) UnmarshalJSON ¶
func (c *ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus) UnmarshalJSON(b []byte) error
func (ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus) Value ¶
func (c ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus) Value() string
type ShowConfigurationAggregatorSourcesStatusRequestUpdateStatusEnum ¶
type ShowConfigurationAggregatorSourcesStatusRequestUpdateStatusEnum struct { SUCCEEDED ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus FAILED ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus OUTDATED ShowConfigurationAggregatorSourcesStatusRequestUpdateStatus }
func GetShowConfigurationAggregatorSourcesStatusRequestUpdateStatusEnum ¶
func GetShowConfigurationAggregatorSourcesStatusRequestUpdateStatusEnum() ShowConfigurationAggregatorSourcesStatusRequestUpdateStatusEnum
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 ¶
func (o ShowConfigurationAggregatorSourcesStatusResponse) String() 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
func (o ShowConformancePackRequest) String() string
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
func (o ShowConformancePackResponse) String() string
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
func (c ShowConformancePackResponseStatus) Value() string
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 ¶
func (o ShowEvaluationStateByAssignmentIdRequest) String() 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 ¶
func (o ShowEvaluationStateByAssignmentIdResponse) String() 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
func (o ShowOrganizationConformancePackDetailedStatusesRequest) String() string
type ShowOrganizationConformancePackDetailedStatusesRequestState ¶ added in v0.1.61
type ShowOrganizationConformancePackDetailedStatusesRequestState struct {
// contains filtered or unexported fields
}
func (ShowOrganizationConformancePackDetailedStatusesRequestState) MarshalJSON ¶ added in v0.1.61
func (c ShowOrganizationConformancePackDetailedStatusesRequestState) MarshalJSON() ([]byte, error)
func (*ShowOrganizationConformancePackDetailedStatusesRequestState) UnmarshalJSON ¶ added in v0.1.61
func (c *ShowOrganizationConformancePackDetailedStatusesRequestState) UnmarshalJSON(b []byte) error
func (ShowOrganizationConformancePackDetailedStatusesRequestState) Value ¶ added in v0.1.61
func (c ShowOrganizationConformancePackDetailedStatusesRequestState) Value() string
type ShowOrganizationConformancePackDetailedStatusesRequestStateEnum ¶ added in v0.1.61
type ShowOrganizationConformancePackDetailedStatusesRequestStateEnum struct { CREATE_SUCCESSFUL ShowOrganizationConformancePackDetailedStatusesRequestState CREATE_IN_PROGRESS ShowOrganizationConformancePackDetailedStatusesRequestState CREATE_FAILED ShowOrganizationConformancePackDetailedStatusesRequestState DELETE_IN_PROGRESS ShowOrganizationConformancePackDetailedStatusesRequestState DELETE_FAILED ShowOrganizationConformancePackDetailedStatusesRequestState UPDATE_SUCCESSFUL ShowOrganizationConformancePackDetailedStatusesRequestState UPDATE_IN_PROGRESS ShowOrganizationConformancePackDetailedStatusesRequestState UPDATE_FAILED ShowOrganizationConformancePackDetailedStatusesRequestState }
func GetShowOrganizationConformancePackDetailedStatusesRequestStateEnum ¶ added in v0.1.61
func GetShowOrganizationConformancePackDetailedStatusesRequestStateEnum() ShowOrganizationConformancePackDetailedStatusesRequestStateEnum
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
func (o ShowOrganizationConformancePackDetailedStatusesResponse) String() string
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
func (o ShowOrganizationConformancePackRequest) String() string
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
func (o ShowOrganizationConformancePackResponse) String() string
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 ¶
func (o ShowOrganizationPolicyAssignmentDetailedStatusRequest) String() string
type ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus ¶
type ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus struct {
// contains filtered or unexported fields
}
func (ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus) MarshalJSON ¶
func (c ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus) MarshalJSON() ([]byte, error)
func (*ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus) UnmarshalJSON ¶
func (c *ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus) UnmarshalJSON(b []byte) error
func (ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus) Value ¶
func (c ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus) Value() string
type ShowOrganizationPolicyAssignmentDetailedStatusRequestStatusEnum ¶
type ShowOrganizationPolicyAssignmentDetailedStatusRequestStatusEnum struct { CREATE_SUCCESSFUL ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus CREATE_IN_PROGRESS ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus CREATE_FAILED ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus DELETE_SUCCESSFUL ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus DELETE_IN_PROGRESS ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus DELETE_FAILED ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus UPDATE_SUCCESSFUL ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus UPDATE_IN_PROGRESS ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus UPDATE_FAILED ShowOrganizationPolicyAssignmentDetailedStatusRequestStatus }
func GetShowOrganizationPolicyAssignmentDetailedStatusRequestStatusEnum ¶
func GetShowOrganizationPolicyAssignmentDetailedStatusRequestStatusEnum() ShowOrganizationPolicyAssignmentDetailedStatusRequestStatusEnum
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 ¶
func (o ShowOrganizationPolicyAssignmentDetailedStatusResponse) String() 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 ¶
func (o ShowOrganizationPolicyAssignmentRequest) String() 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 ¶
func (o ShowOrganizationPolicyAssignmentResponse) String() 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 ¶
func (o ShowOrganizationPolicyAssignmentStatusesRequest) String() 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 ¶
func (o ShowOrganizationPolicyAssignmentStatusesResponse) String() string
type ShowPolicyAssignmentRequest ¶
type ShowPolicyAssignmentRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` }
ShowPolicyAssignmentRequest Request Object
func (ShowPolicyAssignmentRequest) String ¶
func (o ShowPolicyAssignmentRequest) String() 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"` Tags *[]ResourceTag `json:"tags,omitempty"` // 规则的创建者 CreatedBy *string `json:"created_by,omitempty"` // 合规规则修正方式。 TargetType *string `json:"target_type,omitempty"` // 修正执行的目标id。 TargetId *string `json:"target_id,omitempty"` HttpStatusCode int `json:"-"` }
ShowPolicyAssignmentResponse Response Object
func (ShowPolicyAssignmentResponse) String ¶
func (o ShowPolicyAssignmentResponse) String() string
type ShowPolicyAssignmentResponsePolicyAssignmentType ¶
type ShowPolicyAssignmentResponsePolicyAssignmentType struct {
// contains filtered or unexported fields
}
func (ShowPolicyAssignmentResponsePolicyAssignmentType) MarshalJSON ¶
func (c ShowPolicyAssignmentResponsePolicyAssignmentType) MarshalJSON() ([]byte, error)
func (*ShowPolicyAssignmentResponsePolicyAssignmentType) UnmarshalJSON ¶
func (c *ShowPolicyAssignmentResponsePolicyAssignmentType) UnmarshalJSON(b []byte) error
func (ShowPolicyAssignmentResponsePolicyAssignmentType) Value ¶
func (c ShowPolicyAssignmentResponsePolicyAssignmentType) Value() string
type ShowPolicyAssignmentResponsePolicyAssignmentTypeEnum ¶
type ShowPolicyAssignmentResponsePolicyAssignmentTypeEnum struct { BUILTIN ShowPolicyAssignmentResponsePolicyAssignmentType CUSTOM ShowPolicyAssignmentResponsePolicyAssignmentType }
func GetShowPolicyAssignmentResponsePolicyAssignmentTypeEnum ¶
func GetShowPolicyAssignmentResponsePolicyAssignmentTypeEnum() ShowPolicyAssignmentResponsePolicyAssignmentTypeEnum
type ShowRemediationConfigurationRequest ¶ added in v0.1.100
type ShowRemediationConfigurationRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` }
ShowRemediationConfigurationRequest Request Object
func (ShowRemediationConfigurationRequest) String ¶ added in v0.1.100
func (o ShowRemediationConfigurationRequest) String() string
type ShowRemediationConfigurationResponse ¶ added in v0.1.100
type ShowRemediationConfigurationResponse struct { // 是否为自动修正。 Automatic *bool `json:"automatic,omitempty"` // 合规规则修正执行的方式。 TargetType *string `json:"target_type,omitempty"` // 修正执行的目标ID。如果修正方式为fgs,则该值为函数工作流的函数urn;如果修正方式为rfs,则该值为资源编排服务的模板name与版本号,两者以/分割,如果没有指定默认V1。 TargetId *string `json:"target_id,omitempty"` // 修正执行的参数。 StaticParameter *[]RemediationStaticParameter `json:"static_parameter,omitempty"` ResourceParameter *RemediationResourceParameter `json:"resource_parameter,omitempty"` // 指定时间内修正的最大尝试次数。 MaximumAttempts *int32 `json:"maximum_attempts,omitempty"` // 用于防止循环修正的时间窗口,如果在指定时间内进行了自动修正的最大尝试次数,则将资源添加至修正例外。 RetryAttemptSeconds *int32 `json:"retry_attempt_seconds,omitempty"` // 合规规则修正配置的权限方式。 AuthType *string `json:"auth_type,omitempty"` // 合规规则修正配置的权限信息。 AuthValue *string `json:"auth_value,omitempty"` // 修正配置的创建时间。 CreatedAt *string `json:"created_at,omitempty"` // 修正配置的更新时间。 UpdatedAt *string `json:"updated_at,omitempty"` // 创建者。 CreatedBy *string `json:"created_by,omitempty"` HttpStatusCode int `json:"-"` }
ShowRemediationConfigurationResponse Response Object
func (ShowRemediationConfigurationResponse) String ¶ added in v0.1.100
func (o ShowRemediationConfigurationResponse) String() string
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"` // 资源状态,保有中(Normal)/已删除(Deleted) State *string `json:"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"` // 资源状态,保有中(Normal)/已删除(Deleted) State *string `json:"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 ¶
func (o ShowResourceDetailResponse) String() 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 ¶
func (o ShowResourceHistoryRequest) String() string
type ShowResourceHistoryRequestChronologicalOrder ¶
type ShowResourceHistoryRequestChronologicalOrder struct {
// contains filtered or unexported fields
}
func (ShowResourceHistoryRequestChronologicalOrder) MarshalJSON ¶
func (c ShowResourceHistoryRequestChronologicalOrder) MarshalJSON() ([]byte, error)
func (*ShowResourceHistoryRequestChronologicalOrder) UnmarshalJSON ¶
func (c *ShowResourceHistoryRequestChronologicalOrder) UnmarshalJSON(b []byte) error
func (ShowResourceHistoryRequestChronologicalOrder) Value ¶
func (c ShowResourceHistoryRequestChronologicalOrder) Value() string
type ShowResourceHistoryRequestChronologicalOrderEnum ¶
type ShowResourceHistoryRequestChronologicalOrderEnum struct { FORWARD ShowResourceHistoryRequestChronologicalOrder REVERSE ShowResourceHistoryRequestChronologicalOrder }
func GetShowResourceHistoryRequestChronologicalOrderEnum ¶
func GetShowResourceHistoryRequestChronologicalOrderEnum() ShowResourceHistoryRequestChronologicalOrderEnum
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 ¶
func (o ShowResourceHistoryResponse) String() 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 ¶
func (o ShowResourceRelationsDetailRequest) String() string
type ShowResourceRelationsDetailRequestDirection ¶
type ShowResourceRelationsDetailRequestDirection struct {
// contains filtered or unexported fields
}
func (ShowResourceRelationsDetailRequestDirection) MarshalJSON ¶
func (c ShowResourceRelationsDetailRequestDirection) MarshalJSON() ([]byte, error)
func (*ShowResourceRelationsDetailRequestDirection) UnmarshalJSON ¶
func (c *ShowResourceRelationsDetailRequestDirection) UnmarshalJSON(b []byte) error
func (ShowResourceRelationsDetailRequestDirection) Value ¶
func (c ShowResourceRelationsDetailRequestDirection) Value() string
type ShowResourceRelationsDetailRequestDirectionEnum ¶
type ShowResourceRelationsDetailRequestDirectionEnum struct { IN ShowResourceRelationsDetailRequestDirection OUT ShowResourceRelationsDetailRequestDirection }
func GetShowResourceRelationsDetailRequestDirectionEnum ¶
func GetShowResourceRelationsDetailRequestDirectionEnum() ShowResourceRelationsDetailRequestDirectionEnum
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 ¶
func (o ShowResourceRelationsDetailResponse) String() 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 ¶
func (o ShowResourceRelationsRequest) String() 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 ¶
func (c ShowResourceRelationsRequestDirection) Value() string
type ShowResourceRelationsRequestDirectionEnum ¶
type ShowResourceRelationsRequestDirectionEnum struct { IN ShowResourceRelationsRequestDirection OUT ShowResourceRelationsRequestDirection }
func GetShowResourceRelationsRequestDirectionEnum ¶
func GetShowResourceRelationsRequestDirectionEnum() ShowResourceRelationsRequestDirectionEnum
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 ¶
func (o ShowResourceRelationsResponse) String() 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"` // 自定义查询类型,枚举值为“account”和“aggregator”。若取值为“account”,表示单帐号的自定义查询语句;若取值为“aggregator”,表示聚合器的自定义查询语句。默认值为“account”。 Type *ShowStoredQueryResponseType `json:"type,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 ShowStoredQueryResponseType ¶ added in v0.1.113
type ShowStoredQueryResponseType struct {
// contains filtered or unexported fields
}
func (ShowStoredQueryResponseType) MarshalJSON ¶ added in v0.1.113
func (c ShowStoredQueryResponseType) MarshalJSON() ([]byte, error)
func (*ShowStoredQueryResponseType) UnmarshalJSON ¶ added in v0.1.113
func (c *ShowStoredQueryResponseType) UnmarshalJSON(b []byte) error
func (ShowStoredQueryResponseType) Value ¶ added in v0.1.113
func (c ShowStoredQueryResponseType) Value() string
type ShowStoredQueryResponseTypeEnum ¶ added in v0.1.113
type ShowStoredQueryResponseTypeEnum struct { ACCOUNT ShowStoredQueryResponseType AGGREGATOR ShowStoredQueryResponseType }
func GetShowStoredQueryResponseTypeEnum ¶ added in v0.1.113
func GetShowStoredQueryResponseTypeEnum() ShowStoredQueryResponseTypeEnum
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
func (o ShowTrackedResourceDetailRequest) String() string
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"` // 资源状态,保有中(Normal)/已删除(Deleted) State *string `json:"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
func (o ShowTrackedResourceDetailResponse) String() string
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"` // 账号ID DomainId *string `json:"domain_id,omitempty"` FrozenStatus *FrozenStatus `json:"frozen_status,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"` // 自定义查询类型,枚举值为“account”和“aggregator”。若取值为“account”,表示单帐号的自定义查询语句;若取值为“aggregator”,表示聚合器的自定义查询语句。默认值为“account”。 Type *StoredQueryType `json:"type,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"` // 自定义查询类型,枚举值为“account”和“aggregator”。若取值为“account”,表示单帐号的自定义查询语句;若取值为“aggregator”,表示聚合器的自定义查询语句。默认值为“account”。 Type *StoredQueryRequestBodyType `json:"type,omitempty"` // ResourceQL 描述 Description *string `json:"description,omitempty"` // ResourceQL 表达式 Expression string `json:"expression"` }
func (StoredQueryRequestBody) String ¶
func (o StoredQueryRequestBody) String() string
type StoredQueryRequestBodyType ¶ added in v0.1.113
type StoredQueryRequestBodyType struct {
// contains filtered or unexported fields
}
func (StoredQueryRequestBodyType) MarshalJSON ¶ added in v0.1.113
func (c StoredQueryRequestBodyType) MarshalJSON() ([]byte, error)
func (*StoredQueryRequestBodyType) UnmarshalJSON ¶ added in v0.1.113
func (c *StoredQueryRequestBodyType) UnmarshalJSON(b []byte) error
func (StoredQueryRequestBodyType) Value ¶ added in v0.1.113
func (c StoredQueryRequestBodyType) Value() string
type StoredQueryRequestBodyTypeEnum ¶ added in v0.1.113
type StoredQueryRequestBodyTypeEnum struct { ACCOUNT StoredQueryRequestBodyType AGGREGATOR StoredQueryRequestBodyType }
func GetStoredQueryRequestBodyTypeEnum ¶ added in v0.1.113
func GetStoredQueryRequestBodyTypeEnum() StoredQueryRequestBodyTypeEnum
type StoredQueryType ¶ added in v0.1.113
type StoredQueryType struct {
// contains filtered or unexported fields
}
func (StoredQueryType) MarshalJSON ¶ added in v0.1.113
func (c StoredQueryType) MarshalJSON() ([]byte, error)
func (*StoredQueryType) UnmarshalJSON ¶ added in v0.1.113
func (c *StoredQueryType) UnmarshalJSON(b []byte) error
func (StoredQueryType) Value ¶ added in v0.1.113
func (c StoredQueryType) Value() string
type StoredQueryTypeEnum ¶ added in v0.1.113
type StoredQueryTypeEnum struct { ACCOUNT StoredQueryType AGGREGATOR StoredQueryType }
func GetStoredQueryTypeEnum ¶ added in v0.1.113
func GetStoredQueryTypeEnum() StoredQueryTypeEnum
type Tag ¶ added in v0.1.97
type Tag struct { // 键。最大长度128个unicode字符。 key不能为空。(搜索时不对此参数做字符集校验),key不能为空或者空字符串,不能为空格,校验和使用之前先trim 前后半角空格。 Key string `json:"key"` // 值列表。每个值最大长度255个unicode字符,校验和使用之前先trim 前后半角空格。value可为空数组但不可缺省。如果values为空列表,则表示any_value(查询任意value)。value之间为或的关系。(搜索时不对此参数做字符集校验,只做长度校验) Values []string `json:"values"` }
type TagDetail ¶
type TagDetail struct { // 标签key Key *string `json:"key,omitempty"` // 标签值列表 Value *[]string `json:"value,omitempty"` }
TagDetail 标签对象
type TagResourceRequest ¶ added in v0.1.97
type TagResourceRequest struct { // 资源类型 ResourceType TagResourceRequestResourceType `json:"resource_type"` // 资源ID ResourceId string `json:"resource_id"` Body *TagsReq `json:"body,omitempty"` }
TagResourceRequest Request Object
func (TagResourceRequest) String ¶ added in v0.1.97
func (o TagResourceRequest) String() string
type TagResourceRequestResourceType ¶ added in v0.1.97
type TagResourceRequestResourceType struct {
// contains filtered or unexported fields
}
func (TagResourceRequestResourceType) MarshalJSON ¶ added in v0.1.97
func (c TagResourceRequestResourceType) MarshalJSON() ([]byte, error)
func (*TagResourceRequestResourceType) UnmarshalJSON ¶ added in v0.1.97
func (c *TagResourceRequestResourceType) UnmarshalJSON(b []byte) error
func (TagResourceRequestResourceType) Value ¶ added in v0.1.97
func (c TagResourceRequestResourceType) Value() string
type TagResourceRequestResourceTypeEnum ¶ added in v0.1.97
type TagResourceRequestResourceTypeEnum struct {
CONFIGPOLICY_ASSIGNMENTS TagResourceRequestResourceType
}
func GetTagResourceRequestResourceTypeEnum ¶ added in v0.1.97
func GetTagResourceRequestResourceTypeEnum() TagResourceRequestResourceTypeEnum
type TagResourceResponse ¶ added in v0.1.97
type TagResourceResponse struct {
HttpStatusCode int `json:"-"`
}
TagResourceResponse Response Object
func (TagResourceResponse) String ¶ added in v0.1.97
func (o TagResourceResponse) String() string
type TagsReq ¶ added in v0.1.97
type TagsReq struct { // 标签列表。租户权限时该字段必选,op_service权限时和sys_tags二选一。 Tags *[]ResourceTag `json:"tags,omitempty"` }
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
func (o TemplateParameterDefinition) String() string
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
func (c TemplateParameterDefinitionType) Value() string
type TemplateParameterDefinitionTypeEnum ¶ added in v0.1.52
type TemplateParameterDefinitionTypeEnum struct { ARRAY TemplateParameterDefinitionType BOOLEAN TemplateParameterDefinitionType INTEGER TemplateParameterDefinitionType FLOAT TemplateParameterDefinitionType STRING TemplateParameterDefinitionType OBJECT TemplateParameterDefinitionType DATE TemplateParameterDefinitionType }
func GetTemplateParameterDefinitionTypeEnum ¶ added in v0.1.52
func GetTemplateParameterDefinitionTypeEnum() TemplateParameterDefinitionTypeEnum
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"` // 账号ID DomainId *string `json:"domain_id,omitempty"` FrozenStatus *FrozenStatus `json:"frozen_status,omitempty"` }
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 ¶
func (o TrackerObsChannelConfigBody) String() 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 ¶
func (o TrackerSmnChannelConfigBody) String() string
type UnTagResourceRequest ¶ added in v0.1.97
type UnTagResourceRequest struct { // 资源类型 ResourceType UnTagResourceRequestResourceType `json:"resource_type"` // 资源ID ResourceId string `json:"resource_id"` Body *UnTagsReq `json:"body,omitempty"` }
UnTagResourceRequest Request Object
func (UnTagResourceRequest) String ¶ added in v0.1.97
func (o UnTagResourceRequest) String() string
type UnTagResourceRequestResourceType ¶ added in v0.1.97
type UnTagResourceRequestResourceType struct {
// contains filtered or unexported fields
}
func (UnTagResourceRequestResourceType) MarshalJSON ¶ added in v0.1.97
func (c UnTagResourceRequestResourceType) MarshalJSON() ([]byte, error)
func (*UnTagResourceRequestResourceType) UnmarshalJSON ¶ added in v0.1.97
func (c *UnTagResourceRequestResourceType) UnmarshalJSON(b []byte) error
func (UnTagResourceRequestResourceType) Value ¶ added in v0.1.97
func (c UnTagResourceRequestResourceType) Value() string
type UnTagResourceRequestResourceTypeEnum ¶ added in v0.1.97
type UnTagResourceRequestResourceTypeEnum struct {
CONFIGPOLICY_ASSIGNMENTS UnTagResourceRequestResourceType
}
func GetUnTagResourceRequestResourceTypeEnum ¶ added in v0.1.97
func GetUnTagResourceRequestResourceTypeEnum() UnTagResourceRequestResourceTypeEnum
type UnTagResourceResponse ¶ added in v0.1.97
type UnTagResourceResponse struct {
HttpStatusCode int `json:"-"`
}
UnTagResourceResponse Response Object
func (UnTagResourceResponse) String ¶ added in v0.1.97
func (o UnTagResourceResponse) String() string
type UnTagsReq ¶ added in v0.1.97
type UnTagsReq struct { // 标签列表。租户权限时该字段必选,op_service权限时和sys_tags二选一。 Tags *[]ResourceUnTag `json:"tags,omitempty"` }
type UpdateConfigurationAggregatorRequest ¶
type UpdateConfigurationAggregatorRequest struct { // 资源聚合器ID。 AggregatorId string `json:"aggregator_id"` Body *ConfigurationAggregatorRequest `json:"body,omitempty"` }
UpdateConfigurationAggregatorRequest Request Object
func (UpdateConfigurationAggregatorRequest) String ¶
func (o UpdateConfigurationAggregatorRequest) String() 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 ¶
func (o UpdateConfigurationAggregatorResponse) String() 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
func (o UpdateConformancePackRequest) String() string
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
func (o UpdateConformancePackRequestBody) String() string
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
func (o UpdateConformancePackResponse) String() string
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
func (c UpdateConformancePackResponseStatus) Value() string
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
func (o UpdateOrgConformancePackRequestBody) String() string
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
func (o UpdateOrganizationConformancePackRequest) String() string
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
func (o UpdateOrganizationConformancePackResponse) String() string
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
func (o UpdateOrganizationPolicyAssignmentRequest) String() string
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
func (o UpdateOrganizationPolicyAssignmentResponse) String() string
type UpdatePolicyAssignmentRequest ¶
type UpdatePolicyAssignmentRequest struct { // 规则ID PolicyAssignmentId string `json:"policy_assignment_id"` Body *PolicyAssignmentRequestBody `json:"body,omitempty"` }
UpdatePolicyAssignmentRequest Request Object
func (UpdatePolicyAssignmentRequest) String ¶
func (o UpdatePolicyAssignmentRequest) String() 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"` Tags *[]ResourceTag `json:"tags,omitempty"` // 规则的创建者 CreatedBy *string `json:"created_by,omitempty"` // 合规规则修正方式。 TargetType *string `json:"target_type,omitempty"` // 修正执行的目标id。 TargetId *string `json:"target_id,omitempty"` HttpStatusCode int `json:"-"` }
UpdatePolicyAssignmentResponse Response Object
func (UpdatePolicyAssignmentResponse) String ¶
func (o UpdatePolicyAssignmentResponse) String() string
type UpdatePolicyAssignmentResponsePolicyAssignmentType ¶
type UpdatePolicyAssignmentResponsePolicyAssignmentType struct {
// contains filtered or unexported fields
}
func (UpdatePolicyAssignmentResponsePolicyAssignmentType) MarshalJSON ¶
func (c UpdatePolicyAssignmentResponsePolicyAssignmentType) MarshalJSON() ([]byte, error)
func (*UpdatePolicyAssignmentResponsePolicyAssignmentType) UnmarshalJSON ¶
func (c *UpdatePolicyAssignmentResponsePolicyAssignmentType) UnmarshalJSON(b []byte) error
func (UpdatePolicyAssignmentResponsePolicyAssignmentType) Value ¶
func (c UpdatePolicyAssignmentResponsePolicyAssignmentType) Value() string
type UpdatePolicyAssignmentResponsePolicyAssignmentTypeEnum ¶
type UpdatePolicyAssignmentResponsePolicyAssignmentTypeEnum struct { BUILTIN UpdatePolicyAssignmentResponsePolicyAssignmentType CUSTOM UpdatePolicyAssignmentResponsePolicyAssignmentType }
func GetUpdatePolicyAssignmentResponsePolicyAssignmentTypeEnum ¶
func GetUpdatePolicyAssignmentResponsePolicyAssignmentTypeEnum() UpdatePolicyAssignmentResponsePolicyAssignmentTypeEnum
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"` // 自定义查询类型,枚举值为“account”和“aggregator”。若取值为“account”,表示单帐号的自定义查询语句;若取值为“aggregator”,表示聚合器的自定义查询语句。默认值为“account”。 Type *UpdateStoredQueryResponseType `json:"type,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 UpdateStoredQueryResponseType ¶ added in v0.1.113
type UpdateStoredQueryResponseType struct {
// contains filtered or unexported fields
}
func (UpdateStoredQueryResponseType) MarshalJSON ¶ added in v0.1.113
func (c UpdateStoredQueryResponseType) MarshalJSON() ([]byte, error)
func (*UpdateStoredQueryResponseType) UnmarshalJSON ¶ added in v0.1.113
func (c *UpdateStoredQueryResponseType) UnmarshalJSON(b []byte) error
func (UpdateStoredQueryResponseType) Value ¶ added in v0.1.113
func (c UpdateStoredQueryResponseType) Value() string
type UpdateStoredQueryResponseTypeEnum ¶ added in v0.1.113
type UpdateStoredQueryResponseTypeEnum struct { ACCOUNT UpdateStoredQueryResponseType AGGREGATOR UpdateStoredQueryResponseType }
func GetUpdateStoredQueryResponseTypeEnum ¶ added in v0.1.113
func GetUpdateStoredQueryResponseTypeEnum() UpdateStoredQueryResponseTypeEnum
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 ¶
- model_account_aggregation_source.go
- model_aggregate_compliance_detail_request.go
- model_aggregate_discovered_resource_counts_request.go
- model_aggregate_discovered_resources_request.go
- model_aggregate_policy_assignment_detail_request.go
- model_aggregate_policy_assignments.go
- model_aggregate_policy_assignments_filters.go
- model_aggregate_policy_assignments_request.go
- model_aggregate_policy_compliance_summary_result.go
- model_aggregate_policy_states_request.go
- model_aggregate_resource_config_request.go
- model_aggregated_source_status.go
- model_aggregation_authorization_request.go
- model_aggregation_authorization_resp.go
- model_batch_create_remediation_exceptions_request.go
- model_batch_create_remediation_exceptions_request_body.go
- model_batch_create_remediation_exceptions_response.go
- model_batch_delete_remediation_exceptions_request.go
- model_batch_delete_remediation_exceptions_request_body.go
- model_batch_delete_remediation_exceptions_response.go
- model_channel_config_body.go
- model_collect_all_resources_summary_request.go
- model_collect_all_resources_summary_response.go
- model_collect_conformance_pack_compliance_summary_request.go
- model_collect_conformance_pack_compliance_summary_response.go
- model_collect_remediation_execution_statuses_summary_request.go
- model_collect_remediation_execution_statuses_summary_response.go
- model_collect_tracked_resources_summary_request.go
- model_collect_tracked_resources_summary_response.go
- model_compliance.go
- model_configuration_aggregator_request.go
- model_configuration_aggregator_resp.go
- model_conformance_pack.go
- model_conformance_pack_compliance.go
- model_conformance_pack_compliance_detail.go
- model_conformance_pack_compliance_summary.go
- model_conformance_pack_request_body.go
- model_conformance_pack_score.go
- model_conformance_pack_template.go
- model_count_all_resources_request.go
- model_count_all_resources_response.go
- model_count_resources_by_tag_request.go
- model_count_resources_by_tag_response.go
- model_count_tracked_resources_request.go
- model_count_tracked_resources_response.go
- model_create_aggregation_authorization_request.go
- model_create_aggregation_authorization_response.go
- model_create_configuration_aggregator_request.go
- model_create_configuration_aggregator_response.go
- model_create_conformance_pack_request.go
- model_create_conformance_pack_response.go
- model_create_or_update_remediation_configuration_request.go
- model_create_or_update_remediation_configuration_response.go
- model_create_organization_conformance_pack_request.go
- model_create_organization_conformance_pack_response.go
- model_create_organization_policy_assignment_request.go
- model_create_organization_policy_assignment_response.go
- model_create_policy_assignments_request.go
- model_create_policy_assignments_response.go
- model_create_stored_query_request.go
- model_create_stored_query_response.go
- model_create_tracker_config_request.go
- model_create_tracker_config_response.go
- model_custom_policy.go
- model_delete_aggregation_authorization_request.go
- model_delete_aggregation_authorization_response.go
- model_delete_configuration_aggregator_request.go
- model_delete_configuration_aggregator_response.go
- model_delete_conformance_pack_request.go
- model_delete_conformance_pack_response.go
- model_delete_organization_conformance_pack_request.go
- model_delete_organization_conformance_pack_response.go
- model_delete_organization_policy_assignment_request.go
- model_delete_organization_policy_assignment_response.go
- model_delete_pending_aggregation_request_request.go
- model_delete_pending_aggregation_request_response.go
- model_delete_policy_assignment_request.go
- model_delete_policy_assignment_response.go
- model_delete_remediation_configuration_request.go
- model_delete_remediation_configuration_response.go
- model_delete_stored_query_request.go
- model_delete_stored_query_response.go
- model_delete_tracker_config_request.go
- model_delete_tracker_config_response.go
- model_disable_policy_assignment_request.go
- model_disable_policy_assignment_response.go
- model_enable_policy_assignment_request.go
- model_enable_policy_assignment_response.go
- model_frozen_status.go
- model_grouped_resource_count.go
- model_history_item.go
- model_list_aggregate_compliance_by_policy_assignment_request.go
- model_list_aggregate_compliance_by_policy_assignment_response.go
- model_list_aggregate_discovered_resources_request.go
- model_list_aggregate_discovered_resources_response.go
- model_list_aggregation_authorizations_request.go
- model_list_aggregation_authorizations_response.go
- model_list_all_resources_request.go
- model_list_all_resources_response.go
- model_list_all_tags_request.go
- model_list_all_tags_response.go
- model_list_built_in_conformance_pack_templates_request.go
- model_list_built_in_conformance_pack_templates_response.go
- model_list_built_in_policy_definitions_request.go
- model_list_built_in_policy_definitions_response.go
- model_list_configuration_aggregators_request.go
- model_list_configuration_aggregators_response.go
- model_list_conformance_pack_compliance_by_pack_id_request.go
- model_list_conformance_pack_compliance_by_pack_id_response.go
- model_list_conformance_pack_compliance_details_by_pack_id_request.go
- model_list_conformance_pack_compliance_details_by_pack_id_response.go
- model_list_conformance_pack_compliance_scores_request.go
- model_list_conformance_pack_compliance_scores_response.go
- model_list_conformance_packs_request.go
- model_list_conformance_packs_response.go
- model_list_organization_conformance_pack_statuses_request.go
- model_list_organization_conformance_pack_statuses_response.go
- model_list_organization_conformance_packs_request.go
- model_list_organization_conformance_packs_response.go
- model_list_organization_policy_assignments_request.go
- model_list_organization_policy_assignments_response.go
- model_list_pending_aggregation_requests_request.go
- model_list_pending_aggregation_requests_response.go
- model_list_policy_assignments_request.go
- model_list_policy_assignments_response.go
- model_list_policy_states_by_assignment_id_request.go
- model_list_policy_states_by_assignment_id_response.go
- model_list_policy_states_by_domain_id_request.go
- model_list_policy_states_by_domain_id_response.go
- model_list_policy_states_by_resource_id_request.go
- model_list_policy_states_by_resource_id_response.go
- model_list_providers_request.go
- model_list_providers_response.go
- model_list_regions_request.go
- model_list_regions_response.go
- model_list_remediation_exceptions_request.go
- model_list_remediation_exceptions_response.go
- model_list_remediation_execution_statuses_request.go
- model_list_remediation_execution_statuses_response.go
- model_list_resources_by_tag_request.go
- model_list_resources_by_tag_response.go
- model_list_resources_request.go
- model_list_resources_response.go
- model_list_schemas_request.go
- model_list_schemas_response.go
- model_list_stored_queries_request.go
- model_list_stored_queries_response.go
- model_list_tags_for_resource_request.go
- model_list_tags_for_resource_response.go
- model_list_tags_for_resource_type_request.go
- model_list_tags_for_resource_type_response.go
- model_list_tracked_resource_tags_request.go
- model_list_tracked_resource_tags_response.go
- model_list_tracked_resources_request.go
- model_list_tracked_resources_response.go
- model_managed_policy_assignment_metadata.go
- model_match.go
- model_org_conformance_pack_detailed_status.go
- model_org_conformance_pack_request_body.go
- model_org_conformance_pack_response.go
- model_org_conformance_pack_status.go
- model_organization_policy_assignment_detailed_status_response.go
- model_organization_policy_assignment_request.go
- model_organization_policy_assignment_response.go
- model_organization_policy_assignment_status_response.go
- model_page_info.go
- model_pending_aggregation_request.go
- model_policy_assignment.go
- model_policy_assignment_request_body.go
- model_policy_compliance_summary_unit.go
- model_policy_definition.go
- model_policy_definition_default_resource_types.go
- model_policy_filter_definition.go
- model_policy_parameter_definition.go
- model_policy_parameter_value.go
- model_policy_resource.go
- model_policy_state.go
- model_policy_state_request_body.go
- model_query_info.go
- model_query_run_request_body.go
- model_region.go
- model_remediation_configuration_request_body.go
- model_remediation_exception.go
- model_remediation_exception_request.go
- model_remediation_execution.go
- model_remediation_execution_status.go
- model_remediation_execution_statuses_summary_request_body.go
- model_remediation_resource_key.go
- model_remediation_resource_parameter.go
- model_remediation_run_request_body.go
- model_remediation_static_parameter.go
- model_resource_counts_filters.go
- model_resource_entity.go
- model_resource_identifier.go
- model_resource_instances_req.go
- model_resource_provider_response.go
- model_resource_relation.go
- model_resource_resp.go
- model_resource_schema_response.go
- model_resource_summary_response_item.go
- model_resource_summary_response_item_regions.go
- model_resource_summary_response_item_types.go
- model_resource_tag.go
- model_resource_type_response.go
- model_resource_un_tag.go
- model_resources_filters.go
- model_run_aggregate_resource_query_request.go
- model_run_aggregate_resource_query_response.go
- model_run_evaluation_by_policy_assignment_id_request.go
- model_run_evaluation_by_policy_assignment_id_response.go
- model_run_query_request.go
- model_run_query_response.go
- model_run_remediation_execution_request.go
- model_run_remediation_execution_response.go
- model_selector_config_body.go
- model_show_aggregate_compliance_details_by_policy_assignment_request.go
- model_show_aggregate_compliance_details_by_policy_assignment_response.go
- model_show_aggregate_discovered_resource_counts_request.go
- model_show_aggregate_discovered_resource_counts_response.go
- model_show_aggregate_policy_assignment_detail_request.go
- model_show_aggregate_policy_assignment_detail_response.go
- model_show_aggregate_policy_state_compliance_summary_request.go
- model_show_aggregate_policy_state_compliance_summary_response.go
- model_show_aggregate_resource_config_request.go
- model_show_aggregate_resource_config_response.go
- model_show_built_in_conformance_pack_template_request.go
- model_show_built_in_conformance_pack_template_response.go
- model_show_built_in_policy_definition_request.go
- model_show_built_in_policy_definition_response.go
- model_show_configuration_aggregator_request.go
- model_show_configuration_aggregator_response.go
- model_show_configuration_aggregator_sources_status_request.go
- model_show_configuration_aggregator_sources_status_response.go
- model_show_conformance_pack_request.go
- model_show_conformance_pack_response.go
- model_show_evaluation_state_by_assignment_id_request.go
- model_show_evaluation_state_by_assignment_id_response.go
- model_show_organization_conformance_pack_detailed_statuses_request.go
- model_show_organization_conformance_pack_detailed_statuses_response.go
- model_show_organization_conformance_pack_request.go
- model_show_organization_conformance_pack_response.go
- model_show_organization_policy_assignment_detailed_status_request.go
- model_show_organization_policy_assignment_detailed_status_response.go
- model_show_organization_policy_assignment_request.go
- model_show_organization_policy_assignment_response.go
- model_show_organization_policy_assignment_statuses_request.go
- model_show_organization_policy_assignment_statuses_response.go
- model_show_policy_assignment_request.go
- model_show_policy_assignment_response.go
- model_show_remediation_configuration_request.go
- model_show_remediation_configuration_response.go
- model_show_resource_by_id_request.go
- model_show_resource_by_id_response.go
- model_show_resource_detail_request.go
- model_show_resource_detail_response.go
- model_show_resource_history_request.go
- model_show_resource_history_response.go
- model_show_resource_relations_detail_request.go
- model_show_resource_relations_detail_response.go
- model_show_resource_relations_request.go
- model_show_resource_relations_response.go
- model_show_stored_query_request.go
- model_show_stored_query_response.go
- model_show_tracked_resource_detail_request.go
- model_show_tracked_resource_detail_response.go
- model_show_tracker_config_request.go
- model_show_tracker_config_response.go
- model_stored_query.go
- model_stored_query_request_body.go
- model_tag.go
- model_tag_detail.go
- model_tag_resource_request.go
- model_tag_resource_response.go
- model_tags_req.go
- model_template_parameter_definition.go
- model_tracker_config_body.go
- model_tracker_obs_channel_config_body.go
- model_tracker_smn_channel_config_body.go
- model_un_tag_resource_request.go
- model_un_tag_resource_response.go
- model_un_tags_req.go
- model_update_configuration_aggregator_request.go
- model_update_configuration_aggregator_response.go
- model_update_conformance_pack_request.go
- model_update_conformance_pack_request_body.go
- model_update_conformance_pack_response.go
- model_update_org_conformance_pack_request_body.go
- model_update_organization_conformance_pack_request.go
- model_update_organization_conformance_pack_response.go
- model_update_organization_policy_assignment_request.go
- model_update_organization_policy_assignment_response.go
- model_update_policy_assignment_request.go
- model_update_policy_assignment_response.go
- model_update_policy_state_request.go
- model_update_policy_state_response.go
- model_update_stored_query_request.go
- model_update_stored_query_response.go
- model_vars_structure.go