api

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 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 AddTag added in v1.1.0

type AddTag struct {
	CspTagKey   string `json:"cspTagKey"`
	CspTagValue string `json:"cspTagValue"`
}

type CSPTagRequest added in v1.1.0

type CSPTagRequest struct {
	AddTags    []AddTag  `json:"addTags"`
	DeleteTags []string  `json:"deleteTags"`
	EditTags   []EditTag `json:"editTags"`
}

type CSPTagResponse added in v1.1.0

type CSPTagResponse struct {
	Data []struct {
		CSPTagID    string `json:"cspTagId"`
		CSPTagKey   string `json:"cspTagKey"`
		CSPTagValue string `json:"cspTagValue"`
		Status      string `json:"status"`
	} `json:"data"`
}

type EditTag added in v1.1.0

type EditTag struct {
	CSPTagID    string `json:"cspTagId"`
	CSPTagKey   string `json:"cspTagKey"`
	CSPTagValue string `json:"cspTagValue"`
	Status      string `json:"status"`
}

type MaintenanceWindow

type MaintenanceWindow struct {
	IsEnabled *bool `json:"isEnabled,omitempty" mapstructure:"isEnabled"`
	// The day of week, 0 represents Sunday, 1 is Monday, and so on.
	StartDay  *float64 `json:"startDay,omitempty" mapstructure:"startDay"`
	StartTime *string  `json:"startTime,omitempty" mapstructure:"startTime"`
}

type Tag added in v1.1.0

type Tag struct {
	Color   *string `json:"color,omitempty" tfsdk:"color" mapstructure:"color"`
	TagId   string  `json:"tagId" tfsdk:"tag_id" mapstructure:"tag_id"`
	TagName string  `json:"tagName" tfsdk:"tag_name" mapstructure:"tag_name"`
}

mapstructure annotations are used by faraway away replica only and should be removed once we migrate faraway replica resouce to terraform plugin framework

type TagRequest added in v1.1.0

type TagRequest struct {
	Color   *string `json:"color,omitempty"`
	TagName string  `json:"tagName"`
}

type TagResponse added in v1.1.0

type TagResponse struct {
	Color   *string `json:"color,omitempty"`
	TagId   string  `json:"tagId"`
	TagName string  `json:"tagName"`
}

Jump to

Keyboard shortcuts

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