kbapi

package
v0.11.13 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package kbapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes = "apiKeyAuth.Scopes"
	BasicAuthScopes  = "basicAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewCreateDataViewDefaultwRequest

func NewCreateDataViewDefaultwRequest(server string, spaceId SpaceId, body CreateDataViewDefaultwJSONRequestBody) (*http.Request, error)

NewCreateDataViewDefaultwRequest calls the generic CreateDataViewDefaultw builder with application/json body

func NewCreateDataViewDefaultwRequestWithBody

func NewCreateDataViewDefaultwRequestWithBody(server string, spaceId SpaceId, contentType string, body io.Reader) (*http.Request, error)

NewCreateDataViewDefaultwRequestWithBody generates requests for CreateDataViewDefaultw with any type of body

func NewDeleteDataViewDefaultRequest

func NewDeleteDataViewDefaultRequest(server string, spaceId SpaceId, viewId DataViewsViewId) (*http.Request, error)

NewDeleteDataViewDefaultRequest generates requests for DeleteDataViewDefault

func NewDeleteFleetEpmPackagesPkgnamePkgversionRequest

func NewDeleteFleetEpmPackagesPkgnamePkgversionRequest(server string, pkgName string, pkgVersion string, params *DeleteFleetEpmPackagesPkgnamePkgversionParams) (*http.Request, error)

NewDeleteFleetEpmPackagesPkgnamePkgversionRequest generates requests for DeleteFleetEpmPackagesPkgnamePkgversion

func NewDeleteFleetFleetServerHostsItemidRequest

func NewDeleteFleetFleetServerHostsItemidRequest(server string, itemId string) (*http.Request, error)

NewDeleteFleetFleetServerHostsItemidRequest generates requests for DeleteFleetFleetServerHostsItemid

func NewDeleteFleetOutputsOutputidRequest

func NewDeleteFleetOutputsOutputidRequest(server string, outputId string) (*http.Request, error)

NewDeleteFleetOutputsOutputidRequest generates requests for DeleteFleetOutputsOutputid

func NewDeleteFleetPackagePoliciesPackagepolicyidRequest

func NewDeleteFleetPackagePoliciesPackagepolicyidRequest(server string, packagePolicyId string, params *DeleteFleetPackagePoliciesPackagepolicyidParams) (*http.Request, error)

NewDeleteFleetPackagePoliciesPackagepolicyidRequest generates requests for DeleteFleetPackagePoliciesPackagepolicyid

func NewGetAllDataViewsDefaultRequest

func NewGetAllDataViewsDefaultRequest(server string, spaceId SpaceId) (*http.Request, error)

NewGetAllDataViewsDefaultRequest generates requests for GetAllDataViewsDefault

func NewGetDataViewDefaultRequest

func NewGetDataViewDefaultRequest(server string, spaceId SpaceId, viewId DataViewsViewId) (*http.Request, error)

NewGetDataViewDefaultRequest generates requests for GetDataViewDefault

func NewGetFleetAgentPoliciesAgentpolicyidRequest

func NewGetFleetAgentPoliciesAgentpolicyidRequest(server string, agentPolicyId string, params *GetFleetAgentPoliciesAgentpolicyidParams) (*http.Request, error)

NewGetFleetAgentPoliciesAgentpolicyidRequest generates requests for GetFleetAgentPoliciesAgentpolicyid

func NewGetFleetAgentPoliciesRequest

func NewGetFleetAgentPoliciesRequest(server string, params *GetFleetAgentPoliciesParams) (*http.Request, error)

NewGetFleetAgentPoliciesRequest generates requests for GetFleetAgentPolicies

func NewGetFleetEnrollmentApiKeysRequest

func NewGetFleetEnrollmentApiKeysRequest(server string, params *GetFleetEnrollmentApiKeysParams) (*http.Request, error)

NewGetFleetEnrollmentApiKeysRequest generates requests for GetFleetEnrollmentApiKeys

func NewGetFleetEpmPackagesPkgnamePkgversionRequest

func NewGetFleetEpmPackagesPkgnamePkgversionRequest(server string, pkgName string, pkgVersion string, params *GetFleetEpmPackagesPkgnamePkgversionParams) (*http.Request, error)

NewGetFleetEpmPackagesPkgnamePkgversionRequest generates requests for GetFleetEpmPackagesPkgnamePkgversion

func NewGetFleetEpmPackagesRequest

func NewGetFleetEpmPackagesRequest(server string, params *GetFleetEpmPackagesParams) (*http.Request, error)

NewGetFleetEpmPackagesRequest generates requests for GetFleetEpmPackages

func NewGetFleetFleetServerHostsItemidRequest

func NewGetFleetFleetServerHostsItemidRequest(server string, itemId string) (*http.Request, error)

NewGetFleetFleetServerHostsItemidRequest generates requests for GetFleetFleetServerHostsItemid

func NewGetFleetFleetServerHostsRequest

func NewGetFleetFleetServerHostsRequest(server string) (*http.Request, error)

NewGetFleetFleetServerHostsRequest generates requests for GetFleetFleetServerHosts

func NewGetFleetOutputsOutputidRequest

func NewGetFleetOutputsOutputidRequest(server string, outputId string) (*http.Request, error)

NewGetFleetOutputsOutputidRequest generates requests for GetFleetOutputsOutputid

func NewGetFleetOutputsRequest

func NewGetFleetOutputsRequest(server string) (*http.Request, error)

NewGetFleetOutputsRequest generates requests for GetFleetOutputs

func NewGetFleetPackagePoliciesPackagepolicyidRequest

func NewGetFleetPackagePoliciesPackagepolicyidRequest(server string, packagePolicyId string, params *GetFleetPackagePoliciesPackagepolicyidParams) (*http.Request, error)

NewGetFleetPackagePoliciesPackagepolicyidRequest generates requests for GetFleetPackagePoliciesPackagepolicyid

func NewGetFleetPackagePoliciesRequest

func NewGetFleetPackagePoliciesRequest(server string, params *GetFleetPackagePoliciesParams) (*http.Request, error)

NewGetFleetPackagePoliciesRequest generates requests for GetFleetPackagePolicies

func NewPostFleetAgentPoliciesDeleteRequest

func NewPostFleetAgentPoliciesDeleteRequest(server string, body PostFleetAgentPoliciesDeleteJSONRequestBody) (*http.Request, error)

NewPostFleetAgentPoliciesDeleteRequest calls the generic PostFleetAgentPoliciesDelete builder with application/json body

func NewPostFleetAgentPoliciesDeleteRequestWithBody

func NewPostFleetAgentPoliciesDeleteRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostFleetAgentPoliciesDeleteRequestWithBody generates requests for PostFleetAgentPoliciesDelete with any type of body

func NewPostFleetAgentPoliciesRequest

func NewPostFleetAgentPoliciesRequest(server string, params *PostFleetAgentPoliciesParams, body PostFleetAgentPoliciesJSONRequestBody) (*http.Request, error)

NewPostFleetAgentPoliciesRequest calls the generic PostFleetAgentPolicies builder with application/json body

func NewPostFleetAgentPoliciesRequestWithBody

func NewPostFleetAgentPoliciesRequestWithBody(server string, params *PostFleetAgentPoliciesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostFleetAgentPoliciesRequestWithBody generates requests for PostFleetAgentPolicies with any type of body

func NewPostFleetEpmPackagesPkgnamePkgversionRequest

func NewPostFleetEpmPackagesPkgnamePkgversionRequest(server string, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionParams, body PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody) (*http.Request, error)

NewPostFleetEpmPackagesPkgnamePkgversionRequest calls the generic PostFleetEpmPackagesPkgnamePkgversion builder with application/json body

func NewPostFleetEpmPackagesPkgnamePkgversionRequestWithBody

func NewPostFleetEpmPackagesPkgnamePkgversionRequestWithBody(server string, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionParams, contentType string, body io.Reader) (*http.Request, error)

NewPostFleetEpmPackagesPkgnamePkgversionRequestWithBody generates requests for PostFleetEpmPackagesPkgnamePkgversion with any type of body

func NewPostFleetEpmPackagesRequestWithBody

func NewPostFleetEpmPackagesRequestWithBody(server string, params *PostFleetEpmPackagesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostFleetEpmPackagesRequestWithBody generates requests for PostFleetEpmPackages with any type of body

func NewPostFleetFleetServerHostsRequest

func NewPostFleetFleetServerHostsRequest(server string, body PostFleetFleetServerHostsJSONRequestBody) (*http.Request, error)

NewPostFleetFleetServerHostsRequest calls the generic PostFleetFleetServerHosts builder with application/json body

func NewPostFleetFleetServerHostsRequestWithBody

func NewPostFleetFleetServerHostsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostFleetFleetServerHostsRequestWithBody generates requests for PostFleetFleetServerHosts with any type of body

func NewPostFleetOutputsRequest

func NewPostFleetOutputsRequest(server string, body PostFleetOutputsJSONRequestBody) (*http.Request, error)

NewPostFleetOutputsRequest calls the generic PostFleetOutputs builder with application/json body

func NewPostFleetOutputsRequestWithBody

func NewPostFleetOutputsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostFleetOutputsRequestWithBody generates requests for PostFleetOutputs with any type of body

func NewPostFleetPackagePoliciesRequest

func NewPostFleetPackagePoliciesRequest(server string, params *PostFleetPackagePoliciesParams, body PostFleetPackagePoliciesJSONRequestBody) (*http.Request, error)

NewPostFleetPackagePoliciesRequest calls the generic PostFleetPackagePolicies builder with application/json body

func NewPostFleetPackagePoliciesRequestWithBody

func NewPostFleetPackagePoliciesRequestWithBody(server string, params *PostFleetPackagePoliciesParams, contentType string, body io.Reader) (*http.Request, error)

NewPostFleetPackagePoliciesRequestWithBody generates requests for PostFleetPackagePolicies with any type of body

func NewPutFleetAgentPoliciesAgentpolicyidRequest

func NewPutFleetAgentPoliciesAgentpolicyidRequest(server string, agentPolicyId string, params *PutFleetAgentPoliciesAgentpolicyidParams, body PutFleetAgentPoliciesAgentpolicyidJSONRequestBody) (*http.Request, error)

NewPutFleetAgentPoliciesAgentpolicyidRequest calls the generic PutFleetAgentPoliciesAgentpolicyid builder with application/json body

func NewPutFleetAgentPoliciesAgentpolicyidRequestWithBody

func NewPutFleetAgentPoliciesAgentpolicyidRequestWithBody(server string, agentPolicyId string, params *PutFleetAgentPoliciesAgentpolicyidParams, contentType string, body io.Reader) (*http.Request, error)

NewPutFleetAgentPoliciesAgentpolicyidRequestWithBody generates requests for PutFleetAgentPoliciesAgentpolicyid with any type of body

func NewPutFleetFleetServerHostsItemidRequest

func NewPutFleetFleetServerHostsItemidRequest(server string, itemId string, body PutFleetFleetServerHostsItemidJSONRequestBody) (*http.Request, error)

NewPutFleetFleetServerHostsItemidRequest calls the generic PutFleetFleetServerHostsItemid builder with application/json body

func NewPutFleetFleetServerHostsItemidRequestWithBody

func NewPutFleetFleetServerHostsItemidRequestWithBody(server string, itemId string, contentType string, body io.Reader) (*http.Request, error)

NewPutFleetFleetServerHostsItemidRequestWithBody generates requests for PutFleetFleetServerHostsItemid with any type of body

func NewPutFleetOutputsOutputidRequest

func NewPutFleetOutputsOutputidRequest(server string, outputId string, body PutFleetOutputsOutputidJSONRequestBody) (*http.Request, error)

NewPutFleetOutputsOutputidRequest calls the generic PutFleetOutputsOutputid builder with application/json body

func NewPutFleetOutputsOutputidRequestWithBody

func NewPutFleetOutputsOutputidRequestWithBody(server string, outputId string, contentType string, body io.Reader) (*http.Request, error)

NewPutFleetOutputsOutputidRequestWithBody generates requests for PutFleetOutputsOutputid with any type of body

func NewPutFleetPackagePoliciesPackagepolicyidRequest

func NewPutFleetPackagePoliciesPackagepolicyidRequest(server string, packagePolicyId string, params *PutFleetPackagePoliciesPackagepolicyidParams, body PutFleetPackagePoliciesPackagepolicyidJSONRequestBody) (*http.Request, error)

NewPutFleetPackagePoliciesPackagepolicyidRequest calls the generic PutFleetPackagePoliciesPackagepolicyid builder with application/json body

func NewPutFleetPackagePoliciesPackagepolicyidRequestWithBody

func NewPutFleetPackagePoliciesPackagepolicyidRequestWithBody(server string, packagePolicyId string, params *PutFleetPackagePoliciesPackagepolicyidParams, contentType string, body io.Reader) (*http.Request, error)

NewPutFleetPackagePoliciesPackagepolicyidRequestWithBody generates requests for PutFleetPackagePoliciesPackagepolicyid with any type of body

func NewUpdateDataViewDefaultRequest

func NewUpdateDataViewDefaultRequest(server string, spaceId SpaceId, viewId DataViewsViewId, body UpdateDataViewDefaultJSONRequestBody) (*http.Request, error)

NewUpdateDataViewDefaultRequest calls the generic UpdateDataViewDefault builder with application/json body

func NewUpdateDataViewDefaultRequestWithBody

func NewUpdateDataViewDefaultRequestWithBody(server string, spaceId SpaceId, viewId DataViewsViewId, contentType string, body io.Reader) (*http.Request, error)

NewUpdateDataViewDefaultRequestWithBody generates requests for UpdateDataViewDefault with any type of body

Types

type AgentPolicy

type AgentPolicy struct {
	AdvancedSettings *struct {
		AgentDownloadTargetDirectory *interface{} `json:"agent_download_target_directory"`
		AgentDownloadTimeout         *interface{} `json:"agent_download_timeout"`
		AgentLimitsGoMaxProcs        *interface{} `json:"agent_limits_go_max_procs"`
		AgentLoggingLevel            *interface{} `json:"agent_logging_level"`
		AgentLoggingMetricsPeriod    *interface{} `json:"agent_logging_metrics_period"`
	} `json:"advanced_settings,omitempty"`
	AgentFeatures *[]struct {
		Enabled bool   `json:"enabled"`
		Name    string `json:"name"`
	} `json:"agent_features,omitempty"`
	Agents            *float32 `json:"agents,omitempty"`
	DataOutputId      *string  `json:"data_output_id"`
	Description       *string  `json:"description,omitempty"`
	DownloadSourceId  *string  `json:"download_source_id"`
	FleetServerHostId *string  `json:"fleet_server_host_id"`

	// GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers.
	GlobalDataTags *[]struct {
		Name  string                           `json:"name"`
		Value AgentPolicy_GlobalDataTags_Value `json:"value"`
	} `json:"global_data_tags,omitempty"`
	HasFleetServer       *bool    `json:"has_fleet_server,omitempty"`
	Id                   string   `json:"id"`
	InactivityTimeout    *float32 `json:"inactivity_timeout,omitempty"`
	IsDefault            *bool    `json:"is_default,omitempty"`
	IsDefaultFleetServer *bool    `json:"is_default_fleet_server,omitempty"`
	IsManaged            bool     `json:"is_managed"`
	IsPreconfigured      *bool    `json:"is_preconfigured,omitempty"`

	// IsProtected Indicates whether the agent policy has tamper protection enabled. Default false.
	IsProtected bool `json:"is_protected"`

	// KeepMonitoringAlive When set to true, monitoring will be enabled but logs/metrics collection will be disabled
	KeepMonitoringAlive   *bool `json:"keep_monitoring_alive"`
	MonitoringDiagnostics *struct {
		Limit *struct {
			Burst    *float32 `json:"burst,omitempty"`
			Interval *string  `json:"interval,omitempty"`
		} `json:"limit,omitempty"`
		Uploader *struct {
			InitDur    *string  `json:"init_dur,omitempty"`
			MaxDur     *string  `json:"max_dur,omitempty"`
			MaxRetries *float32 `json:"max_retries,omitempty"`
		} `json:"uploader,omitempty"`
	} `json:"monitoring_diagnostics,omitempty"`
	MonitoringEnabled *[]AgentPolicyMonitoringEnabled `json:"monitoring_enabled,omitempty"`
	MonitoringHttp    *struct {
		Buffer *struct {
			Enabled *bool `json:"enabled,omitempty"`
		} `json:"buffer,omitempty"`
		Enabled bool     `json:"enabled"`
		Host    *string  `json:"host,omitempty"`
		Port    *float32 `json:"port,omitempty"`
	} `json:"monitoring_http,omitempty"`
	MonitoringOutputId     *string `json:"monitoring_output_id"`
	MonitoringPprofEnabled *bool   `json:"monitoring_pprof_enabled,omitempty"`
	Name                   string  `json:"name"`
	Namespace              string  `json:"namespace"`

	// Overrides Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure.
	Overrides       *map[string]interface{}      `json:"overrides"`
	PackagePolicies *AgentPolicy_PackagePolicies `json:"package_policies,omitempty"`
	Revision        float32                      `json:"revision"`
	SchemaVersion   *string                      `json:"schema_version,omitempty"`
	SpaceIds        *[]string                    `json:"space_ids,omitempty"`
	Status          AgentPolicyStatus            `json:"status"`

	// SupportsAgentless Indicates whether the agent policy supports agentless integrations.
	SupportsAgentless  *bool    `json:"supports_agentless"`
	UnenrollTimeout    *float32 `json:"unenroll_timeout,omitempty"`
	UnprivilegedAgents *float32 `json:"unprivileged_agents,omitempty"`
	UpdatedAt          string   `json:"updated_at"`
	UpdatedBy          string   `json:"updated_by"`
	Version            *string  `json:"version,omitempty"`
}

AgentPolicy defines model for agent_policy.

type AgentPolicyGlobalDataTagsValue0

type AgentPolicyGlobalDataTagsValue0 = string

AgentPolicyGlobalDataTagsValue0 defines model for .

type AgentPolicyGlobalDataTagsValue1

type AgentPolicyGlobalDataTagsValue1 = float32

AgentPolicyGlobalDataTagsValue1 defines model for .

type AgentPolicyMonitoringEnabled

type AgentPolicyMonitoringEnabled string

AgentPolicyMonitoringEnabled defines model for AgentPolicy.MonitoringEnabled.

const (
	AgentPolicyMonitoringEnabledLogs    AgentPolicyMonitoringEnabled = "logs"
	AgentPolicyMonitoringEnabledMetrics AgentPolicyMonitoringEnabled = "metrics"
	AgentPolicyMonitoringEnabledTraces  AgentPolicyMonitoringEnabled = "traces"
)

Defines values for AgentPolicyMonitoringEnabled.

type AgentPolicyPackagePolicies0

type AgentPolicyPackagePolicies0 = []string

AgentPolicyPackagePolicies0 defines model for .

type AgentPolicyPackagePolicies1

type AgentPolicyPackagePolicies1 = []struct {
	CreatedAt string `json:"created_at"`
	CreatedBy string `json:"created_by"`

	// Description Package policy description
	Description   *string                                      `json:"description,omitempty"`
	Elasticsearch *AgentPolicy_PackagePolicies_1_Elasticsearch `json:"elasticsearch,omitempty"`
	Enabled       bool                                         `json:"enabled"`
	Id            string                                       `json:"id"`
	Inputs        []struct {
		CompiledInput interface{} `json:"compiled_input"`

		// Config Package variable (see integration documentation for more information)
		Config *map[string]struct {
			Frozen *bool       `json:"frozen,omitempty"`
			Type   *string     `json:"type,omitempty"`
			Value  interface{} `json:"value"`
		} `json:"config,omitempty"`
		Enabled        bool    `json:"enabled"`
		Id             *string `json:"id,omitempty"`
		KeepEnabled    *bool   `json:"keep_enabled,omitempty"`
		PolicyTemplate *string `json:"policy_template,omitempty"`
		Streams        []struct {
			CompiledStream interface{} `json:"compiled_stream"`

			// Config Package variable (see integration documentation for more information)
			Config *map[string]struct {
				Frozen *bool       `json:"frozen,omitempty"`
				Type   *string     `json:"type,omitempty"`
				Value  interface{} `json:"value"`
			} `json:"config,omitempty"`
			DataStream struct {
				Dataset       string `json:"dataset"`
				Elasticsearch *struct {
					DynamicDataset   *bool `json:"dynamic_dataset,omitempty"`
					DynamicNamespace *bool `json:"dynamic_namespace,omitempty"`
					Privileges       *struct {
						Indices *[]string `json:"indices,omitempty"`
					} `json:"privileges,omitempty"`
				} `json:"elasticsearch,omitempty"`
				Type string `json:"type"`
			} `json:"data_stream"`
			Enabled     bool                                             `json:"enabled"`
			Id          *string                                          `json:"id,omitempty"`
			KeepEnabled *bool                                            `json:"keep_enabled,omitempty"`
			Release     *AgentPolicyPackagePolicies1InputsStreamsRelease `json:"release,omitempty"`

			// Vars Package variable (see integration documentation for more information)
			Vars *map[string]struct {
				Frozen *bool       `json:"frozen,omitempty"`
				Type   *string     `json:"type,omitempty"`
				Value  interface{} `json:"value"`
			} `json:"vars,omitempty"`
		} `json:"streams"`
		Type string `json:"type"`

		// Vars Package variable (see integration documentation for more information)
		Vars *map[string]struct {
			Frozen *bool       `json:"frozen,omitempty"`
			Type   *string     `json:"type,omitempty"`
			Value  interface{} `json:"value"`
		} `json:"vars,omitempty"`
	} `json:"inputs"`
	IsManaged *bool `json:"is_managed,omitempty"`

	// Name Package policy name (should be unique)
	Name string `json:"name"`

	// Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace.
	Namespace *string `json:"namespace,omitempty"`
	OutputId  *string `json:"output_id"`

	// Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure.
	Overrides *struct {
		Inputs *map[string]interface{} `json:"inputs,omitempty"`
	} `json:"overrides"`
	Package *struct {
		ExperimentalDataStreamFeatures *[]struct {
			DataStream string `json:"data_stream"`
			Features   struct {
				DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"`
				DocValueOnlyOther   *bool `json:"doc_value_only_other,omitempty"`
				SyntheticSource     *bool `json:"synthetic_source,omitempty"`
				Tsdb                *bool `json:"tsdb,omitempty"`
			} `json:"features"`
		} `json:"experimental_data_stream_features,omitempty"`

		// Name Package name
		Name         string  `json:"name"`
		RequiresRoot *bool   `json:"requires_root,omitempty"`
		Title        *string `json:"title,omitempty"`

		// Version Package version
		Version string `json:"version"`
	} `json:"package,omitempty"`

	// PolicyId Agent policy ID where that package policy will be added
	// Deprecated:
	PolicyId         *string   `json:"policy_id"`
	PolicyIds        *[]string `json:"policy_ids,omitempty"`
	Revision         float32   `json:"revision"`
	SecretReferences *[]struct {
		Id string `json:"id"`
	} `json:"secret_references,omitempty"`
	UpdatedAt string `json:"updated_at"`
	UpdatedBy string `json:"updated_by"`

	// Vars Package variable (see integration documentation for more information)
	Vars *map[string]struct {
		Frozen *bool       `json:"frozen,omitempty"`
		Type   *string     `json:"type,omitempty"`
		Value  interface{} `json:"value"`
	} `json:"vars,omitempty"`
	Version *string `json:"version,omitempty"`
}

AgentPolicyPackagePolicies1 This field is present only when retrieving a single agent policy, or when retrieving a list of agent policies with the ?full=true parameter

type AgentPolicyPackagePolicies1InputsStreamsRelease

type AgentPolicyPackagePolicies1InputsStreamsRelease string

AgentPolicyPackagePolicies1InputsStreamsRelease defines model for AgentPolicy.PackagePolicies.1.Inputs.Streams.Release.

const (
	AgentPolicyPackagePolicies1InputsStreamsReleaseBeta         AgentPolicyPackagePolicies1InputsStreamsRelease = "beta"
	AgentPolicyPackagePolicies1InputsStreamsReleaseExperimental AgentPolicyPackagePolicies1InputsStreamsRelease = "experimental"
	AgentPolicyPackagePolicies1InputsStreamsReleaseGa           AgentPolicyPackagePolicies1InputsStreamsRelease = "ga"
)

Defines values for AgentPolicyPackagePolicies1InputsStreamsRelease.

type AgentPolicyStatus

type AgentPolicyStatus string

AgentPolicyStatus defines model for AgentPolicy.Status.

const (
	Active   AgentPolicyStatus = "active"
	Inactive AgentPolicyStatus = "inactive"
)

Defines values for AgentPolicyStatus.

type AgentPolicy_GlobalDataTags_Value

type AgentPolicy_GlobalDataTags_Value struct {
	// contains filtered or unexported fields
}

AgentPolicy_GlobalDataTags_Value defines model for AgentPolicy.GlobalDataTags.Value.

func (AgentPolicy_GlobalDataTags_Value) AsAgentPolicyGlobalDataTagsValue0

func (t AgentPolicy_GlobalDataTags_Value) AsAgentPolicyGlobalDataTagsValue0() (AgentPolicyGlobalDataTagsValue0, error)

AsAgentPolicyGlobalDataTagsValue0 returns the union data inside the AgentPolicy_GlobalDataTags_Value as a AgentPolicyGlobalDataTagsValue0

func (AgentPolicy_GlobalDataTags_Value) AsAgentPolicyGlobalDataTagsValue1

func (t AgentPolicy_GlobalDataTags_Value) AsAgentPolicyGlobalDataTagsValue1() (AgentPolicyGlobalDataTagsValue1, error)

AsAgentPolicyGlobalDataTagsValue1 returns the union data inside the AgentPolicy_GlobalDataTags_Value as a AgentPolicyGlobalDataTagsValue1

func (*AgentPolicy_GlobalDataTags_Value) FromAgentPolicyGlobalDataTagsValue0

func (t *AgentPolicy_GlobalDataTags_Value) FromAgentPolicyGlobalDataTagsValue0(v AgentPolicyGlobalDataTagsValue0) error

FromAgentPolicyGlobalDataTagsValue0 overwrites any union data inside the AgentPolicy_GlobalDataTags_Value as the provided AgentPolicyGlobalDataTagsValue0

func (*AgentPolicy_GlobalDataTags_Value) FromAgentPolicyGlobalDataTagsValue1

func (t *AgentPolicy_GlobalDataTags_Value) FromAgentPolicyGlobalDataTagsValue1(v AgentPolicyGlobalDataTagsValue1) error

FromAgentPolicyGlobalDataTagsValue1 overwrites any union data inside the AgentPolicy_GlobalDataTags_Value as the provided AgentPolicyGlobalDataTagsValue1

func (AgentPolicy_GlobalDataTags_Value) MarshalJSON

func (t AgentPolicy_GlobalDataTags_Value) MarshalJSON() ([]byte, error)

func (*AgentPolicy_GlobalDataTags_Value) MergeAgentPolicyGlobalDataTagsValue0

func (t *AgentPolicy_GlobalDataTags_Value) MergeAgentPolicyGlobalDataTagsValue0(v AgentPolicyGlobalDataTagsValue0) error

MergeAgentPolicyGlobalDataTagsValue0 performs a merge with any union data inside the AgentPolicy_GlobalDataTags_Value, using the provided AgentPolicyGlobalDataTagsValue0

func (*AgentPolicy_GlobalDataTags_Value) MergeAgentPolicyGlobalDataTagsValue1

func (t *AgentPolicy_GlobalDataTags_Value) MergeAgentPolicyGlobalDataTagsValue1(v AgentPolicyGlobalDataTagsValue1) error

MergeAgentPolicyGlobalDataTagsValue1 performs a merge with any union data inside the AgentPolicy_GlobalDataTags_Value, using the provided AgentPolicyGlobalDataTagsValue1

func (*AgentPolicy_GlobalDataTags_Value) UnmarshalJSON

func (t *AgentPolicy_GlobalDataTags_Value) UnmarshalJSON(b []byte) error

type AgentPolicy_PackagePolicies

type AgentPolicy_PackagePolicies struct {
	// contains filtered or unexported fields
}

AgentPolicy_PackagePolicies defines model for AgentPolicy.PackagePolicies.

func (AgentPolicy_PackagePolicies) AsAgentPolicyPackagePolicies0

func (t AgentPolicy_PackagePolicies) AsAgentPolicyPackagePolicies0() (AgentPolicyPackagePolicies0, error)

AsAgentPolicyPackagePolicies0 returns the union data inside the AgentPolicy_PackagePolicies as a AgentPolicyPackagePolicies0

func (AgentPolicy_PackagePolicies) AsAgentPolicyPackagePolicies1

func (t AgentPolicy_PackagePolicies) AsAgentPolicyPackagePolicies1() (AgentPolicyPackagePolicies1, error)

AsAgentPolicyPackagePolicies1 returns the union data inside the AgentPolicy_PackagePolicies as a AgentPolicyPackagePolicies1

func (*AgentPolicy_PackagePolicies) FromAgentPolicyPackagePolicies0

func (t *AgentPolicy_PackagePolicies) FromAgentPolicyPackagePolicies0(v AgentPolicyPackagePolicies0) error

FromAgentPolicyPackagePolicies0 overwrites any union data inside the AgentPolicy_PackagePolicies as the provided AgentPolicyPackagePolicies0

func (*AgentPolicy_PackagePolicies) FromAgentPolicyPackagePolicies1

func (t *AgentPolicy_PackagePolicies) FromAgentPolicyPackagePolicies1(v AgentPolicyPackagePolicies1) error

FromAgentPolicyPackagePolicies1 overwrites any union data inside the AgentPolicy_PackagePolicies as the provided AgentPolicyPackagePolicies1

func (AgentPolicy_PackagePolicies) MarshalJSON

func (t AgentPolicy_PackagePolicies) MarshalJSON() ([]byte, error)

func (*AgentPolicy_PackagePolicies) MergeAgentPolicyPackagePolicies0

func (t *AgentPolicy_PackagePolicies) MergeAgentPolicyPackagePolicies0(v AgentPolicyPackagePolicies0) error

MergeAgentPolicyPackagePolicies0 performs a merge with any union data inside the AgentPolicy_PackagePolicies, using the provided AgentPolicyPackagePolicies0

func (*AgentPolicy_PackagePolicies) MergeAgentPolicyPackagePolicies1

func (t *AgentPolicy_PackagePolicies) MergeAgentPolicyPackagePolicies1(v AgentPolicyPackagePolicies1) error

MergeAgentPolicyPackagePolicies1 performs a merge with any union data inside the AgentPolicy_PackagePolicies, using the provided AgentPolicyPackagePolicies1

func (*AgentPolicy_PackagePolicies) UnmarshalJSON

func (t *AgentPolicy_PackagePolicies) UnmarshalJSON(b []byte) error

type AgentPolicy_PackagePolicies_1_Elasticsearch

type AgentPolicy_PackagePolicies_1_Elasticsearch struct {
	Privileges           *AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges `json:"privileges,omitempty"`
	AdditionalProperties map[string]interface{}                                  `json:"-"`
}

AgentPolicy_PackagePolicies_1_Elasticsearch defines model for AgentPolicy.PackagePolicies.1.Elasticsearch.

func (AgentPolicy_PackagePolicies_1_Elasticsearch) Get

func (a AgentPolicy_PackagePolicies_1_Elasticsearch) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AgentPolicy_PackagePolicies_1_Elasticsearch. Returns the specified element and whether it was found

func (AgentPolicy_PackagePolicies_1_Elasticsearch) MarshalJSON

Override default JSON handling for AgentPolicy_PackagePolicies_1_Elasticsearch to handle AdditionalProperties

func (*AgentPolicy_PackagePolicies_1_Elasticsearch) Set

func (a *AgentPolicy_PackagePolicies_1_Elasticsearch) Set(fieldName string, value interface{})

Setter for additional properties for AgentPolicy_PackagePolicies_1_Elasticsearch

func (*AgentPolicy_PackagePolicies_1_Elasticsearch) UnmarshalJSON

Override default JSON handling for AgentPolicy_PackagePolicies_1_Elasticsearch to handle AdditionalProperties

type AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges

type AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges struct {
	Cluster              *[]string              `json:"cluster,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges defines model for AgentPolicy.PackagePolicies.1.Elasticsearch.Privileges.

func (AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges) Get

func (a AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges. Returns the specified element and whether it was found

func (AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges) MarshalJSON

Override default JSON handling for AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges to handle AdditionalProperties

func (*AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges) Set

func (a *AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges) Set(fieldName string, value interface{})

Setter for additional properties for AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges

func (*AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges) UnmarshalJSON

Override default JSON handling for AgentPolicy_PackagePolicies_1_Elasticsearch_Privileges to handle AdditionalProperties

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateDataViewDefaultw

func (c *Client) CreateDataViewDefaultw(ctx context.Context, spaceId SpaceId, body CreateDataViewDefaultwJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateDataViewDefaultwWithBody

func (c *Client) CreateDataViewDefaultwWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteDataViewDefault

func (c *Client) DeleteDataViewDefault(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFleetEpmPackagesPkgnamePkgversion

func (c *Client) DeleteFleetEpmPackagesPkgnamePkgversion(ctx context.Context, pkgName string, pkgVersion string, params *DeleteFleetEpmPackagesPkgnamePkgversionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFleetFleetServerHostsItemid

func (c *Client) DeleteFleetFleetServerHostsItemid(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFleetOutputsOutputid

func (c *Client) DeleteFleetOutputsOutputid(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteFleetPackagePoliciesPackagepolicyid

func (c *Client) DeleteFleetPackagePoliciesPackagepolicyid(ctx context.Context, packagePolicyId string, params *DeleteFleetPackagePoliciesPackagepolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllDataViewsDefault

func (c *Client) GetAllDataViewsDefault(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDataViewDefault

func (c *Client) GetDataViewDefault(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetAgentPolicies

func (c *Client) GetFleetAgentPolicies(ctx context.Context, params *GetFleetAgentPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetAgentPoliciesAgentpolicyid

func (c *Client) GetFleetAgentPoliciesAgentpolicyid(ctx context.Context, agentPolicyId string, params *GetFleetAgentPoliciesAgentpolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetEnrollmentApiKeys

func (c *Client) GetFleetEnrollmentApiKeys(ctx context.Context, params *GetFleetEnrollmentApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetEpmPackages

func (c *Client) GetFleetEpmPackages(ctx context.Context, params *GetFleetEpmPackagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetEpmPackagesPkgnamePkgversion

func (c *Client) GetFleetEpmPackagesPkgnamePkgversion(ctx context.Context, pkgName string, pkgVersion string, params *GetFleetEpmPackagesPkgnamePkgversionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetFleetServerHosts

func (c *Client) GetFleetFleetServerHosts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetFleetServerHostsItemid

func (c *Client) GetFleetFleetServerHostsItemid(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetOutputs

func (c *Client) GetFleetOutputs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetOutputsOutputid

func (c *Client) GetFleetOutputsOutputid(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetPackagePolicies

func (c *Client) GetFleetPackagePolicies(ctx context.Context, params *GetFleetPackagePoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFleetPackagePoliciesPackagepolicyid

func (c *Client) GetFleetPackagePoliciesPackagepolicyid(ctx context.Context, packagePolicyId string, params *GetFleetPackagePoliciesPackagepolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetAgentPolicies

func (c *Client) PostFleetAgentPolicies(ctx context.Context, params *PostFleetAgentPoliciesParams, body PostFleetAgentPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetAgentPoliciesDelete

func (c *Client) PostFleetAgentPoliciesDelete(ctx context.Context, body PostFleetAgentPoliciesDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetAgentPoliciesDeleteWithBody

func (c *Client) PostFleetAgentPoliciesDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetAgentPoliciesWithBody

func (c *Client) PostFleetAgentPoliciesWithBody(ctx context.Context, params *PostFleetAgentPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetEpmPackagesPkgnamePkgversion

func (c *Client) PostFleetEpmPackagesPkgnamePkgversion(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionParams, body PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetEpmPackagesPkgnamePkgversionWithBody

func (c *Client) PostFleetEpmPackagesPkgnamePkgversionWithBody(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetEpmPackagesWithBody

func (c *Client) PostFleetEpmPackagesWithBody(ctx context.Context, params *PostFleetEpmPackagesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetFleetServerHosts

func (c *Client) PostFleetFleetServerHosts(ctx context.Context, body PostFleetFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetFleetServerHostsWithBody

func (c *Client) PostFleetFleetServerHostsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetOutputs

func (c *Client) PostFleetOutputs(ctx context.Context, body PostFleetOutputsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetOutputsWithBody

func (c *Client) PostFleetOutputsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetPackagePolicies

func (c *Client) PostFleetPackagePolicies(ctx context.Context, params *PostFleetPackagePoliciesParams, body PostFleetPackagePoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostFleetPackagePoliciesWithBody

func (c *Client) PostFleetPackagePoliciesWithBody(ctx context.Context, params *PostFleetPackagePoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutFleetAgentPoliciesAgentpolicyid

func (c *Client) PutFleetAgentPoliciesAgentpolicyid(ctx context.Context, agentPolicyId string, params *PutFleetAgentPoliciesAgentpolicyidParams, body PutFleetAgentPoliciesAgentpolicyidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutFleetAgentPoliciesAgentpolicyidWithBody

func (c *Client) PutFleetAgentPoliciesAgentpolicyidWithBody(ctx context.Context, agentPolicyId string, params *PutFleetAgentPoliciesAgentpolicyidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutFleetFleetServerHostsItemid

func (c *Client) PutFleetFleetServerHostsItemid(ctx context.Context, itemId string, body PutFleetFleetServerHostsItemidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutFleetFleetServerHostsItemidWithBody

func (c *Client) PutFleetFleetServerHostsItemidWithBody(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutFleetOutputsOutputid

func (c *Client) PutFleetOutputsOutputid(ctx context.Context, outputId string, body PutFleetOutputsOutputidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutFleetOutputsOutputidWithBody

func (c *Client) PutFleetOutputsOutputidWithBody(ctx context.Context, outputId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutFleetPackagePoliciesPackagepolicyid

func (c *Client) PutFleetPackagePoliciesPackagepolicyid(ctx context.Context, packagePolicyId string, params *PutFleetPackagePoliciesPackagepolicyidParams, body PutFleetPackagePoliciesPackagepolicyidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutFleetPackagePoliciesPackagepolicyidWithBody

func (c *Client) PutFleetPackagePoliciesPackagepolicyidWithBody(ctx context.Context, packagePolicyId string, params *PutFleetPackagePoliciesPackagepolicyidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDataViewDefault

func (c *Client) UpdateDataViewDefault(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, body UpdateDataViewDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateDataViewDefaultWithBody

func (c *Client) UpdateDataViewDefaultWithBody(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetFleetAgentPolicies request
	GetFleetAgentPolicies(ctx context.Context, params *GetFleetAgentPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFleetAgentPoliciesWithBody request with any body
	PostFleetAgentPoliciesWithBody(ctx context.Context, params *PostFleetAgentPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFleetAgentPolicies(ctx context.Context, params *PostFleetAgentPoliciesParams, body PostFleetAgentPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFleetAgentPoliciesDeleteWithBody request with any body
	PostFleetAgentPoliciesDeleteWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFleetAgentPoliciesDelete(ctx context.Context, body PostFleetAgentPoliciesDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetAgentPoliciesAgentpolicyid request
	GetFleetAgentPoliciesAgentpolicyid(ctx context.Context, agentPolicyId string, params *GetFleetAgentPoliciesAgentpolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutFleetAgentPoliciesAgentpolicyidWithBody request with any body
	PutFleetAgentPoliciesAgentpolicyidWithBody(ctx context.Context, agentPolicyId string, params *PutFleetAgentPoliciesAgentpolicyidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutFleetAgentPoliciesAgentpolicyid(ctx context.Context, agentPolicyId string, params *PutFleetAgentPoliciesAgentpolicyidParams, body PutFleetAgentPoliciesAgentpolicyidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetEnrollmentApiKeys request
	GetFleetEnrollmentApiKeys(ctx context.Context, params *GetFleetEnrollmentApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetEpmPackages request
	GetFleetEpmPackages(ctx context.Context, params *GetFleetEpmPackagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFleetEpmPackagesWithBody request with any body
	PostFleetEpmPackagesWithBody(ctx context.Context, params *PostFleetEpmPackagesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFleetEpmPackagesPkgnamePkgversion request
	DeleteFleetEpmPackagesPkgnamePkgversion(ctx context.Context, pkgName string, pkgVersion string, params *DeleteFleetEpmPackagesPkgnamePkgversionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetEpmPackagesPkgnamePkgversion request
	GetFleetEpmPackagesPkgnamePkgversion(ctx context.Context, pkgName string, pkgVersion string, params *GetFleetEpmPackagesPkgnamePkgversionParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFleetEpmPackagesPkgnamePkgversionWithBody request with any body
	PostFleetEpmPackagesPkgnamePkgversionWithBody(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFleetEpmPackagesPkgnamePkgversion(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionParams, body PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetFleetServerHosts request
	GetFleetFleetServerHosts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFleetFleetServerHostsWithBody request with any body
	PostFleetFleetServerHostsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFleetFleetServerHosts(ctx context.Context, body PostFleetFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFleetFleetServerHostsItemid request
	DeleteFleetFleetServerHostsItemid(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetFleetServerHostsItemid request
	GetFleetFleetServerHostsItemid(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutFleetFleetServerHostsItemidWithBody request with any body
	PutFleetFleetServerHostsItemidWithBody(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutFleetFleetServerHostsItemid(ctx context.Context, itemId string, body PutFleetFleetServerHostsItemidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetOutputs request
	GetFleetOutputs(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFleetOutputsWithBody request with any body
	PostFleetOutputsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFleetOutputs(ctx context.Context, body PostFleetOutputsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFleetOutputsOutputid request
	DeleteFleetOutputsOutputid(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetOutputsOutputid request
	GetFleetOutputsOutputid(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutFleetOutputsOutputidWithBody request with any body
	PutFleetOutputsOutputidWithBody(ctx context.Context, outputId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutFleetOutputsOutputid(ctx context.Context, outputId string, body PutFleetOutputsOutputidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetPackagePolicies request
	GetFleetPackagePolicies(ctx context.Context, params *GetFleetPackagePoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostFleetPackagePoliciesWithBody request with any body
	PostFleetPackagePoliciesWithBody(ctx context.Context, params *PostFleetPackagePoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostFleetPackagePolicies(ctx context.Context, params *PostFleetPackagePoliciesParams, body PostFleetPackagePoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFleetPackagePoliciesPackagepolicyid request
	DeleteFleetPackagePoliciesPackagepolicyid(ctx context.Context, packagePolicyId string, params *DeleteFleetPackagePoliciesPackagepolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFleetPackagePoliciesPackagepolicyid request
	GetFleetPackagePoliciesPackagepolicyid(ctx context.Context, packagePolicyId string, params *GetFleetPackagePoliciesPackagepolicyidParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PutFleetPackagePoliciesPackagepolicyidWithBody request with any body
	PutFleetPackagePoliciesPackagepolicyidWithBody(ctx context.Context, packagePolicyId string, params *PutFleetPackagePoliciesPackagepolicyidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PutFleetPackagePoliciesPackagepolicyid(ctx context.Context, packagePolicyId string, params *PutFleetPackagePoliciesPackagepolicyidParams, body PutFleetPackagePoliciesPackagepolicyidJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllDataViewsDefault request
	GetAllDataViewsDefault(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateDataViewDefaultwWithBody request with any body
	CreateDataViewDefaultwWithBody(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateDataViewDefaultw(ctx context.Context, spaceId SpaceId, body CreateDataViewDefaultwJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteDataViewDefault request
	DeleteDataViewDefault(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDataViewDefault request
	GetDataViewDefault(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateDataViewDefaultWithBody request with any body
	UpdateDataViewDefaultWithBody(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateDataViewDefault(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, body UpdateDataViewDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateDataViewDefaultwWithBodyWithResponse

func (c *ClientWithResponses) CreateDataViewDefaultwWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDataViewDefaultwResponse, error)

CreateDataViewDefaultwWithBodyWithResponse request with arbitrary body returning *CreateDataViewDefaultwResponse

func (*ClientWithResponses) CreateDataViewDefaultwWithResponse

func (c *ClientWithResponses) CreateDataViewDefaultwWithResponse(ctx context.Context, spaceId SpaceId, body CreateDataViewDefaultwJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDataViewDefaultwResponse, error)

func (*ClientWithResponses) DeleteDataViewDefaultWithResponse

func (c *ClientWithResponses) DeleteDataViewDefaultWithResponse(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, reqEditors ...RequestEditorFn) (*DeleteDataViewDefaultResponse, error)

DeleteDataViewDefaultWithResponse request returning *DeleteDataViewDefaultResponse

func (*ClientWithResponses) DeleteFleetEpmPackagesPkgnamePkgversionWithResponse

func (c *ClientWithResponses) DeleteFleetEpmPackagesPkgnamePkgversionWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *DeleteFleetEpmPackagesPkgnamePkgversionParams, reqEditors ...RequestEditorFn) (*DeleteFleetEpmPackagesPkgnamePkgversionResponse, error)

DeleteFleetEpmPackagesPkgnamePkgversionWithResponse request returning *DeleteFleetEpmPackagesPkgnamePkgversionResponse

func (*ClientWithResponses) DeleteFleetFleetServerHostsItemidWithResponse

func (c *ClientWithResponses) DeleteFleetFleetServerHostsItemidWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*DeleteFleetFleetServerHostsItemidResponse, error)

DeleteFleetFleetServerHostsItemidWithResponse request returning *DeleteFleetFleetServerHostsItemidResponse

func (*ClientWithResponses) DeleteFleetOutputsOutputidWithResponse

func (c *ClientWithResponses) DeleteFleetOutputsOutputidWithResponse(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*DeleteFleetOutputsOutputidResponse, error)

DeleteFleetOutputsOutputidWithResponse request returning *DeleteFleetOutputsOutputidResponse

func (*ClientWithResponses) DeleteFleetPackagePoliciesPackagepolicyidWithResponse

func (c *ClientWithResponses) DeleteFleetPackagePoliciesPackagepolicyidWithResponse(ctx context.Context, packagePolicyId string, params *DeleteFleetPackagePoliciesPackagepolicyidParams, reqEditors ...RequestEditorFn) (*DeleteFleetPackagePoliciesPackagepolicyidResponse, error)

DeleteFleetPackagePoliciesPackagepolicyidWithResponse request returning *DeleteFleetPackagePoliciesPackagepolicyidResponse

func (*ClientWithResponses) GetAllDataViewsDefaultWithResponse

func (c *ClientWithResponses) GetAllDataViewsDefaultWithResponse(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*GetAllDataViewsDefaultResponse, error)

GetAllDataViewsDefaultWithResponse request returning *GetAllDataViewsDefaultResponse

func (*ClientWithResponses) GetDataViewDefaultWithResponse

func (c *ClientWithResponses) GetDataViewDefaultWithResponse(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, reqEditors ...RequestEditorFn) (*GetDataViewDefaultResponse, error)

GetDataViewDefaultWithResponse request returning *GetDataViewDefaultResponse

func (*ClientWithResponses) GetFleetAgentPoliciesAgentpolicyidWithResponse

func (c *ClientWithResponses) GetFleetAgentPoliciesAgentpolicyidWithResponse(ctx context.Context, agentPolicyId string, params *GetFleetAgentPoliciesAgentpolicyidParams, reqEditors ...RequestEditorFn) (*GetFleetAgentPoliciesAgentpolicyidResponse, error)

GetFleetAgentPoliciesAgentpolicyidWithResponse request returning *GetFleetAgentPoliciesAgentpolicyidResponse

func (*ClientWithResponses) GetFleetAgentPoliciesWithResponse

func (c *ClientWithResponses) GetFleetAgentPoliciesWithResponse(ctx context.Context, params *GetFleetAgentPoliciesParams, reqEditors ...RequestEditorFn) (*GetFleetAgentPoliciesResponse, error)

GetFleetAgentPoliciesWithResponse request returning *GetFleetAgentPoliciesResponse

func (*ClientWithResponses) GetFleetEnrollmentApiKeysWithResponse

func (c *ClientWithResponses) GetFleetEnrollmentApiKeysWithResponse(ctx context.Context, params *GetFleetEnrollmentApiKeysParams, reqEditors ...RequestEditorFn) (*GetFleetEnrollmentApiKeysResponse, error)

GetFleetEnrollmentApiKeysWithResponse request returning *GetFleetEnrollmentApiKeysResponse

func (*ClientWithResponses) GetFleetEpmPackagesPkgnamePkgversionWithResponse

func (c *ClientWithResponses) GetFleetEpmPackagesPkgnamePkgversionWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *GetFleetEpmPackagesPkgnamePkgversionParams, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesPkgnamePkgversionResponse, error)

GetFleetEpmPackagesPkgnamePkgversionWithResponse request returning *GetFleetEpmPackagesPkgnamePkgversionResponse

func (*ClientWithResponses) GetFleetEpmPackagesWithResponse

func (c *ClientWithResponses) GetFleetEpmPackagesWithResponse(ctx context.Context, params *GetFleetEpmPackagesParams, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesResponse, error)

GetFleetEpmPackagesWithResponse request returning *GetFleetEpmPackagesResponse

func (*ClientWithResponses) GetFleetFleetServerHostsItemidWithResponse

func (c *ClientWithResponses) GetFleetFleetServerHostsItemidWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*GetFleetFleetServerHostsItemidResponse, error)

GetFleetFleetServerHostsItemidWithResponse request returning *GetFleetFleetServerHostsItemidResponse

func (*ClientWithResponses) GetFleetFleetServerHostsWithResponse

func (c *ClientWithResponses) GetFleetFleetServerHostsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetFleetServerHostsResponse, error)

GetFleetFleetServerHostsWithResponse request returning *GetFleetFleetServerHostsResponse

func (*ClientWithResponses) GetFleetOutputsOutputidWithResponse

func (c *ClientWithResponses) GetFleetOutputsOutputidWithResponse(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*GetFleetOutputsOutputidResponse, error)

GetFleetOutputsOutputidWithResponse request returning *GetFleetOutputsOutputidResponse

func (*ClientWithResponses) GetFleetOutputsWithResponse

func (c *ClientWithResponses) GetFleetOutputsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetOutputsResponse, error)

GetFleetOutputsWithResponse request returning *GetFleetOutputsResponse

func (*ClientWithResponses) GetFleetPackagePoliciesPackagepolicyidWithResponse

func (c *ClientWithResponses) GetFleetPackagePoliciesPackagepolicyidWithResponse(ctx context.Context, packagePolicyId string, params *GetFleetPackagePoliciesPackagepolicyidParams, reqEditors ...RequestEditorFn) (*GetFleetPackagePoliciesPackagepolicyidResponse, error)

GetFleetPackagePoliciesPackagepolicyidWithResponse request returning *GetFleetPackagePoliciesPackagepolicyidResponse

func (*ClientWithResponses) GetFleetPackagePoliciesWithResponse

func (c *ClientWithResponses) GetFleetPackagePoliciesWithResponse(ctx context.Context, params *GetFleetPackagePoliciesParams, reqEditors ...RequestEditorFn) (*GetFleetPackagePoliciesResponse, error)

GetFleetPackagePoliciesWithResponse request returning *GetFleetPackagePoliciesResponse

func (*ClientWithResponses) PostFleetAgentPoliciesDeleteWithBodyWithResponse

func (c *ClientWithResponses) PostFleetAgentPoliciesDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentPoliciesDeleteResponse, error)

PostFleetAgentPoliciesDeleteWithBodyWithResponse request with arbitrary body returning *PostFleetAgentPoliciesDeleteResponse

func (*ClientWithResponses) PostFleetAgentPoliciesDeleteWithResponse

func (c *ClientWithResponses) PostFleetAgentPoliciesDeleteWithResponse(ctx context.Context, body PostFleetAgentPoliciesDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentPoliciesDeleteResponse, error)

func (*ClientWithResponses) PostFleetAgentPoliciesWithBodyWithResponse

func (c *ClientWithResponses) PostFleetAgentPoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetAgentPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentPoliciesResponse, error)

PostFleetAgentPoliciesWithBodyWithResponse request with arbitrary body returning *PostFleetAgentPoliciesResponse

func (*ClientWithResponses) PostFleetAgentPoliciesWithResponse

func (*ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionWithBodyWithResponse

func (c *ClientWithResponses) PostFleetEpmPackagesPkgnamePkgversionWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionResponse, error)

PostFleetEpmPackagesPkgnamePkgversionWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesPkgnamePkgversionResponse

func (*ClientWithResponses) PostFleetEpmPackagesWithBodyWithResponse

func (c *ClientWithResponses) PostFleetEpmPackagesWithBodyWithResponse(ctx context.Context, params *PostFleetEpmPackagesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesResponse, error)

PostFleetEpmPackagesWithBodyWithResponse request with arbitrary body returning *PostFleetEpmPackagesResponse

func (*ClientWithResponses) PostFleetFleetServerHostsWithBodyWithResponse

func (c *ClientWithResponses) PostFleetFleetServerHostsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetFleetServerHostsResponse, error)

PostFleetFleetServerHostsWithBodyWithResponse request with arbitrary body returning *PostFleetFleetServerHostsResponse

func (*ClientWithResponses) PostFleetFleetServerHostsWithResponse

func (c *ClientWithResponses) PostFleetFleetServerHostsWithResponse(ctx context.Context, body PostFleetFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetFleetServerHostsResponse, error)

func (*ClientWithResponses) PostFleetOutputsWithBodyWithResponse

func (c *ClientWithResponses) PostFleetOutputsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetOutputsResponse, error)

PostFleetOutputsWithBodyWithResponse request with arbitrary body returning *PostFleetOutputsResponse

func (*ClientWithResponses) PostFleetOutputsWithResponse

func (c *ClientWithResponses) PostFleetOutputsWithResponse(ctx context.Context, body PostFleetOutputsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetOutputsResponse, error)

func (*ClientWithResponses) PostFleetPackagePoliciesWithBodyWithResponse

func (c *ClientWithResponses) PostFleetPackagePoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetPackagePoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetPackagePoliciesResponse, error)

PostFleetPackagePoliciesWithBodyWithResponse request with arbitrary body returning *PostFleetPackagePoliciesResponse

func (*ClientWithResponses) PutFleetAgentPoliciesAgentpolicyidWithBodyWithResponse

func (c *ClientWithResponses) PutFleetAgentPoliciesAgentpolicyidWithBodyWithResponse(ctx context.Context, agentPolicyId string, params *PutFleetAgentPoliciesAgentpolicyidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetAgentPoliciesAgentpolicyidResponse, error)

PutFleetAgentPoliciesAgentpolicyidWithBodyWithResponse request with arbitrary body returning *PutFleetAgentPoliciesAgentpolicyidResponse

func (*ClientWithResponses) PutFleetFleetServerHostsItemidWithBodyWithResponse

func (c *ClientWithResponses) PutFleetFleetServerHostsItemidWithBodyWithResponse(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetFleetServerHostsItemidResponse, error)

PutFleetFleetServerHostsItemidWithBodyWithResponse request with arbitrary body returning *PutFleetFleetServerHostsItemidResponse

func (*ClientWithResponses) PutFleetFleetServerHostsItemidWithResponse

func (c *ClientWithResponses) PutFleetFleetServerHostsItemidWithResponse(ctx context.Context, itemId string, body PutFleetFleetServerHostsItemidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetFleetServerHostsItemidResponse, error)

func (*ClientWithResponses) PutFleetOutputsOutputidWithBodyWithResponse

func (c *ClientWithResponses) PutFleetOutputsOutputidWithBodyWithResponse(ctx context.Context, outputId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetOutputsOutputidResponse, error)

PutFleetOutputsOutputidWithBodyWithResponse request with arbitrary body returning *PutFleetOutputsOutputidResponse

func (*ClientWithResponses) PutFleetOutputsOutputidWithResponse

func (c *ClientWithResponses) PutFleetOutputsOutputidWithResponse(ctx context.Context, outputId string, body PutFleetOutputsOutputidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetOutputsOutputidResponse, error)

func (*ClientWithResponses) PutFleetPackagePoliciesPackagepolicyidWithBodyWithResponse

func (c *ClientWithResponses) PutFleetPackagePoliciesPackagepolicyidWithBodyWithResponse(ctx context.Context, packagePolicyId string, params *PutFleetPackagePoliciesPackagepolicyidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetPackagePoliciesPackagepolicyidResponse, error)

PutFleetPackagePoliciesPackagepolicyidWithBodyWithResponse request with arbitrary body returning *PutFleetPackagePoliciesPackagepolicyidResponse

func (*ClientWithResponses) UpdateDataViewDefaultWithBodyWithResponse

func (c *ClientWithResponses) UpdateDataViewDefaultWithBodyWithResponse(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDataViewDefaultResponse, error)

UpdateDataViewDefaultWithBodyWithResponse request with arbitrary body returning *UpdateDataViewDefaultResponse

func (*ClientWithResponses) UpdateDataViewDefaultWithResponse

func (c *ClientWithResponses) UpdateDataViewDefaultWithResponse(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, body UpdateDataViewDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDataViewDefaultResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetFleetAgentPoliciesWithResponse request
	GetFleetAgentPoliciesWithResponse(ctx context.Context, params *GetFleetAgentPoliciesParams, reqEditors ...RequestEditorFn) (*GetFleetAgentPoliciesResponse, error)

	// PostFleetAgentPoliciesWithBodyWithResponse request with any body
	PostFleetAgentPoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetAgentPoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentPoliciesResponse, error)

	PostFleetAgentPoliciesWithResponse(ctx context.Context, params *PostFleetAgentPoliciesParams, body PostFleetAgentPoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentPoliciesResponse, error)

	// PostFleetAgentPoliciesDeleteWithBodyWithResponse request with any body
	PostFleetAgentPoliciesDeleteWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetAgentPoliciesDeleteResponse, error)

	PostFleetAgentPoliciesDeleteWithResponse(ctx context.Context, body PostFleetAgentPoliciesDeleteJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetAgentPoliciesDeleteResponse, error)

	// GetFleetAgentPoliciesAgentpolicyidWithResponse request
	GetFleetAgentPoliciesAgentpolicyidWithResponse(ctx context.Context, agentPolicyId string, params *GetFleetAgentPoliciesAgentpolicyidParams, reqEditors ...RequestEditorFn) (*GetFleetAgentPoliciesAgentpolicyidResponse, error)

	// PutFleetAgentPoliciesAgentpolicyidWithBodyWithResponse request with any body
	PutFleetAgentPoliciesAgentpolicyidWithBodyWithResponse(ctx context.Context, agentPolicyId string, params *PutFleetAgentPoliciesAgentpolicyidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetAgentPoliciesAgentpolicyidResponse, error)

	PutFleetAgentPoliciesAgentpolicyidWithResponse(ctx context.Context, agentPolicyId string, params *PutFleetAgentPoliciesAgentpolicyidParams, body PutFleetAgentPoliciesAgentpolicyidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetAgentPoliciesAgentpolicyidResponse, error)

	// GetFleetEnrollmentApiKeysWithResponse request
	GetFleetEnrollmentApiKeysWithResponse(ctx context.Context, params *GetFleetEnrollmentApiKeysParams, reqEditors ...RequestEditorFn) (*GetFleetEnrollmentApiKeysResponse, error)

	// GetFleetEpmPackagesWithResponse request
	GetFleetEpmPackagesWithResponse(ctx context.Context, params *GetFleetEpmPackagesParams, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesResponse, error)

	// PostFleetEpmPackagesWithBodyWithResponse request with any body
	PostFleetEpmPackagesWithBodyWithResponse(ctx context.Context, params *PostFleetEpmPackagesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesResponse, error)

	// DeleteFleetEpmPackagesPkgnamePkgversionWithResponse request
	DeleteFleetEpmPackagesPkgnamePkgversionWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *DeleteFleetEpmPackagesPkgnamePkgversionParams, reqEditors ...RequestEditorFn) (*DeleteFleetEpmPackagesPkgnamePkgversionResponse, error)

	// GetFleetEpmPackagesPkgnamePkgversionWithResponse request
	GetFleetEpmPackagesPkgnamePkgversionWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *GetFleetEpmPackagesPkgnamePkgversionParams, reqEditors ...RequestEditorFn) (*GetFleetEpmPackagesPkgnamePkgversionResponse, error)

	// PostFleetEpmPackagesPkgnamePkgversionWithBodyWithResponse request with any body
	PostFleetEpmPackagesPkgnamePkgversionWithBodyWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionResponse, error)

	PostFleetEpmPackagesPkgnamePkgversionWithResponse(ctx context.Context, pkgName string, pkgVersion string, params *PostFleetEpmPackagesPkgnamePkgversionParams, body PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetEpmPackagesPkgnamePkgversionResponse, error)

	// GetFleetFleetServerHostsWithResponse request
	GetFleetFleetServerHostsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetFleetServerHostsResponse, error)

	// PostFleetFleetServerHostsWithBodyWithResponse request with any body
	PostFleetFleetServerHostsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetFleetServerHostsResponse, error)

	PostFleetFleetServerHostsWithResponse(ctx context.Context, body PostFleetFleetServerHostsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetFleetServerHostsResponse, error)

	// DeleteFleetFleetServerHostsItemidWithResponse request
	DeleteFleetFleetServerHostsItemidWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*DeleteFleetFleetServerHostsItemidResponse, error)

	// GetFleetFleetServerHostsItemidWithResponse request
	GetFleetFleetServerHostsItemidWithResponse(ctx context.Context, itemId string, reqEditors ...RequestEditorFn) (*GetFleetFleetServerHostsItemidResponse, error)

	// PutFleetFleetServerHostsItemidWithBodyWithResponse request with any body
	PutFleetFleetServerHostsItemidWithBodyWithResponse(ctx context.Context, itemId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetFleetServerHostsItemidResponse, error)

	PutFleetFleetServerHostsItemidWithResponse(ctx context.Context, itemId string, body PutFleetFleetServerHostsItemidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetFleetServerHostsItemidResponse, error)

	// GetFleetOutputsWithResponse request
	GetFleetOutputsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetFleetOutputsResponse, error)

	// PostFleetOutputsWithBodyWithResponse request with any body
	PostFleetOutputsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetOutputsResponse, error)

	PostFleetOutputsWithResponse(ctx context.Context, body PostFleetOutputsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetOutputsResponse, error)

	// DeleteFleetOutputsOutputidWithResponse request
	DeleteFleetOutputsOutputidWithResponse(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*DeleteFleetOutputsOutputidResponse, error)

	// GetFleetOutputsOutputidWithResponse request
	GetFleetOutputsOutputidWithResponse(ctx context.Context, outputId string, reqEditors ...RequestEditorFn) (*GetFleetOutputsOutputidResponse, error)

	// PutFleetOutputsOutputidWithBodyWithResponse request with any body
	PutFleetOutputsOutputidWithBodyWithResponse(ctx context.Context, outputId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetOutputsOutputidResponse, error)

	PutFleetOutputsOutputidWithResponse(ctx context.Context, outputId string, body PutFleetOutputsOutputidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetOutputsOutputidResponse, error)

	// GetFleetPackagePoliciesWithResponse request
	GetFleetPackagePoliciesWithResponse(ctx context.Context, params *GetFleetPackagePoliciesParams, reqEditors ...RequestEditorFn) (*GetFleetPackagePoliciesResponse, error)

	// PostFleetPackagePoliciesWithBodyWithResponse request with any body
	PostFleetPackagePoliciesWithBodyWithResponse(ctx context.Context, params *PostFleetPackagePoliciesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostFleetPackagePoliciesResponse, error)

	PostFleetPackagePoliciesWithResponse(ctx context.Context, params *PostFleetPackagePoliciesParams, body PostFleetPackagePoliciesJSONRequestBody, reqEditors ...RequestEditorFn) (*PostFleetPackagePoliciesResponse, error)

	// DeleteFleetPackagePoliciesPackagepolicyidWithResponse request
	DeleteFleetPackagePoliciesPackagepolicyidWithResponse(ctx context.Context, packagePolicyId string, params *DeleteFleetPackagePoliciesPackagepolicyidParams, reqEditors ...RequestEditorFn) (*DeleteFleetPackagePoliciesPackagepolicyidResponse, error)

	// GetFleetPackagePoliciesPackagepolicyidWithResponse request
	GetFleetPackagePoliciesPackagepolicyidWithResponse(ctx context.Context, packagePolicyId string, params *GetFleetPackagePoliciesPackagepolicyidParams, reqEditors ...RequestEditorFn) (*GetFleetPackagePoliciesPackagepolicyidResponse, error)

	// PutFleetPackagePoliciesPackagepolicyidWithBodyWithResponse request with any body
	PutFleetPackagePoliciesPackagepolicyidWithBodyWithResponse(ctx context.Context, packagePolicyId string, params *PutFleetPackagePoliciesPackagepolicyidParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutFleetPackagePoliciesPackagepolicyidResponse, error)

	PutFleetPackagePoliciesPackagepolicyidWithResponse(ctx context.Context, packagePolicyId string, params *PutFleetPackagePoliciesPackagepolicyidParams, body PutFleetPackagePoliciesPackagepolicyidJSONRequestBody, reqEditors ...RequestEditorFn) (*PutFleetPackagePoliciesPackagepolicyidResponse, error)

	// GetAllDataViewsDefaultWithResponse request
	GetAllDataViewsDefaultWithResponse(ctx context.Context, spaceId SpaceId, reqEditors ...RequestEditorFn) (*GetAllDataViewsDefaultResponse, error)

	// CreateDataViewDefaultwWithBodyWithResponse request with any body
	CreateDataViewDefaultwWithBodyWithResponse(ctx context.Context, spaceId SpaceId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateDataViewDefaultwResponse, error)

	CreateDataViewDefaultwWithResponse(ctx context.Context, spaceId SpaceId, body CreateDataViewDefaultwJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateDataViewDefaultwResponse, error)

	// DeleteDataViewDefaultWithResponse request
	DeleteDataViewDefaultWithResponse(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, reqEditors ...RequestEditorFn) (*DeleteDataViewDefaultResponse, error)

	// GetDataViewDefaultWithResponse request
	GetDataViewDefaultWithResponse(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, reqEditors ...RequestEditorFn) (*GetDataViewDefaultResponse, error)

	// UpdateDataViewDefaultWithBodyWithResponse request with any body
	UpdateDataViewDefaultWithBodyWithResponse(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDataViewDefaultResponse, error)

	UpdateDataViewDefaultWithResponse(ctx context.Context, spaceId SpaceId, viewId DataViewsViewId, body UpdateDataViewDefaultJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDataViewDefaultResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateDataViewDefaultwJSONRequestBody

type CreateDataViewDefaultwJSONRequestBody = DataViewsCreateDataViewRequestObject

CreateDataViewDefaultwJSONRequestBody defines body for CreateDataViewDefaultw for application/json ContentType.

type CreateDataViewDefaultwResponse

type CreateDataViewDefaultwResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DataViewsDataViewResponseObject
	JSON400      *DataViews400Response
}

func ParseCreateDataViewDefaultwResponse

func ParseCreateDataViewDefaultwResponse(rsp *http.Response) (*CreateDataViewDefaultwResponse, error)

ParseCreateDataViewDefaultwResponse parses an HTTP response from a CreateDataViewDefaultwWithResponse call

func (CreateDataViewDefaultwResponse) Status

Status returns HTTPResponse.Status

func (CreateDataViewDefaultwResponse) StatusCode

func (r CreateDataViewDefaultwResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DataViews400Response

type DataViews400Response struct {
	Error      string  `json:"error"`
	Message    string  `json:"message"`
	StatusCode float32 `json:"statusCode"`
}

DataViews400Response defines model for Data_views_400_response.

type DataViews404Response

type DataViews404Response struct {
	Error      *DataViews404ResponseError      `json:"error,omitempty"`
	Message    *string                         `json:"message,omitempty"`
	StatusCode *DataViews404ResponseStatusCode `json:"statusCode,omitempty"`
}

DataViews404Response defines model for Data_views_404_response.

type DataViews404ResponseError

type DataViews404ResponseError string

DataViews404ResponseError defines model for DataViews404Response.Error.

const (
	NotFound DataViews404ResponseError = "Not Found"
)

Defines values for DataViews404ResponseError.

type DataViews404ResponseStatusCode

type DataViews404ResponseStatusCode int

DataViews404ResponseStatusCode defines model for DataViews404Response.StatusCode.

const (
	N404 DataViews404ResponseStatusCode = 404
)

Defines values for DataViews404ResponseStatusCode.

type DataViewsAllownoindex

type DataViewsAllownoindex = bool

DataViewsAllownoindex Allows the data view saved object to exist before the data is available.

type DataViewsCreateDataViewRequestObject

type DataViewsCreateDataViewRequestObject struct {
	// DataView The data view object.
	DataView DataViewsCreateDataViewRequestObjectInner `json:"data_view"`

	// Override Override an existing data view if a data view with the provided title already exists.
	Override *bool `json:"override,omitempty"`
}

DataViewsCreateDataViewRequestObject defines model for Data_views_create_data_view_request_object.

type DataViewsCreateDataViewRequestObjectInner

type DataViewsCreateDataViewRequestObjectInner struct {
	// AllowNoIndex Allows the data view saved object to exist before the data is available.
	AllowNoIndex *DataViewsAllownoindex          `json:"allowNoIndex,omitempty"`
	FieldAttrs   *map[string]DataViewsFieldattrs `json:"fieldAttrs,omitempty"`

	// FieldFormats A map of field formats by field name.
	FieldFormats *DataViewsFieldformats  `json:"fieldFormats,omitempty"`
	Fields       *map[string]interface{} `json:"fields,omitempty"`
	Id           *string                 `json:"id,omitempty"`

	// Name The data view name.
	Name *string `json:"name,omitempty"`

	// Namespaces An array of space identifiers for sharing the data view between multiple spaces.
	Namespaces      *DataViewsNamespaces                 `json:"namespaces,omitempty"`
	RuntimeFieldMap *map[string]DataViewsRuntimefieldmap `json:"runtimeFieldMap,omitempty"`

	// SourceFilters The array of field names you want to filter out in Discover.
	SourceFilters *DataViewsSourcefilters `json:"sourceFilters,omitempty"`

	// TimeFieldName The timestamp field name, which you use for time-based data views.
	TimeFieldName *DataViewsTimefieldname `json:"timeFieldName,omitempty"`

	// Title Comma-separated list of data streams, indices, and aliases that you want to search. Supports wildcards (`*`).
	Title DataViewsTitle `json:"title"`

	// Type When set to `rollup`, identifies the rollup data views.
	Type *DataViewsType `json:"type,omitempty"`

	// TypeMeta When you use rollup indices, contains the field list for the rollup data view API endpoints.
	TypeMeta *DataViewsTypemeta `json:"typeMeta,omitempty"`
	Version  *string            `json:"version,omitempty"`
}

DataViewsCreateDataViewRequestObjectInner The data view object.

type DataViewsDataViewResponseObject

type DataViewsDataViewResponseObject struct {
	DataView *DataViewsDataViewResponseObjectInner `json:"data_view,omitempty"`
}

DataViewsDataViewResponseObject defines model for Data_views_data_view_response_object.

type DataViewsDataViewResponseObjectInner

type DataViewsDataViewResponseObjectInner struct {
	// AllowNoIndex Allows the data view saved object to exist before the data is available.
	AllowNoIndex *DataViewsAllownoindex          `json:"allowNoIndex,omitempty"`
	FieldAttrs   *map[string]DataViewsFieldattrs `json:"fieldAttrs,omitempty"`

	// FieldFormats A map of field formats by field name.
	FieldFormats *DataViewsFieldformats  `json:"fieldFormats,omitempty"`
	Fields       *map[string]interface{} `json:"fields,omitempty"`
	Id           *string                 `json:"id,omitempty"`

	// Name The data view name.
	Name *string `json:"name,omitempty"`

	// Namespaces An array of space identifiers for sharing the data view between multiple spaces.
	Namespaces      *DataViewsNamespaces                 `json:"namespaces,omitempty"`
	RuntimeFieldMap *map[string]DataViewsRuntimefieldmap `json:"runtimeFieldMap,omitempty"`

	// SourceFilters The array of field names you want to filter out in Discover.
	SourceFilters *DataViewsSourcefilters `json:"sourceFilters,omitempty"`

	// TimeFieldName The timestamp field name, which you use for time-based data views.
	TimeFieldName *DataViewsTimefieldname `json:"timeFieldName,omitempty"`

	// Title Comma-separated list of data streams, indices, and aliases that you want to search. Supports wildcards (`*`).
	Title *DataViewsTitle `json:"title,omitempty"`

	// TypeMeta When you use rollup indices, contains the field list for the rollup data view API endpoints.
	TypeMeta *DataViewsTypemetaResponse `json:"typeMeta"`
	Version  *string                    `json:"version,omitempty"`
}

DataViewsDataViewResponseObjectInner defines model for Data_views_data_view_response_object_inner.

type DataViewsFieldattrs

type DataViewsFieldattrs struct {
	// Count Popularity count for the field.
	Count *int `json:"count,omitempty"`

	// CustomDescription Custom description for the field.
	CustomDescription *string `json:"customDescription,omitempty"`

	// CustomLabel Custom label for the field.
	CustomLabel *string `json:"customLabel,omitempty"`
}

DataViewsFieldattrs A map of field attributes by field name.

type DataViewsFieldformat

type DataViewsFieldformat struct {
	Id     *string                     `json:"id,omitempty"`
	Params *DataViewsFieldformatParams `json:"params,omitempty"`
}

DataViewsFieldformat defines model for Data_views_fieldformat.

type DataViewsFieldformatParams

type DataViewsFieldformatParams struct {
	LabelTemplate *string `json:"labelTemplate,omitempty"`
	Pattern       *string `json:"pattern,omitempty"`
	UrlTemplate   *string `json:"urlTemplate,omitempty"`
}

DataViewsFieldformatParams defines model for Data_views_fieldformat_params.

type DataViewsFieldformats

type DataViewsFieldformats map[string]DataViewsFieldformat

DataViewsFieldformats A map of field formats by field name.

type DataViewsNamespaces

type DataViewsNamespaces = []string

DataViewsNamespaces An array of space identifiers for sharing the data view between multiple spaces.

type DataViewsRuntimefieldmap

type DataViewsRuntimefieldmap struct {
	Script DataViewsRuntimefieldmapScript `json:"script"`

	// Type Mapping type of the runtime field.
	Type string `json:"type"`
}

DataViewsRuntimefieldmap A map of runtime field definitions by field name.

type DataViewsRuntimefieldmapScript

type DataViewsRuntimefieldmapScript struct {
	// Source Script for the runtime field.
	Source *string `json:"source,omitempty"`
}

DataViewsRuntimefieldmapScript defines model for Data_views_runtimefieldmap_script.

type DataViewsSourcefilterItem

type DataViewsSourcefilterItem struct {
	Value string `json:"value"`
}

DataViewsSourcefilterItem defines model for Data_views_sourcefilter_item.

type DataViewsSourcefilters

type DataViewsSourcefilters = []DataViewsSourcefilterItem

DataViewsSourcefilters The array of field names you want to filter out in Discover.

type DataViewsTimefieldname

type DataViewsTimefieldname = string

DataViewsTimefieldname The timestamp field name, which you use for time-based data views.

type DataViewsTitle

type DataViewsTitle = string

DataViewsTitle Comma-separated list of data streams, indices, and aliases that you want to search. Supports wildcards (`*`).

type DataViewsType

type DataViewsType = string

DataViewsType When set to `rollup`, identifies the rollup data views.

type DataViewsTypemeta

type DataViewsTypemeta struct {
	// Aggs A map of rollup restrictions by aggregation type and field name.
	Aggs map[string]interface{} `json:"aggs"`

	// Params Properties for retrieving rollup fields.
	Params map[string]interface{} `json:"params"`
}

DataViewsTypemeta When you use rollup indices, contains the field list for the rollup data view API endpoints.

type DataViewsTypemetaResponse

type DataViewsTypemetaResponse struct {
	// Aggs A map of rollup restrictions by aggregation type and field name.
	Aggs *map[string]interface{} `json:"aggs,omitempty"`

	// Params Properties for retrieving rollup fields.
	Params *map[string]interface{} `json:"params,omitempty"`
}

DataViewsTypemetaResponse When you use rollup indices, contains the field list for the rollup data view API endpoints.

type DataViewsUpdateDataViewRequestObject

type DataViewsUpdateDataViewRequestObject struct {
	// DataView The data view properties you want to update. Only the specified properties are updated in the data view. Unspecified fields stay as they are persisted.
	DataView DataViewsUpdateDataViewRequestObjectInner `json:"data_view"`

	// RefreshFields Reloads the data view fields after the data view is updated.
	RefreshFields *bool `json:"refresh_fields,omitempty"`
}

DataViewsUpdateDataViewRequestObject defines model for Data_views_update_data_view_request_object.

type DataViewsUpdateDataViewRequestObjectInner

type DataViewsUpdateDataViewRequestObjectInner struct {
	// AllowNoIndex Allows the data view saved object to exist before the data is available.
	AllowNoIndex *DataViewsAllownoindex `json:"allowNoIndex,omitempty"`

	// FieldFormats A map of field formats by field name.
	FieldFormats    *DataViewsFieldformats               `json:"fieldFormats,omitempty"`
	Fields          *map[string]interface{}              `json:"fields,omitempty"`
	Name            *string                              `json:"name,omitempty"`
	RuntimeFieldMap *map[string]DataViewsRuntimefieldmap `json:"runtimeFieldMap,omitempty"`

	// SourceFilters The array of field names you want to filter out in Discover.
	SourceFilters *DataViewsSourcefilters `json:"sourceFilters,omitempty"`

	// TimeFieldName The timestamp field name, which you use for time-based data views.
	TimeFieldName *DataViewsTimefieldname `json:"timeFieldName,omitempty"`

	// Title Comma-separated list of data streams, indices, and aliases that you want to search. Supports wildcards (`*`).
	Title *DataViewsTitle `json:"title,omitempty"`

	// Type When set to `rollup`, identifies the rollup data views.
	Type *DataViewsType `json:"type,omitempty"`

	// TypeMeta When you use rollup indices, contains the field list for the rollup data view API endpoints.
	TypeMeta *DataViewsTypemeta `json:"typeMeta,omitempty"`
}

DataViewsUpdateDataViewRequestObjectInner The data view properties you want to update. Only the specified properties are updated in the data view. Unspecified fields stay as they are persisted.

type DataViewsViewId

type DataViewsViewId = string

DataViewsViewId defines model for Data_views_view_id.

type DeleteDataViewDefaultResponse

type DeleteDataViewDefaultResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON404      *DataViews404Response
}

func ParseDeleteDataViewDefaultResponse

func ParseDeleteDataViewDefaultResponse(rsp *http.Response) (*DeleteDataViewDefaultResponse, error)

ParseDeleteDataViewDefaultResponse parses an HTTP response from a DeleteDataViewDefaultWithResponse call

func (DeleteDataViewDefaultResponse) Status

Status returns HTTPResponse.Status

func (DeleteDataViewDefaultResponse) StatusCode

func (r DeleteDataViewDefaultResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFleetEpmPackagesPkgnamePkgversion200Items0

type DeleteFleetEpmPackagesPkgnamePkgversion200Items0 struct {
	Id       string                                               `json:"id"`
	OriginId *string                                              `json:"originId,omitempty"`
	Type     DeleteFleetEpmPackagesPkgnamePkgversion200Items0Type `json:"type"`
}

type DeleteFleetEpmPackagesPkgnamePkgversion200Items0Type

type DeleteFleetEpmPackagesPkgnamePkgversion200Items0Type string

type DeleteFleetEpmPackagesPkgnamePkgversion200Items1

type DeleteFleetEpmPackagesPkgnamePkgversion200Items1 struct {
	Deferred *bool                                                `json:"deferred,omitempty"`
	Id       string                                               `json:"id"`
	Type     DeleteFleetEpmPackagesPkgnamePkgversion200Items1Type `json:"type"`
	Version  *string                                              `json:"version,omitempty"`
}

type DeleteFleetEpmPackagesPkgnamePkgversion200Items1Type

type DeleteFleetEpmPackagesPkgnamePkgversion200Items1Type string

type DeleteFleetEpmPackagesPkgnamePkgversionParams

type DeleteFleetEpmPackagesPkgnamePkgversionParams struct {
	Force *bool `form:"force,omitempty" json:"force,omitempty"`
}

DeleteFleetEpmPackagesPkgnamePkgversionParams defines parameters for DeleteFleetEpmPackagesPkgnamePkgversion.

type DeleteFleetEpmPackagesPkgnamePkgversionResponse

type DeleteFleetEpmPackagesPkgnamePkgversionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []DeleteFleetEpmPackagesPkgnamePkgversion_200_Items_Item `json:"items"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseDeleteFleetEpmPackagesPkgnamePkgversionResponse

func ParseDeleteFleetEpmPackagesPkgnamePkgversionResponse(rsp *http.Response) (*DeleteFleetEpmPackagesPkgnamePkgversionResponse, error)

ParseDeleteFleetEpmPackagesPkgnamePkgversionResponse parses an HTTP response from a DeleteFleetEpmPackagesPkgnamePkgversionWithResponse call

func (DeleteFleetEpmPackagesPkgnamePkgversionResponse) Status

Status returns HTTPResponse.Status

func (DeleteFleetEpmPackagesPkgnamePkgversionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteFleetEpmPackagesPkgnamePkgversion_200_Items_Item

type DeleteFleetEpmPackagesPkgnamePkgversion_200_Items_Item struct {
	// contains filtered or unexported fields
}

type DeleteFleetFleetServerHostsItemidResponse

type DeleteFleetFleetServerHostsItemidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id string `json:"id"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseDeleteFleetFleetServerHostsItemidResponse

func ParseDeleteFleetFleetServerHostsItemidResponse(rsp *http.Response) (*DeleteFleetFleetServerHostsItemidResponse, error)

ParseDeleteFleetFleetServerHostsItemidResponse parses an HTTP response from a DeleteFleetFleetServerHostsItemidWithResponse call

func (DeleteFleetFleetServerHostsItemidResponse) Status

Status returns HTTPResponse.Status

func (DeleteFleetFleetServerHostsItemidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteFleetOutputsOutputidResponse

type DeleteFleetOutputsOutputidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id string `json:"id"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
	JSON404 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseDeleteFleetOutputsOutputidResponse

func ParseDeleteFleetOutputsOutputidResponse(rsp *http.Response) (*DeleteFleetOutputsOutputidResponse, error)

ParseDeleteFleetOutputsOutputidResponse parses an HTTP response from a DeleteFleetOutputsOutputidWithResponse call

func (DeleteFleetOutputsOutputidResponse) Status

Status returns HTTPResponse.Status

func (DeleteFleetOutputsOutputidResponse) StatusCode

func (r DeleteFleetOutputsOutputidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFleetPackagePoliciesPackagepolicyidParams

type DeleteFleetPackagePoliciesPackagepolicyidParams struct {
	Force *bool `form:"force,omitempty" json:"force,omitempty"`
}

DeleteFleetPackagePoliciesPackagepolicyidParams defines parameters for DeleteFleetPackagePoliciesPackagepolicyid.

type DeleteFleetPackagePoliciesPackagepolicyidResponse

type DeleteFleetPackagePoliciesPackagepolicyidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id string `json:"id"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseDeleteFleetPackagePoliciesPackagepolicyidResponse

func ParseDeleteFleetPackagePoliciesPackagepolicyidResponse(rsp *http.Response) (*DeleteFleetPackagePoliciesPackagepolicyidResponse, error)

ParseDeleteFleetPackagePoliciesPackagepolicyidResponse parses an HTTP response from a DeleteFleetPackagePoliciesPackagepolicyidWithResponse call

func (DeleteFleetPackagePoliciesPackagepolicyidResponse) Status

Status returns HTTPResponse.Status

func (DeleteFleetPackagePoliciesPackagepolicyidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type EnrollmentApiKey

type EnrollmentApiKey struct {
	// Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents.
	Active bool `json:"active"`

	// ApiKey The enrollment API key (token) used for enrolling Elastic Agents.
	ApiKey string `json:"api_key"`

	// ApiKeyId The ID of the API key in the Security API.
	ApiKeyId  string `json:"api_key_id"`
	CreatedAt string `json:"created_at"`
	Id        string `json:"id"`

	// Name The name of the enrollment API key.
	Name *string `json:"name,omitempty"`

	// PolicyId The ID of the agent policy the Elastic Agent will be enrolled in.
	PolicyId *string `json:"policy_id,omitempty"`
}

EnrollmentApiKey defines model for enrollment_api_key.

type GetAllDataViewsDefaultResponse

type GetAllDataViewsDefaultResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DataView *[]GetDataViewsResponseItem `json:"data_view,omitempty"`
	}
	JSON400 *DataViews400Response
}

func ParseGetAllDataViewsDefaultResponse

func ParseGetAllDataViewsDefaultResponse(rsp *http.Response) (*GetAllDataViewsDefaultResponse, error)

ParseGetAllDataViewsDefaultResponse parses an HTTP response from a GetAllDataViewsDefaultWithResponse call

func (GetAllDataViewsDefaultResponse) Status

Status returns HTTPResponse.Status

func (GetAllDataViewsDefaultResponse) StatusCode

func (r GetAllDataViewsDefaultResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDataViewDefaultResponse

type GetDataViewDefaultResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DataViewsDataViewResponseObject
	JSON404      *DataViews404Response
}

func ParseGetDataViewDefaultResponse

func ParseGetDataViewDefaultResponse(rsp *http.Response) (*GetDataViewDefaultResponse, error)

ParseGetDataViewDefaultResponse parses an HTTP response from a GetDataViewDefaultWithResponse call

func (GetDataViewDefaultResponse) Status

Status returns HTTPResponse.Status

func (GetDataViewDefaultResponse) StatusCode

func (r GetDataViewDefaultResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDataViewsResponseItem

type GetDataViewsResponseItem struct {
	Id         *string                 `json:"id,omitempty"`
	Name       *string                 `json:"name,omitempty"`
	Namespaces *[]string               `json:"namespaces,omitempty"`
	Title      *string                 `json:"title,omitempty"`
	TypeMeta   *map[string]interface{} `json:"typeMeta,omitempty"`
}

GetDataViewsResponseItem defines model for get_data_views_response_item.

type GetFleetAgentPoliciesAgentpolicyidParams

type GetFleetAgentPoliciesAgentpolicyidParams struct {
	Format *GetFleetAgentPoliciesAgentpolicyidParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}

GetFleetAgentPoliciesAgentpolicyidParams defines parameters for GetFleetAgentPoliciesAgentpolicyid.

type GetFleetAgentPoliciesAgentpolicyidParamsFormat

type GetFleetAgentPoliciesAgentpolicyidParamsFormat string

GetFleetAgentPoliciesAgentpolicyidParamsFormat defines parameters for GetFleetAgentPoliciesAgentpolicyid.

const (
	GetFleetAgentPoliciesAgentpolicyidParamsFormatLegacy     GetFleetAgentPoliciesAgentpolicyidParamsFormat = "legacy"
	GetFleetAgentPoliciesAgentpolicyidParamsFormatSimplified GetFleetAgentPoliciesAgentpolicyidParamsFormat = "simplified"
)

Defines values for GetFleetAgentPoliciesAgentpolicyidParamsFormat.

type GetFleetAgentPoliciesAgentpolicyidResponse

type GetFleetAgentPoliciesAgentpolicyidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item AgentPolicy `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetAgentPoliciesAgentpolicyidResponse

func ParseGetFleetAgentPoliciesAgentpolicyidResponse(rsp *http.Response) (*GetFleetAgentPoliciesAgentpolicyidResponse, error)

ParseGetFleetAgentPoliciesAgentpolicyidResponse parses an HTTP response from a GetFleetAgentPoliciesAgentpolicyidWithResponse call

func (GetFleetAgentPoliciesAgentpolicyidResponse) Status

Status returns HTTPResponse.Status

func (GetFleetAgentPoliciesAgentpolicyidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetFleetAgentPoliciesParams

type GetFleetAgentPoliciesParams struct {
	Page            *float32                              `form:"page,omitempty" json:"page,omitempty"`
	PerPage         *float32                              `form:"perPage,omitempty" json:"perPage,omitempty"`
	SortField       *string                               `form:"sortField,omitempty" json:"sortField,omitempty"`
	SortOrder       *GetFleetAgentPoliciesParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
	ShowUpgradeable *bool                                 `form:"showUpgradeable,omitempty" json:"showUpgradeable,omitempty"`
	Kuery           *string                               `form:"kuery,omitempty" json:"kuery,omitempty"`

	// NoAgentCount use withAgentCount instead
	NoAgentCount *bool `form:"noAgentCount,omitempty" json:"noAgentCount,omitempty"`

	// WithAgentCount get policies with agent count
	WithAgentCount *bool `form:"withAgentCount,omitempty" json:"withAgentCount,omitempty"`

	// Full get full policies with package policies populated
	Full   *bool                              `form:"full,omitempty" json:"full,omitempty"`
	Format *GetFleetAgentPoliciesParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}

GetFleetAgentPoliciesParams defines parameters for GetFleetAgentPolicies.

type GetFleetAgentPoliciesParamsFormat

type GetFleetAgentPoliciesParamsFormat string

GetFleetAgentPoliciesParamsFormat defines parameters for GetFleetAgentPolicies.

const (
	GetFleetAgentPoliciesParamsFormatLegacy     GetFleetAgentPoliciesParamsFormat = "legacy"
	GetFleetAgentPoliciesParamsFormatSimplified GetFleetAgentPoliciesParamsFormat = "simplified"
)

Defines values for GetFleetAgentPoliciesParamsFormat.

type GetFleetAgentPoliciesParamsSortOrder

type GetFleetAgentPoliciesParamsSortOrder string

GetFleetAgentPoliciesParamsSortOrder defines parameters for GetFleetAgentPolicies.

const (
	GetFleetAgentPoliciesParamsSortOrderAsc  GetFleetAgentPoliciesParamsSortOrder = "asc"
	GetFleetAgentPoliciesParamsSortOrderDesc GetFleetAgentPoliciesParamsSortOrder = "desc"
)

Defines values for GetFleetAgentPoliciesParamsSortOrder.

type GetFleetAgentPoliciesResponse

type GetFleetAgentPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items   []AgentPolicy `json:"items"`
		Page    float32       `json:"page"`
		PerPage float32       `json:"perPage"`
		Total   float32       `json:"total"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetAgentPoliciesResponse

func ParseGetFleetAgentPoliciesResponse(rsp *http.Response) (*GetFleetAgentPoliciesResponse, error)

ParseGetFleetAgentPoliciesResponse parses an HTTP response from a GetFleetAgentPoliciesWithResponse call

func (GetFleetAgentPoliciesResponse) Status

Status returns HTTPResponse.Status

func (GetFleetAgentPoliciesResponse) StatusCode

func (r GetFleetAgentPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFleetEnrollmentApiKeysParams

type GetFleetEnrollmentApiKeysParams struct {
	Page    *float32 `form:"page,omitempty" json:"page,omitempty"`
	PerPage *float32 `form:"perPage,omitempty" json:"perPage,omitempty"`
	Kuery   *string  `form:"kuery,omitempty" json:"kuery,omitempty"`
}

GetFleetEnrollmentApiKeysParams defines parameters for GetFleetEnrollmentApiKeys.

type GetFleetEnrollmentApiKeysResponse

type GetFleetEnrollmentApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []EnrollmentApiKey `json:"items"`
		// Deprecated:
		List []struct {
			// Active When false, the enrollment API key is revoked and cannot be used for enrolling Elastic Agents.
			Active bool `json:"active"`

			// ApiKey The enrollment API key (token) used for enrolling Elastic Agents.
			ApiKey string `json:"api_key"`

			// ApiKeyId The ID of the API key in the Security API.
			ApiKeyId  string `json:"api_key_id"`
			CreatedAt string `json:"created_at"`
			Id        string `json:"id"`

			// Name The name of the enrollment API key.
			Name *string `json:"name,omitempty"`

			// PolicyId The ID of the agent policy the Elastic Agent will be enrolled in.
			PolicyId *string `json:"policy_id,omitempty"`
		} `json:"list"`
		Page    float32 `json:"page"`
		PerPage float32 `json:"perPage"`
		Total   float32 `json:"total"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetEnrollmentApiKeysResponse

func ParseGetFleetEnrollmentApiKeysResponse(rsp *http.Response) (*GetFleetEnrollmentApiKeysResponse, error)

ParseGetFleetEnrollmentApiKeysResponse parses an HTTP response from a GetFleetEnrollmentApiKeysWithResponse call

func (GetFleetEnrollmentApiKeysResponse) Status

Status returns HTTPResponse.Status

func (GetFleetEnrollmentApiKeysResponse) StatusCode

func (r GetFleetEnrollmentApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFleetEpmPackagesParams

type GetFleetEpmPackagesParams struct {
	Category             *string `form:"category,omitempty" json:"category,omitempty"`
	Prerelease           *bool   `form:"prerelease,omitempty" json:"prerelease,omitempty"`
	ExcludeInstallStatus *bool   `form:"excludeInstallStatus,omitempty" json:"excludeInstallStatus,omitempty"`
}

GetFleetEpmPackagesParams defines parameters for GetFleetEpmPackages.

type GetFleetEpmPackagesPkgnamePkgversionParams

type GetFleetEpmPackagesPkgnamePkgversionParams struct {
	IgnoreUnverified *bool `form:"ignoreUnverified,omitempty" json:"ignoreUnverified,omitempty"`
	Prerelease       *bool `form:"prerelease,omitempty" json:"prerelease,omitempty"`
	Full             *bool `form:"full,omitempty" json:"full,omitempty"`
	WithMetadata     *bool `form:"withMetadata,omitempty" json:"withMetadata,omitempty"`
}

GetFleetEpmPackagesPkgnamePkgversionParams defines parameters for GetFleetEpmPackagesPkgnamePkgversion.

type GetFleetEpmPackagesPkgnamePkgversionResponse

type GetFleetEpmPackagesPkgnamePkgversionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item     PackageInfo `json:"item"`
		Metadata *struct {
			HasPolicies bool `json:"has_policies"`
		} `json:"metadata,omitempty"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetEpmPackagesPkgnamePkgversionResponse

func ParseGetFleetEpmPackagesPkgnamePkgversionResponse(rsp *http.Response) (*GetFleetEpmPackagesPkgnamePkgversionResponse, error)

ParseGetFleetEpmPackagesPkgnamePkgversionResponse parses an HTTP response from a GetFleetEpmPackagesPkgnamePkgversionWithResponse call

func (GetFleetEpmPackagesPkgnamePkgversionResponse) Status

Status returns HTTPResponse.Status

func (GetFleetEpmPackagesPkgnamePkgversionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetFleetEpmPackagesResponse

type GetFleetEpmPackagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items []PackageListItem `json:"items"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetEpmPackagesResponse

func ParseGetFleetEpmPackagesResponse(rsp *http.Response) (*GetFleetEpmPackagesResponse, error)

ParseGetFleetEpmPackagesResponse parses an HTTP response from a GetFleetEpmPackagesWithResponse call

func (GetFleetEpmPackagesResponse) Status

Status returns HTTPResponse.Status

func (GetFleetEpmPackagesResponse) StatusCode

func (r GetFleetEpmPackagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFleetFleetServerHostsItemidResponse

type GetFleetFleetServerHostsItemidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item ServerHost `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetFleetServerHostsItemidResponse

func ParseGetFleetFleetServerHostsItemidResponse(rsp *http.Response) (*GetFleetFleetServerHostsItemidResponse, error)

ParseGetFleetFleetServerHostsItemidResponse parses an HTTP response from a GetFleetFleetServerHostsItemidWithResponse call

func (GetFleetFleetServerHostsItemidResponse) Status

Status returns HTTPResponse.Status

func (GetFleetFleetServerHostsItemidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetFleetFleetServerHostsResponse

type GetFleetFleetServerHostsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items   []ServerHost `json:"items"`
		Page    float32      `json:"page"`
		PerPage float32      `json:"perPage"`
		Total   float32      `json:"total"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetFleetServerHostsResponse

func ParseGetFleetFleetServerHostsResponse(rsp *http.Response) (*GetFleetFleetServerHostsResponse, error)

ParseGetFleetFleetServerHostsResponse parses an HTTP response from a GetFleetFleetServerHostsWithResponse call

func (GetFleetFleetServerHostsResponse) Status

Status returns HTTPResponse.Status

func (GetFleetFleetServerHostsResponse) StatusCode

func (r GetFleetFleetServerHostsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFleetOutputsOutputidResponse

type GetFleetOutputsOutputidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item OutputUnion `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetOutputsOutputidResponse

func ParseGetFleetOutputsOutputidResponse(rsp *http.Response) (*GetFleetOutputsOutputidResponse, error)

ParseGetFleetOutputsOutputidResponse parses an HTTP response from a GetFleetOutputsOutputidWithResponse call

func (GetFleetOutputsOutputidResponse) Status

Status returns HTTPResponse.Status

func (GetFleetOutputsOutputidResponse) StatusCode

func (r GetFleetOutputsOutputidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFleetOutputsResponse

type GetFleetOutputsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items   []OutputUnion `json:"items"`
		Page    float32       `json:"page"`
		PerPage float32       `json:"perPage"`
		Total   float32       `json:"total"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetOutputsResponse

func ParseGetFleetOutputsResponse(rsp *http.Response) (*GetFleetOutputsResponse, error)

ParseGetFleetOutputsResponse parses an HTTP response from a GetFleetOutputsWithResponse call

func (GetFleetOutputsResponse) Status

func (r GetFleetOutputsResponse) Status() string

Status returns HTTPResponse.Status

func (GetFleetOutputsResponse) StatusCode

func (r GetFleetOutputsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFleetPackagePoliciesPackagepolicyidParams

type GetFleetPackagePoliciesPackagepolicyidParams struct {
	Format *GetFleetPackagePoliciesPackagepolicyidParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}

GetFleetPackagePoliciesPackagepolicyidParams defines parameters for GetFleetPackagePoliciesPackagepolicyid.

type GetFleetPackagePoliciesPackagepolicyidParamsFormat

type GetFleetPackagePoliciesPackagepolicyidParamsFormat string

GetFleetPackagePoliciesPackagepolicyidParamsFormat defines parameters for GetFleetPackagePoliciesPackagepolicyid.

const (
	GetFleetPackagePoliciesPackagepolicyidParamsFormatLegacy     GetFleetPackagePoliciesPackagepolicyidParamsFormat = "legacy"
	GetFleetPackagePoliciesPackagepolicyidParamsFormatSimplified GetFleetPackagePoliciesPackagepolicyidParamsFormat = "simplified"
)

Defines values for GetFleetPackagePoliciesPackagepolicyidParamsFormat.

type GetFleetPackagePoliciesPackagepolicyidResponse

type GetFleetPackagePoliciesPackagepolicyidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item PackagePolicy `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
	JSON404 *struct {
		Message string `json:"message"`
	}
}

func ParseGetFleetPackagePoliciesPackagepolicyidResponse

func ParseGetFleetPackagePoliciesPackagepolicyidResponse(rsp *http.Response) (*GetFleetPackagePoliciesPackagepolicyidResponse, error)

ParseGetFleetPackagePoliciesPackagepolicyidResponse parses an HTTP response from a GetFleetPackagePoliciesPackagepolicyidWithResponse call

func (GetFleetPackagePoliciesPackagepolicyidResponse) Status

Status returns HTTPResponse.Status

func (GetFleetPackagePoliciesPackagepolicyidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetFleetPackagePoliciesParams

type GetFleetPackagePoliciesParams struct {
	Page            *float32                                `form:"page,omitempty" json:"page,omitempty"`
	PerPage         *float32                                `form:"perPage,omitempty" json:"perPage,omitempty"`
	SortField       *string                                 `form:"sortField,omitempty" json:"sortField,omitempty"`
	SortOrder       *GetFleetPackagePoliciesParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
	ShowUpgradeable *bool                                   `form:"showUpgradeable,omitempty" json:"showUpgradeable,omitempty"`
	Kuery           *string                                 `form:"kuery,omitempty" json:"kuery,omitempty"`
	Format          *GetFleetPackagePoliciesParamsFormat    `form:"format,omitempty" json:"format,omitempty"`
	WithAgentCount  *bool                                   `form:"withAgentCount,omitempty" json:"withAgentCount,omitempty"`
}

GetFleetPackagePoliciesParams defines parameters for GetFleetPackagePolicies.

type GetFleetPackagePoliciesParamsFormat

type GetFleetPackagePoliciesParamsFormat string

GetFleetPackagePoliciesParamsFormat defines parameters for GetFleetPackagePolicies.

const (
	GetFleetPackagePoliciesParamsFormatLegacy     GetFleetPackagePoliciesParamsFormat = "legacy"
	GetFleetPackagePoliciesParamsFormatSimplified GetFleetPackagePoliciesParamsFormat = "simplified"
)

Defines values for GetFleetPackagePoliciesParamsFormat.

type GetFleetPackagePoliciesParamsSortOrder

type GetFleetPackagePoliciesParamsSortOrder string

GetFleetPackagePoliciesParamsSortOrder defines parameters for GetFleetPackagePolicies.

const (
	GetFleetPackagePoliciesParamsSortOrderAsc  GetFleetPackagePoliciesParamsSortOrder = "asc"
	GetFleetPackagePoliciesParamsSortOrderDesc GetFleetPackagePoliciesParamsSortOrder = "desc"
)

Defines values for GetFleetPackagePoliciesParamsSortOrder.

type GetFleetPackagePoliciesResponse

type GetFleetPackagePoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items   []PackagePolicy `json:"items"`
		Page    float32         `json:"page"`
		PerPage float32         `json:"perPage"`
		Total   float32         `json:"total"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParseGetFleetPackagePoliciesResponse

func ParseGetFleetPackagePoliciesResponse(rsp *http.Response) (*GetFleetPackagePoliciesResponse, error)

ParseGetFleetPackagePoliciesResponse parses an HTTP response from a GetFleetPackagePoliciesWithResponse call

func (GetFleetPackagePoliciesResponse) Status

Status returns HTTPResponse.Status

func (GetFleetPackagePoliciesResponse) StatusCode

func (r GetFleetPackagePoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type NewOutputElasticsearch

type NewOutputElasticsearch struct {
	AllowEdit            *[]string                     `json:"allow_edit,omitempty"`
	CaSha256             *string                       `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                       `json:"ca_trusted_fingerprint,omitempty"`
	ConfigYaml           *string                       `json:"config_yaml"`
	Hosts                []string                      `json:"hosts"`
	Id                   *string                       `json:"id,omitempty"`
	IsDefault            *bool                         `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                         `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool                         `json:"is_internal,omitempty"`
	IsPreconfigured      *bool                         `json:"is_preconfigured,omitempty"`
	Name                 string                        `json:"name"`
	Preset               *NewOutputElasticsearchPreset `json:"preset,omitempty"`
	ProxyId              *string                       `json:"proxy_id,omitempty"`
	Shipper              *NewOutputShipper             `json:"shipper,omitempty"`
	Ssl                  *NewOutputSsl                 `json:"ssl,omitempty"`
	Type                 NewOutputElasticsearchType    `json:"type"`
}

NewOutputElasticsearch defines model for new_output_elasticsearch.

type NewOutputElasticsearchPreset

type NewOutputElasticsearchPreset string

NewOutputElasticsearchPreset defines model for NewOutputElasticsearch.Preset.

const (
	NewOutputElasticsearchPresetBalanced   NewOutputElasticsearchPreset = "balanced"
	NewOutputElasticsearchPresetCustom     NewOutputElasticsearchPreset = "custom"
	NewOutputElasticsearchPresetLatency    NewOutputElasticsearchPreset = "latency"
	NewOutputElasticsearchPresetScale      NewOutputElasticsearchPreset = "scale"
	NewOutputElasticsearchPresetThroughput NewOutputElasticsearchPreset = "throughput"
)

Defines values for NewOutputElasticsearchPreset.

type NewOutputElasticsearchType

type NewOutputElasticsearchType string

NewOutputElasticsearchType defines model for NewOutputElasticsearch.Type.

const (
	NewOutputElasticsearchTypeElasticsearch NewOutputElasticsearchType = "elasticsearch"
)

Defines values for NewOutputElasticsearchType.

type NewOutputKafka

type NewOutputKafka struct {
	AllowEdit            *[]string                  `json:"allow_edit,omitempty"`
	AuthType             NewOutputKafkaAuthType     `json:"auth_type"`
	BrokerTimeout        *float32                   `json:"broker_timeout,omitempty"`
	CaSha256             *string                    `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                    `json:"ca_trusted_fingerprint,omitempty"`
	ClientId             *string                    `json:"client_id,omitempty"`
	Compression          *NewOutputKafkaCompression `json:"compression,omitempty"`
	CompressionLevel     interface{}                `json:"compression_level"`
	ConfigYaml           *string                    `json:"config_yaml"`
	ConnectionType       interface{}                `json:"connection_type"`
	Hash                 *struct {
		Hash   *string `json:"hash,omitempty"`
		Random *bool   `json:"random,omitempty"`
	} `json:"hash,omitempty"`
	Headers *[]struct {
		Key   string `json:"key"`
		Value string `json:"value"`
	} `json:"headers,omitempty"`
	Hosts               []string                 `json:"hosts"`
	Id                  *string                  `json:"id,omitempty"`
	IsDefault           *bool                    `json:"is_default,omitempty"`
	IsDefaultMonitoring *bool                    `json:"is_default_monitoring,omitempty"`
	IsInternal          *bool                    `json:"is_internal,omitempty"`
	IsPreconfigured     *bool                    `json:"is_preconfigured,omitempty"`
	Key                 *string                  `json:"key,omitempty"`
	Name                string                   `json:"name"`
	Partition           *NewOutputKafkaPartition `json:"partition,omitempty"`
	Password            interface{}              `json:"password"`
	ProxyId             *string                  `json:"proxy_id,omitempty"`
	Random              *struct {
		GroupEvents *float32 `json:"group_events,omitempty"`
	} `json:"random,omitempty"`
	RequiredAcks *NewOutputKafkaRequiredAcks `json:"required_acks,omitempty"`
	RoundRobin   *struct {
		GroupEvents *float32 `json:"group_events,omitempty"`
	} `json:"round_robin,omitempty"`
	Sasl *struct {
		Mechanism *NewOutputKafkaSaslMechanism `json:"mechanism,omitempty"`
	} `json:"sasl"`
	Secrets *struct {
		Password *NewOutputKafka_Secrets_Password `json:"password,omitempty"`
		Ssl      *struct {
			Key NewOutputKafka_Secrets_Ssl_Key `json:"key"`
		} `json:"ssl,omitempty"`
	} `json:"secrets,omitempty"`
	Shipper  *NewOutputShipper  `json:"shipper,omitempty"`
	Ssl      *NewOutputSsl      `json:"ssl,omitempty"`
	Timeout  *float32           `json:"timeout,omitempty"`
	Topic    *string            `json:"topic,omitempty"`
	Type     NewOutputKafkaType `json:"type"`
	Username interface{}        `json:"username"`
	Version  *string            `json:"version,omitempty"`
}

NewOutputKafka defines model for new_output_kafka.

type NewOutputKafkaAuthType

type NewOutputKafkaAuthType string

NewOutputKafkaAuthType defines model for NewOutputKafka.AuthType.

const (
	NewOutputKafkaAuthTypeKerberos NewOutputKafkaAuthType = "kerberos"
	NewOutputKafkaAuthTypeNone     NewOutputKafkaAuthType = "none"
	NewOutputKafkaAuthTypeSsl      NewOutputKafkaAuthType = "ssl"
	NewOutputKafkaAuthTypeUserPass NewOutputKafkaAuthType = "user_pass"
)

Defines values for NewOutputKafkaAuthType.

type NewOutputKafkaCompression

type NewOutputKafkaCompression string

NewOutputKafkaCompression defines model for NewOutputKafka.Compression.

const (
	NewOutputKafkaCompressionGzip   NewOutputKafkaCompression = "gzip"
	NewOutputKafkaCompressionLz4    NewOutputKafkaCompression = "lz4"
	NewOutputKafkaCompressionNone   NewOutputKafkaCompression = "none"
	NewOutputKafkaCompressionSnappy NewOutputKafkaCompression = "snappy"
)

Defines values for NewOutputKafkaCompression.

type NewOutputKafkaPartition

type NewOutputKafkaPartition string

NewOutputKafkaPartition defines model for NewOutputKafka.Partition.

const (
	NewOutputKafkaPartitionHash       NewOutputKafkaPartition = "hash"
	NewOutputKafkaPartitionRandom     NewOutputKafkaPartition = "random"
	NewOutputKafkaPartitionRoundRobin NewOutputKafkaPartition = "round_robin"
)

Defines values for NewOutputKafkaPartition.

type NewOutputKafkaRequiredAcks

type NewOutputKafkaRequiredAcks int

NewOutputKafkaRequiredAcks defines model for NewOutputKafka.RequiredAcks.

const (
	NewOutputKafkaRequiredAcksMinus1 NewOutputKafkaRequiredAcks = -1
	NewOutputKafkaRequiredAcksN0     NewOutputKafkaRequiredAcks = 0
	NewOutputKafkaRequiredAcksN1     NewOutputKafkaRequiredAcks = 1
)

Defines values for NewOutputKafkaRequiredAcks.

type NewOutputKafkaSaslMechanism

type NewOutputKafkaSaslMechanism string

NewOutputKafkaSaslMechanism defines model for NewOutputKafka.Sasl.Mechanism.

const (
	NewOutputKafkaSaslMechanismPLAIN       NewOutputKafkaSaslMechanism = "PLAIN"
	NewOutputKafkaSaslMechanismSCRAMSHA256 NewOutputKafkaSaslMechanism = "SCRAM-SHA-256"
	NewOutputKafkaSaslMechanismSCRAMSHA512 NewOutputKafkaSaslMechanism = "SCRAM-SHA-512"
)

Defines values for NewOutputKafkaSaslMechanism.

type NewOutputKafkaSecretsPassword0

type NewOutputKafkaSecretsPassword0 struct {
	Id string `json:"id"`
}

NewOutputKafkaSecretsPassword0 defines model for .

type NewOutputKafkaSecretsPassword1

type NewOutputKafkaSecretsPassword1 = string

NewOutputKafkaSecretsPassword1 defines model for .

type NewOutputKafkaSecretsSslKey0

type NewOutputKafkaSecretsSslKey0 struct {
	Id string `json:"id"`
}

NewOutputKafkaSecretsSslKey0 defines model for .

type NewOutputKafkaSecretsSslKey1

type NewOutputKafkaSecretsSslKey1 = string

NewOutputKafkaSecretsSslKey1 defines model for .

type NewOutputKafkaType

type NewOutputKafkaType string

NewOutputKafkaType defines model for NewOutputKafka.Type.

const (
	NewOutputKafkaTypeKafka NewOutputKafkaType = "kafka"
)

Defines values for NewOutputKafkaType.

type NewOutputKafka_Secrets_Password

type NewOutputKafka_Secrets_Password struct {
	// contains filtered or unexported fields
}

NewOutputKafka_Secrets_Password defines model for NewOutputKafka.Secrets.Password.

func (NewOutputKafka_Secrets_Password) AsNewOutputKafkaSecretsPassword0

func (t NewOutputKafka_Secrets_Password) AsNewOutputKafkaSecretsPassword0() (NewOutputKafkaSecretsPassword0, error)

AsNewOutputKafkaSecretsPassword0 returns the union data inside the NewOutputKafka_Secrets_Password as a NewOutputKafkaSecretsPassword0

func (NewOutputKafka_Secrets_Password) AsNewOutputKafkaSecretsPassword1

func (t NewOutputKafka_Secrets_Password) AsNewOutputKafkaSecretsPassword1() (NewOutputKafkaSecretsPassword1, error)

AsNewOutputKafkaSecretsPassword1 returns the union data inside the NewOutputKafka_Secrets_Password as a NewOutputKafkaSecretsPassword1

func (*NewOutputKafka_Secrets_Password) FromNewOutputKafkaSecretsPassword0

func (t *NewOutputKafka_Secrets_Password) FromNewOutputKafkaSecretsPassword0(v NewOutputKafkaSecretsPassword0) error

FromNewOutputKafkaSecretsPassword0 overwrites any union data inside the NewOutputKafka_Secrets_Password as the provided NewOutputKafkaSecretsPassword0

func (*NewOutputKafka_Secrets_Password) FromNewOutputKafkaSecretsPassword1

func (t *NewOutputKafka_Secrets_Password) FromNewOutputKafkaSecretsPassword1(v NewOutputKafkaSecretsPassword1) error

FromNewOutputKafkaSecretsPassword1 overwrites any union data inside the NewOutputKafka_Secrets_Password as the provided NewOutputKafkaSecretsPassword1

func (NewOutputKafka_Secrets_Password) MarshalJSON

func (t NewOutputKafka_Secrets_Password) MarshalJSON() ([]byte, error)

func (*NewOutputKafka_Secrets_Password) MergeNewOutputKafkaSecretsPassword0

func (t *NewOutputKafka_Secrets_Password) MergeNewOutputKafkaSecretsPassword0(v NewOutputKafkaSecretsPassword0) error

MergeNewOutputKafkaSecretsPassword0 performs a merge with any union data inside the NewOutputKafka_Secrets_Password, using the provided NewOutputKafkaSecretsPassword0

func (*NewOutputKafka_Secrets_Password) MergeNewOutputKafkaSecretsPassword1

func (t *NewOutputKafka_Secrets_Password) MergeNewOutputKafkaSecretsPassword1(v NewOutputKafkaSecretsPassword1) error

MergeNewOutputKafkaSecretsPassword1 performs a merge with any union data inside the NewOutputKafka_Secrets_Password, using the provided NewOutputKafkaSecretsPassword1

func (*NewOutputKafka_Secrets_Password) UnmarshalJSON

func (t *NewOutputKafka_Secrets_Password) UnmarshalJSON(b []byte) error

type NewOutputKafka_Secrets_Ssl_Key

type NewOutputKafka_Secrets_Ssl_Key struct {
	// contains filtered or unexported fields
}

NewOutputKafka_Secrets_Ssl_Key defines model for NewOutputKafka.Secrets.Ssl.Key.

func (NewOutputKafka_Secrets_Ssl_Key) AsNewOutputKafkaSecretsSslKey0

func (t NewOutputKafka_Secrets_Ssl_Key) AsNewOutputKafkaSecretsSslKey0() (NewOutputKafkaSecretsSslKey0, error)

AsNewOutputKafkaSecretsSslKey0 returns the union data inside the NewOutputKafka_Secrets_Ssl_Key as a NewOutputKafkaSecretsSslKey0

func (NewOutputKafka_Secrets_Ssl_Key) AsNewOutputKafkaSecretsSslKey1

func (t NewOutputKafka_Secrets_Ssl_Key) AsNewOutputKafkaSecretsSslKey1() (NewOutputKafkaSecretsSslKey1, error)

AsNewOutputKafkaSecretsSslKey1 returns the union data inside the NewOutputKafka_Secrets_Ssl_Key as a NewOutputKafkaSecretsSslKey1

func (*NewOutputKafka_Secrets_Ssl_Key) FromNewOutputKafkaSecretsSslKey0

func (t *NewOutputKafka_Secrets_Ssl_Key) FromNewOutputKafkaSecretsSslKey0(v NewOutputKafkaSecretsSslKey0) error

FromNewOutputKafkaSecretsSslKey0 overwrites any union data inside the NewOutputKafka_Secrets_Ssl_Key as the provided NewOutputKafkaSecretsSslKey0

func (*NewOutputKafka_Secrets_Ssl_Key) FromNewOutputKafkaSecretsSslKey1

func (t *NewOutputKafka_Secrets_Ssl_Key) FromNewOutputKafkaSecretsSslKey1(v NewOutputKafkaSecretsSslKey1) error

FromNewOutputKafkaSecretsSslKey1 overwrites any union data inside the NewOutputKafka_Secrets_Ssl_Key as the provided NewOutputKafkaSecretsSslKey1

func (NewOutputKafka_Secrets_Ssl_Key) MarshalJSON

func (t NewOutputKafka_Secrets_Ssl_Key) MarshalJSON() ([]byte, error)

func (*NewOutputKafka_Secrets_Ssl_Key) MergeNewOutputKafkaSecretsSslKey0

func (t *NewOutputKafka_Secrets_Ssl_Key) MergeNewOutputKafkaSecretsSslKey0(v NewOutputKafkaSecretsSslKey0) error

MergeNewOutputKafkaSecretsSslKey0 performs a merge with any union data inside the NewOutputKafka_Secrets_Ssl_Key, using the provided NewOutputKafkaSecretsSslKey0

func (*NewOutputKafka_Secrets_Ssl_Key) MergeNewOutputKafkaSecretsSslKey1

func (t *NewOutputKafka_Secrets_Ssl_Key) MergeNewOutputKafkaSecretsSslKey1(v NewOutputKafkaSecretsSslKey1) error

MergeNewOutputKafkaSecretsSslKey1 performs a merge with any union data inside the NewOutputKafka_Secrets_Ssl_Key, using the provided NewOutputKafkaSecretsSslKey1

func (*NewOutputKafka_Secrets_Ssl_Key) UnmarshalJSON

func (t *NewOutputKafka_Secrets_Ssl_Key) UnmarshalJSON(b []byte) error

type NewOutputLogstash

type NewOutputLogstash struct {
	AllowEdit            *[]string `json:"allow_edit,omitempty"`
	CaSha256             *string   `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string   `json:"ca_trusted_fingerprint,omitempty"`
	ConfigYaml           *string   `json:"config_yaml"`
	Hosts                []string  `json:"hosts"`
	Id                   *string   `json:"id,omitempty"`
	IsDefault            *bool     `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool     `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool     `json:"is_internal,omitempty"`
	IsPreconfigured      *bool     `json:"is_preconfigured,omitempty"`
	Name                 string    `json:"name"`
	ProxyId              *string   `json:"proxy_id,omitempty"`
	Secrets              *struct {
		Ssl *struct {
			Key *NewOutputLogstash_Secrets_Ssl_Key `json:"key,omitempty"`
		} `json:"ssl,omitempty"`
	} `json:"secrets,omitempty"`
	Shipper *NewOutputShipper     `json:"shipper,omitempty"`
	Ssl     *NewOutputSsl         `json:"ssl,omitempty"`
	Type    NewOutputLogstashType `json:"type"`
}

NewOutputLogstash defines model for new_output_logstash.

type NewOutputLogstashSecretsSslKey0

type NewOutputLogstashSecretsSslKey0 struct {
	Id string `json:"id"`
}

NewOutputLogstashSecretsSslKey0 defines model for .

type NewOutputLogstashSecretsSslKey1

type NewOutputLogstashSecretsSslKey1 = string

NewOutputLogstashSecretsSslKey1 defines model for .

type NewOutputLogstashType

type NewOutputLogstashType string

NewOutputLogstashType defines model for NewOutputLogstash.Type.

const (
	NewOutputLogstashTypeLogstash NewOutputLogstashType = "logstash"
)

Defines values for NewOutputLogstashType.

type NewOutputLogstash_Secrets_Ssl_Key

type NewOutputLogstash_Secrets_Ssl_Key struct {
	// contains filtered or unexported fields
}

NewOutputLogstash_Secrets_Ssl_Key defines model for NewOutputLogstash.Secrets.Ssl.Key.

func (NewOutputLogstash_Secrets_Ssl_Key) AsNewOutputLogstashSecretsSslKey0

func (t NewOutputLogstash_Secrets_Ssl_Key) AsNewOutputLogstashSecretsSslKey0() (NewOutputLogstashSecretsSslKey0, error)

AsNewOutputLogstashSecretsSslKey0 returns the union data inside the NewOutputLogstash_Secrets_Ssl_Key as a NewOutputLogstashSecretsSslKey0

func (NewOutputLogstash_Secrets_Ssl_Key) AsNewOutputLogstashSecretsSslKey1

func (t NewOutputLogstash_Secrets_Ssl_Key) AsNewOutputLogstashSecretsSslKey1() (NewOutputLogstashSecretsSslKey1, error)

AsNewOutputLogstashSecretsSslKey1 returns the union data inside the NewOutputLogstash_Secrets_Ssl_Key as a NewOutputLogstashSecretsSslKey1

func (*NewOutputLogstash_Secrets_Ssl_Key) FromNewOutputLogstashSecretsSslKey0

func (t *NewOutputLogstash_Secrets_Ssl_Key) FromNewOutputLogstashSecretsSslKey0(v NewOutputLogstashSecretsSslKey0) error

FromNewOutputLogstashSecretsSslKey0 overwrites any union data inside the NewOutputLogstash_Secrets_Ssl_Key as the provided NewOutputLogstashSecretsSslKey0

func (*NewOutputLogstash_Secrets_Ssl_Key) FromNewOutputLogstashSecretsSslKey1

func (t *NewOutputLogstash_Secrets_Ssl_Key) FromNewOutputLogstashSecretsSslKey1(v NewOutputLogstashSecretsSslKey1) error

FromNewOutputLogstashSecretsSslKey1 overwrites any union data inside the NewOutputLogstash_Secrets_Ssl_Key as the provided NewOutputLogstashSecretsSslKey1

func (NewOutputLogstash_Secrets_Ssl_Key) MarshalJSON

func (t NewOutputLogstash_Secrets_Ssl_Key) MarshalJSON() ([]byte, error)

func (*NewOutputLogstash_Secrets_Ssl_Key) MergeNewOutputLogstashSecretsSslKey0

func (t *NewOutputLogstash_Secrets_Ssl_Key) MergeNewOutputLogstashSecretsSslKey0(v NewOutputLogstashSecretsSslKey0) error

MergeNewOutputLogstashSecretsSslKey0 performs a merge with any union data inside the NewOutputLogstash_Secrets_Ssl_Key, using the provided NewOutputLogstashSecretsSslKey0

func (*NewOutputLogstash_Secrets_Ssl_Key) MergeNewOutputLogstashSecretsSslKey1

func (t *NewOutputLogstash_Secrets_Ssl_Key) MergeNewOutputLogstashSecretsSslKey1(v NewOutputLogstashSecretsSslKey1) error

MergeNewOutputLogstashSecretsSslKey1 performs a merge with any union data inside the NewOutputLogstash_Secrets_Ssl_Key, using the provided NewOutputLogstashSecretsSslKey1

func (*NewOutputLogstash_Secrets_Ssl_Key) UnmarshalJSON

func (t *NewOutputLogstash_Secrets_Ssl_Key) UnmarshalJSON(b []byte) error

type NewOutputRemoteElasticsearch

type NewOutputRemoteElasticsearch struct {
	AllowEdit            *[]string                           `json:"allow_edit,omitempty"`
	CaSha256             *string                             `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                             `json:"ca_trusted_fingerprint,omitempty"`
	ConfigYaml           *string                             `json:"config_yaml"`
	Hosts                []string                            `json:"hosts"`
	Id                   *string                             `json:"id,omitempty"`
	IsDefault            *bool                               `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                               `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool                               `json:"is_internal,omitempty"`
	IsPreconfigured      *bool                               `json:"is_preconfigured,omitempty"`
	Name                 string                              `json:"name"`
	Preset               *NewOutputRemoteElasticsearchPreset `json:"preset,omitempty"`
	ProxyId              *string                             `json:"proxy_id,omitempty"`
	Secrets              *struct {
		ServiceToken *NewOutputRemoteElasticsearch_Secrets_ServiceToken `json:"service_token,omitempty"`
	} `json:"secrets,omitempty"`
	ServiceToken *string                          `json:"service_token"`
	Shipper      *NewOutputShipper                `json:"shipper,omitempty"`
	Ssl          *NewOutputSsl                    `json:"ssl,omitempty"`
	Type         NewOutputRemoteElasticsearchType `json:"type"`
}

NewOutputRemoteElasticsearch defines model for new_output_remote_elasticsearch.

type NewOutputRemoteElasticsearchPreset

type NewOutputRemoteElasticsearchPreset string

NewOutputRemoteElasticsearchPreset defines model for NewOutputRemoteElasticsearch.Preset.

const (
	NewOutputRemoteElasticsearchPresetBalanced   NewOutputRemoteElasticsearchPreset = "balanced"
	NewOutputRemoteElasticsearchPresetCustom     NewOutputRemoteElasticsearchPreset = "custom"
	NewOutputRemoteElasticsearchPresetLatency    NewOutputRemoteElasticsearchPreset = "latency"
	NewOutputRemoteElasticsearchPresetScale      NewOutputRemoteElasticsearchPreset = "scale"
	NewOutputRemoteElasticsearchPresetThroughput NewOutputRemoteElasticsearchPreset = "throughput"
)

Defines values for NewOutputRemoteElasticsearchPreset.

type NewOutputRemoteElasticsearchSecretsServiceToken0

type NewOutputRemoteElasticsearchSecretsServiceToken0 struct {
	Id string `json:"id"`
}

NewOutputRemoteElasticsearchSecretsServiceToken0 defines model for .

type NewOutputRemoteElasticsearchSecretsServiceToken1

type NewOutputRemoteElasticsearchSecretsServiceToken1 = string

NewOutputRemoteElasticsearchSecretsServiceToken1 defines model for .

type NewOutputRemoteElasticsearchType

type NewOutputRemoteElasticsearchType string

NewOutputRemoteElasticsearchType defines model for NewOutputRemoteElasticsearch.Type.

const (
	NewOutputRemoteElasticsearchTypeRemoteElasticsearch NewOutputRemoteElasticsearchType = "remote_elasticsearch"
)

Defines values for NewOutputRemoteElasticsearchType.

type NewOutputRemoteElasticsearch_Secrets_ServiceToken

type NewOutputRemoteElasticsearch_Secrets_ServiceToken struct {
	// contains filtered or unexported fields
}

NewOutputRemoteElasticsearch_Secrets_ServiceToken defines model for NewOutputRemoteElasticsearch.Secrets.ServiceToken.

func (NewOutputRemoteElasticsearch_Secrets_ServiceToken) AsNewOutputRemoteElasticsearchSecretsServiceToken0

func (t NewOutputRemoteElasticsearch_Secrets_ServiceToken) AsNewOutputRemoteElasticsearchSecretsServiceToken0() (NewOutputRemoteElasticsearchSecretsServiceToken0, error)

AsNewOutputRemoteElasticsearchSecretsServiceToken0 returns the union data inside the NewOutputRemoteElasticsearch_Secrets_ServiceToken as a NewOutputRemoteElasticsearchSecretsServiceToken0

func (NewOutputRemoteElasticsearch_Secrets_ServiceToken) AsNewOutputRemoteElasticsearchSecretsServiceToken1

func (t NewOutputRemoteElasticsearch_Secrets_ServiceToken) AsNewOutputRemoteElasticsearchSecretsServiceToken1() (NewOutputRemoteElasticsearchSecretsServiceToken1, error)

AsNewOutputRemoteElasticsearchSecretsServiceToken1 returns the union data inside the NewOutputRemoteElasticsearch_Secrets_ServiceToken as a NewOutputRemoteElasticsearchSecretsServiceToken1

func (*NewOutputRemoteElasticsearch_Secrets_ServiceToken) FromNewOutputRemoteElasticsearchSecretsServiceToken0

func (t *NewOutputRemoteElasticsearch_Secrets_ServiceToken) FromNewOutputRemoteElasticsearchSecretsServiceToken0(v NewOutputRemoteElasticsearchSecretsServiceToken0) error

FromNewOutputRemoteElasticsearchSecretsServiceToken0 overwrites any union data inside the NewOutputRemoteElasticsearch_Secrets_ServiceToken as the provided NewOutputRemoteElasticsearchSecretsServiceToken0

func (*NewOutputRemoteElasticsearch_Secrets_ServiceToken) FromNewOutputRemoteElasticsearchSecretsServiceToken1

func (t *NewOutputRemoteElasticsearch_Secrets_ServiceToken) FromNewOutputRemoteElasticsearchSecretsServiceToken1(v NewOutputRemoteElasticsearchSecretsServiceToken1) error

FromNewOutputRemoteElasticsearchSecretsServiceToken1 overwrites any union data inside the NewOutputRemoteElasticsearch_Secrets_ServiceToken as the provided NewOutputRemoteElasticsearchSecretsServiceToken1

func (NewOutputRemoteElasticsearch_Secrets_ServiceToken) MarshalJSON

func (*NewOutputRemoteElasticsearch_Secrets_ServiceToken) MergeNewOutputRemoteElasticsearchSecretsServiceToken0

func (t *NewOutputRemoteElasticsearch_Secrets_ServiceToken) MergeNewOutputRemoteElasticsearchSecretsServiceToken0(v NewOutputRemoteElasticsearchSecretsServiceToken0) error

MergeNewOutputRemoteElasticsearchSecretsServiceToken0 performs a merge with any union data inside the NewOutputRemoteElasticsearch_Secrets_ServiceToken, using the provided NewOutputRemoteElasticsearchSecretsServiceToken0

func (*NewOutputRemoteElasticsearch_Secrets_ServiceToken) MergeNewOutputRemoteElasticsearchSecretsServiceToken1

func (t *NewOutputRemoteElasticsearch_Secrets_ServiceToken) MergeNewOutputRemoteElasticsearchSecretsServiceToken1(v NewOutputRemoteElasticsearchSecretsServiceToken1) error

MergeNewOutputRemoteElasticsearchSecretsServiceToken1 performs a merge with any union data inside the NewOutputRemoteElasticsearch_Secrets_ServiceToken, using the provided NewOutputRemoteElasticsearchSecretsServiceToken1

func (*NewOutputRemoteElasticsearch_Secrets_ServiceToken) UnmarshalJSON

type NewOutputShipper

type NewOutputShipper struct {
	CompressionLevel            *float32 `json:"compression_level"`
	DiskQueueCompressionEnabled *bool    `json:"disk_queue_compression_enabled"`
	DiskQueueEnabled            *bool    `json:"disk_queue_enabled"`
	DiskQueueEncryptionEnabled  *bool    `json:"disk_queue_encryption_enabled"`
	DiskQueueMaxSize            *float32 `json:"disk_queue_max_size"`
	DiskQueuePath               *string  `json:"disk_queue_path"`
	Loadbalance                 *bool    `json:"loadbalance"`
	MaxBatchBytes               *float32 `json:"max_batch_bytes"`
	MemQueueEvents              *float32 `json:"mem_queue_events"`
	QueueFlushTimeout           *float32 `json:"queue_flush_timeout"`
}

NewOutputShipper defines model for new_output_shipper.

type NewOutputSsl

type NewOutputSsl struct {
	Certificate            *string                       `json:"certificate,omitempty"`
	CertificateAuthorities *[]string                     `json:"certificate_authorities,omitempty"`
	Key                    *string                       `json:"key,omitempty"`
	VerificationMode       *NewOutputSslVerificationMode `json:"verification_mode,omitempty"`
}

NewOutputSsl defines model for new_output_ssl.

type NewOutputSslVerificationMode

type NewOutputSslVerificationMode string

NewOutputSslVerificationMode defines model for NewOutputSsl.VerificationMode.

const (
	NewOutputSslVerificationModeCertificate NewOutputSslVerificationMode = "certificate"
	NewOutputSslVerificationModeFull        NewOutputSslVerificationMode = "full"
	NewOutputSslVerificationModeNone        NewOutputSslVerificationMode = "none"
	NewOutputSslVerificationModeStrict      NewOutputSslVerificationMode = "strict"
)

Defines values for NewOutputSslVerificationMode.

type NewOutputUnion

type NewOutputUnion struct {
	// contains filtered or unexported fields
}

NewOutputUnion defines model for new_output_union.

func (NewOutputUnion) AsNewOutputElasticsearch

func (t NewOutputUnion) AsNewOutputElasticsearch() (NewOutputElasticsearch, error)

AsNewOutputElasticsearch returns the union data inside the NewOutputUnion as a NewOutputElasticsearch

func (NewOutputUnion) AsNewOutputKafka

func (t NewOutputUnion) AsNewOutputKafka() (NewOutputKafka, error)

AsNewOutputKafka returns the union data inside the NewOutputUnion as a NewOutputKafka

func (NewOutputUnion) AsNewOutputLogstash

func (t NewOutputUnion) AsNewOutputLogstash() (NewOutputLogstash, error)

AsNewOutputLogstash returns the union data inside the NewOutputUnion as a NewOutputLogstash

func (NewOutputUnion) AsNewOutputRemoteElasticsearch

func (t NewOutputUnion) AsNewOutputRemoteElasticsearch() (NewOutputRemoteElasticsearch, error)

AsNewOutputRemoteElasticsearch returns the union data inside the NewOutputUnion as a NewOutputRemoteElasticsearch

func (*NewOutputUnion) FromNewOutputElasticsearch

func (t *NewOutputUnion) FromNewOutputElasticsearch(v NewOutputElasticsearch) error

FromNewOutputElasticsearch overwrites any union data inside the NewOutputUnion as the provided NewOutputElasticsearch

func (*NewOutputUnion) FromNewOutputKafka

func (t *NewOutputUnion) FromNewOutputKafka(v NewOutputKafka) error

FromNewOutputKafka overwrites any union data inside the NewOutputUnion as the provided NewOutputKafka

func (*NewOutputUnion) FromNewOutputLogstash

func (t *NewOutputUnion) FromNewOutputLogstash(v NewOutputLogstash) error

FromNewOutputLogstash overwrites any union data inside the NewOutputUnion as the provided NewOutputLogstash

func (*NewOutputUnion) FromNewOutputRemoteElasticsearch

func (t *NewOutputUnion) FromNewOutputRemoteElasticsearch(v NewOutputRemoteElasticsearch) error

FromNewOutputRemoteElasticsearch overwrites any union data inside the NewOutputUnion as the provided NewOutputRemoteElasticsearch

func (NewOutputUnion) MarshalJSON

func (t NewOutputUnion) MarshalJSON() ([]byte, error)

func (*NewOutputUnion) MergeNewOutputElasticsearch

func (t *NewOutputUnion) MergeNewOutputElasticsearch(v NewOutputElasticsearch) error

MergeNewOutputElasticsearch performs a merge with any union data inside the NewOutputUnion, using the provided NewOutputElasticsearch

func (*NewOutputUnion) MergeNewOutputKafka

func (t *NewOutputUnion) MergeNewOutputKafka(v NewOutputKafka) error

MergeNewOutputKafka performs a merge with any union data inside the NewOutputUnion, using the provided NewOutputKafka

func (*NewOutputUnion) MergeNewOutputLogstash

func (t *NewOutputUnion) MergeNewOutputLogstash(v NewOutputLogstash) error

MergeNewOutputLogstash performs a merge with any union data inside the NewOutputUnion, using the provided NewOutputLogstash

func (*NewOutputUnion) MergeNewOutputRemoteElasticsearch

func (t *NewOutputUnion) MergeNewOutputRemoteElasticsearch(v NewOutputRemoteElasticsearch) error

MergeNewOutputRemoteElasticsearch performs a merge with any union data inside the NewOutputUnion, using the provided NewOutputRemoteElasticsearch

func (*NewOutputUnion) UnmarshalJSON

func (t *NewOutputUnion) UnmarshalJSON(b []byte) error

type OutputElasticsearch

type OutputElasticsearch struct {
	AllowEdit            *[]string                  `json:"allow_edit,omitempty"`
	CaSha256             *string                    `json:"ca_sha256"`
	CaTrustedFingerprint *string                    `json:"ca_trusted_fingerprint"`
	ConfigYaml           *string                    `json:"config_yaml"`
	Hosts                []string                   `json:"hosts"`
	Id                   *string                    `json:"id,omitempty"`
	IsDefault            *bool                      `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                      `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool                      `json:"is_internal,omitempty"`
	IsPreconfigured      *bool                      `json:"is_preconfigured,omitempty"`
	Name                 string                     `json:"name"`
	Preset               *OutputElasticsearchPreset `json:"preset,omitempty"`
	ProxyId              *string                    `json:"proxy_id"`
	Shipper              *OutputShipper             `json:"shipper"`
	Ssl                  *OutputSsl                 `json:"ssl"`
	Type                 OutputElasticsearchType    `json:"type"`
	AdditionalProperties map[string]interface{}     `json:"-"`
}

OutputElasticsearch defines model for output_elasticsearch.

func (OutputElasticsearch) Get

func (a OutputElasticsearch) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputElasticsearch. Returns the specified element and whether it was found

func (OutputElasticsearch) MarshalJSON

func (a OutputElasticsearch) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputElasticsearch to handle AdditionalProperties

func (*OutputElasticsearch) Set

func (a *OutputElasticsearch) Set(fieldName string, value interface{})

Setter for additional properties for OutputElasticsearch

func (*OutputElasticsearch) UnmarshalJSON

func (a *OutputElasticsearch) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputElasticsearch to handle AdditionalProperties

type OutputElasticsearchPreset

type OutputElasticsearchPreset string

OutputElasticsearchPreset defines model for OutputElasticsearch.Preset.

const (
	OutputElasticsearchPresetBalanced   OutputElasticsearchPreset = "balanced"
	OutputElasticsearchPresetCustom     OutputElasticsearchPreset = "custom"
	OutputElasticsearchPresetLatency    OutputElasticsearchPreset = "latency"
	OutputElasticsearchPresetScale      OutputElasticsearchPreset = "scale"
	OutputElasticsearchPresetThroughput OutputElasticsearchPreset = "throughput"
)

Defines values for OutputElasticsearchPreset.

type OutputElasticsearchType

type OutputElasticsearchType string

OutputElasticsearchType defines model for OutputElasticsearch.Type.

const (
	OutputElasticsearchTypeElasticsearch OutputElasticsearchType = "elasticsearch"
)

Defines values for OutputElasticsearchType.

type OutputKafka

type OutputKafka struct {
	AllowEdit            *[]string                   `json:"allow_edit,omitempty"`
	AuthType             OutputKafkaAuthType         `json:"auth_type"`
	BrokerTimeout        *float32                    `json:"broker_timeout,omitempty"`
	CaSha256             *string                     `json:"ca_sha256"`
	CaTrustedFingerprint *string                     `json:"ca_trusted_fingerprint"`
	ClientId             *string                     `json:"client_id,omitempty"`
	Compression          *OutputKafkaCompression     `json:"compression,omitempty"`
	CompressionLevel     interface{}                 `json:"compression_level"`
	ConfigYaml           *string                     `json:"config_yaml"`
	ConnectionType       interface{}                 `json:"connection_type"`
	Hash                 *OutputKafka_Hash           `json:"hash,omitempty"`
	Headers              *[]OutputKafka_Headers_Item `json:"headers,omitempty"`
	Hosts                []string                    `json:"hosts"`
	Id                   *string                     `json:"id,omitempty"`
	IsDefault            *bool                       `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                       `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool                       `json:"is_internal,omitempty"`
	IsPreconfigured      *bool                       `json:"is_preconfigured,omitempty"`
	Key                  *string                     `json:"key,omitempty"`
	Name                 string                      `json:"name"`
	Partition            *OutputKafkaPartition       `json:"partition,omitempty"`
	Password             interface{}                 `json:"password"`
	ProxyId              *string                     `json:"proxy_id"`
	Random               *OutputKafka_Random         `json:"random,omitempty"`
	RequiredAcks         *OutputKafkaRequiredAcks    `json:"required_acks,omitempty"`
	RoundRobin           *OutputKafka_RoundRobin     `json:"round_robin,omitempty"`
	Sasl                 *OutputKafka_Sasl           `json:"sasl"`
	Secrets              *OutputKafka_Secrets        `json:"secrets,omitempty"`
	Shipper              *OutputShipper              `json:"shipper"`
	Ssl                  *OutputSsl                  `json:"ssl"`
	Timeout              *float32                    `json:"timeout,omitempty"`
	Topic                *string                     `json:"topic,omitempty"`
	Type                 OutputKafkaType             `json:"type"`
	Username             interface{}                 `json:"username"`
	Version              *string                     `json:"version,omitempty"`
	AdditionalProperties map[string]interface{}      `json:"-"`
}

OutputKafka defines model for output_kafka.

func (OutputKafka) Get

func (a OutputKafka) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafka. Returns the specified element and whether it was found

func (OutputKafka) MarshalJSON

func (a OutputKafka) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafka to handle AdditionalProperties

func (*OutputKafka) Set

func (a *OutputKafka) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafka

func (*OutputKafka) UnmarshalJSON

func (a *OutputKafka) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafka to handle AdditionalProperties

type OutputKafkaAuthType

type OutputKafkaAuthType string

OutputKafkaAuthType defines model for OutputKafka.AuthType.

const (
	OutputKafkaAuthTypeKerberos OutputKafkaAuthType = "kerberos"
	OutputKafkaAuthTypeNone     OutputKafkaAuthType = "none"
	OutputKafkaAuthTypeSsl      OutputKafkaAuthType = "ssl"
	OutputKafkaAuthTypeUserPass OutputKafkaAuthType = "user_pass"
)

Defines values for OutputKafkaAuthType.

type OutputKafkaCompression

type OutputKafkaCompression string

OutputKafkaCompression defines model for OutputKafka.Compression.

const (
	OutputKafkaCompressionGzip   OutputKafkaCompression = "gzip"
	OutputKafkaCompressionLz4    OutputKafkaCompression = "lz4"
	OutputKafkaCompressionNone   OutputKafkaCompression = "none"
	OutputKafkaCompressionSnappy OutputKafkaCompression = "snappy"
)

Defines values for OutputKafkaCompression.

type OutputKafkaPartition

type OutputKafkaPartition string

OutputKafkaPartition defines model for OutputKafka.Partition.

const (
	OutputKafkaPartitionHash       OutputKafkaPartition = "hash"
	OutputKafkaPartitionRandom     OutputKafkaPartition = "random"
	OutputKafkaPartitionRoundRobin OutputKafkaPartition = "round_robin"
)

Defines values for OutputKafkaPartition.

type OutputKafkaRequiredAcks

type OutputKafkaRequiredAcks int

OutputKafkaRequiredAcks defines model for OutputKafka.RequiredAcks.

const (
	OutputKafkaRequiredAcksMinus1 OutputKafkaRequiredAcks = -1
	OutputKafkaRequiredAcksN0     OutputKafkaRequiredAcks = 0
	OutputKafkaRequiredAcksN1     OutputKafkaRequiredAcks = 1
)

Defines values for OutputKafkaRequiredAcks.

type OutputKafkaSaslMechanism

type OutputKafkaSaslMechanism string

OutputKafkaSaslMechanism defines model for OutputKafka.Sasl.Mechanism.

const (
	OutputKafkaSaslMechanismPLAIN       OutputKafkaSaslMechanism = "PLAIN"
	OutputKafkaSaslMechanismSCRAMSHA256 OutputKafkaSaslMechanism = "SCRAM-SHA-256"
	OutputKafkaSaslMechanismSCRAMSHA512 OutputKafkaSaslMechanism = "SCRAM-SHA-512"
)

Defines values for OutputKafkaSaslMechanism.

type OutputKafkaSecretsPassword0

type OutputKafkaSecretsPassword0 struct {
	Id                   string                 `json:"id"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

OutputKafkaSecretsPassword0 defines model for .

func (OutputKafkaSecretsPassword0) Get

func (a OutputKafkaSecretsPassword0) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafkaSecretsPassword0. Returns the specified element and whether it was found

func (OutputKafkaSecretsPassword0) MarshalJSON

func (a OutputKafkaSecretsPassword0) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafkaSecretsPassword0 to handle AdditionalProperties

func (*OutputKafkaSecretsPassword0) Set

func (a *OutputKafkaSecretsPassword0) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafkaSecretsPassword0

func (*OutputKafkaSecretsPassword0) UnmarshalJSON

func (a *OutputKafkaSecretsPassword0) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafkaSecretsPassword0 to handle AdditionalProperties

type OutputKafkaSecretsPassword1

type OutputKafkaSecretsPassword1 = string

OutputKafkaSecretsPassword1 defines model for .

type OutputKafkaSecretsSslKey0

type OutputKafkaSecretsSslKey0 struct {
	Id                   string                 `json:"id"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

OutputKafkaSecretsSslKey0 defines model for .

func (OutputKafkaSecretsSslKey0) Get

func (a OutputKafkaSecretsSslKey0) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafkaSecretsSslKey0. Returns the specified element and whether it was found

func (OutputKafkaSecretsSslKey0) MarshalJSON

func (a OutputKafkaSecretsSslKey0) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafkaSecretsSslKey0 to handle AdditionalProperties

func (*OutputKafkaSecretsSslKey0) Set

func (a *OutputKafkaSecretsSslKey0) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafkaSecretsSslKey0

func (*OutputKafkaSecretsSslKey0) UnmarshalJSON

func (a *OutputKafkaSecretsSslKey0) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafkaSecretsSslKey0 to handle AdditionalProperties

type OutputKafkaSecretsSslKey1

type OutputKafkaSecretsSslKey1 = string

OutputKafkaSecretsSslKey1 defines model for .

type OutputKafkaType

type OutputKafkaType string

OutputKafkaType defines model for OutputKafka.Type.

const (
	OutputKafkaTypeKafka OutputKafkaType = "kafka"
)

Defines values for OutputKafkaType.

type OutputKafka_Hash

type OutputKafka_Hash struct {
	Hash                 *string                `json:"hash,omitempty"`
	Random               *bool                  `json:"random,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

OutputKafka_Hash defines model for OutputKafka.Hash.

func (OutputKafka_Hash) Get

func (a OutputKafka_Hash) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafka_Hash. Returns the specified element and whether it was found

func (OutputKafka_Hash) MarshalJSON

func (a OutputKafka_Hash) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafka_Hash to handle AdditionalProperties

func (*OutputKafka_Hash) Set

func (a *OutputKafka_Hash) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafka_Hash

func (*OutputKafka_Hash) UnmarshalJSON

func (a *OutputKafka_Hash) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafka_Hash to handle AdditionalProperties

type OutputKafka_Headers_Item

type OutputKafka_Headers_Item struct {
	Key                  string                 `json:"key"`
	Value                string                 `json:"value"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

OutputKafka_Headers_Item defines model for output_kafka.headers.Item.

func (OutputKafka_Headers_Item) Get

func (a OutputKafka_Headers_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafka_Headers_Item. Returns the specified element and whether it was found

func (OutputKafka_Headers_Item) MarshalJSON

func (a OutputKafka_Headers_Item) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafka_Headers_Item to handle AdditionalProperties

func (*OutputKafka_Headers_Item) Set

func (a *OutputKafka_Headers_Item) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafka_Headers_Item

func (*OutputKafka_Headers_Item) UnmarshalJSON

func (a *OutputKafka_Headers_Item) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafka_Headers_Item to handle AdditionalProperties

type OutputKafka_Random

type OutputKafka_Random struct {
	GroupEvents          *float32               `json:"group_events,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

OutputKafka_Random defines model for OutputKafka.Random.

func (OutputKafka_Random) Get

func (a OutputKafka_Random) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafka_Random. Returns the specified element and whether it was found

func (OutputKafka_Random) MarshalJSON

func (a OutputKafka_Random) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafka_Random to handle AdditionalProperties

func (*OutputKafka_Random) Set

func (a *OutputKafka_Random) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafka_Random

func (*OutputKafka_Random) UnmarshalJSON

func (a *OutputKafka_Random) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafka_Random to handle AdditionalProperties

type OutputKafka_RoundRobin

type OutputKafka_RoundRobin struct {
	GroupEvents          *float32               `json:"group_events,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

OutputKafka_RoundRobin defines model for OutputKafka.RoundRobin.

func (OutputKafka_RoundRobin) Get

func (a OutputKafka_RoundRobin) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafka_RoundRobin. Returns the specified element and whether it was found

func (OutputKafka_RoundRobin) MarshalJSON

func (a OutputKafka_RoundRobin) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafka_RoundRobin to handle AdditionalProperties

func (*OutputKafka_RoundRobin) Set

func (a *OutputKafka_RoundRobin) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafka_RoundRobin

func (*OutputKafka_RoundRobin) UnmarshalJSON

func (a *OutputKafka_RoundRobin) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafka_RoundRobin to handle AdditionalProperties

type OutputKafka_Sasl

type OutputKafka_Sasl struct {
	Mechanism            *OutputKafkaSaslMechanism `json:"mechanism,omitempty"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

OutputKafka_Sasl defines model for OutputKafka.Sasl.

func (OutputKafka_Sasl) Get

func (a OutputKafka_Sasl) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafka_Sasl. Returns the specified element and whether it was found

func (OutputKafka_Sasl) MarshalJSON

func (a OutputKafka_Sasl) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafka_Sasl to handle AdditionalProperties

func (*OutputKafka_Sasl) Set

func (a *OutputKafka_Sasl) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafka_Sasl

func (*OutputKafka_Sasl) UnmarshalJSON

func (a *OutputKafka_Sasl) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafka_Sasl to handle AdditionalProperties

type OutputKafka_Secrets

type OutputKafka_Secrets struct {
	Password             *OutputKafka_Secrets_Password `json:"password,omitempty"`
	Ssl                  *OutputKafka_Secrets_Ssl      `json:"ssl,omitempty"`
	AdditionalProperties map[string]interface{}        `json:"-"`
}

OutputKafka_Secrets defines model for OutputKafka.Secrets.

func (OutputKafka_Secrets) Get

func (a OutputKafka_Secrets) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafka_Secrets. Returns the specified element and whether it was found

func (OutputKafka_Secrets) MarshalJSON

func (a OutputKafka_Secrets) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafka_Secrets to handle AdditionalProperties

func (*OutputKafka_Secrets) Set

func (a *OutputKafka_Secrets) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafka_Secrets

func (*OutputKafka_Secrets) UnmarshalJSON

func (a *OutputKafka_Secrets) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafka_Secrets to handle AdditionalProperties

type OutputKafka_Secrets_Password

type OutputKafka_Secrets_Password struct {
	// contains filtered or unexported fields
}

OutputKafka_Secrets_Password defines model for OutputKafka.Secrets.Password.

func (OutputKafka_Secrets_Password) AsOutputKafkaSecretsPassword0

func (t OutputKafka_Secrets_Password) AsOutputKafkaSecretsPassword0() (OutputKafkaSecretsPassword0, error)

AsOutputKafkaSecretsPassword0 returns the union data inside the OutputKafka_Secrets_Password as a OutputKafkaSecretsPassword0

func (OutputKafka_Secrets_Password) AsOutputKafkaSecretsPassword1

func (t OutputKafka_Secrets_Password) AsOutputKafkaSecretsPassword1() (OutputKafkaSecretsPassword1, error)

AsOutputKafkaSecretsPassword1 returns the union data inside the OutputKafka_Secrets_Password as a OutputKafkaSecretsPassword1

func (*OutputKafka_Secrets_Password) FromOutputKafkaSecretsPassword0

func (t *OutputKafka_Secrets_Password) FromOutputKafkaSecretsPassword0(v OutputKafkaSecretsPassword0) error

FromOutputKafkaSecretsPassword0 overwrites any union data inside the OutputKafka_Secrets_Password as the provided OutputKafkaSecretsPassword0

func (*OutputKafka_Secrets_Password) FromOutputKafkaSecretsPassword1

func (t *OutputKafka_Secrets_Password) FromOutputKafkaSecretsPassword1(v OutputKafkaSecretsPassword1) error

FromOutputKafkaSecretsPassword1 overwrites any union data inside the OutputKafka_Secrets_Password as the provided OutputKafkaSecretsPassword1

func (OutputKafka_Secrets_Password) MarshalJSON

func (t OutputKafka_Secrets_Password) MarshalJSON() ([]byte, error)

func (*OutputKafka_Secrets_Password) MergeOutputKafkaSecretsPassword0

func (t *OutputKafka_Secrets_Password) MergeOutputKafkaSecretsPassword0(v OutputKafkaSecretsPassword0) error

MergeOutputKafkaSecretsPassword0 performs a merge with any union data inside the OutputKafka_Secrets_Password, using the provided OutputKafkaSecretsPassword0

func (*OutputKafka_Secrets_Password) MergeOutputKafkaSecretsPassword1

func (t *OutputKafka_Secrets_Password) MergeOutputKafkaSecretsPassword1(v OutputKafkaSecretsPassword1) error

MergeOutputKafkaSecretsPassword1 performs a merge with any union data inside the OutputKafka_Secrets_Password, using the provided OutputKafkaSecretsPassword1

func (*OutputKafka_Secrets_Password) UnmarshalJSON

func (t *OutputKafka_Secrets_Password) UnmarshalJSON(b []byte) error

type OutputKafka_Secrets_Ssl

type OutputKafka_Secrets_Ssl struct {
	Key                  OutputKafka_Secrets_Ssl_Key `json:"key"`
	AdditionalProperties map[string]interface{}      `json:"-"`
}

OutputKafka_Secrets_Ssl defines model for OutputKafka.Secrets.Ssl.

func (OutputKafka_Secrets_Ssl) Get

func (a OutputKafka_Secrets_Ssl) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputKafka_Secrets_Ssl. Returns the specified element and whether it was found

func (OutputKafka_Secrets_Ssl) MarshalJSON

func (a OutputKafka_Secrets_Ssl) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputKafka_Secrets_Ssl to handle AdditionalProperties

func (*OutputKafka_Secrets_Ssl) Set

func (a *OutputKafka_Secrets_Ssl) Set(fieldName string, value interface{})

Setter for additional properties for OutputKafka_Secrets_Ssl

func (*OutputKafka_Secrets_Ssl) UnmarshalJSON

func (a *OutputKafka_Secrets_Ssl) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputKafka_Secrets_Ssl to handle AdditionalProperties

type OutputKafka_Secrets_Ssl_Key

type OutputKafka_Secrets_Ssl_Key struct {
	// contains filtered or unexported fields
}

OutputKafka_Secrets_Ssl_Key defines model for OutputKafka.Secrets.Ssl.Key.

func (OutputKafka_Secrets_Ssl_Key) AsOutputKafkaSecretsSslKey0

func (t OutputKafka_Secrets_Ssl_Key) AsOutputKafkaSecretsSslKey0() (OutputKafkaSecretsSslKey0, error)

AsOutputKafkaSecretsSslKey0 returns the union data inside the OutputKafka_Secrets_Ssl_Key as a OutputKafkaSecretsSslKey0

func (OutputKafka_Secrets_Ssl_Key) AsOutputKafkaSecretsSslKey1

func (t OutputKafka_Secrets_Ssl_Key) AsOutputKafkaSecretsSslKey1() (OutputKafkaSecretsSslKey1, error)

AsOutputKafkaSecretsSslKey1 returns the union data inside the OutputKafka_Secrets_Ssl_Key as a OutputKafkaSecretsSslKey1

func (*OutputKafka_Secrets_Ssl_Key) FromOutputKafkaSecretsSslKey0

func (t *OutputKafka_Secrets_Ssl_Key) FromOutputKafkaSecretsSslKey0(v OutputKafkaSecretsSslKey0) error

FromOutputKafkaSecretsSslKey0 overwrites any union data inside the OutputKafka_Secrets_Ssl_Key as the provided OutputKafkaSecretsSslKey0

func (*OutputKafka_Secrets_Ssl_Key) FromOutputKafkaSecretsSslKey1

func (t *OutputKafka_Secrets_Ssl_Key) FromOutputKafkaSecretsSslKey1(v OutputKafkaSecretsSslKey1) error

FromOutputKafkaSecretsSslKey1 overwrites any union data inside the OutputKafka_Secrets_Ssl_Key as the provided OutputKafkaSecretsSslKey1

func (OutputKafka_Secrets_Ssl_Key) MarshalJSON

func (t OutputKafka_Secrets_Ssl_Key) MarshalJSON() ([]byte, error)

func (*OutputKafka_Secrets_Ssl_Key) MergeOutputKafkaSecretsSslKey0

func (t *OutputKafka_Secrets_Ssl_Key) MergeOutputKafkaSecretsSslKey0(v OutputKafkaSecretsSslKey0) error

MergeOutputKafkaSecretsSslKey0 performs a merge with any union data inside the OutputKafka_Secrets_Ssl_Key, using the provided OutputKafkaSecretsSslKey0

func (*OutputKafka_Secrets_Ssl_Key) MergeOutputKafkaSecretsSslKey1

func (t *OutputKafka_Secrets_Ssl_Key) MergeOutputKafkaSecretsSslKey1(v OutputKafkaSecretsSslKey1) error

MergeOutputKafkaSecretsSslKey1 performs a merge with any union data inside the OutputKafka_Secrets_Ssl_Key, using the provided OutputKafkaSecretsSslKey1

func (*OutputKafka_Secrets_Ssl_Key) UnmarshalJSON

func (t *OutputKafka_Secrets_Ssl_Key) UnmarshalJSON(b []byte) error

type OutputLogstash

type OutputLogstash struct {
	AllowEdit            *[]string               `json:"allow_edit,omitempty"`
	CaSha256             *string                 `json:"ca_sha256"`
	CaTrustedFingerprint *string                 `json:"ca_trusted_fingerprint"`
	ConfigYaml           *string                 `json:"config_yaml"`
	Hosts                []string                `json:"hosts"`
	Id                   *string                 `json:"id,omitempty"`
	IsDefault            *bool                   `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                   `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool                   `json:"is_internal,omitempty"`
	IsPreconfigured      *bool                   `json:"is_preconfigured,omitempty"`
	Name                 string                  `json:"name"`
	ProxyId              *string                 `json:"proxy_id"`
	Secrets              *OutputLogstash_Secrets `json:"secrets,omitempty"`
	Shipper              *OutputShipper          `json:"shipper"`
	Ssl                  *OutputSsl              `json:"ssl"`
	Type                 OutputLogstashType      `json:"type"`
	AdditionalProperties map[string]interface{}  `json:"-"`
}

OutputLogstash defines model for output_logstash.

func (OutputLogstash) Get

func (a OutputLogstash) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputLogstash. Returns the specified element and whether it was found

func (OutputLogstash) MarshalJSON

func (a OutputLogstash) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputLogstash to handle AdditionalProperties

func (*OutputLogstash) Set

func (a *OutputLogstash) Set(fieldName string, value interface{})

Setter for additional properties for OutputLogstash

func (*OutputLogstash) UnmarshalJSON

func (a *OutputLogstash) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputLogstash to handle AdditionalProperties

type OutputLogstashSecretsSslKey0

type OutputLogstashSecretsSslKey0 struct {
	Id                   string                 `json:"id"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

OutputLogstashSecretsSslKey0 defines model for .

func (OutputLogstashSecretsSslKey0) Get

func (a OutputLogstashSecretsSslKey0) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputLogstashSecretsSslKey0. Returns the specified element and whether it was found

func (OutputLogstashSecretsSslKey0) MarshalJSON

func (a OutputLogstashSecretsSslKey0) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputLogstashSecretsSslKey0 to handle AdditionalProperties

func (*OutputLogstashSecretsSslKey0) Set

func (a *OutputLogstashSecretsSslKey0) Set(fieldName string, value interface{})

Setter for additional properties for OutputLogstashSecretsSslKey0

func (*OutputLogstashSecretsSslKey0) UnmarshalJSON

func (a *OutputLogstashSecretsSslKey0) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputLogstashSecretsSslKey0 to handle AdditionalProperties

type OutputLogstashSecretsSslKey1

type OutputLogstashSecretsSslKey1 = string

OutputLogstashSecretsSslKey1 defines model for .

type OutputLogstashType

type OutputLogstashType string

OutputLogstashType defines model for OutputLogstash.Type.

const (
	OutputLogstashTypeLogstash OutputLogstashType = "logstash"
)

Defines values for OutputLogstashType.

type OutputLogstash_Secrets

type OutputLogstash_Secrets struct {
	Ssl                  *OutputLogstash_Secrets_Ssl `json:"ssl,omitempty"`
	AdditionalProperties map[string]interface{}      `json:"-"`
}

OutputLogstash_Secrets defines model for OutputLogstash.Secrets.

func (OutputLogstash_Secrets) Get

func (a OutputLogstash_Secrets) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputLogstash_Secrets. Returns the specified element and whether it was found

func (OutputLogstash_Secrets) MarshalJSON

func (a OutputLogstash_Secrets) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputLogstash_Secrets to handle AdditionalProperties

func (*OutputLogstash_Secrets) Set

func (a *OutputLogstash_Secrets) Set(fieldName string, value interface{})

Setter for additional properties for OutputLogstash_Secrets

func (*OutputLogstash_Secrets) UnmarshalJSON

func (a *OutputLogstash_Secrets) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputLogstash_Secrets to handle AdditionalProperties

type OutputLogstash_Secrets_Ssl

type OutputLogstash_Secrets_Ssl struct {
	Key                  *OutputLogstash_Secrets_Ssl_Key `json:"key,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

OutputLogstash_Secrets_Ssl defines model for OutputLogstash.Secrets.Ssl.

func (OutputLogstash_Secrets_Ssl) Get

func (a OutputLogstash_Secrets_Ssl) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputLogstash_Secrets_Ssl. Returns the specified element and whether it was found

func (OutputLogstash_Secrets_Ssl) MarshalJSON

func (a OutputLogstash_Secrets_Ssl) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputLogstash_Secrets_Ssl to handle AdditionalProperties

func (*OutputLogstash_Secrets_Ssl) Set

func (a *OutputLogstash_Secrets_Ssl) Set(fieldName string, value interface{})

Setter for additional properties for OutputLogstash_Secrets_Ssl

func (*OutputLogstash_Secrets_Ssl) UnmarshalJSON

func (a *OutputLogstash_Secrets_Ssl) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputLogstash_Secrets_Ssl to handle AdditionalProperties

type OutputLogstash_Secrets_Ssl_Key

type OutputLogstash_Secrets_Ssl_Key struct {
	// contains filtered or unexported fields
}

OutputLogstash_Secrets_Ssl_Key defines model for OutputLogstash.Secrets.Ssl.Key.

func (OutputLogstash_Secrets_Ssl_Key) AsOutputLogstashSecretsSslKey0

func (t OutputLogstash_Secrets_Ssl_Key) AsOutputLogstashSecretsSslKey0() (OutputLogstashSecretsSslKey0, error)

AsOutputLogstashSecretsSslKey0 returns the union data inside the OutputLogstash_Secrets_Ssl_Key as a OutputLogstashSecretsSslKey0

func (OutputLogstash_Secrets_Ssl_Key) AsOutputLogstashSecretsSslKey1

func (t OutputLogstash_Secrets_Ssl_Key) AsOutputLogstashSecretsSslKey1() (OutputLogstashSecretsSslKey1, error)

AsOutputLogstashSecretsSslKey1 returns the union data inside the OutputLogstash_Secrets_Ssl_Key as a OutputLogstashSecretsSslKey1

func (*OutputLogstash_Secrets_Ssl_Key) FromOutputLogstashSecretsSslKey0

func (t *OutputLogstash_Secrets_Ssl_Key) FromOutputLogstashSecretsSslKey0(v OutputLogstashSecretsSslKey0) error

FromOutputLogstashSecretsSslKey0 overwrites any union data inside the OutputLogstash_Secrets_Ssl_Key as the provided OutputLogstashSecretsSslKey0

func (*OutputLogstash_Secrets_Ssl_Key) FromOutputLogstashSecretsSslKey1

func (t *OutputLogstash_Secrets_Ssl_Key) FromOutputLogstashSecretsSslKey1(v OutputLogstashSecretsSslKey1) error

FromOutputLogstashSecretsSslKey1 overwrites any union data inside the OutputLogstash_Secrets_Ssl_Key as the provided OutputLogstashSecretsSslKey1

func (OutputLogstash_Secrets_Ssl_Key) MarshalJSON

func (t OutputLogstash_Secrets_Ssl_Key) MarshalJSON() ([]byte, error)

func (*OutputLogstash_Secrets_Ssl_Key) MergeOutputLogstashSecretsSslKey0

func (t *OutputLogstash_Secrets_Ssl_Key) MergeOutputLogstashSecretsSslKey0(v OutputLogstashSecretsSslKey0) error

MergeOutputLogstashSecretsSslKey0 performs a merge with any union data inside the OutputLogstash_Secrets_Ssl_Key, using the provided OutputLogstashSecretsSslKey0

func (*OutputLogstash_Secrets_Ssl_Key) MergeOutputLogstashSecretsSslKey1

func (t *OutputLogstash_Secrets_Ssl_Key) MergeOutputLogstashSecretsSslKey1(v OutputLogstashSecretsSslKey1) error

MergeOutputLogstashSecretsSslKey1 performs a merge with any union data inside the OutputLogstash_Secrets_Ssl_Key, using the provided OutputLogstashSecretsSslKey1

func (*OutputLogstash_Secrets_Ssl_Key) UnmarshalJSON

func (t *OutputLogstash_Secrets_Ssl_Key) UnmarshalJSON(b []byte) error

type OutputRemoteElasticsearch

type OutputRemoteElasticsearch struct {
	AllowEdit            *[]string                          `json:"allow_edit,omitempty"`
	CaSha256             *string                            `json:"ca_sha256"`
	CaTrustedFingerprint *string                            `json:"ca_trusted_fingerprint"`
	ConfigYaml           *string                            `json:"config_yaml"`
	Hosts                []string                           `json:"hosts"`
	Id                   *string                            `json:"id,omitempty"`
	IsDefault            *bool                              `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                              `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool                              `json:"is_internal,omitempty"`
	IsPreconfigured      *bool                              `json:"is_preconfigured,omitempty"`
	Name                 string                             `json:"name"`
	Preset               *OutputRemoteElasticsearchPreset   `json:"preset,omitempty"`
	ProxyId              *string                            `json:"proxy_id"`
	Secrets              *OutputRemoteElasticsearch_Secrets `json:"secrets,omitempty"`
	ServiceToken         *string                            `json:"service_token"`
	Shipper              *OutputShipper                     `json:"shipper"`
	Ssl                  *OutputSsl                         `json:"ssl"`
	Type                 OutputRemoteElasticsearchType      `json:"type"`
	AdditionalProperties map[string]interface{}             `json:"-"`
}

OutputRemoteElasticsearch defines model for output_remote_elasticsearch.

func (OutputRemoteElasticsearch) Get

func (a OutputRemoteElasticsearch) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputRemoteElasticsearch. Returns the specified element and whether it was found

func (OutputRemoteElasticsearch) MarshalJSON

func (a OutputRemoteElasticsearch) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputRemoteElasticsearch to handle AdditionalProperties

func (*OutputRemoteElasticsearch) Set

func (a *OutputRemoteElasticsearch) Set(fieldName string, value interface{})

Setter for additional properties for OutputRemoteElasticsearch

func (*OutputRemoteElasticsearch) UnmarshalJSON

func (a *OutputRemoteElasticsearch) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputRemoteElasticsearch to handle AdditionalProperties

type OutputRemoteElasticsearchPreset

type OutputRemoteElasticsearchPreset string

OutputRemoteElasticsearchPreset defines model for OutputRemoteElasticsearch.Preset.

const (
	OutputRemoteElasticsearchPresetBalanced   OutputRemoteElasticsearchPreset = "balanced"
	OutputRemoteElasticsearchPresetCustom     OutputRemoteElasticsearchPreset = "custom"
	OutputRemoteElasticsearchPresetLatency    OutputRemoteElasticsearchPreset = "latency"
	OutputRemoteElasticsearchPresetScale      OutputRemoteElasticsearchPreset = "scale"
	OutputRemoteElasticsearchPresetThroughput OutputRemoteElasticsearchPreset = "throughput"
)

Defines values for OutputRemoteElasticsearchPreset.

type OutputRemoteElasticsearchSecretsServiceToken0

type OutputRemoteElasticsearchSecretsServiceToken0 struct {
	Id                   string                 `json:"id"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

OutputRemoteElasticsearchSecretsServiceToken0 defines model for .

func (OutputRemoteElasticsearchSecretsServiceToken0) Get

func (a OutputRemoteElasticsearchSecretsServiceToken0) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputRemoteElasticsearchSecretsServiceToken0. Returns the specified element and whether it was found

func (OutputRemoteElasticsearchSecretsServiceToken0) MarshalJSON

Override default JSON handling for OutputRemoteElasticsearchSecretsServiceToken0 to handle AdditionalProperties

func (*OutputRemoteElasticsearchSecretsServiceToken0) Set

func (a *OutputRemoteElasticsearchSecretsServiceToken0) Set(fieldName string, value interface{})

Setter for additional properties for OutputRemoteElasticsearchSecretsServiceToken0

func (*OutputRemoteElasticsearchSecretsServiceToken0) UnmarshalJSON

Override default JSON handling for OutputRemoteElasticsearchSecretsServiceToken0 to handle AdditionalProperties

type OutputRemoteElasticsearchSecretsServiceToken1

type OutputRemoteElasticsearchSecretsServiceToken1 = string

OutputRemoteElasticsearchSecretsServiceToken1 defines model for .

type OutputRemoteElasticsearchType

type OutputRemoteElasticsearchType string

OutputRemoteElasticsearchType defines model for OutputRemoteElasticsearch.Type.

const (
	OutputRemoteElasticsearchTypeRemoteElasticsearch OutputRemoteElasticsearchType = "remote_elasticsearch"
)

Defines values for OutputRemoteElasticsearchType.

type OutputRemoteElasticsearch_Secrets

type OutputRemoteElasticsearch_Secrets struct {
	ServiceToken         *OutputRemoteElasticsearch_Secrets_ServiceToken `json:"service_token,omitempty"`
	AdditionalProperties map[string]interface{}                          `json:"-"`
}

OutputRemoteElasticsearch_Secrets defines model for OutputRemoteElasticsearch.Secrets.

func (OutputRemoteElasticsearch_Secrets) Get

func (a OutputRemoteElasticsearch_Secrets) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputRemoteElasticsearch_Secrets. Returns the specified element and whether it was found

func (OutputRemoteElasticsearch_Secrets) MarshalJSON

func (a OutputRemoteElasticsearch_Secrets) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputRemoteElasticsearch_Secrets to handle AdditionalProperties

func (*OutputRemoteElasticsearch_Secrets) Set

func (a *OutputRemoteElasticsearch_Secrets) Set(fieldName string, value interface{})

Setter for additional properties for OutputRemoteElasticsearch_Secrets

func (*OutputRemoteElasticsearch_Secrets) UnmarshalJSON

func (a *OutputRemoteElasticsearch_Secrets) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputRemoteElasticsearch_Secrets to handle AdditionalProperties

type OutputRemoteElasticsearch_Secrets_ServiceToken

type OutputRemoteElasticsearch_Secrets_ServiceToken struct {
	// contains filtered or unexported fields
}

OutputRemoteElasticsearch_Secrets_ServiceToken defines model for OutputRemoteElasticsearch.Secrets.ServiceToken.

func (OutputRemoteElasticsearch_Secrets_ServiceToken) AsOutputRemoteElasticsearchSecretsServiceToken0

func (t OutputRemoteElasticsearch_Secrets_ServiceToken) AsOutputRemoteElasticsearchSecretsServiceToken0() (OutputRemoteElasticsearchSecretsServiceToken0, error)

AsOutputRemoteElasticsearchSecretsServiceToken0 returns the union data inside the OutputRemoteElasticsearch_Secrets_ServiceToken as a OutputRemoteElasticsearchSecretsServiceToken0

func (OutputRemoteElasticsearch_Secrets_ServiceToken) AsOutputRemoteElasticsearchSecretsServiceToken1

func (t OutputRemoteElasticsearch_Secrets_ServiceToken) AsOutputRemoteElasticsearchSecretsServiceToken1() (OutputRemoteElasticsearchSecretsServiceToken1, error)

AsOutputRemoteElasticsearchSecretsServiceToken1 returns the union data inside the OutputRemoteElasticsearch_Secrets_ServiceToken as a OutputRemoteElasticsearchSecretsServiceToken1

func (*OutputRemoteElasticsearch_Secrets_ServiceToken) FromOutputRemoteElasticsearchSecretsServiceToken0

func (t *OutputRemoteElasticsearch_Secrets_ServiceToken) FromOutputRemoteElasticsearchSecretsServiceToken0(v OutputRemoteElasticsearchSecretsServiceToken0) error

FromOutputRemoteElasticsearchSecretsServiceToken0 overwrites any union data inside the OutputRemoteElasticsearch_Secrets_ServiceToken as the provided OutputRemoteElasticsearchSecretsServiceToken0

func (*OutputRemoteElasticsearch_Secrets_ServiceToken) FromOutputRemoteElasticsearchSecretsServiceToken1

func (t *OutputRemoteElasticsearch_Secrets_ServiceToken) FromOutputRemoteElasticsearchSecretsServiceToken1(v OutputRemoteElasticsearchSecretsServiceToken1) error

FromOutputRemoteElasticsearchSecretsServiceToken1 overwrites any union data inside the OutputRemoteElasticsearch_Secrets_ServiceToken as the provided OutputRemoteElasticsearchSecretsServiceToken1

func (OutputRemoteElasticsearch_Secrets_ServiceToken) MarshalJSON

func (*OutputRemoteElasticsearch_Secrets_ServiceToken) MergeOutputRemoteElasticsearchSecretsServiceToken0

func (t *OutputRemoteElasticsearch_Secrets_ServiceToken) MergeOutputRemoteElasticsearchSecretsServiceToken0(v OutputRemoteElasticsearchSecretsServiceToken0) error

MergeOutputRemoteElasticsearchSecretsServiceToken0 performs a merge with any union data inside the OutputRemoteElasticsearch_Secrets_ServiceToken, using the provided OutputRemoteElasticsearchSecretsServiceToken0

func (*OutputRemoteElasticsearch_Secrets_ServiceToken) MergeOutputRemoteElasticsearchSecretsServiceToken1

func (t *OutputRemoteElasticsearch_Secrets_ServiceToken) MergeOutputRemoteElasticsearchSecretsServiceToken1(v OutputRemoteElasticsearchSecretsServiceToken1) error

MergeOutputRemoteElasticsearchSecretsServiceToken1 performs a merge with any union data inside the OutputRemoteElasticsearch_Secrets_ServiceToken, using the provided OutputRemoteElasticsearchSecretsServiceToken1

func (*OutputRemoteElasticsearch_Secrets_ServiceToken) UnmarshalJSON

type OutputShipper

type OutputShipper struct {
	CompressionLevel            *float32               `json:"compression_level"`
	DiskQueueCompressionEnabled *bool                  `json:"disk_queue_compression_enabled"`
	DiskQueueEnabled            *bool                  `json:"disk_queue_enabled"`
	DiskQueueEncryptionEnabled  *bool                  `json:"disk_queue_encryption_enabled"`
	DiskQueueMaxSize            *float32               `json:"disk_queue_max_size"`
	DiskQueuePath               *string                `json:"disk_queue_path"`
	Loadbalance                 *bool                  `json:"loadbalance"`
	MaxBatchBytes               *float32               `json:"max_batch_bytes"`
	MemQueueEvents              *float32               `json:"mem_queue_events"`
	QueueFlushTimeout           *float32               `json:"queue_flush_timeout"`
	AdditionalProperties        map[string]interface{} `json:"-"`
}

OutputShipper defines model for output_shipper.

func (OutputShipper) Get

func (a OutputShipper) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputShipper. Returns the specified element and whether it was found

func (OutputShipper) MarshalJSON

func (a OutputShipper) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputShipper to handle AdditionalProperties

func (*OutputShipper) Set

func (a *OutputShipper) Set(fieldName string, value interface{})

Setter for additional properties for OutputShipper

func (*OutputShipper) UnmarshalJSON

func (a *OutputShipper) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputShipper to handle AdditionalProperties

type OutputSsl

type OutputSsl struct {
	Certificate            *string                    `json:"certificate,omitempty"`
	CertificateAuthorities *[]string                  `json:"certificate_authorities,omitempty"`
	Key                    *string                    `json:"key,omitempty"`
	VerificationMode       *OutputSslVerificationMode `json:"verification_mode,omitempty"`
	AdditionalProperties   map[string]interface{}     `json:"-"`
}

OutputSsl defines model for output_ssl.

func (OutputSsl) Get

func (a OutputSsl) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for OutputSsl. Returns the specified element and whether it was found

func (OutputSsl) MarshalJSON

func (a OutputSsl) MarshalJSON() ([]byte, error)

Override default JSON handling for OutputSsl to handle AdditionalProperties

func (*OutputSsl) Set

func (a *OutputSsl) Set(fieldName string, value interface{})

Setter for additional properties for OutputSsl

func (*OutputSsl) UnmarshalJSON

func (a *OutputSsl) UnmarshalJSON(b []byte) error

Override default JSON handling for OutputSsl to handle AdditionalProperties

type OutputSslVerificationMode

type OutputSslVerificationMode string

OutputSslVerificationMode defines model for OutputSsl.VerificationMode.

const (
	OutputSslVerificationModeCertificate OutputSslVerificationMode = "certificate"
	OutputSslVerificationModeFull        OutputSslVerificationMode = "full"
	OutputSslVerificationModeNone        OutputSslVerificationMode = "none"
	OutputSslVerificationModeStrict      OutputSslVerificationMode = "strict"
)

Defines values for OutputSslVerificationMode.

type OutputUnion

type OutputUnion struct {
	// contains filtered or unexported fields
}

OutputUnion defines model for output_union.

func (OutputUnion) AsOutputElasticsearch

func (t OutputUnion) AsOutputElasticsearch() (OutputElasticsearch, error)

AsOutputElasticsearch returns the union data inside the OutputUnion as a OutputElasticsearch

func (OutputUnion) AsOutputKafka

func (t OutputUnion) AsOutputKafka() (OutputKafka, error)

AsOutputKafka returns the union data inside the OutputUnion as a OutputKafka

func (OutputUnion) AsOutputLogstash

func (t OutputUnion) AsOutputLogstash() (OutputLogstash, error)

AsOutputLogstash returns the union data inside the OutputUnion as a OutputLogstash

func (OutputUnion) AsOutputRemoteElasticsearch

func (t OutputUnion) AsOutputRemoteElasticsearch() (OutputRemoteElasticsearch, error)

AsOutputRemoteElasticsearch returns the union data inside the OutputUnion as a OutputRemoteElasticsearch

func (OutputUnion) Discriminator

func (t OutputUnion) Discriminator() (string, error)

func (*OutputUnion) FromOutputElasticsearch

func (t *OutputUnion) FromOutputElasticsearch(v OutputElasticsearch) error

FromOutputElasticsearch overwrites any union data inside the OutputUnion as the provided OutputElasticsearch

func (*OutputUnion) FromOutputKafka

func (t *OutputUnion) FromOutputKafka(v OutputKafka) error

FromOutputKafka overwrites any union data inside the OutputUnion as the provided OutputKafka

func (*OutputUnion) FromOutputLogstash

func (t *OutputUnion) FromOutputLogstash(v OutputLogstash) error

FromOutputLogstash overwrites any union data inside the OutputUnion as the provided OutputLogstash

func (*OutputUnion) FromOutputRemoteElasticsearch

func (t *OutputUnion) FromOutputRemoteElasticsearch(v OutputRemoteElasticsearch) error

FromOutputRemoteElasticsearch overwrites any union data inside the OutputUnion as the provided OutputRemoteElasticsearch

func (OutputUnion) MarshalJSON

func (t OutputUnion) MarshalJSON() ([]byte, error)

func (*OutputUnion) MergeOutputElasticsearch

func (t *OutputUnion) MergeOutputElasticsearch(v OutputElasticsearch) error

MergeOutputElasticsearch performs a merge with any union data inside the OutputUnion, using the provided OutputElasticsearch

func (*OutputUnion) MergeOutputKafka

func (t *OutputUnion) MergeOutputKafka(v OutputKafka) error

MergeOutputKafka performs a merge with any union data inside the OutputUnion, using the provided OutputKafka

func (*OutputUnion) MergeOutputLogstash

func (t *OutputUnion) MergeOutputLogstash(v OutputLogstash) error

MergeOutputLogstash performs a merge with any union data inside the OutputUnion, using the provided OutputLogstash

func (*OutputUnion) MergeOutputRemoteElasticsearch

func (t *OutputUnion) MergeOutputRemoteElasticsearch(v OutputRemoteElasticsearch) error

MergeOutputRemoteElasticsearch performs a merge with any union data inside the OutputUnion, using the provided OutputRemoteElasticsearch

func (*OutputUnion) UnmarshalJSON

func (t *OutputUnion) UnmarshalJSON(b []byte) error

func (OutputUnion) ValueByDiscriminator

func (t OutputUnion) ValueByDiscriminator() (interface{}, error)

type PackageInfo

type PackageInfo struct {
	Agent *struct {
		Privileges *struct {
			Root *bool `json:"root,omitempty"`
		} `json:"privileges,omitempty"`
	} `json:"agent,omitempty"`
	AssetTags *[]struct {
		AssetIds   *[]string `json:"asset_ids,omitempty"`
		AssetTypes *[]string `json:"asset_types,omitempty"`
		Text       string    `json:"text"`
	} `json:"asset_tags,omitempty"`
	Assets               map[string]interface{}        `json:"assets"`
	Categories           *[]string                     `json:"categories,omitempty"`
	Conditions           *PackageInfo_Conditions       `json:"conditions,omitempty"`
	DataStreams          *[]map[string]interface{}     `json:"data_streams,omitempty"`
	Description          *string                       `json:"description,omitempty"`
	Discovery            *PackageInfo_Discovery        `json:"discovery,omitempty"`
	Download             *string                       `json:"download,omitempty"`
	Elasticsearch        *map[string]interface{}       `json:"elasticsearch,omitempty"`
	FormatVersion        *string                       `json:"format_version,omitempty"`
	Icons                *[]PackageInfo_Icons_Item     `json:"icons,omitempty"`
	InstallationInfo     *PackageInfo_InstallationInfo `json:"installationInfo,omitempty"`
	Internal             *bool                         `json:"internal,omitempty"`
	KeepPoliciesUpToDate *bool                         `json:"keepPoliciesUpToDate,omitempty"`
	LatestVersion        *string                       `json:"latestVersion,omitempty"`
	License              *string                       `json:"license,omitempty"`
	LicensePath          *string                       `json:"licensePath,omitempty"`
	Name                 string                        `json:"name"`
	Notice               *string                       `json:"notice,omitempty"`
	Owner                *PackageInfo_Owner            `json:"owner,omitempty"`
	Path                 *string                       `json:"path,omitempty"`
	PolicyTemplates      *[]map[string]interface{}     `json:"policy_templates,omitempty"`
	Readme               *string                       `json:"readme,omitempty"`
	Release              *PackageInfoRelease           `json:"release,omitempty"`
	Screenshots          *[]struct {
		DarkMode *bool   `json:"dark_mode,omitempty"`
		Path     *string `json:"path,omitempty"`
		Size     *string `json:"size,omitempty"`
		Src      string  `json:"src"`
		Title    *string `json:"title,omitempty"`
		Type     *string `json:"type,omitempty"`
	} `json:"screenshots,omitempty"`
	SignaturePath        *string                   `json:"signature_path,omitempty"`
	Source               *PackageInfo_Source       `json:"source,omitempty"`
	Status               *string                   `json:"status,omitempty"`
	Title                string                    `json:"title"`
	Type                 *PackageInfoType          `json:"type,omitempty"`
	Vars                 *[]map[string]interface{} `json:"vars,omitempty"`
	Version              string                    `json:"version"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

PackageInfo defines model for package_info.

func (PackageInfo) Get

func (a PackageInfo) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo. Returns the specified element and whether it was found

func (PackageInfo) MarshalJSON

func (a PackageInfo) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo to handle AdditionalProperties

func (*PackageInfo) Set

func (a *PackageInfo) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo

func (*PackageInfo) UnmarshalJSON

func (a *PackageInfo) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo to handle AdditionalProperties

type PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType

type PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType string

PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType defines model for PackageInfo.InstallationInfo.AdditionalSpacesInstalledKibana.Type.

const (
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeCspRuleTemplate   PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "csp-rule-template"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeDashboard         PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "dashboard"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeIndexPattern      PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "index-pattern"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeLens              PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "lens"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeMap               PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "map"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeMlModule          PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "ml-module"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeOsqueryPackAsset  PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "osquery-pack-asset"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeOsquerySavedQuery PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "osquery-saved-query"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeSearch            PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "search"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeSecurityRule      PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "security-rule"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeTag               PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "tag"
	PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaTypeVisualization     PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType = "visualization"
)

Defines values for PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType.

type PackageInfoInstallationInfoInstallSource

type PackageInfoInstallationInfoInstallSource string

PackageInfoInstallationInfoInstallSource defines model for PackageInfo.InstallationInfo.InstallSource.

const (
	PackageInfoInstallationInfoInstallSourceBundled  PackageInfoInstallationInfoInstallSource = "bundled"
	PackageInfoInstallationInfoInstallSourceCustom   PackageInfoInstallationInfoInstallSource = "custom"
	PackageInfoInstallationInfoInstallSourceRegistry PackageInfoInstallationInfoInstallSource = "registry"
	PackageInfoInstallationInfoInstallSourceUpload   PackageInfoInstallationInfoInstallSource = "upload"
)

Defines values for PackageInfoInstallationInfoInstallSource.

type PackageInfoInstallationInfoInstallStatus

type PackageInfoInstallationInfoInstallStatus string

PackageInfoInstallationInfoInstallStatus defines model for PackageInfo.InstallationInfo.InstallStatus.

const (
	PackageInfoInstallationInfoInstallStatusInstallFailed PackageInfoInstallationInfoInstallStatus = "install_failed"
	PackageInfoInstallationInfoInstallStatusInstalled     PackageInfoInstallationInfoInstallStatus = "installed"
	PackageInfoInstallationInfoInstallStatusInstalling    PackageInfoInstallationInfoInstallStatus = "installing"
)

Defines values for PackageInfoInstallationInfoInstallStatus.

type PackageInfoInstallationInfoInstalledEsType

type PackageInfoInstallationInfoInstalledEsType string

PackageInfoInstallationInfoInstalledEsType defines model for PackageInfo.InstallationInfo.InstalledEs.Type.

const (
	PackageInfoInstallationInfoInstalledEsTypeComponentTemplate   PackageInfoInstallationInfoInstalledEsType = "component_template"
	PackageInfoInstallationInfoInstalledEsTypeDataStreamIlmPolicy PackageInfoInstallationInfoInstalledEsType = "data_stream_ilm_policy"
	PackageInfoInstallationInfoInstalledEsTypeIlmPolicy           PackageInfoInstallationInfoInstalledEsType = "ilm_policy"
	PackageInfoInstallationInfoInstalledEsTypeIndex               PackageInfoInstallationInfoInstalledEsType = "index"
	PackageInfoInstallationInfoInstalledEsTypeIndexTemplate       PackageInfoInstallationInfoInstalledEsType = "index_template"
	PackageInfoInstallationInfoInstalledEsTypeIngestPipeline      PackageInfoInstallationInfoInstalledEsType = "ingest_pipeline"
	PackageInfoInstallationInfoInstalledEsTypeMlModel             PackageInfoInstallationInfoInstalledEsType = "ml_model"
	PackageInfoInstallationInfoInstalledEsTypeTransform           PackageInfoInstallationInfoInstalledEsType = "transform"
)

Defines values for PackageInfoInstallationInfoInstalledEsType.

type PackageInfoInstallationInfoInstalledKibanaType

type PackageInfoInstallationInfoInstalledKibanaType string

PackageInfoInstallationInfoInstalledKibanaType defines model for PackageInfo.InstallationInfo.InstalledKibana.Type.

const (
	PackageInfoInstallationInfoInstalledKibanaTypeCspRuleTemplate   PackageInfoInstallationInfoInstalledKibanaType = "csp-rule-template"
	PackageInfoInstallationInfoInstalledKibanaTypeDashboard         PackageInfoInstallationInfoInstalledKibanaType = "dashboard"
	PackageInfoInstallationInfoInstalledKibanaTypeIndexPattern      PackageInfoInstallationInfoInstalledKibanaType = "index-pattern"
	PackageInfoInstallationInfoInstalledKibanaTypeLens              PackageInfoInstallationInfoInstalledKibanaType = "lens"
	PackageInfoInstallationInfoInstalledKibanaTypeMap               PackageInfoInstallationInfoInstalledKibanaType = "map"
	PackageInfoInstallationInfoInstalledKibanaTypeMlModule          PackageInfoInstallationInfoInstalledKibanaType = "ml-module"
	PackageInfoInstallationInfoInstalledKibanaTypeOsqueryPackAsset  PackageInfoInstallationInfoInstalledKibanaType = "osquery-pack-asset"
	PackageInfoInstallationInfoInstalledKibanaTypeOsquerySavedQuery PackageInfoInstallationInfoInstalledKibanaType = "osquery-saved-query"
	PackageInfoInstallationInfoInstalledKibanaTypeSearch            PackageInfoInstallationInfoInstalledKibanaType = "search"
	PackageInfoInstallationInfoInstalledKibanaTypeSecurityRule      PackageInfoInstallationInfoInstalledKibanaType = "security-rule"
	PackageInfoInstallationInfoInstalledKibanaTypeTag               PackageInfoInstallationInfoInstalledKibanaType = "tag"
	PackageInfoInstallationInfoInstalledKibanaTypeVisualization     PackageInfoInstallationInfoInstalledKibanaType = "visualization"
)

Defines values for PackageInfoInstallationInfoInstalledKibanaType.

type PackageInfoInstallationInfoVerificationStatus

type PackageInfoInstallationInfoVerificationStatus string

PackageInfoInstallationInfoVerificationStatus defines model for PackageInfo.InstallationInfo.VerificationStatus.

const (
	PackageInfoInstallationInfoVerificationStatusUnknown    PackageInfoInstallationInfoVerificationStatus = "unknown"
	PackageInfoInstallationInfoVerificationStatusUnverified PackageInfoInstallationInfoVerificationStatus = "unverified"
	PackageInfoInstallationInfoVerificationStatusVerified   PackageInfoInstallationInfoVerificationStatus = "verified"
)

Defines values for PackageInfoInstallationInfoVerificationStatus.

type PackageInfoOwnerType

type PackageInfoOwnerType string

PackageInfoOwnerType defines model for PackageInfo.Owner.Type.

const (
	PackageInfoOwnerTypeCommunity PackageInfoOwnerType = "community"
	PackageInfoOwnerTypeElastic   PackageInfoOwnerType = "elastic"
	PackageInfoOwnerTypePartner   PackageInfoOwnerType = "partner"
)

Defines values for PackageInfoOwnerType.

type PackageInfoRelease

type PackageInfoRelease string

PackageInfoRelease defines model for PackageInfo.Release.

const (
	PackageInfoReleaseBeta         PackageInfoRelease = "beta"
	PackageInfoReleaseExperimental PackageInfoRelease = "experimental"
	PackageInfoReleaseGa           PackageInfoRelease = "ga"
)

Defines values for PackageInfoRelease.

type PackageInfoType

type PackageInfoType string

PackageInfoType defines model for PackageInfo.Type.

const (
	PackageInfoTypeContent     PackageInfoType = "content"
	PackageInfoTypeInput       PackageInfoType = "input"
	PackageInfoTypeIntegration PackageInfoType = "integration"
)

Defines values for PackageInfoType.

type PackageInfo_Conditions

type PackageInfo_Conditions struct {
	Elastic              *PackageInfo_Conditions_Elastic `json:"elastic,omitempty"`
	Kibana               *PackageInfo_Conditions_Kibana  `json:"kibana,omitempty"`
	AdditionalProperties map[string]interface{}          `json:"-"`
}

PackageInfo_Conditions defines model for PackageInfo.Conditions.

func (PackageInfo_Conditions) Get

func (a PackageInfo_Conditions) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_Conditions. Returns the specified element and whether it was found

func (PackageInfo_Conditions) MarshalJSON

func (a PackageInfo_Conditions) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo_Conditions to handle AdditionalProperties

func (*PackageInfo_Conditions) Set

func (a *PackageInfo_Conditions) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_Conditions

func (*PackageInfo_Conditions) UnmarshalJSON

func (a *PackageInfo_Conditions) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo_Conditions to handle AdditionalProperties

type PackageInfo_Conditions_Elastic

type PackageInfo_Conditions_Elastic struct {
	Capabilities         *[]string              `json:"capabilities,omitempty"`
	Subscription         *string                `json:"subscription,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageInfo_Conditions_Elastic defines model for PackageInfo.Conditions.Elastic.

func (PackageInfo_Conditions_Elastic) Get

func (a PackageInfo_Conditions_Elastic) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_Conditions_Elastic. Returns the specified element and whether it was found

func (PackageInfo_Conditions_Elastic) MarshalJSON

func (a PackageInfo_Conditions_Elastic) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo_Conditions_Elastic to handle AdditionalProperties

func (*PackageInfo_Conditions_Elastic) Set

func (a *PackageInfo_Conditions_Elastic) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_Conditions_Elastic

func (*PackageInfo_Conditions_Elastic) UnmarshalJSON

func (a *PackageInfo_Conditions_Elastic) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo_Conditions_Elastic to handle AdditionalProperties

type PackageInfo_Conditions_Kibana

type PackageInfo_Conditions_Kibana struct {
	Version              *string                `json:"version,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageInfo_Conditions_Kibana defines model for PackageInfo.Conditions.Kibana.

func (PackageInfo_Conditions_Kibana) Get

func (a PackageInfo_Conditions_Kibana) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_Conditions_Kibana. Returns the specified element and whether it was found

func (PackageInfo_Conditions_Kibana) MarshalJSON

func (a PackageInfo_Conditions_Kibana) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo_Conditions_Kibana to handle AdditionalProperties

func (*PackageInfo_Conditions_Kibana) Set

func (a *PackageInfo_Conditions_Kibana) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_Conditions_Kibana

func (*PackageInfo_Conditions_Kibana) UnmarshalJSON

func (a *PackageInfo_Conditions_Kibana) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo_Conditions_Kibana to handle AdditionalProperties

type PackageInfo_Discovery

type PackageInfo_Discovery struct {
	Fields               *[]PackageInfo_Discovery_Fields_Item `json:"fields,omitempty"`
	AdditionalProperties map[string]interface{}               `json:"-"`
}

PackageInfo_Discovery defines model for PackageInfo.Discovery.

func (PackageInfo_Discovery) Get

func (a PackageInfo_Discovery) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_Discovery. Returns the specified element and whether it was found

func (PackageInfo_Discovery) MarshalJSON

func (a PackageInfo_Discovery) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo_Discovery to handle AdditionalProperties

func (*PackageInfo_Discovery) Set

func (a *PackageInfo_Discovery) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_Discovery

func (*PackageInfo_Discovery) UnmarshalJSON

func (a *PackageInfo_Discovery) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo_Discovery to handle AdditionalProperties

type PackageInfo_Discovery_Fields_Item

type PackageInfo_Discovery_Fields_Item struct {
	Name                 string                 `json:"name"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageInfo_Discovery_Fields_Item defines model for PackageInfo.Discovery.Fields.Item.

func (PackageInfo_Discovery_Fields_Item) Get

func (a PackageInfo_Discovery_Fields_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_Discovery_Fields_Item. Returns the specified element and whether it was found

func (PackageInfo_Discovery_Fields_Item) MarshalJSON

func (a PackageInfo_Discovery_Fields_Item) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo_Discovery_Fields_Item to handle AdditionalProperties

func (*PackageInfo_Discovery_Fields_Item) Set

func (a *PackageInfo_Discovery_Fields_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_Discovery_Fields_Item

func (*PackageInfo_Discovery_Fields_Item) UnmarshalJSON

func (a *PackageInfo_Discovery_Fields_Item) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo_Discovery_Fields_Item to handle AdditionalProperties

type PackageInfo_Icons_Item

type PackageInfo_Icons_Item struct {
	DarkMode             *bool                  `json:"dark_mode,omitempty"`
	Path                 *string                `json:"path,omitempty"`
	Size                 *string                `json:"size,omitempty"`
	Src                  string                 `json:"src"`
	Title                *string                `json:"title,omitempty"`
	Type                 *string                `json:"type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageInfo_Icons_Item defines model for package_info.icons.Item.

func (PackageInfo_Icons_Item) Get

func (a PackageInfo_Icons_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_Icons_Item. Returns the specified element and whether it was found

func (PackageInfo_Icons_Item) MarshalJSON

func (a PackageInfo_Icons_Item) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo_Icons_Item to handle AdditionalProperties

func (*PackageInfo_Icons_Item) Set

func (a *PackageInfo_Icons_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_Icons_Item

func (*PackageInfo_Icons_Item) UnmarshalJSON

func (a *PackageInfo_Icons_Item) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo_Icons_Item to handle AdditionalProperties

type PackageInfo_InstallationInfo

type PackageInfo_InstallationInfo struct {
	AdditionalSpacesInstalledKibana *map[string][]PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item `json:"additional_spaces_installed_kibana,omitempty"`
	CreatedAt                       *string                                                                         `json:"created_at,omitempty"`
	ExperimentalDataStreamFeatures  *[]PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item             `json:"experimental_data_stream_features,omitempty"`
	InstallFormatSchemaVersion      *string                                                                         `json:"install_format_schema_version,omitempty"`
	InstallSource                   PackageInfoInstallationInfoInstallSource                                        `json:"install_source"`
	InstallStatus                   PackageInfoInstallationInfoInstallStatus                                        `json:"install_status"`
	InstalledEs                     []PackageInfo_InstallationInfo_InstalledEs_Item                                 `json:"installed_es"`
	InstalledKibana                 []PackageInfo_InstallationInfo_InstalledKibana_Item                             `json:"installed_kibana"`
	InstalledKibanaSpaceId          *string                                                                         `json:"installed_kibana_space_id,omitempty"`
	LatestExecutedState             *PackageInfo_InstallationInfo_LatestExecutedState                               `json:"latest_executed_state,omitempty"`
	LatestInstallFailedAttempts     *[]PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item                `json:"latest_install_failed_attempts,omitempty"`
	Name                            string                                                                          `json:"name"`
	Namespaces                      *[]string                                                                       `json:"namespaces,omitempty"`
	Type                            string                                                                          `json:"type"`
	UpdatedAt                       *string                                                                         `json:"updated_at,omitempty"`
	VerificationKeyId               *string                                                                         `json:"verification_key_id"`
	VerificationStatus              PackageInfoInstallationInfoVerificationStatus                                   `json:"verification_status"`
	Version                         string                                                                          `json:"version"`
	AdditionalProperties            map[string]interface{}                                                          `json:"-"`
}

PackageInfo_InstallationInfo defines model for PackageInfo.InstallationInfo.

func (PackageInfo_InstallationInfo) Get

func (a PackageInfo_InstallationInfo) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_InstallationInfo. Returns the specified element and whether it was found

func (PackageInfo_InstallationInfo) MarshalJSON

func (a PackageInfo_InstallationInfo) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo_InstallationInfo to handle AdditionalProperties

func (*PackageInfo_InstallationInfo) Set

func (a *PackageInfo_InstallationInfo) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_InstallationInfo

func (*PackageInfo_InstallationInfo) UnmarshalJSON

func (a *PackageInfo_InstallationInfo) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo_InstallationInfo to handle AdditionalProperties

type PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item

type PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item struct {
	Id                   string                                                         `json:"id"`
	OriginId             *string                                                        `json:"originId,omitempty"`
	Type                 PackageInfoInstallationInfoAdditionalSpacesInstalledKibanaType `json:"type"`
	AdditionalProperties map[string]interface{}                                         `json:"-"`
}

PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item defines model for PackageInfo.InstallationInfo.AdditionalSpacesInstalledKibana.Item.

func (PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Get

func (a PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item. Returns the specified element and whether it was found

func (PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item) MarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item to handle AdditionalProperties

func (*PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Set

Setter for additional properties for PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item

func (*PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item) UnmarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_AdditionalSpacesInstalledKibana_Item to handle AdditionalProperties

type PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features

type PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features struct {
	DocValueOnlyNumeric  *bool                  `json:"doc_value_only_numeric,omitempty"`
	DocValueOnlyOther    *bool                  `json:"doc_value_only_other,omitempty"`
	SyntheticSource      *bool                  `json:"synthetic_source,omitempty"`
	Tsdb                 *bool                  `json:"tsdb,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features defines model for PackageInfo.InstallationInfo.ExperimentalDataStreamFeatures.Features.

func (PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features) Get

func (a PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features. Returns the specified element and whether it was found

func (PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features) MarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features to handle AdditionalProperties

func (*PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features) Set

Setter for additional properties for PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features

func (*PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features) UnmarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features to handle AdditionalProperties

type PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item

type PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item struct {
	DataStream           string                                                               `json:"data_stream"`
	Features             PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Features `json:"features"`
	AdditionalProperties map[string]interface{}                                               `json:"-"`
}

PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item defines model for PackageInfo.InstallationInfo.ExperimentalDataStreamFeatures.Item.

func (PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item) Get

func (a PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item. Returns the specified element and whether it was found

func (PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item) MarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item to handle AdditionalProperties

func (*PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item) Set

func (a *PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item

func (*PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item) UnmarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_ExperimentalDataStreamFeatures_Item to handle AdditionalProperties

type PackageInfo_InstallationInfo_InstalledEs_Item

type PackageInfo_InstallationInfo_InstalledEs_Item struct {
	Deferred             *bool                                      `json:"deferred,omitempty"`
	Id                   string                                     `json:"id"`
	Type                 PackageInfoInstallationInfoInstalledEsType `json:"type"`
	Version              *string                                    `json:"version,omitempty"`
	AdditionalProperties map[string]interface{}                     `json:"-"`
}

PackageInfo_InstallationInfo_InstalledEs_Item defines model for PackageInfo.InstallationInfo.InstalledEs.Item.

func (PackageInfo_InstallationInfo_InstalledEs_Item) Get

func (a PackageInfo_InstallationInfo_InstalledEs_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_InstallationInfo_InstalledEs_Item. Returns the specified element and whether it was found

func (PackageInfo_InstallationInfo_InstalledEs_Item) MarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_InstalledEs_Item to handle AdditionalProperties

func (*PackageInfo_InstallationInfo_InstalledEs_Item) Set

func (a *PackageInfo_InstallationInfo_InstalledEs_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_InstallationInfo_InstalledEs_Item

func (*PackageInfo_InstallationInfo_InstalledEs_Item) UnmarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_InstalledEs_Item to handle AdditionalProperties

type PackageInfo_InstallationInfo_InstalledKibana_Item

type PackageInfo_InstallationInfo_InstalledKibana_Item struct {
	Id                   string                                         `json:"id"`
	OriginId             *string                                        `json:"originId,omitempty"`
	Type                 PackageInfoInstallationInfoInstalledKibanaType `json:"type"`
	AdditionalProperties map[string]interface{}                         `json:"-"`
}

PackageInfo_InstallationInfo_InstalledKibana_Item defines model for PackageInfo.InstallationInfo.InstalledKibana.Item.

func (PackageInfo_InstallationInfo_InstalledKibana_Item) Get

func (a PackageInfo_InstallationInfo_InstalledKibana_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_InstallationInfo_InstalledKibana_Item. Returns the specified element and whether it was found

func (PackageInfo_InstallationInfo_InstalledKibana_Item) MarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_InstalledKibana_Item to handle AdditionalProperties

func (*PackageInfo_InstallationInfo_InstalledKibana_Item) Set

func (a *PackageInfo_InstallationInfo_InstalledKibana_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_InstallationInfo_InstalledKibana_Item

func (*PackageInfo_InstallationInfo_InstalledKibana_Item) UnmarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_InstalledKibana_Item to handle AdditionalProperties

type PackageInfo_InstallationInfo_LatestExecutedState

type PackageInfo_InstallationInfo_LatestExecutedState struct {
	Error                *string                `json:"error,omitempty"`
	Name                 string                 `json:"name"`
	StartedAt            string                 `json:"started_at"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageInfo_InstallationInfo_LatestExecutedState defines model for PackageInfo.InstallationInfo.LatestExecutedState.

func (PackageInfo_InstallationInfo_LatestExecutedState) Get

func (a PackageInfo_InstallationInfo_LatestExecutedState) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_InstallationInfo_LatestExecutedState. Returns the specified element and whether it was found

func (PackageInfo_InstallationInfo_LatestExecutedState) MarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_LatestExecutedState to handle AdditionalProperties

func (*PackageInfo_InstallationInfo_LatestExecutedState) Set

func (a *PackageInfo_InstallationInfo_LatestExecutedState) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_InstallationInfo_LatestExecutedState

func (*PackageInfo_InstallationInfo_LatestExecutedState) UnmarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_LatestExecutedState to handle AdditionalProperties

type PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error

type PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error struct {
	Message              string                 `json:"message"`
	Name                 string                 `json:"name"`
	Stack                *string                `json:"stack,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error defines model for PackageInfo.InstallationInfo.LatestInstallFailedAttempts.Error.

func (PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error) Get

func (a PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error. Returns the specified element and whether it was found

func (PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error) MarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error to handle AdditionalProperties

func (*PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error) Set

func (a *PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error

func (*PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error) UnmarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error to handle AdditionalProperties

type PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item

type PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item struct {
	CreatedAt            string                                                         `json:"created_at"`
	Error                PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Error `json:"error"`
	TargetVersion        string                                                         `json:"target_version"`
	AdditionalProperties map[string]interface{}                                         `json:"-"`
}

PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item defines model for PackageInfo.InstallationInfo.LatestInstallFailedAttempts.Item.

func (PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item) Get

func (a PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item. Returns the specified element and whether it was found

func (PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item) MarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item to handle AdditionalProperties

func (*PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item) Set

func (a *PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item

func (*PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item) UnmarshalJSON

Override default JSON handling for PackageInfo_InstallationInfo_LatestInstallFailedAttempts_Item to handle AdditionalProperties

type PackageInfo_Owner

type PackageInfo_Owner struct {
	Github               *string                `json:"github,omitempty"`
	Type                 *PackageInfoOwnerType  `json:"type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageInfo_Owner defines model for PackageInfo.Owner.

func (PackageInfo_Owner) Get

func (a PackageInfo_Owner) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_Owner. Returns the specified element and whether it was found

func (PackageInfo_Owner) MarshalJSON

func (a PackageInfo_Owner) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo_Owner to handle AdditionalProperties

func (*PackageInfo_Owner) Set

func (a *PackageInfo_Owner) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_Owner

func (*PackageInfo_Owner) UnmarshalJSON

func (a *PackageInfo_Owner) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo_Owner to handle AdditionalProperties

type PackageInfo_Source

type PackageInfo_Source struct {
	License              string                 `json:"license"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageInfo_Source defines model for PackageInfo.Source.

func (PackageInfo_Source) Get

func (a PackageInfo_Source) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageInfo_Source. Returns the specified element and whether it was found

func (PackageInfo_Source) MarshalJSON

func (a PackageInfo_Source) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageInfo_Source to handle AdditionalProperties

func (*PackageInfo_Source) Set

func (a *PackageInfo_Source) Set(fieldName string, value interface{})

Setter for additional properties for PackageInfo_Source

func (*PackageInfo_Source) UnmarshalJSON

func (a *PackageInfo_Source) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageInfo_Source to handle AdditionalProperties

type PackageListItem

type PackageListItem struct {
	Categories           *[]string                         `json:"categories,omitempty"`
	Conditions           *PackageListItem_Conditions       `json:"conditions,omitempty"`
	DataStreams          *[]map[string]interface{}         `json:"data_streams,omitempty"`
	Description          *string                           `json:"description,omitempty"`
	Discovery            *PackageListItem_Discovery        `json:"discovery,omitempty"`
	Download             *string                           `json:"download,omitempty"`
	FormatVersion        *string                           `json:"format_version,omitempty"`
	Icons                *[]PackageListItem_Icons_Item     `json:"icons,omitempty"`
	Id                   string                            `json:"id"`
	InstallationInfo     *PackageListItem_InstallationInfo `json:"installationInfo,omitempty"`
	Integration          *string                           `json:"integration,omitempty"`
	Internal             *bool                             `json:"internal,omitempty"`
	LatestVersion        *string                           `json:"latestVersion,omitempty"`
	Name                 string                            `json:"name"`
	Owner                *PackageListItem_Owner            `json:"owner,omitempty"`
	Path                 *string                           `json:"path,omitempty"`
	PolicyTemplates      *[]map[string]interface{}         `json:"policy_templates,omitempty"`
	Readme               *string                           `json:"readme,omitempty"`
	Release              *PackageListItemRelease           `json:"release,omitempty"`
	SignaturePath        *string                           `json:"signature_path,omitempty"`
	Source               *PackageListItem_Source           `json:"source,omitempty"`
	Status               *string                           `json:"status,omitempty"`
	Title                string                            `json:"title"`
	Type                 *PackageListItemType              `json:"type,omitempty"`
	Vars                 *[]map[string]interface{}         `json:"vars,omitempty"`
	Version              string                            `json:"version"`
	AdditionalProperties map[string]interface{}            `json:"-"`
}

PackageListItem defines model for package_list_item.

func (PackageListItem) Get

func (a PackageListItem) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem. Returns the specified element and whether it was found

func (PackageListItem) MarshalJSON

func (a PackageListItem) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem to handle AdditionalProperties

func (*PackageListItem) Set

func (a *PackageListItem) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem

func (*PackageListItem) UnmarshalJSON

func (a *PackageListItem) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem to handle AdditionalProperties

type PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType

type PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType string

PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType defines model for PackageListItem.InstallationInfo.AdditionalSpacesInstalledKibana.Type.

const (
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeCspRuleTemplate   PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "csp-rule-template"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeDashboard         PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "dashboard"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeIndexPattern      PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "index-pattern"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeLens              PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "lens"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeMap               PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "map"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeMlModule          PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "ml-module"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeOsqueryPackAsset  PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "osquery-pack-asset"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeOsquerySavedQuery PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "osquery-saved-query"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeSearch            PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "search"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeSecurityRule      PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "security-rule"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeTag               PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "tag"
	PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaTypeVisualization     PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType = "visualization"
)

Defines values for PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType.

type PackageListItemInstallationInfoInstallSource

type PackageListItemInstallationInfoInstallSource string

PackageListItemInstallationInfoInstallSource defines model for PackageListItem.InstallationInfo.InstallSource.

const (
	PackageListItemInstallationInfoInstallSourceBundled  PackageListItemInstallationInfoInstallSource = "bundled"
	PackageListItemInstallationInfoInstallSourceCustom   PackageListItemInstallationInfoInstallSource = "custom"
	PackageListItemInstallationInfoInstallSourceRegistry PackageListItemInstallationInfoInstallSource = "registry"
	PackageListItemInstallationInfoInstallSourceUpload   PackageListItemInstallationInfoInstallSource = "upload"
)

Defines values for PackageListItemInstallationInfoInstallSource.

type PackageListItemInstallationInfoInstallStatus

type PackageListItemInstallationInfoInstallStatus string

PackageListItemInstallationInfoInstallStatus defines model for PackageListItem.InstallationInfo.InstallStatus.

const (
	PackageListItemInstallationInfoInstallStatusInstallFailed PackageListItemInstallationInfoInstallStatus = "install_failed"
	PackageListItemInstallationInfoInstallStatusInstalled     PackageListItemInstallationInfoInstallStatus = "installed"
	PackageListItemInstallationInfoInstallStatusInstalling    PackageListItemInstallationInfoInstallStatus = "installing"
)

Defines values for PackageListItemInstallationInfoInstallStatus.

type PackageListItemInstallationInfoInstalledEsType

type PackageListItemInstallationInfoInstalledEsType string

PackageListItemInstallationInfoInstalledEsType defines model for PackageListItem.InstallationInfo.InstalledEs.Type.

const (
	PackageListItemInstallationInfoInstalledEsTypeComponentTemplate   PackageListItemInstallationInfoInstalledEsType = "component_template"
	PackageListItemInstallationInfoInstalledEsTypeDataStreamIlmPolicy PackageListItemInstallationInfoInstalledEsType = "data_stream_ilm_policy"
	PackageListItemInstallationInfoInstalledEsTypeIlmPolicy           PackageListItemInstallationInfoInstalledEsType = "ilm_policy"
	PackageListItemInstallationInfoInstalledEsTypeIndex               PackageListItemInstallationInfoInstalledEsType = "index"
	PackageListItemInstallationInfoInstalledEsTypeIndexTemplate       PackageListItemInstallationInfoInstalledEsType = "index_template"
	PackageListItemInstallationInfoInstalledEsTypeIngestPipeline      PackageListItemInstallationInfoInstalledEsType = "ingest_pipeline"
	PackageListItemInstallationInfoInstalledEsTypeMlModel             PackageListItemInstallationInfoInstalledEsType = "ml_model"
	PackageListItemInstallationInfoInstalledEsTypeTransform           PackageListItemInstallationInfoInstalledEsType = "transform"
)

Defines values for PackageListItemInstallationInfoInstalledEsType.

type PackageListItemInstallationInfoInstalledKibanaType

type PackageListItemInstallationInfoInstalledKibanaType string

PackageListItemInstallationInfoInstalledKibanaType defines model for PackageListItem.InstallationInfo.InstalledKibana.Type.

const (
	PackageListItemInstallationInfoInstalledKibanaTypeCspRuleTemplate   PackageListItemInstallationInfoInstalledKibanaType = "csp-rule-template"
	PackageListItemInstallationInfoInstalledKibanaTypeDashboard         PackageListItemInstallationInfoInstalledKibanaType = "dashboard"
	PackageListItemInstallationInfoInstalledKibanaTypeIndexPattern      PackageListItemInstallationInfoInstalledKibanaType = "index-pattern"
	PackageListItemInstallationInfoInstalledKibanaTypeLens              PackageListItemInstallationInfoInstalledKibanaType = "lens"
	PackageListItemInstallationInfoInstalledKibanaTypeMap               PackageListItemInstallationInfoInstalledKibanaType = "map"
	PackageListItemInstallationInfoInstalledKibanaTypeMlModule          PackageListItemInstallationInfoInstalledKibanaType = "ml-module"
	PackageListItemInstallationInfoInstalledKibanaTypeOsqueryPackAsset  PackageListItemInstallationInfoInstalledKibanaType = "osquery-pack-asset"
	PackageListItemInstallationInfoInstalledKibanaTypeOsquerySavedQuery PackageListItemInstallationInfoInstalledKibanaType = "osquery-saved-query"
	PackageListItemInstallationInfoInstalledKibanaTypeSearch            PackageListItemInstallationInfoInstalledKibanaType = "search"
	PackageListItemInstallationInfoInstalledKibanaTypeSecurityRule      PackageListItemInstallationInfoInstalledKibanaType = "security-rule"
	PackageListItemInstallationInfoInstalledKibanaTypeTag               PackageListItemInstallationInfoInstalledKibanaType = "tag"
	PackageListItemInstallationInfoInstalledKibanaTypeVisualization     PackageListItemInstallationInfoInstalledKibanaType = "visualization"
)

Defines values for PackageListItemInstallationInfoInstalledKibanaType.

type PackageListItemInstallationInfoVerificationStatus

type PackageListItemInstallationInfoVerificationStatus string

PackageListItemInstallationInfoVerificationStatus defines model for PackageListItem.InstallationInfo.VerificationStatus.

const (
	PackageListItemInstallationInfoVerificationStatusUnknown    PackageListItemInstallationInfoVerificationStatus = "unknown"
	PackageListItemInstallationInfoVerificationStatusUnverified PackageListItemInstallationInfoVerificationStatus = "unverified"
	PackageListItemInstallationInfoVerificationStatusVerified   PackageListItemInstallationInfoVerificationStatus = "verified"
)

Defines values for PackageListItemInstallationInfoVerificationStatus.

type PackageListItemOwnerType

type PackageListItemOwnerType string

PackageListItemOwnerType defines model for PackageListItem.Owner.Type.

const (
	PackageListItemOwnerTypeCommunity PackageListItemOwnerType = "community"
	PackageListItemOwnerTypeElastic   PackageListItemOwnerType = "elastic"
	PackageListItemOwnerTypePartner   PackageListItemOwnerType = "partner"
)

Defines values for PackageListItemOwnerType.

type PackageListItemRelease

type PackageListItemRelease string

PackageListItemRelease defines model for PackageListItem.Release.

const (
	Beta         PackageListItemRelease = "beta"
	Experimental PackageListItemRelease = "experimental"
	Ga           PackageListItemRelease = "ga"
)

Defines values for PackageListItemRelease.

type PackageListItemType

type PackageListItemType string

PackageListItemType defines model for PackageListItem.Type.

const (
	PackageListItemTypeContent     PackageListItemType = "content"
	PackageListItemTypeInput       PackageListItemType = "input"
	PackageListItemTypeIntegration PackageListItemType = "integration"
)

Defines values for PackageListItemType.

type PackageListItem_Conditions

type PackageListItem_Conditions struct {
	Elastic              *PackageListItem_Conditions_Elastic `json:"elastic,omitempty"`
	Kibana               *PackageListItem_Conditions_Kibana  `json:"kibana,omitempty"`
	AdditionalProperties map[string]interface{}              `json:"-"`
}

PackageListItem_Conditions defines model for PackageListItem.Conditions.

func (PackageListItem_Conditions) Get

func (a PackageListItem_Conditions) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_Conditions. Returns the specified element and whether it was found

func (PackageListItem_Conditions) MarshalJSON

func (a PackageListItem_Conditions) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem_Conditions to handle AdditionalProperties

func (*PackageListItem_Conditions) Set

func (a *PackageListItem_Conditions) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_Conditions

func (*PackageListItem_Conditions) UnmarshalJSON

func (a *PackageListItem_Conditions) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem_Conditions to handle AdditionalProperties

type PackageListItem_Conditions_Elastic

type PackageListItem_Conditions_Elastic struct {
	Capabilities         *[]string              `json:"capabilities,omitempty"`
	Subscription         *string                `json:"subscription,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageListItem_Conditions_Elastic defines model for PackageListItem.Conditions.Elastic.

func (PackageListItem_Conditions_Elastic) Get

func (a PackageListItem_Conditions_Elastic) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_Conditions_Elastic. Returns the specified element and whether it was found

func (PackageListItem_Conditions_Elastic) MarshalJSON

func (a PackageListItem_Conditions_Elastic) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem_Conditions_Elastic to handle AdditionalProperties

func (*PackageListItem_Conditions_Elastic) Set

func (a *PackageListItem_Conditions_Elastic) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_Conditions_Elastic

func (*PackageListItem_Conditions_Elastic) UnmarshalJSON

func (a *PackageListItem_Conditions_Elastic) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem_Conditions_Elastic to handle AdditionalProperties

type PackageListItem_Conditions_Kibana

type PackageListItem_Conditions_Kibana struct {
	Version              *string                `json:"version,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageListItem_Conditions_Kibana defines model for PackageListItem.Conditions.Kibana.

func (PackageListItem_Conditions_Kibana) Get

func (a PackageListItem_Conditions_Kibana) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_Conditions_Kibana. Returns the specified element and whether it was found

func (PackageListItem_Conditions_Kibana) MarshalJSON

func (a PackageListItem_Conditions_Kibana) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem_Conditions_Kibana to handle AdditionalProperties

func (*PackageListItem_Conditions_Kibana) Set

func (a *PackageListItem_Conditions_Kibana) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_Conditions_Kibana

func (*PackageListItem_Conditions_Kibana) UnmarshalJSON

func (a *PackageListItem_Conditions_Kibana) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem_Conditions_Kibana to handle AdditionalProperties

type PackageListItem_Discovery

type PackageListItem_Discovery struct {
	Fields               *[]PackageListItem_Discovery_Fields_Item `json:"fields,omitempty"`
	AdditionalProperties map[string]interface{}                   `json:"-"`
}

PackageListItem_Discovery defines model for PackageListItem.Discovery.

func (PackageListItem_Discovery) Get

func (a PackageListItem_Discovery) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_Discovery. Returns the specified element and whether it was found

func (PackageListItem_Discovery) MarshalJSON

func (a PackageListItem_Discovery) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem_Discovery to handle AdditionalProperties

func (*PackageListItem_Discovery) Set

func (a *PackageListItem_Discovery) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_Discovery

func (*PackageListItem_Discovery) UnmarshalJSON

func (a *PackageListItem_Discovery) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem_Discovery to handle AdditionalProperties

type PackageListItem_Discovery_Fields_Item

type PackageListItem_Discovery_Fields_Item struct {
	Name                 string                 `json:"name"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageListItem_Discovery_Fields_Item defines model for PackageListItem.Discovery.Fields.Item.

func (PackageListItem_Discovery_Fields_Item) Get

func (a PackageListItem_Discovery_Fields_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_Discovery_Fields_Item. Returns the specified element and whether it was found

func (PackageListItem_Discovery_Fields_Item) MarshalJSON

func (a PackageListItem_Discovery_Fields_Item) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem_Discovery_Fields_Item to handle AdditionalProperties

func (*PackageListItem_Discovery_Fields_Item) Set

func (a *PackageListItem_Discovery_Fields_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_Discovery_Fields_Item

func (*PackageListItem_Discovery_Fields_Item) UnmarshalJSON

func (a *PackageListItem_Discovery_Fields_Item) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem_Discovery_Fields_Item to handle AdditionalProperties

type PackageListItem_Icons_Item

type PackageListItem_Icons_Item struct {
	DarkMode             *bool                  `json:"dark_mode,omitempty"`
	Path                 *string                `json:"path,omitempty"`
	Size                 *string                `json:"size,omitempty"`
	Src                  string                 `json:"src"`
	Title                *string                `json:"title,omitempty"`
	Type                 *string                `json:"type,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageListItem_Icons_Item defines model for package_list_item.icons.Item.

func (PackageListItem_Icons_Item) Get

func (a PackageListItem_Icons_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_Icons_Item. Returns the specified element and whether it was found

func (PackageListItem_Icons_Item) MarshalJSON

func (a PackageListItem_Icons_Item) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem_Icons_Item to handle AdditionalProperties

func (*PackageListItem_Icons_Item) Set

func (a *PackageListItem_Icons_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_Icons_Item

func (*PackageListItem_Icons_Item) UnmarshalJSON

func (a *PackageListItem_Icons_Item) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem_Icons_Item to handle AdditionalProperties

type PackageListItem_InstallationInfo

type PackageListItem_InstallationInfo struct {
	AdditionalSpacesInstalledKibana *map[string][]PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item `json:"additional_spaces_installed_kibana,omitempty"`
	CreatedAt                       *string                                                                             `json:"created_at,omitempty"`
	ExperimentalDataStreamFeatures  *[]PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item             `json:"experimental_data_stream_features,omitempty"`
	InstallFormatSchemaVersion      *string                                                                             `json:"install_format_schema_version,omitempty"`
	InstallSource                   PackageListItemInstallationInfoInstallSource                                        `json:"install_source"`
	InstallStatus                   PackageListItemInstallationInfoInstallStatus                                        `json:"install_status"`
	InstalledEs                     []PackageListItem_InstallationInfo_InstalledEs_Item                                 `json:"installed_es"`
	InstalledKibana                 []PackageListItem_InstallationInfo_InstalledKibana_Item                             `json:"installed_kibana"`
	InstalledKibanaSpaceId          *string                                                                             `json:"installed_kibana_space_id,omitempty"`
	LatestExecutedState             *PackageListItem_InstallationInfo_LatestExecutedState                               `json:"latest_executed_state,omitempty"`
	LatestInstallFailedAttempts     *[]PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item                `json:"latest_install_failed_attempts,omitempty"`
	Name                            string                                                                              `json:"name"`
	Namespaces                      *[]string                                                                           `json:"namespaces,omitempty"`
	Type                            string                                                                              `json:"type"`
	UpdatedAt                       *string                                                                             `json:"updated_at,omitempty"`
	VerificationKeyId               *string                                                                             `json:"verification_key_id"`
	VerificationStatus              PackageListItemInstallationInfoVerificationStatus                                   `json:"verification_status"`
	Version                         string                                                                              `json:"version"`
	AdditionalProperties            map[string]interface{}                                                              `json:"-"`
}

PackageListItem_InstallationInfo defines model for PackageListItem.InstallationInfo.

func (PackageListItem_InstallationInfo) Get

func (a PackageListItem_InstallationInfo) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_InstallationInfo. Returns the specified element and whether it was found

func (PackageListItem_InstallationInfo) MarshalJSON

func (a PackageListItem_InstallationInfo) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem_InstallationInfo to handle AdditionalProperties

func (*PackageListItem_InstallationInfo) Set

func (a *PackageListItem_InstallationInfo) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_InstallationInfo

func (*PackageListItem_InstallationInfo) UnmarshalJSON

func (a *PackageListItem_InstallationInfo) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem_InstallationInfo to handle AdditionalProperties

type PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item

type PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item struct {
	Id                   string                                                             `json:"id"`
	OriginId             *string                                                            `json:"originId,omitempty"`
	Type                 PackageListItemInstallationInfoAdditionalSpacesInstalledKibanaType `json:"type"`
	AdditionalProperties map[string]interface{}                                             `json:"-"`
}

PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item defines model for PackageListItem.InstallationInfo.AdditionalSpacesInstalledKibana.Item.

func (PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Get

func (a PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item. Returns the specified element and whether it was found

func (PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item) MarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item to handle AdditionalProperties

func (*PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item) Set

Setter for additional properties for PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item

func (*PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item) UnmarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_AdditionalSpacesInstalledKibana_Item to handle AdditionalProperties

type PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features

type PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features struct {
	DocValueOnlyNumeric  *bool                  `json:"doc_value_only_numeric,omitempty"`
	DocValueOnlyOther    *bool                  `json:"doc_value_only_other,omitempty"`
	SyntheticSource      *bool                  `json:"synthetic_source,omitempty"`
	Tsdb                 *bool                  `json:"tsdb,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features defines model for PackageListItem.InstallationInfo.ExperimentalDataStreamFeatures.Features.

func (PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features) Get

func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features. Returns the specified element and whether it was found

func (PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features) MarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features to handle AdditionalProperties

func (*PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features) Set

Setter for additional properties for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features

func (*PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features) UnmarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features to handle AdditionalProperties

type PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item

type PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item struct {
	DataStream           string                                                                   `json:"data_stream"`
	Features             PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Features `json:"features"`
	AdditionalProperties map[string]interface{}                                                   `json:"-"`
}

PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item defines model for PackageListItem.InstallationInfo.ExperimentalDataStreamFeatures.Item.

func (PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) Get

func (a PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item. Returns the specified element and whether it was found

func (PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) MarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item to handle AdditionalProperties

func (*PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) Set

Setter for additional properties for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item

func (*PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item) UnmarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_ExperimentalDataStreamFeatures_Item to handle AdditionalProperties

type PackageListItem_InstallationInfo_InstalledEs_Item

type PackageListItem_InstallationInfo_InstalledEs_Item struct {
	Deferred             *bool                                          `json:"deferred,omitempty"`
	Id                   string                                         `json:"id"`
	Type                 PackageListItemInstallationInfoInstalledEsType `json:"type"`
	Version              *string                                        `json:"version,omitempty"`
	AdditionalProperties map[string]interface{}                         `json:"-"`
}

PackageListItem_InstallationInfo_InstalledEs_Item defines model for PackageListItem.InstallationInfo.InstalledEs.Item.

func (PackageListItem_InstallationInfo_InstalledEs_Item) Get

func (a PackageListItem_InstallationInfo_InstalledEs_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_InstallationInfo_InstalledEs_Item. Returns the specified element and whether it was found

func (PackageListItem_InstallationInfo_InstalledEs_Item) MarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_InstalledEs_Item to handle AdditionalProperties

func (*PackageListItem_InstallationInfo_InstalledEs_Item) Set

func (a *PackageListItem_InstallationInfo_InstalledEs_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_InstallationInfo_InstalledEs_Item

func (*PackageListItem_InstallationInfo_InstalledEs_Item) UnmarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_InstalledEs_Item to handle AdditionalProperties

type PackageListItem_InstallationInfo_InstalledKibana_Item

type PackageListItem_InstallationInfo_InstalledKibana_Item struct {
	Id                   string                                             `json:"id"`
	OriginId             *string                                            `json:"originId,omitempty"`
	Type                 PackageListItemInstallationInfoInstalledKibanaType `json:"type"`
	AdditionalProperties map[string]interface{}                             `json:"-"`
}

PackageListItem_InstallationInfo_InstalledKibana_Item defines model for PackageListItem.InstallationInfo.InstalledKibana.Item.

func (PackageListItem_InstallationInfo_InstalledKibana_Item) Get

func (a PackageListItem_InstallationInfo_InstalledKibana_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_InstallationInfo_InstalledKibana_Item. Returns the specified element and whether it was found

func (PackageListItem_InstallationInfo_InstalledKibana_Item) MarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_InstalledKibana_Item to handle AdditionalProperties

func (*PackageListItem_InstallationInfo_InstalledKibana_Item) Set

func (a *PackageListItem_InstallationInfo_InstalledKibana_Item) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_InstallationInfo_InstalledKibana_Item

func (*PackageListItem_InstallationInfo_InstalledKibana_Item) UnmarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_InstalledKibana_Item to handle AdditionalProperties

type PackageListItem_InstallationInfo_LatestExecutedState

type PackageListItem_InstallationInfo_LatestExecutedState struct {
	Error                *string                `json:"error,omitempty"`
	Name                 string                 `json:"name"`
	StartedAt            string                 `json:"started_at"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageListItem_InstallationInfo_LatestExecutedState defines model for PackageListItem.InstallationInfo.LatestExecutedState.

func (PackageListItem_InstallationInfo_LatestExecutedState) Get

func (a PackageListItem_InstallationInfo_LatestExecutedState) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_InstallationInfo_LatestExecutedState. Returns the specified element and whether it was found

func (PackageListItem_InstallationInfo_LatestExecutedState) MarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_LatestExecutedState to handle AdditionalProperties

func (*PackageListItem_InstallationInfo_LatestExecutedState) Set

func (a *PackageListItem_InstallationInfo_LatestExecutedState) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_InstallationInfo_LatestExecutedState

func (*PackageListItem_InstallationInfo_LatestExecutedState) UnmarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_LatestExecutedState to handle AdditionalProperties

type PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error

type PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error struct {
	Message              string                 `json:"message"`
	Name                 string                 `json:"name"`
	Stack                *string                `json:"stack,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error defines model for PackageListItem.InstallationInfo.LatestInstallFailedAttempts.Error.

func (PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) Get

func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error. Returns the specified element and whether it was found

func (PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) MarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error to handle AdditionalProperties

func (*PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) Set

Setter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error

func (*PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error) UnmarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error to handle AdditionalProperties

type PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item

type PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item struct {
	CreatedAt            string                                                             `json:"created_at"`
	Error                PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Error `json:"error"`
	TargetVersion        string                                                             `json:"target_version"`
	AdditionalProperties map[string]interface{}                                             `json:"-"`
}

PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item defines model for PackageListItem.InstallationInfo.LatestInstallFailedAttempts.Item.

func (PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) Get

func (a PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item. Returns the specified element and whether it was found

func (PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) MarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item to handle AdditionalProperties

func (*PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) Set

Setter for additional properties for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item

func (*PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item) UnmarshalJSON

Override default JSON handling for PackageListItem_InstallationInfo_LatestInstallFailedAttempts_Item to handle AdditionalProperties

type PackageListItem_Owner

type PackageListItem_Owner struct {
	Github               *string                   `json:"github,omitempty"`
	Type                 *PackageListItemOwnerType `json:"type,omitempty"`
	AdditionalProperties map[string]interface{}    `json:"-"`
}

PackageListItem_Owner defines model for PackageListItem.Owner.

func (PackageListItem_Owner) Get

func (a PackageListItem_Owner) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_Owner. Returns the specified element and whether it was found

func (PackageListItem_Owner) MarshalJSON

func (a PackageListItem_Owner) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem_Owner to handle AdditionalProperties

func (*PackageListItem_Owner) Set

func (a *PackageListItem_Owner) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_Owner

func (*PackageListItem_Owner) UnmarshalJSON

func (a *PackageListItem_Owner) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem_Owner to handle AdditionalProperties

type PackageListItem_Source

type PackageListItem_Source struct {
	License              string                 `json:"license"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackageListItem_Source defines model for PackageListItem.Source.

func (PackageListItem_Source) Get

func (a PackageListItem_Source) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackageListItem_Source. Returns the specified element and whether it was found

func (PackageListItem_Source) MarshalJSON

func (a PackageListItem_Source) MarshalJSON() ([]byte, error)

Override default JSON handling for PackageListItem_Source to handle AdditionalProperties

func (*PackageListItem_Source) Set

func (a *PackageListItem_Source) Set(fieldName string, value interface{})

Setter for additional properties for PackageListItem_Source

func (*PackageListItem_Source) UnmarshalJSON

func (a *PackageListItem_Source) UnmarshalJSON(b []byte) error

Override default JSON handling for PackageListItem_Source to handle AdditionalProperties

type PackagePolicy

type PackagePolicy struct {
	Agents    *float32 `json:"agents,omitempty"`
	CreatedAt string   `json:"created_at"`
	CreatedBy string   `json:"created_by"`

	// Description Package policy description
	Description   *string                      `json:"description,omitempty"`
	Elasticsearch *PackagePolicy_Elasticsearch `json:"elasticsearch,omitempty"`
	Enabled       bool                         `json:"enabled"`
	Id            string                       `json:"id"`

	// Inputs Package policy inputs (see integration documentation to know what inputs are available)
	Inputs    map[string]PackagePolicyInput `json:"inputs"`
	IsManaged *bool                         `json:"is_managed,omitempty"`

	// Name Package policy name (should be unique)
	Name string `json:"name"`

	// Namespace The package policy namespace. Leave blank to inherit the agent policy's namespace.
	Namespace *string `json:"namespace,omitempty"`
	OutputId  *string `json:"output_id"`

	// Overrides Override settings that are defined in the package policy. The override option should be used only in unusual circumstances and not as a routine procedure.
	Overrides *struct {
		Inputs *map[string]interface{} `json:"inputs,omitempty"`
	} `json:"overrides"`
	Package *struct {
		ExperimentalDataStreamFeatures *[]struct {
			DataStream string `json:"data_stream"`
			Features   struct {
				DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"`
				DocValueOnlyOther   *bool `json:"doc_value_only_other,omitempty"`
				SyntheticSource     *bool `json:"synthetic_source,omitempty"`
				Tsdb                *bool `json:"tsdb,omitempty"`
			} `json:"features"`
		} `json:"experimental_data_stream_features,omitempty"`

		// Name Package name
		Name         string  `json:"name"`
		RequiresRoot *bool   `json:"requires_root,omitempty"`
		Title        *string `json:"title,omitempty"`

		// Version Package version
		Version string `json:"version"`
	} `json:"package,omitempty"`

	// PolicyId Agent policy ID where that package policy will be added
	// Deprecated:
	PolicyId         *string                   `json:"policy_id"`
	PolicyIds        *[]string                 `json:"policy_ids,omitempty"`
	Revision         float32                   `json:"revision"`
	SecretReferences *[]PackagePolicySecretRef `json:"secret_references,omitempty"`
	SpaceIds         *[]string                 `json:"spaceIds,omitempty"`
	UpdatedAt        string                    `json:"updated_at"`
	UpdatedBy        string                    `json:"updated_by"`
	Vars             *map[string]interface{}   `json:"vars,omitempty"`
	Version          *string                   `json:"version,omitempty"`
}

PackagePolicy defines model for package_policy.

type PackagePolicyInput

type PackagePolicyInput struct {
	// Enabled enable or disable that input, (default to true)
	Enabled *bool `json:"enabled,omitempty"`

	// Streams Input streams (see integration documentation to know what streams are available)
	Streams *map[string]PackagePolicyInputStream `json:"streams,omitempty"`
	Vars    *map[string]interface{}              `json:"vars,omitempty"`
}

PackagePolicyInput defines model for package_policy_input.

type PackagePolicyInputStream

type PackagePolicyInputStream struct {
	// Enabled enable or disable that stream, (default to true)
	Enabled *bool                   `json:"enabled,omitempty"`
	Vars    *map[string]interface{} `json:"vars,omitempty"`
}

PackagePolicyInputStream defines model for package_policy_input_stream.

type PackagePolicyRequest

type PackagePolicyRequest struct {
	Description *string `json:"description,omitempty"`
	Force       *bool   `json:"force,omitempty"`
	Id          *string `json:"id,omitempty"`

	// Inputs Package policy inputs (see integration documentation to know what inputs are available)
	Inputs    *map[string]PackagePolicyRequestInput `json:"inputs,omitempty"`
	Name      string                                `json:"name"`
	Namespace *string                               `json:"namespace,omitempty"`
	OutputId  *string                               `json:"output_id,omitempty"`
	Package   PackagePolicyRequestPackage           `json:"package"`
	PolicyId  *string                               `json:"policy_id"`
	PolicyIds *[]string                             `json:"policy_ids,omitempty"`
	Vars      *map[string]interface{}               `json:"vars,omitempty"`
}

PackagePolicyRequest defines model for package_policy_request.

type PackagePolicyRequestInput

type PackagePolicyRequestInput struct {
	// Enabled enable or disable that input, (default to true)
	Enabled *bool `json:"enabled,omitempty"`

	// Streams Input streams (see integration documentation to know what streams are available)
	Streams *map[string]PackagePolicyRequestInputStream `json:"streams,omitempty"`
	Vars    *map[string]interface{}                     `json:"vars,omitempty"`
}

PackagePolicyRequestInput defines model for package_policy_request_input.

type PackagePolicyRequestInputStream

type PackagePolicyRequestInputStream struct {
	// Enabled enable or disable that stream, (default to true)
	Enabled *bool                   `json:"enabled,omitempty"`
	Vars    *map[string]interface{} `json:"vars,omitempty"`
}

PackagePolicyRequestInputStream defines model for package_policy_request_input_stream.

type PackagePolicyRequestPackage

type PackagePolicyRequestPackage struct {
	ExperimentalDataStreamFeatures *[]struct {
		DataStream string `json:"data_stream"`
		Features   struct {
			DocValueOnlyNumeric *bool `json:"doc_value_only_numeric,omitempty"`
			DocValueOnlyOther   *bool `json:"doc_value_only_other,omitempty"`
			SyntheticSource     *bool `json:"synthetic_source,omitempty"`
			Tsdb                *bool `json:"tsdb,omitempty"`
		} `json:"features"`
	} `json:"experimental_data_stream_features,omitempty"`

	// Name Package name
	Name         string  `json:"name"`
	RequiresRoot *bool   `json:"requires_root,omitempty"`
	Title        *string `json:"title,omitempty"`

	// Version Package version
	Version string `json:"version"`
}

PackagePolicyRequestPackage defines model for package_policy_request_package.

type PackagePolicySecretRef

type PackagePolicySecretRef struct {
	Id string `json:"id"`
}

PackagePolicySecretRef defines model for package_policy_secret_ref.

type PackagePolicy_Elasticsearch

type PackagePolicy_Elasticsearch struct {
	Privileges           *PackagePolicy_Elasticsearch_Privileges `json:"privileges,omitempty"`
	AdditionalProperties map[string]interface{}                  `json:"-"`
}

PackagePolicy_Elasticsearch defines model for PackagePolicy.Elasticsearch.

func (PackagePolicy_Elasticsearch) Get

func (a PackagePolicy_Elasticsearch) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackagePolicy_Elasticsearch. Returns the specified element and whether it was found

func (PackagePolicy_Elasticsearch) MarshalJSON

func (a PackagePolicy_Elasticsearch) MarshalJSON() ([]byte, error)

Override default JSON handling for PackagePolicy_Elasticsearch to handle AdditionalProperties

func (*PackagePolicy_Elasticsearch) Set

func (a *PackagePolicy_Elasticsearch) Set(fieldName string, value interface{})

Setter for additional properties for PackagePolicy_Elasticsearch

func (*PackagePolicy_Elasticsearch) UnmarshalJSON

func (a *PackagePolicy_Elasticsearch) UnmarshalJSON(b []byte) error

Override default JSON handling for PackagePolicy_Elasticsearch to handle AdditionalProperties

type PackagePolicy_Elasticsearch_Privileges

type PackagePolicy_Elasticsearch_Privileges struct {
	Cluster              *[]string              `json:"cluster,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

PackagePolicy_Elasticsearch_Privileges defines model for PackagePolicy.Elasticsearch.Privileges.

func (PackagePolicy_Elasticsearch_Privileges) Get

func (a PackagePolicy_Elasticsearch_Privileges) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for PackagePolicy_Elasticsearch_Privileges. Returns the specified element and whether it was found

func (PackagePolicy_Elasticsearch_Privileges) MarshalJSON

func (a PackagePolicy_Elasticsearch_Privileges) MarshalJSON() ([]byte, error)

Override default JSON handling for PackagePolicy_Elasticsearch_Privileges to handle AdditionalProperties

func (*PackagePolicy_Elasticsearch_Privileges) Set

func (a *PackagePolicy_Elasticsearch_Privileges) Set(fieldName string, value interface{})

Setter for additional properties for PackagePolicy_Elasticsearch_Privileges

func (*PackagePolicy_Elasticsearch_Privileges) UnmarshalJSON

func (a *PackagePolicy_Elasticsearch_Privileges) UnmarshalJSON(b []byte) error

Override default JSON handling for PackagePolicy_Elasticsearch_Privileges to handle AdditionalProperties

type PostFleetAgentPoliciesDeleteJSONBody

type PostFleetAgentPoliciesDeleteJSONBody struct {
	AgentPolicyId string `json:"agentPolicyId"`

	// Force bypass validation checks that can prevent agent policy deletion
	Force *bool `json:"force,omitempty"`
}

PostFleetAgentPoliciesDeleteJSONBody defines parameters for PostFleetAgentPoliciesDelete.

type PostFleetAgentPoliciesDeleteJSONRequestBody

type PostFleetAgentPoliciesDeleteJSONRequestBody PostFleetAgentPoliciesDeleteJSONBody

PostFleetAgentPoliciesDeleteJSONRequestBody defines body for PostFleetAgentPoliciesDelete for application/json ContentType.

type PostFleetAgentPoliciesDeleteResponse

type PostFleetAgentPoliciesDeleteResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Id   string `json:"id"`
		Name string `json:"name"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePostFleetAgentPoliciesDeleteResponse

func ParsePostFleetAgentPoliciesDeleteResponse(rsp *http.Response) (*PostFleetAgentPoliciesDeleteResponse, error)

ParsePostFleetAgentPoliciesDeleteResponse parses an HTTP response from a PostFleetAgentPoliciesDeleteWithResponse call

func (PostFleetAgentPoliciesDeleteResponse) Status

Status returns HTTPResponse.Status

func (PostFleetAgentPoliciesDeleteResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostFleetAgentPoliciesJSONBody

type PostFleetAgentPoliciesJSONBody struct {
	AdvancedSettings *struct {
		AgentDownloadTargetDirectory *interface{} `json:"agent_download_target_directory"`
		AgentDownloadTimeout         *interface{} `json:"agent_download_timeout"`
		AgentLimitsGoMaxProcs        *interface{} `json:"agent_limits_go_max_procs"`
		AgentLoggingLevel            *interface{} `json:"agent_logging_level"`
		AgentLoggingMetricsPeriod    *interface{} `json:"agent_logging_metrics_period"`
	} `json:"advanced_settings,omitempty"`
	AgentFeatures *[]struct {
		Enabled bool   `json:"enabled"`
		Name    string `json:"name"`
	} `json:"agent_features,omitempty"`
	DataOutputId      *string `json:"data_output_id"`
	Description       *string `json:"description,omitempty"`
	DownloadSourceId  *string `json:"download_source_id"`
	FleetServerHostId *string `json:"fleet_server_host_id"`
	Force             *bool   `json:"force,omitempty"`

	// GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers.
	GlobalDataTags *[]struct {
		Name  string                                              `json:"name"`
		Value PostFleetAgentPoliciesJSONBody_GlobalDataTags_Value `json:"value"`
	} `json:"global_data_tags,omitempty"`
	HasFleetServer       *bool    `json:"has_fleet_server,omitempty"`
	Id                   *string  `json:"id,omitempty"`
	InactivityTimeout    *float32 `json:"inactivity_timeout,omitempty"`
	IsDefault            *bool    `json:"is_default,omitempty"`
	IsDefaultFleetServer *bool    `json:"is_default_fleet_server,omitempty"`
	IsManaged            *bool    `json:"is_managed,omitempty"`
	IsProtected          *bool    `json:"is_protected,omitempty"`

	// KeepMonitoringAlive When set to true, monitoring will be enabled but logs/metrics collection will be disabled
	KeepMonitoringAlive   *bool `json:"keep_monitoring_alive,omitempty"`
	MonitoringDiagnostics *struct {
		Limit *struct {
			Burst    *float32 `json:"burst,omitempty"`
			Interval *string  `json:"interval,omitempty"`
		} `json:"limit,omitempty"`
		Uploader *struct {
			InitDur    *string  `json:"init_dur,omitempty"`
			MaxDur     *string  `json:"max_dur,omitempty"`
			MaxRetries *float32 `json:"max_retries,omitempty"`
		} `json:"uploader,omitempty"`
	} `json:"monitoring_diagnostics,omitempty"`
	MonitoringEnabled *[]PostFleetAgentPoliciesJSONBodyMonitoringEnabled `json:"monitoring_enabled,omitempty"`
	MonitoringHttp    *struct {
		Buffer *struct {
			Enabled *bool `json:"enabled,omitempty"`
		} `json:"buffer,omitempty"`
		Enabled bool     `json:"enabled"`
		Host    *string  `json:"host,omitempty"`
		Port    *float32 `json:"port,omitempty"`
	} `json:"monitoring_http,omitempty"`
	MonitoringOutputId     *string `json:"monitoring_output_id"`
	MonitoringPprofEnabled *bool   `json:"monitoring_pprof_enabled,omitempty"`
	Name                   string  `json:"name"`
	Namespace              string  `json:"namespace"`

	// Overrides Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure.
	Overrides *map[string]interface{} `json:"overrides,omitempty"`
	SpaceIds  *[]string               `json:"space_ids,omitempty"`

	// SupportsAgentless Indicates whether the agent policy supports agentless integrations.
	SupportsAgentless *bool    `json:"supports_agentless,omitempty"`
	UnenrollTimeout   *float32 `json:"unenroll_timeout,omitempty"`
}

PostFleetAgentPoliciesJSONBody defines parameters for PostFleetAgentPolicies.

type PostFleetAgentPoliciesJSONBodyGlobalDataTagsValue0

type PostFleetAgentPoliciesJSONBodyGlobalDataTagsValue0 = string

PostFleetAgentPoliciesJSONBodyGlobalDataTagsValue0 defines parameters for PostFleetAgentPolicies.

type PostFleetAgentPoliciesJSONBodyGlobalDataTagsValue1

type PostFleetAgentPoliciesJSONBodyGlobalDataTagsValue1 = float32

PostFleetAgentPoliciesJSONBodyGlobalDataTagsValue1 defines parameters for PostFleetAgentPolicies.

type PostFleetAgentPoliciesJSONBodyMonitoringEnabled

type PostFleetAgentPoliciesJSONBodyMonitoringEnabled string

PostFleetAgentPoliciesJSONBodyMonitoringEnabled defines parameters for PostFleetAgentPolicies.

const (
	PostFleetAgentPoliciesJSONBodyMonitoringEnabledLogs    PostFleetAgentPoliciesJSONBodyMonitoringEnabled = "logs"
	PostFleetAgentPoliciesJSONBodyMonitoringEnabledMetrics PostFleetAgentPoliciesJSONBodyMonitoringEnabled = "metrics"
	PostFleetAgentPoliciesJSONBodyMonitoringEnabledTraces  PostFleetAgentPoliciesJSONBodyMonitoringEnabled = "traces"
)

Defines values for PostFleetAgentPoliciesJSONBodyMonitoringEnabled.

type PostFleetAgentPoliciesJSONBody_GlobalDataTags_Value

type PostFleetAgentPoliciesJSONBody_GlobalDataTags_Value struct {
	// contains filtered or unexported fields
}

PostFleetAgentPoliciesJSONBody_GlobalDataTags_Value defines parameters for PostFleetAgentPolicies.

type PostFleetAgentPoliciesJSONRequestBody

type PostFleetAgentPoliciesJSONRequestBody PostFleetAgentPoliciesJSONBody

PostFleetAgentPoliciesJSONRequestBody defines body for PostFleetAgentPolicies for application/json ContentType.

type PostFleetAgentPoliciesParams

type PostFleetAgentPoliciesParams struct {
	SysMonitoring *bool `form:"sys_monitoring,omitempty" json:"sys_monitoring,omitempty"`
}

PostFleetAgentPoliciesParams defines parameters for PostFleetAgentPolicies.

type PostFleetAgentPoliciesResponse

type PostFleetAgentPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item AgentPolicy `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePostFleetAgentPoliciesResponse

func ParsePostFleetAgentPoliciesResponse(rsp *http.Response) (*PostFleetAgentPoliciesResponse, error)

ParsePostFleetAgentPoliciesResponse parses an HTTP response from a PostFleetAgentPoliciesWithResponse call

func (PostFleetAgentPoliciesResponse) Status

Status returns HTTPResponse.Status

func (PostFleetAgentPoliciesResponse) StatusCode

func (r PostFleetAgentPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFleetEpmPackagesParams

type PostFleetEpmPackagesParams struct {
	IgnoreMappingUpdateErrors *bool `form:"ignoreMappingUpdateErrors,omitempty" json:"ignoreMappingUpdateErrors,omitempty"`
	SkipDataStreamRollover    *bool `form:"skipDataStreamRollover,omitempty" json:"skipDataStreamRollover,omitempty"`
}

PostFleetEpmPackagesParams defines parameters for PostFleetEpmPackages.

type PostFleetEpmPackagesPkgnamePkgversion200Items0

type PostFleetEpmPackagesPkgnamePkgversion200Items0 struct {
	Id       string                                             `json:"id"`
	OriginId *string                                            `json:"originId,omitempty"`
	Type     PostFleetEpmPackagesPkgnamePkgversion200Items0Type `json:"type"`
}

type PostFleetEpmPackagesPkgnamePkgversion200Items0Type

type PostFleetEpmPackagesPkgnamePkgversion200Items0Type string

type PostFleetEpmPackagesPkgnamePkgversion200Items1

type PostFleetEpmPackagesPkgnamePkgversion200Items1 struct {
	Deferred *bool                                              `json:"deferred,omitempty"`
	Id       string                                             `json:"id"`
	Type     PostFleetEpmPackagesPkgnamePkgversion200Items1Type `json:"type"`
	Version  *string                                            `json:"version,omitempty"`
}

type PostFleetEpmPackagesPkgnamePkgversion200Items1Type

type PostFleetEpmPackagesPkgnamePkgversion200Items1Type string

type PostFleetEpmPackagesPkgnamePkgversionJSONBody

type PostFleetEpmPackagesPkgnamePkgversionJSONBody struct {
	Force             *bool `json:"force,omitempty"`
	IgnoreConstraints *bool `json:"ignore_constraints,omitempty"`
}

PostFleetEpmPackagesPkgnamePkgversionJSONBody defines parameters for PostFleetEpmPackagesPkgnamePkgversion.

type PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody

type PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody PostFleetEpmPackagesPkgnamePkgversionJSONBody

PostFleetEpmPackagesPkgnamePkgversionJSONRequestBody defines body for PostFleetEpmPackagesPkgnamePkgversion for application/json ContentType.

type PostFleetEpmPackagesPkgnamePkgversionParams

type PostFleetEpmPackagesPkgnamePkgversionParams struct {
	Prerelease                *bool `form:"prerelease,omitempty" json:"prerelease,omitempty"`
	IgnoreMappingUpdateErrors *bool `form:"ignoreMappingUpdateErrors,omitempty" json:"ignoreMappingUpdateErrors,omitempty"`
	SkipDataStreamRollover    *bool `form:"skipDataStreamRollover,omitempty" json:"skipDataStreamRollover,omitempty"`
}

PostFleetEpmPackagesPkgnamePkgversionParams defines parameters for PostFleetEpmPackagesPkgnamePkgversion.

type PostFleetEpmPackagesPkgnamePkgversionResponse

type PostFleetEpmPackagesPkgnamePkgversionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Meta struct {
			InstallSource string `json:"install_source"`
		} `json:"_meta"`
		Items []PostFleetEpmPackagesPkgnamePkgversion_200_Items_Item `json:"items"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePostFleetEpmPackagesPkgnamePkgversionResponse

func ParsePostFleetEpmPackagesPkgnamePkgversionResponse(rsp *http.Response) (*PostFleetEpmPackagesPkgnamePkgversionResponse, error)

ParsePostFleetEpmPackagesPkgnamePkgversionResponse parses an HTTP response from a PostFleetEpmPackagesPkgnamePkgversionWithResponse call

func (PostFleetEpmPackagesPkgnamePkgversionResponse) Status

Status returns HTTPResponse.Status

func (PostFleetEpmPackagesPkgnamePkgversionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PostFleetEpmPackagesPkgnamePkgversion_200_Items_Item

type PostFleetEpmPackagesPkgnamePkgversion_200_Items_Item struct {
	// contains filtered or unexported fields
}

type PostFleetEpmPackagesResponse

type PostFleetEpmPackagesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostFleetEpmPackagesResponse

func ParsePostFleetEpmPackagesResponse(rsp *http.Response) (*PostFleetEpmPackagesResponse, error)

ParsePostFleetEpmPackagesResponse parses an HTTP response from a PostFleetEpmPackagesWithResponse call

func (PostFleetEpmPackagesResponse) Status

Status returns HTTPResponse.Status

func (PostFleetEpmPackagesResponse) StatusCode

func (r PostFleetEpmPackagesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFleetFleetServerHostsJSONBody

type PostFleetFleetServerHostsJSONBody struct {
	HostUrls        []string `json:"host_urls"`
	Id              *string  `json:"id,omitempty"`
	IsDefault       *bool    `json:"is_default,omitempty"`
	IsInternal      *bool    `json:"is_internal,omitempty"`
	IsPreconfigured *bool    `json:"is_preconfigured,omitempty"`
	Name            string   `json:"name"`
	ProxyId         *string  `json:"proxy_id,omitempty"`
}

PostFleetFleetServerHostsJSONBody defines parameters for PostFleetFleetServerHosts.

type PostFleetFleetServerHostsJSONRequestBody

type PostFleetFleetServerHostsJSONRequestBody PostFleetFleetServerHostsJSONBody

PostFleetFleetServerHostsJSONRequestBody defines body for PostFleetFleetServerHosts for application/json ContentType.

type PostFleetFleetServerHostsResponse

type PostFleetFleetServerHostsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item ServerHost `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePostFleetFleetServerHostsResponse

func ParsePostFleetFleetServerHostsResponse(rsp *http.Response) (*PostFleetFleetServerHostsResponse, error)

ParsePostFleetFleetServerHostsResponse parses an HTTP response from a PostFleetFleetServerHostsWithResponse call

func (PostFleetFleetServerHostsResponse) Status

Status returns HTTPResponse.Status

func (PostFleetFleetServerHostsResponse) StatusCode

func (r PostFleetFleetServerHostsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFleetOutputsJSONRequestBody

type PostFleetOutputsJSONRequestBody = NewOutputUnion

PostFleetOutputsJSONRequestBody defines body for PostFleetOutputs for application/json ContentType.

type PostFleetOutputsResponse

type PostFleetOutputsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item OutputUnion `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePostFleetOutputsResponse

func ParsePostFleetOutputsResponse(rsp *http.Response) (*PostFleetOutputsResponse, error)

ParsePostFleetOutputsResponse parses an HTTP response from a PostFleetOutputsWithResponse call

func (PostFleetOutputsResponse) Status

func (r PostFleetOutputsResponse) Status() string

Status returns HTTPResponse.Status

func (PostFleetOutputsResponse) StatusCode

func (r PostFleetOutputsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostFleetPackagePoliciesJSONRequestBody

type PostFleetPackagePoliciesJSONRequestBody = PackagePolicyRequest

PostFleetPackagePoliciesJSONRequestBody defines body for PostFleetPackagePolicies for application/json ContentType.

type PostFleetPackagePoliciesParams

type PostFleetPackagePoliciesParams struct {
	Format *PostFleetPackagePoliciesParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}

PostFleetPackagePoliciesParams defines parameters for PostFleetPackagePolicies.

type PostFleetPackagePoliciesParamsFormat

type PostFleetPackagePoliciesParamsFormat string

PostFleetPackagePoliciesParamsFormat defines parameters for PostFleetPackagePolicies.

const (
	PostFleetPackagePoliciesParamsFormatLegacy     PostFleetPackagePoliciesParamsFormat = "legacy"
	PostFleetPackagePoliciesParamsFormatSimplified PostFleetPackagePoliciesParamsFormat = "simplified"
)

Defines values for PostFleetPackagePoliciesParamsFormat.

type PostFleetPackagePoliciesResponse

type PostFleetPackagePoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item PackagePolicy `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
	JSON409 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePostFleetPackagePoliciesResponse

func ParsePostFleetPackagePoliciesResponse(rsp *http.Response) (*PostFleetPackagePoliciesResponse, error)

ParsePostFleetPackagePoliciesResponse parses an HTTP response from a PostFleetPackagePoliciesWithResponse call

func (PostFleetPackagePoliciesResponse) Status

Status returns HTTPResponse.Status

func (PostFleetPackagePoliciesResponse) StatusCode

func (r PostFleetPackagePoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutFleetAgentPoliciesAgentpolicyidJSONBody

type PutFleetAgentPoliciesAgentpolicyidJSONBody struct {
	AdvancedSettings *struct {
		AgentDownloadTargetDirectory *interface{} `json:"agent_download_target_directory"`
		AgentDownloadTimeout         *interface{} `json:"agent_download_timeout"`
		AgentLimitsGoMaxProcs        *interface{} `json:"agent_limits_go_max_procs"`
		AgentLoggingLevel            *interface{} `json:"agent_logging_level"`
		AgentLoggingMetricsPeriod    *interface{} `json:"agent_logging_metrics_period"`
	} `json:"advanced_settings,omitempty"`
	AgentFeatures *[]struct {
		Enabled bool   `json:"enabled"`
		Name    string `json:"name"`
	} `json:"agent_features,omitempty"`
	DataOutputId      *string `json:"data_output_id"`
	Description       *string `json:"description,omitempty"`
	DownloadSourceId  *string `json:"download_source_id"`
	FleetServerHostId *string `json:"fleet_server_host_id"`
	Force             *bool   `json:"force,omitempty"`

	// GlobalDataTags User defined data tags that are added to all of the inputs. The values can be strings or numbers.
	GlobalDataTags *[]struct {
		Name  string                                                          `json:"name"`
		Value PutFleetAgentPoliciesAgentpolicyidJSONBody_GlobalDataTags_Value `json:"value"`
	} `json:"global_data_tags,omitempty"`
	HasFleetServer       *bool    `json:"has_fleet_server,omitempty"`
	Id                   *string  `json:"id,omitempty"`
	InactivityTimeout    *float32 `json:"inactivity_timeout,omitempty"`
	IsDefault            *bool    `json:"is_default,omitempty"`
	IsDefaultFleetServer *bool    `json:"is_default_fleet_server,omitempty"`
	IsManaged            *bool    `json:"is_managed,omitempty"`
	IsProtected          *bool    `json:"is_protected,omitempty"`

	// KeepMonitoringAlive When set to true, monitoring will be enabled but logs/metrics collection will be disabled
	KeepMonitoringAlive   *bool `json:"keep_monitoring_alive,omitempty"`
	MonitoringDiagnostics *struct {
		Limit *struct {
			Burst    *float32 `json:"burst,omitempty"`
			Interval *string  `json:"interval,omitempty"`
		} `json:"limit,omitempty"`
		Uploader *struct {
			InitDur    *string  `json:"init_dur,omitempty"`
			MaxDur     *string  `json:"max_dur,omitempty"`
			MaxRetries *float32 `json:"max_retries,omitempty"`
		} `json:"uploader,omitempty"`
	} `json:"monitoring_diagnostics,omitempty"`
	MonitoringEnabled *[]PutFleetAgentPoliciesAgentpolicyidJSONBodyMonitoringEnabled `json:"monitoring_enabled,omitempty"`
	MonitoringHttp    *struct {
		Buffer *struct {
			Enabled *bool `json:"enabled,omitempty"`
		} `json:"buffer,omitempty"`
		Enabled bool     `json:"enabled"`
		Host    *string  `json:"host,omitempty"`
		Port    *float32 `json:"port,omitempty"`
	} `json:"monitoring_http,omitempty"`
	MonitoringOutputId     *string `json:"monitoring_output_id"`
	MonitoringPprofEnabled *bool   `json:"monitoring_pprof_enabled,omitempty"`
	Name                   string  `json:"name"`
	Namespace              string  `json:"namespace"`

	// Overrides Override settings that are defined in the agent policy. Input settings cannot be overridden. The override option should be used only in unusual circumstances and not as a routine procedure.
	Overrides *map[string]interface{} `json:"overrides,omitempty"`
	SpaceIds  *[]string               `json:"space_ids,omitempty"`

	// SupportsAgentless Indicates whether the agent policy supports agentless integrations.
	SupportsAgentless *bool    `json:"supports_agentless,omitempty"`
	UnenrollTimeout   *float32 `json:"unenroll_timeout,omitempty"`
}

PutFleetAgentPoliciesAgentpolicyidJSONBody defines parameters for PutFleetAgentPoliciesAgentpolicyid.

type PutFleetAgentPoliciesAgentpolicyidJSONBodyGlobalDataTagsValue0

type PutFleetAgentPoliciesAgentpolicyidJSONBodyGlobalDataTagsValue0 = string

PutFleetAgentPoliciesAgentpolicyidJSONBodyGlobalDataTagsValue0 defines parameters for PutFleetAgentPoliciesAgentpolicyid.

type PutFleetAgentPoliciesAgentpolicyidJSONBodyGlobalDataTagsValue1

type PutFleetAgentPoliciesAgentpolicyidJSONBodyGlobalDataTagsValue1 = float32

PutFleetAgentPoliciesAgentpolicyidJSONBodyGlobalDataTagsValue1 defines parameters for PutFleetAgentPoliciesAgentpolicyid.

type PutFleetAgentPoliciesAgentpolicyidJSONBodyMonitoringEnabled

type PutFleetAgentPoliciesAgentpolicyidJSONBodyMonitoringEnabled string

PutFleetAgentPoliciesAgentpolicyidJSONBodyMonitoringEnabled defines parameters for PutFleetAgentPoliciesAgentpolicyid.

Defines values for PutFleetAgentPoliciesAgentpolicyidJSONBodyMonitoringEnabled.

type PutFleetAgentPoliciesAgentpolicyidJSONBody_GlobalDataTags_Value

type PutFleetAgentPoliciesAgentpolicyidJSONBody_GlobalDataTags_Value struct {
	// contains filtered or unexported fields
}

PutFleetAgentPoliciesAgentpolicyidJSONBody_GlobalDataTags_Value defines parameters for PutFleetAgentPoliciesAgentpolicyid.

type PutFleetAgentPoliciesAgentpolicyidJSONRequestBody

type PutFleetAgentPoliciesAgentpolicyidJSONRequestBody PutFleetAgentPoliciesAgentpolicyidJSONBody

PutFleetAgentPoliciesAgentpolicyidJSONRequestBody defines body for PutFleetAgentPoliciesAgentpolicyid for application/json ContentType.

type PutFleetAgentPoliciesAgentpolicyidParams

type PutFleetAgentPoliciesAgentpolicyidParams struct {
	Format *PutFleetAgentPoliciesAgentpolicyidParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}

PutFleetAgentPoliciesAgentpolicyidParams defines parameters for PutFleetAgentPoliciesAgentpolicyid.

type PutFleetAgentPoliciesAgentpolicyidParamsFormat

type PutFleetAgentPoliciesAgentpolicyidParamsFormat string

PutFleetAgentPoliciesAgentpolicyidParamsFormat defines parameters for PutFleetAgentPoliciesAgentpolicyid.

const (
	PutFleetAgentPoliciesAgentpolicyidParamsFormatLegacy     PutFleetAgentPoliciesAgentpolicyidParamsFormat = "legacy"
	PutFleetAgentPoliciesAgentpolicyidParamsFormatSimplified PutFleetAgentPoliciesAgentpolicyidParamsFormat = "simplified"
)

Defines values for PutFleetAgentPoliciesAgentpolicyidParamsFormat.

type PutFleetAgentPoliciesAgentpolicyidResponse

type PutFleetAgentPoliciesAgentpolicyidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item AgentPolicy `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePutFleetAgentPoliciesAgentpolicyidResponse

func ParsePutFleetAgentPoliciesAgentpolicyidResponse(rsp *http.Response) (*PutFleetAgentPoliciesAgentpolicyidResponse, error)

ParsePutFleetAgentPoliciesAgentpolicyidResponse parses an HTTP response from a PutFleetAgentPoliciesAgentpolicyidWithResponse call

func (PutFleetAgentPoliciesAgentpolicyidResponse) Status

Status returns HTTPResponse.Status

func (PutFleetAgentPoliciesAgentpolicyidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutFleetFleetServerHostsItemidJSONBody

type PutFleetFleetServerHostsItemidJSONBody struct {
	HostUrls   *[]string `json:"host_urls,omitempty"`
	IsDefault  *bool     `json:"is_default,omitempty"`
	IsInternal *bool     `json:"is_internal,omitempty"`
	Name       *string   `json:"name,omitempty"`
	ProxyId    *string   `json:"proxy_id,omitempty"`
}

PutFleetFleetServerHostsItemidJSONBody defines parameters for PutFleetFleetServerHostsItemid.

type PutFleetFleetServerHostsItemidJSONRequestBody

type PutFleetFleetServerHostsItemidJSONRequestBody PutFleetFleetServerHostsItemidJSONBody

PutFleetFleetServerHostsItemidJSONRequestBody defines body for PutFleetFleetServerHostsItemid for application/json ContentType.

type PutFleetFleetServerHostsItemidResponse

type PutFleetFleetServerHostsItemidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item ServerHost `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePutFleetFleetServerHostsItemidResponse

func ParsePutFleetFleetServerHostsItemidResponse(rsp *http.Response) (*PutFleetFleetServerHostsItemidResponse, error)

ParsePutFleetFleetServerHostsItemidResponse parses an HTTP response from a PutFleetFleetServerHostsItemidWithResponse call

func (PutFleetFleetServerHostsItemidResponse) Status

Status returns HTTPResponse.Status

func (PutFleetFleetServerHostsItemidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type PutFleetOutputsOutputidJSONRequestBody

type PutFleetOutputsOutputidJSONRequestBody = UpdateOutputUnion

PutFleetOutputsOutputidJSONRequestBody defines body for PutFleetOutputsOutputid for application/json ContentType.

type PutFleetOutputsOutputidResponse

type PutFleetOutputsOutputidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item OutputUnion `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePutFleetOutputsOutputidResponse

func ParsePutFleetOutputsOutputidResponse(rsp *http.Response) (*PutFleetOutputsOutputidResponse, error)

ParsePutFleetOutputsOutputidResponse parses an HTTP response from a PutFleetOutputsOutputidWithResponse call

func (PutFleetOutputsOutputidResponse) Status

Status returns HTTPResponse.Status

func (PutFleetOutputsOutputidResponse) StatusCode

func (r PutFleetOutputsOutputidResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PutFleetPackagePoliciesPackagepolicyidJSONRequestBody

type PutFleetPackagePoliciesPackagepolicyidJSONRequestBody = PackagePolicyRequest

PutFleetPackagePoliciesPackagepolicyidJSONRequestBody defines body for PutFleetPackagePoliciesPackagepolicyid for application/json ContentType.

type PutFleetPackagePoliciesPackagepolicyidParams

type PutFleetPackagePoliciesPackagepolicyidParams struct {
	Format *PutFleetPackagePoliciesPackagepolicyidParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}

PutFleetPackagePoliciesPackagepolicyidParams defines parameters for PutFleetPackagePoliciesPackagepolicyid.

type PutFleetPackagePoliciesPackagepolicyidParamsFormat

type PutFleetPackagePoliciesPackagepolicyidParamsFormat string

PutFleetPackagePoliciesPackagepolicyidParamsFormat defines parameters for PutFleetPackagePoliciesPackagepolicyid.

Defines values for PutFleetPackagePoliciesPackagepolicyidParamsFormat.

type PutFleetPackagePoliciesPackagepolicyidResponse

type PutFleetPackagePoliciesPackagepolicyidResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Item PackagePolicy `json:"item"`
	}
	JSON400 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
	JSON403 *struct {
		Error      *string  `json:"error,omitempty"`
		Message    string   `json:"message"`
		StatusCode *float32 `json:"statusCode,omitempty"`
	}
}

func ParsePutFleetPackagePoliciesPackagepolicyidResponse

func ParsePutFleetPackagePoliciesPackagepolicyidResponse(rsp *http.Response) (*PutFleetPackagePoliciesPackagepolicyidResponse, error)

ParsePutFleetPackagePoliciesPackagepolicyidResponse parses an HTTP response from a PutFleetPackagePoliciesPackagepolicyidWithResponse call

func (PutFleetPackagePoliciesPackagepolicyidResponse) Status

Status returns HTTPResponse.Status

func (PutFleetPackagePoliciesPackagepolicyidResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type ServerHost

type ServerHost struct {
	HostUrls        []string `json:"host_urls"`
	Id              string   `json:"id"`
	IsDefault       *bool    `json:"is_default,omitempty"`
	IsInternal      *bool    `json:"is_internal,omitempty"`
	IsPreconfigured *bool    `json:"is_preconfigured,omitempty"`
	Name            string   `json:"name"`
	ProxyId         *string  `json:"proxy_id"`
}

ServerHost defines model for server_host.

type SpaceId

type SpaceId = string

SpaceId defines model for spaceId.

type UpdateDataViewDefaultJSONRequestBody

type UpdateDataViewDefaultJSONRequestBody = DataViewsUpdateDataViewRequestObject

UpdateDataViewDefaultJSONRequestBody defines body for UpdateDataViewDefault for application/json ContentType.

type UpdateDataViewDefaultResponse

type UpdateDataViewDefaultResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DataViewsDataViewResponseObject
	JSON400      *DataViews400Response
}

func ParseUpdateDataViewDefaultResponse

func ParseUpdateDataViewDefaultResponse(rsp *http.Response) (*UpdateDataViewDefaultResponse, error)

ParseUpdateDataViewDefaultResponse parses an HTTP response from a UpdateDataViewDefaultWithResponse call

func (UpdateDataViewDefaultResponse) Status

Status returns HTTPResponse.Status

func (UpdateDataViewDefaultResponse) StatusCode

func (r UpdateDataViewDefaultResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateOutputElasticsearch

type UpdateOutputElasticsearch struct {
	AllowEdit            *[]string                        `json:"allow_edit,omitempty"`
	CaSha256             *string                          `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                          `json:"ca_trusted_fingerprint,omitempty"`
	ConfigYaml           *string                          `json:"config_yaml"`
	Hosts                *[]string                        `json:"hosts,omitempty"`
	IsDefault            *bool                            `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                            `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool                            `json:"is_internal,omitempty"`
	IsPreconfigured      *bool                            `json:"is_preconfigured,omitempty"`
	Name                 *string                          `json:"name,omitempty"`
	Preset               *UpdateOutputElasticsearchPreset `json:"preset,omitempty"`
	ProxyId              *string                          `json:"proxy_id,omitempty"`
	Shipper              *UpdateOutputShipper             `json:"shipper,omitempty"`
	Ssl                  *UpdateOutputSsl                 `json:"ssl,omitempty"`
	Type                 *UpdateOutputElasticsearchType   `json:"type,omitempty"`
}

UpdateOutputElasticsearch defines model for update_output_elasticsearch.

type UpdateOutputElasticsearchPreset

type UpdateOutputElasticsearchPreset string

UpdateOutputElasticsearchPreset defines model for UpdateOutputElasticsearch.Preset.

const (
	UpdateOutputElasticsearchPresetBalanced   UpdateOutputElasticsearchPreset = "balanced"
	UpdateOutputElasticsearchPresetCustom     UpdateOutputElasticsearchPreset = "custom"
	UpdateOutputElasticsearchPresetLatency    UpdateOutputElasticsearchPreset = "latency"
	UpdateOutputElasticsearchPresetScale      UpdateOutputElasticsearchPreset = "scale"
	UpdateOutputElasticsearchPresetThroughput UpdateOutputElasticsearchPreset = "throughput"
)

Defines values for UpdateOutputElasticsearchPreset.

type UpdateOutputElasticsearchType

type UpdateOutputElasticsearchType string

UpdateOutputElasticsearchType defines model for UpdateOutputElasticsearch.Type.

const (
	Elasticsearch UpdateOutputElasticsearchType = "elasticsearch"
)

Defines values for UpdateOutputElasticsearchType.

type UpdateOutputKafka

type UpdateOutputKafka struct {
	AllowEdit            *[]string                     `json:"allow_edit,omitempty"`
	AuthType             *UpdateOutputKafkaAuthType    `json:"auth_type,omitempty"`
	BrokerTimeout        *float32                      `json:"broker_timeout,omitempty"`
	CaSha256             *string                       `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                       `json:"ca_trusted_fingerprint,omitempty"`
	ClientId             *string                       `json:"client_id,omitempty"`
	Compression          *UpdateOutputKafkaCompression `json:"compression,omitempty"`
	CompressionLevel     interface{}                   `json:"compression_level"`
	ConfigYaml           *string                       `json:"config_yaml"`
	ConnectionType       interface{}                   `json:"connection_type"`
	Hash                 *struct {
		Hash   *string `json:"hash,omitempty"`
		Random *bool   `json:"random,omitempty"`
	} `json:"hash,omitempty"`
	Headers *[]struct {
		Key   string `json:"key"`
		Value string `json:"value"`
	} `json:"headers,omitempty"`
	Hosts               *[]string                   `json:"hosts,omitempty"`
	IsDefault           *bool                       `json:"is_default,omitempty"`
	IsDefaultMonitoring *bool                       `json:"is_default_monitoring,omitempty"`
	IsInternal          *bool                       `json:"is_internal,omitempty"`
	IsPreconfigured     *bool                       `json:"is_preconfigured,omitempty"`
	Key                 *string                     `json:"key,omitempty"`
	Name                string                      `json:"name"`
	Partition           *UpdateOutputKafkaPartition `json:"partition,omitempty"`
	Password            interface{}                 `json:"password"`
	ProxyId             *string                     `json:"proxy_id,omitempty"`
	Random              *struct {
		GroupEvents *float32 `json:"group_events,omitempty"`
	} `json:"random,omitempty"`
	RequiredAcks *UpdateOutputKafkaRequiredAcks `json:"required_acks,omitempty"`
	RoundRobin   *struct {
		GroupEvents *float32 `json:"group_events,omitempty"`
	} `json:"round_robin,omitempty"`
	Sasl *struct {
		Mechanism *UpdateOutputKafkaSaslMechanism `json:"mechanism,omitempty"`
	} `json:"sasl"`
	Secrets *struct {
		Password *UpdateOutputKafka_Secrets_Password `json:"password,omitempty"`
		Ssl      *struct {
			Key UpdateOutputKafka_Secrets_Ssl_Key `json:"key"`
		} `json:"ssl,omitempty"`
	} `json:"secrets,omitempty"`
	Shipper  *UpdateOutputShipper   `json:"shipper,omitempty"`
	Ssl      *UpdateOutputSsl       `json:"ssl,omitempty"`
	Timeout  *float32               `json:"timeout,omitempty"`
	Topic    *string                `json:"topic,omitempty"`
	Type     *UpdateOutputKafkaType `json:"type,omitempty"`
	Username interface{}            `json:"username"`
	Version  *string                `json:"version,omitempty"`
}

UpdateOutputKafka defines model for update_output_kafka.

type UpdateOutputKafkaAuthType

type UpdateOutputKafkaAuthType string

UpdateOutputKafkaAuthType defines model for UpdateOutputKafka.AuthType.

const (
	UpdateOutputKafkaAuthTypeKerberos UpdateOutputKafkaAuthType = "kerberos"
	UpdateOutputKafkaAuthTypeNone     UpdateOutputKafkaAuthType = "none"
	UpdateOutputKafkaAuthTypeSsl      UpdateOutputKafkaAuthType = "ssl"
	UpdateOutputKafkaAuthTypeUserPass UpdateOutputKafkaAuthType = "user_pass"
)

Defines values for UpdateOutputKafkaAuthType.

type UpdateOutputKafkaCompression

type UpdateOutputKafkaCompression string

UpdateOutputKafkaCompression defines model for UpdateOutputKafka.Compression.

const (
	UpdateOutputKafkaCompressionGzip   UpdateOutputKafkaCompression = "gzip"
	UpdateOutputKafkaCompressionLz4    UpdateOutputKafkaCompression = "lz4"
	UpdateOutputKafkaCompressionNone   UpdateOutputKafkaCompression = "none"
	UpdateOutputKafkaCompressionSnappy UpdateOutputKafkaCompression = "snappy"
)

Defines values for UpdateOutputKafkaCompression.

type UpdateOutputKafkaPartition

type UpdateOutputKafkaPartition string

UpdateOutputKafkaPartition defines model for UpdateOutputKafka.Partition.

const (
	Hash       UpdateOutputKafkaPartition = "hash"
	Random     UpdateOutputKafkaPartition = "random"
	RoundRobin UpdateOutputKafkaPartition = "round_robin"
)

Defines values for UpdateOutputKafkaPartition.

type UpdateOutputKafkaRequiredAcks

type UpdateOutputKafkaRequiredAcks int

UpdateOutputKafkaRequiredAcks defines model for UpdateOutputKafka.RequiredAcks.

Defines values for UpdateOutputKafkaRequiredAcks.

type UpdateOutputKafkaSaslMechanism

type UpdateOutputKafkaSaslMechanism string

UpdateOutputKafkaSaslMechanism defines model for UpdateOutputKafka.Sasl.Mechanism.

const (
	PLAIN       UpdateOutputKafkaSaslMechanism = "PLAIN"
	SCRAMSHA256 UpdateOutputKafkaSaslMechanism = "SCRAM-SHA-256"
	SCRAMSHA512 UpdateOutputKafkaSaslMechanism = "SCRAM-SHA-512"
)

Defines values for UpdateOutputKafkaSaslMechanism.

type UpdateOutputKafkaSecretsPassword0

type UpdateOutputKafkaSecretsPassword0 struct {
	Id string `json:"id"`
}

UpdateOutputKafkaSecretsPassword0 defines model for .

type UpdateOutputKafkaSecretsPassword1

type UpdateOutputKafkaSecretsPassword1 = string

UpdateOutputKafkaSecretsPassword1 defines model for .

type UpdateOutputKafkaSecretsSslKey0

type UpdateOutputKafkaSecretsSslKey0 struct {
	Id string `json:"id"`
}

UpdateOutputKafkaSecretsSslKey0 defines model for .

type UpdateOutputKafkaSecretsSslKey1

type UpdateOutputKafkaSecretsSslKey1 = string

UpdateOutputKafkaSecretsSslKey1 defines model for .

type UpdateOutputKafkaType

type UpdateOutputKafkaType string

UpdateOutputKafkaType defines model for UpdateOutputKafka.Type.

const (
	Kafka UpdateOutputKafkaType = "kafka"
)

Defines values for UpdateOutputKafkaType.

type UpdateOutputKafka_Secrets_Password

type UpdateOutputKafka_Secrets_Password struct {
	// contains filtered or unexported fields
}

UpdateOutputKafka_Secrets_Password defines model for UpdateOutputKafka.Secrets.Password.

func (UpdateOutputKafka_Secrets_Password) AsUpdateOutputKafkaSecretsPassword0

func (t UpdateOutputKafka_Secrets_Password) AsUpdateOutputKafkaSecretsPassword0() (UpdateOutputKafkaSecretsPassword0, error)

AsUpdateOutputKafkaSecretsPassword0 returns the union data inside the UpdateOutputKafka_Secrets_Password as a UpdateOutputKafkaSecretsPassword0

func (UpdateOutputKafka_Secrets_Password) AsUpdateOutputKafkaSecretsPassword1

func (t UpdateOutputKafka_Secrets_Password) AsUpdateOutputKafkaSecretsPassword1() (UpdateOutputKafkaSecretsPassword1, error)

AsUpdateOutputKafkaSecretsPassword1 returns the union data inside the UpdateOutputKafka_Secrets_Password as a UpdateOutputKafkaSecretsPassword1

func (*UpdateOutputKafka_Secrets_Password) FromUpdateOutputKafkaSecretsPassword0

func (t *UpdateOutputKafka_Secrets_Password) FromUpdateOutputKafkaSecretsPassword0(v UpdateOutputKafkaSecretsPassword0) error

FromUpdateOutputKafkaSecretsPassword0 overwrites any union data inside the UpdateOutputKafka_Secrets_Password as the provided UpdateOutputKafkaSecretsPassword0

func (*UpdateOutputKafka_Secrets_Password) FromUpdateOutputKafkaSecretsPassword1

func (t *UpdateOutputKafka_Secrets_Password) FromUpdateOutputKafkaSecretsPassword1(v UpdateOutputKafkaSecretsPassword1) error

FromUpdateOutputKafkaSecretsPassword1 overwrites any union data inside the UpdateOutputKafka_Secrets_Password as the provided UpdateOutputKafkaSecretsPassword1

func (UpdateOutputKafka_Secrets_Password) MarshalJSON

func (t UpdateOutputKafka_Secrets_Password) MarshalJSON() ([]byte, error)

func (*UpdateOutputKafka_Secrets_Password) MergeUpdateOutputKafkaSecretsPassword0

func (t *UpdateOutputKafka_Secrets_Password) MergeUpdateOutputKafkaSecretsPassword0(v UpdateOutputKafkaSecretsPassword0) error

MergeUpdateOutputKafkaSecretsPassword0 performs a merge with any union data inside the UpdateOutputKafka_Secrets_Password, using the provided UpdateOutputKafkaSecretsPassword0

func (*UpdateOutputKafka_Secrets_Password) MergeUpdateOutputKafkaSecretsPassword1

func (t *UpdateOutputKafka_Secrets_Password) MergeUpdateOutputKafkaSecretsPassword1(v UpdateOutputKafkaSecretsPassword1) error

MergeUpdateOutputKafkaSecretsPassword1 performs a merge with any union data inside the UpdateOutputKafka_Secrets_Password, using the provided UpdateOutputKafkaSecretsPassword1

func (*UpdateOutputKafka_Secrets_Password) UnmarshalJSON

func (t *UpdateOutputKafka_Secrets_Password) UnmarshalJSON(b []byte) error

type UpdateOutputKafka_Secrets_Ssl_Key

type UpdateOutputKafka_Secrets_Ssl_Key struct {
	// contains filtered or unexported fields
}

UpdateOutputKafka_Secrets_Ssl_Key defines model for UpdateOutputKafka.Secrets.Ssl.Key.

func (UpdateOutputKafka_Secrets_Ssl_Key) AsUpdateOutputKafkaSecretsSslKey0

func (t UpdateOutputKafka_Secrets_Ssl_Key) AsUpdateOutputKafkaSecretsSslKey0() (UpdateOutputKafkaSecretsSslKey0, error)

AsUpdateOutputKafkaSecretsSslKey0 returns the union data inside the UpdateOutputKafka_Secrets_Ssl_Key as a UpdateOutputKafkaSecretsSslKey0

func (UpdateOutputKafka_Secrets_Ssl_Key) AsUpdateOutputKafkaSecretsSslKey1

func (t UpdateOutputKafka_Secrets_Ssl_Key) AsUpdateOutputKafkaSecretsSslKey1() (UpdateOutputKafkaSecretsSslKey1, error)

AsUpdateOutputKafkaSecretsSslKey1 returns the union data inside the UpdateOutputKafka_Secrets_Ssl_Key as a UpdateOutputKafkaSecretsSslKey1

func (*UpdateOutputKafka_Secrets_Ssl_Key) FromUpdateOutputKafkaSecretsSslKey0

func (t *UpdateOutputKafka_Secrets_Ssl_Key) FromUpdateOutputKafkaSecretsSslKey0(v UpdateOutputKafkaSecretsSslKey0) error

FromUpdateOutputKafkaSecretsSslKey0 overwrites any union data inside the UpdateOutputKafka_Secrets_Ssl_Key as the provided UpdateOutputKafkaSecretsSslKey0

func (*UpdateOutputKafka_Secrets_Ssl_Key) FromUpdateOutputKafkaSecretsSslKey1

func (t *UpdateOutputKafka_Secrets_Ssl_Key) FromUpdateOutputKafkaSecretsSslKey1(v UpdateOutputKafkaSecretsSslKey1) error

FromUpdateOutputKafkaSecretsSslKey1 overwrites any union data inside the UpdateOutputKafka_Secrets_Ssl_Key as the provided UpdateOutputKafkaSecretsSslKey1

func (UpdateOutputKafka_Secrets_Ssl_Key) MarshalJSON

func (t UpdateOutputKafka_Secrets_Ssl_Key) MarshalJSON() ([]byte, error)

func (*UpdateOutputKafka_Secrets_Ssl_Key) MergeUpdateOutputKafkaSecretsSslKey0

func (t *UpdateOutputKafka_Secrets_Ssl_Key) MergeUpdateOutputKafkaSecretsSslKey0(v UpdateOutputKafkaSecretsSslKey0) error

MergeUpdateOutputKafkaSecretsSslKey0 performs a merge with any union data inside the UpdateOutputKafka_Secrets_Ssl_Key, using the provided UpdateOutputKafkaSecretsSslKey0

func (*UpdateOutputKafka_Secrets_Ssl_Key) MergeUpdateOutputKafkaSecretsSslKey1

func (t *UpdateOutputKafka_Secrets_Ssl_Key) MergeUpdateOutputKafkaSecretsSslKey1(v UpdateOutputKafkaSecretsSslKey1) error

MergeUpdateOutputKafkaSecretsSslKey1 performs a merge with any union data inside the UpdateOutputKafka_Secrets_Ssl_Key, using the provided UpdateOutputKafkaSecretsSslKey1

func (*UpdateOutputKafka_Secrets_Ssl_Key) UnmarshalJSON

func (t *UpdateOutputKafka_Secrets_Ssl_Key) UnmarshalJSON(b []byte) error

type UpdateOutputLogstash

type UpdateOutputLogstash struct {
	AllowEdit            *[]string `json:"allow_edit,omitempty"`
	CaSha256             *string   `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string   `json:"ca_trusted_fingerprint,omitempty"`
	ConfigYaml           *string   `json:"config_yaml"`
	Hosts                *[]string `json:"hosts,omitempty"`
	IsDefault            *bool     `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool     `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool     `json:"is_internal,omitempty"`
	IsPreconfigured      *bool     `json:"is_preconfigured,omitempty"`
	Name                 *string   `json:"name,omitempty"`
	ProxyId              *string   `json:"proxy_id,omitempty"`
	Secrets              *struct {
		Ssl *struct {
			Key *UpdateOutputLogstash_Secrets_Ssl_Key `json:"key,omitempty"`
		} `json:"ssl,omitempty"`
	} `json:"secrets,omitempty"`
	Shipper *UpdateOutputShipper      `json:"shipper,omitempty"`
	Ssl     *UpdateOutputSsl          `json:"ssl,omitempty"`
	Type    *UpdateOutputLogstashType `json:"type,omitempty"`
}

UpdateOutputLogstash defines model for update_output_logstash.

type UpdateOutputLogstashSecretsSslKey0

type UpdateOutputLogstashSecretsSslKey0 struct {
	Id string `json:"id"`
}

UpdateOutputLogstashSecretsSslKey0 defines model for .

type UpdateOutputLogstashSecretsSslKey1

type UpdateOutputLogstashSecretsSslKey1 = string

UpdateOutputLogstashSecretsSslKey1 defines model for .

type UpdateOutputLogstashType

type UpdateOutputLogstashType string

UpdateOutputLogstashType defines model for UpdateOutputLogstash.Type.

const (
	Logstash UpdateOutputLogstashType = "logstash"
)

Defines values for UpdateOutputLogstashType.

type UpdateOutputLogstash_Secrets_Ssl_Key

type UpdateOutputLogstash_Secrets_Ssl_Key struct {
	// contains filtered or unexported fields
}

UpdateOutputLogstash_Secrets_Ssl_Key defines model for UpdateOutputLogstash.Secrets.Ssl.Key.

func (UpdateOutputLogstash_Secrets_Ssl_Key) AsUpdateOutputLogstashSecretsSslKey0

func (t UpdateOutputLogstash_Secrets_Ssl_Key) AsUpdateOutputLogstashSecretsSslKey0() (UpdateOutputLogstashSecretsSslKey0, error)

AsUpdateOutputLogstashSecretsSslKey0 returns the union data inside the UpdateOutputLogstash_Secrets_Ssl_Key as a UpdateOutputLogstashSecretsSslKey0

func (UpdateOutputLogstash_Secrets_Ssl_Key) AsUpdateOutputLogstashSecretsSslKey1

func (t UpdateOutputLogstash_Secrets_Ssl_Key) AsUpdateOutputLogstashSecretsSslKey1() (UpdateOutputLogstashSecretsSslKey1, error)

AsUpdateOutputLogstashSecretsSslKey1 returns the union data inside the UpdateOutputLogstash_Secrets_Ssl_Key as a UpdateOutputLogstashSecretsSslKey1

func (*UpdateOutputLogstash_Secrets_Ssl_Key) FromUpdateOutputLogstashSecretsSslKey0

func (t *UpdateOutputLogstash_Secrets_Ssl_Key) FromUpdateOutputLogstashSecretsSslKey0(v UpdateOutputLogstashSecretsSslKey0) error

FromUpdateOutputLogstashSecretsSslKey0 overwrites any union data inside the UpdateOutputLogstash_Secrets_Ssl_Key as the provided UpdateOutputLogstashSecretsSslKey0

func (*UpdateOutputLogstash_Secrets_Ssl_Key) FromUpdateOutputLogstashSecretsSslKey1

func (t *UpdateOutputLogstash_Secrets_Ssl_Key) FromUpdateOutputLogstashSecretsSslKey1(v UpdateOutputLogstashSecretsSslKey1) error

FromUpdateOutputLogstashSecretsSslKey1 overwrites any union data inside the UpdateOutputLogstash_Secrets_Ssl_Key as the provided UpdateOutputLogstashSecretsSslKey1

func (UpdateOutputLogstash_Secrets_Ssl_Key) MarshalJSON

func (t UpdateOutputLogstash_Secrets_Ssl_Key) MarshalJSON() ([]byte, error)

func (*UpdateOutputLogstash_Secrets_Ssl_Key) MergeUpdateOutputLogstashSecretsSslKey0

func (t *UpdateOutputLogstash_Secrets_Ssl_Key) MergeUpdateOutputLogstashSecretsSslKey0(v UpdateOutputLogstashSecretsSslKey0) error

MergeUpdateOutputLogstashSecretsSslKey0 performs a merge with any union data inside the UpdateOutputLogstash_Secrets_Ssl_Key, using the provided UpdateOutputLogstashSecretsSslKey0

func (*UpdateOutputLogstash_Secrets_Ssl_Key) MergeUpdateOutputLogstashSecretsSslKey1

func (t *UpdateOutputLogstash_Secrets_Ssl_Key) MergeUpdateOutputLogstashSecretsSslKey1(v UpdateOutputLogstashSecretsSslKey1) error

MergeUpdateOutputLogstashSecretsSslKey1 performs a merge with any union data inside the UpdateOutputLogstash_Secrets_Ssl_Key, using the provided UpdateOutputLogstashSecretsSslKey1

func (*UpdateOutputLogstash_Secrets_Ssl_Key) UnmarshalJSON

func (t *UpdateOutputLogstash_Secrets_Ssl_Key) UnmarshalJSON(b []byte) error

type UpdateOutputRemoteElasticsearch

type UpdateOutputRemoteElasticsearch struct {
	AllowEdit            *[]string                              `json:"allow_edit,omitempty"`
	CaSha256             *string                                `json:"ca_sha256,omitempty"`
	CaTrustedFingerprint *string                                `json:"ca_trusted_fingerprint,omitempty"`
	ConfigYaml           *string                                `json:"config_yaml"`
	Hosts                *[]string                              `json:"hosts,omitempty"`
	IsDefault            *bool                                  `json:"is_default,omitempty"`
	IsDefaultMonitoring  *bool                                  `json:"is_default_monitoring,omitempty"`
	IsInternal           *bool                                  `json:"is_internal,omitempty"`
	IsPreconfigured      *bool                                  `json:"is_preconfigured,omitempty"`
	Name                 *string                                `json:"name,omitempty"`
	Preset               *UpdateOutputRemoteElasticsearchPreset `json:"preset,omitempty"`
	ProxyId              *string                                `json:"proxy_id,omitempty"`
	Secrets              *struct {
		ServiceToken *UpdateOutputRemoteElasticsearch_Secrets_ServiceToken `json:"service_token,omitempty"`
	} `json:"secrets,omitempty"`
	ServiceToken *string                              `json:"service_token"`
	Shipper      *UpdateOutputShipper                 `json:"shipper,omitempty"`
	Ssl          *UpdateOutputSsl                     `json:"ssl,omitempty"`
	Type         *UpdateOutputRemoteElasticsearchType `json:"type,omitempty"`
}

UpdateOutputRemoteElasticsearch defines model for update_output_remote_elasticsearch.

type UpdateOutputRemoteElasticsearchPreset

type UpdateOutputRemoteElasticsearchPreset string

UpdateOutputRemoteElasticsearchPreset defines model for UpdateOutputRemoteElasticsearch.Preset.

const (
	UpdateOutputRemoteElasticsearchPresetBalanced   UpdateOutputRemoteElasticsearchPreset = "balanced"
	UpdateOutputRemoteElasticsearchPresetCustom     UpdateOutputRemoteElasticsearchPreset = "custom"
	UpdateOutputRemoteElasticsearchPresetLatency    UpdateOutputRemoteElasticsearchPreset = "latency"
	UpdateOutputRemoteElasticsearchPresetScale      UpdateOutputRemoteElasticsearchPreset = "scale"
	UpdateOutputRemoteElasticsearchPresetThroughput UpdateOutputRemoteElasticsearchPreset = "throughput"
)

Defines values for UpdateOutputRemoteElasticsearchPreset.

type UpdateOutputRemoteElasticsearchSecretsServiceToken0

type UpdateOutputRemoteElasticsearchSecretsServiceToken0 struct {
	Id string `json:"id"`
}

UpdateOutputRemoteElasticsearchSecretsServiceToken0 defines model for .

type UpdateOutputRemoteElasticsearchSecretsServiceToken1

type UpdateOutputRemoteElasticsearchSecretsServiceToken1 = string

UpdateOutputRemoteElasticsearchSecretsServiceToken1 defines model for .

type UpdateOutputRemoteElasticsearchType

type UpdateOutputRemoteElasticsearchType string

UpdateOutputRemoteElasticsearchType defines model for UpdateOutputRemoteElasticsearch.Type.

const (
	RemoteElasticsearch UpdateOutputRemoteElasticsearchType = "remote_elasticsearch"
)

Defines values for UpdateOutputRemoteElasticsearchType.

type UpdateOutputRemoteElasticsearch_Secrets_ServiceToken

type UpdateOutputRemoteElasticsearch_Secrets_ServiceToken struct {
	// contains filtered or unexported fields
}

UpdateOutputRemoteElasticsearch_Secrets_ServiceToken defines model for UpdateOutputRemoteElasticsearch.Secrets.ServiceToken.

func (UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) AsUpdateOutputRemoteElasticsearchSecretsServiceToken0

func (t UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) AsUpdateOutputRemoteElasticsearchSecretsServiceToken0() (UpdateOutputRemoteElasticsearchSecretsServiceToken0, error)

AsUpdateOutputRemoteElasticsearchSecretsServiceToken0 returns the union data inside the UpdateOutputRemoteElasticsearch_Secrets_ServiceToken as a UpdateOutputRemoteElasticsearchSecretsServiceToken0

func (UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) AsUpdateOutputRemoteElasticsearchSecretsServiceToken1

func (t UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) AsUpdateOutputRemoteElasticsearchSecretsServiceToken1() (UpdateOutputRemoteElasticsearchSecretsServiceToken1, error)

AsUpdateOutputRemoteElasticsearchSecretsServiceToken1 returns the union data inside the UpdateOutputRemoteElasticsearch_Secrets_ServiceToken as a UpdateOutputRemoteElasticsearchSecretsServiceToken1

func (*UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) FromUpdateOutputRemoteElasticsearchSecretsServiceToken0

func (t *UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) FromUpdateOutputRemoteElasticsearchSecretsServiceToken0(v UpdateOutputRemoteElasticsearchSecretsServiceToken0) error

FromUpdateOutputRemoteElasticsearchSecretsServiceToken0 overwrites any union data inside the UpdateOutputRemoteElasticsearch_Secrets_ServiceToken as the provided UpdateOutputRemoteElasticsearchSecretsServiceToken0

func (*UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) FromUpdateOutputRemoteElasticsearchSecretsServiceToken1

func (t *UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) FromUpdateOutputRemoteElasticsearchSecretsServiceToken1(v UpdateOutputRemoteElasticsearchSecretsServiceToken1) error

FromUpdateOutputRemoteElasticsearchSecretsServiceToken1 overwrites any union data inside the UpdateOutputRemoteElasticsearch_Secrets_ServiceToken as the provided UpdateOutputRemoteElasticsearchSecretsServiceToken1

func (UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) MarshalJSON

func (*UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) MergeUpdateOutputRemoteElasticsearchSecretsServiceToken0

func (t *UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) MergeUpdateOutputRemoteElasticsearchSecretsServiceToken0(v UpdateOutputRemoteElasticsearchSecretsServiceToken0) error

MergeUpdateOutputRemoteElasticsearchSecretsServiceToken0 performs a merge with any union data inside the UpdateOutputRemoteElasticsearch_Secrets_ServiceToken, using the provided UpdateOutputRemoteElasticsearchSecretsServiceToken0

func (*UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) MergeUpdateOutputRemoteElasticsearchSecretsServiceToken1

func (t *UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) MergeUpdateOutputRemoteElasticsearchSecretsServiceToken1(v UpdateOutputRemoteElasticsearchSecretsServiceToken1) error

MergeUpdateOutputRemoteElasticsearchSecretsServiceToken1 performs a merge with any union data inside the UpdateOutputRemoteElasticsearch_Secrets_ServiceToken, using the provided UpdateOutputRemoteElasticsearchSecretsServiceToken1

func (*UpdateOutputRemoteElasticsearch_Secrets_ServiceToken) UnmarshalJSON

type UpdateOutputShipper

type UpdateOutputShipper struct {
	CompressionLevel            *float32 `json:"compression_level"`
	DiskQueueCompressionEnabled *bool    `json:"disk_queue_compression_enabled"`
	DiskQueueEnabled            *bool    `json:"disk_queue_enabled"`
	DiskQueueEncryptionEnabled  *bool    `json:"disk_queue_encryption_enabled"`
	DiskQueueMaxSize            *float32 `json:"disk_queue_max_size"`
	DiskQueuePath               *string  `json:"disk_queue_path"`
	Loadbalance                 *bool    `json:"loadbalance"`
	MaxBatchBytes               *float32 `json:"max_batch_bytes"`
	MemQueueEvents              *float32 `json:"mem_queue_events"`
	QueueFlushTimeout           *float32 `json:"queue_flush_timeout"`
}

UpdateOutputShipper defines model for update_output_shipper.

type UpdateOutputSsl

type UpdateOutputSsl struct {
	Certificate            *string                          `json:"certificate,omitempty"`
	CertificateAuthorities *[]string                        `json:"certificate_authorities,omitempty"`
	Key                    *string                          `json:"key,omitempty"`
	VerificationMode       *UpdateOutputSslVerificationMode `json:"verification_mode,omitempty"`
}

UpdateOutputSsl defines model for update_output_ssl.

type UpdateOutputSslVerificationMode

type UpdateOutputSslVerificationMode string

UpdateOutputSslVerificationMode defines model for UpdateOutputSsl.VerificationMode.

const (
	Certificate UpdateOutputSslVerificationMode = "certificate"
	Full        UpdateOutputSslVerificationMode = "full"
	None        UpdateOutputSslVerificationMode = "none"
	Strict      UpdateOutputSslVerificationMode = "strict"
)

Defines values for UpdateOutputSslVerificationMode.

type UpdateOutputUnion

type UpdateOutputUnion struct {
	// contains filtered or unexported fields
}

UpdateOutputUnion defines model for update_output_union.

func (UpdateOutputUnion) AsUpdateOutputElasticsearch

func (t UpdateOutputUnion) AsUpdateOutputElasticsearch() (UpdateOutputElasticsearch, error)

AsUpdateOutputElasticsearch returns the union data inside the UpdateOutputUnion as a UpdateOutputElasticsearch

func (UpdateOutputUnion) AsUpdateOutputKafka

func (t UpdateOutputUnion) AsUpdateOutputKafka() (UpdateOutputKafka, error)

AsUpdateOutputKafka returns the union data inside the UpdateOutputUnion as a UpdateOutputKafka

func (UpdateOutputUnion) AsUpdateOutputLogstash

func (t UpdateOutputUnion) AsUpdateOutputLogstash() (UpdateOutputLogstash, error)

AsUpdateOutputLogstash returns the union data inside the UpdateOutputUnion as a UpdateOutputLogstash

func (UpdateOutputUnion) AsUpdateOutputRemoteElasticsearch

func (t UpdateOutputUnion) AsUpdateOutputRemoteElasticsearch() (UpdateOutputRemoteElasticsearch, error)

AsUpdateOutputRemoteElasticsearch returns the union data inside the UpdateOutputUnion as a UpdateOutputRemoteElasticsearch

func (*UpdateOutputUnion) FromUpdateOutputElasticsearch

func (t *UpdateOutputUnion) FromUpdateOutputElasticsearch(v UpdateOutputElasticsearch) error

FromUpdateOutputElasticsearch overwrites any union data inside the UpdateOutputUnion as the provided UpdateOutputElasticsearch

func (*UpdateOutputUnion) FromUpdateOutputKafka

func (t *UpdateOutputUnion) FromUpdateOutputKafka(v UpdateOutputKafka) error

FromUpdateOutputKafka overwrites any union data inside the UpdateOutputUnion as the provided UpdateOutputKafka

func (*UpdateOutputUnion) FromUpdateOutputLogstash

func (t *UpdateOutputUnion) FromUpdateOutputLogstash(v UpdateOutputLogstash) error

FromUpdateOutputLogstash overwrites any union data inside the UpdateOutputUnion as the provided UpdateOutputLogstash

func (*UpdateOutputUnion) FromUpdateOutputRemoteElasticsearch

func (t *UpdateOutputUnion) FromUpdateOutputRemoteElasticsearch(v UpdateOutputRemoteElasticsearch) error

FromUpdateOutputRemoteElasticsearch overwrites any union data inside the UpdateOutputUnion as the provided UpdateOutputRemoteElasticsearch

func (UpdateOutputUnion) MarshalJSON

func (t UpdateOutputUnion) MarshalJSON() ([]byte, error)

func (*UpdateOutputUnion) MergeUpdateOutputElasticsearch

func (t *UpdateOutputUnion) MergeUpdateOutputElasticsearch(v UpdateOutputElasticsearch) error

MergeUpdateOutputElasticsearch performs a merge with any union data inside the UpdateOutputUnion, using the provided UpdateOutputElasticsearch

func (*UpdateOutputUnion) MergeUpdateOutputKafka

func (t *UpdateOutputUnion) MergeUpdateOutputKafka(v UpdateOutputKafka) error

MergeUpdateOutputKafka performs a merge with any union data inside the UpdateOutputUnion, using the provided UpdateOutputKafka

func (*UpdateOutputUnion) MergeUpdateOutputLogstash

func (t *UpdateOutputUnion) MergeUpdateOutputLogstash(v UpdateOutputLogstash) error

MergeUpdateOutputLogstash performs a merge with any union data inside the UpdateOutputUnion, using the provided UpdateOutputLogstash

func (*UpdateOutputUnion) MergeUpdateOutputRemoteElasticsearch

func (t *UpdateOutputUnion) MergeUpdateOutputRemoteElasticsearch(v UpdateOutputRemoteElasticsearch) error

MergeUpdateOutputRemoteElasticsearch performs a merge with any union data inside the UpdateOutputUnion, using the provided UpdateOutputRemoteElasticsearch

func (*UpdateOutputUnion) UnmarshalJSON

func (t *UpdateOutputUnion) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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