Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RequestOpts = golangsdk.RequestOpts{ MoreHeaders: map[string]string{"Content-Type": "application/json", "X-Language": "en-us"}, }
Functions ¶
This section is empty.
Types ¶
type AuditLogStatus ¶
type AuditLogStatus struct { SwitchStatus string `json:"switch_status"` ErrorCode string `json:"error_code"` ErrorMsg string `json:"error_msg"` }
func Get ¶
func Get(c *golangsdk.ServiceClient, instanceId string) (*AuditLogStatus, error)
type UpdateAuditlogOpts ¶
type UpdateAuditlogOpts struct {
SwitchStatus string `json:"switch_status" required:"true"`
}
type UpdateResp ¶
type UpdateResp struct { Result string `json:"result"` ErrorCode string `json:"error_code"` ErrorMsg string `json:"error_msg"` }
func Update ¶
func Update(c *golangsdk.ServiceClient, instanceId string, opts UpdateAuditlogOpts) (*UpdateResp, error)
Click to show internal directories.
Click to hide internal directories.