Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteRecorder ¶
func DeleteRecorder(client *golangsdk.ServiceClient, domainId string) (err error)
func UpdateRecorder ¶
func UpdateRecorder(client *golangsdk.ServiceClient, opts UpdateOpts) error
Types ¶
type ChannelConfigBody ¶
type ChannelConfigBody struct {
Smn *TrackerSMNConfigBody `json:"smn,omitempty"`
Obs *TrackerObsConfigBody `json:"obs,omitempty"`
}
type Recorder ¶
type Recorder struct {
Channel ChannelConfigBody `json:"channel"`
Selector SelectorConfigBody `json:"selector"`
RetentionPeriod int `json:"retention_period_in_days"`
AgencyName string `json:"agency_name"`
}
func GetRecorder ¶
func GetRecorder(client *golangsdk.ServiceClient, domainId string) (*Recorder, error)
type SelectorConfigBody ¶
type TrackerObsConfigBody ¶
type TrackerSMNConfigBody ¶
type UpdateOpts ¶
type UpdateOpts struct {
// Recorder domain id
DomainId string `json:"-"`
// Specifies configurations for the tracker channel.
Channel ChannelConfigBody `json:"channel" required:"true"`
// Specifies the selector.
Selector SelectorConfigBody `json:"selector" required:"true"`
// Number of days for data storage.
RetentionDays *int `json:"retention_period_in_days,omitempty"`
// Specifies the IAM agency name.
AgencyName string `json:"agency_name" required:"true"`
}
Click to show internal directories.
Click to hide internal directories.