Documentation ¶
Index ¶
- func Delete(ctx context.Context, service *zscaler.Service, ruleLabelID int) (*http.Response, error)
- type RuleLabels
- func Create(ctx context.Context, service *zscaler.Service, ruleLabelID *RuleLabels) (*RuleLabels, *http.Response, error)
- func Get(ctx context.Context, service *zscaler.Service, ruleLabelID int) (*RuleLabels, error)
- func GetAll(ctx context.Context, service *zscaler.Service) ([]RuleLabels, error)
- func GetRuleLabelByName(ctx context.Context, service *zscaler.Service, labelName string) (*RuleLabels, error)
- func Update(ctx context.Context, service *zscaler.Service, ruleLabelID int, ...) (*RuleLabels, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RuleLabels ¶
type RuleLabels struct { // The unique identifier for the rule label. ID int `json:"id"` // The rule label name. Name string `json:"name,omitempty"` // The rule label description. Description string `json:"description,omitempty"` // Timestamp when the rule lable was last modified. This is a read-only field. Ignored by PUT and DELETE requests. LastModifiedTime int `json:"lastModifiedTime,omitempty"` // The admin that modified the rule label last. This is a read-only field. Ignored by PUT requests. LastModifiedBy *common.IDNameExtensions `json:"lastModifiedBy,omitempty"` // The admin that created the rule label. This is a read-only field. Ignored by PUT requests. CreatedBy *common.IDNameExtensions `json:"createdBy,omitempty"` // The number of rules that reference the label. ReferencedRuleCount int `json:"referencedRuleCount,omitempty"` }
func Create ¶
func Create(ctx context.Context, service *zscaler.Service, ruleLabelID *RuleLabels) (*RuleLabels, *http.Response, error)
func GetRuleLabelByName ¶
Click to show internal directories.
Click to hide internal directories.