appservercontroller

package
v2.3.6 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 5 Imported by: 2

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,omitempty"`
	ModifiedBy        string   `json:"modifiedBy"`
	ModifiedTime      string   `json:"modifiedTime"`
	Name              string   `json:"name"`
	MicroTenantID     string   `json:"microtenantId,omitempty"`
	MicroTenantName   string   `json:"microtenantName,omitempty"`
}

type Service

type Service struct {
	Client *zpa.Client
	// contains filtered or unexported fields
}

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

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)

func (*Service) WithMicroTenant

func (service *Service) WithMicroTenant(microTenantID string) *Service

Jump to

Keyboard shortcuts

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