Documentation ¶
Index ¶
- func GenReqDefForDisableControl() *def.HttpRequestDef
- func GenReqDefForEnableControl() *def.HttpRequestDef
- func GenReqDefForListControlsForOrganizationalUnit() *def.HttpRequestDef
- func GenReqDefForShowControlOperate() *def.HttpRequestDef
- func RgcClientBuilder() *httpclient.HcHttpClientBuilder
- type DisableControlInvoker
- type EnableControlInvoker
- type ListControlsForOrganizationalUnitInvoker
- type RgcClient
- func (c *RgcClient) DisableControl(request *model.DisableControlRequest) (*model.DisableControlResponse, error)
- func (c *RgcClient) DisableControlInvoker(request *model.DisableControlRequest) *DisableControlInvoker
- func (c *RgcClient) EnableControl(request *model.EnableControlRequest) (*model.EnableControlResponse, error)
- func (c *RgcClient) EnableControlInvoker(request *model.EnableControlRequest) *EnableControlInvoker
- func (c *RgcClient) ListControlsForOrganizationalUnit(request *model.ListControlsForOrganizationalUnitRequest) (*model.ListControlsForOrganizationalUnitResponse, error)
- func (c *RgcClient) ListControlsForOrganizationalUnitInvoker(request *model.ListControlsForOrganizationalUnitRequest) *ListControlsForOrganizationalUnitInvoker
- func (c *RgcClient) ShowControlOperate(request *model.ShowControlOperateRequest) (*model.ShowControlOperateResponse, error)
- func (c *RgcClient) ShowControlOperateInvoker(request *model.ShowControlOperateRequest) *ShowControlOperateInvoker
- type ShowControlOperateInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForDisableControl ¶
func GenReqDefForDisableControl() *def.HttpRequestDef
func GenReqDefForEnableControl ¶
func GenReqDefForEnableControl() *def.HttpRequestDef
func GenReqDefForListControlsForOrganizationalUnit ¶ added in v0.1.98
func GenReqDefForListControlsForOrganizationalUnit() *def.HttpRequestDef
func GenReqDefForShowControlOperate ¶
func GenReqDefForShowControlOperate() *def.HttpRequestDef
func RgcClientBuilder ¶
func RgcClientBuilder() *httpclient.HcHttpClientBuilder
Types ¶
type DisableControlInvoker ¶
type DisableControlInvoker struct {
*invoker.BaseInvoker
}
func (*DisableControlInvoker) Invoke ¶
func (i *DisableControlInvoker) Invoke() (*model.DisableControlResponse, error)
type EnableControlInvoker ¶
type EnableControlInvoker struct {
*invoker.BaseInvoker
}
func (*EnableControlInvoker) Invoke ¶
func (i *EnableControlInvoker) Invoke() (*model.EnableControlResponse, error)
type ListControlsForOrganizationalUnitInvoker ¶ added in v0.1.98
type ListControlsForOrganizationalUnitInvoker struct {
*invoker.BaseInvoker
}
func (*ListControlsForOrganizationalUnitInvoker) Invoke ¶ added in v0.1.98
func (i *ListControlsForOrganizationalUnitInvoker) Invoke() (*model.ListControlsForOrganizationalUnitResponse, error)
type RgcClient ¶
type RgcClient struct {
HcClient *httpclient.HcHttpClient
}
func NewRgcClient ¶
func NewRgcClient(hcClient *httpclient.HcHttpClient) *RgcClient
func (*RgcClient) DisableControl ¶
func (c *RgcClient) DisableControl(request *model.DisableControlRequest) (*model.DisableControlResponse, error)
DisableControl 关闭控制策略
关闭组织下的某个单元的某个控制策略。
Please refer to HUAWEI cloud API Explorer for details.
func (*RgcClient) DisableControlInvoker ¶
func (c *RgcClient) DisableControlInvoker(request *model.DisableControlRequest) *DisableControlInvoker
DisableControlInvoker 关闭控制策略
func (*RgcClient) EnableControl ¶
func (c *RgcClient) EnableControl(request *model.EnableControlRequest) (*model.EnableControlResponse, error)
EnableControl 开启控制策略
给组织下的某个单元开启某个控制策略。
Please refer to HUAWEI cloud API Explorer for details.
func (*RgcClient) EnableControlInvoker ¶
func (c *RgcClient) EnableControlInvoker(request *model.EnableControlRequest) *EnableControlInvoker
EnableControlInvoker 开启控制策略
func (*RgcClient) ListControlsForOrganizationalUnit ¶ added in v0.1.98
func (c *RgcClient) ListControlsForOrganizationalUnit(request *model.ListControlsForOrganizationalUnitRequest) (*model.ListControlsForOrganizationalUnitResponse, error)
ListControlsForOrganizationalUnit 列出注册OU下开启的控制策略
列出组织里某个注册OU开启的所有控制策略信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*RgcClient) ListControlsForOrganizationalUnitInvoker ¶ added in v0.1.98
func (c *RgcClient) ListControlsForOrganizationalUnitInvoker(request *model.ListControlsForOrganizationalUnitRequest) *ListControlsForOrganizationalUnitInvoker
ListControlsForOrganizationalUnitInvoker 列出注册OU下开启的控制策略
func (*RgcClient) ShowControlOperate ¶
func (c *RgcClient) ShowControlOperate(request *model.ShowControlOperateRequest) (*model.ShowControlOperateResponse, error)
ShowControlOperate 查询控制策略操作状态
根据操作ID查询返回指定ID的操作状态。
Please refer to HUAWEI cloud API Explorer for details.
func (*RgcClient) ShowControlOperateInvoker ¶
func (c *RgcClient) ShowControlOperateInvoker(request *model.ShowControlOperateRequest) *ShowControlOperateInvoker
ShowControlOperateInvoker 查询控制策略操作状态
type ShowControlOperateInvoker ¶
type ShowControlOperateInvoker struct {
*invoker.BaseInvoker
}
func (*ShowControlOperateInvoker) Invoke ¶
func (i *ShowControlOperateInvoker) Invoke() (*model.ShowControlOperateResponse, error)
Click to show internal directories.
Click to hide internal directories.