types

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateMaintenanceWindowRequest

type CreateMaintenanceWindowRequest struct {
	SchemaId string            `json:"schemaId"`
	Scope    string            `json:"scope"`
	Value    MaintenanceWindow `json:"value"`
}

type CreateMaintenanceWindowResponse

type CreateMaintenanceWindowResponse struct {
	Code     int    `json:"code"`
	ObjectId string `json:"objectId"`
}

type EntitiesList

type EntitiesList struct {
	Entities    []Entity `json:"entities"`
	NextPageKey *string  `json:"nextPageKey"`
	PageSize    int      `json:"pageSize"`
	TotalCount  int      `json:"totalCount"`
}

type Entity

type Entity struct {
	DisplayName string `json:"displayName"`
	EntityId    string `json:"entityId"`
	Type        string `json:"type"`
}

type EventIngest

type EventIngest struct {
	EndTime        *int64            `json:"endTime,omitempty"`
	EntitySelector *string           `json:"entitySelector,omitempty"`
	EventType      string            `json:"eventType"`
	Properties     map[string]string `json:"properties"`
	StartTime      *int64            `json:"startTime"`
	Timeout        *int64            `json:"timeout,omitempty"`
	Title          string            `json:"title"`
}

type EventIngestResult

type EventIngestResult struct {
	CorrelationId string `json:"correlationId"`
	Status        string `json:"status"`
}

type EventIngestResults

type EventIngestResults struct {
	EventIngestResults []EventIngestResult `json:"eventIngestResults"`
	ReportCount        int                 `json:"reportCount"`
}

type GetProblemsResponse

type GetProblemsResponse struct {
	TotalCount  int       `json:"totalCount"`
	PageSize    int       `json:"pageSize"`
	NextPageKey *string   `json:"nextPageKey"`
	Problems    []Problem `json:"problems"`
}

type MaintenanceWindow

type MaintenanceWindow struct {
	Enabled           bool                               `json:"enabled"`
	GeneralProperties MaintenanceWindowGeneralProperties `json:"generalProperties"`
	Schedule          MaintenanceWindowSchedule          `json:"schedule"`
}

type MaintenanceWindowGeneralProperties

type MaintenanceWindowGeneralProperties struct {
	Name                             string `json:"name"`
	Description                      string `json:"description"`
	MaintenanceType                  string `json:"maintenanceType"`
	Suppression                      string `json:"suppression"`
	DisableSyntheticMonitorExecution bool   `json:"disableSyntheticMonitorExecution"`
}

type MaintenanceWindowSchedule

type MaintenanceWindowSchedule struct {
	ScheduleType   string                                  `json:"scheduleType"`
	OnceRecurrence MaintenanceWindowScheduleOnceRecurrence `json:"onceRecurrence"`
}

type MaintenanceWindowScheduleOnceRecurrence

type MaintenanceWindowScheduleOnceRecurrence struct {
	StartTime string `json:"startTime"`
	EndTime   string `json:"endTime"`
	TimeZone  string `json:"timeZone"`
}

type Problem

type Problem struct {
	ProblemId        string          `json:"problemId"`
	DisplayId        string          `json:"displayId"`
	Title            string          `json:"title"`
	AffectedEntities []ProblemEntity `json:"affectedEntities"`
}

type ProblemEntity

type ProblemEntity struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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