Documentation
¶
Index ¶
- type ControlOperateReqBody
- type ControlOperation
- type DisableControlRequest
- type DisableControlResponse
- type EnableControlRequest
- type EnableControlResponse
- type ListControlsForOrganizationalUnitRequest
- type ListControlsForOrganizationalUnitResponse
- type PageInfoDto
- type ShowControlOperateRequest
- type ShowControlOperateResponse
- type TargetControl
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
func (o ListControlsForOrganizationalUnitRequest) String() string
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
func (o ListControlsForOrganizationalUnitResponse) String() string
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 ¶
func (o ShowControlOperateResponse) String() 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
Source Files
¶
- model_control_operate_req_body.go
- model_control_operation.go
- model_disable_control_request.go
- model_disable_control_response.go
- model_enable_control_request.go
- model_enable_control_response.go
- model_list_controls_for_organizational_unit_request.go
- model_list_controls_for_organizational_unit_response.go
- model_page_info_dto.go
- model_show_control_operate_request.go
- model_show_control_operate_response.go
- model_target_control.go
Click to show internal directories.
Click to hide internal directories.