appservercontroller

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationServer

type ApplicationServer struct {
	Address           string   `json:"address"`
	AppServerGroupIds []string `json:"appServerGroupIds"`
	ConfigSpace       string   `json:"configSpace,omitempty"`
	CreationTime      string   `json:"creationTime,"`
	Description       string   `json:"description"`
	Enabled           bool     `json:"enabled"`
	ID                string   `json:"id,"`
	ModifiedBy        string   `json:"modifiedBy,"`
	ModifiedTime      string   `json:"modifiedTime,"`
	Name              string   `json:"name"`
}

type Service

type Service struct {
	Client *zpa.Client
}

func New

func New(c *zpa.Client) *Service

func (*Service) Create

func (service *Service) Create(server ApplicationServer) (*ApplicationServer, *http.Response, error)

func (*Service) Delete

func (service *Service) Delete(id string) (*http.Response, error)

func (*Service) Get

func (service *Service) Get(id string) (*ApplicationServer, *http.Response, error)

func (*Service) GetAll added in v0.0.5

func (service *Service) GetAll() ([]ApplicationServer, *http.Response, error)

func (*Service) GetByName

func (service *Service) GetByName(appServerName string) (*ApplicationServer, *http.Response, error)

func (*Service) Update

func (service *Service) Update(id string, appServer ApplicationServer) (*http.Response, error)

Jump to

Keyboard shortcuts

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