model

package
v0.1.106 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControlOperateReqBody

type ControlOperateReqBody struct {

	// 控制策略ID。
	Identifier string `json:"identifier"`

	// 组织单元的ID信息。
	TargetIdentifier string `json:"target_identifier"`
}

ControlOperateReqBody 操作控制策略的请求体。

func (ControlOperateReqBody) String

func (o ControlOperateReqBody) String() string

type ControlOperation

type ControlOperation struct {

	// 本次操作控制策略的ID。
	OperationControlStatusId *string `json:"operation_control_status_id,omitempty"`

	// 操作类型,启用控制策略或禁用控制策略。
	OperationType *string `json:"operation_type,omitempty"`

	// 控制策略实施的状态 SUCCEEDED | FAILED | IN_PROGRESS。
	Status *string `json:"status,omitempty"`

	// 控制策略实施失败的错误信息。
	Message *string `json:"message,omitempty"`

	// 操作开始的时间。
	StartTime *string `json:"start_time,omitempty"`

	// 操作结束的时间。
	EndTime *string `json:"end_time,omitempty"`
}

ControlOperation 控制策略实施的情况。

func (ControlOperation) String

func (o ControlOperation) String() string

type DisableControlRequest

type DisableControlRequest struct {
	Body *ControlOperateReqBody `json:"body,omitempty"`
}

DisableControlRequest Request Object

func (DisableControlRequest) String

func (o DisableControlRequest) String() string

type DisableControlResponse

type DisableControlResponse struct {

	// 控制策略的操作ID。
	ControlOperateRequestId *string `json:"control_operate_request_id,omitempty"`
	HttpStatusCode          int     `json:"-"`
}

DisableControlResponse Response Object

func (DisableControlResponse) String

func (o DisableControlResponse) String() string

type EnableControlRequest

type EnableControlRequest struct {
	Body *ControlOperateReqBody `json:"body,omitempty"`
}

EnableControlRequest Request Object

func (EnableControlRequest) String

func (o EnableControlRequest) String() string

type EnableControlResponse

type EnableControlResponse struct {

	// 控制策略的操作ID。
	ControlOperateRequestId *string `json:"control_operate_request_id,omitempty"`
	HttpStatusCode          int     `json:"-"`
}

EnableControlResponse Response Object

func (EnableControlResponse) String

func (o EnableControlResponse) String() string

type ListControlsForOrganizationalUnitRequest added in v0.1.98

type ListControlsForOrganizationalUnitRequest struct {

	// 注册OU ID。
	ManagedOrganizationalUnitId string `json:"managed_organizational_unit_id"`

	// 分页页面的最大值。
	Limit *int32 `json:"limit,omitempty"`

	// 页面标记。
	Marker *string `json:"marker,omitempty"`
}

ListControlsForOrganizationalUnitRequest Request Object

func (ListControlsForOrganizationalUnitRequest) String added in v0.1.98

type ListControlsForOrganizationalUnitResponse added in v0.1.98

type ListControlsForOrganizationalUnitResponse struct {

	// 治理策略概要。
	ControlSummaries *[]TargetControl `json:"control_summaries,omitempty"`

	// 控制策略启用状态。
	State *string `json:"state,omitempty"`

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

ListControlsForOrganizationalUnitResponse Response Object

func (ListControlsForOrganizationalUnitResponse) String added in v0.1.98

type PageInfoDto

type PageInfoDto struct {

	// 在标签请求参数中使用以获取输出的下一部分。重复此操作,直到响应元素返回null。如果存在,则表示可用的输出比当前响应中包含的输出多。
	NextMarker string `json:"next_marker"`

	// 本页返回条目数量。
	CurrentCount *int32 `json:"current_count,omitempty"`
}

func (PageInfoDto) String

func (o PageInfoDto) String() string

type ShowControlOperateRequest

type ShowControlOperateRequest struct {

	// 操作控制策略的请求ID。
	OperationControlStatusId string `json:"operation_control_status_id"`
}

ShowControlOperateRequest Request Object

func (ShowControlOperateRequest) String

func (o ShowControlOperateRequest) String() string

type ShowControlOperateResponse

type ShowControlOperateResponse struct {
	ControlOperation *ControlOperation `json:"control_operation,omitempty"`
	HttpStatusCode   int               `json:"-"`
}

ShowControlOperateResponse Response Object

func (ShowControlOperateResponse) String

type TargetControl

type TargetControl struct {

	// 管理纳管账号ID。
	ManageAccountId *string `json:"manage_account_id,omitempty"`

	// 控制策略标识。
	ControlIdentifier *string `json:"control_identifier,omitempty"`

	// 控制策略启用状态。
	State *string `json:"state,omitempty"`

	// 控制策略当前版本号。
	Version *string `json:"version,omitempty"`

	// 控制策略名称。
	Name *string `json:"name,omitempty"`

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

	// 控制策略目标。
	ControlObjective *string `json:"control_objective,omitempty"`

	// 控制策略类型。包括主动性控制策略Proactive、检测性控制策略Detective、预防性控制策略Preventive。
	Behavior *string `json:"behavior,omitempty"`

	// 纳管账号的创建来源,包括CUSTOM和RGC。
	Owner *string `json:"owner,omitempty"`

	// 区域选项,取值有两种分别是:区域的regional和全局的global。
	RegionalPreference *string `json:"regional_preference,omitempty"`

	// 控制策略必须性。
	Guidance *string `json:"guidance,omitempty"`

	// 控制策略所属服务。
	Service *string `json:"service,omitempty"`

	// 服务控制策略(SCP),配置规则。
	Implementation *string `json:"implementation,omitempty"`
}

TargetControl 治理策略概要。

func (TargetControl) String

func (o TargetControl) String() string

Jump to

Keyboard shortcuts

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