models

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddKeyValue

type AddKeyValue struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type Authentication

type Authentication struct {
	Token             string `json:"token"`
	MaxNumberOfAgents int    `json:"maxNumberOfAgents"`
}

type AuthenticationInput

type AuthenticationInput struct {
	MaxNumberOfAgents int `json:"maxNumberOfAgents"`
}

type CloudGuardAppSecGatewayProfile

type CloudGuardAppSecGatewayProfile struct {
	ID                             string         `json:"id"`
	Name                           string         `json:"name"`
	ProfileType                    string         `json:"profileType"`
	ProfileSubType                 string         `json:"profileSubType"`
	UpgradeMode                    string         `json:"upgradeMode,omitempty"`
	Authentication                 Authentication `json:"authentication,omitempty"`
	AdditionalSettings             []KeyValue     `json:"additionalSettings"`
	ReverseProxyAdditionalSettings []KeyValue     `json:"reverseProxyAdditionalSettings,omitempty"`
	UpgradeTime                    *UpgradeTime   `json:"upgradeTime,omitempty"`
	ReverseProxyUpstreamTimeout    int            `json:"reverseProxyUpstreamTimeout,omitempty"`
}

CloudGuardAppSecGatewayProfile represents the profile object as it is returned from mgmt

type CreateCloudGuardAppSecGatewayProfileInput

type CreateCloudGuardAppSecGatewayProfileInput struct {
	UpgradeTime                    *UpgradeTimeInput   `json:"upgradeTime,omitempty"`
	Name                           string              `json:"name"`
	ProfileSubType                 string              `json:"profileSubType"`
	UpgradeMode                    string              `json:"upgradeMode,omitempty"`
	AdditionalSettings             []KeyValueInput     `json:"additionalSettings"`
	ReverseProxyAdditionalSettings []KeyValueInput     `json:"reverseProxyAdditionalSettings,omitempty"`
	ReverseProxyUpstreamTimeout    int                 `json:"reverseProxyUpstreamTimeout,omitempty"`
	Authentication                 AuthenticationInput `json:"authentication,omitempty"`
}

type KeyValue

type KeyValue struct {
	ID    string `json:"id"`
	Key   string `json:"key"`
	Value string `json:"value"`
}

type KeyValueInput

type KeyValueInput struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type UpdateAuthenticationInput

type UpdateAuthenticationInput struct {
	MaxNumberOfAgents int `json:"maxNumberOfAgents,omitempty"`
}

type UpdateCloudGuardAppSecGatewayProfileInput

type UpdateCloudGuardAppSecGatewayProfileInput struct {
	UpgradeTime                          *UpdateUpgradeTimeInput   `json:"upgradeTime,omitempty"`
	Name                                 string                    `json:"name,omitempty"`
	ProfileSubType                       string                    `json:"profileSubType,omitempty"`
	UpgradeMode                          string                    `json:"upgradeMode,omitempty"`
	AddAdditionalSettings                []AddKeyValue             `json:"addAdditionalSettings,omitempty"`
	UpdateAdditionalSettings             []UpdateKeyValue          `json:"updateAdditionalSettings,omitempty"`
	RemoveAdditionalSettings             []string                  `json:"removeAdditionalSettings,omitempty"`
	AddReverseProxyAdditionalSettings    []AddKeyValue             `json:"addReverseProxyAdditionalSettings,omitempty"`
	UpdateReverseProxyAdditionalSettings []UpdateKeyValue          `json:"updateReverseProxyAdditionalSettings,omitempty"`
	RemoveReverseProxyAdditionalSettings []string                  `json:"removeReverseProxyAdditionalSettings,omitempty"`
	ReverseProxyUpstreamTimeout          int                       `json:"reverseProxyUpstreamTimeout,omitempty"`
	Authentication                       UpdateAuthenticationInput `json:"authentication,omitempty"`
}

type UpdateKeyValue

type UpdateKeyValue struct {
	ID    string `json:"id"`
	Key   string `json:"key"`
	Value string `json:"value"`
}

type UpdateUpgradeTimeInput

type UpdateUpgradeTimeInput struct {
	ScheduleType string   `json:"scheduleType,omitempty"`
	Time         string   `json:"time,omitempty"`
	WeekDays     []string `json:"weekDays,omitempty"`
	Duration     int      `json:"duration,omitempty"`
}

type UpgradeTime

type UpgradeTime struct {
	ScheduleType string   `json:"scheduleType,omitempty"`
	Time         string   `json:"time,omitempty"`
	WeekDays     []string `json:"weekDays,omitempty"`
	Duration     int      `json:"duration,omitempty"`
}

type UpgradeTimeInput

type UpgradeTimeInput struct {
	ScheduleType string   `json:"scheduleType,omitempty"`
	Time         string   `json:"time,omitempty"`
	WeekDays     []string `json:"weekDays,omitempty"`
	Duration     int      `json:"duration,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL