quota

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DEMUnits

type DEMUnits struct {
	MonthlyLimit *int64 `json:"monthlyLimit"` // Monthly environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
	AnnualLimit  *int64 `json:"annualLimit"`  // Annual environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
}

DEMUnits represents DEM units consumption and quota information on environment level. Not set (and not editable) if DEM units is not enabled. If skipped when editing via PUT method then already set quotas will remain

func (*DEMUnits) IsEmpty

func (me *DEMUnits) IsEmpty() bool

func (*DEMUnits) MarshalHCL

func (me *DEMUnits) MarshalHCL(properties hcl.Properties) error

func (*DEMUnits) Schema

func (me *DEMUnits) Schema() map[string]*schema.Schema

func (*DEMUnits) UnmarshalHCL

func (me *DEMUnits) UnmarshalHCL(decoder hcl.Decoder) error

type DavisDataUnits

type DavisDataUnits struct {
	MonthlyLimit *int64 `json:"monthlyLimit"` // Monthly environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
	AnnualLimit  *int64 `json:"annualLimit"`  // Annual environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
}

DavisDataUnits represents Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled. If skipped when editing via PUT method then already set quotas will remain

func (*DavisDataUnits) IsEmpty

func (me *DavisDataUnits) IsEmpty() bool

func (*DavisDataUnits) MarshalHCL

func (me *DavisDataUnits) MarshalHCL(properties hcl.Properties) error

func (*DavisDataUnits) Schema

func (me *DavisDataUnits) Schema() map[string]*schema.Schema

func (*DavisDataUnits) UnmarshalHCL

func (me *DavisDataUnits) UnmarshalHCL(decoder hcl.Decoder) error

type HostUnits

type HostUnits struct {
	MaxLimit *int64 `json:"maxLimit"` // Concurrent environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
}

HostUnits represents host units consumption and quota information on environment level. If skipped when editing via PUT method then already set quota will remain

func (*HostUnits) IsEmpty

func (me *HostUnits) IsEmpty() bool

type LogMonitoring

type LogMonitoring struct {
	MonthlyLimit *int64 `json:"monthlyLimit"` // Monthly environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
	AnnualLimit  *int64 `json:"annualLimit"`  // Annual environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
}

LogMonitoring represents log monitoring consumption and quota information on environment level. Not set (and not editable) if Log monitoring is not enabled. Not set (and not editable) if Log monitoring is migrated to Davis data on license level. If skipped when editing via PUT method then already set quotas will remain

func (*LogMonitoring) IsEmpty

func (me *LogMonitoring) IsEmpty() bool

func (*LogMonitoring) MarshalHCL

func (me *LogMonitoring) MarshalHCL(properties hcl.Properties) error

func (*LogMonitoring) Schema

func (me *LogMonitoring) Schema() map[string]*schema.Schema

func (*LogMonitoring) UnmarshalHCL

func (me *LogMonitoring) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	HostUnits     *HostUnits      `json:"hostUnits"`         // Host units consumption and quota information on environment level. If skipped when editing via PUT method then already set quota will remain
	DEMUnits      *DEMUnits       `json:"demUnits"`          // DEM units consumption and quota information on environment level. Not set (and not editable) if DEM units is not enabled. If skipped when editing via PUT method then already set quotas will remain
	UserSessions  *UserSessions   `json:"userSessions"`      // User sessions consumption and quota information on environment level. If skipped when editing via PUT method then already set quotas will remain
	Synthetic     *Synthetic      `json:"syntheticMonitors"` // Synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled. If skipped when editing via PUT method then already set quotas will remain
	DDUs          *DavisDataUnits `json:"davisDataUnits"`    // Davis Data Units consumption and quota information on environment level. Not set (and not editable) if Davis data units is not enabled. If skipped when editing via PUT method then already set quotas will remain
	LogMonitoring *LogMonitoring  `json:"logMonitoring"`     // Log Monitoring consumption and quota information on environment level. Not set (and not editable) if Log monitoring is not enabled. Not set (and not editable) if Log monitoring is migrated to Davis data on license level. If skipped when editing via PUT method then already set quotas will remain
}

Settings represents environment level consumption and quotas information. Only returned if includeConsumptionInfo or includeUncachedConsumptionInfo param is true. If skipped when editing via PUT method then already set quotas will remain

func (*Settings) IsEmpty

func (me *Settings) IsEmpty() bool

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

type Synthetic

type Synthetic struct {
	MonthlyLimit *int64 `json:"monthlyLimit"` // Monthly environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
	AnnualLimit  *int64 `json:"annualLimit"`  // Annual environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
}

Synthetic represents synthetic monitors consumption and quota information on environment level. Not set (and not editable) if neither Synthetic nor DEM units is enabled. If skipped when editing via PUT method then already set quotas will remain

func (*Synthetic) IsEmpty

func (me *Synthetic) IsEmpty() bool

func (*Synthetic) MarshalHCL

func (me *Synthetic) MarshalHCL(properties hcl.Properties) error

func (*Synthetic) Schema

func (me *Synthetic) Schema() map[string]*schema.Schema

func (*Synthetic) UnmarshalHCL

func (me *Synthetic) UnmarshalHCL(decoder hcl.Decoder) error

type UserSessions

type UserSessions struct {
	TotalAnnualLimit  *int64 `json:"totalAnnualLimit"`  // Annual total User sessions environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
	TotalMonthlyLimit *int64 `json:"totalMonthlyLimit"` // Monthly total User sessions environment quota. Not set if unlimited. When updating via PUT method, skipping this field will set quota unlimited
}

UserSessions represents user sessions consumption and quota information on environment level. If skipped when editing via PUT method then already set quotas will remain

func (*UserSessions) IsEmpty

func (me *UserSessions) IsEmpty() bool

func (*UserSessions) MarshalHCL

func (me *UserSessions) MarshalHCL(properties hcl.Properties) error

func (*UserSessions) Schema

func (me *UserSessions) Schema() map[string]*schema.Schema

func (*UserSessions) UnmarshalHCL

func (me *UserSessions) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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