v1

package
v0.1.45 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 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 GenReqDefForCollectAllResourcesSummary added in v0.1.27

func GenReqDefForCollectAllResourcesSummary() *def.HttpRequestDef

func GenReqDefForCountAllResources added in v0.1.27

func GenReqDefForCountAllResources() *def.HttpRequestDef

func GenReqDefForCreateAggregationAuthorization added in v0.1.27

func GenReqDefForCreateAggregationAuthorization() *def.HttpRequestDef

func GenReqDefForCreateConfigurationAggregator added in v0.1.27

func GenReqDefForCreateConfigurationAggregator() *def.HttpRequestDef

func GenReqDefForCreateOrganizationPolicyAssignment added in v0.1.27

func GenReqDefForCreateOrganizationPolicyAssignment() *def.HttpRequestDef

func GenReqDefForCreatePolicyAssignments

func GenReqDefForCreatePolicyAssignments() *def.HttpRequestDef

func GenReqDefForCreateStoredQuery added in v0.0.93

func GenReqDefForCreateStoredQuery() *def.HttpRequestDef

func GenReqDefForCreateTrackerConfig

func GenReqDefForCreateTrackerConfig() *def.HttpRequestDef

func GenReqDefForDeleteAggregationAuthorization added in v0.1.27

func GenReqDefForDeleteAggregationAuthorization() *def.HttpRequestDef

func GenReqDefForDeleteConfigurationAggregator added in v0.1.27

func GenReqDefForDeleteConfigurationAggregator() *def.HttpRequestDef

func GenReqDefForDeleteOrganizationPolicyAssignment added in v0.1.27

func GenReqDefForDeleteOrganizationPolicyAssignment() *def.HttpRequestDef

func GenReqDefForDeletePendingAggregationRequest added in v0.1.27

func GenReqDefForDeletePendingAggregationRequest() *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 GenReqDefForListAggregateComplianceByPolicyAssignment added in v0.1.39

func GenReqDefForListAggregateComplianceByPolicyAssignment() *def.HttpRequestDef

func GenReqDefForListAggregateDiscoveredResources added in v0.1.27

func GenReqDefForListAggregateDiscoveredResources() *def.HttpRequestDef

func GenReqDefForListAggregationAuthorizations added in v0.1.27

func GenReqDefForListAggregationAuthorizations() *def.HttpRequestDef

func GenReqDefForListAllResources

func GenReqDefForListAllResources() *def.HttpRequestDef

func GenReqDefForListAllTags added in v0.1.27

func GenReqDefForListAllTags() *def.HttpRequestDef

func GenReqDefForListBuiltInPolicyDefinitions

func GenReqDefForListBuiltInPolicyDefinitions() *def.HttpRequestDef

func GenReqDefForListConfigurationAggregators added in v0.1.27

func GenReqDefForListConfigurationAggregators() *def.HttpRequestDef

func GenReqDefForListOrganizationPolicyAssignments added in v0.1.27

func GenReqDefForListOrganizationPolicyAssignments() *def.HttpRequestDef

func GenReqDefForListPendingAggregationRequests added in v0.1.27

func GenReqDefForListPendingAggregationRequests() *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 GenReqDefForRunAggregateResourceQuery added in v0.1.27

func GenReqDefForRunAggregateResourceQuery() *def.HttpRequestDef

func GenReqDefForRunEvaluationByPolicyAssignmentId

func GenReqDefForRunEvaluationByPolicyAssignmentId() *def.HttpRequestDef

func GenReqDefForRunQuery added in v0.0.93

func GenReqDefForRunQuery() *def.HttpRequestDef

func GenReqDefForShowAggregateComplianceDetailsByPolicyAssignment added in v0.1.39

func GenReqDefForShowAggregateComplianceDetailsByPolicyAssignment() *def.HttpRequestDef

func GenReqDefForShowAggregateDiscoveredResourceCounts added in v0.1.27

func GenReqDefForShowAggregateDiscoveredResourceCounts() *def.HttpRequestDef

func GenReqDefForShowAggregatePolicyAssignmentDetail added in v0.1.39

func GenReqDefForShowAggregatePolicyAssignmentDetail() *def.HttpRequestDef

func GenReqDefForShowAggregatePolicyStateComplianceSummary added in v0.1.39

func GenReqDefForShowAggregatePolicyStateComplianceSummary() *def.HttpRequestDef

func GenReqDefForShowAggregateResourceConfig added in v0.1.27

func GenReqDefForShowAggregateResourceConfig() *def.HttpRequestDef

func GenReqDefForShowBuiltInPolicyDefinition

func GenReqDefForShowBuiltInPolicyDefinition() *def.HttpRequestDef

func GenReqDefForShowConfigurationAggregator added in v0.1.27

func GenReqDefForShowConfigurationAggregator() *def.HttpRequestDef

func GenReqDefForShowConfigurationAggregatorSourcesStatus added in v0.1.27

func GenReqDefForShowConfigurationAggregatorSourcesStatus() *def.HttpRequestDef

func GenReqDefForShowEvaluationStateByAssignmentId

func GenReqDefForShowEvaluationStateByAssignmentId() *def.HttpRequestDef

func GenReqDefForShowOrganizationPolicyAssignment added in v0.1.27

func GenReqDefForShowOrganizationPolicyAssignment() *def.HttpRequestDef

func GenReqDefForShowOrganizationPolicyAssignmentDetailedStatus added in v0.1.27

func GenReqDefForShowOrganizationPolicyAssignmentDetailedStatus() *def.HttpRequestDef

func GenReqDefForShowOrganizationPolicyAssignmentStatuses added in v0.1.27

func GenReqDefForShowOrganizationPolicyAssignmentStatuses() *def.HttpRequestDef

func GenReqDefForShowPolicyAssignment

func GenReqDefForShowPolicyAssignment() *def.HttpRequestDef

func GenReqDefForShowResourceById

func GenReqDefForShowResourceById() *def.HttpRequestDef

func GenReqDefForShowResourceDetail added in v0.1.27

func GenReqDefForShowResourceDetail() *def.HttpRequestDef

func GenReqDefForShowResourceHistory

func GenReqDefForShowResourceHistory() *def.HttpRequestDef

func GenReqDefForShowResourceRelations

func GenReqDefForShowResourceRelations() *def.HttpRequestDef

func GenReqDefForShowResourceRelationsDetail added in v0.1.27

func GenReqDefForShowResourceRelationsDetail() *def.HttpRequestDef

func GenReqDefForShowStoredQuery added in v0.0.93

func GenReqDefForShowStoredQuery() *def.HttpRequestDef

func GenReqDefForShowTrackerConfig

func GenReqDefForShowTrackerConfig() *def.HttpRequestDef

func GenReqDefForUpdateConfigurationAggregator added in v0.1.27

func GenReqDefForUpdateConfigurationAggregator() *def.HttpRequestDef

func GenReqDefForUpdatePolicyAssignment

func GenReqDefForUpdatePolicyAssignment() *def.HttpRequestDef

func GenReqDefForUpdatePolicyState added in v0.1.13

func GenReqDefForUpdatePolicyState() *def.HttpRequestDef

func GenReqDefForUpdateStoredQuery added in v0.0.93

func GenReqDefForUpdateStoredQuery() *def.HttpRequestDef

func RmsClientBuilder

func RmsClientBuilder() *http_client.HcHttpClientBuilder

Types

type CollectAllResourcesSummaryInvoker added in v0.1.27

type CollectAllResourcesSummaryInvoker struct {
	*invoker.BaseInvoker
}

func (*CollectAllResourcesSummaryInvoker) Invoke added in v0.1.27

type CountAllResourcesInvoker added in v0.1.27

type CountAllResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*CountAllResourcesInvoker) Invoke added in v0.1.27

type CreateAggregationAuthorizationInvoker added in v0.1.27

type CreateAggregationAuthorizationInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAggregationAuthorizationInvoker) Invoke added in v0.1.27

type CreateConfigurationAggregatorInvoker added in v0.1.27

type CreateConfigurationAggregatorInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateConfigurationAggregatorInvoker) Invoke added in v0.1.27

type CreateOrganizationPolicyAssignmentInvoker added in v0.1.27

type CreateOrganizationPolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateOrganizationPolicyAssignmentInvoker) Invoke added in v0.1.27

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 DeleteAggregationAuthorizationInvoker added in v0.1.27

type DeleteAggregationAuthorizationInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteAggregationAuthorizationInvoker) Invoke added in v0.1.27

type DeleteConfigurationAggregatorInvoker added in v0.1.27

type DeleteConfigurationAggregatorInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteConfigurationAggregatorInvoker) Invoke added in v0.1.27

type DeleteOrganizationPolicyAssignmentInvoker added in v0.1.27

type DeleteOrganizationPolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteOrganizationPolicyAssignmentInvoker) Invoke added in v0.1.27

type DeletePendingAggregationRequestInvoker added in v0.1.27

type DeletePendingAggregationRequestInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePendingAggregationRequestInvoker) Invoke added in v0.1.27

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 ListAggregateComplianceByPolicyAssignmentInvoker added in v0.1.39

type ListAggregateComplianceByPolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAggregateComplianceByPolicyAssignmentInvoker) Invoke added in v0.1.39

type ListAggregateDiscoveredResourcesInvoker added in v0.1.27

type ListAggregateDiscoveredResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAggregateDiscoveredResourcesInvoker) Invoke added in v0.1.27

type ListAggregationAuthorizationsInvoker added in v0.1.27

type ListAggregationAuthorizationsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAggregationAuthorizationsInvoker) Invoke added in v0.1.27

type ListAllResourcesInvoker added in v0.0.90

type ListAllResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAllResourcesInvoker) Invoke added in v0.0.90

type ListAllTagsInvoker added in v0.1.27

type ListAllTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAllTagsInvoker) Invoke added in v0.1.27

type ListBuiltInPolicyDefinitionsInvoker added in v0.0.90

type ListBuiltInPolicyDefinitionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListBuiltInPolicyDefinitionsInvoker) Invoke added in v0.0.90

type ListConfigurationAggregatorsInvoker added in v0.1.27

type ListConfigurationAggregatorsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListConfigurationAggregatorsInvoker) Invoke added in v0.1.27

type ListOrganizationPolicyAssignmentsInvoker added in v0.1.27

type ListOrganizationPolicyAssignmentsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListOrganizationPolicyAssignmentsInvoker) Invoke added in v0.1.27

type ListPendingAggregationRequestsInvoker added in v0.1.27

type ListPendingAggregationRequestsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPendingAggregationRequestsInvoker) Invoke added in v0.1.27

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) CollectAllResourcesSummary added in v0.1.27

CollectAllResourcesSummary 列举资源概要

查询当前帐号的资源概览。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) CollectAllResourcesSummaryInvoker added in v0.1.27

func (c *RmsClient) CollectAllResourcesSummaryInvoker(request *model.CollectAllResourcesSummaryRequest) *CollectAllResourcesSummaryInvoker

CollectAllResourcesSummaryInvoker 列举资源概要

func (*RmsClient) CountAllResources added in v0.1.27

func (c *RmsClient) CountAllResources(request *model.CountAllResourcesRequest) (*model.CountAllResourcesResponse, error)

CountAllResources 查询资源数量

查询当前帐号的资源数量。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) CountAllResourcesInvoker added in v0.1.27

func (c *RmsClient) CountAllResourcesInvoker(request *model.CountAllResourcesRequest) *CountAllResourcesInvoker

CountAllResourcesInvoker 查询资源数量

func (*RmsClient) CreateAggregationAuthorization added in v0.1.27

CreateAggregationAuthorization 创建资源聚合器授权

给资源聚合器帐号授予从源帐号收集数据的权限。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) CreateAggregationAuthorizationInvoker added in v0.1.27

func (c *RmsClient) CreateAggregationAuthorizationInvoker(request *model.CreateAggregationAuthorizationRequest) *CreateAggregationAuthorizationInvoker

CreateAggregationAuthorizationInvoker 创建资源聚合器授权

func (*RmsClient) CreateConfigurationAggregator added in v0.1.27

CreateConfigurationAggregator 创建资源聚合器

创建资源聚合器。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) CreateConfigurationAggregatorInvoker added in v0.1.27

func (c *RmsClient) CreateConfigurationAggregatorInvoker(request *model.CreateConfigurationAggregatorRequest) *CreateConfigurationAggregatorInvoker

CreateConfigurationAggregatorInvoker 创建资源聚合器

func (*RmsClient) CreateOrganizationPolicyAssignment added in v0.1.27

CreateOrganizationPolicyAssignment 创建或更新组织合规规则

创建或更新组织合规规则,如果规则名称已存在,则为更新操作。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) CreateOrganizationPolicyAssignmentInvoker added in v0.1.27

func (c *RmsClient) CreateOrganizationPolicyAssignmentInvoker(request *model.CreateOrganizationPolicyAssignmentRequest) *CreateOrganizationPolicyAssignmentInvoker

CreateOrganizationPolicyAssignmentInvoker 创建或更新组织合规规则

func (*RmsClient) CreatePolicyAssignments

CreatePolicyAssignments 创建合规规则

创建新的合规规则

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 创建高级查询

创建新的高级查询

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 创建或更新记录器

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

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) DeleteAggregationAuthorization added in v0.1.27

DeleteAggregationAuthorization 删除资源聚合器授权

删除指定资源聚合器帐号的授权。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) DeleteAggregationAuthorizationInvoker added in v0.1.27

func (c *RmsClient) DeleteAggregationAuthorizationInvoker(request *model.DeleteAggregationAuthorizationRequest) *DeleteAggregationAuthorizationInvoker

DeleteAggregationAuthorizationInvoker 删除资源聚合器授权

func (*RmsClient) DeleteConfigurationAggregator added in v0.1.27

DeleteConfigurationAggregator 删除资源聚合器

删除资源聚合器。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) DeleteConfigurationAggregatorInvoker added in v0.1.27

func (c *RmsClient) DeleteConfigurationAggregatorInvoker(request *model.DeleteConfigurationAggregatorRequest) *DeleteConfigurationAggregatorInvoker

DeleteConfigurationAggregatorInvoker 删除资源聚合器

func (*RmsClient) DeleteOrganizationPolicyAssignment added in v0.1.27

DeleteOrganizationPolicyAssignment 删除组织合规规则

删除组织合规规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) DeleteOrganizationPolicyAssignmentInvoker added in v0.1.27

func (c *RmsClient) DeleteOrganizationPolicyAssignmentInvoker(request *model.DeleteOrganizationPolicyAssignmentRequest) *DeleteOrganizationPolicyAssignmentInvoker

DeleteOrganizationPolicyAssignmentInvoker 删除组织合规规则

func (*RmsClient) DeletePendingAggregationRequest added in v0.1.27

DeletePendingAggregationRequest 删除聚合器帐号中挂起的授权请求

删除聚合器帐号中挂起的授权请求。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) DeletePendingAggregationRequestInvoker added in v0.1.27

func (c *RmsClient) DeletePendingAggregationRequestInvoker(request *model.DeletePendingAggregationRequestRequest) *DeletePendingAggregationRequestInvoker

DeletePendingAggregationRequestInvoker 删除聚合器帐号中挂起的授权请求

func (*RmsClient) DeletePolicyAssignment

DeletePolicyAssignment 删除合规规则

根据规则ID删除此规则

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 删除高级查询

删除单个高级查询

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 删除记录器

删除资源记录器

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停用此规则

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启用此规则

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) ListAggregateComplianceByPolicyAssignment added in v0.1.39

ListAggregateComplianceByPolicyAssignment 查询聚合合规规则列表

查询合规和不合规规则的列表,其中包含合规和不合规规则的资源数量。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ListAggregateComplianceByPolicyAssignmentInvoker added in v0.1.39

func (c *RmsClient) ListAggregateComplianceByPolicyAssignmentInvoker(request *model.ListAggregateComplianceByPolicyAssignmentRequest) *ListAggregateComplianceByPolicyAssignmentInvoker

ListAggregateComplianceByPolicyAssignmentInvoker 查询聚合合规规则列表

func (*RmsClient) ListAggregateDiscoveredResources added in v0.1.27

ListAggregateDiscoveredResources 查询聚合器中资源的列表

查询资源聚合器中特定资源的列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ListAggregateDiscoveredResourcesInvoker added in v0.1.27

func (c *RmsClient) ListAggregateDiscoveredResourcesInvoker(request *model.ListAggregateDiscoveredResourcesRequest) *ListAggregateDiscoveredResourcesInvoker

ListAggregateDiscoveredResourcesInvoker 查询聚合器中资源的列表

func (*RmsClient) ListAggregationAuthorizations added in v0.1.27

ListAggregationAuthorizations 查询资源聚合器授权列表

查询授权过的资源聚合器列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ListAggregationAuthorizationsInvoker added in v0.1.27

func (c *RmsClient) ListAggregationAuthorizationsInvoker(request *model.ListAggregationAuthorizationsRequest) *ListAggregationAuthorizationsInvoker

ListAggregationAuthorizationsInvoker 查询资源聚合器授权列表

func (*RmsClient) ListAllResources

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

ListAllResources 列举所有资源

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

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) ListAllTags added in v0.1.27

func (c *RmsClient) ListAllTags(request *model.ListAllTagsRequest) (*model.ListAllTagsResponse, error)

ListAllTags 列举资源标签

查询当前帐号下所有资源的标签。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ListAllTagsInvoker added in v0.1.27

func (c *RmsClient) ListAllTagsInvoker(request *model.ListAllTagsRequest) *ListAllTagsInvoker

ListAllTagsInvoker 列举资源标签

func (*RmsClient) ListBuiltInPolicyDefinitions

ListBuiltInPolicyDefinitions 列出内置策略

列出用户的内置策略

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) ListConfigurationAggregators added in v0.1.27

ListConfigurationAggregators 查询资源聚合器列表

查询资源聚合器列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ListConfigurationAggregatorsInvoker added in v0.1.27

func (c *RmsClient) ListConfigurationAggregatorsInvoker(request *model.ListConfigurationAggregatorsRequest) *ListConfigurationAggregatorsInvoker

ListConfigurationAggregatorsInvoker 查询资源聚合器列表

func (*RmsClient) ListOrganizationPolicyAssignments added in v0.1.27

ListOrganizationPolicyAssignments 查询组织合规规则列表

查询组织合规规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ListOrganizationPolicyAssignmentsInvoker added in v0.1.27

func (c *RmsClient) ListOrganizationPolicyAssignmentsInvoker(request *model.ListOrganizationPolicyAssignmentsRequest) *ListOrganizationPolicyAssignmentsInvoker

ListOrganizationPolicyAssignmentsInvoker 查询组织合规规则列表

func (*RmsClient) ListPendingAggregationRequests added in v0.1.27

ListPendingAggregationRequests 查询所有挂起的聚合请求列表

查询所有挂起的聚合请求列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ListPendingAggregationRequestsInvoker added in v0.1.27

func (c *RmsClient) ListPendingAggregationRequestsInvoker(request *model.ListPendingAggregationRequestsRequest) *ListPendingAggregationRequestsInvoker

ListPendingAggregationRequestsInvoker 查询所有挂起的聚合请求列表

func (*RmsClient) ListPolicyAssignments

ListPolicyAssignments 列出合规规则

列出用户的合规规则

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查询所有的合规结果

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 获取用户的合规结果

查询用户所有的合规结果

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查询所有合规结果

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支持的云服务、资源、区域列表

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 查询用户可见的区域

查询用户可见的区域

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)。

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

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 列出高级查询

列举所有高级查询

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) RunAggregateResourceQuery added in v0.1.27

RunAggregateResourceQuery 对指定聚合器执行高级查询

对指定聚合器执行高级查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) RunAggregateResourceQueryInvoker added in v0.1.27

func (c *RmsClient) RunAggregateResourceQueryInvoker(request *model.RunAggregateResourceQueryRequest) *RunAggregateResourceQueryInvoker

RunAggregateResourceQueryInvoker 对指定聚合器执行高级查询

func (*RmsClient) RunEvaluationByPolicyAssignmentId

RunEvaluationByPolicyAssignmentId 运行合规评估

根据规则ID评估此规则

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 运行高级查询

执行高级查询

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) ShowAggregateComplianceDetailsByPolicyAssignment added in v0.1.39

ShowAggregateComplianceDetailsByPolicyAssignment 查询指定聚合合规规则的评估结果详情

返回指定聚合合规规则的评估结果详情。包含评估了哪些资源,以及每个资源是否符合规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowAggregateComplianceDetailsByPolicyAssignmentInvoker added in v0.1.39

ShowAggregateComplianceDetailsByPolicyAssignmentInvoker 查询指定聚合合规规则的评估结果详情

func (*RmsClient) ShowAggregateDiscoveredResourceCounts added in v0.1.27

ShowAggregateDiscoveredResourceCounts 查询聚合器中帐号资源的计数

查询聚合器中帐号资源的计数,支持通过过滤器和GroupByKey来统计资源数量。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowAggregateDiscoveredResourceCountsInvoker added in v0.1.27

func (c *RmsClient) ShowAggregateDiscoveredResourceCountsInvoker(request *model.ShowAggregateDiscoveredResourceCountsRequest) *ShowAggregateDiscoveredResourceCountsInvoker

ShowAggregateDiscoveredResourceCountsInvoker 查询聚合器中帐号资源的计数

func (*RmsClient) ShowAggregatePolicyAssignmentDetail added in v0.1.39

ShowAggregatePolicyAssignmentDetail 查询指定聚合合规规则详情

返回指定聚合合规规则详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowAggregatePolicyAssignmentDetailInvoker added in v0.1.39

func (c *RmsClient) ShowAggregatePolicyAssignmentDetailInvoker(request *model.ShowAggregatePolicyAssignmentDetailRequest) *ShowAggregatePolicyAssignmentDetailInvoker

ShowAggregatePolicyAssignmentDetailInvoker 查询指定聚合合规规则详情

func (*RmsClient) ShowAggregatePolicyStateComplianceSummary added in v0.1.39

ShowAggregatePolicyStateComplianceSummary 查询聚合器中一个或多个帐户的合规概况

查询聚合器中一个或多个帐户的合规和不合规规则数。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowAggregatePolicyStateComplianceSummaryInvoker added in v0.1.39

func (c *RmsClient) ShowAggregatePolicyStateComplianceSummaryInvoker(request *model.ShowAggregatePolicyStateComplianceSummaryRequest) *ShowAggregatePolicyStateComplianceSummaryInvoker

ShowAggregatePolicyStateComplianceSummaryInvoker 查询聚合器中一个或多个帐户的合规概况

func (*RmsClient) ShowAggregateResourceConfig added in v0.1.27

ShowAggregateResourceConfig 查询源帐号中资源的详情

查询源帐号中特定资源的详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowAggregateResourceConfigInvoker added in v0.1.27

func (c *RmsClient) ShowAggregateResourceConfigInvoker(request *model.ShowAggregateResourceConfigRequest) *ShowAggregateResourceConfigInvoker

ShowAggregateResourceConfigInvoker 查询源帐号中资源的详情

func (*RmsClient) ShowBuiltInPolicyDefinition

ShowBuiltInPolicyDefinition 查询单个内置策略

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

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) ShowConfigurationAggregator added in v0.1.27

ShowConfigurationAggregator 查询指定资源聚合器

查询指定资源聚合器。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowConfigurationAggregatorInvoker added in v0.1.27

func (c *RmsClient) ShowConfigurationAggregatorInvoker(request *model.ShowConfigurationAggregatorRequest) *ShowConfigurationAggregatorInvoker

ShowConfigurationAggregatorInvoker 查询指定资源聚合器

func (*RmsClient) ShowConfigurationAggregatorSourcesStatus added in v0.1.27

ShowConfigurationAggregatorSourcesStatus 查询指定资源聚合器聚合帐号的状态信息

查询指定资源聚合器聚合帐号的状态信息,状态包括验证源帐号和聚合器帐号之间授权的信息。如果失败,状态包含相关的错误码或消息。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowConfigurationAggregatorSourcesStatusInvoker added in v0.1.27

func (c *RmsClient) ShowConfigurationAggregatorSourcesStatusInvoker(request *model.ShowConfigurationAggregatorSourcesStatusRequest) *ShowConfigurationAggregatorSourcesStatusInvoker

ShowConfigurationAggregatorSourcesStatusInvoker 查询指定资源聚合器聚合帐号的状态信息

func (*RmsClient) ShowEvaluationStateByAssignmentId

ShowEvaluationStateByAssignmentId 获取规则的评估状态

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

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) ShowOrganizationPolicyAssignment added in v0.1.27

ShowOrganizationPolicyAssignment 查询指定组织合规规则

查询指定组织合规规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowOrganizationPolicyAssignmentDetailedStatus added in v0.1.27

ShowOrganizationPolicyAssignmentDetailedStatus 查询组织内每个成员帐号合规规则部署的详细状态

查询组织内每个成员帐号合规规则部署的详细状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowOrganizationPolicyAssignmentDetailedStatusInvoker added in v0.1.27

func (c *RmsClient) ShowOrganizationPolicyAssignmentDetailedStatusInvoker(request *model.ShowOrganizationPolicyAssignmentDetailedStatusRequest) *ShowOrganizationPolicyAssignmentDetailedStatusInvoker

ShowOrganizationPolicyAssignmentDetailedStatusInvoker 查询组织内每个成员帐号合规规则部署的详细状态

func (*RmsClient) ShowOrganizationPolicyAssignmentInvoker added in v0.1.27

func (c *RmsClient) ShowOrganizationPolicyAssignmentInvoker(request *model.ShowOrganizationPolicyAssignmentRequest) *ShowOrganizationPolicyAssignmentInvoker

ShowOrganizationPolicyAssignmentInvoker 查询指定组织合规规则

func (*RmsClient) ShowOrganizationPolicyAssignmentStatuses added in v0.1.27

ShowOrganizationPolicyAssignmentStatuses 查询组织合规规则部署状态

查询组织合规规则部署状态。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowOrganizationPolicyAssignmentStatusesInvoker added in v0.1.27

func (c *RmsClient) ShowOrganizationPolicyAssignmentStatusesInvoker(request *model.ShowOrganizationPolicyAssignmentStatusesRequest) *ShowOrganizationPolicyAssignmentStatusesInvoker

ShowOrganizationPolicyAssignmentStatusesInvoker 查询组织合规规则部署状态

func (*RmsClient) ShowPolicyAssignment

ShowPolicyAssignment 获取单个合规规则

根据规则ID获取单个规则

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)。

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) ShowResourceDetail added in v0.1.27

func (c *RmsClient) ShowResourceDetail(request *model.ShowResourceDetailRequest) (*model.ShowResourceDetailResponse, error)

ShowResourceDetail 查询帐号下的单个资源

查询当前帐号下的单个资源。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowResourceDetailInvoker added in v0.1.27

func (c *RmsClient) ShowResourceDetailInvoker(request *model.ShowResourceDetailRequest) *ShowResourceDetailInvoker

ShowResourceDetailInvoker 查询帐号下的单个资源

func (*RmsClient) ShowResourceHistory

ShowResourceHistory 查询资源历史

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

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

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowResourceRelationsDetail added in v0.1.27

ShowResourceRelationsDetail 列举资源关系详情

指定资源ID,查询该资源与其他资源的关联关系,可以指定关系方向为“in”或者“out”,需要当帐号有rms:resources:getRelation权限。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) ShowResourceRelationsDetailInvoker added in v0.1.27

func (c *RmsClient) ShowResourceRelationsDetailInvoker(request *model.ShowResourceRelationsDetailRequest) *ShowResourceRelationsDetailInvoker

ShowResourceRelationsDetailInvoker 列举资源关系详情

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

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 查询记录器

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

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) UpdateConfigurationAggregator added in v0.1.27

UpdateConfigurationAggregator 更新资源聚合器

更新资源聚合器。

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) UpdateConfigurationAggregatorInvoker added in v0.1.27

func (c *RmsClient) UpdateConfigurationAggregatorInvoker(request *model.UpdateConfigurationAggregatorRequest) *UpdateConfigurationAggregatorInvoker

UpdateConfigurationAggregatorInvoker 更新资源聚合器

func (*RmsClient) UpdatePolicyAssignment

UpdatePolicyAssignment 更新合规规则

更新用户的合规规则

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) UpdatePolicyState added in v0.1.13

func (c *RmsClient) UpdatePolicyState(request *model.UpdatePolicyStateRequest) (*model.UpdatePolicyStateResponse, error)

UpdatePolicyState 更新合规评估结果

更新用户自定义合规规则的合规评估结果

Please refer to HUAWEI cloud API Explorer for details.

func (*RmsClient) UpdatePolicyStateInvoker added in v0.1.13

func (c *RmsClient) UpdatePolicyStateInvoker(request *model.UpdatePolicyStateRequest) *UpdatePolicyStateInvoker

UpdatePolicyStateInvoker 更新合规评估结果

func (*RmsClient) UpdateStoredQuery added in v0.0.93

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

UpdateStoredQuery 更新单个高级查询

更新自定义查询

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 RunAggregateResourceQueryInvoker added in v0.1.27

type RunAggregateResourceQueryInvoker struct {
	*invoker.BaseInvoker
}

func (*RunAggregateResourceQueryInvoker) Invoke added in v0.1.27

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 ShowAggregateComplianceDetailsByPolicyAssignmentInvoker added in v0.1.39

type ShowAggregateComplianceDetailsByPolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAggregateComplianceDetailsByPolicyAssignmentInvoker) Invoke added in v0.1.39

type ShowAggregateDiscoveredResourceCountsInvoker added in v0.1.27

type ShowAggregateDiscoveredResourceCountsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAggregateDiscoveredResourceCountsInvoker) Invoke added in v0.1.27

type ShowAggregatePolicyAssignmentDetailInvoker added in v0.1.39

type ShowAggregatePolicyAssignmentDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAggregatePolicyAssignmentDetailInvoker) Invoke added in v0.1.39

type ShowAggregatePolicyStateComplianceSummaryInvoker added in v0.1.39

type ShowAggregatePolicyStateComplianceSummaryInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAggregatePolicyStateComplianceSummaryInvoker) Invoke added in v0.1.39

type ShowAggregateResourceConfigInvoker added in v0.1.27

type ShowAggregateResourceConfigInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAggregateResourceConfigInvoker) Invoke added in v0.1.27

type ShowBuiltInPolicyDefinitionInvoker added in v0.0.90

type ShowBuiltInPolicyDefinitionInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowBuiltInPolicyDefinitionInvoker) Invoke added in v0.0.90

type ShowConfigurationAggregatorInvoker added in v0.1.27

type ShowConfigurationAggregatorInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowConfigurationAggregatorInvoker) Invoke added in v0.1.27

type ShowConfigurationAggregatorSourcesStatusInvoker added in v0.1.27

type ShowConfigurationAggregatorSourcesStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowConfigurationAggregatorSourcesStatusInvoker) Invoke added in v0.1.27

type ShowEvaluationStateByAssignmentIdInvoker added in v0.0.90

type ShowEvaluationStateByAssignmentIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowEvaluationStateByAssignmentIdInvoker) Invoke added in v0.0.90

type ShowOrganizationPolicyAssignmentDetailedStatusInvoker added in v0.1.27

type ShowOrganizationPolicyAssignmentDetailedStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOrganizationPolicyAssignmentDetailedStatusInvoker) Invoke added in v0.1.27

type ShowOrganizationPolicyAssignmentInvoker added in v0.1.27

type ShowOrganizationPolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOrganizationPolicyAssignmentInvoker) Invoke added in v0.1.27

type ShowOrganizationPolicyAssignmentStatusesInvoker added in v0.1.27

type ShowOrganizationPolicyAssignmentStatusesInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowOrganizationPolicyAssignmentStatusesInvoker) Invoke added in v0.1.27

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 ShowResourceDetailInvoker added in v0.1.27

type ShowResourceDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceDetailInvoker) Invoke added in v0.1.27

type ShowResourceHistoryInvoker added in v0.0.90

type ShowResourceHistoryInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceHistoryInvoker) Invoke added in v0.0.90

type ShowResourceRelationsDetailInvoker added in v0.1.27

type ShowResourceRelationsDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceRelationsDetailInvoker) Invoke added in v0.1.27

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 UpdateConfigurationAggregatorInvoker added in v0.1.27

type UpdateConfigurationAggregatorInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateConfigurationAggregatorInvoker) Invoke added in v0.1.27

type UpdatePolicyAssignmentInvoker added in v0.0.90

type UpdatePolicyAssignmentInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePolicyAssignmentInvoker) Invoke added in v0.0.90

type UpdatePolicyStateInvoker added in v0.1.13

type UpdatePolicyStateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePolicyStateInvoker) Invoke added in v0.1.13

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