v1

package
v0.0.100 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForCreatePolicyAssignments

func GenReqDefForCreatePolicyAssignments() *def.HttpRequestDef

func GenReqDefForCreateStoredQuery added in v0.0.93

func GenReqDefForCreateStoredQuery() *def.HttpRequestDef

func GenReqDefForCreateTrackerConfig

func GenReqDefForCreateTrackerConfig() *def.HttpRequestDef

func GenReqDefForDeletePolicyAssignment

func GenReqDefForDeletePolicyAssignment() *def.HttpRequestDef

func GenReqDefForDeleteStoredQuery added in v0.0.93

func GenReqDefForDeleteStoredQuery() *def.HttpRequestDef

func GenReqDefForDeleteTrackerConfig

func GenReqDefForDeleteTrackerConfig() *def.HttpRequestDef

func GenReqDefForDisablePolicyAssignment

func GenReqDefForDisablePolicyAssignment() *def.HttpRequestDef

func GenReqDefForEnablePolicyAssignment

func GenReqDefForEnablePolicyAssignment() *def.HttpRequestDef

func GenReqDefForListAllResources

func GenReqDefForListAllResources() *def.HttpRequestDef

func GenReqDefForListBuiltInPolicyDefinitions

func GenReqDefForListBuiltInPolicyDefinitions() *def.HttpRequestDef

func GenReqDefForListPolicyAssignments

func GenReqDefForListPolicyAssignments() *def.HttpRequestDef

func GenReqDefForListPolicyStatesByAssignmentId

func GenReqDefForListPolicyStatesByAssignmentId() *def.HttpRequestDef

func GenReqDefForListPolicyStatesByDomainId

func GenReqDefForListPolicyStatesByDomainId() *def.HttpRequestDef

func GenReqDefForListPolicyStatesByResourceId

func GenReqDefForListPolicyStatesByResourceId() *def.HttpRequestDef

func GenReqDefForListProviders

func GenReqDefForListProviders() *def.HttpRequestDef

func GenReqDefForListRegions

func GenReqDefForListRegions() *def.HttpRequestDef

func GenReqDefForListResources

func GenReqDefForListResources() *def.HttpRequestDef

func GenReqDefForListSchemas added in v0.0.97

func GenReqDefForListSchemas() *def.HttpRequestDef

func GenReqDefForListStoredQueries added in v0.0.93

func GenReqDefForListStoredQueries() *def.HttpRequestDef

func GenReqDefForRunEvaluationByPolicyAssignmentId

func GenReqDefForRunEvaluationByPolicyAssignmentId() *def.HttpRequestDef

func GenReqDefForRunQuery added in v0.0.93

func GenReqDefForRunQuery() *def.HttpRequestDef

func GenReqDefForShowBuiltInPolicyDefinition

func GenReqDefForShowBuiltInPolicyDefinition() *def.HttpRequestDef

func GenReqDefForShowEvaluationStateByAssignmentId

func GenReqDefForShowEvaluationStateByAssignmentId() *def.HttpRequestDef

func GenReqDefForShowPolicyAssignment

func GenReqDefForShowPolicyAssignment() *def.HttpRequestDef

func GenReqDefForShowResourceById

func GenReqDefForShowResourceById() *def.HttpRequestDef

func GenReqDefForShowResourceHistory

func GenReqDefForShowResourceHistory() *def.HttpRequestDef

func GenReqDefForShowResourceRelations

func GenReqDefForShowResourceRelations() *def.HttpRequestDef

func GenReqDefForShowStoredQuery added in v0.0.93

func GenReqDefForShowStoredQuery() *def.HttpRequestDef

func GenReqDefForShowTrackerConfig

func GenReqDefForShowTrackerConfig() *def.HttpRequestDef

func GenReqDefForUpdatePolicyAssignment

func GenReqDefForUpdatePolicyAssignment() *def.HttpRequestDef

func GenReqDefForUpdateStoredQuery added in v0.0.93

func GenReqDefForUpdateStoredQuery() *def.HttpRequestDef

func RmsClientBuilder

func RmsClientBuilder() *http_client.HcHttpClientBuilder

Types

type CreatePolicyAssignmentsInvoker added in v0.0.90

type CreatePolicyAssignmentsInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePolicyAssignmentsInvoker) Invoke added in v0.0.90

type CreateStoredQueryInvoker added in v0.0.93

type CreateStoredQueryInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateStoredQueryInvoker) Invoke added in v0.0.93

type CreateTrackerConfigInvoker added in v0.0.90

type CreateTrackerConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTrackerConfigInvoker) Invoke added in v0.0.90

type DeletePolicyAssignmentInvoker added in v0.0.90

type DeletePolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePolicyAssignmentInvoker) Invoke added in v0.0.90

type DeleteStoredQueryInvoker added in v0.0.93

type DeleteStoredQueryInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteStoredQueryInvoker) Invoke added in v0.0.93

type DeleteTrackerConfigInvoker added in v0.0.90

type DeleteTrackerConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTrackerConfigInvoker) Invoke added in v0.0.90

type DisablePolicyAssignmentInvoker added in v0.0.90

type DisablePolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*DisablePolicyAssignmentInvoker) Invoke added in v0.0.90

type EnablePolicyAssignmentInvoker added in v0.0.90

type EnablePolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*EnablePolicyAssignmentInvoker) Invoke added in v0.0.90

type ListAllResourcesInvoker added in v0.0.90

type ListAllResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAllResourcesInvoker) Invoke added in v0.0.90

type ListBuiltInPolicyDefinitionsInvoker added in v0.0.90

type ListBuiltInPolicyDefinitionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBuiltInPolicyDefinitionsInvoker) Invoke added in v0.0.90

type ListPolicyAssignmentsInvoker added in v0.0.90

type ListPolicyAssignmentsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPolicyAssignmentsInvoker) Invoke added in v0.0.90

type ListPolicyStatesByAssignmentIdInvoker added in v0.0.90

type ListPolicyStatesByAssignmentIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPolicyStatesByAssignmentIdInvoker) Invoke added in v0.0.90

type ListPolicyStatesByDomainIdInvoker added in v0.0.90

type ListPolicyStatesByDomainIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPolicyStatesByDomainIdInvoker) Invoke added in v0.0.90

type ListPolicyStatesByResourceIdInvoker added in v0.0.90

type ListPolicyStatesByResourceIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPolicyStatesByResourceIdInvoker) Invoke added in v0.0.90

type ListProvidersInvoker added in v0.0.90

type ListProvidersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProvidersInvoker) Invoke added in v0.0.90

type ListRegionsInvoker added in v0.0.90

type ListRegionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRegionsInvoker) Invoke added in v0.0.90

type ListResourcesInvoker added in v0.0.90

type ListResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourcesInvoker) Invoke added in v0.0.90

type ListSchemasInvoker added in v0.0.97

type ListSchemasInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSchemasInvoker) Invoke added in v0.0.97

type ListStoredQueriesInvoker added in v0.0.93

type ListStoredQueriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListStoredQueriesInvoker) Invoke added in v0.0.93

type RmsClient

type RmsClient struct {
	HcClient *http_client.HcHttpClient
}

func NewRmsClient

func NewRmsClient(hcClient *http_client.HcHttpClient) *RmsClient

func (*RmsClient) CreatePolicyAssignments

CreatePolicyAssignments 创建合规规则

创建新的合规规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) CreatePolicyAssignmentsInvoker added in v0.0.90

func (c *RmsClient) CreatePolicyAssignmentsInvoker(request *model.CreatePolicyAssignmentsRequest) *CreatePolicyAssignmentsInvoker

CreatePolicyAssignmentsInvoker 创建合规规则

func (*RmsClient) CreateStoredQuery added in v0.0.93

func (c *RmsClient) CreateStoredQuery(request *model.CreateStoredQueryRequest) (*model.CreateStoredQueryResponse, error)

CreateStoredQuery 创建高级查询

创建新的高级查询

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) CreateStoredQueryInvoker added in v0.0.93

func (c *RmsClient) CreateStoredQueryInvoker(request *model.CreateStoredQueryRequest) *CreateStoredQueryInvoker

CreateStoredQueryInvoker 创建高级查询

func (*RmsClient) CreateTrackerConfig

CreateTrackerConfig 创建或更新记录器

创建或更新资源记录器,只能存在一个资源记录器

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) CreateTrackerConfigInvoker added in v0.0.90

func (c *RmsClient) CreateTrackerConfigInvoker(request *model.CreateTrackerConfigRequest) *CreateTrackerConfigInvoker

CreateTrackerConfigInvoker 创建或更新记录器

func (*RmsClient) DeletePolicyAssignment

DeletePolicyAssignment 删除合规规则

根据规则ID删除此规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) DeletePolicyAssignmentInvoker added in v0.0.90

func (c *RmsClient) DeletePolicyAssignmentInvoker(request *model.DeletePolicyAssignmentRequest) *DeletePolicyAssignmentInvoker

DeletePolicyAssignmentInvoker 删除合规规则

func (*RmsClient) DeleteStoredQuery added in v0.0.93

func (c *RmsClient) DeleteStoredQuery(request *model.DeleteStoredQueryRequest) (*model.DeleteStoredQueryResponse, error)

DeleteStoredQuery 删除高级查询

删除单个高级查询

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) DeleteStoredQueryInvoker added in v0.0.93

func (c *RmsClient) DeleteStoredQueryInvoker(request *model.DeleteStoredQueryRequest) *DeleteStoredQueryInvoker

DeleteStoredQueryInvoker 删除高级查询

func (*RmsClient) DeleteTrackerConfig

DeleteTrackerConfig 删除记录器

删除资源记录器

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) DeleteTrackerConfigInvoker added in v0.0.90

func (c *RmsClient) DeleteTrackerConfigInvoker(request *model.DeleteTrackerConfigRequest) *DeleteTrackerConfigInvoker

DeleteTrackerConfigInvoker 删除记录器

func (*RmsClient) DisablePolicyAssignment

DisablePolicyAssignment 停用合规规则

根据规则ID停用此规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) DisablePolicyAssignmentInvoker added in v0.0.90

func (c *RmsClient) DisablePolicyAssignmentInvoker(request *model.DisablePolicyAssignmentRequest) *DisablePolicyAssignmentInvoker

DisablePolicyAssignmentInvoker 停用合规规则

func (*RmsClient) EnablePolicyAssignment

EnablePolicyAssignment 启用合规规则

根据规则ID启用此规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) EnablePolicyAssignmentInvoker added in v0.0.90

func (c *RmsClient) EnablePolicyAssignmentInvoker(request *model.EnablePolicyAssignmentRequest) *EnablePolicyAssignmentInvoker

EnablePolicyAssignmentInvoker 启用合规规则

func (*RmsClient) ListAllResources

func (c *RmsClient) ListAllResources(request *model.ListAllResourcesRequest) (*model.ListAllResourcesResponse, error)

ListAllResources 列举所有资源

返回当前用户下所有资源,需要当前用户有rms:resources:list权限。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListAllResourcesInvoker added in v0.0.90

func (c *RmsClient) ListAllResourcesInvoker(request *model.ListAllResourcesRequest) *ListAllResourcesInvoker

ListAllResourcesInvoker 列举所有资源

func (*RmsClient) ListBuiltInPolicyDefinitions

ListBuiltInPolicyDefinitions 列出内置策略

列出用户的内置策略

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListBuiltInPolicyDefinitionsInvoker added in v0.0.90

func (c *RmsClient) ListBuiltInPolicyDefinitionsInvoker(request *model.ListBuiltInPolicyDefinitionsRequest) *ListBuiltInPolicyDefinitionsInvoker

ListBuiltInPolicyDefinitionsInvoker 列出内置策略

func (*RmsClient) ListPolicyAssignments

ListPolicyAssignments 列出合规规则

列出用户的合规规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListPolicyAssignmentsInvoker added in v0.0.90

func (c *RmsClient) ListPolicyAssignmentsInvoker(request *model.ListPolicyAssignmentsRequest) *ListPolicyAssignmentsInvoker

ListPolicyAssignmentsInvoker 列出合规规则

func (*RmsClient) ListPolicyStatesByAssignmentId

ListPolicyStatesByAssignmentId 获取规则的合规结果

根据规则ID查询所有的合规结果

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListPolicyStatesByAssignmentIdInvoker added in v0.0.90

func (c *RmsClient) ListPolicyStatesByAssignmentIdInvoker(request *model.ListPolicyStatesByAssignmentIdRequest) *ListPolicyStatesByAssignmentIdInvoker

ListPolicyStatesByAssignmentIdInvoker 获取规则的合规结果

func (*RmsClient) ListPolicyStatesByDomainId

ListPolicyStatesByDomainId 获取用户的合规结果

查询用户所有的合规结果

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListPolicyStatesByDomainIdInvoker added in v0.0.90

func (c *RmsClient) ListPolicyStatesByDomainIdInvoker(request *model.ListPolicyStatesByDomainIdRequest) *ListPolicyStatesByDomainIdInvoker

ListPolicyStatesByDomainIdInvoker 获取用户的合规结果

func (*RmsClient) ListPolicyStatesByResourceId

ListPolicyStatesByResourceId 获取资源的合规结果

根据资源ID查询所有合规结果

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListPolicyStatesByResourceIdInvoker added in v0.0.90

func (c *RmsClient) ListPolicyStatesByResourceIdInvoker(request *model.ListPolicyStatesByResourceIdRequest) *ListPolicyStatesByResourceIdInvoker

ListPolicyStatesByResourceIdInvoker 获取资源的合规结果

func (*RmsClient) ListProviders

func (c *RmsClient) ListProviders(request *model.ListProvidersRequest) (*model.ListProvidersResponse, error)

ListProviders 列举云服务

查询RMS支持的云服务、资源、区域列表

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListProvidersInvoker added in v0.0.90

func (c *RmsClient) ListProvidersInvoker(request *model.ListProvidersRequest) *ListProvidersInvoker

ListProvidersInvoker 列举云服务

func (*RmsClient) ListRegions

func (c *RmsClient) ListRegions(request *model.ListRegionsRequest) (*model.ListRegionsResponse, error)

ListRegions 查询用户可见的区域

查询用户可见的区域

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListRegionsInvoker added in v0.0.90

func (c *RmsClient) ListRegionsInvoker(request *model.ListRegionsRequest) *ListRegionsInvoker

ListRegionsInvoker 查询用户可见的区域

func (*RmsClient) ListResources

func (c *RmsClient) ListResources(request *model.ListResourcesRequest) (*model.ListResourcesResponse, error)

ListResources 列举指定类型的资源

返回当前租户下特定资源类型的资源,需要当前用户有rms:resources:list权限。比如查询云服务器,对应的RMS资源类型是ecs.cloudservers,其中provider为ecs,type为cloudservers。 RMS支持的服务和资源类型参见[支持的服务和区域](https://console.huaweicloud.com/eps/#/resources/supported)。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListResourcesInvoker added in v0.0.90

func (c *RmsClient) ListResourcesInvoker(request *model.ListResourcesRequest) *ListResourcesInvoker

ListResourcesInvoker 列举指定类型的资源

func (*RmsClient) ListSchemas added in v0.0.97

func (c *RmsClient) ListSchemas(request *model.ListSchemasRequest) (*model.ListSchemasResponse, error)

ListSchemas 列举高级查询Schema

List Schemas

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListSchemasInvoker added in v0.0.97

func (c *RmsClient) ListSchemasInvoker(request *model.ListSchemasRequest) *ListSchemasInvoker

ListSchemasInvoker 列举高级查询Schema

func (*RmsClient) ListStoredQueries added in v0.0.93

func (c *RmsClient) ListStoredQueries(request *model.ListStoredQueriesRequest) (*model.ListStoredQueriesResponse, error)

ListStoredQueries 列出高级查询

列举所有高级查询

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ListStoredQueriesInvoker added in v0.0.93

func (c *RmsClient) ListStoredQueriesInvoker(request *model.ListStoredQueriesRequest) *ListStoredQueriesInvoker

ListStoredQueriesInvoker 列出高级查询

func (*RmsClient) RunEvaluationByPolicyAssignmentId

RunEvaluationByPolicyAssignmentId 运行合规评估

根据规则ID评估此规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) RunEvaluationByPolicyAssignmentIdInvoker added in v0.0.90

func (c *RmsClient) RunEvaluationByPolicyAssignmentIdInvoker(request *model.RunEvaluationByPolicyAssignmentIdRequest) *RunEvaluationByPolicyAssignmentIdInvoker

RunEvaluationByPolicyAssignmentIdInvoker 运行合规评估

func (*RmsClient) RunQuery added in v0.0.93

func (c *RmsClient) RunQuery(request *model.RunQueryRequest) (*model.RunQueryResponse, error)

RunQuery 运行高级查询

执行高级查询

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) RunQueryInvoker added in v0.0.93

func (c *RmsClient) RunQueryInvoker(request *model.RunQueryRequest) *RunQueryInvoker

RunQueryInvoker 运行高级查询

func (*RmsClient) ShowBuiltInPolicyDefinition

ShowBuiltInPolicyDefinition 查询单个内置策略

根据策略ID查询单个内置策略

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ShowBuiltInPolicyDefinitionInvoker added in v0.0.90

func (c *RmsClient) ShowBuiltInPolicyDefinitionInvoker(request *model.ShowBuiltInPolicyDefinitionRequest) *ShowBuiltInPolicyDefinitionInvoker

ShowBuiltInPolicyDefinitionInvoker 查询单个内置策略

func (*RmsClient) ShowEvaluationStateByAssignmentId

ShowEvaluationStateByAssignmentId 获取规则的评估状态

根据规则ID查询此规则的评估状态

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ShowEvaluationStateByAssignmentIdInvoker added in v0.0.90

func (c *RmsClient) ShowEvaluationStateByAssignmentIdInvoker(request *model.ShowEvaluationStateByAssignmentIdRequest) *ShowEvaluationStateByAssignmentIdInvoker

ShowEvaluationStateByAssignmentIdInvoker 获取规则的评估状态

func (*RmsClient) ShowPolicyAssignment

ShowPolicyAssignment 获取单个合规规则

根据规则ID获取单个规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ShowPolicyAssignmentInvoker added in v0.0.90

func (c *RmsClient) ShowPolicyAssignmentInvoker(request *model.ShowPolicyAssignmentRequest) *ShowPolicyAssignmentInvoker

ShowPolicyAssignmentInvoker 获取单个合规规则

func (*RmsClient) ShowResourceById

func (c *RmsClient) ShowResourceById(request *model.ShowResourceByIdRequest) (*model.ShowResourceByIdResponse, error)

ShowResourceById 查询单个资源

指定资源ID,返回该资源的详细信息,需要当前用户有rms:resources:get权限。比如查询云服务器,对应的RMS资源类型是ecs.cloudservers,其中provider为ecs,type为cloudservers。RMS支持的服务和资源类型参见[支持的服务和区域](https://console.huaweicloud.com/eps/#/resources/supported)。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ShowResourceByIdInvoker added in v0.0.90

func (c *RmsClient) ShowResourceByIdInvoker(request *model.ShowResourceByIdRequest) *ShowResourceByIdInvoker

ShowResourceByIdInvoker 查询单个资源

func (*RmsClient) ShowResourceHistory

ShowResourceHistory 查询资源历史

查询资源与资源关系的变更历史

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ShowResourceHistoryInvoker added in v0.0.90

func (c *RmsClient) ShowResourceHistoryInvoker(request *model.ShowResourceHistoryRequest) *ShowResourceHistoryInvoker

ShowResourceHistoryInvoker 查询资源历史

func (*RmsClient) ShowResourceRelations

ShowResourceRelations 列举资源关系

指定资源ID,查询该资源与其他资源的关联关系,可以指定关系方向为\"in\" 或者\"out\"

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ShowResourceRelationsInvoker added in v0.0.90

func (c *RmsClient) ShowResourceRelationsInvoker(request *model.ShowResourceRelationsRequest) *ShowResourceRelationsInvoker

ShowResourceRelationsInvoker 列举资源关系

func (*RmsClient) ShowStoredQuery added in v0.0.93

func (c *RmsClient) ShowStoredQuery(request *model.ShowStoredQueryRequest) (*model.ShowStoredQueryResponse, error)

ShowStoredQuery 查询单个高级查询

Show Resource Query Language

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ShowStoredQueryInvoker added in v0.0.93

func (c *RmsClient) ShowStoredQueryInvoker(request *model.ShowStoredQueryRequest) *ShowStoredQueryInvoker

ShowStoredQueryInvoker 查询单个高级查询

func (*RmsClient) ShowTrackerConfig

func (c *RmsClient) ShowTrackerConfig(request *model.ShowTrackerConfigRequest) (*model.ShowTrackerConfigResponse, error)

ShowTrackerConfig 查询记录器

查询资源记录器的详细信息

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) ShowTrackerConfigInvoker added in v0.0.90

func (c *RmsClient) ShowTrackerConfigInvoker(request *model.ShowTrackerConfigRequest) *ShowTrackerConfigInvoker

ShowTrackerConfigInvoker 查询记录器

func (*RmsClient) UpdatePolicyAssignment

UpdatePolicyAssignment 更新合规规则

更新用户的合规规则

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) UpdatePolicyAssignmentInvoker added in v0.0.90

func (c *RmsClient) UpdatePolicyAssignmentInvoker(request *model.UpdatePolicyAssignmentRequest) *UpdatePolicyAssignmentInvoker

UpdatePolicyAssignmentInvoker 更新合规规则

func (*RmsClient) UpdateStoredQuery added in v0.0.93

func (c *RmsClient) UpdateStoredQuery(request *model.UpdateStoredQueryRequest) (*model.UpdateStoredQueryResponse, error)

UpdateStoredQuery 更新单个高级查询

更新自定义查询

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*RmsClient) UpdateStoredQueryInvoker added in v0.0.93

func (c *RmsClient) UpdateStoredQueryInvoker(request *model.UpdateStoredQueryRequest) *UpdateStoredQueryInvoker

UpdateStoredQueryInvoker 更新单个高级查询

type RunEvaluationByPolicyAssignmentIdInvoker added in v0.0.90

type RunEvaluationByPolicyAssignmentIdInvoker struct {
	*invoker.BaseInvoker
}

func (*RunEvaluationByPolicyAssignmentIdInvoker) Invoke added in v0.0.90

type RunQueryInvoker added in v0.0.93

type RunQueryInvoker struct {
	*invoker.BaseInvoker
}

func (*RunQueryInvoker) Invoke added in v0.0.93

func (i *RunQueryInvoker) Invoke() (*model.RunQueryResponse, error)

type ShowBuiltInPolicyDefinitionInvoker added in v0.0.90

type ShowBuiltInPolicyDefinitionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBuiltInPolicyDefinitionInvoker) Invoke added in v0.0.90

type ShowEvaluationStateByAssignmentIdInvoker added in v0.0.90

type ShowEvaluationStateByAssignmentIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowEvaluationStateByAssignmentIdInvoker) Invoke added in v0.0.90

type ShowPolicyAssignmentInvoker added in v0.0.90

type ShowPolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPolicyAssignmentInvoker) Invoke added in v0.0.90

type ShowResourceByIdInvoker added in v0.0.90

type ShowResourceByIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceByIdInvoker) Invoke added in v0.0.90

type ShowResourceHistoryInvoker added in v0.0.90

type ShowResourceHistoryInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceHistoryInvoker) Invoke added in v0.0.90

type ShowResourceRelationsInvoker added in v0.0.90

type ShowResourceRelationsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceRelationsInvoker) Invoke added in v0.0.90

type ShowStoredQueryInvoker added in v0.0.93

type ShowStoredQueryInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowStoredQueryInvoker) Invoke added in v0.0.93

type ShowTrackerConfigInvoker added in v0.0.90

type ShowTrackerConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTrackerConfigInvoker) Invoke added in v0.0.90

type UpdatePolicyAssignmentInvoker added in v0.0.90

type UpdatePolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePolicyAssignmentInvoker) Invoke added in v0.0.90

type UpdateStoredQueryInvoker added in v0.0.93

type UpdateStoredQueryInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateStoredQueryInvoker) Invoke added in v0.0.93

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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