Documentation ¶
Index ¶
- type ChannelConfigBody
- type CreatePolicyAssignmentsRequest
- type CreatePolicyAssignmentsResponse
- type CreateTrackerConfigRequest
- type CreateTrackerConfigResponse
- type DeletePolicyAssignmentRequest
- type DeletePolicyAssignmentResponse
- type DeleteTrackerConfigRequest
- type DeleteTrackerConfigResponse
- type DisablePolicyAssignmentRequest
- type DisablePolicyAssignmentResponse
- type EnablePolicyAssignmentRequest
- type EnablePolicyAssignmentResponse
- type HistoryItem
- type ListAllResourcesRequest
- type ListAllResourcesResponse
- type ListBuiltInPolicyDefinitionsRequest
- type ListBuiltInPolicyDefinitionsResponse
- type ListPolicyAssignmentsRequest
- type ListPolicyAssignmentsResponse
- type ListPolicyStatesByAssignmentIdRequest
- type ListPolicyStatesByAssignmentIdResponse
- type ListPolicyStatesByDomainIdRequest
- type ListPolicyStatesByDomainIdResponse
- type ListPolicyStatesByResourceIdRequest
- type ListPolicyStatesByResourceIdResponse
- type ListProvidersRequest
- type ListProvidersRequestXLanguage
- type ListProvidersRequestXLanguageEnum
- type ListProvidersResponse
- type ListRegionsRequest
- type ListRegionsRequestXLanguage
- type ListRegionsRequestXLanguageEnum
- type ListRegionsResponse
- type ListResourcesRequest
- type ListResourcesResponse
- type PageInfo
- type PolicyAssignment
- type PolicyAssignmentRequestBody
- type PolicyDefinition
- type PolicyFilterDefinition
- type PolicyParameterDefinition
- type PolicyParameterDefinitionType
- type PolicyParameterDefinitionTypeEnum
- type PolicyParameterValue
- type PolicyState
- type Region
- type ResourceEntity
- type ResourceProviderResponse
- type ResourceRelation
- type ResourceTypeResponse
- type RunEvaluationByPolicyAssignmentIdRequest
- type RunEvaluationByPolicyAssignmentIdResponse
- type SelectorConfigBody
- type ShowBuiltInPolicyDefinitionRequest
- type ShowBuiltInPolicyDefinitionResponse
- type ShowEvaluationStateByAssignmentIdRequest
- type ShowEvaluationStateByAssignmentIdResponse
- type ShowPolicyAssignmentRequest
- type ShowPolicyAssignmentResponse
- type ShowResourceByIdRequest
- type ShowResourceByIdResponse
- type ShowResourceHistoryRequest
- type ShowResourceHistoryRequestChronologicalOrder
- type ShowResourceHistoryRequestChronologicalOrderEnum
- type ShowResourceHistoryResponse
- type ShowResourceRelationsRequest
- type ShowResourceRelationsRequestDirection
- type ShowResourceRelationsRequestDirectionEnum
- type ShowResourceRelationsResponse
- type ShowTrackerConfigRequest
- type ShowTrackerConfigResponse
- type TrackerConfigBody
- type TrackerObsChannelConfigBody
- type TrackerSmnChannelConfigBody
- type UpdatePolicyAssignmentRequest
- type UpdatePolicyAssignmentResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelConfigBody ¶
type ChannelConfigBody struct { Smn *TrackerSmnChannelConfigBody `json:"smn,omitempty"` Obs *TrackerObsChannelConfigBody `json:"obs,omitempty"` }
tracker通道配置
func (ChannelConfigBody) String ¶
func (o ChannelConfigBody) String() string
type CreatePolicyAssignmentsRequest ¶
type CreatePolicyAssignmentsRequest struct {
Body *PolicyAssignmentRequestBody `json:"body,omitempty"`
}
Request Object
func (CreatePolicyAssignmentsRequest) String ¶
func (o CreatePolicyAssignmentsRequest) String() string
type CreatePolicyAssignmentsResponse ¶
type CreatePolicyAssignmentsResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"` State *string `json:"state,omitempty"` Created *string `json:"created,omitempty"` Updated *string `json:"updated,omitempty"` PolicyDefinitionId *string `json:"policy_definition_id,omitempty"` Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreatePolicyAssignmentsResponse) String ¶
func (o CreatePolicyAssignmentsResponse) String() string
type CreateTrackerConfigRequest ¶
type CreateTrackerConfigRequest struct {
Body *TrackerConfigBody `json:"body,omitempty"`
}
Request Object
func (CreateTrackerConfigRequest) String ¶
func (o CreateTrackerConfigRequest) String() string
type CreateTrackerConfigResponse ¶
type CreateTrackerConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateTrackerConfigResponse) String ¶
func (o CreateTrackerConfigResponse) String() string
type DeletePolicyAssignmentRequest ¶
type DeletePolicyAssignmentRequest struct {
PolicyAssignmentId string `json:"policy_assignment_id"`
}
Request Object
func (DeletePolicyAssignmentRequest) String ¶
func (o DeletePolicyAssignmentRequest) String() string
type DeletePolicyAssignmentResponse ¶
type DeletePolicyAssignmentResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeletePolicyAssignmentResponse) String ¶
func (o DeletePolicyAssignmentResponse) String() string
type DeleteTrackerConfigRequest ¶
type DeleteTrackerConfigRequest struct { }
Request Object
func (DeleteTrackerConfigRequest) String ¶
func (o DeleteTrackerConfigRequest) String() string
type DeleteTrackerConfigResponse ¶
type DeleteTrackerConfigResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DeleteTrackerConfigResponse) String ¶
func (o DeleteTrackerConfigResponse) String() string
type DisablePolicyAssignmentRequest ¶
type DisablePolicyAssignmentRequest struct {
PolicyAssignmentId string `json:"policy_assignment_id"`
}
Request Object
func (DisablePolicyAssignmentRequest) String ¶
func (o DisablePolicyAssignmentRequest) String() string
type DisablePolicyAssignmentResponse ¶
type DisablePolicyAssignmentResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (DisablePolicyAssignmentResponse) String ¶
func (o DisablePolicyAssignmentResponse) String() string
type EnablePolicyAssignmentRequest ¶
type EnablePolicyAssignmentRequest struct {
PolicyAssignmentId string `json:"policy_assignment_id"`
}
Request Object
func (EnablePolicyAssignmentRequest) String ¶
func (o EnablePolicyAssignmentRequest) String() string
type EnablePolicyAssignmentResponse ¶
type EnablePolicyAssignmentResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (EnablePolicyAssignmentResponse) String ¶
func (o EnablePolicyAssignmentResponse) String() string
type HistoryItem ¶
type HistoryItem struct { DomainId *string `json:"domain_id,omitempty"` ResourceId *string `json:"resource_id,omitempty"` ResourceType *string `json:"resource_type,omitempty"` CaptureTime *string `json:"capture_time,omitempty"` Status *string `json:"status,omitempty"` Relations *[]ResourceRelation `json:"relations,omitempty"` Resource *ResourceEntity `json:"resource,omitempty"` }
资源历史
func (HistoryItem) String ¶
func (o HistoryItem) String() string
type ListAllResourcesRequest ¶
type ListAllResourcesRequest struct { RegionId *string `json:"region_id,omitempty"` EpId *string `json:"ep_id,omitempty"` Type *string `json:"type,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ListAllResourcesRequest) String ¶
func (o ListAllResourcesRequest) String() string
type ListAllResourcesResponse ¶
type ListAllResourcesResponse struct { Resources *[]ResourceEntity `json:"resources,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListAllResourcesResponse) String ¶
func (o ListAllResourcesResponse) String() string
type ListBuiltInPolicyDefinitionsRequest ¶
type ListBuiltInPolicyDefinitionsRequest struct {
XLanguage *string `json:"X-Language,omitempty"`
}
Request Object
func (ListBuiltInPolicyDefinitionsRequest) String ¶
func (o ListBuiltInPolicyDefinitionsRequest) String() string
type ListBuiltInPolicyDefinitionsResponse ¶
type ListBuiltInPolicyDefinitionsResponse struct { Value *[]PolicyDefinition `json:"value,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBuiltInPolicyDefinitionsResponse) String ¶
func (o ListBuiltInPolicyDefinitionsResponse) String() string
type ListPolicyAssignmentsRequest ¶
type ListPolicyAssignmentsRequest struct { }
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:"-"` }
Response Object
func (ListPolicyAssignmentsResponse) String ¶
func (o ListPolicyAssignmentsResponse) String() string
type ListPolicyStatesByAssignmentIdRequest ¶
type ListPolicyStatesByAssignmentIdRequest struct { PolicyAssignmentId string `json:"policy_assignment_id"` ComplianceState *string `json:"compliance_state,omitempty"` ResourceId *string `json:"resource_id,omitempty"` ResourceName *string `json:"resource_name,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ListPolicyStatesByAssignmentIdRequest) String ¶
func (o ListPolicyStatesByAssignmentIdRequest) String() string
type ListPolicyStatesByAssignmentIdResponse ¶
type ListPolicyStatesByAssignmentIdResponse struct { Value *[]PolicyState `json:"value,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPolicyStatesByAssignmentIdResponse) String ¶
func (o ListPolicyStatesByAssignmentIdResponse) String() string
type ListPolicyStatesByDomainIdRequest ¶
type ListPolicyStatesByDomainIdRequest struct { ComplianceState *string `json:"compliance_state,omitempty"` ResourceId *string `json:"resource_id,omitempty"` ResourceName *string `json:"resource_name,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ListPolicyStatesByDomainIdRequest) String ¶
func (o ListPolicyStatesByDomainIdRequest) String() string
type ListPolicyStatesByDomainIdResponse ¶
type ListPolicyStatesByDomainIdResponse struct { Value *[]PolicyState `json:"value,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPolicyStatesByDomainIdResponse) String ¶
func (o ListPolicyStatesByDomainIdResponse) String() string
type ListPolicyStatesByResourceIdRequest ¶
type ListPolicyStatesByResourceIdRequest struct { ResourceId string `json:"resource_id"` ComplianceState *string `json:"compliance_state,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ListPolicyStatesByResourceIdRequest) String ¶
func (o ListPolicyStatesByResourceIdRequest) String() string
type ListPolicyStatesByResourceIdResponse ¶
type ListPolicyStatesByResourceIdResponse struct { Value *[]PolicyState `json:"value,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPolicyStatesByResourceIdResponse) String ¶
func (o ListPolicyStatesByResourceIdResponse) String() string
type ListProvidersRequest ¶
type ListProvidersRequest struct { Offset *int32 `json:"offset,omitempty"` Limit *int32 `json:"limit,omitempty"` XLanguage *ListProvidersRequestXLanguage `json:"X-Language,omitempty"` }
Request Object
func (ListProvidersRequest) String ¶
func (o ListProvidersRequest) String() string
type ListProvidersRequestXLanguage ¶
type ListProvidersRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListProvidersRequestXLanguage) MarshalJSON ¶
func (c ListProvidersRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListProvidersRequestXLanguage) UnmarshalJSON ¶
func (c *ListProvidersRequestXLanguage) UnmarshalJSON(b []byte) error
type ListProvidersRequestXLanguageEnum ¶
type ListProvidersRequestXLanguageEnum struct { ZH_CN ListProvidersRequestXLanguage EN_US ListProvidersRequestXLanguage }
func GetListProvidersRequestXLanguageEnum ¶
func GetListProvidersRequestXLanguageEnum() ListProvidersRequestXLanguageEnum
type ListProvidersResponse ¶
type ListProvidersResponse struct { ResourceProviders *[]ResourceProviderResponse `json:"resource_providers,omitempty"` TotalCount *int32 `json:"total_count,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListProvidersResponse) String ¶
func (o ListProvidersResponse) String() string
type ListRegionsRequest ¶
type ListRegionsRequest struct {
XLanguage *ListRegionsRequestXLanguage `json:"X-Language,omitempty"`
}
Request Object
func (ListRegionsRequest) String ¶
func (o ListRegionsRequest) String() string
type ListRegionsRequestXLanguage ¶
type ListRegionsRequestXLanguage struct {
// contains filtered or unexported fields
}
func (ListRegionsRequestXLanguage) MarshalJSON ¶
func (c ListRegionsRequestXLanguage) MarshalJSON() ([]byte, error)
func (*ListRegionsRequestXLanguage) UnmarshalJSON ¶
func (c *ListRegionsRequestXLanguage) UnmarshalJSON(b []byte) error
type ListRegionsRequestXLanguageEnum ¶
type ListRegionsRequestXLanguageEnum struct { ZH_CN ListRegionsRequestXLanguage EN_US ListRegionsRequestXLanguage }
func GetListRegionsRequestXLanguageEnum ¶
func GetListRegionsRequestXLanguageEnum() ListRegionsRequestXLanguageEnum
type ListRegionsResponse ¶
type ListRegionsResponse struct { Value *[]Region `json:"value,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListRegionsResponse) String ¶
func (o ListRegionsResponse) String() string
type ListResourcesRequest ¶
type ListResourcesRequest struct { Provider string `json:"provider"` Type string `json:"type"` RegionId *string `json:"region_id,omitempty"` EpId *string `json:"ep_id,omitempty"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ListResourcesRequest) String ¶
func (o ListResourcesRequest) String() string
type ListResourcesResponse ¶
type ListResourcesResponse struct { Resources *[]ResourceEntity `json:"resources,omitempty"` PageInfo *PageInfo `json:"page_info,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListResourcesResponse) String ¶
func (o ListResourcesResponse) String() string
type PageInfo ¶
type PageInfo struct { CurrentCount *int32 `json:"current_count,omitempty"` NextMarker *string `json:"next_marker,omitempty"` }
分页对象
type PolicyAssignment ¶
type PolicyAssignment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"` State *string `json:"state,omitempty"` Created *string `json:"created,omitempty"` Updated *string `json:"updated,omitempty"` PolicyDefinitionId *string `json:"policy_definition_id,omitempty"` Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"` }
规则
func (PolicyAssignment) String ¶
func (o PolicyAssignment) String() string
type PolicyAssignmentRequestBody ¶
type PolicyAssignmentRequestBody struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"` PolicyDefinitionId *string `json:"policy_definition_id,omitempty"` Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"` }
规则请求体
func (PolicyAssignmentRequestBody) String ¶
func (o PolicyAssignmentRequestBody) String() string
type PolicyDefinition ¶
type PolicyDefinition struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` PolicyType *string `json:"policy_type,omitempty"` Description *string `json:"description,omitempty"` PolicyRuleType *string `json:"policy_rule_type,omitempty"` PolicyRule *interface{} `json:"policy_rule,omitempty"` Keywords *[]string `json:"keywords,omitempty"` Parameters map[string]PolicyParameterDefinition `json:"parameters,omitempty"` }
策略定义
func (PolicyDefinition) String ¶
func (o PolicyDefinition) String() string
type PolicyFilterDefinition ¶
type PolicyFilterDefinition struct { RegionId *string `json:"region_id,omitempty"` ResourceProvider *string `json:"resource_provider,omitempty"` ResourceType *string `json:"resource_type,omitempty"` ResourceId *string `json:"resource_id,omitempty"` TagKey *string `json:"tag_key,omitempty"` TagValue *string `json:"tag_value,omitempty"` }
规则过滤器
func (PolicyFilterDefinition) String ¶
func (o PolicyFilterDefinition) String() string
type PolicyParameterDefinition ¶
type PolicyParameterDefinition struct { Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` AllowedValues *[]interface{} `json:"allowed_values,omitempty"` DefaultValue *string `json:"default_value,omitempty"` Type *PolicyParameterDefinitionType `json:"type,omitempty"` }
策略参数定义
func (PolicyParameterDefinition) String ¶
func (o PolicyParameterDefinition) String() string
type PolicyParameterDefinitionType ¶
type PolicyParameterDefinitionType struct {
// contains filtered or unexported fields
}
func (PolicyParameterDefinitionType) MarshalJSON ¶
func (c PolicyParameterDefinitionType) MarshalJSON() ([]byte, error)
func (*PolicyParameterDefinitionType) UnmarshalJSON ¶
func (c *PolicyParameterDefinitionType) UnmarshalJSON(b []byte) error
type 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"`
}
规则参数值
func (PolicyParameterValue) String ¶
func (o PolicyParameterValue) String() string
type PolicyState ¶
type PolicyState struct { DomainId *string `json:"domain_id,omitempty"` RegionId *string `json:"region_id,omitempty"` ResourceId *string `json:"resource_id,omitempty"` ResourceName *string `json:"resource_name,omitempty"` ResourceProvider *string `json:"resource_provider,omitempty"` ResourceType *string `json:"resource_type,omitempty"` ComplianceState *string `json:"compliance_state,omitempty"` PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"` PolicyAssignmentName *string `json:"policy_assignment_name,omitempty"` PolicyDefinitionId *string `json:"policy_definition_id,omitempty"` EvaluationTime *string `json:"evaluation_time,omitempty"` }
合规状态
func (PolicyState) String ¶
func (o PolicyState) String() string
type Region ¶
type Region struct { RegionId *string `json:"region_id,omitempty"` DisplayName *string `json:"display_name,omitempty"` }
区域
type ResourceEntity ¶
type ResourceEntity struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Provider *string `json:"provider,omitempty"` Type *string `json:"type,omitempty"` RegionId *string `json:"region_id,omitempty"` ProjectId *string `json:"project_id,omitempty"` ProjectName *string `json:"project_name,omitempty"` EpId *string `json:"ep_id,omitempty"` EpName *string `json:"ep_name,omitempty"` Checksum *string `json:"checksum,omitempty"` Created *string `json:"created,omitempty"` Updated *string `json:"updated,omitempty"` ProvisioningState *string `json:"provisioning_state,omitempty"` Tags map[string]string `json:"tags,omitempty"` Properties map[string]interface{} `json:"properties,omitempty"` }
资源对象
func (ResourceEntity) String ¶
func (o ResourceEntity) String() string
type ResourceProviderResponse ¶
type ResourceProviderResponse struct { Provider *string `json:"provider,omitempty"` DisplayName *string `json:"display_name,omitempty"` CategoryDisplayName *string `json:"category_display_name,omitempty"` ResourceTypes *[]ResourceTypeResponse `json:"resource_types,omitempty"` }
云服务详情
func (ResourceProviderResponse) String ¶
func (o ResourceProviderResponse) String() string
type ResourceRelation ¶
type ResourceRelation struct { RelationType *string `json:"relation_type,omitempty"` FromResourceType *string `json:"from_resource_type,omitempty"` ToResourceType *string `json:"to_resource_type,omitempty"` FromResourceId *string `json:"from_resource_id,omitempty"` ToResourceId *string `json:"to_resource_id,omitempty"` }
func (ResourceRelation) String ¶
func (o ResourceRelation) String() string
type ResourceTypeResponse ¶
type ResourceTypeResponse struct { Name *string `json:"name,omitempty"` DisplayName *string `json:"display_name,omitempty"` Global *bool `json:"global,omitempty"` Regions *[]string `json:"regions,omitempty"` ConsoleEndpointId *string `json:"console_endpoint_id,omitempty"` ConsoleListUrl *string `json:"console_list_url,omitempty"` ConsoleDetailUrl *string `json:"console_detail_url,omitempty"` }
资源类型详情
func (ResourceTypeResponse) String ¶
func (o ResourceTypeResponse) String() string
type RunEvaluationByPolicyAssignmentIdRequest ¶
type RunEvaluationByPolicyAssignmentIdRequest struct {
PolicyAssignmentId string `json:"policy_assignment_id"`
}
Request Object
func (RunEvaluationByPolicyAssignmentIdRequest) String ¶
func (o RunEvaluationByPolicyAssignmentIdRequest) String() string
type RunEvaluationByPolicyAssignmentIdResponse ¶
type RunEvaluationByPolicyAssignmentIdResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RunEvaluationByPolicyAssignmentIdResponse) String ¶
func (o RunEvaluationByPolicyAssignmentIdResponse) String() string
type SelectorConfigBody ¶
type SelectorConfigBody struct { AllSupported bool `json:"all_supported"` ResourceTypes []string `json:"resource_types"` }
tracker选择器
func (SelectorConfigBody) String ¶
func (o SelectorConfigBody) String() string
type ShowBuiltInPolicyDefinitionRequest ¶
type ShowBuiltInPolicyDefinitionRequest struct { PolicyDefinitionId string `json:"policy_definition_id"` XLanguage *string `json:"X-Language,omitempty"` }
Request Object
func (ShowBuiltInPolicyDefinitionRequest) String ¶
func (o ShowBuiltInPolicyDefinitionRequest) String() string
type ShowBuiltInPolicyDefinitionResponse ¶
type ShowBuiltInPolicyDefinitionResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` PolicyType *string `json:"policy_type,omitempty"` Description *string `json:"description,omitempty"` PolicyRuleType *string `json:"policy_rule_type,omitempty"` PolicyRule *interface{} `json:"policy_rule,omitempty"` Keywords *[]string `json:"keywords,omitempty"` Parameters map[string]PolicyParameterDefinition `json:"parameters,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowBuiltInPolicyDefinitionResponse) String ¶
func (o ShowBuiltInPolicyDefinitionResponse) String() string
type ShowEvaluationStateByAssignmentIdRequest ¶
type ShowEvaluationStateByAssignmentIdRequest struct {
PolicyAssignmentId string `json:"policy_assignment_id"`
}
Request Object
func (ShowEvaluationStateByAssignmentIdRequest) String ¶
func (o ShowEvaluationStateByAssignmentIdRequest) String() string
type ShowEvaluationStateByAssignmentIdResponse ¶
type ShowEvaluationStateByAssignmentIdResponse struct { PolicyAssignmentId *string `json:"policy_assignment_id,omitempty"` State *string `json:"state,omitempty"` StartTime *string `json:"start_time,omitempty"` EndTime *string `json:"end_time,omitempty"` ErrorMessage *string `json:"error_message,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowEvaluationStateByAssignmentIdResponse) String ¶
func (o ShowEvaluationStateByAssignmentIdResponse) String() string
type ShowPolicyAssignmentRequest ¶
type ShowPolicyAssignmentRequest struct {
PolicyAssignmentId string `json:"policy_assignment_id"`
}
Request Object
func (ShowPolicyAssignmentRequest) String ¶
func (o ShowPolicyAssignmentRequest) String() string
type ShowPolicyAssignmentResponse ¶
type ShowPolicyAssignmentResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"` State *string `json:"state,omitempty"` Created *string `json:"created,omitempty"` Updated *string `json:"updated,omitempty"` PolicyDefinitionId *string `json:"policy_definition_id,omitempty"` Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowPolicyAssignmentResponse) String ¶
func (o ShowPolicyAssignmentResponse) String() string
type ShowResourceByIdRequest ¶
type ShowResourceByIdRequest struct { Provider string `json:"provider"` Type string `json:"type"` ResourceId string `json:"resource_id"` }
Request Object
func (ShowResourceByIdRequest) String ¶
func (o ShowResourceByIdRequest) String() string
type ShowResourceByIdResponse ¶
type ShowResourceByIdResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Provider *string `json:"provider,omitempty"` Type *string `json:"type,omitempty"` RegionId *string `json:"region_id,omitempty"` ProjectId *string `json:"project_id,omitempty"` ProjectName *string `json:"project_name,omitempty"` EpId *string `json:"ep_id,omitempty"` EpName *string `json:"ep_name,omitempty"` Checksum *string `json:"checksum,omitempty"` Created *string `json:"created,omitempty"` Updated *string `json:"updated,omitempty"` ProvisioningState *string `json:"provisioning_state,omitempty"` Tags map[string]string `json:"tags,omitempty"` Properties map[string]interface{} `json:"properties,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowResourceByIdResponse) String ¶
func (o ShowResourceByIdResponse) String() string
type ShowResourceHistoryRequest ¶
type ShowResourceHistoryRequest struct { ResourceId string `json:"resource_id"` Marker *string `json:"marker,omitempty"` Limit *int32 `json:"limit,omitempty"` EarlierTime *int64 `json:"earlier_time,omitempty"` LaterTime *int64 `json:"later_time,omitempty"` ChronologicalOrder *ShowResourceHistoryRequestChronologicalOrder `json:"chronological_order,omitempty"` }
Request Object
func (ShowResourceHistoryRequest) String ¶
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
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:"-"` }
Response Object
func (ShowResourceHistoryResponse) String ¶
func (o ShowResourceHistoryResponse) String() string
type ShowResourceRelationsRequest ¶
type ShowResourceRelationsRequest struct { ResourceId string `json:"resource_id"` Direction ShowResourceRelationsRequestDirection `json:"direction"` Limit *int32 `json:"limit,omitempty"` Marker *string `json:"marker,omitempty"` }
Request Object
func (ShowResourceRelationsRequest) String ¶
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
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:"-"` }
Response Object
func (ShowResourceRelationsResponse) String ¶
func (o ShowResourceRelationsResponse) String() string
type ShowTrackerConfigRequest ¶
type ShowTrackerConfigRequest struct { }
Request Object
func (ShowTrackerConfigRequest) String ¶
func (o ShowTrackerConfigRequest) String() string
type ShowTrackerConfigResponse ¶
type ShowTrackerConfigResponse struct { Channel *ChannelConfigBody `json:"channel,omitempty"` Selector *SelectorConfigBody `json:"selector,omitempty"` AgencyName *string `json:"agency_name,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowTrackerConfigResponse) String ¶
func (o ShowTrackerConfigResponse) String() string
type TrackerConfigBody ¶
type TrackerConfigBody struct { Channel *ChannelConfigBody `json:"channel"` Selector *SelectorConfigBody `json:"selector"` AgencyName string `json:"agency_name"` }
TrackerConfig对象
func (TrackerConfigBody) String ¶
func (o TrackerConfigBody) String() string
type TrackerObsChannelConfigBody ¶
type TrackerObsChannelConfigBody struct { BucketName string `json:"bucket_name"` RegionId string `json:"region_id"` }
OBS设置对象
func (TrackerObsChannelConfigBody) String ¶
func (o TrackerObsChannelConfigBody) String() string
type TrackerSmnChannelConfigBody ¶
type TrackerSmnChannelConfigBody struct { RegionId string `json:"region_id"` ProjectId string `json:"project_id"` TopicUrn string `json:"topic_urn"` }
SMN通道设置对象
func (TrackerSmnChannelConfigBody) String ¶
func (o TrackerSmnChannelConfigBody) String() string
type UpdatePolicyAssignmentRequest ¶
type UpdatePolicyAssignmentRequest struct { PolicyAssignmentId string `json:"policy_assignment_id"` Body *PolicyAssignmentRequestBody `json:"body,omitempty"` }
Request Object
func (UpdatePolicyAssignmentRequest) String ¶
func (o UpdatePolicyAssignmentRequest) String() string
type UpdatePolicyAssignmentResponse ¶
type UpdatePolicyAssignmentResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` PolicyFilter *PolicyFilterDefinition `json:"policy_filter,omitempty"` State *string `json:"state,omitempty"` Created *string `json:"created,omitempty"` Updated *string `json:"updated,omitempty"` PolicyDefinitionId *string `json:"policy_definition_id,omitempty"` Parameters map[string]PolicyParameterValue `json:"parameters,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdatePolicyAssignmentResponse) String ¶
func (o UpdatePolicyAssignmentResponse) String() string
Source Files ¶
- model_channel_config_body.go
- model_create_policy_assignments_request.go
- model_create_policy_assignments_response.go
- model_create_tracker_config_request.go
- model_create_tracker_config_response.go
- model_delete_policy_assignment_request.go
- model_delete_policy_assignment_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_history_item.go
- model_list_all_resources_request.go
- model_list_all_resources_response.go
- model_list_built_in_policy_definitions_request.go
- model_list_built_in_policy_definitions_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_resources_request.go
- model_list_resources_response.go
- model_page_info.go
- model_policy_assignment.go
- model_policy_assignment_request_body.go
- model_policy_definition.go
- model_policy_filter_definition.go
- model_policy_parameter_definition.go
- model_policy_parameter_value.go
- model_policy_state.go
- model_region.go
- model_resource_entity.go
- model_resource_provider_response.go
- model_resource_relation.go
- model_resource_type_response.go
- model_run_evaluation_by_policy_assignment_id_request.go
- model_run_evaluation_by_policy_assignment_id_response.go
- model_selector_config_body.go
- model_show_built_in_policy_definition_request.go
- model_show_built_in_policy_definition_response.go
- model_show_evaluation_state_by_assignment_id_request.go
- model_show_evaluation_state_by_assignment_id_response.go
- model_show_policy_assignment_request.go
- model_show_policy_assignment_response.go
- model_show_resource_by_id_request.go
- model_show_resource_by_id_response.go
- model_show_resource_history_request.go
- model_show_resource_history_response.go
- model_show_resource_relations_request.go
- model_show_resource_relations_response.go
- model_show_tracker_config_request.go
- model_show_tracker_config_response.go
- model_tracker_config_body.go
- model_tracker_obs_channel_config_body.go
- model_tracker_smn_channel_config_body.go
- model_update_policy_assignment_request.go
- model_update_policy_assignment_response.go