machinegroup

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MachineGroup

type MachineGroup struct {
	CreationTime string     `json:"creationTime,omitempty"`
	Description  string     `json:"description,omitempty"`
	Enabled      bool       `json:"enabled,omitempty"`
	ID           string     `json:"id,omitempty"`
	Machines     []Machines `json:"machines,omitempty"`
	ModifiedBy   string     `json:"modifiedBy,omitempty"`
	ModifiedTime string     `json:"modifiedTime,omitempty"`
	Name         string     `json:"name,omitempty"`
}

type Machines

type Machines struct {
	CreationTime     string                 `json:"creationTime,omitempty"`
	Description      string                 `json:"description,omitempty"`
	Fingerprint      string                 `json:"fingerprint,omitempty"`
	ID               string                 `json:"id,omitempty"`
	IssuedCertID     string                 `json:"issuedCertId,omitempty"`
	MachineGroupID   string                 `json:"machineGroupId,omitempty"`
	MachineGroupName string                 `json:"machineGroupName,omitempty"`
	MachineTokenID   string                 `json:"machineTokenId,omitempty"`
	ModifiedBy       string                 `json:"modifiedBy,omitempty"`
	ModifiedTime     string                 `json:"modifiedTime,omitempty"`
	Name             string                 `json:"name,omitempty"`
	SigningCert      map[string]interface{} `json:"signingCert,omitempty"`
}

type Service

type Service struct {
	Client *zpa.Client
}

func New

func New(c *zpa.Client) *Service

func (*Service) Get

func (service *Service) Get(machineGroupID string) (*MachineGroup, *http.Response, error)

func (*Service) GetAll

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

func (*Service) GetByName

func (service *Service) GetByName(machineGroupName string) (*MachineGroup, *http.Response, error)

Jump to

Keyboard shortcuts

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