machinegroup

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 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 {
	ID              string     `json:"id,omitempty"`
	Name            string     `json:"name,omitempty"`
	Description     string     `json:"description,omitempty"`
	Enabled         bool       `json:"enabled,omitempty"`
	CreationTime    string     `json:"creationTime,omitempty"`
	Machines        []Machines `json:"machines,omitempty"`
	ModifiedBy      string     `json:"modifiedBy,omitempty"`
	ModifiedTime    string     `json:"modifiedTime,omitempty"`
	MicroTenantID   string     `json:"microtenantId,omitempty"`
	MicroTenantName string     `json:"microtenantName,omitempty"`
}

type Machines

type Machines struct {
	ID               string                 `json:"id,omitempty"`
	Name             string                 `json:"name,omitempty"`
	Description      string                 `json:"description,omitempty"`
	CreationTime     string                 `json:"creationTime,omitempty"`
	Fingerprint      string                 `json:"fingerprint,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"`
	MicroTenantID    string                 `json:"microtenantId,omitempty"`
	MicroTenantName  string                 `json:"microtenantName,omitempty"`
	SigningCert      map[string]interface{} `json:"signingCert,omitempty"`
}

type Service

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

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)

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