models

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 7 Imported by: 87

Documentation ¶

Index ¶

Constants ¶

View Source
const (

	// ActiveDirectoryGroupSearchScopeSubTree captures enum value "sub_tree"
	ActiveDirectoryGroupSearchScopeSubTree string = "sub_tree"

	// ActiveDirectoryGroupSearchScopeOneLevel captures enum value "one_level"
	ActiveDirectoryGroupSearchScopeOneLevel string = "one_level"

	// ActiveDirectoryGroupSearchScopeBase captures enum value "base"
	ActiveDirectoryGroupSearchScopeBase string = "base"
)
View Source
const (

	// ActiveDirectorySecurityRealmLoadBalanceTypeFailover captures enum value "failover"
	ActiveDirectorySecurityRealmLoadBalanceTypeFailover string = "failover"

	// ActiveDirectorySecurityRealmLoadBalanceTypeDNSFailover captures enum value "dns_failover"
	ActiveDirectorySecurityRealmLoadBalanceTypeDNSFailover string = "dns_failover"

	// ActiveDirectorySecurityRealmLoadBalanceTypeRoundRobin captures enum value "round_robin"
	ActiveDirectorySecurityRealmLoadBalanceTypeRoundRobin string = "round_robin"

	// ActiveDirectorySecurityRealmLoadBalanceTypeDNSRoundRobin captures enum value "dns_round_robin"
	ActiveDirectorySecurityRealmLoadBalanceTypeDNSRoundRobin string = "dns_round_robin"
)
View Source
const (

	// ActiveDirectorySecurityRealmRoleMappingRuleTypeUserDn captures enum value "user_dn"
	ActiveDirectorySecurityRealmRoleMappingRuleTypeUserDn string = "user_dn"

	// ActiveDirectorySecurityRealmRoleMappingRuleTypeGroupDn captures enum value "group_dn"
	ActiveDirectorySecurityRealmRoleMappingRuleTypeGroupDn string = "group_dn"
)
View Source
const (

	// ActiveDirectorySettingsCertificateURLTruststoreTypeJks captures enum value "jks"
	ActiveDirectorySettingsCertificateURLTruststoreTypeJks string = "jks"

	// ActiveDirectorySettingsCertificateURLTruststoreTypePKCS12 captures enum value "PKCS12"
	ActiveDirectorySettingsCertificateURLTruststoreTypePKCS12 string = "PKCS12"
)
View Source
const (

	// ActiveDirectoryUserSearchScopeSubTree captures enum value "sub_tree"
	ActiveDirectoryUserSearchScopeSubTree string = "sub_tree"

	// ActiveDirectoryUserSearchScopeOneLevel captures enum value "one_level"
	ActiveDirectoryUserSearchScopeOneLevel string = "one_level"

	// ActiveDirectoryUserSearchScopeBase captures enum value "base"
	ActiveDirectoryUserSearchScopeBase string = "base"
)
View Source
const (

	// AllocatedInstanceStatusClusterTypeElasticsearch captures enum value "elasticsearch"
	AllocatedInstanceStatusClusterTypeElasticsearch string = "elasticsearch"

	// AllocatedInstanceStatusClusterTypeKibana captures enum value "kibana"
	AllocatedInstanceStatusClusterTypeKibana string = "kibana"

	// AllocatedInstanceStatusClusterTypeApm captures enum value "apm"
	AllocatedInstanceStatusClusterTypeApm string = "apm"

	// AllocatedInstanceStatusClusterTypeIntegrationsServer captures enum value "integrations_server"
	AllocatedInstanceStatusClusterTypeIntegrationsServer string = "integrations_server"

	// AllocatedInstanceStatusClusterTypeAppsearch captures enum value "appsearch"
	AllocatedInstanceStatusClusterTypeAppsearch string = "appsearch"

	// AllocatedInstanceStatusClusterTypeEnterpriseSearch captures enum value "enterprise_search"
	AllocatedInstanceStatusClusterTypeEnterpriseSearch string = "enterprise_search"
)
View Source
const (

	// ApmInfoApmServerModeStandalone captures enum value "standalone"
	ApmInfoApmServerModeStandalone string = "standalone"

	// ApmInfoApmServerModeManaged captures enum value "managed"
	ApmInfoApmServerModeManaged string = "managed"
)
View Source
const (

	// ApmInfoStatusInitializing captures enum value "initializing"
	ApmInfoStatusInitializing string = "initializing"

	// ApmInfoStatusStopping captures enum value "stopping"
	ApmInfoStatusStopping string = "stopping"

	// ApmInfoStatusStopped captures enum value "stopped"
	ApmInfoStatusStopped string = "stopped"

	// ApmInfoStatusRebooting captures enum value "rebooting"
	ApmInfoStatusRebooting string = "rebooting"

	// ApmInfoStatusRestarting captures enum value "restarting"
	ApmInfoStatusRestarting string = "restarting"

	// ApmInfoStatusReconfiguring captures enum value "reconfiguring"
	ApmInfoStatusReconfiguring string = "reconfiguring"

	// ApmInfoStatusStarted captures enum value "started"
	ApmInfoStatusStarted string = "started"
)
View Source
const (

	// AppSearchInfoStatusInitializing captures enum value "initializing"
	AppSearchInfoStatusInitializing string = "initializing"

	// AppSearchInfoStatusStopping captures enum value "stopping"
	AppSearchInfoStatusStopping string = "stopping"

	// AppSearchInfoStatusStopped captures enum value "stopped"
	AppSearchInfoStatusStopped string = "stopped"

	// AppSearchInfoStatusRebooting captures enum value "rebooting"
	AppSearchInfoStatusRebooting string = "rebooting"

	// AppSearchInfoStatusRestarting captures enum value "restarting"
	AppSearchInfoStatusRestarting string = "restarting"

	// AppSearchInfoStatusReconfiguring captures enum value "reconfiguring"
	AppSearchInfoStatusReconfiguring string = "reconfiguring"

	// AppSearchInfoStatusStarted captures enum value "started"
	AppSearchInfoStatusStarted string = "started"
)
View Source
const (

	// ClusterInstanceConfigurationInfoResourceMemory captures enum value "memory"
	ClusterInstanceConfigurationInfoResourceMemory string = "memory"

	// ClusterInstanceConfigurationInfoResourceStorage captures enum value "storage"
	ClusterInstanceConfigurationInfoResourceStorage string = "storage"
)
View Source
const (

	// ClusterPlanStepInfoStageStarting captures enum value "starting"
	ClusterPlanStepInfoStageStarting string = "starting"

	// ClusterPlanStepInfoStageCompleted captures enum value "completed"
	ClusterPlanStepInfoStageCompleted string = "completed"

	// ClusterPlanStepInfoStageInProgress captures enum value "in_progress"
	ClusterPlanStepInfoStageInProgress string = "in_progress"
)
View Source
const (

	// ClusterPlanStepInfoStatusSuccess captures enum value "success"
	ClusterPlanStepInfoStatusSuccess string = "success"

	// ClusterPlanStepInfoStatusWarning captures enum value "warning"
	ClusterPlanStepInfoStatusWarning string = "warning"

	// ClusterPlanStepInfoStatusError captures enum value "error"
	ClusterPlanStepInfoStatusError string = "error"

	// ClusterPlanStepInfoStatusPending captures enum value "pending"
	ClusterPlanStepInfoStatusPending string = "pending"
)
View Source
const (

	// ClusterPlanStepLogMessageInfoStageStarting captures enum value "starting"
	ClusterPlanStepLogMessageInfoStageStarting string = "starting"

	// ClusterPlanStepLogMessageInfoStageCompleted captures enum value "completed"
	ClusterPlanStepLogMessageInfoStageCompleted string = "completed"

	// ClusterPlanStepLogMessageInfoStageInProgress captures enum value "in_progress"
	ClusterPlanStepLogMessageInfoStageInProgress string = "in_progress"
)
View Source
const (

	// ClusterSystemAlertAlertTypeAutomaticRestart captures enum value "automatic_restart"
	ClusterSystemAlertAlertTypeAutomaticRestart string = "automatic_restart"

	// ClusterSystemAlertAlertTypeHeapDump captures enum value "heap_dump"
	ClusterSystemAlertAlertTypeHeapDump string = "heap_dump"

	// ClusterSystemAlertAlertTypeUnknownEvent captures enum value "unknown_event"
	ClusterSystemAlertAlertTypeUnknownEvent string = "unknown_event"
)
View Source
const (

	// CoordinatorCandidateInfoStateAccepted captures enum value "accepted"
	CoordinatorCandidateInfoStateAccepted string = "accepted"

	// CoordinatorCandidateInfoStatePending captures enum value "pending"
	CoordinatorCandidateInfoStatePending string = "pending"
)
View Source
const (

	// CreateExtensionRequestExtensionTypePlugin captures enum value "plugin"
	CreateExtensionRequestExtensionTypePlugin string = "plugin"

	// CreateExtensionRequestExtensionTypeBundle captures enum value "bundle"
	CreateExtensionRequestExtensionTypeBundle string = "bundle"
)
View Source
const (

	// DimensionTypeCapacity captures enum value "capacity"
	DimensionTypeCapacity string = "capacity"

	// DimensionTypeDataIn captures enum value "data_in"
	DimensionTypeDataIn string = "data_in"

	// DimensionTypeDataInternode captures enum value "data_internode"
	DimensionTypeDataInternode string = "data_internode"

	// DimensionTypeDataOut captures enum value "data_out"
	DimensionTypeDataOut string = "data_out"

	// DimensionTypeStorageAPI captures enum value "storage_api"
	DimensionTypeStorageAPI string = "storage_api"

	// DimensionTypeStorageBytes captures enum value "storage_bytes"
	DimensionTypeStorageBytes string = "storage_bytes"
)
View Source
const (

	// DirectTrustRelationshipTypeECE captures enum value "ECE"
	DirectTrustRelationshipTypeECE string = "ECE"

	// DirectTrustRelationshipTypeESS captures enum value "ESS"
	DirectTrustRelationshipTypeESS string = "ESS"

	// DirectTrustRelationshipTypeGeneric captures enum value "generic"
	DirectTrustRelationshipTypeGeneric string = "generic"

	// DirectTrustRelationshipTypeProxy captures enum value "proxy"
	DirectTrustRelationshipTypeProxy string = "proxy"
)
View Source
const (

	// DiscreteSizesResourceMemory captures enum value "memory"
	DiscreteSizesResourceMemory string = "memory"

	// DiscreteSizesResourceStorage captures enum value "storage"
	DiscreteSizesResourceStorage string = "storage"
)
View Source
const (

	// ElasticsearchBlockingIssueElementLevelIndex captures enum value "index"
	ElasticsearchBlockingIssueElementLevelIndex string = "index"

	// ElasticsearchBlockingIssueElementLevelGlobal captures enum value "global"
	ElasticsearchBlockingIssueElementLevelGlobal string = "global"
)
View Source
const (

	// ElasticsearchClusterInfoStatusInitializing captures enum value "initializing"
	ElasticsearchClusterInfoStatusInitializing string = "initializing"

	// ElasticsearchClusterInfoStatusStopping captures enum value "stopping"
	ElasticsearchClusterInfoStatusStopping string = "stopping"

	// ElasticsearchClusterInfoStatusStopped captures enum value "stopped"
	ElasticsearchClusterInfoStatusStopped string = "stopped"

	// ElasticsearchClusterInfoStatusRebooting captures enum value "rebooting"
	ElasticsearchClusterInfoStatusRebooting string = "rebooting"

	// ElasticsearchClusterInfoStatusRestarting captures enum value "restarting"
	ElasticsearchClusterInfoStatusRestarting string = "restarting"

	// ElasticsearchClusterInfoStatusReconfiguring captures enum value "reconfiguring"
	ElasticsearchClusterInfoStatusReconfiguring string = "reconfiguring"

	// ElasticsearchClusterInfoStatusStarted captures enum value "started"
	ElasticsearchClusterInfoStatusStarted string = "started"
)
View Source
const (

	// ElasticsearchShardsStatusStatusGreen captures enum value "green"
	ElasticsearchShardsStatusStatusGreen string = "green"

	// ElasticsearchShardsStatusStatusRed captures enum value "red"
	ElasticsearchShardsStatusStatusRed string = "red"

	// ElasticsearchShardsStatusStatusYellow captures enum value "yellow"
	ElasticsearchShardsStatusStatusYellow string = "yellow"
)
View Source
const (

	// EnterpriseSearchInfoStatusInitializing captures enum value "initializing"
	EnterpriseSearchInfoStatusInitializing string = "initializing"

	// EnterpriseSearchInfoStatusStopping captures enum value "stopping"
	EnterpriseSearchInfoStatusStopping string = "stopping"

	// EnterpriseSearchInfoStatusStopped captures enum value "stopped"
	EnterpriseSearchInfoStatusStopped string = "stopped"

	// EnterpriseSearchInfoStatusRebooting captures enum value "rebooting"
	EnterpriseSearchInfoStatusRebooting string = "rebooting"

	// EnterpriseSearchInfoStatusRestarting captures enum value "restarting"
	EnterpriseSearchInfoStatusRestarting string = "restarting"

	// EnterpriseSearchInfoStatusReconfiguring captures enum value "reconfiguring"
	EnterpriseSearchInfoStatusReconfiguring string = "reconfiguring"

	// EnterpriseSearchInfoStatusStarted captures enum value "started"
	EnterpriseSearchInfoStatusStarted string = "started"
)
View Source
const (

	// ExtensionExtensionTypePlugin captures enum value "plugin"
	ExtensionExtensionTypePlugin string = "plugin"

	// ExtensionExtensionTypeBundle captures enum value "bundle"
	ExtensionExtensionTypeBundle string = "bundle"
)
View Source
const (

	// InstanceConfigurationInstanceTypeElasticsearch captures enum value "elasticsearch"
	InstanceConfigurationInstanceTypeElasticsearch string = "elasticsearch"

	// InstanceConfigurationInstanceTypeKibana captures enum value "kibana"
	InstanceConfigurationInstanceTypeKibana string = "kibana"

	// InstanceConfigurationInstanceTypeApm captures enum value "apm"
	InstanceConfigurationInstanceTypeApm string = "apm"

	// InstanceConfigurationInstanceTypeIntegrationsServer captures enum value "integrations_server"
	InstanceConfigurationInstanceTypeIntegrationsServer string = "integrations_server"

	// InstanceConfigurationInstanceTypeAppsearch captures enum value "appsearch"
	InstanceConfigurationInstanceTypeAppsearch string = "appsearch"

	// InstanceConfigurationInstanceTypeEnterpriseSearch captures enum value "enterprise_search"
	InstanceConfigurationInstanceTypeEnterpriseSearch string = "enterprise_search"
)
View Source
const (

	// InstanceConfigurationInfoInstanceTypeElasticsearch captures enum value "elasticsearch"
	InstanceConfigurationInfoInstanceTypeElasticsearch string = "elasticsearch"

	// InstanceConfigurationInfoInstanceTypeKibana captures enum value "kibana"
	InstanceConfigurationInfoInstanceTypeKibana string = "kibana"

	// InstanceConfigurationInfoInstanceTypeApm captures enum value "apm"
	InstanceConfigurationInfoInstanceTypeApm string = "apm"

	// InstanceConfigurationInfoInstanceTypeIntegrationsServer captures enum value "integrations_server"
	InstanceConfigurationInfoInstanceTypeIntegrationsServer string = "integrations_server"

	// InstanceConfigurationInfoInstanceTypeAppsearch captures enum value "appsearch"
	InstanceConfigurationInfoInstanceTypeAppsearch string = "appsearch"

	// InstanceConfigurationInfoInstanceTypeEnterpriseSearch captures enum value "enterprise_search"
	InstanceConfigurationInfoInstanceTypeEnterpriseSearch string = "enterprise_search"
)
View Source
const (

	// InstanceTypeResourceInstanceTypeElasticsearch captures enum value "elasticsearch"
	InstanceTypeResourceInstanceTypeElasticsearch string = "elasticsearch"

	// InstanceTypeResourceInstanceTypeKibana captures enum value "kibana"
	InstanceTypeResourceInstanceTypeKibana string = "kibana"

	// InstanceTypeResourceInstanceTypeApm captures enum value "apm"
	InstanceTypeResourceInstanceTypeApm string = "apm"

	// InstanceTypeResourceInstanceTypeIntegrationsServer captures enum value "integrations_server"
	InstanceTypeResourceInstanceTypeIntegrationsServer string = "integrations_server"

	// InstanceTypeResourceInstanceTypeAppsearch captures enum value "appsearch"
	InstanceTypeResourceInstanceTypeAppsearch string = "appsearch"

	// InstanceTypeResourceInstanceTypeEnterpriseSearch captures enum value "enterprise_search"
	InstanceTypeResourceInstanceTypeEnterpriseSearch string = "enterprise_search"
)
View Source
const (

	// IntegrationsServerConfigurationModeStandalone captures enum value "standalone"
	IntegrationsServerConfigurationModeStandalone string = "standalone"

	// IntegrationsServerConfigurationModeManaged captures enum value "managed"
	IntegrationsServerConfigurationModeManaged string = "managed"
)
View Source
const (

	// IntegrationsServerInfoApmServerModeStandalone captures enum value "standalone"
	IntegrationsServerInfoApmServerModeStandalone string = "standalone"

	// IntegrationsServerInfoApmServerModeManaged captures enum value "managed"
	IntegrationsServerInfoApmServerModeManaged string = "managed"
)
View Source
const (

	// IntegrationsServerInfoStatusInitializing captures enum value "initializing"
	IntegrationsServerInfoStatusInitializing string = "initializing"

	// IntegrationsServerInfoStatusStopping captures enum value "stopping"
	IntegrationsServerInfoStatusStopping string = "stopping"

	// IntegrationsServerInfoStatusStopped captures enum value "stopped"
	IntegrationsServerInfoStatusStopped string = "stopped"

	// IntegrationsServerInfoStatusRebooting captures enum value "rebooting"
	IntegrationsServerInfoStatusRebooting string = "rebooting"

	// IntegrationsServerInfoStatusRestarting captures enum value "restarting"
	IntegrationsServerInfoStatusRestarting string = "restarting"

	// IntegrationsServerInfoStatusReconfiguring captures enum value "reconfiguring"
	IntegrationsServerInfoStatusReconfiguring string = "reconfiguring"

	// IntegrationsServerInfoStatusStarted captures enum value "started"
	IntegrationsServerInfoStatusStarted string = "started"
)
View Source
const (

	// ItemCostsKindElasticsearch captures enum value "elasticsearch"
	ItemCostsKindElasticsearch string = "elasticsearch"

	// ItemCostsKindKibana captures enum value "kibana"
	ItemCostsKindKibana string = "kibana"

	// ItemCostsKindApm captures enum value "apm"
	ItemCostsKindApm string = "apm"

	// ItemCostsKindIntegrationsServer captures enum value "integrations_server"
	ItemCostsKindIntegrationsServer string = "integrations_server"

	// ItemCostsKindAppsearch captures enum value "appsearch"
	ItemCostsKindAppsearch string = "appsearch"

	// ItemCostsKindEnterpriseSearch captures enum value "enterprise_search"
	ItemCostsKindEnterpriseSearch string = "enterprise_search"
)
View Source
const (

	// KibanaClusterInfoStatusInitializing captures enum value "initializing"
	KibanaClusterInfoStatusInitializing string = "initializing"

	// KibanaClusterInfoStatusStopping captures enum value "stopping"
	KibanaClusterInfoStatusStopping string = "stopping"

	// KibanaClusterInfoStatusStopped captures enum value "stopped"
	KibanaClusterInfoStatusStopped string = "stopped"

	// KibanaClusterInfoStatusRebooting captures enum value "rebooting"
	KibanaClusterInfoStatusRebooting string = "rebooting"

	// KibanaClusterInfoStatusRestarting captures enum value "restarting"
	KibanaClusterInfoStatusRestarting string = "restarting"

	// KibanaClusterInfoStatusReconfiguring captures enum value "reconfiguring"
	KibanaClusterInfoStatusReconfiguring string = "reconfiguring"

	// KibanaClusterInfoStatusStarted captures enum value "started"
	KibanaClusterInfoStatusStarted string = "started"
)
View Source
const (

	// LdapGroupSearchScopeSubTree captures enum value "sub_tree"
	LdapGroupSearchScopeSubTree string = "sub_tree"

	// LdapGroupSearchScopeOneLevel captures enum value "one_level"
	LdapGroupSearchScopeOneLevel string = "one_level"

	// LdapGroupSearchScopeBase captures enum value "base"
	LdapGroupSearchScopeBase string = "base"
)
View Source
const (

	// LdapSecurityRealmLoadBalanceTypeFailover captures enum value "failover"
	LdapSecurityRealmLoadBalanceTypeFailover string = "failover"

	// LdapSecurityRealmLoadBalanceTypeDNSFailover captures enum value "dns_failover"
	LdapSecurityRealmLoadBalanceTypeDNSFailover string = "dns_failover"

	// LdapSecurityRealmLoadBalanceTypeRoundRobin captures enum value "round_robin"
	LdapSecurityRealmLoadBalanceTypeRoundRobin string = "round_robin"

	// LdapSecurityRealmLoadBalanceTypeDNSRoundRobin captures enum value "dns_round_robin"
	LdapSecurityRealmLoadBalanceTypeDNSRoundRobin string = "dns_round_robin"
)
View Source
const (

	// LdapSecurityRealmRoleMappingRuleTypeUserDn captures enum value "user_dn"
	LdapSecurityRealmRoleMappingRuleTypeUserDn string = "user_dn"

	// LdapSecurityRealmRoleMappingRuleTypeGroupDn captures enum value "group_dn"
	LdapSecurityRealmRoleMappingRuleTypeGroupDn string = "group_dn"
)
View Source
const (

	// LdapSettingsBindTypeUserSearch captures enum value "user_search"
	LdapSettingsBindTypeUserSearch string = "user_search"

	// LdapSettingsBindTypeUserTemplates captures enum value "user_templates"
	LdapSettingsBindTypeUserTemplates string = "user_templates"
)
View Source
const (

	// LdapSettingsCertificateURLTruststoreTypeJks captures enum value "jks"
	LdapSettingsCertificateURLTruststoreTypeJks string = "jks"

	// LdapSettingsCertificateURLTruststoreTypePKCS12 captures enum value "PKCS12"
	LdapSettingsCertificateURLTruststoreTypePKCS12 string = "PKCS12"
)
View Source
const (

	// LdapUserSearchScopeSubTree captures enum value "sub_tree"
	LdapUserSearchScopeSubTree string = "sub_tree"

	// LdapUserSearchScopeOneLevel captures enum value "one_level"
	LdapUserSearchScopeOneLevel string = "one_level"

	// LdapUserSearchScopeBase captures enum value "base"
	LdapUserSearchScopeBase string = "base"
)
View Source
const (

	// NestedQueryScoreModeAvg captures enum value "avg"
	NestedQueryScoreModeAvg string = "avg"

	// NestedQueryScoreModeSum captures enum value "sum"
	NestedQueryScoreModeSum string = "sum"

	// NestedQueryScoreModeMin captures enum value "min"
	NestedQueryScoreModeMin string = "min"

	// NestedQueryScoreModeMax captures enum value "max"
	NestedQueryScoreModeMax string = "max"

	// NestedQueryScoreModeNone captures enum value "none"
	NestedQueryScoreModeNone string = "none"
)
View Source
const (

	// ProxyAllocationInfoAllocationsTypeElasticsearch captures enum value "elasticsearch"
	ProxyAllocationInfoAllocationsTypeElasticsearch string = "elasticsearch"

	// ProxyAllocationInfoAllocationsTypeKibana captures enum value "kibana"
	ProxyAllocationInfoAllocationsTypeKibana string = "kibana"

	// ProxyAllocationInfoAllocationsTypeApm captures enum value "apm"
	ProxyAllocationInfoAllocationsTypeApm string = "apm"

	// ProxyAllocationInfoAllocationsTypeIntegrationsServer captures enum value "integrations_server"
	ProxyAllocationInfoAllocationsTypeIntegrationsServer string = "integrations_server"

	// ProxyAllocationInfoAllocationsTypeAppsearch captures enum value "appsearch"
	ProxyAllocationInfoAllocationsTypeAppsearch string = "appsearch"

	// ProxyAllocationInfoAllocationsTypeEnterpriseSearch captures enum value "enterprise_search"
	ProxyAllocationInfoAllocationsTypeEnterpriseSearch string = "enterprise_search"
)
View Source
const (

	// RestoreSnapshotConfigurationStrategyPartial captures enum value "partial"
	RestoreSnapshotConfigurationStrategyPartial string = "partial"

	// RestoreSnapshotConfigurationStrategyFull captures enum value "full"
	RestoreSnapshotConfigurationStrategyFull string = "full"

	// RestoreSnapshotConfigurationStrategyRecovery captures enum value "recovery"
	RestoreSnapshotConfigurationStrategyRecovery string = "recovery"
)
View Source
const (

	// SamlSecurityRealmRoleMappingRuleTypeUsername captures enum value "username"
	SamlSecurityRealmRoleMappingRuleTypeUsername string = "username"

	// SamlSecurityRealmRoleMappingRuleTypeGroups captures enum value "groups"
	SamlSecurityRealmRoleMappingRuleTypeGroups string = "groups"

	// SamlSecurityRealmRoleMappingRuleTypeDn captures enum value "dn"
	SamlSecurityRealmRoleMappingRuleTypeDn string = "dn"
)
View Source
const (

	// SamlSettingsSslCertificateURLTruststoreTypeJks captures enum value "jks"
	SamlSettingsSslCertificateURLTruststoreTypeJks string = "jks"

	// SamlSettingsSslCertificateURLTruststoreTypePKCS12 captures enum value "PKCS12"
	SamlSettingsSslCertificateURLTruststoreTypePKCS12 string = "PKCS12"
)
View Source
const (

	// SecurityDeploymentStatusInitializing captures enum value "initializing"
	SecurityDeploymentStatusInitializing string = "initializing"

	// SecurityDeploymentStatusStopping captures enum value "stopping"
	SecurityDeploymentStatusStopping string = "stopping"

	// SecurityDeploymentStatusStopped captures enum value "stopped"
	SecurityDeploymentStatusStopped string = "stopped"

	// SecurityDeploymentStatusRebooting captures enum value "rebooting"
	SecurityDeploymentStatusRebooting string = "rebooting"

	// SecurityDeploymentStatusRestarting captures enum value "restarting"
	SecurityDeploymentStatusRestarting string = "restarting"

	// SecurityDeploymentStatusReconfiguring captures enum value "reconfiguring"
	SecurityDeploymentStatusReconfiguring string = "reconfiguring"

	// SecurityDeploymentStatusStarted captures enum value "started"
	SecurityDeploymentStatusStarted string = "started"
)
View Source
const (

	// SecurityRealmInfoTypeNative captures enum value "native"
	SecurityRealmInfoTypeNative string = "native"

	// SecurityRealmInfoTypeLdap captures enum value "ldap"
	SecurityRealmInfoTypeLdap string = "ldap"

	// SecurityRealmInfoTypeSaml captures enum value "saml"
	SecurityRealmInfoTypeSaml string = "saml"

	// SecurityRealmInfoTypeActiveDirectory captures enum value "active_directory"
	SecurityRealmInfoTypeActiveDirectory string = "active_directory"
)
View Source
const (

	// TopologySizeResourceMemory captures enum value "memory"
	TopologySizeResourceMemory string = "memory"

	// TopologySizeResourceStorage captures enum value "storage"
	TopologySizeResourceStorage string = "storage"
)
View Source
const (

	// TrafficFilterEgressRuleProtocolAll captures enum value "all"
	TrafficFilterEgressRuleProtocolAll string = "all"

	// TrafficFilterEgressRuleProtocolTCP captures enum value "tcp"
	TrafficFilterEgressRuleProtocolTCP string = "tcp"

	// TrafficFilterEgressRuleProtocolUDP captures enum value "udp"
	TrafficFilterEgressRuleProtocolUDP string = "udp"
)
View Source
const (

	// UpdateExtensionRequestExtensionTypePlugin captures enum value "plugin"
	UpdateExtensionRequestExtensionTypePlugin string = "plugin"

	// UpdateExtensionRequestExtensionTypeBundle captures enum value "bundle"
	UpdateExtensionRequestExtensionTypeBundle string = "bundle"
)
View Source
const (

	// UpdatedTLSChainServiceAdminconsole captures enum value "adminconsole"
	UpdatedTLSChainServiceAdminconsole string = "adminconsole"

	// UpdatedTLSChainServiceProxy captures enum value "proxy"
	UpdatedTLSChainServiceProxy string = "proxy"

	// UpdatedTLSChainServiceUI captures enum value "ui"
	UpdatedTLSChainServiceUI string = "ui"

	// UpdatedTLSChainServiceInternalca captures enum value "internalca"
	UpdatedTLSChainServiceInternalca string = "internalca"
)
View Source
const (

	// UserSecurityRealmTypeNative captures enum value "native"
	UserSecurityRealmTypeNative string = "native"

	// UserSecurityRealmTypeLdap captures enum value "ldap"
	UserSecurityRealmTypeLdap string = "ldap"

	// UserSecurityRealmTypeSaml captures enum value "saml"
	UserSecurityRealmTypeSaml string = "saml"

	// UserSecurityRealmTypeActiveDirectory captures enum value "active_directory"
	UserSecurityRealmTypeActiveDirectory string = "active_directory"
)
View Source
const (

	// ZookeeperNodeInfoStateConnected captures enum value "connected"
	ZookeeperNodeInfoStateConnected string = "connected"

	// ZookeeperNodeInfoStateSuspended captures enum value "suspended"
	ZookeeperNodeInfoStateSuspended string = "suspended"

	// ZookeeperNodeInfoStateReconnected captures enum value "reconnected"
	ZookeeperNodeInfoStateReconnected string = "reconnected"

	// ZookeeperNodeInfoStateLost captures enum value "lost"
	ZookeeperNodeInfoStateLost string = "lost"

	// ZookeeperNodeInfoStateReadOnly captures enum value "read_only"
	ZookeeperNodeInfoStateReadOnly string = "read_only"
)
View Source
const (

	// ApmPlanControlConfigurationClusterRebootForced captures enum value "forced"
	ApmPlanControlConfigurationClusterRebootForced string = "forced"
)
View Source
const (

	// AppSearchPlanControlConfigurationClusterRebootForced captures enum value "forced"
	AppSearchPlanControlConfigurationClusterRebootForced string = "forced"
)
View Source
const (

	// ElasticsearchPlanControlConfigurationClusterRebootForced captures enum value "forced"
	ElasticsearchPlanControlConfigurationClusterRebootForced string = "forced"
)
View Source
const (

	// EnterpriseSearchPlanControlConfigurationClusterRebootForced captures enum value "forced"
	EnterpriseSearchPlanControlConfigurationClusterRebootForced string = "forced"
)
View Source
const (

	// IntegrationsServerPlanControlConfigurationClusterRebootForced captures enum value "forced"
	IntegrationsServerPlanControlConfigurationClusterRebootForced string = "forced"
)
View Source
const (

	// KibanaPlanControlConfigurationClusterRebootForced captures enum value "forced"
	KibanaPlanControlConfigurationClusterRebootForced string = "forced"
)
View Source
const (

	// SsoAuthenticationMethodInfoSsoTypeSaml captures enum value "saml"
	SsoAuthenticationMethodInfoSsoTypeSaml string = "saml"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type APIBaseURLData ¶

type APIBaseURLData struct {

	// The configured base Url
	// Required: true
	Value *string `json:"value"`
}

APIBaseURLData Information about the API base Url

swagger:model ApiBaseUrlData

func (*APIBaseURLData) ContextValidate ¶ added in v1.3.0

func (m *APIBaseURLData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api base Url data based on context it is used

func (*APIBaseURLData) MarshalBinary ¶

func (m *APIBaseURLData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIBaseURLData) UnmarshalBinary ¶

func (m *APIBaseURLData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIBaseURLData) Validate ¶

func (m *APIBaseURLData) Validate(formats strfmt.Registry) error

Validate validates this Api base Url data

type APIKeyResponse ¶

type APIKeyResponse struct {

	// The date/time for when the API key is created.
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creation_date"`

	// The API key description. TIP: Useful when you have multiple API keys.
	// Required: true
	Description *string `json:"description"`

	// The date/time when the API key expires.
	// Format: date-time
	ExpirationDate strfmt.DateTime `json:"expiration_date,omitempty"`

	// The API key ID.
	// Required: true
	ID *string `json:"id"`

	// The API key. TIP: Since the API key is returned only once, save it in a safe place.
	Key string `json:"key,omitempty"`

	// The organization ID linked to the API key
	OrganizationID string `json:"organization_id,omitempty"`

	// The user ID.
	UserID string `json:"user_id,omitempty"`
}

APIKeyResponse The response model for an API key.

swagger:model ApiKeyResponse

func (*APIKeyResponse) ContextValidate ¶ added in v1.3.0

func (m *APIKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api key response based on context it is used

func (*APIKeyResponse) MarshalBinary ¶

func (m *APIKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIKeyResponse) UnmarshalBinary ¶

func (m *APIKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIKeyResponse) Validate ¶

func (m *APIKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this Api key response

type APIKeysResponse ¶

type APIKeysResponse struct {

	// The list of API keys.
	// Required: true
	Keys []*APIKeyResponse `json:"keys"`
}

APIKeysResponse The response model for the API keys.

swagger:model ApiKeysResponse

func (*APIKeysResponse) ContextValidate ¶ added in v1.3.0

func (m *APIKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api keys response based on the context it is used

func (*APIKeysResponse) MarshalBinary ¶

func (m *APIKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIKeysResponse) UnmarshalBinary ¶

func (m *APIKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIKeysResponse) Validate ¶

func (m *APIKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this Api keys response

type AccountResponse ¶ added in v1.3.0

type AccountResponse struct {

	// The account's identifier
	// Required: true
	ID *string `json:"id"`

	// Settings related to the level of trust of the clusters in this account
	Trust *AccountTrustSettings `json:"trust,omitempty"`
}

AccountResponse An account is the entity that owns deployments, and it is accessed by users. Accounts are isolated from each other.

swagger:model AccountResponse

func (*AccountResponse) ContextValidate ¶ added in v1.3.0

func (m *AccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this account response based on the context it is used

func (*AccountResponse) MarshalBinary ¶ added in v1.3.0

func (m *AccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountResponse) UnmarshalBinary ¶ added in v1.3.0

func (m *AccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountResponse) Validate ¶ added in v1.3.0

func (m *AccountResponse) Validate(formats strfmt.Registry) error

Validate validates this account response

type AccountTrustRelationship ¶

type AccountTrustRelationship struct {

	// the ID of the Account
	// Required: true
	AccountID *string `json:"account_id"`

	// A human readable name of the trust relationship
	Name string `json:"name,omitempty"`

	// If true, all clusters in this account will by default be trusted and the `trust_allowlist` is ignored.
	// Required: true
	TrustAll *bool `json:"trust_all"`

	// The list of clusters to trust. Only used when `trust_all` is false.
	TrustAllowlist []string `json:"trust_allowlist"`
}

AccountTrustRelationship The trust relationship with the clusters of one account.

swagger:model AccountTrustRelationship

func (*AccountTrustRelationship) ContextValidate ¶ added in v1.3.0

func (m *AccountTrustRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this account trust relationship based on context it is used

func (*AccountTrustRelationship) MarshalBinary ¶

func (m *AccountTrustRelationship) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountTrustRelationship) UnmarshalBinary ¶

func (m *AccountTrustRelationship) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountTrustRelationship) Validate ¶

func (m *AccountTrustRelationship) Validate(formats strfmt.Registry) error

Validate validates this account trust relationship

type AccountTrustSettings ¶ added in v1.3.0

type AccountTrustSettings struct {

	// If true, all clusters in this account will by default trust all other clusters in the same account
	// Required: true
	TrustAll *bool `json:"trust_all"`
}

AccountTrustSettings Settings related to the level of trust of the clusters in this account

swagger:model AccountTrustSettings

func (*AccountTrustSettings) ContextValidate ¶ added in v1.3.0

func (m *AccountTrustSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this account trust settings based on context it is used

func (*AccountTrustSettings) MarshalBinary ¶ added in v1.3.0

func (m *AccountTrustSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountTrustSettings) UnmarshalBinary ¶ added in v1.3.0

func (m *AccountTrustSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountTrustSettings) Validate ¶ added in v1.3.0

func (m *AccountTrustSettings) Validate(formats strfmt.Registry) error

Validate validates this account trust settings

type AccountUpdateRequest ¶ added in v1.3.0

type AccountUpdateRequest struct {

	// Settings related to the level of trust of the clusters in this account
	Trust *AccountTrustSettings `json:"trust,omitempty"`
}

AccountUpdateRequest A request to update an account

swagger:model AccountUpdateRequest

func (*AccountUpdateRequest) ContextValidate ¶ added in v1.3.0

func (m *AccountUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this account update request based on the context it is used

func (*AccountUpdateRequest) MarshalBinary ¶ added in v1.3.0

func (m *AccountUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AccountUpdateRequest) UnmarshalBinary ¶ added in v1.3.0

func (m *AccountUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AccountUpdateRequest) Validate ¶ added in v1.3.0

func (m *AccountUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this account update request

type ActiveDirectoryGroupSearch ¶

type ActiveDirectoryGroupSearch struct {

	// Specifies a container DN to search for groups in which the user has membership
	BaseDn string `json:"base_dn,omitempty"`

	// Specifies whether the group search should be sub_tree, one_level or base. one_level only searches objects directly contained within the base_dn. The default sub_tree searches all objects contained under base_dn. base specifies that the base_dn is a group object, and that it is the only group considered.
	// Enum: [sub_tree one_level base]
	Scope string `json:"scope,omitempty"`
}

ActiveDirectoryGroupSearch Elasticsearch Security Active Directory realm group search configuration

swagger:model ActiveDirectoryGroupSearch

func (*ActiveDirectoryGroupSearch) ContextValidate ¶ added in v1.3.0

func (m *ActiveDirectoryGroupSearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this active directory group search based on context it is used

func (*ActiveDirectoryGroupSearch) MarshalBinary ¶

func (m *ActiveDirectoryGroupSearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActiveDirectoryGroupSearch) UnmarshalBinary ¶

func (m *ActiveDirectoryGroupSearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActiveDirectoryGroupSearch) Validate ¶

func (m *ActiveDirectoryGroupSearch) Validate(formats strfmt.Registry) error

Validate validates this active directory group search

type ActiveDirectorySecurityRealmLoadBalance ¶

type ActiveDirectorySecurityRealmLoadBalance struct {

	// When using dns_failover or dns_round_robin as the load balancing type, this setting controls the amount of time to cache DNS lookups. Defaults to 1h.
	CacheTTL string `json:"cache_ttl,omitempty"`

	// The behavior to use when there are multiple Active Directory URLs defined
	// Enum: [failover dns_failover round_robin dns_round_robin]
	Type string `json:"type,omitempty"`
}

ActiveDirectorySecurityRealmLoadBalance Elasticsearch Security Active Directory load balancing configuration

swagger:model ActiveDirectorySecurityRealmLoadBalance

func (*ActiveDirectorySecurityRealmLoadBalance) ContextValidate ¶ added in v1.3.0

ContextValidate validates this active directory security realm load balance based on context it is used

func (*ActiveDirectorySecurityRealmLoadBalance) MarshalBinary ¶

func (m *ActiveDirectorySecurityRealmLoadBalance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActiveDirectorySecurityRealmLoadBalance) UnmarshalBinary ¶

func (m *ActiveDirectorySecurityRealmLoadBalance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActiveDirectorySecurityRealmLoadBalance) Validate ¶

Validate validates this active directory security realm load balance

type ActiveDirectorySecurityRealmRoleMappingRule ¶

type ActiveDirectorySecurityRealmRoleMappingRule struct {

	// The roles that are applied when the mapping rule is successfully evaluated
	// Required: true
	Roles []string `json:"roles"`

	// The type of role mapping rule
	// Required: true
	// Enum: [user_dn group_dn]
	Type *string `json:"type"`

	// The value to match when evaluating this rule
	// Required: true
	Value *string `json:"value"`
}

ActiveDirectorySecurityRealmRoleMappingRule Elasticsearch Security Active Directory role mapping rule

swagger:model ActiveDirectorySecurityRealmRoleMappingRule

func (*ActiveDirectorySecurityRealmRoleMappingRule) ContextValidate ¶ added in v1.3.0

ContextValidate validates this active directory security realm role mapping rule based on context it is used

func (*ActiveDirectorySecurityRealmRoleMappingRule) MarshalBinary ¶

func (m *ActiveDirectorySecurityRealmRoleMappingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActiveDirectorySecurityRealmRoleMappingRule) UnmarshalBinary ¶

func (m *ActiveDirectorySecurityRealmRoleMappingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActiveDirectorySecurityRealmRoleMappingRule) Validate ¶

Validate validates this active directory security realm role mapping rule

type ActiveDirectorySecurityRealmRoleMappingRules ¶

type ActiveDirectorySecurityRealmRoleMappingRules struct {

	// The default roles applied to all users
	// Required: true
	DefaultRoles []string `json:"default_roles"`

	// The role mapping rules to evaluate
	// Required: true
	Rules []*ActiveDirectorySecurityRealmRoleMappingRule `json:"rules"`
}

ActiveDirectorySecurityRealmRoleMappingRules Elasticsearch Security Active Directory role mapping rule set

swagger:model ActiveDirectorySecurityRealmRoleMappingRules

func (*ActiveDirectorySecurityRealmRoleMappingRules) ContextValidate ¶ added in v1.3.0

ContextValidate validate this active directory security realm role mapping rules based on the context it is used

func (*ActiveDirectorySecurityRealmRoleMappingRules) MarshalBinary ¶

MarshalBinary interface implementation

func (*ActiveDirectorySecurityRealmRoleMappingRules) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ActiveDirectorySecurityRealmRoleMappingRules) Validate ¶

Validate validates this active directory security realm role mapping rules

type ActiveDirectorySettings ¶

type ActiveDirectorySettings struct {

	// When true, bindDb credentials are ignored
	// Required: true
	BindAnonymously *bool `json:"bind_anonymously"`

	// The distinguished name of the user that is used to bind to the Active Directory and perform searches.
	BindDn string `json:"bind_dn,omitempty"`

	// The user password that is used to bind to the Active Directory server.
	BindPassword string `json:"bind_password,omitempty"`

	// The SSL trusted CA certificate bundle URL. The bundle should be a zip file containing a single keystore file 'keystore.ks' in the directory '/active_directory/:id/truststore', where :id is the value of the [id] field.
	CertificateURL string `json:"certificate_url,omitempty"`

	// The password to the certificate bundle URL truststore
	CertificateURLTruststorePassword string `json:"certificate_url_truststore_password,omitempty"`

	// The format of the truststore file. Should be jks to use the Java Keystore format or PKCS12 to use PKCS#12 files.  The default is jks.
	// Enum: [jks PKCS12]
	CertificateURLTruststoreType string `json:"certificate_url_truststore_type,omitempty"`

	// Specifies the domain name of the Active Directory (the forest root domain name).
	// Required: true
	DomainName *string `json:"domain_name"`

	// When true, enables the security realm
	Enabled *bool `json:"enabled,omitempty"`

	// The Active Directory group search configuration
	GroupSearch *ActiveDirectoryGroupSearch `json:"group_search,omitempty"`

	// The identifier for the security realm
	// Required: true
	ID *string `json:"id"`

	// The Active Directory load balancing behavior
	LoadBalance *ActiveDirectorySecurityRealmLoadBalance `json:"load_balance,omitempty"`

	// The friendly name of the security realm
	// Required: true
	Name *string `json:"name"`

	// The order that the security realm is evaluated
	Order int32 `json:"order,omitempty"`

	// Advanced configuration options in YAML format. Any settings defined here will override any configuration set via the API. Note that all keys should omit the 'xpack.security.authc.realms.active_directory.{realm_id}' prefix. For example, when the realm ID is set to 'ad1', the advanced configuration 'xpack.security.authc.realms.active_directory.ad1.ssl.verification_mode: full' should be added as 'ssl.verification_mode: full'.
	OverrideYaml string `json:"override_yaml,omitempty"`

	// The role mapping rules associated with the security realm
	RoleMappings *ActiveDirectorySecurityRealmRoleMappingRules `json:"role_mappings,omitempty"`

	// The Active Directory URLs used to authenticate against, in the format ldap[s]://server:port. Note that ldap and ldaps protocols cannot be mixed together.
	// Required: true
	Urls []string `json:"urls"`

	// The Active Directory user search configuration.
	UserSearch *ActiveDirectoryUserSearch `json:"user_search,omitempty"`
}

ActiveDirectorySettings Elasticsearch Security Active Directory realm configuration

swagger:model ActiveDirectorySettings

func (*ActiveDirectorySettings) ContextValidate ¶ added in v1.3.0

func (m *ActiveDirectorySettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this active directory settings based on the context it is used

func (*ActiveDirectorySettings) MarshalBinary ¶

func (m *ActiveDirectorySettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActiveDirectorySettings) UnmarshalBinary ¶

func (m *ActiveDirectorySettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActiveDirectorySettings) Validate ¶

func (m *ActiveDirectorySettings) Validate(formats strfmt.Registry) error

Validate validates this active directory settings

type ActiveDirectoryUserSearch ¶

type ActiveDirectoryUserSearch struct {

	// Specifies a container DN to search for users
	BaseDn string `json:"base_dn,omitempty"`

	// Specifies the filter to search the directory and match an entry with the username provided by the user. Defaults to (uid={0}). {0} is substituted with the username provided when searching.
	Filter string `json:"filter,omitempty"`

	// The scope of the user search. Valid values are sub_tree, one_level, or base. one_level only searches objects directly contained in the base_dn. sub_tree searches all objects contained in base_dn. base specifies that the base_dn is the user object, and that it is the only user considered. Defaults to sub_tree.
	// Enum: [sub_tree one_level base]
	Scope string `json:"scope,omitempty"`
}

ActiveDirectoryUserSearch Elasticsearch Security Active Directory realm user search configuration

swagger:model ActiveDirectoryUserSearch

func (*ActiveDirectoryUserSearch) ContextValidate ¶ added in v1.3.0

func (m *ActiveDirectoryUserSearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this active directory user search based on context it is used

func (*ActiveDirectoryUserSearch) MarshalBinary ¶

func (m *ActiveDirectoryUserSearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActiveDirectoryUserSearch) UnmarshalBinary ¶

func (m *ActiveDirectoryUserSearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActiveDirectoryUserSearch) Validate ¶

func (m *ActiveDirectoryUserSearch) Validate(formats strfmt.Registry) error

Validate validates this active directory user search

type AdminconsoleInfo ¶

type AdminconsoleInfo struct {

	// Identifier for this adminconsole
	// Required: true
	AdminconsoleID *string `json:"adminconsole_id"`
}

AdminconsoleInfo Information for the adminconsole.

swagger:model AdminconsoleInfo

func (*AdminconsoleInfo) ContextValidate ¶ added in v1.3.0

func (m *AdminconsoleInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this adminconsole info based on context it is used

func (*AdminconsoleInfo) MarshalBinary ¶

func (m *AdminconsoleInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdminconsoleInfo) UnmarshalBinary ¶

func (m *AdminconsoleInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdminconsoleInfo) Validate ¶

func (m *AdminconsoleInfo) Validate(formats strfmt.Registry) error

Validate validates this adminconsole info

type AdminconsolesOverview ¶

type AdminconsolesOverview struct {

	// List of adminconsoles
	// Required: true
	Adminconsoles []*AdminconsoleInfo `json:"adminconsoles"`
}

AdminconsolesOverview Information about all of the adminconsoles.

swagger:model AdminconsolesOverview

func (*AdminconsolesOverview) ContextValidate ¶ added in v1.3.0

func (m *AdminconsolesOverview) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this adminconsoles overview based on the context it is used

func (*AdminconsolesOverview) MarshalBinary ¶

func (m *AdminconsolesOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdminconsolesOverview) UnmarshalBinary ¶

func (m *AdminconsolesOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdminconsolesOverview) Validate ¶

func (m *AdminconsolesOverview) Validate(formats strfmt.Registry) error

Validate validates this adminconsoles overview

type AllocatedInstancePlansInfo ¶

type AllocatedInstancePlansInfo struct {

	// Whether or not there is a pending plan.
	// Required: true
	Pending *bool `json:"pending"`

	// The version of the current plan, falling back to that of the pending plan if it exists.
	Version string `json:"version,omitempty"`

	// The number of zones in the current plan, falling back to that of the pending plan if it exists.
	ZoneCount int32 `json:"zone_count,omitempty"`
}

AllocatedInstancePlansInfo The plan information for the Elasticsearch cluster associated with the Kibana instance or APM Server.

swagger:model AllocatedInstancePlansInfo

func (*AllocatedInstancePlansInfo) ContextValidate ¶ added in v1.3.0

func (m *AllocatedInstancePlansInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocated instance plans info based on context it is used

func (*AllocatedInstancePlansInfo) MarshalBinary ¶

func (m *AllocatedInstancePlansInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatedInstancePlansInfo) UnmarshalBinary ¶

func (m *AllocatedInstancePlansInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatedInstancePlansInfo) Validate ¶

func (m *AllocatedInstancePlansInfo) Validate(formats strfmt.Registry) error

Validate validates this allocated instance plans info

type AllocatedInstanceStatus ¶

type AllocatedInstanceStatus struct {

	// Indicates whether the cluster the instance belongs to is healthy
	ClusterHealthy *bool `json:"cluster_healthy,omitempty"`

	// Identifier for the cluster this instance belongs
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// Name of cluster this instance belongs, if available
	ClusterName string `json:"cluster_name,omitempty"`

	// Type of instance that is running
	// Required: true
	// Enum: [elasticsearch kibana apm integrations_server appsearch enterprise_search]
	ClusterType *string `json:"cluster_type"`

	// The id of the deployment this cluster belongs to.
	DeploymentID string `json:"deployment_id,omitempty"`

	// Indicates whether the instance is healthy
	Healthy *bool `json:"healthy,omitempty"`

	// The instance configuration id of this instance
	InstanceConfigurationID string `json:"instance_configuration_id,omitempty"`

	// Instance ID of the instance
	// Required: true
	InstanceName *string `json:"instance_name"`

	// Indicates whether the instance is vacating away from this allocator. Note that this is currently not populated when returned from the search endpoint.
	Moving *bool `json:"moving,omitempty"`

	// Memory assigned to this instance
	// Required: true
	NodeMemory *int32 `json:"node_memory"`

	// The plans associated with the current instance. Note that this is currently not populated when returned from the search endpoint.
	PlansInfo *AllocatedInstancePlansInfo `json:"plans_info,omitempty"`
}

AllocatedInstanceStatus The status of the allocated Kibana instance or APM Server.

swagger:model AllocatedInstanceStatus

func (*AllocatedInstanceStatus) ContextValidate ¶ added in v1.3.0

func (m *AllocatedInstanceStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allocated instance status based on the context it is used

func (*AllocatedInstanceStatus) MarshalBinary ¶

func (m *AllocatedInstanceStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatedInstanceStatus) UnmarshalBinary ¶

func (m *AllocatedInstanceStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatedInstanceStatus) Validate ¶

func (m *AllocatedInstanceStatus) Validate(formats strfmt.Registry) error

Validate validates this allocated instance status

type AllocatorBuildInfo ¶

type AllocatorBuildInfo struct {

	// Git commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// Version of the artifact
	Version string `json:"version,omitempty"`
}

AllocatorBuildInfo Information about the build that is running on the allocator.

swagger:model AllocatorBuildInfo

func (*AllocatorBuildInfo) ContextValidate ¶ added in v1.3.0

func (m *AllocatorBuildInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocator build info based on context it is used

func (*AllocatorBuildInfo) MarshalBinary ¶

func (m *AllocatorBuildInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorBuildInfo) UnmarshalBinary ¶

func (m *AllocatorBuildInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorBuildInfo) Validate ¶

func (m *AllocatorBuildInfo) Validate(formats strfmt.Registry) error

Validate validates this allocator build info

type AllocatorCapacity ¶

type AllocatorCapacity struct {

	// Additional bonus CPU shares available to Elasticsearch master instances
	AdditionalMasterBonus float32 `json:"additional_master_bonus,omitempty"`

	// Total number of CPUs available on this allocator
	AvailableCpus int32 `json:"available_cpus,omitempty"`

	// memory
	// Required: true
	Memory *AllocatorCapacityMemory `json:"memory"`

	// The storage capacity of the allocator.
	// Required: true
	Storage *AllocatorCapacityStorage `json:"storage"`
}

AllocatorCapacity The total and used capacity of the allocator.

swagger:model AllocatorCapacity

func (*AllocatorCapacity) ContextValidate ¶ added in v1.3.0

func (m *AllocatorCapacity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allocator capacity based on the context it is used

func (*AllocatorCapacity) MarshalBinary ¶

func (m *AllocatorCapacity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorCapacity) UnmarshalBinary ¶

func (m *AllocatorCapacity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorCapacity) Validate ¶

func (m *AllocatorCapacity) Validate(formats strfmt.Registry) error

Validate validates this allocator capacity

type AllocatorCapacityMemory ¶

type AllocatorCapacityMemory struct {

	// Total memory in MB capacity installed on this allocator
	// Required: true
	Total *int32 `json:"total"`

	// Used memory in MB used by instances assigned to this allocator
	// Required: true
	Used *int32 `json:"used"`
}

AllocatorCapacityMemory The available and used memory of the allocator.

swagger:model AllocatorCapacityMemory

func (*AllocatorCapacityMemory) ContextValidate ¶ added in v1.3.0

func (m *AllocatorCapacityMemory) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocator capacity memory based on context it is used

func (*AllocatorCapacityMemory) MarshalBinary ¶

func (m *AllocatorCapacityMemory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorCapacityMemory) UnmarshalBinary ¶

func (m *AllocatorCapacityMemory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorCapacityMemory) Validate ¶

func (m *AllocatorCapacityMemory) Validate(formats strfmt.Registry) error

Validate validates this allocator capacity memory

type AllocatorCapacityStorage ¶ added in v1.13.0

type AllocatorCapacityStorage struct {

	// Total storage in MiB capacity installed on this allocator
	// Required: true
	Total *int64 `json:"total"`
}

AllocatorCapacityStorage The storage capacity of the allocator.

swagger:model AllocatorCapacityStorage

func (*AllocatorCapacityStorage) ContextValidate ¶ added in v1.13.0

func (m *AllocatorCapacityStorage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocator capacity storage based on context it is used

func (*AllocatorCapacityStorage) MarshalBinary ¶ added in v1.13.0

func (m *AllocatorCapacityStorage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorCapacityStorage) UnmarshalBinary ¶ added in v1.13.0

func (m *AllocatorCapacityStorage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorCapacityStorage) Validate ¶ added in v1.13.0

func (m *AllocatorCapacityStorage) Validate(formats strfmt.Registry) error

Validate validates this allocator capacity storage

type AllocatorHealthChecks ¶ added in v1.12.0

type AllocatorHealthChecks struct {

	// Whether the allocator has allocated instances
	// Required: true
	HasInstances *bool `json:"has_instances"`

	// Whether the allocator is connected to zk or not
	// Required: true
	IsConnectedToZk *bool `json:"is_connected_to_zk"`

	// Check performed by the allocator to figure out if docker is healthy
	// Required: true
	IsDockerHealthy *bool `json:"is_docker_healthy"`
}

AllocatorHealthChecks The checks performed to determine if an allocator is healthy or not.

swagger:model AllocatorHealthChecks

func (*AllocatorHealthChecks) ContextValidate ¶ added in v1.12.0

func (m *AllocatorHealthChecks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocator health checks based on context it is used

func (*AllocatorHealthChecks) MarshalBinary ¶ added in v1.12.0

func (m *AllocatorHealthChecks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorHealthChecks) UnmarshalBinary ¶ added in v1.12.0

func (m *AllocatorHealthChecks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorHealthChecks) Validate ¶ added in v1.12.0

func (m *AllocatorHealthChecks) Validate(formats strfmt.Registry) error

Validate validates this allocator health checks

type AllocatorHealthStatus ¶

type AllocatorHealthStatus struct {

	// Whether the allocator is connected
	// Required: true
	Connected *bool `json:"connected"`

	// Checks used to determine if an allocator is healthy or not
	HealthChecks *AllocatorHealthChecks `json:"health_checks,omitempty"`

	// Whether the allocator is healthy, meaning it is either connected or has no instances
	// Required: true
	Healthy *bool `json:"healthy"`

	// Whether the allocator is in maintenance mode (meaning that new workload won't be assigned to it)
	// Required: true
	MaintenanceMode *bool `json:"maintenance_mode"`

	// Timestamp when allocator last entered or exited maintenance mode
	// Format: date-time
	MaintenanceModeTimestamp strfmt.DateTime `json:"maintenance_mode_timestamp,omitempty"`
}

AllocatorHealthStatus The health status of the allocator.

swagger:model AllocatorHealthStatus

func (*AllocatorHealthStatus) ContextValidate ¶ added in v1.3.0

func (m *AllocatorHealthStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allocator health status based on the context it is used

func (*AllocatorHealthStatus) MarshalBinary ¶

func (m *AllocatorHealthStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorHealthStatus) UnmarshalBinary ¶

func (m *AllocatorHealthStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorHealthStatus) Validate ¶

func (m *AllocatorHealthStatus) Validate(formats strfmt.Registry) error

Validate validates this allocator health status

type AllocatorInfo ¶

type AllocatorInfo struct {

	// Identifier for this allocator
	// Required: true
	AllocatorID *string `json:"allocator_id"`

	// Build Info of the artifact
	BuildInfo *AllocatorBuildInfo `json:"build_info,omitempty"`

	// capacity
	// Required: true
	Capacity *AllocatorCapacity `json:"capacity"`

	// External resources related to this allocator.
	// Required: true
	// Unique: true
	ExternalLinks []*ExternalHyperlink `json:"external_links"`

	// List of features associated with this allocator. Note this is only present for backwards compatibility purposes and is scheduled for removal in the next major version release.
	// Required: true
	Features []string `json:"features"`

	// Host IP of this allocator
	// Required: true
	HostIP *string `json:"host_ip"`

	// instances
	// Required: true
	Instances []*AllocatedInstanceStatus `json:"instances"`

	// Arbitrary metadata associated with this allocator
	// Required: true
	Metadata []*MetadataItem `json:"metadata"`

	// Public hostname of this allocator
	// Required: true
	PublicHostname *string `json:"public_hostname"`

	// The region that this allocator belongs to. Only populated in SaaS or federated ECE.
	Region string `json:"region,omitempty"`

	// settings
	// Required: true
	Settings *AllocatorSettings `json:"settings"`

	// status
	// Required: true
	Status *AllocatorHealthStatus `json:"status"`

	// Identifier of the zone
	// Required: true
	ZoneID *string `json:"zone_id"`
}

AllocatorInfo The overview information for the allocator.

swagger:model AllocatorInfo

func (*AllocatorInfo) ContextValidate ¶ added in v1.3.0

func (m *AllocatorInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allocator info based on the context it is used

func (*AllocatorInfo) MarshalBinary ¶

func (m *AllocatorInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorInfo) UnmarshalBinary ¶

func (m *AllocatorInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorInfo) Validate ¶

func (m *AllocatorInfo) Validate(formats strfmt.Registry) error

Validate validates this allocator info

type AllocatorMoveRequest ¶

type AllocatorMoveRequest struct {

	// Tells the infrastructure that all instances on the allocator should be considered as permanently down when deciding how to migrate data to new nodes. If left blank then the system will auto-decide (currently: will treat the allocator as up)
	AllocatorDown *bool `json:"allocator_down,omitempty"`

	// The allocator id off which all instances in the cluster should be moved
	// Required: true
	From *string `json:"from"`

	// An optional list of allocator ids to which the instance(s) should be moved. If not specified then any available allocator can be used (including the current one if it is healthy)
	To []string `json:"to"`
}

AllocatorMoveRequest As part of the upgrade plan, identifies the move requests for the Kibana instances or APM Servers on the allocators.

swagger:model AllocatorMoveRequest

func (*AllocatorMoveRequest) ContextValidate ¶ added in v1.3.0

func (m *AllocatorMoveRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocator move request based on context it is used

func (*AllocatorMoveRequest) MarshalBinary ¶

func (m *AllocatorMoveRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorMoveRequest) UnmarshalBinary ¶

func (m *AllocatorMoveRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorMoveRequest) Validate ¶

func (m *AllocatorMoveRequest) Validate(formats strfmt.Registry) error

Validate validates this allocator move request

type AllocatorOverview ¶

type AllocatorOverview struct {

	// zones
	// Required: true
	Zones []*AllocatorZoneInfo `json:"zones"`
}

AllocatorOverview The overview information for the installed allocators.

swagger:model AllocatorOverview

func (*AllocatorOverview) ContextValidate ¶ added in v1.3.0

func (m *AllocatorOverview) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allocator overview based on the context it is used

func (*AllocatorOverview) MarshalBinary ¶

func (m *AllocatorOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorOverview) UnmarshalBinary ¶

func (m *AllocatorOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorOverview) Validate ¶

func (m *AllocatorOverview) Validate(formats strfmt.Registry) error

Validate validates this allocator overview

type AllocatorSettings ¶

type AllocatorSettings struct {

	// A memory capacity (in MB) that overrides the capacity defined during installation - requires separate restart of Allocator services on each host to take full effect.
	Capacity int32 `json:"capacity,omitempty"`
}

AllocatorSettings The settings for the allocator.

swagger:model AllocatorSettings

func (*AllocatorSettings) ContextValidate ¶ added in v1.3.0

func (m *AllocatorSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocator settings based on context it is used

func (*AllocatorSettings) MarshalBinary ¶

func (m *AllocatorSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorSettings) UnmarshalBinary ¶

func (m *AllocatorSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorSettings) Validate ¶

func (m *AllocatorSettings) Validate(formats strfmt.Registry) error

Validate validates this allocator settings

type AllocatorZoneInfo ¶

type AllocatorZoneInfo struct {

	// allocators
	// Required: true
	Allocators []*AllocatorInfo `json:"allocators"`

	// Identifier of the zone
	// Required: true
	ZoneID *string `json:"zone_id"`
}

AllocatorZoneInfo The allocators for the specified zone.

swagger:model AllocatorZoneInfo

func (*AllocatorZoneInfo) ContextValidate ¶ added in v1.3.0

func (m *AllocatorZoneInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allocator zone info based on the context it is used

func (*AllocatorZoneInfo) MarshalBinary ¶

func (m *AllocatorZoneInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorZoneInfo) UnmarshalBinary ¶

func (m *AllocatorZoneInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorZoneInfo) Validate ¶

func (m *AllocatorZoneInfo) Validate(formats strfmt.Registry) error

Validate validates this allocator zone info

type AllocatorsSummary ¶

type AllocatorsSummary struct {

	// Whether all allocators are healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// Summarized information on allocators in each zone
	// Required: true
	ZoneSummaries []*AllocatorsZoneSummary `json:"zone_summaries"`
}

AllocatorsSummary Summarized information about allocators.

swagger:model AllocatorsSummary

func (*AllocatorsSummary) ContextValidate ¶ added in v1.3.0

func (m *AllocatorsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this allocators summary based on the context it is used

func (*AllocatorsSummary) MarshalBinary ¶

func (m *AllocatorsSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorsSummary) UnmarshalBinary ¶

func (m *AllocatorsSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorsSummary) Validate ¶

func (m *AllocatorsSummary) Validate(formats strfmt.Registry) error

Validate validates this allocators summary

type AllocatorsZoneSummary ¶

type AllocatorsZoneSummary struct {

	// Number of connected allocators
	// Required: true
	ConnectedAllocators *int32 `json:"connected_allocators"`

	// Capacity of connected allocators in megabytes
	// Required: true
	ConnectedCapacity *int32 `json:"connected_capacity"`

	// Number of disconnected allocators
	// Required: true
	DisconnectedAllocators *int32 `json:"disconnected_allocators"`

	// Number of healthy allocators
	// Required: true
	HealthyAllocators *int32 `json:"healthy_allocators"`

	// Number of connected allocators in maintenance
	// Required: true
	InMaintenanceAllocators *int32 `json:"in_maintenance_allocators"`

	// Number of instances across all allocators in the region
	// Required: true
	Instances *int32 `json:"instances"`

	// Maximum capacity available in one allocator in megabytes
	// Required: true
	MaxAvailableCapacity *int32 `json:"max_available_capacity"`

	// Total number of allocators
	// Required: true
	TotalAllocators *int32 `json:"total_allocators"`

	// Identifier of the zone
	// Required: true
	ZoneID *string `json:"zone_id"`
}

AllocatorsZoneSummary Summary of the allocators for the specified zone.

swagger:model AllocatorsZoneSummary

func (*AllocatorsZoneSummary) ContextValidate ¶ added in v1.3.0

func (m *AllocatorsZoneSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this allocators zone summary based on context it is used

func (*AllocatorsZoneSummary) MarshalBinary ¶

func (m *AllocatorsZoneSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AllocatorsZoneSummary) UnmarshalBinary ¶

func (m *AllocatorsZoneSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AllocatorsZoneSummary) Validate ¶

func (m *AllocatorsZoneSummary) Validate(formats strfmt.Registry) error

Validate validates this allocators zone summary

type Apm ¶

type Apm struct {

	// The backend plan as JSON
	// Required: true
	BackendPlan interface{} `json:"backend_plan"`

	// The human readable name (defaults to the generated cluster id if not specified)
	// Required: true
	DisplayName *string `json:"display_name"`

	// The user-specified id of the Elasticsearch Cluster that this will link to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// A locally-unique user-specified id
	// Required: true
	RefID *string `json:"ref_id"`
}

Apm Holds diagnostics for an APM resource

swagger:model Apm

func (*Apm) ContextValidate ¶ added in v1.3.0

func (m *Apm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this apm based on context it is used

func (*Apm) MarshalBinary ¶

func (m *Apm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Apm) UnmarshalBinary ¶

func (m *Apm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Apm) Validate ¶

func (m *Apm) Validate(formats strfmt.Registry) error

Validate validates this apm

type ApmConfiguration ¶

type ApmConfiguration struct {

	// A docker URI that allows overriding of the default docker image specified for this version
	DockerImage string `json:"docker_image,omitempty"`

	// system settings
	SystemSettings *ApmSystemSettings `json:"system_settings,omitempty"`

	// An arbitrary JSON object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_yaml' is allowed), provided the parameters are on the allowlist and not on the denylist. (This field together with 'user_settings_override*' and 'system_settings' defines the total set of Apm settings)
	UserSettingsJSON interface{} `json:"user_settings_json,omitempty"`

	// An arbitrary JSON object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_yaml' is allowed), ie in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of Apm settings)
	UserSettingsOverrideJSON interface{} `json:"user_settings_override_json,omitempty"`

	// An arbitrary YAML object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_json' is allowed), ie in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of Apm settings)
	UserSettingsOverrideYaml string `json:"user_settings_override_yaml,omitempty"`

	// An arbitrary YAML object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_json' is allowed), provided the parameters are on the allowlist and not on the denylist. (These field together with 'user_settings_override*' and 'system_settings' defines the total set of Apm settings)
	UserSettingsYaml string `json:"user_settings_yaml,omitempty"`

	// The version of the Apm cluster (must be one of the ECE supported versions, and won't work unless it matches the APM version. Leave blank to auto-detect version.)
	Version string `json:"version,omitempty"`
}

ApmConfiguration The configuration options for the APM Server.

swagger:model ApmConfiguration

func (*ApmConfiguration) ContextValidate ¶ added in v1.3.0

func (m *ApmConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm configuration based on the context it is used

func (*ApmConfiguration) MarshalBinary ¶

func (m *ApmConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmConfiguration) UnmarshalBinary ¶

func (m *ApmConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmConfiguration) Validate ¶

func (m *ApmConfiguration) Validate(formats strfmt.Registry) error

Validate validates this apm configuration

type ApmCrudResponse ¶

type ApmCrudResponse struct {

	// For an operation creating or updating an APM server, the Id of that server
	ApmID string `json:"apm_id,omitempty"`

	// If the endpoint is called with URL param 'validate_only=true', then this contains advanced debug info (the internal plan representation)
	Diagnostics interface{} `json:"diagnostics,omitempty"`

	// The secret token for accessing the server
	// Required: true
	SecretToken *string `json:"secret_token"`
}

ApmCrudResponse The response to an APM CRUD (create/update-plan) request.

swagger:model ApmCrudResponse

func (*ApmCrudResponse) ContextValidate ¶ added in v1.3.0

func (m *ApmCrudResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this apm crud response based on context it is used

func (*ApmCrudResponse) MarshalBinary ¶

func (m *ApmCrudResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmCrudResponse) UnmarshalBinary ¶

func (m *ApmCrudResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmCrudResponse) Validate ¶

func (m *ApmCrudResponse) Validate(formats strfmt.Registry) error

Validate validates this apm crud response

type ApmInfo ¶

type ApmInfo struct {

	// The mode APM is operating in.
	// Enum: [standalone managed]
	ApmServerMode string `json:"apm_server_mode,omitempty"`

	// The id of the deployment that this APM Server belongs to.
	DeploymentID string `json:"deployment_id,omitempty"`

	// elasticsearch cluster
	// Required: true
	ElasticsearchCluster *TargetElasticsearchCluster `json:"elasticsearch_cluster"`

	// External resources related to the APM
	// Required: true
	// Unique: true
	ExternalLinks []*ExternalHyperlink `json:"external_links"`

	// Whether the APM is healthy or not (one or more of the info subsections will have healthy: false)
	// Required: true
	Healthy *bool `json:"healthy"`

	// The id of the APM
	// Required: true
	ID *string `json:"id"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`

	// metadata
	Metadata *ClusterMetadataInfo `json:"metadata,omitempty"`

	// The name of the APM
	// Required: true
	Name *string `json:"name"`

	// plan info
	// Required: true
	PlanInfo *ApmPlansInfo `json:"plan_info"`

	// The region that this APM belongs to. Only populated in SaaS or federated ECE.
	Region string `json:"region,omitempty"`

	// The cluster metadata settings for the APM
	Settings *ApmSettings `json:"settings,omitempty"`

	// APM status
	// Required: true
	// Enum: [initializing stopping stopped rebooting restarting reconfiguring started]
	Status *string `json:"status"`

	// topology
	// Required: true
	Topology *ClusterTopologyInfo `json:"topology"`
}

ApmInfo The overview information for the APM Server.

swagger:model ApmInfo

func (*ApmInfo) ContextValidate ¶ added in v1.3.0

func (m *ApmInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm info based on the context it is used

func (*ApmInfo) MarshalBinary ¶

func (m *ApmInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmInfo) UnmarshalBinary ¶

func (m *ApmInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmInfo) Validate ¶

func (m *ApmInfo) Validate(formats strfmt.Registry) error

Validate validates this apm info

type ApmPayload ¶

type ApmPayload struct {

	// The human readable name for the APM cluster (default: takes the name of its Elasticsearch cluster)
	DisplayName string `json:"display_name,omitempty"`

	// Alias to the Elasticsearch Cluster to attach APM to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// plan
	// Required: true
	Plan *ApmPlan `json:"plan"`

	// A locally-unique user-specified id for APM
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`

	// The settings for building this APM cluster
	Settings *ApmSettings `json:"settings,omitempty"`
}

ApmPayload An APM creation request paired with the alias of the Elasticsearch cluster it should be paired with

swagger:model ApmPayload

func (*ApmPayload) ContextValidate ¶ added in v1.3.0

func (m *ApmPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm payload based on the context it is used

func (*ApmPayload) MarshalBinary ¶

func (m *ApmPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmPayload) UnmarshalBinary ¶

func (m *ApmPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmPayload) Validate ¶

func (m *ApmPayload) Validate(formats strfmt.Registry) error

Validate validates this apm payload

type ApmPlan ¶

type ApmPlan struct {

	// apm
	// Required: true
	Apm *ApmConfiguration `json:"apm"`

	// cluster topology
	ClusterTopology []*ApmTopologyElement `json:"cluster_topology"`

	// transient
	Transient *TransientApmPlanConfiguration `json:"transient,omitempty"`
}

ApmPlan The plan for the APM Server.

swagger:model ApmPlan

func (*ApmPlan) ContextValidate ¶ added in v1.3.0

func (m *ApmPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm plan based on the context it is used

func (*ApmPlan) MarshalBinary ¶

func (m *ApmPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmPlan) UnmarshalBinary ¶

func (m *ApmPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmPlan) Validate ¶

func (m *ApmPlan) Validate(formats strfmt.Registry) error

Validate validates this apm plan

type ApmPlanControlConfiguration ¶

type ApmPlanControlConfiguration struct {

	// This timeout determines how long to give a cluster after it responds to API calls before performing actual operations on it. It defaults to 5s
	CalmWaitTime int64 `json:"calm_wait_time,omitempty"`

	// Set to 'forced' to force a reboot as part of the upgrade plan
	// Enum: [forced]
	ClusterReboot string `json:"cluster_reboot,omitempty"`

	// If true (default false), does not clear the maintenance flag (which prevents its API from being accessed except by the constructor) on new instances added until after a snapshot has been restored, otherwise, the maintenance flag is cleared once the new instances successfully join the new cluster
	ExtendedMaintenance *bool `json:"extended_maintenance,omitempty"`

	// move allocators
	MoveAllocators []*AllocatorMoveRequest `json:"move_allocators"`

	// move instances
	MoveInstances []*InstanceMoveRequest `json:"move_instances"`

	// If false (the default), the plan fails if it determines that the request can result in unsafe operations. Setting this flag overrides some of these check restraints.
	OverrideFailsafe *bool `json:"override_failsafe,omitempty"`

	// Map containing allocators tags in form of key value pairs, increasing the likelihood during move requests for allocators with matching tags, to be selected as target allocators
	PreferredAllocatorTags map[string]string `json:"preferred_allocator_tags,omitempty"`

	// List of allocators on which instances are placed if possible (if not possible/not specified then any available allocator with space is used)
	PreferredAllocators []string `json:"preferred_allocators"`

	// If true (default: false) does not allow re-using any existing instances currently in the cluster, ie even unchanged instances will be re-created
	ReallocateInstances *bool `json:"reallocate_instances,omitempty"`

	// The total timeout in seconds after which the plan is cancelled even if it is not complete. Defaults to 4x the max memory capacity per node (in MB)
	Timeout int64 `json:"timeout,omitempty"`
}

ApmPlanControlConfiguration The plan control configuration options for the APM Server.

swagger:model ApmPlanControlConfiguration

func (*ApmPlanControlConfiguration) ContextValidate ¶ added in v1.3.0

func (m *ApmPlanControlConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm plan control configuration based on the context it is used

func (*ApmPlanControlConfiguration) MarshalBinary ¶

func (m *ApmPlanControlConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmPlanControlConfiguration) UnmarshalBinary ¶

func (m *ApmPlanControlConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmPlanControlConfiguration) Validate ¶

func (m *ApmPlanControlConfiguration) Validate(formats strfmt.Registry) error

Validate validates this apm plan control configuration

type ApmPlanInfo ¶

type ApmPlanInfo struct {

	// If this plan completed or failed (ie is not pending), when the attempt ended (ISO format in UTC)
	// Format: date-time
	AttemptEndTime strfmt.DateTime `json:"attempt_end_time,omitempty"`

	// When this plan attempt (ie to apply the plan to the APM) started (ISO format in UTC)
	// Format: date-time
	AttemptStartTime strfmt.DateTime `json:"attempt_start_time,omitempty"`

	// error
	Error *ClusterPlanAttemptError `json:"error,omitempty"`

	// Either the plan ended successfully, or is not yet completed (and no errors have occurred)
	// Required: true
	Healthy *bool `json:"healthy"`

	// plan
	Plan *ApmPlan `json:"plan,omitempty"`

	// A UUID for each plan attempt
	PlanAttemptID string `json:"plan_attempt_id,omitempty"`

	// plan attempt log
	// Required: true
	PlanAttemptLog []*ClusterPlanStepInfo `json:"plan_attempt_log"`

	// A human readable name for each plan attempt, only populated when retrieving plan histories
	PlanAttemptName string `json:"plan_attempt_name,omitempty"`

	// If this plan is not current or pending, when the plan was no longer active (ISO format in UTC)
	// Format: date-time
	PlanEndTime strfmt.DateTime `json:"plan_end_time,omitempty"`

	// Information describing the source that facilitated the plans current state
	Source *ChangeSourceInfo `json:"source,omitempty"`

	// warnings
	// Required: true
	Warnings []*ClusterPlanWarning `json:"warnings"`
}

ApmPlanInfo Information about the APM Server plan.

swagger:model ApmPlanInfo

func (*ApmPlanInfo) ContextValidate ¶ added in v1.3.0

func (m *ApmPlanInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm plan info based on the context it is used

func (*ApmPlanInfo) MarshalBinary ¶

func (m *ApmPlanInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmPlanInfo) UnmarshalBinary ¶

func (m *ApmPlanInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmPlanInfo) Validate ¶

func (m *ApmPlanInfo) Validate(formats strfmt.Registry) error

Validate validates this apm plan info

type ApmPlansInfo ¶

type ApmPlansInfo struct {

	// current
	Current *ApmPlanInfo `json:"current,omitempty"`

	// Whether the plan situation is healthy (if unhealthy, means the last plan attempt failed)
	// Required: true
	Healthy *bool `json:"healthy"`

	// history
	// Required: true
	History []*ApmPlanInfo `json:"history"`

	// pending
	Pending *ApmPlanInfo `json:"pending,omitempty"`
}

ApmPlansInfo Information about current, pending, and past APM Server plans.

swagger:model ApmPlansInfo

func (*ApmPlansInfo) ContextValidate ¶ added in v1.3.0

func (m *ApmPlansInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm plans info based on the context it is used

func (*ApmPlansInfo) MarshalBinary ¶

func (m *ApmPlansInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmPlansInfo) UnmarshalBinary ¶

func (m *ApmPlansInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmPlansInfo) Validate ¶

func (m *ApmPlansInfo) Validate(formats strfmt.Registry) error

Validate validates this apm plans info

type ApmResourceInfo ¶

type ApmResourceInfo struct {

	// The Elasticsearch cluster that this resource depends on.
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// The randomly-generated id of a Resource
	// Required: true
	ID *string `json:"id"`

	// Info for the resource.
	// Required: true
	Info *ApmInfo `json:"info"`

	// The locally-unique user-specified id of a Resource
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`
}

ApmResourceInfo Describes an APM resource belonging to a Deployment

swagger:model ApmResourceInfo

func (*ApmResourceInfo) ContextValidate ¶ added in v1.3.0

func (m *ApmResourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm resource info based on the context it is used

func (*ApmResourceInfo) MarshalBinary ¶

func (m *ApmResourceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmResourceInfo) UnmarshalBinary ¶

func (m *ApmResourceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmResourceInfo) Validate ¶

func (m *ApmResourceInfo) Validate(formats strfmt.Registry) error

Validate validates this apm resource info

type ApmSettings ¶

type ApmSettings struct {

	// metadata
	Metadata *ClusterMetadataSettings `json:"metadata,omitempty"`
}

ApmSettings The settings for the APM Server.

swagger:model ApmSettings

func (*ApmSettings) ContextValidate ¶ added in v1.3.0

func (m *ApmSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm settings based on the context it is used

func (*ApmSettings) MarshalBinary ¶

func (m *ApmSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmSettings) UnmarshalBinary ¶

func (m *ApmSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmSettings) Validate ¶

func (m *ApmSettings) Validate(formats strfmt.Registry) error

Validate validates this apm settings

type ApmSubInfo ¶

type ApmSubInfo struct {

	// The APM cluster Id
	// Required: true
	ApmID *string `json:"apm_id"`

	// Whether the associated APM cluster is currently available
	// Required: true
	Enabled *bool `json:"enabled"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`
}

ApmSubInfo Information about the APM Servers associated with the Elasticsearch cluster.

swagger:model ApmSubInfo

func (*ApmSubInfo) ContextValidate ¶ added in v1.3.0

func (m *ApmSubInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm sub info based on the context it is used

func (*ApmSubInfo) MarshalBinary ¶

func (m *ApmSubInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmSubInfo) UnmarshalBinary ¶

func (m *ApmSubInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmSubInfo) Validate ¶

func (m *ApmSubInfo) Validate(formats strfmt.Registry) error

Validate validates this apm sub info

type ApmSystemSettings ¶

type ApmSystemSettings struct {

	// Optionally enable debug mode for APM servers - defaults false
	DebugEnabled *bool `json:"debug_enabled,omitempty"`

	// Optionally override the account within APM - defaults to a system account that always exists (if specified, the username must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchPassword string `json:"elasticsearch_password,omitempty"`

	// DEPRECATED: Scheduled for removal in a future version of the API.
	//
	// Optionally override the URL to which to send data (for advanced users only, if unspecified the system selects an internal URL)
	ElasticsearchURL string `json:"elasticsearch_url,omitempty"`

	// Optionally override the account within APM - defaults to a system account that always exists (if specified, the password must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchUsername string `json:"elasticsearch_username,omitempty"`

	// DEPRECATED: Scheduled for removal in a future version of the API.
	//
	// Optionally override the URL to which to send data (for advanced users only, if unspecified the system selects an internal URL)
	KibanaURL string `json:"kibana_url,omitempty"`

	// Optionally override the secret token within APM - defaults to the previously existing secretToken
	SecretToken string `json:"secret_token,omitempty"`
}

ApmSystemSettings A structure that defines a curated subset of the APM Server settings. TIP: To define the complete set of APM Server setting, use `ApmSystemSettings` with `user_settings_override_` and `user_settings_`.

swagger:model ApmSystemSettings

func (*ApmSystemSettings) ContextValidate ¶ added in v1.3.0

func (m *ApmSystemSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this apm system settings based on context it is used

func (*ApmSystemSettings) MarshalBinary ¶

func (m *ApmSystemSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmSystemSettings) UnmarshalBinary ¶

func (m *ApmSystemSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmSystemSettings) Validate ¶

func (m *ApmSystemSettings) Validate(formats strfmt.Registry) error

Validate validates this apm system settings

type ApmTopologyElement ¶

type ApmTopologyElement struct {

	// apm
	Apm *ApmConfiguration `json:"apm,omitempty"`

	// Controls the allocation of this topology element as well as allowed sizes and node_types. It needs to match the id of an existing instance configuration.
	InstanceConfigurationID string `json:"instance_configuration_id,omitempty"`

	// The version of the Instance Configuration Id. If it is unset, the meaning depends on read vs writes. For deployment reads, it is equivalent to version 0 (or the IC is unversioned); for deployment creates and deployment template use, it is equivalent to 'the latest version'; and for deployment updates, it is equivalent to 'retain the current version'.
	InstanceConfigurationVersion *int32 `json:"instance_configuration_version,omitempty"`

	// size
	Size *TopologySize `json:"size,omitempty"`

	// number of zones in which nodes will be placed
	ZoneCount int32 `json:"zone_count,omitempty"`
}

ApmTopologyElement Defines the topology of the APM Server nodes. For example, the number or capacity of the nodes, and where you can allocate the nodes.

swagger:model ApmTopologyElement

func (*ApmTopologyElement) ContextValidate ¶ added in v1.3.0

func (m *ApmTopologyElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this apm topology element based on the context it is used

func (*ApmTopologyElement) MarshalBinary ¶

func (m *ApmTopologyElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApmTopologyElement) UnmarshalBinary ¶

func (m *ApmTopologyElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApmTopologyElement) Validate ¶

func (m *ApmTopologyElement) Validate(formats strfmt.Registry) error

Validate validates this apm topology element

type AppSearch ¶

type AppSearch struct {

	// The backend plan as JSON
	// Required: true
	BackendPlan interface{} `json:"backend_plan"`

	// The human readable name (defaults to the generated cluster id if not specified)
	// Required: true
	DisplayName *string `json:"display_name"`

	// The user-specified id of the Elasticsearch Cluster that this will link to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// A locally-unique user-specified id
	// Required: true
	RefID *string `json:"ref_id"`
}

AppSearch Holds diagnostics for an AppSearch resource

swagger:model AppSearch

func (*AppSearch) ContextValidate ¶ added in v1.3.0

func (m *AppSearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this app search based on context it is used

func (*AppSearch) MarshalBinary ¶

func (m *AppSearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearch) UnmarshalBinary ¶

func (m *AppSearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearch) Validate ¶

func (m *AppSearch) Validate(formats strfmt.Registry) error

Validate validates this app search

type AppSearchConfiguration ¶

type AppSearchConfiguration struct {

	// A docker URI that allows overriding of the default docker image specified for this version
	DockerImage string `json:"docker_image,omitempty"`

	// system settings
	SystemSettings *AppSearchSystemSettings `json:"system_settings,omitempty"`

	// An arbitrary JSON object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_yaml' is allowed), provided the parameters are on the allowlist and not on the denylist. (This field together with 'user_settings_override*' and 'system_settings' defines the total set of AppSearch settings)
	UserSettingsJSON interface{} `json:"user_settings_json,omitempty"`

	// An arbitrary JSON object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_yaml' is allowed), ie in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of AppSearch settings)
	UserSettingsOverrideJSON interface{} `json:"user_settings_override_json,omitempty"`

	// An arbitrary YAML object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_json' is allowed), ie in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of AppSearch settings)
	UserSettingsOverrideYaml string `json:"user_settings_override_yaml,omitempty"`

	// An arbitrary YAML object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_json' is allowed), provided the parameters are on the allowlist and not on the denylist. (These field together with 'user_settings_override*' and 'system_settings' defines the total set of AppSearch settings)
	UserSettingsYaml string `json:"user_settings_yaml,omitempty"`

	// The version of the AppSearch cluster (must be one of the ECE supported versions, and won't work unless it matches the Elasticsearch version. Leave blank to auto-detect version.)
	Version string `json:"version,omitempty"`
}

AppSearchConfiguration app search configuration

swagger:model AppSearchConfiguration

func (*AppSearchConfiguration) ContextValidate ¶ added in v1.3.0

func (m *AppSearchConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search configuration based on the context it is used

func (*AppSearchConfiguration) MarshalBinary ¶

func (m *AppSearchConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchConfiguration) UnmarshalBinary ¶

func (m *AppSearchConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchConfiguration) Validate ¶

func (m *AppSearchConfiguration) Validate(formats strfmt.Registry) error

Validate validates this app search configuration

type AppSearchInfo ¶

type AppSearchInfo struct {

	// The id of the deployment that this App Search belongs to.
	DeploymentID string `json:"deployment_id,omitempty"`

	// elasticsearch cluster
	// Required: true
	ElasticsearchCluster *TargetElasticsearchCluster `json:"elasticsearch_cluster"`

	// External resources related to the App Search
	// Required: true
	// Unique: true
	ExternalLinks []*ExternalHyperlink `json:"external_links"`

	// Whether the App Search is healthy or not (one or more of the info subsections will have healthy: false)
	// Required: true
	Healthy *bool `json:"healthy"`

	// The id of the App Search
	// Required: true
	ID *string `json:"id"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`

	// metadata
	Metadata *ClusterMetadataInfo `json:"metadata,omitempty"`

	// The name of the App Search
	// Required: true
	Name *string `json:"name"`

	// plan info
	// Required: true
	PlanInfo *AppSearchPlansInfo `json:"plan_info"`

	// The region that this App Search belongs to. Only populated in SaaS or federated ECE.
	Region string `json:"region,omitempty"`

	// The cluster metadata settings for the App Search
	Settings *AppSearchSettings `json:"settings,omitempty"`

	// App Search status
	// Required: true
	// Enum: [initializing stopping stopped rebooting restarting reconfiguring started]
	Status *string `json:"status"`

	// topology
	// Required: true
	Topology *ClusterTopologyInfo `json:"topology"`
}

AppSearchInfo The overview information for the App Search Server.

swagger:model AppSearchInfo

func (*AppSearchInfo) ContextValidate ¶ added in v1.3.0

func (m *AppSearchInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search info based on the context it is used

func (*AppSearchInfo) MarshalBinary ¶

func (m *AppSearchInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchInfo) UnmarshalBinary ¶

func (m *AppSearchInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchInfo) Validate ¶

func (m *AppSearchInfo) Validate(formats strfmt.Registry) error

Validate validates this app search info

type AppSearchNodeTypes ¶

type AppSearchNodeTypes struct {

	// Defines whether this instance should run as Application/API server
	// Required: true
	Appserver *bool `json:"appserver"`

	// Defines whether this instance should run as background worker
	// Required: true
	Worker *bool `json:"worker"`
}

AppSearchNodeTypes Node types to enable for an AppSearch instance

swagger:model AppSearchNodeTypes

func (*AppSearchNodeTypes) ContextValidate ¶ added in v1.3.0

func (m *AppSearchNodeTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this app search node types based on context it is used

func (*AppSearchNodeTypes) MarshalBinary ¶

func (m *AppSearchNodeTypes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchNodeTypes) UnmarshalBinary ¶

func (m *AppSearchNodeTypes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchNodeTypes) Validate ¶

func (m *AppSearchNodeTypes) Validate(formats strfmt.Registry) error

Validate validates this app search node types

type AppSearchPayload ¶

type AppSearchPayload struct {

	// The human readable name for the AppSearch cluster (default: takes the name of its Elasticsearch cluster)
	DisplayName string `json:"display_name,omitempty"`

	// Alias to the Elasticsearch Cluster to attach AppSearch to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// plan
	// Required: true
	Plan *AppSearchPlan `json:"plan"`

	// A locally-unique user-specified id for AppSearch
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`

	// The settings for building this AppSearch cluster
	Settings *AppSearchSettings `json:"settings,omitempty"`
}

AppSearchPayload An AppSearch creation request paired with the alias of the Elasticsearch cluster it should be paired with

swagger:model AppSearchPayload

func (*AppSearchPayload) ContextValidate ¶ added in v1.3.0

func (m *AppSearchPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search payload based on the context it is used

func (*AppSearchPayload) MarshalBinary ¶

func (m *AppSearchPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchPayload) UnmarshalBinary ¶

func (m *AppSearchPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchPayload) Validate ¶

func (m *AppSearchPayload) Validate(formats strfmt.Registry) error

Validate validates this app search payload

type AppSearchPlan ¶

type AppSearchPlan struct {

	// appsearch
	// Required: true
	Appsearch *AppSearchConfiguration `json:"appsearch"`

	// cluster topology
	ClusterTopology []*AppSearchTopologyElement `json:"cluster_topology"`

	// transient
	Transient *TransientAppSearchPlanConfiguration `json:"transient,omitempty"`
}

AppSearchPlan The plan for the App Search cluster.

swagger:model AppSearchPlan

func (*AppSearchPlan) ContextValidate ¶ added in v1.3.0

func (m *AppSearchPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search plan based on the context it is used

func (*AppSearchPlan) MarshalBinary ¶

func (m *AppSearchPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchPlan) UnmarshalBinary ¶

func (m *AppSearchPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchPlan) Validate ¶

func (m *AppSearchPlan) Validate(formats strfmt.Registry) error

Validate validates this app search plan

type AppSearchPlanControlConfiguration ¶

type AppSearchPlanControlConfiguration struct {

	// This timeout determines how long to give a cluster after it responds to API calls before performing actual operations on it. It defaults to 5s
	CalmWaitTime int64 `json:"calm_wait_time,omitempty"`

	// Set to 'forced' to force a reboot as part of the upgrade plan
	// Enum: [forced]
	ClusterReboot string `json:"cluster_reboot,omitempty"`

	// If true (default false), does not clear the maintenance flag (which prevents its API from being accessed except by the constructor) on new instances added until after a snapshot has been restored, otherwise, the maintenance flag is cleared once the new instances successfully join the new cluster
	ExtendedMaintenance *bool `json:"extended_maintenance,omitempty"`

	// move allocators
	MoveAllocators []*AllocatorMoveRequest `json:"move_allocators"`

	// move instances
	MoveInstances []*InstanceMoveRequest `json:"move_instances"`

	// If false (the default), the plan fails if it determines that the request can result in unsafe operations. Setting this flag overrides some of these check restraints.
	OverrideFailsafe *bool `json:"override_failsafe,omitempty"`

	// Map containing allocators tags in form of key value pairs, increasing the likelihood during move requests for allocators with matching tags, to be selected as target allocators
	PreferredAllocatorTags map[string]string `json:"preferred_allocator_tags,omitempty"`

	// List of allocators on which instances are placed if possible (if not possible/not specified then any available allocator with space is used)
	PreferredAllocators []string `json:"preferred_allocators"`

	// If true (default: false) does not allow re-using any existing instances currently in the cluster, ie even unchanged instances will be re-created
	ReallocateInstances *bool `json:"reallocate_instances,omitempty"`

	// The total timeout in seconds after which the plan is cancelled even if it is not complete. Defaults to 4x the max memory capacity per node (in MB)
	Timeout int64 `json:"timeout,omitempty"`
}

AppSearchPlanControlConfiguration app search plan control configuration

swagger:model AppSearchPlanControlConfiguration

func (*AppSearchPlanControlConfiguration) ContextValidate ¶ added in v1.3.0

func (m *AppSearchPlanControlConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search plan control configuration based on the context it is used

func (*AppSearchPlanControlConfiguration) MarshalBinary ¶

func (m *AppSearchPlanControlConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchPlanControlConfiguration) UnmarshalBinary ¶

func (m *AppSearchPlanControlConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchPlanControlConfiguration) Validate ¶

Validate validates this app search plan control configuration

type AppSearchPlanInfo ¶

type AppSearchPlanInfo struct {

	// If this plan completed or failed (ie is not pending), when the attempt ended (ISO format in UTC)
	// Format: date-time
	AttemptEndTime strfmt.DateTime `json:"attempt_end_time,omitempty"`

	// When this plan attempt (ie to apply the plan to the App Search) started (ISO format in UTC)
	// Format: date-time
	AttemptStartTime strfmt.DateTime `json:"attempt_start_time,omitempty"`

	// error
	Error *ClusterPlanAttemptError `json:"error,omitempty"`

	// Either the plan ended successfully, or is not yet completed (and no errors have occurred)
	// Required: true
	Healthy *bool `json:"healthy"`

	// plan
	Plan *AppSearchPlan `json:"plan,omitempty"`

	// A UUID for each plan attempt
	PlanAttemptID string `json:"plan_attempt_id,omitempty"`

	// plan attempt log
	// Required: true
	PlanAttemptLog []*ClusterPlanStepInfo `json:"plan_attempt_log"`

	// A human readable name for each plan attempt, only populated when retrieving plan histories
	PlanAttemptName string `json:"plan_attempt_name,omitempty"`

	// If this plan is not current or pending, when the plan was no longer active (ISO format in UTC)
	// Format: date-time
	PlanEndTime strfmt.DateTime `json:"plan_end_time,omitempty"`

	// Information describing the source that facilitated the plans current state
	Source *ChangeSourceInfo `json:"source,omitempty"`

	// warnings
	// Required: true
	Warnings []*ClusterPlanWarning `json:"warnings"`
}

AppSearchPlanInfo Information about the App Search Server plan.

swagger:model AppSearchPlanInfo

func (*AppSearchPlanInfo) ContextValidate ¶ added in v1.3.0

func (m *AppSearchPlanInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search plan info based on the context it is used

func (*AppSearchPlanInfo) MarshalBinary ¶

func (m *AppSearchPlanInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchPlanInfo) UnmarshalBinary ¶

func (m *AppSearchPlanInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchPlanInfo) Validate ¶

func (m *AppSearchPlanInfo) Validate(formats strfmt.Registry) error

Validate validates this app search plan info

type AppSearchPlansInfo ¶

type AppSearchPlansInfo struct {

	// current
	Current *AppSearchPlanInfo `json:"current,omitempty"`

	// Whether the plan situation is healthy (if unhealthy, means the last plan attempt failed)
	// Required: true
	Healthy *bool `json:"healthy"`

	// history
	// Required: true
	History []*AppSearchPlanInfo `json:"history"`

	// pending
	Pending *AppSearchPlanInfo `json:"pending,omitempty"`
}

AppSearchPlansInfo Information about current, pending, and past App Search Server plans.

swagger:model AppSearchPlansInfo

func (*AppSearchPlansInfo) ContextValidate ¶ added in v1.3.0

func (m *AppSearchPlansInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search plans info based on the context it is used

func (*AppSearchPlansInfo) MarshalBinary ¶

func (m *AppSearchPlansInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchPlansInfo) UnmarshalBinary ¶

func (m *AppSearchPlansInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchPlansInfo) Validate ¶

func (m *AppSearchPlansInfo) Validate(formats strfmt.Registry) error

Validate validates this app search plans info

type AppSearchResourceInfo ¶

type AppSearchResourceInfo struct {

	// The Elasticsearch cluster that this resource depends on.
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// The randomly-generated id of a Resource
	// Required: true
	ID *string `json:"id"`

	// Info for the resource.
	// Required: true
	Info *AppSearchInfo `json:"info"`

	// The locally-unique user-specified id of a Resource
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`
}

AppSearchResourceInfo Describes an App Search resource belonging to a Deployment

swagger:model AppSearchResourceInfo

func (*AppSearchResourceInfo) ContextValidate ¶ added in v1.3.0

func (m *AppSearchResourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search resource info based on the context it is used

func (*AppSearchResourceInfo) MarshalBinary ¶

func (m *AppSearchResourceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchResourceInfo) UnmarshalBinary ¶

func (m *AppSearchResourceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchResourceInfo) Validate ¶

func (m *AppSearchResourceInfo) Validate(formats strfmt.Registry) error

Validate validates this app search resource info

type AppSearchSettings ¶

type AppSearchSettings struct {

	// metadata
	Metadata *ClusterMetadataSettings `json:"metadata,omitempty"`
}

AppSearchSettings The settings for the App Search.

swagger:model AppSearchSettings

func (*AppSearchSettings) ContextValidate ¶ added in v1.3.0

func (m *AppSearchSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search settings based on the context it is used

func (*AppSearchSettings) MarshalBinary ¶

func (m *AppSearchSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchSettings) UnmarshalBinary ¶

func (m *AppSearchSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchSettings) Validate ¶

func (m *AppSearchSettings) Validate(formats strfmt.Registry) error

Validate validates this app search settings

type AppSearchSubInfo ¶

type AppSearchSubInfo struct {

	// The App Search Id
	// Required: true
	AppSearchID *string `json:"app_search_id"`

	// Whether the associated App Search is currently available
	// Required: true
	Enabled *bool `json:"enabled"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`
}

AppSearchSubInfo Information about the APM Servers associated with the Elasticsearch cluster.

swagger:model AppSearchSubInfo

func (*AppSearchSubInfo) ContextValidate ¶ added in v1.3.0

func (m *AppSearchSubInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search sub info based on the context it is used

func (*AppSearchSubInfo) MarshalBinary ¶

func (m *AppSearchSubInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchSubInfo) UnmarshalBinary ¶

func (m *AppSearchSubInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchSubInfo) Validate ¶

func (m *AppSearchSubInfo) Validate(formats strfmt.Registry) error

Validate validates this app search sub info

type AppSearchSystemSettings ¶

type AppSearchSystemSettings struct {

	// Optionally override the account within App Search - defaults to a system account that always exists (if specified, the username must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchPassword string `json:"elasticsearch_password,omitempty"`

	// Optionally override the URL to which to send data (for advanced users only, if unspecified the system selects an internal URL)
	ElasticsearchURL string `json:"elasticsearch_url,omitempty"`

	// Optionally override the account within App Search - defaults to a system account that always exists (if specified, the password must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchUsername string `json:"elasticsearch_username,omitempty"`

	// Optionally override the secret session key within App Search - defaults to the previously existing secretSession. Note that this field is never returned from the API, it is write only.
	SecretSessionKey string `json:"secret_session_key,omitempty"`
}

AppSearchSystemSettings This structure defines a curated subset of the AppSearch settings. (This field together with 'user_settings_override*' and 'user_settings*' defines the total set of AppSearch settings)

swagger:model AppSearchSystemSettings

func (*AppSearchSystemSettings) ContextValidate ¶ added in v1.3.0

func (m *AppSearchSystemSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this app search system settings based on context it is used

func (*AppSearchSystemSettings) MarshalBinary ¶

func (m *AppSearchSystemSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchSystemSettings) UnmarshalBinary ¶

func (m *AppSearchSystemSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchSystemSettings) Validate ¶

func (m *AppSearchSystemSettings) Validate(formats strfmt.Registry) error

Validate validates this app search system settings

type AppSearchTopologyElement ¶

type AppSearchTopologyElement struct {

	// appsearch
	Appsearch *AppSearchConfiguration `json:"appsearch,omitempty"`

	// Controls the allocation of this topology element as well as allowed sizes and node_types. It needs to match the id of an existing instance configuration.
	InstanceConfigurationID string `json:"instance_configuration_id,omitempty"`

	// The version of the Instance Configuration Id. If it is unset, the meaning depends on read vs writes. For deployment reads, it is equivalent to version 0 (or the IC is unversioned); for deployment creates and deployment template use, it is equivalent to 'the latest version'; and for deployment updates, it is equivalent to 'retain the current version'.
	InstanceConfigurationVersion *int32 `json:"instance_configuration_version,omitempty"`

	// Defines the AppSearch node type
	NodeType *AppSearchNodeTypes `json:"node_type,omitempty"`

	// size
	Size *TopologySize `json:"size,omitempty"`

	// number of zones in which nodes will be placed
	ZoneCount int32 `json:"zone_count,omitempty"`
}

AppSearchTopologyElement Defines the topology of the AppSearch nodes (eg number/capacity of nodes, and where they can be allocated)

swagger:model AppSearchTopologyElement

func (*AppSearchTopologyElement) ContextValidate ¶ added in v1.3.0

func (m *AppSearchTopologyElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app search topology element based on the context it is used

func (*AppSearchTopologyElement) MarshalBinary ¶

func (m *AppSearchTopologyElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppSearchTopologyElement) UnmarshalBinary ¶

func (m *AppSearchTopologyElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppSearchTopologyElement) Validate ¶

func (m *AppSearchTopologyElement) Validate(formats strfmt.Registry) error

Validate validates this app search topology element

type AuthenticationInfo ¶

type AuthenticationInfo struct {

	// Deprecated: The UTC time when elevated permissions will expire, if the user has elevated permissions
	// Format: date-time
	ElevatedPermissionsExpireAt strfmt.DateTime `json:"elevated_permissions_expire_at,omitempty"`

	// The UTC time when current authentication will expire. Applies to only token based authentication
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expires_at,omitempty"`

	// Deprecated: True if the user has elevated permissions
	// Required: true
	HasElevatedPermissions *bool `json:"has_elevated_permissions"`

	// Deprecated: True if the user has an available TOTP device
	HasTotpDevice *bool `json:"has_totp_device,omitempty"`

	// The API to be used when refreshing the current user's JWT
	// Required: true
	RefreshTokenURL *string `json:"refresh_token_url"`

	// Deprecated: The TOTP device source
	TotpDeviceSource string `json:"totp_device_source,omitempty"`

	// Deprecated: URL for configuring an MFA TOTP device.  Does not apply when totp_device_source is 'native'.
	TotpDeviceSourceEnableMfaHref string `json:"totp_device_source_enable_mfa_href,omitempty"`
}

AuthenticationInfo A user's authentication info

swagger:model AuthenticationInfo

func (*AuthenticationInfo) ContextValidate ¶ added in v1.3.0

func (m *AuthenticationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this authentication info based on context it is used

func (*AuthenticationInfo) MarshalBinary ¶

func (m *AuthenticationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthenticationInfo) UnmarshalBinary ¶

func (m *AuthenticationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthenticationInfo) Validate ¶

func (m *AuthenticationInfo) Validate(formats strfmt.Registry) error

Validate validates this authentication info

type AutodetectStrategyConfig ¶

type AutodetectStrategyConfig interface{}

AutodetectStrategyConfig A strategy that lets constructor choose the most optimal way to execute the plan.

swagger:model AutodetectStrategyConfig

type AvailableAuthenticationMethods ¶

type AvailableAuthenticationMethods struct {

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field is no longer used and will always be false.
	//
	//
	// Required: true
	Openid *bool `json:"openid"`

	// Indicates that username and password authentication is available.
	// Required: true
	Password *bool `json:"password"`

	// Indicates that SAML single sign-on authentication is available.
	// Required: true
	Saml *bool `json:"saml"`

	// Lists details for the available single sign-on methods.
	// Required: true
	SsoMethods []*SsoAuthenticationMethodInfo `json:"sso_methods"`
}

AvailableAuthenticationMethods Specifies the authentication methods that are enabled on the Elasticsearch cluster. NOTE: When all fields are `false`, only the Platform admin and Platform viewer are available.

swagger:model AvailableAuthenticationMethods

func (*AvailableAuthenticationMethods) ContextValidate ¶ added in v1.3.0

func (m *AvailableAuthenticationMethods) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this available authentication methods based on the context it is used

func (*AvailableAuthenticationMethods) MarshalBinary ¶

func (m *AvailableAuthenticationMethods) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AvailableAuthenticationMethods) UnmarshalBinary ¶

func (m *AvailableAuthenticationMethods) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AvailableAuthenticationMethods) Validate ¶

func (m *AvailableAuthenticationMethods) Validate(formats strfmt.Registry) error

Validate validates this available authentication methods

type Balance ¶ added in v1.5.0

type Balance struct {

	// Available balance
	// Required: true
	Available *float64 `json:"available"`

	// A collection of order line items for for an organization
	// Required: true
	LineItems []*SimplifiedLineItem `json:"line_items"`

	// Remaining balance
	// Required: true
	Remaining *float64 `json:"remaining"`
}

Balance The available balance for an organization

swagger:model Balance

func (*Balance) ContextValidate ¶ added in v1.5.0

func (m *Balance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this balance based on the context it is used

func (*Balance) MarshalBinary ¶ added in v1.5.0

func (m *Balance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Balance) UnmarshalBinary ¶ added in v1.5.0

func (m *Balance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Balance) Validate ¶ added in v1.5.0

func (m *Balance) Validate(formats strfmt.Registry) error

Validate validates this balance

type BasicFailedReply ¶

type BasicFailedReply struct {

	// A list of errors that occurred in the failing request
	// Required: true
	Errors []*BasicFailedReplyElement `json:"errors"`
}

BasicFailedReply basic failed reply

swagger:model BasicFailedReply

func (*BasicFailedReply) ContextValidate ¶ added in v1.3.0

func (m *BasicFailedReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this basic failed reply based on the context it is used

func (*BasicFailedReply) MarshalBinary ¶

func (m *BasicFailedReply) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BasicFailedReply) UnmarshalBinary ¶

func (m *BasicFailedReply) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BasicFailedReply) Validate ¶

func (m *BasicFailedReply) Validate(formats strfmt.Registry) error

Validate validates this basic failed reply

type BasicFailedReplyElement ¶

type BasicFailedReplyElement struct {

	// A structured code representing the error type that occurred
	// Required: true
	Code *string `json:"code"`

	// If the error can be tied to a specific field or fields in the user request, this lists those fields
	Fields []string `json:"fields"`

	// A human readable message describing the error that occurred
	// Required: true
	Message *string `json:"message"`
}

BasicFailedReplyElement basic failed reply element

swagger:model BasicFailedReplyElement

func (*BasicFailedReplyElement) ContextValidate ¶ added in v1.3.0

func (m *BasicFailedReplyElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this basic failed reply element based on context it is used

func (*BasicFailedReplyElement) MarshalBinary ¶

func (m *BasicFailedReplyElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BasicFailedReplyElement) UnmarshalBinary ¶

func (m *BasicFailedReplyElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BasicFailedReplyElement) Validate ¶

func (m *BasicFailedReplyElement) Validate(formats strfmt.Registry) error

Validate validates this basic failed reply element

type Blessing ¶

type Blessing struct {

	// Whether something is blessed or not
	// Required: true
	Value *bool `json:"value"`
}

Blessing Whether something is blessed or not

swagger:model Blessing

func (*Blessing) ContextValidate ¶ added in v1.3.0

func (m *Blessing) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this blessing based on context it is used

func (*Blessing) MarshalBinary ¶

func (m *Blessing) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Blessing) UnmarshalBinary ¶

func (m *Blessing) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Blessing) Validate ¶

func (m *Blessing) Validate(formats strfmt.Registry) error

Validate validates this blessing

type Blessings ¶

type Blessings struct {

	// A mapping of Runner Ids to whether or not they are blessed to run the associated role
	// Required: true
	RunnerIdsToBlessing map[string]Blessing `json:"runner_ids_to_blessing"`
}

Blessings Describes whether certain runners are blessed to run a Role.

swagger:model Blessings

func (*Blessings) ContextValidate ¶ added in v1.3.0

func (m *Blessings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blessings based on the context it is used

func (*Blessings) MarshalBinary ¶

func (m *Blessings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Blessings) UnmarshalBinary ¶

func (m *Blessings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Blessings) Validate ¶

func (m *Blessings) Validate(formats strfmt.Registry) error

Validate validates this blessings

type BlessingsWithMeta ¶

type BlessingsWithMeta struct {

	// The metadata
	// Required: true
	Meta *Metadata `json:"meta"`

	// The blessings
	// Required: true
	Value *Blessings `json:"value"`
}

BlessingsWithMeta Persisted Blessings along with metadata

swagger:model BlessingsWithMeta

func (*BlessingsWithMeta) ContextValidate ¶ added in v1.3.0

func (m *BlessingsWithMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this blessings with meta based on the context it is used

func (*BlessingsWithMeta) MarshalBinary ¶

func (m *BlessingsWithMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BlessingsWithMeta) UnmarshalBinary ¶

func (m *BlessingsWithMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BlessingsWithMeta) Validate ¶

func (m *BlessingsWithMeta) Validate(formats strfmt.Registry) error

Validate validates this blessings with meta

type BoolQuery ¶

type BoolQuery struct {

	// filter
	Filter []*QueryContainer `json:"filter,omitempty"`

	// The minimum number of optional should clauses to match.
	MinimumShouldMatch int32 `json:"minimum_should_match,omitempty"`

	// must
	Must []*QueryContainer `json:"must,omitempty"`

	// must not
	MustNot []*QueryContainer `json:"must_not,omitempty"`

	// should
	Should []*QueryContainer `json:"should,omitempty"`
}

BoolQuery A query for documents that match boolean combinations of other queries.

swagger:model BoolQuery

func (*BoolQuery) ContextValidate ¶ added in v1.3.0

func (m *BoolQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this bool query based on the context it is used

func (*BoolQuery) MarshalBinary ¶

func (m *BoolQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BoolQuery) UnmarshalBinary ¶

func (m *BoolQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BoolQuery) Validate ¶

func (m *BoolQuery) Validate(formats strfmt.Registry) error

Validate validates this bool query

type CapacityConstraintsResource ¶

type CapacityConstraintsResource struct {

	// Max capacity
	// Required: true
	Max *int64 `json:"max"`

	// Min capacity
	// Required: true
	Min *int64 `json:"min"`
}

CapacityConstraintsResource Specifies the maximum and minimum capacity constraints.

swagger:model CapacityConstraintsResource

func (*CapacityConstraintsResource) ContextValidate ¶ added in v1.3.0

func (m *CapacityConstraintsResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this capacity constraints resource based on context it is used

func (*CapacityConstraintsResource) MarshalBinary ¶

func (m *CapacityConstraintsResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CapacityConstraintsResource) UnmarshalBinary ¶

func (m *CapacityConstraintsResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CapacityConstraintsResource) Validate ¶

func (m *CapacityConstraintsResource) Validate(formats strfmt.Registry) error

Validate validates this capacity constraints resource

type CertificateAuthority ¶ added in v1.10.0

type CertificateAuthority struct {

	// The certificates used by this certificate authority. The active certificate is the one that has been used to sign the current certificates of the Elasticsearch instances. All others are either certificates used in the past or certificates that will be used in the future when the currently active certificate expires.
	// Required: true
	PublicCertificates []*PublicCertificate `json:"public_certificates"`

	// The trust restriction expression to use that would provide trust with the Elasticsearch nodes of this deployment
	// Required: true
	RecommendedTrustRestriction *string `json:"recommended_trust_restriction"`
}

CertificateAuthority The certificate authority used to sign the certificates of this deployment

swagger:model CertificateAuthority

func (*CertificateAuthority) ContextValidate ¶ added in v1.10.0

func (m *CertificateAuthority) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this certificate authority based on the context it is used

func (*CertificateAuthority) MarshalBinary ¶ added in v1.10.0

func (m *CertificateAuthority) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertificateAuthority) UnmarshalBinary ¶ added in v1.10.0

func (m *CertificateAuthority) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertificateAuthority) Validate ¶ added in v1.10.0

func (m *CertificateAuthority) Validate(formats strfmt.Registry) error

Validate validates this certificate authority

type CertificateMetaData ¶ added in v1.10.0

type CertificateMetaData struct {

	// Other deployments also trusting this certificate
	AlsoTrustedBy []string `json:"also_trusted_by"`

	// The fingerprint of the certificate
	// Required: true
	Fingerprint *string `json:"fingerprint"`

	// The valid from date of the certificate in UTC
	// Required: true
	// Format: date-time
	ValidFrom *strfmt.DateTime `json:"valid_from"`

	// The expiry date of the certificate in UTC
	// Required: true
	// Format: date-time
	ValidTo *strfmt.DateTime `json:"valid_to"`
}

CertificateMetaData The certificate MetaData

swagger:model CertificateMetaData

func (*CertificateMetaData) ContextValidate ¶ added in v1.10.0

func (m *CertificateMetaData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this certificate meta data based on context it is used

func (*CertificateMetaData) MarshalBinary ¶ added in v1.10.0

func (m *CertificateMetaData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CertificateMetaData) UnmarshalBinary ¶ added in v1.10.0

func (m *CertificateMetaData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CertificateMetaData) Validate ¶ added in v1.10.0

func (m *CertificateMetaData) Validate(formats strfmt.Registry) error

Validate validates this certificate meta data

type ChainStatus ¶ added in v1.6.0

type ChainStatus struct {

	// When this chain is going to expire due any of its certificates expiring (ISO format in UTC)
	// Required: true
	// Format: date-time
	ExpirationDate *strfmt.DateTime `json:"expiration_date"`

	// Information on the first certificate expiring in the chain
	// Required: true
	FirstCertificateToExpire *string `json:"first_certificate_to_expire"`
}

ChainStatus Chain expiration information

swagger:model ChainStatus

func (*ChainStatus) ContextValidate ¶ added in v1.6.0

func (m *ChainStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this chain status based on context it is used

func (*ChainStatus) MarshalBinary ¶ added in v1.6.0

func (m *ChainStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChainStatus) UnmarshalBinary ¶ added in v1.6.0

func (m *ChainStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChainStatus) Validate ¶ added in v1.6.0

func (m *ChainStatus) Validate(formats strfmt.Registry) error

Validate validates this chain status

type ChangeSourceInfo ¶

type ChangeSourceInfo struct {

	// The type of plan change that was initiated
	// Required: true
	Action *string `json:"action"`

	// The admin user that requested the change
	AdminID string `json:"admin_id,omitempty"`

	// The time the change was initiated
	// Required: true
	// Format: date-time
	Date *strfmt.DateTime `json:"date"`

	// The service where the change originated from
	// Required: true
	Facilitator *string `json:"facilitator"`

	// The host addresses of the user that originated the change
	RemoteAddresses []string `json:"remote_addresses"`

	// The user that requested the change
	UserID string `json:"user_id,omitempty"`
}

ChangeSourceInfo A container for information about the source of a change.

swagger:model ChangeSourceInfo

func (*ChangeSourceInfo) ContextValidate ¶ added in v1.3.0

func (m *ChangeSourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this change source info based on context it is used

func (*ChangeSourceInfo) MarshalBinary ¶

func (m *ChangeSourceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChangeSourceInfo) UnmarshalBinary ¶

func (m *ChangeSourceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChangeSourceInfo) Validate ¶

func (m *ChangeSourceInfo) Validate(formats strfmt.Registry) error

Validate validates this change source info

type ChartItem ¶ added in v1.10.0

type ChartItem struct {

	// Axis X position
	// Required: true
	Timestamp *int64 `json:"timestamp"`

	// the collection of values to plot the chart item
	// Required: true
	Values []*ChartItemValue `json:"values"`
}

ChartItem Chart Item

swagger:model ChartItem

func (*ChartItem) ContextValidate ¶ added in v1.10.0

func (m *ChartItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this chart item based on the context it is used

func (*ChartItem) MarshalBinary ¶ added in v1.10.0

func (m *ChartItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChartItem) UnmarshalBinary ¶ added in v1.10.0

func (m *ChartItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChartItem) Validate ¶ added in v1.10.0

func (m *ChartItem) Validate(formats strfmt.Registry) error

Validate validates this chart item

type ChartItemValue ¶ added in v1.10.0

type ChartItemValue struct {

	// The id of chart item value
	// Required: true
	ID *string `json:"id"`

	// The name of the chart item value
	// Required: true
	Name *string `json:"name"`

	// The actual value of the chart item value
	// Required: true
	Value *float64 `json:"value"`
}

ChartItemValue A ChartItem value

swagger:model ChartItemValue

func (*ChartItemValue) ContextValidate ¶ added in v1.10.0

func (m *ChartItemValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this chart item value based on context it is used

func (*ChartItemValue) MarshalBinary ¶ added in v1.10.0

func (m *ChartItemValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChartItemValue) UnmarshalBinary ¶ added in v1.10.0

func (m *ChartItemValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChartItemValue) Validate ¶ added in v1.10.0

func (m *ChartItemValue) Validate(formats strfmt.Registry) error

Validate validates this chart item value

type ChartItems ¶ added in v1.10.0

type ChartItems struct {

	// The list of chart item
	// Required: true
	Data []*ChartItem `json:"data"`
}

ChartItems A collection of ChartItems

swagger:model ChartItems

func (*ChartItems) ContextValidate ¶ added in v1.10.0

func (m *ChartItems) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this chart items based on the context it is used

func (*ChartItems) MarshalBinary ¶ added in v1.10.0

func (m *ChartItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ChartItems) UnmarshalBinary ¶ added in v1.10.0

func (m *ChartItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ChartItems) Validate ¶ added in v1.10.0

func (m *ChartItems) Validate(formats strfmt.Registry) error

Validate validates this chart items

type ClusterCredentials ¶

type ClusterCredentials struct {

	// The password of the newly created cluster
	// Required: true
	Password *string `json:"password"`

	// The username of the newly created cluster
	// Required: true
	Username *string `json:"username"`
}

ClusterCredentials The username and password for the new Elasticsearch cluster, which is returned from the Elasticsearch cluster `create` command.

swagger:model ClusterCredentials

func (*ClusterCredentials) ContextValidate ¶ added in v1.3.0

func (m *ClusterCredentials) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster credentials based on context it is used

func (*ClusterCredentials) MarshalBinary ¶

func (m *ClusterCredentials) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterCredentials) UnmarshalBinary ¶

func (m *ClusterCredentials) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterCredentials) Validate ¶

func (m *ClusterCredentials) Validate(formats strfmt.Registry) error

Validate validates this cluster credentials

type ClusterCurationSettings ¶

type ClusterCurationSettings struct {

	// Specifications for curation
	// Required: true
	Specs []*ClusterCurationSpec `json:"specs"`
}

ClusterCurationSettings The index curation settings for an Elasticsearch cluster.

swagger:model ClusterCurationSettings

func (*ClusterCurationSettings) ContextValidate ¶ added in v1.3.0

func (m *ClusterCurationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster curation settings based on the context it is used

func (*ClusterCurationSettings) MarshalBinary ¶

func (m *ClusterCurationSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterCurationSettings) UnmarshalBinary ¶

func (m *ClusterCurationSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterCurationSettings) Validate ¶

func (m *ClusterCurationSettings) Validate(formats strfmt.Registry) error

Validate validates this cluster curation settings

type ClusterCurationSpec ¶

type ClusterCurationSpec struct {

	// Index matching pattern
	// Required: true
	IndexPattern *string `json:"index_pattern"`

	// Number of seconds after index creation to trigger this spec
	// Required: true
	TriggerIntervalSeconds *int32 `json:"trigger_interval_seconds"`
}

ClusterCurationSpec Specifies the conditions to trigger an Elasticsearch cluster curation.

swagger:model ClusterCurationSpec

func (*ClusterCurationSpec) ContextValidate ¶ added in v1.3.0

func (m *ClusterCurationSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster curation spec based on context it is used

func (*ClusterCurationSpec) MarshalBinary ¶

func (m *ClusterCurationSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterCurationSpec) UnmarshalBinary ¶

func (m *ClusterCurationSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterCurationSpec) Validate ¶

func (m *ClusterCurationSpec) Validate(formats strfmt.Registry) error

Validate validates this cluster curation spec

type ClusterInstanceConfigurationInfo ¶

type ClusterInstanceConfigurationInfo struct {

	// If the IC is configuration controlled, this field is the version either being read back (reads return the latest IC unless specified by the 'config_version' URL param), or the version to update. Cannot be used in creates. For unversioned IC reads it is left empty.
	ConfigVersion int32 `json:"config_version,omitempty"`

	// The id of the configuration used to create the instance
	// Required: true
	ID *string `json:"id"`

	// The name of the configuration used to create the instance
	// Required: true
	Name *string `json:"name"`

	// The resource type of the instance configuration
	// Required: true
	// Enum: [memory storage]
	Resource *string `json:"resource"`
}

ClusterInstanceConfigurationInfo Information about a configuration that creates a Kibana instance or APM Server.

swagger:model ClusterInstanceConfigurationInfo

func (*ClusterInstanceConfigurationInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterInstanceConfigurationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster instance configuration info based on context it is used

func (*ClusterInstanceConfigurationInfo) MarshalBinary ¶

func (m *ClusterInstanceConfigurationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterInstanceConfigurationInfo) UnmarshalBinary ¶

func (m *ClusterInstanceConfigurationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterInstanceConfigurationInfo) Validate ¶

Validate validates this cluster instance configuration info

type ClusterInstanceDiskInfo ¶

type ClusterInstanceDiskInfo struct {

	// If known, the amount of total disk space available to the container in MB
	DiskSpaceAvailable int64 `json:"disk_space_available,omitempty"`

	// The amount of disk space being used by the service in MB
	// Required: true
	DiskSpaceUsed *int64 `json:"disk_space_used"`

	// The storage multiplier originally defined to calculate disk space.
	// Required: true
	StorageMultiplier *float64 `json:"storage_multiplier"`
}

ClusterInstanceDiskInfo Information about the use and storage capacity of a Kibana instance or APM Server.

swagger:model ClusterInstanceDiskInfo

func (*ClusterInstanceDiskInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterInstanceDiskInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster instance disk info based on context it is used

func (*ClusterInstanceDiskInfo) MarshalBinary ¶

func (m *ClusterInstanceDiskInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterInstanceDiskInfo) UnmarshalBinary ¶

func (m *ClusterInstanceDiskInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterInstanceDiskInfo) Validate ¶

func (m *ClusterInstanceDiskInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster instance disk info

type ClusterInstanceInfo ¶

type ClusterInstanceInfo struct {

	// The id of the allocator on which this instance is running (if the container is started or starting)
	AllocatorID string `json:"allocator_id,omitempty"`

	// Whether the container has started (does not tell you anything about the service -ie Elasticsearch- running inside the container)
	// Required: true
	ContainerStarted *bool `json:"container_started"`

	// disk
	Disk *ClusterInstanceDiskInfo `json:"disk,omitempty"`

	// Whether the instance is healthy (ie started and running)
	// Required: true
	Healthy *bool `json:"healthy"`

	// instance configuration
	InstanceConfiguration *ClusterInstanceConfigurationInfo `json:"instance_configuration,omitempty"`

	// The name of the instance in Elastic Cloud
	// Required: true
	InstanceName *string `json:"instance_name"`

	// Instance overrides
	InstanceOverrides *InstanceOverrides `json:"instance_overrides,omitempty"`

	// Whether the service is is maintenance mode (meaning that the proxy is not routing external traffic to it)
	// Required: true
	MaintenanceMode *bool `json:"maintenance_mode"`

	// memory
	Memory *ClusterInstanceMemoryInfo `json:"memory,omitempty"`

	// A list of the node roles assigned to the service running in the instance. Currently populated only for Elasticsearch.
	NodeRoles []string `json:"node_roles"`

	// List of roles assigned to the service running in the instance. Currently only populated for Elasticsearch, with possible values: master,data,ingest,ml
	ServiceRoles []string `json:"service_roles"`

	// Whether the service launched inside the container -ie Elasticsearch- is actually running
	// Required: true
	ServiceRunning *bool `json:"service_running"`

	// The version of the service that the instance is running (eg Elasticsearch or Kibana), if available
	ServiceVersion string `json:"service_version,omitempty"`

	// The zone in which this instance is being allocated
	Zone string `json:"zone,omitempty"`
}

ClusterInstanceInfo Information about each Kibana instance and APM Server in the Elasticsearch cluster.

swagger:model ClusterInstanceInfo

func (*ClusterInstanceInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterInstanceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster instance info based on the context it is used

func (*ClusterInstanceInfo) MarshalBinary ¶

func (m *ClusterInstanceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterInstanceInfo) UnmarshalBinary ¶

func (m *ClusterInstanceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterInstanceInfo) Validate ¶

func (m *ClusterInstanceInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster instance info

type ClusterInstanceMemoryInfo ¶

type ClusterInstanceMemoryInfo struct {

	// The memory capacity in MB of the instance
	// Required: true
	InstanceCapacity *int32 `json:"instance_capacity"`

	// The planned memory capacity in MB of the instance (only shown when an override is present)
	InstanceCapacityPlanned int32 `json:"instance_capacity_planned,omitempty"`

	// The % memory pressure of Elasticsearch JVM heap space if available (60-75% consider increasing capacity, >75% can incur significant performance and stability issues)
	MemoryPressure int32 `json:"memory_pressure,omitempty"`

	// The % memory pressure of the instance Docker container (if available)
	NativeMemoryPressure int32 `json:"native_memory_pressure,omitempty"`
}

ClusterInstanceMemoryInfo Information about the specific instances memory capacity and its usage

swagger:model ClusterInstanceMemoryInfo

func (*ClusterInstanceMemoryInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterInstanceMemoryInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster instance memory info based on context it is used

func (*ClusterInstanceMemoryInfo) MarshalBinary ¶

func (m *ClusterInstanceMemoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterInstanceMemoryInfo) UnmarshalBinary ¶

func (m *ClusterInstanceMemoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterInstanceMemoryInfo) Validate ¶

func (m *ClusterInstanceMemoryInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster instance memory info

type ClusterLicenseInfo ¶

type ClusterLicenseInfo struct {

	// Object containing the cluster license data
	// Required: true
	License interface{} `json:"license"`
}

ClusterLicenseInfo Information about the Elasticsearch cluster license.

swagger:model ClusterLicenseInfo

func (*ClusterLicenseInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterLicenseInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster license info based on context it is used

func (*ClusterLicenseInfo) MarshalBinary ¶

func (m *ClusterLicenseInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterLicenseInfo) UnmarshalBinary ¶

func (m *ClusterLicenseInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterLicenseInfo) Validate ¶

func (m *ClusterLicenseInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster license info

type ClusterMetadataCPUResourcesSettings ¶

type ClusterMetadataCPUResourcesSettings struct {

	// Indicates if the CPU boost flag is enabled or not.
	Boost *bool `json:"boost,omitempty"`

	// Indicates if the CPU hard limit flag is enabled or not. When set to true (default), allocates CPU timeshare based on the total CPU time multiplied by the relative RAM capacity of the instance on a given host. When set to false, delegates CPU allocation to the operating system to schedule CPU timeshares.
	HardLimit *bool `json:"hard_limit,omitempty"`
}

ClusterMetadataCPUResourcesSettings Specifies the CPU resource settings for the Elasticsearch cluster.

swagger:model ClusterMetadataCpuResourcesSettings

func (*ClusterMetadataCPUResourcesSettings) ContextValidate ¶ added in v1.3.0

func (m *ClusterMetadataCPUResourcesSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster metadata Cpu resources settings based on context it is used

func (*ClusterMetadataCPUResourcesSettings) MarshalBinary ¶

func (m *ClusterMetadataCPUResourcesSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterMetadataCPUResourcesSettings) UnmarshalBinary ¶

func (m *ClusterMetadataCPUResourcesSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterMetadataCPUResourcesSettings) Validate ¶

Validate validates this cluster metadata Cpu resources settings

type ClusterMetadataInfo ¶

type ClusterMetadataInfo struct {

	// The DNS name of the cluster endpoint derived from the deployment alias, if available
	AliasedEndpoint string `json:"aliased_endpoint,omitempty"`

	// The full aliased URL to access this deployment resource
	AliasedURL string `json:"aliased_url,omitempty"`

	// The cloud ID, an encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana (only present if both exist)
	CloudID string `json:"cloud_id,omitempty"`

	// The DNS name of the cluster endpoint, if available
	Endpoint string `json:"endpoint,omitempty"`

	// The most recent time the cluster metadata was changed (ISO format in UTC)
	// Required: true
	// Format: date-time
	LastModified *strfmt.DateTime `json:"last_modified"`

	// The ports that allow communication with the cluster using various protocols.
	Ports *ClusterMetadataPortInfo `json:"ports,omitempty"`

	// An unstructured JSON representation of the public and internal state (can be filtered out via URL parameter). The contents and structure of the `raw` field can change at any time.
	Raw interface{} `json:"raw,omitempty"`

	// The full URL to access this deployment resource
	ServiceURL string `json:"service_url,omitempty"`

	// A list of the URLs to access services that the resource provides at this time. Note that if the service is not running or has not started yet, the URL to access it won't be available
	ServicesUrls []*ServiceURL `json:"services_urls"`

	// The resource version number of the cluster metadata
	// Required: true
	Version *int32 `json:"version"`
}

ClusterMetadataInfo Information about the public and internal state, and the configuration settings of an Elasticsearch cluster.

swagger:model ClusterMetadataInfo

func (*ClusterMetadataInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterMetadataInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster metadata info based on the context it is used

func (*ClusterMetadataInfo) MarshalBinary ¶

func (m *ClusterMetadataInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterMetadataInfo) UnmarshalBinary ¶

func (m *ClusterMetadataInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterMetadataInfo) Validate ¶

func (m *ClusterMetadataInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster metadata info

type ClusterMetadataPortInfo ¶

type ClusterMetadataPortInfo struct {

	// Port where the cluster listens for HTTP traffic
	// Required: true
	HTTP *int32 `json:"http"`

	// Port where the cluster listens for HTTPS traffic
	// Required: true
	HTTPS *int32 `json:"https"`

	// Port where the cluster listens for transport traffic using TLS
	// Required: true
	TransportPassthrough *int32 `json:"transport_passthrough"`
}

ClusterMetadataPortInfo Information about the ports that allow communication between the Elasticsearch cluster and various protocols.

swagger:model ClusterMetadataPortInfo

func (*ClusterMetadataPortInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterMetadataPortInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster metadata port info based on context it is used

func (*ClusterMetadataPortInfo) MarshalBinary ¶

func (m *ClusterMetadataPortInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterMetadataPortInfo) UnmarshalBinary ¶

func (m *ClusterMetadataPortInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterMetadataPortInfo) Validate ¶

func (m *ClusterMetadataPortInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster metadata port info

type ClusterMetadataResourcesSettings ¶

type ClusterMetadataResourcesSettings struct {

	// cpu
	CPU *ClusterMetadataCPUResourcesSettings `json:"cpu,omitempty"`
}

ClusterMetadataResourcesSettings The top-level configuration settings for the Elasticsearch cluster resources.

swagger:model ClusterMetadataResourcesSettings

func (*ClusterMetadataResourcesSettings) ContextValidate ¶ added in v1.3.0

func (m *ClusterMetadataResourcesSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster metadata resources settings based on the context it is used

func (*ClusterMetadataResourcesSettings) MarshalBinary ¶

func (m *ClusterMetadataResourcesSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterMetadataResourcesSettings) UnmarshalBinary ¶

func (m *ClusterMetadataResourcesSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterMetadataResourcesSettings) Validate ¶

Validate validates this cluster metadata resources settings

type ClusterMetadataSettings ¶

type ClusterMetadataSettings struct {

	// Contact email for the cluster
	ContactEmail string `json:"contact_email,omitempty"`

	// Whether or not this cluster is hidden from the normal clusters list
	// Read Only: true
	Hidden *bool `json:"hidden,omitempty"`

	// The display name of the cluster
	Name string `json:"name,omitempty"`

	// The organization that owns the deployment
	// Read Only: true
	OrganizationID string `json:"organization_id,omitempty"`

	// The user id (referencing whatever user database is in use) of the cluster owner
	OwnerID string `json:"owner_id,omitempty"`

	// resources
	Resources *ClusterMetadataResourcesSettings `json:"resources,omitempty"`

	// Subscription level of the cluster
	SubscriptionLevel string `json:"subscription_level,omitempty"`

	// Indicates if a cluster is system owned (restricts the set of operations that can be performed on it)
	SystemOwned *bool `json:"system_owned,omitempty"`
}

ClusterMetadataSettings The top-level configuration settings for the Elasticsearch cluster.

swagger:model ClusterMetadataSettings

func (*ClusterMetadataSettings) ContextValidate ¶ added in v1.3.0

func (m *ClusterMetadataSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster metadata settings based on the context it is used

func (*ClusterMetadataSettings) MarshalBinary ¶

func (m *ClusterMetadataSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterMetadataSettings) UnmarshalBinary ¶

func (m *ClusterMetadataSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterMetadataSettings) Validate ¶

func (m *ClusterMetadataSettings) Validate(formats strfmt.Registry) error

Validate validates this cluster metadata settings

type ClusterPlanAttemptError ¶ added in v1.10.0

type ClusterPlanAttemptError struct {

	// A map with details regarding the error. Both the keys and values are always strings, representing the name of the detail and its value, respectively.
	// Required: true
	Details map[string]string `json:"details"`

	// The failure type
	FailureType string `json:"failure_type,omitempty"`

	// Human readable error message
	// Required: true
	Message *string `json:"message"`

	// Timestamp marking on info log of step
	// Required: true
	// Format: date-time
	Timestamp *strfmt.DateTime `json:"timestamp"`
}

ClusterPlanAttemptError Information about an error during a plan attempt.

swagger:model ClusterPlanAttemptError

func (*ClusterPlanAttemptError) ContextValidate ¶ added in v1.10.0

func (m *ClusterPlanAttemptError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster plan attempt error based on context it is used

func (*ClusterPlanAttemptError) MarshalBinary ¶ added in v1.10.0

func (m *ClusterPlanAttemptError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterPlanAttemptError) UnmarshalBinary ¶ added in v1.10.0

func (m *ClusterPlanAttemptError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterPlanAttemptError) Validate ¶ added in v1.10.0

func (m *ClusterPlanAttemptError) Validate(formats strfmt.Registry) error

Validate validates this cluster plan attempt error

type ClusterPlanStepInfo ¶

type ClusterPlanStepInfo struct {

	// When the step completed (ISO format in UTC)
	// Format: date-time
	Completed strfmt.DateTime `json:"completed,omitempty"`

	// The duration of the step in MS
	DurationInMillis int64 `json:"duration_in_millis,omitempty"`

	// Human readable summaries of the step, including messages for each stage of the step
	// Required: true
	InfoLog []*ClusterPlanStepLogMessageInfo `json:"info_log"`

	// Current stage that the step is in
	// Required: true
	// Enum: [starting completed in_progress]
	Stage *string `json:"stage"`

	// When the step started (ISO format in UTC)
	// Required: true
	// Format: date-time
	Started *strfmt.DateTime `json:"started"`

	// The status of the step (success, warning, error - warning means something didn't go as expected but it was not serious enough to abort the plan)
	// Required: true
	// Enum: [success warning error pending]
	Status *string `json:"status"`

	// ID of current step
	// Required: true
	StepID *string `json:"step_id"`
}

ClusterPlanStepInfo Information about a step in a plan.

swagger:model ClusterPlanStepInfo

func (*ClusterPlanStepInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterPlanStepInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster plan step info based on the context it is used

func (*ClusterPlanStepInfo) MarshalBinary ¶

func (m *ClusterPlanStepInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterPlanStepInfo) UnmarshalBinary ¶

func (m *ClusterPlanStepInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterPlanStepInfo) Validate ¶

func (m *ClusterPlanStepInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster plan step info

type ClusterPlanStepLogMessageInfo ¶

type ClusterPlanStepLogMessageInfo struct {

	// Time in milliseconds since previous log message
	DeltaInMillis int64 `json:"delta_in_millis,omitempty"`

	// A map with details for the log about what happened during the step execution. Keys and values for are always both strings, representing the name of the detail and its value, respectively.
	// Required: true
	Details map[string]string `json:"details"`

	// The failure type, in case the step failed
	FailureType string `json:"failure_type,omitempty"`

	// A json object with sensitive details for the log, visible only to admins. May contain nested json objects.
	InternalDetails map[string]string `json:"internal_details,omitempty"`

	// Human readable log message
	// Required: true
	Message *string `json:"message"`

	// Stage that info log message takes place in
	// Required: true
	// Enum: [starting completed in_progress]
	Stage *string `json:"stage"`

	// Timestamp marking on info log of step
	// Required: true
	// Format: date-time
	Timestamp *strfmt.DateTime `json:"timestamp"`
}

ClusterPlanStepLogMessageInfo The log message from a specified stage of an executed step in a plan.

swagger:model ClusterPlanStepLogMessageInfo

func (*ClusterPlanStepLogMessageInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterPlanStepLogMessageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster plan step log message info based on context it is used

func (*ClusterPlanStepLogMessageInfo) MarshalBinary ¶

func (m *ClusterPlanStepLogMessageInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterPlanStepLogMessageInfo) UnmarshalBinary ¶

func (m *ClusterPlanStepLogMessageInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterPlanStepLogMessageInfo) Validate ¶

func (m *ClusterPlanStepLogMessageInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster plan step log message info

type ClusterPlanWarning ¶ added in v1.7.0

type ClusterPlanWarning struct {

	// A unique warning code
	// Required: true
	Code *string `json:"code"`

	// A description of the warning
	// Required: true
	Message *string `json:"message"`

	// The ID of the step which produced a warning, if any
	StepID string `json:"step_id,omitempty"`
}

ClusterPlanWarning Information about a warning from a plan.

swagger:model ClusterPlanWarning

func (*ClusterPlanWarning) ContextValidate ¶ added in v1.7.0

func (m *ClusterPlanWarning) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster plan warning based on context it is used

func (*ClusterPlanWarning) MarshalBinary ¶ added in v1.7.0

func (m *ClusterPlanWarning) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterPlanWarning) UnmarshalBinary ¶ added in v1.7.0

func (m *ClusterPlanWarning) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterPlanWarning) Validate ¶ added in v1.7.0

func (m *ClusterPlanWarning) Validate(formats strfmt.Registry) error

Validate validates this cluster plan warning

type ClusterSnapshotRepositoryDefault ¶

type ClusterSnapshotRepositoryDefault interface{}

ClusterSnapshotRepositoryDefault The default object for the Elasticsearch cluster snapshot repository.

swagger:model ClusterSnapshotRepositoryDefault

type ClusterSnapshotRepositoryInfo ¶

type ClusterSnapshotRepositoryInfo struct {

	// Cluster snapshot default repository settings
	Default ClusterSnapshotRepositoryDefault `json:"default,omitempty"`

	// Cluster snapshot reference repository settings, containing the repository name in ECE fashion
	Reference *ClusterSnapshotRepositoryReference `json:"reference,omitempty"`

	// Cluster snapshot static repository settings, containing repository type and settings
	Static *ClusterSnapshotRepositoryStatic `json:"static,omitempty"`
}

ClusterSnapshotRepositoryInfo Information about the Elasticsearch cluster snapshot repository.

swagger:model ClusterSnapshotRepositoryInfo

func (*ClusterSnapshotRepositoryInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterSnapshotRepositoryInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster snapshot repository info based on the context it is used

func (*ClusterSnapshotRepositoryInfo) MarshalBinary ¶

func (m *ClusterSnapshotRepositoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterSnapshotRepositoryInfo) UnmarshalBinary ¶

func (m *ClusterSnapshotRepositoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterSnapshotRepositoryInfo) Validate ¶

func (m *ClusterSnapshotRepositoryInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster snapshot repository info

type ClusterSnapshotRepositoryReference ¶

type ClusterSnapshotRepositoryReference struct {

	// ECE snapshot repository name, from the '/platform/configuration/snapshots/repositories' endpoint
	RepositoryName string `json:"repository_name,omitempty"`
}

ClusterSnapshotRepositoryReference The reference object for the Elasticsearch cluster snapshot repository.

swagger:model ClusterSnapshotRepositoryReference

func (*ClusterSnapshotRepositoryReference) ContextValidate ¶ added in v1.3.0

func (m *ClusterSnapshotRepositoryReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster snapshot repository reference based on context it is used

func (*ClusterSnapshotRepositoryReference) MarshalBinary ¶

func (m *ClusterSnapshotRepositoryReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterSnapshotRepositoryReference) UnmarshalBinary ¶

func (m *ClusterSnapshotRepositoryReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterSnapshotRepositoryReference) Validate ¶

Validate validates this cluster snapshot repository reference

type ClusterSnapshotRepositoryStatic ¶

type ClusterSnapshotRepositoryStatic struct {

	// Type of snapshot repository, ie: S3
	RepositoryType string `json:"repository_type,omitempty"`

	// Settings associated with snapshot repository
	Settings interface{} `json:"settings,omitempty"`
}

ClusterSnapshotRepositoryStatic The static object for the Elasticsearch cluster snapshot repository.

swagger:model ClusterSnapshotRepositoryStatic

func (*ClusterSnapshotRepositoryStatic) ContextValidate ¶ added in v1.3.0

func (m *ClusterSnapshotRepositoryStatic) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster snapshot repository static based on context it is used

func (*ClusterSnapshotRepositoryStatic) MarshalBinary ¶

func (m *ClusterSnapshotRepositoryStatic) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterSnapshotRepositoryStatic) UnmarshalBinary ¶

func (m *ClusterSnapshotRepositoryStatic) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterSnapshotRepositoryStatic) Validate ¶

Validate validates this cluster snapshot repository static

type ClusterSnapshotRetention ¶

type ClusterSnapshotRetention struct {

	// Total retention period for all snapshots, with the format 'length unit' (space is optional), where unit can be one of: d (day), h (hour), min (minute)
	MaxAge string `json:"max_age,omitempty"`

	// Number of snapshots to retain
	Snapshots int32 `json:"snapshots,omitempty"`
}

ClusterSnapshotRetention Information about the Elasticsearch cluster snapshot retention.

swagger:model ClusterSnapshotRetention

func (*ClusterSnapshotRetention) ContextValidate ¶ added in v1.3.0

func (m *ClusterSnapshotRetention) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster snapshot retention based on context it is used

func (*ClusterSnapshotRetention) MarshalBinary ¶

func (m *ClusterSnapshotRetention) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterSnapshotRetention) UnmarshalBinary ¶

func (m *ClusterSnapshotRetention) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterSnapshotRetention) Validate ¶

func (m *ClusterSnapshotRetention) Validate(formats strfmt.Registry) error

Validate validates this cluster snapshot retention

type ClusterSnapshotSettings ¶

type ClusterSnapshotSettings struct {

	// Cron expression indicating when should snapshots be taken. This can be enabled only if SLM is enabled for the deployment and 'interval' is not present
	CronExpression string `json:"cron_expression,omitempty"`

	// Indicates if Snapshotting is enabled
	Enabled *bool `json:"enabled,omitempty"`

	// Interval between snapshots, with the format 'length unit' (space is optional), where unit can be one of: d (day), h (hour), min (minute). Default is 30 minutes
	Interval string `json:"interval,omitempty"`

	// Interval between snapshot progress checks, with the format 'length unit' (space is optional), where unit can be one of: d (day), h (hour), min (minute). Default is 1 minute
	PendingInterval string `json:"pending_interval,omitempty"`

	// Snapshot repository configuration
	Repository *ClusterSnapshotRepositoryInfo `json:"repository,omitempty"`

	// Cluster snapshot retention information
	Retention *ClusterSnapshotRetention `json:"retention,omitempty"`

	// When set to true, the deployment will have SLM enabled. Default value is true.
	// Read Only: true
	Slm *bool `json:"slm,omitempty"`

	// List of temporary snapshot suspensions
	Suspended []string `json:"suspended"`

	// The time to wait between snapshot phases (snapshot, purge), with the format 'length unit' (space is optional), where unit can be one of: d (day), h (hour), min (minute). Default is 10 minutes
	WaitTimeAfterSnapshotting string `json:"wait_time_after_snapshotting,omitempty"`
}

ClusterSnapshotSettings The snapshot configuration settings for an Elasticsearch cluster.

swagger:model ClusterSnapshotSettings

func (*ClusterSnapshotSettings) ContextValidate ¶ added in v1.3.0

func (m *ClusterSnapshotSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster snapshot settings based on the context it is used

func (*ClusterSnapshotSettings) MarshalBinary ¶

func (m *ClusterSnapshotSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterSnapshotSettings) UnmarshalBinary ¶

func (m *ClusterSnapshotSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterSnapshotSettings) Validate ¶

func (m *ClusterSnapshotSettings) Validate(formats strfmt.Registry) error

Validate validates this cluster snapshot settings

type ClusterSystemAlert ¶

type ClusterSystemAlert struct {

	// Type of system alert
	// Required: true
	// Enum: [automatic_restart heap_dump unknown_event]
	AlertType *string `json:"alert_type"`

	// The exit_code related to the event. Only applicable for alert_type: slain
	ExitCode int32 `json:"exit_code,omitempty"`

	// Instance that caused the system alert
	// Required: true
	InstanceName *string `json:"instance_name"`

	// Timestamp marking the system alert
	// Required: true
	// Format: date-time
	Timestamp *strfmt.DateTime `json:"timestamp"`

	// The URL related to the event. Only applicable for alert_type: heap_dump
	URL string `json:"url,omitempty"`
}

ClusterSystemAlert Information about a system alert on an Elasticsearch cluster.

swagger:model ClusterSystemAlert

func (*ClusterSystemAlert) ContextValidate ¶ added in v1.3.0

func (m *ClusterSystemAlert) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cluster system alert based on context it is used

func (*ClusterSystemAlert) MarshalBinary ¶

func (m *ClusterSystemAlert) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterSystemAlert) UnmarshalBinary ¶

func (m *ClusterSystemAlert) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterSystemAlert) Validate ¶

func (m *ClusterSystemAlert) Validate(formats strfmt.Registry) error

Validate validates this cluster system alert

type ClusterTopologyInfo ¶

type ClusterTopologyInfo struct {

	// Whether the cluster topology is healthy (ie all instances are started and the services they run - ie elasticsearch - are available
	// Required: true
	Healthy *bool `json:"healthy"`

	// instances
	// Required: true
	Instances []*ClusterInstanceInfo `json:"instances"`
}

ClusterTopologyInfo The topology for Elasticsearch clusters, multiple Kibana instances, or multiple APM Servers. The `ClusterTopologyInfo` also includes the instances and containers, and where they are located.

swagger:model ClusterTopologyInfo

func (*ClusterTopologyInfo) ContextValidate ¶ added in v1.3.0

func (m *ClusterTopologyInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cluster topology info based on the context it is used

func (*ClusterTopologyInfo) MarshalBinary ¶

func (m *ClusterTopologyInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ClusterTopologyInfo) UnmarshalBinary ¶

func (m *ClusterTopologyInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ClusterTopologyInfo) Validate ¶

func (m *ClusterTopologyInfo) Validate(formats strfmt.Registry) error

Validate validates this cluster topology info

type Comment ¶

type Comment struct {

	// The id of this Comment
	// Required: true
	ID *string `json:"id"`

	// The message content of this Comment
	// Required: true
	Message *string `json:"message"`

	// The user id of the user who wrote this Comment
	// Required: true
	UserID *string `json:"user_id"`
}

Comment A persisted Comment

swagger:model Comment

func (*Comment) ContextValidate ¶ added in v1.3.0

func (m *Comment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this comment based on context it is used

func (*Comment) MarshalBinary ¶

func (m *Comment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Comment) UnmarshalBinary ¶

func (m *Comment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Comment) Validate ¶

func (m *Comment) Validate(formats strfmt.Registry) error

Validate validates this comment

type CommentCreateRequest ¶

type CommentCreateRequest struct {

	// The message for the Comment.
	// Required: true
	Message *string `json:"message"`
}

CommentCreateRequest A request for creating a new Comment

swagger:model CommentCreateRequest

func (*CommentCreateRequest) ContextValidate ¶ added in v1.3.0

func (m *CommentCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this comment create request based on context it is used

func (*CommentCreateRequest) MarshalBinary ¶

func (m *CommentCreateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommentCreateRequest) UnmarshalBinary ¶

func (m *CommentCreateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommentCreateRequest) Validate ¶

func (m *CommentCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this comment create request

type CommentUpdateRequest ¶

type CommentUpdateRequest struct {

	// The message for the Comment.
	// Required: true
	Message *string `json:"message"`
}

CommentUpdateRequest A request for updating an existing Comment

swagger:model CommentUpdateRequest

func (*CommentUpdateRequest) ContextValidate ¶ added in v1.3.0

func (m *CommentUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this comment update request based on context it is used

func (*CommentUpdateRequest) MarshalBinary ¶

func (m *CommentUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommentUpdateRequest) UnmarshalBinary ¶

func (m *CommentUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommentUpdateRequest) Validate ¶

func (m *CommentUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this comment update request

type CommentWithMeta ¶

type CommentWithMeta struct {

	// The comment
	// Required: true
	Comment *Comment `json:"comment"`

	// The metadata
	// Required: true
	Metadata *Metadata `json:"metadata"`
}

CommentWithMeta A persisted Comment along with its metadata

swagger:model CommentWithMeta

func (*CommentWithMeta) ContextValidate ¶ added in v1.3.0

func (m *CommentWithMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this comment with meta based on the context it is used

func (*CommentWithMeta) MarshalBinary ¶

func (m *CommentWithMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommentWithMeta) UnmarshalBinary ¶

func (m *CommentWithMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommentWithMeta) Validate ¶

func (m *CommentWithMeta) Validate(formats strfmt.Registry) error

Validate validates this comment with meta

type CommentsWithMetas ¶

type CommentsWithMetas struct {

	// The list of comments
	// Required: true
	Values []*CommentWithMeta `json:"values"`
}

CommentsWithMetas A list of persisted Comments

swagger:model CommentsWithMetas

func (*CommentsWithMetas) ContextValidate ¶ added in v1.3.0

func (m *CommentsWithMetas) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this comments with metas based on the context it is used

func (*CommentsWithMetas) MarshalBinary ¶

func (m *CommentsWithMetas) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommentsWithMetas) UnmarshalBinary ¶

func (m *CommentsWithMetas) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommentsWithMetas) Validate ¶

func (m *CommentsWithMetas) Validate(formats strfmt.Registry) error

Validate validates this comments with metas

type CommonClusterPlanInfo ¶ added in v1.10.0

type CommonClusterPlanInfo struct {

	// attempt end time
	// Format: date-time
	AttemptEndTime strfmt.DateTime `json:"attempt_end_time,omitempty"`

	// attempt start time
	// Format: date-time
	AttemptStartTime strfmt.DateTime `json:"attempt_start_time,omitempty"`

	// error
	Error *ClusterPlanAttemptError `json:"error,omitempty"`

	// healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// plan
	Plan interface{} `json:"plan,omitempty"`

	// plan attempt id
	PlanAttemptID string `json:"plan_attempt_id,omitempty"`

	// plan attempt log
	// Required: true
	PlanAttemptLog []*ClusterPlanStepInfo `json:"plan_attempt_log"`

	// plan attempt name
	PlanAttemptName string `json:"plan_attempt_name,omitempty"`

	// plan end time
	// Format: date-time
	PlanEndTime strfmt.DateTime `json:"plan_end_time,omitempty"`

	// source
	Source *ChangeSourceInfo `json:"source,omitempty"`

	// warnings
	// Required: true
	Warnings []*ClusterPlanWarning `json:"warnings"`
}

CommonClusterPlanInfo common cluster plan info

swagger:model CommonClusterPlanInfo

func (*CommonClusterPlanInfo) ContextValidate ¶ added in v1.10.0

func (m *CommonClusterPlanInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this common cluster plan info based on the context it is used

func (*CommonClusterPlanInfo) MarshalBinary ¶ added in v1.10.0

func (m *CommonClusterPlanInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommonClusterPlanInfo) UnmarshalBinary ¶ added in v1.10.0

func (m *CommonClusterPlanInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommonClusterPlanInfo) Validate ¶ added in v1.10.0

func (m *CommonClusterPlanInfo) Validate(formats strfmt.Registry) error

Validate validates this common cluster plan info

type CompatibleNodeTypesResource ¶

type CompatibleNodeTypesResource struct {

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field will soon be removed in favor of having a global capacity constraint for all node types.
	//
	// Capacity constraints for the node type
	CapacityConstraints *CapacityConstraintsResource `json:"capacity_constraints,omitempty"`

	// Compatible node types for the this node type
	// Required: true
	CompatibleNodeTypes []string `json:"compatible_node_types"`

	// Type of this node
	// Required: true
	NodeType *string `json:"node_type"`
}

CompatibleNodeTypesResource Information about the compatible node types.

swagger:model CompatibleNodeTypesResource

func (*CompatibleNodeTypesResource) ContextValidate ¶ added in v1.3.0

func (m *CompatibleNodeTypesResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this compatible node types resource based on the context it is used

func (*CompatibleNodeTypesResource) MarshalBinary ¶

func (m *CompatibleNodeTypesResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CompatibleNodeTypesResource) UnmarshalBinary ¶

func (m *CompatibleNodeTypesResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CompatibleNodeTypesResource) Validate ¶

func (m *CompatibleNodeTypesResource) Validate(formats strfmt.Registry) error

Validate validates this compatible node types resource

type CompatibleVersionResource ¶

type CompatibleVersionResource struct {

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field will soon be removed in favor of having a global capacity constraint for all versions. When specified its value will be ignored.
	//
	// Capacity constraints for the version
	CapacityConstraints *CapacityConstraintsResource `json:"capacity_constraints,omitempty"`

	// Supported node types for the version
	// Required: true
	NodeTypes []*CompatibleNodeTypesResource `json:"node_types"`

	// Compatible version, the key for this resource
	// Required: true
	Version *string `json:"version"`
}

CompatibleVersionResource Information about the compatible version.

swagger:model CompatibleVersionResource

func (*CompatibleVersionResource) ContextValidate ¶ added in v1.3.0

func (m *CompatibleVersionResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this compatible version resource based on the context it is used

func (*CompatibleVersionResource) MarshalBinary ¶

func (m *CompatibleVersionResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CompatibleVersionResource) UnmarshalBinary ¶

func (m *CompatibleVersionResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CompatibleVersionResource) Validate ¶

func (m *CompatibleVersionResource) Validate(formats strfmt.Registry) error

Validate validates this compatible version resource

type ConfigStoreOption ¶

type ConfigStoreOption struct {

	// Whether or not this Config Store Option has changed
	// Required: true
	Changed *bool `json:"changed"`

	// Name of this Config Store Option
	// Required: true
	Name *string `json:"name"`

	// Value of this Config Store Option
	// Required: true
	Value *string `json:"value"`
}

ConfigStoreOption Information about the Config Store options.

swagger:model ConfigStoreOption

func (*ConfigStoreOption) ContextValidate ¶ added in v1.3.0

func (m *ConfigStoreOption) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this config store option based on context it is used

func (*ConfigStoreOption) MarshalBinary ¶

func (m *ConfigStoreOption) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigStoreOption) UnmarshalBinary ¶

func (m *ConfigStoreOption) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigStoreOption) Validate ¶

func (m *ConfigStoreOption) Validate(formats strfmt.Registry) error

Validate validates this config store option

type ConfigStoreOptionData ¶

type ConfigStoreOptionData struct {

	// Value of this Config Store Option
	// Required: true
	Value *string `json:"value"`
}

ConfigStoreOptionData The data for the Config Store options.

swagger:model ConfigStoreOptionData

func (*ConfigStoreOptionData) ContextValidate ¶ added in v1.3.0

func (m *ConfigStoreOptionData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this config store option data based on context it is used

func (*ConfigStoreOptionData) MarshalBinary ¶

func (m *ConfigStoreOptionData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigStoreOptionData) UnmarshalBinary ¶

func (m *ConfigStoreOptionData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigStoreOptionData) Validate ¶

func (m *ConfigStoreOptionData) Validate(formats strfmt.Registry) error

Validate validates this config store option data

type ConfigStoreOptionList ¶

type ConfigStoreOptionList struct {

	// List of Config Store Options
	// Required: true
	Values []*ConfigStoreOption `json:"values"`
}

ConfigStoreOptionList A list of Config Store values.

swagger:model ConfigStoreOptionList

func (*ConfigStoreOptionList) ContextValidate ¶ added in v1.3.0

func (m *ConfigStoreOptionList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config store option list based on the context it is used

func (*ConfigStoreOptionList) MarshalBinary ¶

func (m *ConfigStoreOptionList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConfigStoreOptionList) UnmarshalBinary ¶

func (m *ConfigStoreOptionList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConfigStoreOptionList) Validate ¶

func (m *ConfigStoreOptionList) Validate(formats strfmt.Registry) error

Validate validates this config store option list

type ConstructorHealthStatus ¶

type ConstructorHealthStatus struct {

	// Whether the constructor is connected
	// Required: true
	Connected *bool `json:"connected"`

	// Whether the constructor is in maintenance mode
	// Required: true
	MaintenanceMode *bool `json:"maintenance_mode"`
}

ConstructorHealthStatus The health status of the constructor.

swagger:model ConstructorHealthStatus

func (*ConstructorHealthStatus) ContextValidate ¶ added in v1.3.0

func (m *ConstructorHealthStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this constructor health status based on context it is used

func (*ConstructorHealthStatus) MarshalBinary ¶

func (m *ConstructorHealthStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConstructorHealthStatus) UnmarshalBinary ¶

func (m *ConstructorHealthStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConstructorHealthStatus) Validate ¶

func (m *ConstructorHealthStatus) Validate(formats strfmt.Registry) error

Validate validates this constructor health status

type ConstructorInfo ¶

type ConstructorInfo struct {

	// Identifier for this constructor
	// Required: true
	ConstructorID *string `json:"constructor_id"`

	// status
	// Required: true
	Status *ConstructorHealthStatus `json:"status"`
}

ConstructorInfo Information about the constructor.

swagger:model ConstructorInfo

func (*ConstructorInfo) ContextValidate ¶ added in v1.3.0

func (m *ConstructorInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constructor info based on the context it is used

func (*ConstructorInfo) MarshalBinary ¶

func (m *ConstructorInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConstructorInfo) UnmarshalBinary ¶

func (m *ConstructorInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConstructorInfo) Validate ¶

func (m *ConstructorInfo) Validate(formats strfmt.Registry) error

Validate validates this constructor info

type ConstructorOverview ¶

type ConstructorOverview struct {

	// constructors
	// Required: true
	Constructors []*ConstructorInfo `json:"constructors"`
}

ConstructorOverview The overview information for the installed constructors.

swagger:model ConstructorOverview

func (*ConstructorOverview) ContextValidate ¶ added in v1.3.0

func (m *ConstructorOverview) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this constructor overview based on the context it is used

func (*ConstructorOverview) MarshalBinary ¶

func (m *ConstructorOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConstructorOverview) UnmarshalBinary ¶

func (m *ConstructorOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConstructorOverview) Validate ¶

func (m *ConstructorOverview) Validate(formats strfmt.Registry) error

Validate validates this constructor overview

type ContainerConfigHostConfig ¶

type ContainerConfigHostConfig struct {

	// Volume bindings for the container.
	// Required: true
	Binds []string `json:"binds"`

	// The length of a CPU period in microsecond
	CPUPeriod int32 `json:"cpu_period,omitempty"`

	// Ports that are exposed by the container.
	// Required: true
	ExtraHosts []string `json:"extra_hosts"`

	//  Sets the networking mode for the container.
	NetworkMode string `json:"network_mode,omitempty"`

	// Map of ports that should be exposed on the host.
	// Required: true
	PortBindings map[string][]PortBinding `json:"port_bindings"`

	// List of environment variables on the form KEY=value
	// Required: true
	Privileged *bool `json:"privileged"`

	// Docker behavior to apply when a container exits
	RestartPolicy *RestartPolicy `json:"restart_policy,omitempty"`
}

ContainerConfigHostConfig Docker host config

swagger:model ContainerConfigHostConfig

func (*ContainerConfigHostConfig) ContextValidate ¶ added in v1.3.0

func (m *ContainerConfigHostConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this container config host config based on the context it is used

func (*ContainerConfigHostConfig) MarshalBinary ¶

func (m *ContainerConfigHostConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainerConfigHostConfig) UnmarshalBinary ¶

func (m *ContainerConfigHostConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainerConfigHostConfig) Validate ¶

func (m *ContainerConfigHostConfig) Validate(formats strfmt.Registry) error

Validate validates this container config host config

type ContainerSetSummary ¶

type ContainerSetSummary struct {

	// The identifier for this container set
	// Required: true
	ContainerSetID *string `json:"container_set_id"`

	// Number of containers created in this container set
	// Required: true
	ContainersCreatedCount *int32 `json:"containers_created_count"`

	// Expected number of running containers in this container set
	// Required: true
	ContainersExpectedRunningCount *int32 `json:"containers_expected_running_count"`

	// Number of containers running in this container set
	// Required: true
	ContainersRunningCount *int32 `json:"containers_running_count"`

	// Number of containers started in this container set
	// Required: true
	ContainersStartedCount *int32 `json:"containers_started_count"`

	// Whether the container set is healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// True if the container set is hidden
	// Required: true
	Hidden *bool `json:"hidden"`
}

ContainerSetSummary Summarized information about a container set

swagger:model ContainerSetSummary

func (*ContainerSetSummary) ContextValidate ¶ added in v1.3.0

func (m *ContainerSetSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this container set summary based on context it is used

func (*ContainerSetSummary) MarshalBinary ¶

func (m *ContainerSetSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainerSetSummary) UnmarshalBinary ¶

func (m *ContainerSetSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainerSetSummary) Validate ¶

func (m *ContainerSetSummary) Validate(formats strfmt.Registry) error

Validate validates this container set summary

type ContainerSetsSummary ¶

type ContainerSetsSummary struct {

	// Whether all container sets are healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// Number of healthy container sets
	// Required: true
	HealthyContainerSetsCount *int32 `json:"healthy_container_sets_count"`

	// Summarized information about unhealthy container sets
	// Required: true
	UnhealthyContainerSets []*ContainerSetSummary `json:"unhealthy_container_sets"`

	// Number of unhealthy container sets
	// Required: true
	UnhealthyContainerSetsCount *int32 `json:"unhealthy_container_sets_count"`
}

ContainerSetsSummary Summarized information about container sets

swagger:model ContainerSetsSummary

func (*ContainerSetsSummary) ContextValidate ¶ added in v1.3.0

func (m *ContainerSetsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this container sets summary based on the context it is used

func (*ContainerSetsSummary) MarshalBinary ¶

func (m *ContainerSetsSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainerSetsSummary) UnmarshalBinary ¶

func (m *ContainerSetsSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainerSetsSummary) Validate ¶

func (m *ContainerSetsSummary) Validate(formats strfmt.Registry) error

Validate validates this container sets summary

type ContainersEntry ¶

type ContainersEntry struct {

	// The container set name (id)
	// Required: true
	ContainerSetName *string `json:"container_set_name"`

	// The kind of container set, should be one of 'docker', 'elasticsearch', 'kibana', or 'apm'
	// Required: true
	Kind *string `json:"kind"`

	// Name of the association
	// Required: true
	Name *string `json:"name"`

	// The container options
	// Required: true
	Options *ContainersEntryOptions `json:"options"`
}

ContainersEntry Represents the association between a Role and a Container Set

swagger:model ContainersEntry

func (*ContainersEntry) ContextValidate ¶ added in v1.3.0

func (m *ContainersEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this containers entry based on the context it is used

func (*ContainersEntry) MarshalBinary ¶

func (m *ContainersEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainersEntry) UnmarshalBinary ¶

func (m *ContainersEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainersEntry) Validate ¶

func (m *ContainersEntry) Validate(formats strfmt.Registry) error

Validate validates this containers entry

type ContainersEntryOptions ¶

type ContainersEntryOptions struct {

	// ZooKeeper ACLs associated with this allocation
	// Required: true
	Acls []*ContainersEntryOptionsACL `json:"acls"`

	// ZooKeeper Auths associated with this allocation
	// Required: true
	Auths []*ContainersEntryOptionsAuth `json:"auths"`

	// Secret shared between the containers that are part of this container set.
	ContainerSetSecret string `json:"container_set_secret,omitempty"`

	// Whether this allocation is active and should be created.
	// Required: true
	Enabled *bool `json:"enabled"`

	// A named feature flag to check whether this container is enabled or not
	EnabledByNamedFeatureFlag string `json:"enabled_by_named_feature_flag,omitempty"`

	// Allocation-specific overrides for the allocated containers
	Overrides *ContainersEntryOptionsOverrides `json:"overrides,omitempty"`

	// Secret shared between the runners that have containers in this container set allocated.
	RunnersSecret string `json:"runners_secret,omitempty"`
}

ContainersEntryOptions Options for a ContainersEntry belonging to a role

swagger:model ContainersEntryOptions

func (*ContainersEntryOptions) ContextValidate ¶ added in v1.3.0

func (m *ContainersEntryOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this containers entry options based on the context it is used

func (*ContainersEntryOptions) MarshalBinary ¶

func (m *ContainersEntryOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainersEntryOptions) UnmarshalBinary ¶

func (m *ContainersEntryOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainersEntryOptions) Validate ¶

func (m *ContainersEntryOptions) Validate(formats strfmt.Registry) error

Validate validates this containers entry options

type ContainersEntryOptionsACL ¶

type ContainersEntryOptionsACL struct {

	// Identity within the provided scheme.
	// Required: true
	ID *string `json:"id"`

	// Permissions
	// Required: true
	Perms *int32 `json:"perms"`

	// Auth scheme, in Elastic Cloud this is usually "digest"
	// Required: true
	Scheme *string `json:"scheme"`
}

ContainersEntryOptionsACL ZooKeeper ACL information.

swagger:model ContainersEntryOptionsACL

func (*ContainersEntryOptionsACL) ContextValidate ¶ added in v1.3.0

func (m *ContainersEntryOptionsACL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this containers entry options ACL based on context it is used

func (*ContainersEntryOptionsACL) MarshalBinary ¶

func (m *ContainersEntryOptionsACL) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainersEntryOptionsACL) UnmarshalBinary ¶

func (m *ContainersEntryOptionsACL) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainersEntryOptionsACL) Validate ¶

func (m *ContainersEntryOptionsACL) Validate(formats strfmt.Registry) error

Validate validates this containers entry options ACL

type ContainersEntryOptionsAuth ¶

type ContainersEntryOptionsAuth struct {

	// Plain-text auth. For the "digest" scheme
	// Required: true
	Auth *string `json:"auth"`

	// Scheme identifier, usually "digest"
	// Example: digest
	// Required: true
	Scheme *string `json:"scheme"`
}

ContainersEntryOptionsAuth ZooKeeper Authentication information.

swagger:model ContainersEntryOptionsAuth

func (*ContainersEntryOptionsAuth) ContextValidate ¶ added in v1.3.0

func (m *ContainersEntryOptionsAuth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this containers entry options auth based on context it is used

func (*ContainersEntryOptionsAuth) MarshalBinary ¶

func (m *ContainersEntryOptionsAuth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainersEntryOptionsAuth) UnmarshalBinary ¶

func (m *ContainersEntryOptionsAuth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainersEntryOptionsAuth) Validate ¶

func (m *ContainersEntryOptionsAuth) Validate(formats strfmt.Registry) error

Validate validates this containers entry options auth

type ContainersEntryOptionsContainerConfig ¶

type ContainersEntryOptionsContainerConfig struct {

	// List of environment variables on the form KEY=value
	// Example: DB=localhost:4567
	// Required: true
	Env []string `json:"env"`

	// Docker host config
	HostConfig *ContainerConfigHostConfig `json:"host_config,omitempty"`
}

ContainersEntryOptionsContainerConfig Container config. Roughly corresponds to Docker container config

swagger:model ContainersEntryOptionsContainerConfig

func (*ContainersEntryOptionsContainerConfig) ContextValidate ¶ added in v1.3.0

func (m *ContainersEntryOptionsContainerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this containers entry options container config based on the context it is used

func (*ContainersEntryOptionsContainerConfig) MarshalBinary ¶

func (m *ContainersEntryOptionsContainerConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainersEntryOptionsContainerConfig) UnmarshalBinary ¶

func (m *ContainersEntryOptionsContainerConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainersEntryOptionsContainerConfig) Validate ¶

Validate validates this containers entry options container config

type ContainersEntryOptionsOverrides ¶

type ContainersEntryOptionsOverrides struct {

	// Overrides for the container allocation.
	ContainerConfig *ContainersEntryOptionsContainerConfig `json:"container_config,omitempty"`
}

ContainersEntryOptionsOverrides Overrides for the container allocation.

swagger:model ContainersEntryOptionsOverrides

func (*ContainersEntryOptionsOverrides) ContextValidate ¶ added in v1.3.0

func (m *ContainersEntryOptionsOverrides) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this containers entry options overrides based on the context it is used

func (*ContainersEntryOptionsOverrides) MarshalBinary ¶

func (m *ContainersEntryOptionsOverrides) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContainersEntryOptionsOverrides) UnmarshalBinary ¶

func (m *ContainersEntryOptionsOverrides) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContainersEntryOptionsOverrides) Validate ¶

Validate validates this containers entry options overrides

type CoordinatorCandidateInfo ¶ added in v1.12.0

type CoordinatorCandidateInfo struct {

	// Zookeeper ACL of nodes this coordinator candidate is allowed to read
	// Required: true
	ACL *ZkACL `json:"acl"`

	// Attributes of this coordinator candidate
	// Required: true
	Attributes map[string]string `json:"attributes"`

	// Zookeeper server identifier corresponding to this coordinator candidate
	ID int32 `json:"id,omitempty"`

	// Name of this coordinator candidate.
	// Required: true
	Name *string `json:"name"`

	// Public hostname of this coordinator candidate
	// Required: true
	PublicHostname *string `json:"public_hostname"`

	// State of the candidate
	// Required: true
	// Enum: [accepted pending]
	State *string `json:"state"`
}

CoordinatorCandidateInfo Summarized information about a coordinator candidate.

swagger:model CoordinatorCandidateInfo

func (*CoordinatorCandidateInfo) ContextValidate ¶ added in v1.12.0

func (m *CoordinatorCandidateInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this coordinator candidate info based on the context it is used

func (*CoordinatorCandidateInfo) MarshalBinary ¶ added in v1.12.0

func (m *CoordinatorCandidateInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CoordinatorCandidateInfo) UnmarshalBinary ¶ added in v1.12.0

func (m *CoordinatorCandidateInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoordinatorCandidateInfo) Validate ¶ added in v1.12.0

func (m *CoordinatorCandidateInfo) Validate(formats strfmt.Registry) error

Validate validates this coordinator candidate info

type CoordinatorCandidatesSummary ¶ added in v1.12.0

type CoordinatorCandidatesSummary struct {

	// Summarized information on each coordinator candidate
	// Required: true
	Candidates []*CoordinatorCandidateInfo `json:"candidates"`
}

CoordinatorCandidatesSummary Summarized information about coordinator candidates.

swagger:model CoordinatorCandidatesSummary

func (*CoordinatorCandidatesSummary) ContextValidate ¶ added in v1.12.0

func (m *CoordinatorCandidatesSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this coordinator candidates summary based on the context it is used

func (*CoordinatorCandidatesSummary) MarshalBinary ¶ added in v1.12.0

func (m *CoordinatorCandidatesSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CoordinatorCandidatesSummary) UnmarshalBinary ¶ added in v1.12.0

func (m *CoordinatorCandidatesSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoordinatorCandidatesSummary) Validate ¶ added in v1.12.0

func (m *CoordinatorCandidatesSummary) Validate(formats strfmt.Registry) error

Validate validates this coordinator candidates summary

type CoordinatorSummary ¶

type CoordinatorSummary struct {

	// Attributes of this coordinator
	// Required: true
	Attributes map[string]string `json:"attributes"`

	// Client port of this coordinator
	// Required: true
	ClientPort *int32 `json:"client_port"`

	// Election port of this coordinator
	// Required: true
	ElectionPort *int32 `json:"election_port"`

	// Leader port of this coordinator
	// Required: true
	LeaderPort *int32 `json:"leader_port"`

	// Name of this coordinator
	// Required: true
	Name *string `json:"name"`

	// Public hostname of this coordinator
	// Required: true
	PublicHostname *string `json:"public_hostname"`
}

CoordinatorSummary Summarized information about a coordinator.

swagger:model CoordinatorSummary

func (*CoordinatorSummary) ContextValidate ¶ added in v1.3.0

func (m *CoordinatorSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this coordinator summary based on context it is used

func (*CoordinatorSummary) MarshalBinary ¶

func (m *CoordinatorSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CoordinatorSummary) UnmarshalBinary ¶

func (m *CoordinatorSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoordinatorSummary) Validate ¶

func (m *CoordinatorSummary) Validate(formats strfmt.Registry) error

Validate validates this coordinator summary

type CoordinatorsSummary ¶

type CoordinatorsSummary struct {

	// Summarized information on each coordinator
	// Required: true
	Coordinators []*CoordinatorSummary `json:"coordinators"`
}

CoordinatorsSummary Summarized information about coordinators.

swagger:model CoordinatorsSummary

func (*CoordinatorsSummary) ContextValidate ¶ added in v1.3.0

func (m *CoordinatorsSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this coordinators summary based on the context it is used

func (*CoordinatorsSummary) MarshalBinary ¶

func (m *CoordinatorsSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CoordinatorsSummary) UnmarshalBinary ¶

func (m *CoordinatorsSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CoordinatorsSummary) Validate ¶

func (m *CoordinatorsSummary) Validate(formats strfmt.Registry) error

Validate validates this coordinators summary

type Costs ¶ added in v1.5.0

type Costs struct {

	// A collection of billing details by dimension.
	// Required: true
	Dimensions []*Dimension `json:"dimensions"`

	// Total costs
	// Required: true
	Total *float64 `json:"total"`
}

Costs Costs overview for an organization. All of the costs, credits, trials are expressed in Elastic Consumption Unit (ECU).

swagger:model Costs

func (*Costs) ContextValidate ¶ added in v1.5.0

func (m *Costs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this costs based on the context it is used

func (*Costs) MarshalBinary ¶ added in v1.5.0

func (m *Costs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Costs) UnmarshalBinary ¶ added in v1.5.0

func (m *Costs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Costs) Validate ¶ added in v1.5.0

func (m *Costs) Validate(formats strfmt.Registry) error

Validate validates this costs

type CostsOverview ¶ added in v1.5.0

type CostsOverview struct {

	// Balance for the organization
	Balance *Balance `json:"balance,omitempty"`

	// Costs for the organization
	// Required: true
	Costs *Costs `json:"costs"`

	// Hourly rate applied.
	// Required: true
	HourlyRate *float64 `json:"hourly_rate"`

	// Trial costs for the organization
	// Required: true
	Trials *float64 `json:"trials"`
}

CostsOverview The top level costs overview for an organization. All of the costs, credits, trials are expressed in Elastic Consumption Unit (ECU).

swagger:model CostsOverview

func (*CostsOverview) ContextValidate ¶ added in v1.5.0

func (m *CostsOverview) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this costs overview based on the context it is used

func (*CostsOverview) MarshalBinary ¶ added in v1.5.0

func (m *CostsOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CostsOverview) UnmarshalBinary ¶ added in v1.5.0

func (m *CostsOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CostsOverview) Validate ¶ added in v1.5.0

func (m *CostsOverview) Validate(formats strfmt.Registry) error

Validate validates this costs overview

type CreateAPIKeyRequest ¶

type CreateAPIKeyRequest struct {

	// API key description. Useful if there are multiple keys
	// Required: true
	Description *string `json:"description"`

	// The optional expiration for the API key, provided as a duration (ex: '1d', '3h')
	Expiration string `json:"expiration,omitempty"`
}

CreateAPIKeyRequest The request payload that creates the API keys.

swagger:model CreateApiKeyRequest

func (*CreateAPIKeyRequest) ContextValidate ¶ added in v1.3.0

func (m *CreateAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create Api key request based on context it is used

func (*CreateAPIKeyRequest) MarshalBinary ¶

func (m *CreateAPIKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIKeyRequest) UnmarshalBinary ¶

func (m *CreateAPIKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIKeyRequest) Validate ¶

func (m *CreateAPIKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this create Api key request

type CreateExtensionRequest ¶

type CreateExtensionRequest struct {

	// The extension description.
	Description string `json:"description,omitempty"`

	// The URL to download the extension archive.
	DownloadURL string `json:"download_url,omitempty"`

	// The extension type.
	// Required: true
	// Enum: [plugin bundle]
	ExtensionType *string `json:"extension_type"`

	// The extension name. Only ASCII alphanumeric and [_.-] characters allowed
	// Required: true
	Name *string `json:"name"`

	// The Elasticsearch version.
	// Required: true
	Version *string `json:"version"`
}

CreateExtensionRequest The body of a request to create a new extension

swagger:model CreateExtensionRequest

func (*CreateExtensionRequest) ContextValidate ¶ added in v1.3.0

func (m *CreateExtensionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create extension request based on context it is used

func (*CreateExtensionRequest) MarshalBinary ¶

func (m *CreateExtensionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateExtensionRequest) UnmarshalBinary ¶

func (m *CreateExtensionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateExtensionRequest) Validate ¶

func (m *CreateExtensionRequest) Validate(formats strfmt.Registry) error

Validate validates this create extension request

type Creates ¶

type Creates struct {

	// Diagnostics for APMs
	Apm []*Apm `json:"apm"`

	// Diagnostics for AppSearches
	Appsearch []*AppSearch `json:"appsearch"`

	// Diagnostics for Elasticsearch clusters
	Elasticsearch []*Elasticsearch `json:"elasticsearch"`

	// Diagnostics for Enterprise Search resources
	EnterpriseSearch []*EnterpriseSearch `json:"enterprise_search"`

	// Diagnostics for Integrations Server
	IntegrationsServer []*IntegrationsServer `json:"integrations_server"`

	// Diagnostics for Kibanas
	Kibana []*Kibana `json:"kibana"`
}

Creates Holds diagnostics for resources that will be created

swagger:model Creates

func (*Creates) ContextValidate ¶ added in v1.3.0

func (m *Creates) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this creates based on the context it is used

func (*Creates) MarshalBinary ¶

func (m *Creates) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Creates) UnmarshalBinary ¶

func (m *Creates) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Creates) Validate ¶

func (m *Creates) Validate(formats strfmt.Registry) error

Validate validates this creates

type DeleteAPIKeysRequest ¶

type DeleteAPIKeysRequest struct {

	// The list of API key IDs.
	// Required: true
	Keys []string `json:"keys"`
}

DeleteAPIKeysRequest The request payload that deletes the API keys.

swagger:model DeleteApiKeysRequest

func (*DeleteAPIKeysRequest) ContextValidate ¶ added in v1.3.0

func (m *DeleteAPIKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete Api keys request based on context it is used

func (*DeleteAPIKeysRequest) MarshalBinary ¶

func (m *DeleteAPIKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAPIKeysRequest) UnmarshalBinary ¶

func (m *DeleteAPIKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAPIKeysRequest) Validate ¶

func (m *DeleteAPIKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this delete Api keys request

type DeleteUsersAPIKeysRequest ¶

type DeleteUsersAPIKeysRequest struct {

	// The list of API key IDs.
	// Required: true
	UserAPIKeys []*UserAPIKey `json:"user_api_keys"`
}

DeleteUsersAPIKeysRequest The request payload that deletes the API keys.

swagger:model DeleteUsersApiKeysRequest

func (*DeleteUsersAPIKeysRequest) ContextValidate ¶ added in v1.3.0

func (m *DeleteUsersAPIKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete users Api keys request based on the context it is used

func (*DeleteUsersAPIKeysRequest) MarshalBinary ¶

func (m *DeleteUsersAPIKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUsersAPIKeysRequest) UnmarshalBinary ¶

func (m *DeleteUsersAPIKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUsersAPIKeysRequest) Validate ¶

func (m *DeleteUsersAPIKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this delete users Api keys request

type DeploymentCosts ¶ added in v1.5.0

type DeploymentCosts struct {

	// Costs associated to the deployment
	// Required: true
	Costs *Costs `json:"costs"`

	// Elasticsearch deployment id
	// Required: true
	DeploymentID *string `json:"deployment_id"`

	// Elasticsearch deployment name
	// Required: true
	DeploymentName *string `json:"deployment_name"`

	// Price per hour
	// Required: true
	HourlyRate *float64 `json:"hourly_rate"`

	// Period
	Period *Period `json:"period,omitempty"`
}

DeploymentCosts Detailed costs for a deployment for an organization. All of the costs are expressed in Elastic Consumption Unit (ECU).

swagger:model DeploymentCosts

func (*DeploymentCosts) ContextValidate ¶ added in v1.5.0

func (m *DeploymentCosts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment costs based on the context it is used

func (*DeploymentCosts) MarshalBinary ¶ added in v1.5.0

func (m *DeploymentCosts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentCosts) UnmarshalBinary ¶ added in v1.5.0

func (m *DeploymentCosts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentCosts) Validate ¶ added in v1.5.0

func (m *DeploymentCosts) Validate(formats strfmt.Registry) error

Validate validates this deployment costs

type DeploymentCreateMetadata ¶

type DeploymentCreateMetadata struct {

	// Indicates if a deployment is system owned (restricts the set of operations that can be performed on it)
	SystemOwned *bool `json:"system_owned,omitempty"`

	// Arbitrary user-defined metadata associated with this deployment
	Tags []*MetadataItem `json:"tags"`
}

DeploymentCreateMetadata Additional information about the new deployment object.

swagger:model DeploymentCreateMetadata

func (*DeploymentCreateMetadata) ContextValidate ¶ added in v1.3.0

func (m *DeploymentCreateMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment create metadata based on the context it is used

func (*DeploymentCreateMetadata) MarshalBinary ¶

func (m *DeploymentCreateMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentCreateMetadata) UnmarshalBinary ¶

func (m *DeploymentCreateMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentCreateMetadata) Validate ¶

func (m *DeploymentCreateMetadata) Validate(formats strfmt.Registry) error

Validate validates this deployment create metadata

type DeploymentCreateRequest ¶

type DeploymentCreateRequest struct {

	// A user-defined alias to use in place of Cluster IDs for user-friendly URLs
	Alias string `json:"alias,omitempty"`

	// Additional information about this deployment
	Metadata *DeploymentCreateMetadata `json:"metadata,omitempty"`

	// A name for the deployment; otherwise this will be the generated deployment id
	Name string `json:"name,omitempty"`

	// Identifier of the region to be used as the default for all the resources of the deployment
	Region string `json:"region,omitempty"`

	// The Resources that will belong to this Deployment
	Resources *DeploymentCreateResources `json:"resources,omitempty"`

	// Additional configuration for this Deployment
	Settings *DeploymentCreateSettings `json:"settings,omitempty"`

	// The version for all the resources of the deployment (must be one of the supported versions). Defaults to the latest version if not specified.
	Version string `json:"version,omitempty"`
}

DeploymentCreateRequest A request for creating a new Deployment consisting of multiple clusters

swagger:model DeploymentCreateRequest

func (*DeploymentCreateRequest) ContextValidate ¶ added in v1.3.0

func (m *DeploymentCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment create request based on the context it is used

func (*DeploymentCreateRequest) MarshalBinary ¶

func (m *DeploymentCreateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentCreateRequest) UnmarshalBinary ¶

func (m *DeploymentCreateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentCreateRequest) Validate ¶

func (m *DeploymentCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this deployment create request

type DeploymentCreateResources ¶

type DeploymentCreateResources struct {

	// A list of payloads for APM creation. WARNING: For stack versions 8.0.0 and higher the integrations_server payload should be used instead, as this field becomes deprecated.
	Apm []*ApmPayload `json:"apm"`

	// A list of payloads for AppSearch updates. AppSearch has been replaced by Enterprise Search in the Elastic Stack 7.7 and higher.
	Appsearch []*AppSearchPayload `json:"appsearch"`

	// A list of payloads for Elasticsearch cluster creation.
	Elasticsearch []*ElasticsearchPayload `json:"elasticsearch"`

	// A list of payloads for Enterprise Search creation.
	EnterpriseSearch []*EnterpriseSearchPayload `json:"enterprise_search"`

	// A list of payloads for Integrations Server creation.
	IntegrationsServer []*IntegrationsServerPayload `json:"integrations_server"`

	// A list of payloads for Kibana creation.
	Kibana []*KibanaPayload `json:"kibana"`
}

DeploymentCreateResources Describes the resources that will belong to a Deployment

swagger:model DeploymentCreateResources

func (*DeploymentCreateResources) ContextValidate ¶ added in v1.3.0

func (m *DeploymentCreateResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment create resources based on the context it is used

func (*DeploymentCreateResources) MarshalBinary ¶

func (m *DeploymentCreateResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentCreateResources) UnmarshalBinary ¶

func (m *DeploymentCreateResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentCreateResources) Validate ¶

func (m *DeploymentCreateResources) Validate(formats strfmt.Registry) error

Validate validates this deployment create resources

type DeploymentCreateResponse ¶

type DeploymentCreateResponse struct {

	// A user-defined deployment alias for user-friendly resource URLs
	Alias string `json:"alias,omitempty"`

	// Whether or not the deployment was freshly created
	// Required: true
	Created *bool `json:"created"`

	// Backend diagnostics. Sent if validation is requested.
	Diagnostics *DeploymentDiagnostics `json:"diagnostics,omitempty"`

	// The id of the deployment
	// Required: true
	ID *string `json:"id"`

	// The name of the deployment
	// Required: true
	Name *string `json:"name"`

	// List of created resources.
	// Required: true
	Resources []*DeploymentResource `json:"resources"`
}

DeploymentCreateResponse A response returned from the Deployment create endpoint

swagger:model DeploymentCreateResponse

func (*DeploymentCreateResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment create response based on the context it is used

func (*DeploymentCreateResponse) MarshalBinary ¶

func (m *DeploymentCreateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentCreateResponse) UnmarshalBinary ¶

func (m *DeploymentCreateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentCreateResponse) Validate ¶

func (m *DeploymentCreateResponse) Validate(formats strfmt.Registry) error

Validate validates this deployment create response

type DeploymentCreateSettings ¶

type DeploymentCreateSettings struct {

	// Enable autoscaling for this deployment.
	AutoscalingEnabled *bool `json:"autoscaling_enabled,omitempty"`

	// Observability settings for this deployment
	Observability *DeploymentObservabilitySettings `json:"observability,omitempty"`

	// The traffic filter rulesets to apply to this deployment.
	TrafficFilterSettings *TrafficFilterSettings `json:"traffic_filter_settings,omitempty"`
}

DeploymentCreateSettings Additional configuration for the new deployment object.

swagger:model DeploymentCreateSettings

func (*DeploymentCreateSettings) ContextValidate ¶ added in v1.3.0

func (m *DeploymentCreateSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment create settings based on the context it is used

func (*DeploymentCreateSettings) MarshalBinary ¶

func (m *DeploymentCreateSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentCreateSettings) UnmarshalBinary ¶

func (m *DeploymentCreateSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentCreateSettings) Validate ¶

func (m *DeploymentCreateSettings) Validate(formats strfmt.Registry) error

Validate validates this deployment create settings

type DeploymentDeleteResponse ¶

type DeploymentDeleteResponse struct {

	// The id of the deployment
	// Required: true
	ID *string `json:"id"`

	// The name of the deployment
	// Required: true
	Name *string `json:"name"`

	// Details about orphaned resources
	Orphaned *Orphaned `json:"orphaned,omitempty"`
}

DeploymentDeleteResponse A response returned from the Deployment delete endpoint

swagger:model DeploymentDeleteResponse

func (*DeploymentDeleteResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentDeleteResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment delete response based on the context it is used

func (*DeploymentDeleteResponse) MarshalBinary ¶

func (m *DeploymentDeleteResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentDeleteResponse) UnmarshalBinary ¶

func (m *DeploymentDeleteResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentDeleteResponse) Validate ¶

func (m *DeploymentDeleteResponse) Validate(formats strfmt.Registry) error

Validate validates this deployment delete response

type DeploymentDiagnostics ¶

type DeploymentDiagnostics struct {

	// Diagnostics for resources to be created
	Creates *Creates `json:"creates,omitempty"`

	// Diagnostics for existing resources that may be updated
	Updates *Updates `json:"updates,omitempty"`
}

DeploymentDiagnostics Describes the diagnostics for a given Deployment-modifying payload

swagger:model DeploymentDiagnostics

func (*DeploymentDiagnostics) ContextValidate ¶ added in v1.3.0

func (m *DeploymentDiagnostics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment diagnostics based on the context it is used

func (*DeploymentDiagnostics) MarshalBinary ¶

func (m *DeploymentDiagnostics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentDiagnostics) UnmarshalBinary ¶

func (m *DeploymentDiagnostics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentDiagnostics) Validate ¶

func (m *DeploymentDiagnostics) Validate(formats strfmt.Registry) error

Validate validates this deployment diagnostics

type DeploymentDomainName ¶ added in v1.1.0

type DeploymentDomainName struct {

	// The domain name for all deployments. The hostname of an application in a deployment is constructed from the application ID and the domain name (for example, 1234567890.example.com).
	// Required: true
	Value *string `json:"value"`
}

DeploymentDomainName Deployment domain name configuration

swagger:model DeploymentDomainName

func (*DeploymentDomainName) ContextValidate ¶ added in v1.3.0

func (m *DeploymentDomainName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment domain name based on context it is used

func (*DeploymentDomainName) MarshalBinary ¶ added in v1.1.0

func (m *DeploymentDomainName) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentDomainName) UnmarshalBinary ¶ added in v1.1.0

func (m *DeploymentDomainName) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentDomainName) Validate ¶ added in v1.1.0

func (m *DeploymentDomainName) Validate(formats strfmt.Registry) error

Validate validates this deployment domain name

type DeploymentGetResponse ¶

type DeploymentGetResponse struct {

	// A user-defined deployment alias for user-friendly resource URLs
	Alias string `json:"alias,omitempty"`

	// Whether the deployment is overall healthy or not (one or more of the resource info subsections will have healthy: false)
	// Required: true
	Healthy *bool `json:"healthy"`

	// A randomly-generated id of this Deployment
	// Required: true
	ID *string `json:"id"`

	// List of instance configurations used in the deployment.
	InstanceConfigurations []*InstanceConfigurationInfo `json:"instance_configurations"`

	// Additional information about this deployment
	Metadata *DeploymentMetadata `json:"metadata,omitempty"`

	// The name of this deployment
	// Required: true
	Name *string `json:"name"`

	// The observability information for this deployment
	Observability *DeploymentObservability `json:"observability,omitempty"`

	// The Resources that belong to this Deployment
	// Required: true
	Resources *DeploymentResources `json:"resources"`

	// Additional configuration for this Deployment
	Settings *DeploymentSettings `json:"settings,omitempty"`
}

DeploymentGetResponse Describes a given Deployment

swagger:model DeploymentGetResponse

func (*DeploymentGetResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentGetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment get response based on the context it is used

func (*DeploymentGetResponse) MarshalBinary ¶

func (m *DeploymentGetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentGetResponse) UnmarshalBinary ¶

func (m *DeploymentGetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentGetResponse) Validate ¶

func (m *DeploymentGetResponse) Validate(formats strfmt.Registry) error

Validate validates this deployment get response

type DeploymentHeapDumps ¶ added in v1.6.0

type DeploymentHeapDumps struct {

	// The list of Elasticsearch resources and their heap dumps
	// Required: true
	Elasticsearch []*ResourceHeapDumps `json:"elasticsearch"`

	// The list of Enterprise Search resources and their heap dumps
	// Required: true
	EnterpriseSearch []*ResourceHeapDumps `json:"enterprise_search"`
}

DeploymentHeapDumps deployment heap dumps

swagger:model DeploymentHeapDumps

func (*DeploymentHeapDumps) ContextValidate ¶ added in v1.6.0

func (m *DeploymentHeapDumps) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment heap dumps based on the context it is used

func (*DeploymentHeapDumps) MarshalBinary ¶ added in v1.6.0

func (m *DeploymentHeapDumps) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentHeapDumps) UnmarshalBinary ¶ added in v1.6.0

func (m *DeploymentHeapDumps) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentHeapDumps) Validate ¶ added in v1.6.0

func (m *DeploymentHeapDumps) Validate(formats strfmt.Registry) error

Validate validates this deployment heap dumps

type DeploymentLogging ¶ added in v1.1.0

type DeploymentLogging struct {

	// Whether the deployment logging is healthy or not
	// Required: true
	Healthy *bool `json:"healthy"`

	// Logging health issues for the deployment
	Issues []*ObservabilityIssue `json:"issues"`

	// The URLs to view this deployment's logs in Kibana
	Urls map[string]string `json:"urls,omitempty"`
}

DeploymentLogging Logging information for a deployment

swagger:model DeploymentLogging

func (*DeploymentLogging) ContextValidate ¶ added in v1.3.0

func (m *DeploymentLogging) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment logging based on the context it is used

func (*DeploymentLogging) MarshalBinary ¶ added in v1.1.0

func (m *DeploymentLogging) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentLogging) UnmarshalBinary ¶ added in v1.1.0

func (m *DeploymentLogging) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentLogging) Validate ¶ added in v1.1.0

func (m *DeploymentLogging) Validate(formats strfmt.Registry) error

Validate validates this deployment logging

type DeploymentLoggingSettings ¶ added in v1.1.0

type DeploymentLoggingSettings struct {

	// The destination deployment that this deployment's logs will be sent to
	// Required: true
	Destination *ObservabilityAbsoluteDeployment `json:"destination"`
}

DeploymentLoggingSettings The logging settings for a deployment

swagger:model DeploymentLoggingSettings

func (*DeploymentLoggingSettings) ContextValidate ¶ added in v1.3.0

func (m *DeploymentLoggingSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment logging settings based on the context it is used

func (*DeploymentLoggingSettings) MarshalBinary ¶ added in v1.1.0

func (m *DeploymentLoggingSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentLoggingSettings) UnmarshalBinary ¶ added in v1.1.0

func (m *DeploymentLoggingSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentLoggingSettings) Validate ¶ added in v1.1.0

func (m *DeploymentLoggingSettings) Validate(formats strfmt.Registry) error

Validate validates this deployment logging settings

type DeploymentMetadata ¶

type DeploymentMetadata struct {

	// Whether or not this deployment is hidden from the normal deployment list
	// Read Only: true
	Hidden *bool `json:"hidden,omitempty"`

	// The most recent time the cluster metadata was changed (ISO format in UTC)
	// Required: true
	// Format: date-time
	LastModified *strfmt.DateTime `json:"last_modified"`

	// The most recent time the resource's plan was changed (ISO format in UTC)
	// Format: date-time
	LastResourcePlanModified strfmt.DateTime `json:"last_resource_plan_modified,omitempty"`

	// The organization that owns the deployment
	// Read Only: true
	OrganizationID string `json:"organization_id,omitempty"`

	// The user id (referencing whatever user database is in use) of the deployment owner
	OwnerID string `json:"owner_id,omitempty"`

	// Subscription level of the cluster
	// Read Only: true
	SubscriptionLevel string `json:"subscription_level,omitempty"`

	// Indicates if a deployment is system owned (restricts the set of operations that can be performed on it)
	SystemOwned *bool `json:"system_owned,omitempty"`

	// Arbitrary user-defined metadata associated with this deployment
	Tags []*MetadataItem `json:"tags"`
}

DeploymentMetadata Additional information about the current deployment object.

swagger:model DeploymentMetadata

func (*DeploymentMetadata) ContextValidate ¶ added in v1.3.0

func (m *DeploymentMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment metadata based on the context it is used

func (*DeploymentMetadata) MarshalBinary ¶

func (m *DeploymentMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentMetadata) UnmarshalBinary ¶

func (m *DeploymentMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentMetadata) Validate ¶

func (m *DeploymentMetadata) Validate(formats strfmt.Registry) error

Validate validates this deployment metadata

type DeploymentMetrics ¶ added in v1.1.0

type DeploymentMetrics struct {

	// Whether the deployment metrics are healthy or not
	// Required: true
	Healthy *bool `json:"healthy"`

	// Metrics health issues for the deployment
	Issues []*ObservabilityIssue `json:"issues"`

	// The URLs to view this deployment's metrics in Kibana
	Urls map[string]string `json:"urls,omitempty"`
}

DeploymentMetrics Metrics information for a deployment

swagger:model DeploymentMetrics

func (*DeploymentMetrics) ContextValidate ¶ added in v1.3.0

func (m *DeploymentMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment metrics based on the context it is used

func (*DeploymentMetrics) MarshalBinary ¶ added in v1.1.0

func (m *DeploymentMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentMetrics) UnmarshalBinary ¶ added in v1.1.0

func (m *DeploymentMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentMetrics) Validate ¶ added in v1.1.0

func (m *DeploymentMetrics) Validate(formats strfmt.Registry) error

Validate validates this deployment metrics

type DeploymentMetricsSettings ¶ added in v1.1.0

type DeploymentMetricsSettings struct {

	// The destination deployment that this deployment's metrics will be sent to
	// Required: true
	Destination *ObservabilityAbsoluteDeployment `json:"destination"`

	// Set to true to force the deployment to use legacy monitoring instead of Metricbeat-based monitoring.
	ForceLegacyMonitoring *bool `json:"force_legacy_monitoring,omitempty"`
}

DeploymentMetricsSettings The metrics settings for a deployment

swagger:model DeploymentMetricsSettings

func (*DeploymentMetricsSettings) ContextValidate ¶ added in v1.3.0

func (m *DeploymentMetricsSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment metrics settings based on the context it is used

func (*DeploymentMetricsSettings) MarshalBinary ¶ added in v1.1.0

func (m *DeploymentMetricsSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentMetricsSettings) UnmarshalBinary ¶ added in v1.1.0

func (m *DeploymentMetricsSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentMetricsSettings) Validate ¶ added in v1.1.0

func (m *DeploymentMetricsSettings) Validate(formats strfmt.Registry) error

Validate validates this deployment metrics settings

type DeploymentObservability ¶ added in v1.1.0

type DeploymentObservability struct {

	// Whether the deployment observability is healthy or not (one or more of the subsections will have healthy: false)
	// Required: true
	Healthy *bool `json:"healthy"`

	// General observability health issues for the deployment
	Issues []*ObservabilityIssue `json:"issues"`

	// The logging information for the deployment
	Logging *DeploymentLogging `json:"logging,omitempty"`

	// The metrics information for the deployment
	Metrics *DeploymentMetrics `json:"metrics,omitempty"`
}

DeploymentObservability Observability information for a deployment

swagger:model DeploymentObservability

func (*DeploymentObservability) ContextValidate ¶ added in v1.3.0

func (m *DeploymentObservability) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment observability based on the context it is used

func (*DeploymentObservability) MarshalBinary ¶ added in v1.1.0

func (m *DeploymentObservability) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentObservability) UnmarshalBinary ¶ added in v1.1.0

func (m *DeploymentObservability) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentObservability) Validate ¶ added in v1.1.0

func (m *DeploymentObservability) Validate(formats strfmt.Registry) error

Validate validates this deployment observability

type DeploymentObservabilitySettings ¶ added in v1.1.0

type DeploymentObservabilitySettings struct {

	// The logging settings for the deployment
	Logging *DeploymentLoggingSettings `json:"logging,omitempty"`

	// The metrics settings for the deployment
	Metrics *DeploymentMetricsSettings `json:"metrics,omitempty"`
}

DeploymentObservabilitySettings The observability settings for a deployment

swagger:model DeploymentObservabilitySettings

func (*DeploymentObservabilitySettings) ContextValidate ¶ added in v1.3.0

func (m *DeploymentObservabilitySettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment observability settings based on the context it is used

func (*DeploymentObservabilitySettings) MarshalBinary ¶ added in v1.1.0

func (m *DeploymentObservabilitySettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentObservabilitySettings) UnmarshalBinary ¶ added in v1.1.0

func (m *DeploymentObservabilitySettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentObservabilitySettings) Validate ¶ added in v1.1.0

Validate validates this deployment observability settings

type DeploymentResource ¶

type DeploymentResource struct {

	// An encoded string that provides other Elastic services with the necessary information to connect to this Elasticsearch and Kibana
	CloudID string `json:"cloud_id,omitempty"`

	// Credentials for logging into a created resource. Only provided on initial create and absent otherwise.
	Credentials *ClusterCredentials `json:"credentials,omitempty"`

	// The Elasticsearch cluster that this resource depends on.
	ElasticsearchClusterRefID string `json:"elasticsearch_cluster_ref_id,omitempty"`

	// A system-unique id for the created resource
	// Required: true
	ID *string `json:"id"`

	// The kind of resource
	// Required: true
	Kind *string `json:"kind"`

	// A locally-unique friendly alias for this Elasticsearch cluster
	// Required: true
	RefID *string `json:"ref_id"`

	// Identifier of the region in which this resource runs.
	// Required: true
	Region *string `json:"region"`

	// Secret token for using a created resource. Only provided on initial create and absent otherwise.
	SecretToken string `json:"secret_token,omitempty"`

	// List of warnings generated from validating resource updates
	Warnings []*ReplyWarning `json:"warnings"`
}

DeploymentResource Data for a deployment resource

swagger:model DeploymentResource

func (*DeploymentResource) ContextValidate ¶ added in v1.3.0

func (m *DeploymentResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment resource based on the context it is used

func (*DeploymentResource) MarshalBinary ¶

func (m *DeploymentResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentResource) UnmarshalBinary ¶

func (m *DeploymentResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentResource) Validate ¶

func (m *DeploymentResource) Validate(formats strfmt.Registry) error

Validate validates this deployment resource

type DeploymentResourceCommandResponse ¶

type DeploymentResourceCommandResponse struct {

	// List of warnings generated from validating command
	Warnings []*ReplyWarning `json:"warnings"`
}

DeploymentResourceCommandResponse Response returned when a command is successfully issued against a given Deployment resource

swagger:model DeploymentResourceCommandResponse

func (*DeploymentResourceCommandResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentResourceCommandResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment resource command response based on the context it is used

func (*DeploymentResourceCommandResponse) MarshalBinary ¶ added in v1.1.0

func (m *DeploymentResourceCommandResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentResourceCommandResponse) UnmarshalBinary ¶ added in v1.1.0

func (m *DeploymentResourceCommandResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentResourceCommandResponse) Validate ¶ added in v1.1.0

Validate validates this deployment resource command response

type DeploymentResourceCrudResponse ¶

type DeploymentResourceCrudResponse struct {

	// The id of the deployment
	// Required: true
	ID *string `json:"id"`

	// The kind of the stateless resource
	// Required: true
	Kind *string `json:"kind"`

	// The reference id of the resource
	// Required: true
	RefID *string `json:"ref_id"`
}

DeploymentResourceCrudResponse A response returned from the Deployment Resource endpoints

swagger:model DeploymentResourceCrudResponse

func (*DeploymentResourceCrudResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentResourceCrudResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment resource crud response based on context it is used

func (*DeploymentResourceCrudResponse) MarshalBinary ¶

func (m *DeploymentResourceCrudResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentResourceCrudResponse) UnmarshalBinary ¶

func (m *DeploymentResourceCrudResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentResourceCrudResponse) Validate ¶

func (m *DeploymentResourceCrudResponse) Validate(formats strfmt.Registry) error

Validate validates this deployment resource crud response

type DeploymentResourceUpgradeResponse ¶

type DeploymentResourceUpgradeResponse struct {

	// resource id
	// Required: true
	ResourceID *string `json:"resource_id"`

	// stack version
	// Required: true
	StackVersion *string `json:"stack_version"`
}

DeploymentResourceUpgradeResponse deployment resource upgrade response

swagger:model DeploymentResourceUpgradeResponse

func (*DeploymentResourceUpgradeResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentResourceUpgradeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment resource upgrade response based on context it is used

func (*DeploymentResourceUpgradeResponse) MarshalBinary ¶

func (m *DeploymentResourceUpgradeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentResourceUpgradeResponse) UnmarshalBinary ¶

func (m *DeploymentResourceUpgradeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentResourceUpgradeResponse) Validate ¶

Validate validates this deployment resource upgrade response

type DeploymentResources ¶

type DeploymentResources struct {

	// List of Apm resources in your Deployment
	// Required: true
	Apm []*ApmResourceInfo `json:"apm"`

	// List of App Search resources in your Deployment
	// Required: true
	Appsearch []*AppSearchResourceInfo `json:"appsearch"`

	// List of Elasticsearch resources in your Deployment
	// Required: true
	Elasticsearch []*ElasticsearchResourceInfo `json:"elasticsearch"`

	// List of Enterprise Search resources in your Deployment
	// Required: true
	EnterpriseSearch []*EnterpriseSearchResourceInfo `json:"enterprise_search"`

	// List of Integrations Server resources in your Deployment
	// Required: true
	IntegrationsServer []*IntegrationsServerResourceInfo `json:"integrations_server"`

	// List of Kibana resources in your Deployment
	// Required: true
	Kibana []*KibanaResourceInfo `json:"kibana"`
}

DeploymentResources Describes a resource belonging to a Deployment

swagger:model DeploymentResources

func (*DeploymentResources) ContextValidate ¶ added in v1.3.0

func (m *DeploymentResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment resources based on the context it is used

func (*DeploymentResources) MarshalBinary ¶

func (m *DeploymentResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentResources) UnmarshalBinary ¶

func (m *DeploymentResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentResources) Validate ¶

func (m *DeploymentResources) Validate(formats strfmt.Registry) error

Validate validates this deployment resources

type DeploymentRestoreResponse ¶

type DeploymentRestoreResponse struct {

	// The id of the deployment
	// Required: true
	ID *string `json:"id"`
}

DeploymentRestoreResponse A response returned from the Deployment restore endpoint

swagger:model DeploymentRestoreResponse

func (*DeploymentRestoreResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentRestoreResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment restore response based on context it is used

func (*DeploymentRestoreResponse) MarshalBinary ¶

func (m *DeploymentRestoreResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentRestoreResponse) UnmarshalBinary ¶

func (m *DeploymentRestoreResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentRestoreResponse) Validate ¶

func (m *DeploymentRestoreResponse) Validate(formats strfmt.Registry) error

Validate validates this deployment restore response

type DeploymentSearchResponse ¶

type DeploymentSearchResponse struct {

	// A user-defined deployment alias for user-friendly resource URLs
	Alias string `json:"alias,omitempty"`

	// Whether the deployment is overall healthy or not (one or more of the resource info subsections will have healthy: false)
	// Required: true
	Healthy *bool `json:"healthy"`

	// A randomly-generated id of this Deployment
	// Required: true
	ID *string `json:"id"`

	// Additional information about this deployment
	Metadata *DeploymentMetadata `json:"metadata,omitempty"`

	// The name of this deployment
	// Required: true
	Name *string `json:"name"`

	// The Resources that belong to this Deployment
	// Required: true
	Resources *DeploymentResources `json:"resources"`

	// Additional configuration for this Deployment
	Settings *DeploymentSettings `json:"settings,omitempty"`
}

DeploymentSearchResponse Describes a searched Deployment

swagger:model DeploymentSearchResponse

func (*DeploymentSearchResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentSearchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment search response based on the context it is used

func (*DeploymentSearchResponse) MarshalBinary ¶

func (m *DeploymentSearchResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentSearchResponse) UnmarshalBinary ¶

func (m *DeploymentSearchResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentSearchResponse) Validate ¶

func (m *DeploymentSearchResponse) Validate(formats strfmt.Registry) error

Validate validates this deployment search response

type DeploymentSettings ¶

type DeploymentSettings struct {

	// If autoscaling is enabled for this deployment.
	AutoscalingEnabled *bool `json:"autoscaling_enabled,omitempty"`

	// Logging and monitoring settings for this deployment.
	Observability *DeploymentObservabilitySettings `json:"observability,omitempty"`

	// The traffic filter rulesets for this deployment.
	TrafficFilterSettings *TrafficFilterSettings `json:"traffic_filter_settings,omitempty"`
}

DeploymentSettings Additional configuration about the current deployment object.

swagger:model DeploymentSettings

func (*DeploymentSettings) ContextValidate ¶ added in v1.3.0

func (m *DeploymentSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment settings based on the context it is used

func (*DeploymentSettings) MarshalBinary ¶

func (m *DeploymentSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentSettings) UnmarshalBinary ¶

func (m *DeploymentSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentSettings) Validate ¶

func (m *DeploymentSettings) Validate(formats strfmt.Registry) error

Validate validates this deployment settings

type DeploymentShutdownResponse ¶

type DeploymentShutdownResponse struct {

	// The id of the deployment
	// Required: true
	ID *string `json:"id"`

	// The name of the deployment
	// Required: true
	Name *string `json:"name"`

	// Details about orphaned resources
	Orphaned *Orphaned `json:"orphaned,omitempty"`
}

DeploymentShutdownResponse A response returned from the Deployment shutdown endpoint

swagger:model DeploymentShutdownResponse

func (*DeploymentShutdownResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentShutdownResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment shutdown response based on the context it is used

func (*DeploymentShutdownResponse) MarshalBinary ¶

func (m *DeploymentShutdownResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentShutdownResponse) UnmarshalBinary ¶

func (m *DeploymentShutdownResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentShutdownResponse) Validate ¶

func (m *DeploymentShutdownResponse) Validate(formats strfmt.Registry) error

Validate validates this deployment shutdown response

type DeploymentTemplateInfoV2 ¶

type DeploymentTemplateInfoV2 struct {

	// The body of the deployment template to use for creating a deployment.
	// Required: true
	DeploymentTemplate *DeploymentCreateRequest `json:"deployment_template"`

	// An optional description for the template.
	Description string `json:"description,omitempty"`

	// Whether or not the deployment template is hidden by default.
	Hidden *bool `json:"hidden,omitempty"`

	// The unique identifier for the template.
	// Required: true
	ID *string `json:"id"`

	// List of instance configurations used in the cluster template.
	// Required: true
	InstanceConfigurations []*InstanceConfigurationInfo `json:"instance_configurations"`

	// The Kibana Deeplink for this type of deployment.
	KibanaDeeplink []*KibanaDeeplink `json:"kibana_deeplink"`

	// Optional arbitrary metadata to associate with this template.
	Metadata []*MetadataItem `json:"metadata"`

	// Minimum stack version required by this template, if any.
	MinVersion string `json:"min_version,omitempty"`

	// A human readable name for the template.
	// Required: true
	Name *string `json:"name"`

	// Determines the order in which this template should be returned when listed. Templates are returned in ascending order. If not specified, then the template willbe appended to the end of the list.
	Order *int32 `json:"order,omitempty"`

	// Information describing the source that created or modified the template.
	Source *ChangeSourceInfo `json:"source,omitempty"`

	// Whether or not if this is system owned template.
	SystemOwned *bool `json:"system_owned,omitempty"`

	// Provider and version agnostic template identifier used for grouping related template types.
	TemplateCategoryID string `json:"template_category_id,omitempty"`
}

DeploymentTemplateInfoV2 Deployment template detailed information

swagger:model DeploymentTemplateInfoV2

func (*DeploymentTemplateInfoV2) ContextValidate ¶ added in v1.3.0

func (m *DeploymentTemplateInfoV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment template info v2 based on the context it is used

func (*DeploymentTemplateInfoV2) MarshalBinary ¶

func (m *DeploymentTemplateInfoV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentTemplateInfoV2) UnmarshalBinary ¶

func (m *DeploymentTemplateInfoV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentTemplateInfoV2) Validate ¶

func (m *DeploymentTemplateInfoV2) Validate(formats strfmt.Registry) error

Validate validates this deployment template info v2

type DeploymentTemplateReference ¶

type DeploymentTemplateReference struct {

	// The unique identifier of the deployment template
	// Required: true
	ID *string `json:"id"`

	// A version identifier to disambiguate multiple revisions of the same template
	Version string `json:"version,omitempty"`
}

DeploymentTemplateReference Specifies the deployment template used to create the plan.

swagger:model DeploymentTemplateReference

func (*DeploymentTemplateReference) ContextValidate ¶ added in v1.3.0

func (m *DeploymentTemplateReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment template reference based on context it is used

func (*DeploymentTemplateReference) MarshalBinary ¶

func (m *DeploymentTemplateReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentTemplateReference) UnmarshalBinary ¶

func (m *DeploymentTemplateReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentTemplateReference) Validate ¶

func (m *DeploymentTemplateReference) Validate(formats strfmt.Registry) error

Validate validates this deployment template reference

type DeploymentTemplateRequestBody ¶

type DeploymentTemplateRequestBody struct {

	// The body of the deployment template to use for creating a deployment.
	// Required: true
	DeploymentTemplate *DeploymentCreateRequest `json:"deployment_template"`

	// An optional description for the template.
	Description string `json:"description,omitempty"`

	// Whether or not the deployment template is hidden by default.
	Hidden *bool `json:"hidden,omitempty"`

	// The Kibana Deeplink for this type of deployment.
	KibanaDeeplink []*KibanaDeeplink `json:"kibana_deeplink"`

	// Optional arbitrary metadata to associate with this template.
	Metadata []*MetadataItem `json:"metadata"`

	// Minimum stack version required by this template, if any.
	MinVersion string `json:"min_version,omitempty"`

	// A human readable name for the template.
	// Required: true
	Name *string `json:"name"`

	// Determines the order in which this template should be returned when listed. Templates are returned in ascending order. If not specified, then the template willbe appended to the end of the list.
	Order *int32 `json:"order,omitempty"`

	// Whether or not if this is system owned template.
	SystemOwned *bool `json:"system_owned,omitempty"`

	// Provider and version agnostic template identifier used for grouping related template types.
	TemplateCategoryID string `json:"template_category_id,omitempty"`
}

DeploymentTemplateRequestBody Request body to create or update a Deployment Template

swagger:model DeploymentTemplateRequestBody

func (*DeploymentTemplateRequestBody) ContextValidate ¶ added in v1.3.0

func (m *DeploymentTemplateRequestBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment template request body based on the context it is used

func (*DeploymentTemplateRequestBody) MarshalBinary ¶

func (m *DeploymentTemplateRequestBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentTemplateRequestBody) UnmarshalBinary ¶

func (m *DeploymentTemplateRequestBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentTemplateRequestBody) Validate ¶

func (m *DeploymentTemplateRequestBody) Validate(formats strfmt.Registry) error

Validate validates this deployment template request body

type DeploymentUpdateMetadata ¶

type DeploymentUpdateMetadata struct {

	// Whether or not this deployment is hidden from the normal deployment list
	Hidden *bool `json:"hidden,omitempty"`

	// Indicates if a deployment is system owned (restricts the set of operations that can be performed on it)
	SystemOwned *bool `json:"system_owned,omitempty"`

	// Arbitrary user-defined metadata associated with this deployment
	Tags []*MetadataItem `json:"tags"`
}

DeploymentUpdateMetadata Additional information about the current deployment object.

swagger:model DeploymentUpdateMetadata

func (*DeploymentUpdateMetadata) ContextValidate ¶ added in v1.3.0

func (m *DeploymentUpdateMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment update metadata based on the context it is used

func (*DeploymentUpdateMetadata) MarshalBinary ¶

func (m *DeploymentUpdateMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentUpdateMetadata) UnmarshalBinary ¶

func (m *DeploymentUpdateMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentUpdateMetadata) Validate ¶

func (m *DeploymentUpdateMetadata) Validate(formats strfmt.Registry) error

Validate validates this deployment update metadata

type DeploymentUpdateRequest ¶

type DeploymentUpdateRequest struct {

	// A user-defined alias to use in place of Cluster IDs for user-friendly URLs
	Alias string `json:"alias,omitempty"`

	// Any new information about the current deployment object. If there is no new information the value is unchanged.
	Metadata *DeploymentUpdateMetadata `json:"metadata,omitempty"`

	// A new name for the deployment, otherwise stays the same.
	Name string `json:"name,omitempty"`

	// Whether or not to prune orphan resources that are no longer mentioned in this request. Note that resourcesare tracked by ref_id, and if a resource's ref_id is changed, any previous running resources created with that previousref_id are considered to be orphaned as well.
	// Required: true
	PruneOrphans *bool `json:"prune_orphans"`

	// New information about the Resources that will have this Deployment, otherwise they stay the same
	Resources *DeploymentUpdateResources `json:"resources,omitempty"`

	// Any new configuration for the current deployment object. If there is no new configuration the value is unchanged.
	Settings *DeploymentUpdateSettings `json:"settings,omitempty"`
}

DeploymentUpdateRequest A request for updating a Deployment consisting of multiple resources

swagger:model DeploymentUpdateRequest

func (*DeploymentUpdateRequest) ContextValidate ¶ added in v1.3.0

func (m *DeploymentUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment update request based on the context it is used

func (*DeploymentUpdateRequest) MarshalBinary ¶

func (m *DeploymentUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentUpdateRequest) UnmarshalBinary ¶

func (m *DeploymentUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentUpdateRequest) Validate ¶

func (m *DeploymentUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this deployment update request

type DeploymentUpdateResources ¶

type DeploymentUpdateResources struct {

	// A list of payloads for APM updates
	Apm []*ApmPayload `json:"apm"`

	// A list of payloads for AppSearch updates. AppSearch has been replaced by Enterprise Search in the Elastic Stack 7.7 and higher
	Appsearch []*AppSearchPayload `json:"appsearch"`

	// A list of payloads for Elasticsearch cluster updates
	Elasticsearch []*ElasticsearchPayload `json:"elasticsearch"`

	// A list of payloads for Enterprise Search updates
	EnterpriseSearch []*EnterpriseSearchPayload `json:"enterprise_search"`

	// A list of payloads for Integrations Server updates
	IntegrationsServer []*IntegrationsServerPayload `json:"integrations_server"`

	// A list of payloads for Kibana updates
	Kibana []*KibanaPayload `json:"kibana"`
}

DeploymentUpdateResources Describes the Deployment resource updates

swagger:model DeploymentUpdateResources

func (*DeploymentUpdateResources) ContextValidate ¶ added in v1.3.0

func (m *DeploymentUpdateResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment update resources based on the context it is used

func (*DeploymentUpdateResources) MarshalBinary ¶

func (m *DeploymentUpdateResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentUpdateResources) UnmarshalBinary ¶

func (m *DeploymentUpdateResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentUpdateResources) Validate ¶

func (m *DeploymentUpdateResources) Validate(formats strfmt.Registry) error

Validate validates this deployment update resources

type DeploymentUpdateResponse ¶

type DeploymentUpdateResponse struct {

	// A user-defined alias to use in place of ResourceIds for user-friendly resource URLs
	Alias string `json:"alias,omitempty"`

	// Backend diagnostics. Sent if validation is requested.
	Diagnostics *DeploymentDiagnostics `json:"diagnostics,omitempty"`

	// The id of the deployment
	// Required: true
	ID *string `json:"id"`

	// The name of the deployment
	// Required: true
	Name *string `json:"name"`

	// List of resources that are part of the deployment after the update operation.
	// Required: true
	Resources []*DeploymentResource `json:"resources"`

	// List of resources that have been shut down
	ShutdownResources *Orphaned `json:"shutdown_resources,omitempty"`
}

DeploymentUpdateResponse A response returned from the Deployment update endpoint

swagger:model DeploymentUpdateResponse

func (*DeploymentUpdateResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentUpdateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment update response based on the context it is used

func (*DeploymentUpdateResponse) MarshalBinary ¶

func (m *DeploymentUpdateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentUpdateResponse) UnmarshalBinary ¶

func (m *DeploymentUpdateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentUpdateResponse) Validate ¶

func (m *DeploymentUpdateResponse) Validate(formats strfmt.Registry) error

Validate validates this deployment update response

type DeploymentUpdateSettings ¶ added in v1.1.0

type DeploymentUpdateSettings struct {

	// Enable autoscaling for this deployment.
	AutoscalingEnabled *bool `json:"autoscaling_enabled,omitempty"`

	// Logging and monitoring settings for this deployment. If provided it will change observability settings, if null observability will be removed from the deployment, otherwise will stay the same
	Observability *DeploymentObservabilitySettings `json:"observability,omitempty"`
}

DeploymentUpdateSettings Additional configuration for the new deployment object.

swagger:model DeploymentUpdateSettings

func (*DeploymentUpdateSettings) ContextValidate ¶ added in v1.3.0

func (m *DeploymentUpdateSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment update settings based on the context it is used

func (*DeploymentUpdateSettings) MarshalBinary ¶ added in v1.1.0

func (m *DeploymentUpdateSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentUpdateSettings) UnmarshalBinary ¶ added in v1.1.0

func (m *DeploymentUpdateSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentUpdateSettings) Validate ¶ added in v1.1.0

func (m *DeploymentUpdateSettings) Validate(formats strfmt.Registry) error

Validate validates this deployment update settings

type DeploymentUpgradeAssistantStatusResponse ¶ added in v1.8.0

type DeploymentUpgradeAssistantStatusResponse struct {

	// Message with information about the number of Elasticsearch and Kibana deprecations
	// Required: true
	Details *string `json:"details"`

	// A boolean indicating whether or not the cluster is ready to be upgraded
	// Required: true
	ReadyForUpgrade *bool `json:"ready_for_upgrade"`
}

DeploymentUpgradeAssistantStatusResponse The status of your cluster and its readiness to be upgraded

swagger:model DeploymentUpgradeAssistantStatusResponse

func (*DeploymentUpgradeAssistantStatusResponse) ContextValidate ¶ added in v1.8.0

ContextValidate validates this deployment upgrade assistant status response based on context it is used

func (*DeploymentUpgradeAssistantStatusResponse) MarshalBinary ¶ added in v1.8.0

func (m *DeploymentUpgradeAssistantStatusResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentUpgradeAssistantStatusResponse) UnmarshalBinary ¶ added in v1.8.0

func (m *DeploymentUpgradeAssistantStatusResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentUpgradeAssistantStatusResponse) Validate ¶ added in v1.8.0

Validate validates this deployment upgrade assistant status response

type DeploymentsCosts ¶ added in v1.5.0

type DeploymentsCosts struct {

	// Costs of the list of deployments
	// Required: true
	Deployments []*DeploymentCosts `json:"deployments"`

	// Total cost for all deployments
	// Required: true
	TotalCost *float64 `json:"total_cost"`
}

DeploymentsCosts Costs associated to a set of deployments for an organization. All of the costs are expressed in Elastic Consumption Unit (ECU).

swagger:model DeploymentsCosts

func (*DeploymentsCosts) ContextValidate ¶ added in v1.5.0

func (m *DeploymentsCosts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployments costs based on the context it is used

func (*DeploymentsCosts) MarshalBinary ¶ added in v1.5.0

func (m *DeploymentsCosts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentsCosts) UnmarshalBinary ¶ added in v1.5.0

func (m *DeploymentsCosts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentsCosts) Validate ¶ added in v1.5.0

func (m *DeploymentsCosts) Validate(formats strfmt.Registry) error

Validate validates this deployments costs

type DeploymentsListResponse ¶

type DeploymentsListResponse struct {

	// The deployments
	// Required: true
	Deployments []*DeploymentsListingData `json:"deployments"`
}

DeploymentsListResponse Contains a list of deployments

swagger:model DeploymentsListResponse

func (*DeploymentsListResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentsListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployments list response based on the context it is used

func (*DeploymentsListResponse) MarshalBinary ¶

func (m *DeploymentsListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentsListResponse) UnmarshalBinary ¶

func (m *DeploymentsListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentsListResponse) Validate ¶

func (m *DeploymentsListResponse) Validate(formats strfmt.Registry) error

Validate validates this deployments list response

type DeploymentsListingData ¶

type DeploymentsListingData struct {

	// The id of this deployment
	// Required: true
	ID *string `json:"id"`

	// The name of this deployment
	// Required: true
	Name *string `json:"name"`

	// List of resources in this deployment
	// Required: true
	Resources []*DeploymentResource `json:"resources"`
}

DeploymentsListingData deployments listing data

swagger:model DeploymentsListingData

func (*DeploymentsListingData) ContextValidate ¶ added in v1.3.0

func (m *DeploymentsListingData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployments listing data based on the context it is used

func (*DeploymentsListingData) MarshalBinary ¶

func (m *DeploymentsListingData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentsListingData) UnmarshalBinary ¶

func (m *DeploymentsListingData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentsListingData) Validate ¶

func (m *DeploymentsListingData) Validate(formats strfmt.Registry) error

Validate validates this deployments listing data

type DeploymentsSearchResponse ¶

type DeploymentsSearchResponse struct {

	// deployments
	// Required: true
	Deployments []*DeploymentSearchResponse `json:"deployments"`

	// If a query is supplied, then the total number of deployments that matched
	MatchCount int32 `json:"match_count,omitempty"`

	// The number of deployments actually returned
	// Required: true
	ReturnCount *int32 `json:"return_count"`
}

DeploymentsSearchResponse Contains a list of Deployments as result of a search request.

swagger:model DeploymentsSearchResponse

func (*DeploymentsSearchResponse) ContextValidate ¶ added in v1.3.0

func (m *DeploymentsSearchResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployments search response based on the context it is used

func (*DeploymentsSearchResponse) MarshalBinary ¶

func (m *DeploymentsSearchResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentsSearchResponse) UnmarshalBinary ¶

func (m *DeploymentsSearchResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentsSearchResponse) Validate ¶

func (m *DeploymentsSearchResponse) Validate(formats strfmt.Registry) error

Validate validates this deployments search response

type Dimension ¶ added in v1.10.0

type Dimension struct {

	// The cost of the billing dimension
	// Required: true
	Cost *float64 `json:"cost"`

	// The type of the billing dimension
	// Required: true
	// Enum: [capacity data_in data_internode data_out storage_api storage_bytes]
	Type *string `json:"type"`
}

Dimension Billing dimension

swagger:model Dimension

func (*Dimension) ContextValidate ¶ added in v1.10.0

func (m *Dimension) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dimension based on context it is used

func (*Dimension) MarshalBinary ¶ added in v1.10.0

func (m *Dimension) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Dimension) UnmarshalBinary ¶ added in v1.10.0

func (m *Dimension) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Dimension) Validate ¶ added in v1.10.0

func (m *Dimension) Validate(formats strfmt.Registry) error

Validate validates this dimension

type DirectTrustRelationship ¶ added in v1.10.0

type DirectTrustRelationship struct {

	// A list of node names trusted in addition to those deducible from trust_allowlist and scope id. Allows trusting nodes that don't have a scoped name at the cost of maintaining the list. Mandatory if scope id is not defined. Wildcards are not allowed.
	AdditionalNodeNames []string `json:"additional_node_names"`

	// The public ca certificate(s) to trust. Only one is required, but it is possible to specify multiple certificates in order to facilitate key rotation.
	// Required: true
	Certificates []*TrustedCertificate `json:"certificates"`

	// a human readable name of the trust relationship
	// Required: true
	Name *string `json:"name"`

	// A lowercase alphanumerical string of max 32 characters. Usually an organization id or an environment id, but could really be any suitable suffix for clusters using the CA certificate of this trust. Required unless trust_all is false and trust_allowlist is empty.
	// Example: abc123
	ScopeID string `json:"scope_id,omitempty"`

	// If true, scope_id is required and the `trust_allowlist` is ignored and all clusters matching the scope id will be trusted.
	// Required: true
	TrustAll *bool `json:"trust_all"`

	// The list of clusters with matching scope to trust. Only used when `trust_all` is false. Providing one or more clusters makes scope_id mandatory.
	TrustAllowlist []string `json:"trust_allowlist"`

	// The type can either be ESS, ECE, generic or proxy. If none is specified, then generic is assumed. If proxy is specified, trust_all should be false and trust_allowlist, scope_id and additional_node_names should be omitted.
	// Enum: [ECE ESS generic proxy]
	Type string `json:"type,omitempty"`

	// Auto generated identifier for this trust, allows distinguishing between update vs remove and add.
	UID string `json:"uid,omitempty"`
}

DirectTrustRelationship The trust relationship with entities trusted directly having their certificate bundled together with the trust settings.

swagger:model DirectTrustRelationship

func (*DirectTrustRelationship) ContextValidate ¶ added in v1.10.0

func (m *DirectTrustRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this direct trust relationship based on the context it is used

func (*DirectTrustRelationship) MarshalBinary ¶ added in v1.10.0

func (m *DirectTrustRelationship) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DirectTrustRelationship) UnmarshalBinary ¶ added in v1.10.0

func (m *DirectTrustRelationship) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DirectTrustRelationship) Validate ¶ added in v1.10.0

func (m *DirectTrustRelationship) Validate(formats strfmt.Registry) error

Validate validates this direct trust relationship

type DiscreteSizes ¶

type DiscreteSizes struct {

	// The default size
	DefaultSize int32 `json:"default_size,omitempty"`

	// The unit that each size represents. If not specified, it will default to 'memory'.
	// Enum: [memory storage]
	Resource string `json:"resource,omitempty"`

	// List of supported sizes
	// Required: true
	Sizes []int32 `json:"sizes"`
}

DiscreteSizes Instance sizes that are supported by the Elasticsearch instance, Kibana instance, or APM Server configuration.

swagger:model DiscreteSizes

func (*DiscreteSizes) ContextValidate ¶ added in v1.3.0

func (m *DiscreteSizes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this discrete sizes based on context it is used

func (*DiscreteSizes) MarshalBinary ¶

func (m *DiscreteSizes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DiscreteSizes) UnmarshalBinary ¶

func (m *DiscreteSizes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DiscreteSizes) Validate ¶

func (m *DiscreteSizes) Validate(formats strfmt.Registry) error

Validate validates this discrete sizes

type DtsDimensionCosts ¶ added in v1.5.0

type DtsDimensionCosts struct {

	// Costs associated to the Data Transfer and Storage (DTS) dimensions for an organization
	// Required: true
	Cost *float64 `json:"cost"`

	// DTS dimension name
	// Required: true
	Name *string `json:"name"`

	// DTS usage
	// Required: true
	Quantity *DtsQuantity `json:"quantity"`

	// Cost per unit
	// Required: true
	Rate *DtsRate `json:"rate"`

	// DTS dimension Stock Keeping Unit (SKU)
	// Required: true
	Sku *string `json:"sku"`

	// Type of the DTS dimension usage
	// Required: true
	Type *string `json:"type"`
}

DtsDimensionCosts The costs associated to a Data Transfer and Storage (DTS) dimension for an organization. All of the costs, credits, and trials are expressed in Elastic Consumption Units (ECU).

swagger:model DtsDimensionCosts

func (*DtsDimensionCosts) ContextValidate ¶ added in v1.5.0

func (m *DtsDimensionCosts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dts dimension costs based on the context it is used

func (*DtsDimensionCosts) MarshalBinary ¶ added in v1.5.0

func (m *DtsDimensionCosts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DtsDimensionCosts) UnmarshalBinary ¶ added in v1.5.0

func (m *DtsDimensionCosts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DtsDimensionCosts) Validate ¶ added in v1.5.0

func (m *DtsDimensionCosts) Validate(formats strfmt.Registry) error

Validate validates this dts dimension costs

type DtsQuantity ¶ added in v1.5.0

type DtsQuantity struct {

	// Quantity in human readable format
	// Required: true
	FormattedValue *string `json:"formatted_value"`

	// Raw quantity
	// Required: true
	Value *int64 `json:"value"`
}

DtsQuantity DTS quantity

swagger:model DtsQuantity

func (*DtsQuantity) ContextValidate ¶ added in v1.5.0

func (m *DtsQuantity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dts quantity based on context it is used

func (*DtsQuantity) MarshalBinary ¶ added in v1.5.0

func (m *DtsQuantity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DtsQuantity) UnmarshalBinary ¶ added in v1.5.0

func (m *DtsQuantity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DtsQuantity) Validate ¶ added in v1.5.0

func (m *DtsQuantity) Validate(formats strfmt.Registry) error

Validate validates this dts quantity

type DtsRate ¶ added in v1.5.0

type DtsRate struct {

	// Rate in human readable format
	// Required: true
	FormattedValue *string `json:"formatted_value"`

	// Raw rate
	// Required: true
	Value *float64 `json:"value"`
}

DtsRate DTS Rate

swagger:model DtsRate

func (*DtsRate) ContextValidate ¶ added in v1.5.0

func (m *DtsRate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dts rate based on context it is used

func (*DtsRate) MarshalBinary ¶ added in v1.5.0

func (m *DtsRate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DtsRate) UnmarshalBinary ¶ added in v1.5.0

func (m *DtsRate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DtsRate) Validate ¶ added in v1.5.0

func (m *DtsRate) Validate(formats strfmt.Registry) error

Validate validates this dts rate

type Elasticsearch ¶

type Elasticsearch struct {

	// The backend plan as JSON
	// Required: true
	BackendPlan interface{} `json:"backend_plan"`

	// The human readable name for the cluster (defaults to the generated cluster id if not specified)
	// Required: true
	DisplayName *string `json:"display_name"`

	// A locally-unique user-specified id
	// Required: true
	RefID *string `json:"ref_id"`
}

Elasticsearch Holds diagnostics for an Elasticsearch cluster

swagger:model Elasticsearch

func (*Elasticsearch) ContextValidate ¶ added in v1.3.0

func (m *Elasticsearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch based on context it is used

func (*Elasticsearch) MarshalBinary ¶

func (m *Elasticsearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Elasticsearch) UnmarshalBinary ¶

func (m *Elasticsearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Elasticsearch) Validate ¶

func (m *Elasticsearch) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch

type ElasticsearchBlockingIssueElement ¶ added in v1.10.0

type ElasticsearchBlockingIssueElement struct {

	// Description of the block
	// Required: true
	Description *string `json:"description"`

	// Applicable level for the block. Either global ie. cluster-wide or index level
	// Required: true
	// Enum: [index global]
	Level *string `json:"level"`
}

ElasticsearchBlockingIssueElement Information about index or cluster blocks

swagger:model ElasticsearchBlockingIssueElement

func (*ElasticsearchBlockingIssueElement) ContextValidate ¶ added in v1.10.0

func (m *ElasticsearchBlockingIssueElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch blocking issue element based on context it is used

func (*ElasticsearchBlockingIssueElement) MarshalBinary ¶ added in v1.10.0

func (m *ElasticsearchBlockingIssueElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchBlockingIssueElement) UnmarshalBinary ¶ added in v1.10.0

func (m *ElasticsearchBlockingIssueElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchBlockingIssueElement) Validate ¶ added in v1.10.0

Validate validates this elasticsearch blocking issue element

type ElasticsearchBlockingIssues ¶ added in v1.10.0

type ElasticsearchBlockingIssues struct {

	// A list of blocks that affect the availability of the cluster
	// Required: true
	Blocks []*ElasticsearchBlockingIssueElement `json:"blocks"`

	// Whether the cluster has issues (false) or not (true)
	// Required: true
	Healthy *bool `json:"healthy"`
}

ElasticsearchBlockingIssues Issues that prevent the Elasticsearch cluster or index from correctly operating.

swagger:model ElasticsearchBlockingIssues

func (*ElasticsearchBlockingIssues) ContextValidate ¶ added in v1.10.0

func (m *ElasticsearchBlockingIssues) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch blocking issues based on the context it is used

func (*ElasticsearchBlockingIssues) MarshalBinary ¶ added in v1.10.0

func (m *ElasticsearchBlockingIssues) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchBlockingIssues) UnmarshalBinary ¶ added in v1.10.0

func (m *ElasticsearchBlockingIssues) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchBlockingIssues) Validate ¶ added in v1.10.0

func (m *ElasticsearchBlockingIssues) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch blocking issues

type ElasticsearchClusterBlockingIssueElement ¶

type ElasticsearchClusterBlockingIssueElement struct {

	// Description of the issue
	// Required: true
	Description *string `json:"description"`

	// A list of instances that are affected by the issue
	// Required: true
	Instances []string `json:"instances"`
}

ElasticsearchClusterBlockingIssueElement > WARNING > This endpoint is deprecated and scheduled to be removed in the next major version. Use `blocks` in `cluster_blocking_issues` instead

Information about an issue and the Elasticsearch instance it affects.

swagger:model ElasticsearchClusterBlockingIssueElement

func (*ElasticsearchClusterBlockingIssueElement) ContextValidate ¶ added in v1.3.0

ContextValidate validates this elasticsearch cluster blocking issue element based on context it is used

func (*ElasticsearchClusterBlockingIssueElement) MarshalBinary ¶

func (m *ElasticsearchClusterBlockingIssueElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterBlockingIssueElement) UnmarshalBinary ¶

func (m *ElasticsearchClusterBlockingIssueElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterBlockingIssueElement) Validate ¶

Validate validates this elasticsearch cluster blocking issue element

type ElasticsearchClusterBlockingIssues ¶

type ElasticsearchClusterBlockingIssues struct {

	// A list of issues that affect availability of entire cluster
	// Required: true
	ClusterLevel []*ElasticsearchClusterBlockingIssueElement `json:"cluster_level"`

	// Whether the cluster has issues (false) or not (true)
	// Required: true
	Healthy *bool `json:"healthy"`

	// A list of issues that affect availability of the cluster's indices
	// Required: true
	IndexLevel []*ElasticsearchClusterBlockingIssueElement `json:"index_level"`
}

ElasticsearchClusterBlockingIssues > WARNING > This endpoint is deprecated and scheduled to be removed in the next major version. Use `cluster_blocking_issues` instead

Issues that prevent the Elasticsearch cluster or index from operating correctly.

swagger:model ElasticsearchClusterBlockingIssues

func (*ElasticsearchClusterBlockingIssues) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterBlockingIssues) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch cluster blocking issues based on the context it is used

func (*ElasticsearchClusterBlockingIssues) MarshalBinary ¶

func (m *ElasticsearchClusterBlockingIssues) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterBlockingIssues) UnmarshalBinary ¶

func (m *ElasticsearchClusterBlockingIssues) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterBlockingIssues) Validate ¶

Validate validates this elasticsearch cluster blocking issues

type ElasticsearchClusterInfo ¶

type ElasticsearchClusterInfo struct {

	// associated apm clusters
	// Required: true
	AssociatedApmClusters []*ApmSubInfo `json:"associated_apm_clusters"`

	// associated appsearch clusters
	// Required: true
	AssociatedAppsearchClusters []*AppSearchSubInfo `json:"associated_appsearch_clusters"`

	// associated enterprise search clusters
	// Required: true
	AssociatedEnterpriseSearchClusters []*EnterpriseSearchSubInfo `json:"associated_enterprise_search_clusters"`

	// associated kibana clusters
	// Required: true
	AssociatedKibanaClusters []*KibanaSubClusterInfo `json:"associated_kibana_clusters"`

	// The id of the cluster
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// The name of the cluster
	// Required: true
	ClusterName *string `json:"cluster_name"`

	// The id of the deployment that this Elasticsearch belongs to.
	DeploymentID string `json:"deployment_id,omitempty"`

	// elasticsearch
	// Required: true
	Elasticsearch *ElasticsearchInfo `json:"elasticsearch"`

	// elasticsearch monitoring info
	ElasticsearchMonitoringInfo *ElasticsearchMonitoringInfo `json:"elasticsearch_monitoring_info,omitempty"`

	// External resources related to the cluster
	// Required: true
	// Unique: true
	ExternalLinks []*ExternalHyperlink `json:"external_links"`

	// Whether the cluster is healthy or not (one or more of the info subsections will have healthy: false)
	// Required: true
	Healthy *bool `json:"healthy"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`

	// Whether or not this cluster is locked. Only populated in SaaS.
	Locked *bool `json:"locked,omitempty"`

	// metadata
	// Required: true
	Metadata *ClusterMetadataInfo `json:"metadata"`

	// plan info
	// Required: true
	PlanInfo *ElasticsearchClusterPlansInfo `json:"plan_info"`

	// The region that this cluster belongs to. Only populated in SaaS or federated ECE.
	Region string `json:"region,omitempty"`

	// security
	Security *ElasticsearchClusterSecurityInfo `json:"security,omitempty"`

	// settings
	Settings *ElasticsearchClusterSettings `json:"settings,omitempty"`

	// snapshots
	// Required: true
	Snapshots *SnapshotStatusInfo `json:"snapshots"`

	// Cluster status
	// Required: true
	// Enum: [initializing stopping stopped rebooting restarting reconfiguring started]
	Status *string `json:"status"`

	// List of cluster system alerts
	SystemAlerts []*ClusterSystemAlert `json:"system_alerts"`

	// topology
	// Required: true
	Topology *ClusterTopologyInfo `json:"topology"`
}

ElasticsearchClusterInfo The information for an Elasticsearch cluster.

swagger:model ElasticsearchClusterInfo

func (*ElasticsearchClusterInfo) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch cluster info based on the context it is used

func (*ElasticsearchClusterInfo) MarshalBinary ¶

func (m *ElasticsearchClusterInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterInfo) UnmarshalBinary ¶

func (m *ElasticsearchClusterInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterInfo) Validate ¶

func (m *ElasticsearchClusterInfo) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch cluster info

type ElasticsearchClusterPlan ¶

type ElasticsearchClusterPlan struct {

	// Enable autoscaling for this Elasticsearch cluster.
	AutoscalingEnabled *bool `json:"autoscaling_enabled,omitempty"`

	// cluster topology
	// Required: true
	ClusterTopology []*ElasticsearchClusterTopologyElement `json:"cluster_topology"`

	// Documents which deployment template was used in the creation of this plan
	DeploymentTemplate *DeploymentTemplateReference `json:"deployment_template,omitempty"`

	// elasticsearch
	// Required: true
	Elasticsearch *ElasticsearchConfiguration `json:"elasticsearch"`

	// transient
	Transient *TransientElasticsearchPlanConfiguration `json:"transient,omitempty"`
}

ElasticsearchClusterPlan The plan for the Elasticsearch cluster.

swagger:model ElasticsearchClusterPlan

func (*ElasticsearchClusterPlan) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch cluster plan based on the context it is used

func (*ElasticsearchClusterPlan) MarshalBinary ¶

func (m *ElasticsearchClusterPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterPlan) UnmarshalBinary ¶

func (m *ElasticsearchClusterPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterPlan) Validate ¶

func (m *ElasticsearchClusterPlan) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch cluster plan

type ElasticsearchClusterPlanInfo ¶

type ElasticsearchClusterPlanInfo struct {

	// If this plan completed or failed (ie is not pending), when the attempt ended (ISO format in UTC)
	// Format: date-time
	AttemptEndTime strfmt.DateTime `json:"attempt_end_time,omitempty"`

	// When this plan attempt (ie to apply the plan to the cluster) started (ISO format in UTC)
	// Format: date-time
	AttemptStartTime strfmt.DateTime `json:"attempt_start_time,omitempty"`

	// error
	Error *ClusterPlanAttemptError `json:"error,omitempty"`

	// Either the plan ended successfully, or is not yet completed (and no errors have occurred)
	// Required: true
	Healthy *bool `json:"healthy"`

	// plan
	Plan *ElasticsearchClusterPlan `json:"plan,omitempty"`

	// A UUID for each plan attempt
	PlanAttemptID string `json:"plan_attempt_id,omitempty"`

	// plan attempt log
	// Required: true
	PlanAttemptLog []*ClusterPlanStepInfo `json:"plan_attempt_log"`

	// A human readable name for each plan attempt, only populated when retrieving plan histories
	PlanAttemptName string `json:"plan_attempt_name,omitempty"`

	// If this plan is not current or pending, when the plan was no longer active (ISO format in UTC)
	// Format: date-time
	PlanEndTime strfmt.DateTime `json:"plan_end_time,omitempty"`

	// Information describing the source that facilitated the plans current state
	Source *ChangeSourceInfo `json:"source,omitempty"`

	// warnings
	// Required: true
	Warnings []*ClusterPlanWarning `json:"warnings"`
}

ElasticsearchClusterPlanInfo Information about the Elasticsearch cluster plan.

swagger:model ElasticsearchClusterPlanInfo

func (*ElasticsearchClusterPlanInfo) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterPlanInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch cluster plan info based on the context it is used

func (*ElasticsearchClusterPlanInfo) MarshalBinary ¶

func (m *ElasticsearchClusterPlanInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterPlanInfo) UnmarshalBinary ¶

func (m *ElasticsearchClusterPlanInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterPlanInfo) Validate ¶

func (m *ElasticsearchClusterPlanInfo) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch cluster plan info

type ElasticsearchClusterPlansInfo ¶

type ElasticsearchClusterPlansInfo struct {

	// current
	Current *ElasticsearchClusterPlanInfo `json:"current,omitempty"`

	// Whether the plan situation is healthy (if unhealthy, means the last plan attempt failed)
	// Required: true
	Healthy *bool `json:"healthy"`

	// history
	// Required: true
	History []*ElasticsearchClusterPlanInfo `json:"history"`

	// pending
	Pending *ElasticsearchClusterPlanInfo `json:"pending,omitempty"`
}

ElasticsearchClusterPlansInfo Information about the current, pending, and past Elasticsearch cluster plans.

swagger:model ElasticsearchClusterPlansInfo

func (*ElasticsearchClusterPlansInfo) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterPlansInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch cluster plans info based on the context it is used

func (*ElasticsearchClusterPlansInfo) MarshalBinary ¶

func (m *ElasticsearchClusterPlansInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterPlansInfo) UnmarshalBinary ¶

func (m *ElasticsearchClusterPlansInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterPlansInfo) Validate ¶

func (m *ElasticsearchClusterPlansInfo) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch cluster plans info

type ElasticsearchClusterRole ¶

type ElasticsearchClusterRole struct {

	// The list of roles for this user
	// Required: true
	Roles []string `json:"roles"`

	// The username
	// Required: true
	Username *string `json:"username"`
}

ElasticsearchClusterRole The authorization information for an Elasticsearch cluster user.

swagger:model ElasticsearchClusterRole

func (*ElasticsearchClusterRole) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch cluster role based on context it is used

func (*ElasticsearchClusterRole) MarshalBinary ¶

func (m *ElasticsearchClusterRole) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterRole) UnmarshalBinary ¶

func (m *ElasticsearchClusterRole) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterRole) Validate ¶

func (m *ElasticsearchClusterRole) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch cluster role

type ElasticsearchClusterSecurityInfo ¶

type ElasticsearchClusterSecurityInfo struct {

	// The most recent time the security settings were changed (ISO format in UTC)
	// Required: true
	// Format: date-time
	LastModified *strfmt.DateTime `json:"last_modified"`

	// An arbitrarily nested JSON object mapping roles to sets of resources and permissions - see the Elasticsearch security documentation for more details on roles
	// Required: true
	Roles interface{} `json:"roles"`

	// users
	// Required: true
	Users []*ElasticsearchClusterUser `json:"users"`

	// users roles
	// Required: true
	UsersRoles []*ElasticsearchClusterRole `json:"users_roles"`

	// The resource version number of the security settings
	// Required: true
	Version *int32 `json:"version"`
}

ElasticsearchClusterSecurityInfo For 2.x Elasticsearch clusters, specifies the information about the users and roles. For 5.x Elasticsearch clusters, use the Kibana management UI.

swagger:model ElasticsearchClusterSecurityInfo

func (*ElasticsearchClusterSecurityInfo) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterSecurityInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch cluster security info based on the context it is used

func (*ElasticsearchClusterSecurityInfo) MarshalBinary ¶

func (m *ElasticsearchClusterSecurityInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterSecurityInfo) UnmarshalBinary ¶

func (m *ElasticsearchClusterSecurityInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterSecurityInfo) Validate ¶

Validate validates this elasticsearch cluster security info

type ElasticsearchClusterSettings ¶

type ElasticsearchClusterSettings struct {

	// The curation settings for this deployment. When provided, curation settings are changed as specified. A `null` value reverts the field to the default value. Otherwise, all curation settings remain as they were set previously.
	Curation *ClusterCurationSettings `json:"curation,omitempty"`

	// Threshold starting from which the number of instances in the cluster results in the introduction of dedicated masters. If the cluster is downscaled to a number of nodes below this one, dedicated masters will be removed. Limit is inclusive. When provided the threshold setting is updated. A `null` value removes the field. Otherwise, the setting remains as it was set previously.
	DedicatedMastersThreshold int32 `json:"dedicated_masters_threshold,omitempty"`

	// The contents of the Elasticsearch keystore. It's a write only field.
	KeystoreContents *KeystoreContents `json:"keystore_contents,omitempty"`

	// metadata
	Metadata *ClusterMetadataSettings `json:"metadata,omitempty"`

	// The monitoring settings for this deployment. When provided, monitoring settings are changed as specified. A `null` value reverts the field to the default value. Otherwise, all monitoring settings remain as they were set previously.
	Monitoring *ManagedMonitoringSettings `json:"monitoring,omitempty"`

	// The snapshot settings for this deployment. When provided, snapshot settings are changed as specified. A `null` value reverts the field to the default value. Otherwise, all snapshot settings remain as they were set previously.
	Snapshot *ClusterSnapshotSettings `json:"snapshot,omitempty"`

	// The rulesets to apply to all resources in this cluster. When specified, the set of rulesets is updated and the same rulesets will be applied to Kibana and APM clusters as well. If not specified, the rulesets remain as they were set previously.
	TrafficFilter *TrafficFilterSettings `json:"traffic_filter,omitempty"`

	// Configuration of trust with other clusters. When provided, trust settings are changed as specified. A `null` value reverts the field to the default value. Otherwise, all trust settings remain as they were set previously.
	Trust *ElasticsearchClusterTrustSettings `json:"trust,omitempty"`
}

ElasticsearchClusterSettings The settings for an Elasticsearch cluster.

swagger:model ElasticsearchClusterSettings

func (*ElasticsearchClusterSettings) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch cluster settings based on the context it is used

func (*ElasticsearchClusterSettings) MarshalBinary ¶

func (m *ElasticsearchClusterSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterSettings) UnmarshalBinary ¶

func (m *ElasticsearchClusterSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterSettings) Validate ¶

func (m *ElasticsearchClusterSettings) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch cluster settings

type ElasticsearchClusterTopologyElement ¶

type ElasticsearchClusterTopologyElement struct {

	// The maximum size of this topology element when autoscaling is enabled. This property is only supported, and must be provided, for data and ML topology elements.
	AutoscalingMax *TopologySize `json:"autoscaling_max,omitempty"`

	// The minimum size of this topology element when autoscaling is enabled. This property is only supported, and must be provided, for ML topology elements.
	AutoscalingMin *TopologySize `json:"autoscaling_min,omitempty"`

	// An arbitrary JSON object overriding the default autoscaling policy. Don't set unless you really know what you are doing.
	AutoscalingPolicyOverrideJSON interface{} `json:"autoscaling_policy_override_json,omitempty"`

	// Set to true to enable autoscaling for this topology element, even if the cluster-level 'autoscaling_enabled' field is false. Note that 'autoscaling_tier_override' cannot be set to false if cluster-level 'autoscaling_enabled' is true. Currently only supported for the 'ml' tier
	AutoscalingTierOverride *bool `json:"autoscaling_tier_override,omitempty"`

	// elasticsearch
	Elasticsearch *ElasticsearchConfiguration `json:"elasticsearch,omitempty"`

	// Unique identifier of this topology element
	ID string `json:"id,omitempty"`

	// Controls the allocation of this topology element as well as allowed sizes and node_types. It needs to match the id of an existing instance configuration.
	InstanceConfigurationID string `json:"instance_configuration_id,omitempty"`

	// The version of the Instance Configuration Id. If it is unset, the meaning depends on read vs writes. For deployment reads, it is equivalent to version 0 (or the IC is unversioned); for deployment creates and deployment template use, it is equivalent to 'the latest version'; and for deployment updates, it is equivalent to 'retain the current version'.
	InstanceConfigurationVersion *int32 `json:"instance_configuration_version,omitempty"`

	// The memory capacity in MB for each node of this type built in each zone.
	MemoryPerNode int32 `json:"memory_per_node,omitempty"`

	// The number of nodes of this type that are allocated within each zone. (i.e. total capacity per zone = `node_count_per_zone` * `memory_per_node` in MB). Cannot be set for tiebreaker topologies. For dedicated master nodes, must be 1 if an entry exists.
	NodeCountPerZone int32 `json:"node_count_per_zone,omitempty"`

	// The list of node roles for this topology element (ES version >= 7.10). Allowable values are: master, ingest, ml, data_hot, data_content, data_warm, data_cold, data_frozen, remote_cluster_client, transform
	NodeRoles []string `json:"node_roles"`

	// node type
	NodeType *ElasticsearchNodeType `json:"node_type,omitempty"`

	// size
	Size *TopologySize `json:"size,omitempty"`

	// topology element control
	TopologyElementControl *TopologyElementControl `json:"topology_element_control,omitempty"`

	// The default number of zones in which data nodes will be placed
	ZoneCount int32 `json:"zone_count,omitempty"`
}

ElasticsearchClusterTopologyElement The topology of the Elasticsearch nodes, including the number, capacity, and type of nodes, and where they can be allocated.

swagger:model ElasticsearchClusterTopologyElement

func (*ElasticsearchClusterTopologyElement) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterTopologyElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch cluster topology element based on the context it is used

func (*ElasticsearchClusterTopologyElement) MarshalBinary ¶

func (m *ElasticsearchClusterTopologyElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterTopologyElement) UnmarshalBinary ¶

func (m *ElasticsearchClusterTopologyElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterTopologyElement) Validate ¶

Validate validates this elasticsearch cluster topology element

type ElasticsearchClusterTrustSettings ¶ added in v1.1.0

type ElasticsearchClusterTrustSettings struct {

	// The list of trust relationships with different accounts
	Accounts []*AccountTrustRelationship `json:"accounts"`

	// The list of trust relationships where the certificate is bundled with the trust setting. Allows configuring trust for clusters running outside of an Elastic Cloud managed environment or in an Elastic Cloud environment without an environment level trust established.
	Direct []*DirectTrustRelationship `json:"direct"`

	// The list of trust relationships with external entities
	External []*ExternalTrustRelationship `json:"external"`
}

ElasticsearchClusterTrustSettings Configuration of trust with other clusters.

swagger:model ElasticsearchClusterTrustSettings

func (*ElasticsearchClusterTrustSettings) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterTrustSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch cluster trust settings based on the context it is used

func (*ElasticsearchClusterTrustSettings) MarshalBinary ¶ added in v1.1.0

func (m *ElasticsearchClusterTrustSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterTrustSettings) UnmarshalBinary ¶ added in v1.1.0

func (m *ElasticsearchClusterTrustSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterTrustSettings) Validate ¶ added in v1.1.0

Validate validates this elasticsearch cluster trust settings

type ElasticsearchClusterUser ¶

type ElasticsearchClusterUser struct {

	// The hashed password
	// Required: true
	PasswordHash *string `json:"password_hash"`

	// The username
	// Required: true
	Username *string `json:"username"`
}

ElasticsearchClusterUser The information about an Elasticsearch cluster user.

swagger:model ElasticsearchClusterUser

func (*ElasticsearchClusterUser) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchClusterUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch cluster user based on context it is used

func (*ElasticsearchClusterUser) MarshalBinary ¶

func (m *ElasticsearchClusterUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchClusterUser) UnmarshalBinary ¶

func (m *ElasticsearchClusterUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchClusterUser) Validate ¶

func (m *ElasticsearchClusterUser) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch cluster user

type ElasticsearchConfiguration ¶

type ElasticsearchConfiguration struct {

	// Defines the index curation routing for the cluster
	Curation *ElasticsearchCuration `json:"curation,omitempty"`

	// A docker URI that allows overriding of the default docker image specified for this version
	DockerImage string `json:"docker_image,omitempty"`

	// A list of plugin names from the Elastic-supported subset that are bundled with the version images. NOTES: (Users should consult the Elastic stack objects to see what plugins are available, this is currently only available from the UI)
	EnabledBuiltInPlugins []string `json:"enabled_built_in_plugins,omitempty"`

	// Defines the Elasticsearch node attributes for the instances in the topology
	NodeAttributes map[string]string `json:"node_attributes,omitempty"`

	// system settings
	SystemSettings *ElasticsearchSystemSettings `json:"system_settings,omitempty"`

	// A list of admin-uploaded bundle objects (eg scripts, synonym files) that are available for this user.
	UserBundles []*ElasticsearchUserBundle `json:"user_bundles,omitempty"`

	// A list of admin-uploaded plugin objects that are available for this user.
	UserPlugins []*ElasticsearchUserPlugin `json:"user_plugins,omitempty"`

	// An arbitrary JSON object allowing cluster owners to set their parameters (only one of this and 'user_settings_yaml' is allowed), provided the parameters arey are on the allowlist and not on the denylist. NOTES: (This field together with 'user_settings_override*' and 'system_settings' defines the total set of Elasticsearch settings)
	UserSettingsJSON interface{} `json:"user_settings_json,omitempty"`

	// An arbitrary JSON object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_yaml' is allowed), ie in addition to the documented 'system_settings'. NOTES: (This field together with 'system_settings' and 'user_settings*' defines the total set of Elasticsearch settings)
	UserSettingsOverrideJSON interface{} `json:"user_settings_override_json,omitempty"`

	// An arbitrary YAML object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_json' is allowed), ie in addition to the documented 'system_settings'. NOTES: (This field together with 'system_settings' and 'user_settings*' defines the total set of Elasticsearch settings)
	UserSettingsOverrideYaml string `json:"user_settings_override_yaml,omitempty"`

	// An arbitrary YAML object allowing cluster owners to set their parameters (only one of this and 'user_settings_json' is allowed), provided the parameters arey are on the allowlist and not on the denylist. NOTES: (This field together with 'user_settings_override*' and 'system_settings' defines the total set of Elasticsearch settings)
	UserSettingsYaml string `json:"user_settings_yaml,omitempty"`

	// The version of the Elasticsearch cluster (must be one of the ECE supported versions). Currently cannot be different across the topology (and is generally specified in the globals). Defaults to the latest version if not specified.
	Version string `json:"version,omitempty"`
}

ElasticsearchConfiguration The Elasticsearch cluster settings. When specified at the top level, provides a field-by-field default. When specified at the topology level, provides the override settings.

swagger:model ElasticsearchConfiguration

func (*ElasticsearchConfiguration) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch configuration based on the context it is used

func (*ElasticsearchConfiguration) MarshalBinary ¶

func (m *ElasticsearchConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchConfiguration) UnmarshalBinary ¶

func (m *ElasticsearchConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchConfiguration) Validate ¶

func (m *ElasticsearchConfiguration) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch configuration

type ElasticsearchCuration ¶

type ElasticsearchCuration struct {

	// The source instance configuration
	// Required: true
	FromInstanceConfigurationID *string `json:"from_instance_configuration_id"`

	// The destination instance configuration
	// Required: true
	ToInstanceConfigurationID *string `json:"to_instance_configuration_id"`
}

ElasticsearchCuration The structure that defines the routing settings for index curation.

swagger:model ElasticsearchCuration

func (*ElasticsearchCuration) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchCuration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch curation based on context it is used

func (*ElasticsearchCuration) MarshalBinary ¶

func (m *ElasticsearchCuration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchCuration) UnmarshalBinary ¶

func (m *ElasticsearchCuration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchCuration) Validate ¶

func (m *ElasticsearchCuration) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch curation

type ElasticsearchDependant ¶

type ElasticsearchDependant struct {

	// The id of the orphaned resource
	// Required: true
	ID *string `json:"id"`

	// The kind of resource
	// Required: true
	Kind *string `json:"kind"`
}

ElasticsearchDependant Details about an orphaned Elasticsearch-dependent resources.

swagger:model ElasticsearchDependant

func (*ElasticsearchDependant) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchDependant) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch dependant based on context it is used

func (*ElasticsearchDependant) MarshalBinary ¶

func (m *ElasticsearchDependant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchDependant) UnmarshalBinary ¶

func (m *ElasticsearchDependant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchDependant) Validate ¶

func (m *ElasticsearchDependant) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch dependant

type ElasticsearchElasticUserPasswordResetResponse ¶

type ElasticsearchElasticUserPasswordResetResponse struct {

	// The newly-reset password for the given Elasticsearch cluster
	// Required: true
	Password *string `json:"password"`

	// The username for the newly-reset password for the given Elasticsearch cluster
	// Required: true
	Username *string `json:"username"`
}

ElasticsearchElasticUserPasswordResetResponse Envelope holding the newly-reset password for a cluster's user

swagger:model ElasticsearchElasticUserPasswordResetResponse

func (*ElasticsearchElasticUserPasswordResetResponse) ContextValidate ¶ added in v1.3.0

ContextValidate validates this elasticsearch elastic user password reset response based on context it is used

func (*ElasticsearchElasticUserPasswordResetResponse) MarshalBinary ¶

MarshalBinary interface implementation

func (*ElasticsearchElasticUserPasswordResetResponse) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*ElasticsearchElasticUserPasswordResetResponse) Validate ¶

Validate validates this elasticsearch elastic user password reset response

type ElasticsearchInfo ¶

type ElasticsearchInfo struct {

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. Use `cluster_blocking_issues` instead.
	//
	// cluster-wide and/or index blocks
	// Required: true
	BlockingIssues *ElasticsearchClusterBlockingIssues `json:"blocking_issues"`

	// cluster blocking issues
	ClusterBlockingIssues *ElasticsearchBlockingIssues `json:"cluster_blocking_issues,omitempty"`

	// Whether the Elasticsearch cluster is healthy (check the sub-objects for more details if not)
	// Required: true
	Healthy *bool `json:"healthy"`

	// master info
	// Required: true
	MasterInfo *ElasticsearchMasterInfo `json:"master_info"`

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. Use `shards_status` instead.
	//
	// Elasticsearch shard info
	// Required: true
	ShardInfo *ElasticsearchShardsInfo `json:"shard_info"`

	// shards status
	ShardsStatus *ElasticsearchShardsStatus `json:"shards_status,omitempty"`
}

ElasticsearchInfo Information about the Elasticsearch cluster.

swagger:model ElasticsearchInfo

func (*ElasticsearchInfo) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch info based on the context it is used

func (*ElasticsearchInfo) MarshalBinary ¶

func (m *ElasticsearchInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchInfo) UnmarshalBinary ¶

func (m *ElasticsearchInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchInfo) Validate ¶

func (m *ElasticsearchInfo) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch info

type ElasticsearchMasterElement ¶

type ElasticsearchMasterElement struct {

	// The names of the instance/container hosting the node belong to the cluster with the given master
	// Required: true
	Instances []string `json:"instances"`

	// The corresponding instance name of the container hosting the Elasticsearch master node, if available
	MasterInstanceName string `json:"master_instance_name,omitempty"`

	// The Elasticsearch node id of a master node
	// Required: true
	MasterNodeID *string `json:"master_node_id"`
}

ElasticsearchMasterElement Information about the Elasticsearch instances. For split-brain cases, this also includes sub-clusters.

swagger:model ElasticsearchMasterElement

func (*ElasticsearchMasterElement) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchMasterElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch master element based on context it is used

func (*ElasticsearchMasterElement) MarshalBinary ¶

func (m *ElasticsearchMasterElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchMasterElement) UnmarshalBinary ¶

func (m *ElasticsearchMasterElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchMasterElement) Validate ¶

func (m *ElasticsearchMasterElement) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch master element

type ElasticsearchMasterInfo ¶

type ElasticsearchMasterInfo struct {

	// Whether the master situation in the cluster is healthy (ie is the number of masters != 1), or do any instances have no master
	// Required: true
	Healthy *bool `json:"healthy"`

	// A list of any instances with no master
	// Required: true
	InstancesWithNoMaster []string `json:"instances_with_no_master"`

	// masters
	// Required: true
	Masters []*ElasticsearchMasterElement `json:"masters"`
}

ElasticsearchMasterInfo Information about the master nodes in the Elasticsearch cluster.

swagger:model ElasticsearchMasterInfo

func (*ElasticsearchMasterInfo) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchMasterInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch master info based on the context it is used

func (*ElasticsearchMasterInfo) MarshalBinary ¶

func (m *ElasticsearchMasterInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchMasterInfo) UnmarshalBinary ¶

func (m *ElasticsearchMasterInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchMasterInfo) Validate ¶

func (m *ElasticsearchMasterInfo) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch master info

type ElasticsearchMonitoringInfo ¶

type ElasticsearchMonitoringInfo struct {

	// The list of clusters Ids to which this cluster is currently sending monitoring data
	// Required: true
	DestinationClusterIds []string `json:"destination_cluster_ids"`

	// Whether the Monitoring configuration has been successfully applied
	// Required: true
	Healthy *bool `json:"healthy"`

	// The time the monitoring configuration was last changed
	// Required: true
	// Format: date-time
	LastModified *strfmt.DateTime `json:"last_modified"`

	// The status message from the last update (successful or not)
	// Required: true
	LastUpdateStatus *string `json:"last_update_status"`

	// The list of clusters Ids from which this cluster is currently receiving monitoring data
	// Required: true
	SourceClusterIds []string `json:"source_cluster_ids"`
}

ElasticsearchMonitoringInfo Information about the monitoring status for the Elasticsearch cluster.

swagger:model ElasticsearchMonitoringInfo

func (*ElasticsearchMonitoringInfo) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchMonitoringInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch monitoring info based on context it is used

func (*ElasticsearchMonitoringInfo) MarshalBinary ¶

func (m *ElasticsearchMonitoringInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchMonitoringInfo) UnmarshalBinary ¶

func (m *ElasticsearchMonitoringInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchMonitoringInfo) Validate ¶

func (m *ElasticsearchMonitoringInfo) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch monitoring info

type ElasticsearchNodeType ¶

type ElasticsearchNodeType struct {

	// Defines whether this node can hold data (default: false)
	Data *bool `json:"data,omitempty"`

	// Defines whether this node can run an ingest pipeline (default: false)
	Ingest *bool `json:"ingest,omitempty"`

	// Defines whether this node can be elected master (default: false)
	Master *bool `json:"master,omitempty"`

	// Defines whether this node can run ml jobs, valid only for versions 5.4.0 or greater (default: false)
	Ml *bool `json:"ml,omitempty"`
}

ElasticsearchNodeType Controls the combinations of Elasticsearch node types. TIP: By default, the Elasticsearch node is master eligible, can hold data, and run ingest pipelines. WARNING: Do not set for tiebreaker topologies.

swagger:model ElasticsearchNodeType

func (*ElasticsearchNodeType) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchNodeType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch node type based on context it is used

func (*ElasticsearchNodeType) MarshalBinary ¶

func (m *ElasticsearchNodeType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchNodeType) UnmarshalBinary ¶

func (m *ElasticsearchNodeType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchNodeType) Validate ¶

func (m *ElasticsearchNodeType) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch node type

type ElasticsearchPayload ¶

type ElasticsearchPayload struct {

	// The human readable name for the cluster (defaults to the generated cluster id if not specified)
	DisplayName string `json:"display_name,omitempty"`

	// The plan for building this Elasticsearch cluster
	// Required: true
	Plan *ElasticsearchClusterPlan `json:"plan"`

	// A locally-unique user-specified id for this Elasticsearch cluster
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`

	// The settings for building this Elasticsearch cluster
	Settings *ElasticsearchClusterSettings `json:"settings,omitempty"`
}

ElasticsearchPayload An alias for an Elasticsearch Cluster paired with a request for creating one

swagger:model ElasticsearchPayload

func (*ElasticsearchPayload) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch payload based on the context it is used

func (*ElasticsearchPayload) MarshalBinary ¶

func (m *ElasticsearchPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchPayload) UnmarshalBinary ¶

func (m *ElasticsearchPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchPayload) Validate ¶

func (m *ElasticsearchPayload) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch payload

type ElasticsearchPlanControlConfiguration ¶

type ElasticsearchPlanControlConfiguration struct {

	// This timeout determines how long to give a cluster after it responds to API calls before performing actual operations on it. It defaults to 5s
	CalmWaitTime int64 `json:"calm_wait_time,omitempty"`

	// Set to 'forced' to force a reboot as part of the upgrade plan. NOTES: (ie taking an existing plan and leaving it alone except for setting 'transient.plan_configuration.cluster_reboot': 'forced' will reboot the cluster)
	// Enum: [forced]
	ClusterReboot string `json:"cluster_reboot,omitempty"`

	// If true (default false), does not clear the maintenance flag (which prevents its API from being accessed except by the constructor) on new instances added until after a snapshot has been restored, otherwise, the maintenance flag is cleared once the new instances successfully join the new cluster
	ExtendedMaintenance *bool `json:"extended_maintenance,omitempty"`

	// When you take a snapshot and 'skip_snapshots' is false, specifies the maximum age in seconds of the most recent snapshot before a new snapshot is created. Default is 300
	MaxSnapshotAge int64 `json:"max_snapshot_age,omitempty"`

	// If taking a snapshot (ie unless 'skip_snapshots': true) then will retry on failure at most this number of times (default: 5)
	MaxSnapshotAttempts int32 `json:"max_snapshot_attempts,omitempty"`

	// move allocators
	MoveAllocators []*AllocatorMoveRequest `json:"move_allocators"`

	// move instances
	MoveInstances []*InstanceMoveRequest `json:"move_instances"`

	// If true (default: false) only move_instances and move_allocators instructions will be executed, all other changes will be ignored
	MoveOnly *bool `json:"move_only,omitempty"`

	// If false (the default) then the plan will fail out if it believes the requested sequence of operations can result in data loss - this flag will override some of these restraints
	OverrideFailsafe *bool `json:"override_failsafe,omitempty"`

	// Map containing allocators tags in form of key value pairs, increasing the likelihood during move requests for allocators with matching tags, to be selected as target allocators
	PreferredAllocatorTags map[string]string `json:"preferred_allocator_tags,omitempty"`

	// List of allocators on which instances are placed if possible (if not possible/not specified then any available allocator with space is used)
	PreferredAllocators []string `json:"preferred_allocators"`

	// If true (default: false) does not allow re-using any existing instances currently in the cluster, ie even unchanged instances will be re-created
	ReallocateInstances *bool `json:"reallocate_instances,omitempty"`

	// If true (default: false) then the plan will not wait for data to be migrated from old instances to new instances before continuing the plan (potentially deleting the old instances and losing data)
	SkipDataMigration *bool `json:"skip_data_migration,omitempty"`

	// If false (the default), the cluster will run (currently) 2.x->5.x operations for any plan change ending with a 5.x cluster (eg apply a cluster license, ensure Monitoring is configured)
	SkipPostUpgradeSteps *bool `json:"skip_post_upgrade_steps,omitempty"`

	// If true (default: false), does not take (or require) a successful snapshot to be taken before performing any potentially destructive changes to this cluster
	SkipSnapshot *bool `json:"skip_snapshot,omitempty"`

	// If false (the default), the cluster will perform a snapshot after a major version upgrade takes place
	SkipSnapshotPostMajorUpgrade *bool `json:"skip_snapshot_post_major_upgrade,omitempty"`

	// If false, the cluster is checked for issues that should be resolved before migration (eg contains old Lucene segments), if true this is bypassed
	SkipUpgradeChecker *bool `json:"skip_upgrade_checker,omitempty"`

	// The total timeout in seconds after which the plan is cancelled even if it is not complete. Defaults to 4x the max memory capacity per node (in MB). NOTES: A 3 zone cluster with 2 nodes of 2048 each would have a timeout of 4*2048=8192 seconds. Timeout does not include time required to run rollback actions.
	Timeout int64 `json:"timeout,omitempty"`
}

ElasticsearchPlanControlConfiguration The configuration settings for the timeout and fallback parameters.

swagger:model ElasticsearchPlanControlConfiguration

func (*ElasticsearchPlanControlConfiguration) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchPlanControlConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch plan control configuration based on the context it is used

func (*ElasticsearchPlanControlConfiguration) MarshalBinary ¶

func (m *ElasticsearchPlanControlConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchPlanControlConfiguration) UnmarshalBinary ¶

func (m *ElasticsearchPlanControlConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchPlanControlConfiguration) Validate ¶

Validate validates this elasticsearch plan control configuration

type ElasticsearchReplicaElement ¶

type ElasticsearchReplicaElement struct {

	// The Elastic Cloud name/id of the instance (container)
	// Required: true
	InstanceName *string `json:"instance_name"`

	// The number of unavailable replicas on this instance
	// Required: true
	ReplicaCount *int32 `json:"replica_count"`
}

ElasticsearchReplicaElement Information about the unavailable replicas. NOTE: Unlike shards, unavailable replicas indicate a loss of redundancy rather than a loss of availability.

swagger:model ElasticsearchReplicaElement

func (*ElasticsearchReplicaElement) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchReplicaElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch replica element based on context it is used

func (*ElasticsearchReplicaElement) MarshalBinary ¶

func (m *ElasticsearchReplicaElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchReplicaElement) UnmarshalBinary ¶

func (m *ElasticsearchReplicaElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchReplicaElement) Validate ¶

func (m *ElasticsearchReplicaElement) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch replica element

type ElasticsearchResourceInfo ¶

type ElasticsearchResourceInfo struct {

	// The randomly-generated id of a Resource
	// Required: true
	ID *string `json:"id"`

	// Info for the resource.
	// Required: true
	Info *ElasticsearchClusterInfo `json:"info"`

	// The locally-unique user-specified id of a Resource
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`
}

ElasticsearchResourceInfo Describes an Elasticsearch resource belonging to a Deployment

swagger:model ElasticsearchResourceInfo

func (*ElasticsearchResourceInfo) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchResourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch resource info based on the context it is used

func (*ElasticsearchResourceInfo) MarshalBinary ¶

func (m *ElasticsearchResourceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchResourceInfo) UnmarshalBinary ¶

func (m *ElasticsearchResourceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchResourceInfo) Validate ¶

func (m *ElasticsearchResourceInfo) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch resource info

type ElasticsearchScriptTypeSettings ¶

type ElasticsearchScriptTypeSettings struct {

	// If enabled (default: true) then scripts are enabled, either for sandboxing languages (by default), or for all installed languages if 'sandbox_mode' is disabled (or for 6.x). NOTES: (Corresponds to the parameter 'script.file|stored/indexed|inline')
	Enabled *bool `json:"enabled,omitempty"`

	// If enabled (default: true) and this script type is enabled, then only the sandbox languages are allowed. By default the sandbox languages are painless, expressions and mustache, but this can be restricted via the 'painless_enabled', 'mustache_enabled' 'expression_enabled' settings.NOTES: Not supported in 6.x. (Corresponds to the parameters 'script.engine.[painless|mustache|expressions].[file|stored|inline]')
	SandboxMode *bool `json:"sandbox_mode,omitempty"`
}

ElasticsearchScriptTypeSettings Enables scripting for the specified type and controls other parameters. Store scripts in indexes (`stored`), upload in file bundles (`file`), or use in API requests (`inline`).

swagger:model ElasticsearchScriptTypeSettings

func (*ElasticsearchScriptTypeSettings) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchScriptTypeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch script type settings based on context it is used

func (*ElasticsearchScriptTypeSettings) MarshalBinary ¶

func (m *ElasticsearchScriptTypeSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchScriptTypeSettings) UnmarshalBinary ¶

func (m *ElasticsearchScriptTypeSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchScriptTypeSettings) Validate ¶

Validate validates this elasticsearch script type settings

type ElasticsearchScriptingUserSettings ¶

type ElasticsearchScriptingUserSettings struct {

	// (5.x+ only) If enabled (the default) then the expressions scripting engine is allowed as a sandboxed language. Sandboxed languages are the only ones allowed if 'sandbox_mode' is set to true. NOTES: (Corresponds to the parameters 'script.engine.expression.[file|stored|inline]')
	ExpressionsEnabled *bool `json:"expressions_enabled,omitempty"`

	// file
	File *ElasticsearchScriptTypeSettings `json:"file,omitempty"`

	// inline
	Inline *ElasticsearchScriptTypeSettings `json:"inline,omitempty"`

	// (5.x+ only) If enabled (the default) then the mustache scripting engine is allowed as a sandboxed language. Sandboxed languages are the only ones allowed if 'sandbox_mode' is set to true. NOTES: (Corresponds to the parameters 'script.engine.mustache.[file|stored|inline]')
	MustacheEnabled *bool `json:"mustache_enabled,omitempty"`

	// (5.x+ only) If enabled (the default) then the painless scripting engine is allowed as a sandboxed language. Sandboxed languages are the only ones allowed if 'sandbox_mode' is set to true. NOTES: (Corresponds to the parameters 'script.engine.painless.[file|stored|inline]')
	PainlessEnabled *bool `json:"painless_enabled,omitempty"`

	// stored
	Stored *ElasticsearchScriptTypeSettings `json:"stored,omitempty"`
}

ElasticsearchScriptingUserSettings Controls the languages supported by the Elasticsearch cluster, such as Painless, Mustache, and Expressions. Controls how the languages are used, such as file, index, and inline. TIP: For complex configurations, leave these blank and configure these settings in the user YAML or JSON.

swagger:model ElasticsearchScriptingUserSettings

func (*ElasticsearchScriptingUserSettings) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchScriptingUserSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch scripting user settings based on the context it is used

func (*ElasticsearchScriptingUserSettings) MarshalBinary ¶

func (m *ElasticsearchScriptingUserSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchScriptingUserSettings) UnmarshalBinary ¶

func (m *ElasticsearchScriptingUserSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchScriptingUserSettings) Validate ¶

Validate validates this elasticsearch scripting user settings

type ElasticsearchShardElement ¶

type ElasticsearchShardElement struct {

	// The Elastic Cloud name/id of the instance (container)
	// Required: true
	InstanceName *string `json:"instance_name"`

	// The number of shards of the given type (available/unavailable) on this instance
	// Required: true
	ShardCount *int32 `json:"shard_count"`
}

ElasticsearchShardElement Information about the shards for each Elasticsearch instance container that hosts an Elasticsearch node. TIP: When the shard is unavailable, the cluster is unable to serve all of the data.

swagger:model ElasticsearchShardElement

func (*ElasticsearchShardElement) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchShardElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch shard element based on context it is used

func (*ElasticsearchShardElement) MarshalBinary ¶

func (m *ElasticsearchShardElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchShardElement) UnmarshalBinary ¶

func (m *ElasticsearchShardElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchShardElement) Validate ¶

func (m *ElasticsearchShardElement) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch shard element

type ElasticsearchShardsInfo ¶

type ElasticsearchShardsInfo struct {

	// available shards
	// Required: true
	AvailableShards []*ElasticsearchShardElement `json:"available_shards"`

	// Whether the shard situation is healthy (any unavailable shards is unhealthy)
	// Required: true
	Healthy *bool `json:"healthy"`

	// unavailable replicas
	// Required: true
	UnavailableReplicas []*ElasticsearchReplicaElement `json:"unavailable_replicas"`

	// unavailable shards
	// Required: true
	UnavailableShards []*ElasticsearchShardElement `json:"unavailable_shards"`
}

ElasticsearchShardsInfo > WARNING > This endpoint is deprecated and scheduled to be removed in the next major version. Use `shards_status` instead.

Information about the shards and replicas that comprise the Elasticsearch indices.

swagger:model ElasticsearchShardsInfo

func (*ElasticsearchShardsInfo) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchShardsInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch shards info based on the context it is used

func (*ElasticsearchShardsInfo) MarshalBinary ¶

func (m *ElasticsearchShardsInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchShardsInfo) UnmarshalBinary ¶

func (m *ElasticsearchShardsInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchShardsInfo) Validate ¶

func (m *ElasticsearchShardsInfo) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch shards info

type ElasticsearchShardsStatus ¶ added in v1.10.0

type ElasticsearchShardsStatus struct {

	// Indicates the elasticsearch cluster health status as a color
	// Required: true
	// Enum: [green red yellow]
	Status *string `json:"status"`
}

ElasticsearchShardsStatus Shards status represented as green, yellow, or red, as returned by the Elasticsearch cluster health API

swagger:model ElasticsearchShardsStatus

func (*ElasticsearchShardsStatus) ContextValidate ¶ added in v1.10.0

func (m *ElasticsearchShardsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch shards status based on context it is used

func (*ElasticsearchShardsStatus) MarshalBinary ¶ added in v1.10.0

func (m *ElasticsearchShardsStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchShardsStatus) UnmarshalBinary ¶ added in v1.10.0

func (m *ElasticsearchShardsStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchShardsStatus) Validate ¶ added in v1.10.0

func (m *ElasticsearchShardsStatus) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch shards status

type ElasticsearchSystemSettings ¶

type ElasticsearchSystemSettings struct {

	// If true (the default), then any write operation on an index that does not currently exist will create it. NOTES: (Corresponds to the parameter 'action.auto_create_index')
	AutoCreateIndex *bool `json:"auto_create_index,omitempty"`

	// (2.x only - to get the same result in 5.x template mappings must be used) Sets the default number of shards per index, defaulting to 1 if not specified. (Corresponds to the parameter 'index.number_of_shards' in 2.x, not supported in 5.x)
	DefaultShardsPerIndex int32 `json:"default_shards_per_index,omitempty"`

	// If true (default is false) then the index deletion API will not support wildcards or '_all'. NOTES: (Corresponds to the parameter 'action.destructive_requires_name')
	DestructiveRequiresName *bool `json:"destructive_requires_name,omitempty"`

	// Defaults to false on versions <= 7.2.0, true otherwise. If false, then the API commands to close indices are disabled. This is important because Elasticsearch does not snapshot or migrate close indices on versions under 7.2.0, therefore standard Elastic Cloud configuration operations will cause irretrievable loss of indices' data. NOTES: (Corresponds to the parameter 'cluster.indices.close.enable')
	EnableCloseIndex *bool `json:"enable_close_index,omitempty"`

	// The default interval at which monitoring information from the cluster if collected, if monitoring is enabled. NOTES: (Corresponds to the parameter 'marvel.agent.interval' in 2.x and 'xpack.monitoring.collection.interval' in 5.x)
	MonitoringCollectionInterval int32 `json:"monitoring_collection_interval,omitempty"`

	// The duration for which monitoring history is stored (format '(NUMBER)d' eg '3d' for 3 days). NOTES: ('Corresponds to the parameter xpack.monitoring.history.duration' in 5.x, defaults to '7d')
	MonitoringHistoryDuration string `json:"monitoring_history_duration,omitempty"`

	// Limits remote Elasticsearch clusters that can be used as the source for '_reindex' API commands
	ReindexWhitelist []string `json:"reindex_whitelist"`

	// scripting
	Scripting *ElasticsearchScriptingUserSettings `json:"scripting,omitempty"`

	// The trigger engine for Watcher, defaults to 'scheduler' - see the xpack documentation for more information. NOTES: (Corresponds to the parameter '(xpack.)watcher.trigger.schedule.engine', depending on version. Ignored from 6.x onwards.)
	WatcherTriggerEngine string `json:"watcher_trigger_engine,omitempty"`
}

ElasticsearchSystemSettings A subset of Elasticsearch settings. TIP: To define the complete set of Elasticsearch settings, use `ElasticsearchSystemSettings` with `user_settings_override*` and `user_settings*`.

swagger:model ElasticsearchSystemSettings

func (*ElasticsearchSystemSettings) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchSystemSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this elasticsearch system settings based on the context it is used

func (*ElasticsearchSystemSettings) MarshalBinary ¶

func (m *ElasticsearchSystemSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchSystemSettings) UnmarshalBinary ¶

func (m *ElasticsearchSystemSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchSystemSettings) Validate ¶

func (m *ElasticsearchSystemSettings) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch system settings

type ElasticsearchUserBundle ¶

type ElasticsearchUserBundle struct {

	// The supported Elasticsearch version (must match the version in the plan)
	// Required: true
	ElasticsearchVersion *string `json:"elasticsearch_version"`

	// The name of the bundle
	// Required: true
	Name *string `json:"name"`

	// The URL of the bundle, which must be accessible from the ECE infrastructure. This URL could be cached by platform, make sure to change it when updating the bundle
	// Required: true
	URL *string `json:"url"`
}

ElasticsearchUserBundle A list of admin-uploaded bundle objects, such as scripts and synonym files.

swagger:model ElasticsearchUserBundle

func (*ElasticsearchUserBundle) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchUserBundle) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch user bundle based on context it is used

func (*ElasticsearchUserBundle) MarshalBinary ¶

func (m *ElasticsearchUserBundle) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchUserBundle) UnmarshalBinary ¶

func (m *ElasticsearchUserBundle) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchUserBundle) Validate ¶

func (m *ElasticsearchUserBundle) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch user bundle

type ElasticsearchUserPlugin ¶

type ElasticsearchUserPlugin struct {

	// The supported Elasticsearch version (must match the version in the plan)
	// Required: true
	ElasticsearchVersion *string `json:"elasticsearch_version"`

	// The name of the plugin
	// Required: true
	Name *string `json:"name"`

	// The URL of the plugin (must be accessible from the ECE infrastructure)
	// Required: true
	URL *string `json:"url"`
}

ElasticsearchUserPlugin A list of admin-uploaded plugin objects.

swagger:model ElasticsearchUserPlugin

func (*ElasticsearchUserPlugin) ContextValidate ¶ added in v1.3.0

func (m *ElasticsearchUserPlugin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elasticsearch user plugin based on context it is used

func (*ElasticsearchUserPlugin) MarshalBinary ¶

func (m *ElasticsearchUserPlugin) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElasticsearchUserPlugin) UnmarshalBinary ¶

func (m *ElasticsearchUserPlugin) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElasticsearchUserPlugin) Validate ¶

func (m *ElasticsearchUserPlugin) Validate(formats strfmt.Registry) error

Validate validates this elasticsearch user plugin

type ElevatedPermissions ¶

type ElevatedPermissions struct {

	// True if the user has elevated permissions
	// Required: true
	Enabled *bool `json:"enabled"`

	// The time at which the user's elevated permissions expire
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expires_at,omitempty"`
}

ElevatedPermissions A user's elevated permissions status

swagger:model ElevatedPermissions

func (*ElevatedPermissions) ContextValidate ¶ added in v1.3.0

func (m *ElevatedPermissions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this elevated permissions based on context it is used

func (*ElevatedPermissions) MarshalBinary ¶

func (m *ElevatedPermissions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ElevatedPermissions) UnmarshalBinary ¶

func (m *ElevatedPermissions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ElevatedPermissions) Validate ¶

func (m *ElevatedPermissions) Validate(formats strfmt.Registry) error

Validate validates this elevated permissions

type EmptyResponse ¶

type EmptyResponse interface{}

EmptyResponse empty response

swagger:model EmptyResponse

type EnableIlmRequest ¶

type EnableIlmRequest struct {

	// A locally-unique user-specified id for Kibana
	// Required: true
	IndexPatterns []*IndexPattern `json:"index_patterns"`
}

EnableIlmRequest Request sent to enable ILM on a deployment.

swagger:model EnableIlmRequest

func (*EnableIlmRequest) ContextValidate ¶ added in v1.3.0

func (m *EnableIlmRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enable ilm request based on the context it is used

func (*EnableIlmRequest) MarshalBinary ¶

func (m *EnableIlmRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnableIlmRequest) UnmarshalBinary ¶

func (m *EnableIlmRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnableIlmRequest) Validate ¶

func (m *EnableIlmRequest) Validate(formats strfmt.Registry) error

Validate validates this enable ilm request

type EnrollmentTokenRequest ¶

type EnrollmentTokenRequest struct {

	// Whether this token can subsequently to its grant be revoked from the UI
	// Required: true
	Persistent *bool `json:"persistent"`

	// The additional services for which this enrollment token applies (empty if not specified, ie system services only)
	Roles []string `json:"roles"`

	// The time in seconds for which this token is valid (defaults to 1 hour). Currently this can only be set for ephemeral (persistent: false) tokens.
	ValidityInSeconds int32 `json:"validity_in_seconds,omitempty"`
}

EnrollmentTokenRequest An enrollment token request for one or more services.

swagger:model EnrollmentTokenRequest

func (*EnrollmentTokenRequest) ContextValidate ¶ added in v1.3.0

func (m *EnrollmentTokenRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enrollment token request based on context it is used

func (*EnrollmentTokenRequest) MarshalBinary ¶

func (m *EnrollmentTokenRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnrollmentTokenRequest) UnmarshalBinary ¶

func (m *EnrollmentTokenRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnrollmentTokenRequest) Validate ¶

func (m *EnrollmentTokenRequest) Validate(formats strfmt.Registry) error

Validate validates this enrollment token request

type EnterpriseSearch ¶

type EnterpriseSearch struct {

	// The backend plan as JSON
	// Required: true
	BackendPlan interface{} `json:"backend_plan"`

	// The human readable name (defaults to the generated cluster id if not specified)
	// Required: true
	DisplayName *string `json:"display_name"`

	// The user-specified id of the Elasticsearch Cluster that this will link to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// A locally-unique user-specified id
	// Required: true
	RefID *string `json:"ref_id"`
}

EnterpriseSearch Holds diagnostics for an Enterprise Search resource

swagger:model EnterpriseSearch

func (*EnterpriseSearch) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enterprise search based on context it is used

func (*EnterpriseSearch) MarshalBinary ¶

func (m *EnterpriseSearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearch) UnmarshalBinary ¶

func (m *EnterpriseSearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearch) Validate ¶

func (m *EnterpriseSearch) Validate(formats strfmt.Registry) error

Validate validates this enterprise search

type EnterpriseSearchConfiguration ¶

type EnterpriseSearchConfiguration struct {

	// A docker URI that allows overriding of the default docker image specified for this version
	DockerImage string `json:"docker_image,omitempty"`

	// system settings
	SystemSettings *EnterpriseSearchSystemSettings `json:"system_settings,omitempty"`

	// An arbitrary JSON object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_yaml' is allowed), provided the parameters are on the allowlist and not on the denylist. (This field together with 'user_settings_override*' and 'system_settings' defines the total set of Enterprise Search settings)
	UserSettingsJSON interface{} `json:"user_settings_json,omitempty"`

	// An arbitrary JSON object allowing ECE admins to set clusters' parameters (only one of this and 'user_settings_override_yaml' is allowed), i.e. in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of Enterprise Search settings)
	UserSettingsOverrideJSON interface{} `json:"user_settings_override_json,omitempty"`

	// An arbitrary YAML object allowing ECE admins to set clusters' parameters (only one of this and 'user_settings_override_json' is allowed), i.e. in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of Enterprise Search settings)
	UserSettingsOverrideYaml string `json:"user_settings_override_yaml,omitempty"`

	// An arbitrary YAML object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_json' is allowed), provided the parameters are on the allowlist and not on the denylist. (This field together with 'user_settings_override*' and 'system_settings' defines the total set of Enterprise Search settings)
	UserSettingsYaml string `json:"user_settings_yaml,omitempty"`

	// The version of the Enterprise Search cluster (must be one of the ECE supported versions, and won't work unless it matches the Elasticsearch version. Leave blank to auto-detect version.)
	Version string `json:"version,omitempty"`
}

EnterpriseSearchConfiguration enterprise search configuration

swagger:model EnterpriseSearchConfiguration

func (*EnterpriseSearchConfiguration) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search configuration based on the context it is used

func (*EnterpriseSearchConfiguration) MarshalBinary ¶

func (m *EnterpriseSearchConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchConfiguration) UnmarshalBinary ¶

func (m *EnterpriseSearchConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchConfiguration) Validate ¶

func (m *EnterpriseSearchConfiguration) Validate(formats strfmt.Registry) error

Validate validates this enterprise search configuration

type EnterpriseSearchInfo ¶

type EnterpriseSearchInfo struct {

	// The id of the deployment that this Enterprise Search belongs to.
	DeploymentID string `json:"deployment_id,omitempty"`

	// elasticsearch cluster
	// Required: true
	ElasticsearchCluster *TargetElasticsearchCluster `json:"elasticsearch_cluster"`

	// External resources related to the Enterprise Search
	// Required: true
	// Unique: true
	ExternalLinks []*ExternalHyperlink `json:"external_links"`

	// Whether the Enterprise Search is healthy or not (one or more of the info subsections will have healthy: false)
	// Required: true
	Healthy *bool `json:"healthy"`

	// The id of the Enterprise Search
	// Required: true
	ID *string `json:"id"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`

	// metadata
	Metadata *ClusterMetadataInfo `json:"metadata,omitempty"`

	// The name of the Enterprise Search
	// Required: true
	Name *string `json:"name"`

	// plan info
	// Required: true
	PlanInfo *EnterpriseSearchPlansInfo `json:"plan_info"`

	// The region that this Enterprise Search belongs to. Only populated in SaaS or federated ECE.
	Region string `json:"region,omitempty"`

	// The cluster metadata settings for the Enterprise Search
	Settings *EnterpriseSearchSettings `json:"settings,omitempty"`

	// Enterprise Search status
	// Required: true
	// Enum: [initializing stopping stopped rebooting restarting reconfiguring started]
	Status *string `json:"status"`

	// topology
	// Required: true
	Topology *ClusterTopologyInfo `json:"topology"`
}

EnterpriseSearchInfo The overview information for the Enterprise Search Server.

swagger:model EnterpriseSearchInfo

func (*EnterpriseSearchInfo) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search info based on the context it is used

func (*EnterpriseSearchInfo) MarshalBinary ¶

func (m *EnterpriseSearchInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchInfo) UnmarshalBinary ¶

func (m *EnterpriseSearchInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchInfo) Validate ¶

func (m *EnterpriseSearchInfo) Validate(formats strfmt.Registry) error

Validate validates this enterprise search info

type EnterpriseSearchNodeTypes ¶

type EnterpriseSearchNodeTypes struct {

	// Defines whether this instance should run as Application/API server
	// Required: true
	Appserver *bool `json:"appserver"`

	// Defines whether this instance should run as Connector
	// Required: true
	Connector *bool `json:"connector"`

	// Defines whether this instance should run as background worker
	// Required: true
	Worker *bool `json:"worker"`
}

EnterpriseSearchNodeTypes Node types to enable for an Enterprise Search instance

swagger:model EnterpriseSearchNodeTypes

func (*EnterpriseSearchNodeTypes) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchNodeTypes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enterprise search node types based on context it is used

func (*EnterpriseSearchNodeTypes) MarshalBinary ¶

func (m *EnterpriseSearchNodeTypes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchNodeTypes) UnmarshalBinary ¶

func (m *EnterpriseSearchNodeTypes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchNodeTypes) Validate ¶

func (m *EnterpriseSearchNodeTypes) Validate(formats strfmt.Registry) error

Validate validates this enterprise search node types

type EnterpriseSearchPayload ¶

type EnterpriseSearchPayload struct {

	// The human readable name for the Enterprise Search cluster (default: takes the name of its Elasticsearch cluster)
	DisplayName string `json:"display_name,omitempty"`

	// Alias to the Elasticsearch Cluster to attach Enterprise Search to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// plan
	// Required: true
	Plan *EnterpriseSearchPlan `json:"plan"`

	// A locally-unique user-specified id for Enterprise Search
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`

	// The settings for building this Enterprise Search cluster
	Settings *EnterpriseSearchSettings `json:"settings,omitempty"`
}

EnterpriseSearchPayload An Enterprise Search creation request paired with the alias of the Elasticsearch cluster it should be paired with

swagger:model EnterpriseSearchPayload

func (*EnterpriseSearchPayload) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search payload based on the context it is used

func (*EnterpriseSearchPayload) MarshalBinary ¶

func (m *EnterpriseSearchPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchPayload) UnmarshalBinary ¶

func (m *EnterpriseSearchPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchPayload) Validate ¶

func (m *EnterpriseSearchPayload) Validate(formats strfmt.Registry) error

Validate validates this enterprise search payload

type EnterpriseSearchPlan ¶

type EnterpriseSearchPlan struct {

	// cluster topology
	ClusterTopology []*EnterpriseSearchTopologyElement `json:"cluster_topology"`

	// enterprise search
	// Required: true
	EnterpriseSearch *EnterpriseSearchConfiguration `json:"enterprise_search"`

	// transient
	Transient *TransientEnterpriseSearchPlanConfiguration `json:"transient,omitempty"`
}

EnterpriseSearchPlan The plan for the Enterprise Search cluster.

swagger:model EnterpriseSearchPlan

func (*EnterpriseSearchPlan) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search plan based on the context it is used

func (*EnterpriseSearchPlan) MarshalBinary ¶

func (m *EnterpriseSearchPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchPlan) UnmarshalBinary ¶

func (m *EnterpriseSearchPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchPlan) Validate ¶

func (m *EnterpriseSearchPlan) Validate(formats strfmt.Registry) error

Validate validates this enterprise search plan

type EnterpriseSearchPlanControlConfiguration ¶

type EnterpriseSearchPlanControlConfiguration struct {

	// This timeout determines how long to give a cluster after it responds to API calls before performing actual operations on it. It defaults to 5s
	CalmWaitTime int64 `json:"calm_wait_time,omitempty"`

	// Set to 'forced' to force a reboot as part of the upgrade plan
	// Enum: [forced]
	ClusterReboot string `json:"cluster_reboot,omitempty"`

	// If true (default false), does not clear the maintenance flag (which prevents its API from being accessed except by the constructor) on new instances added until after a snapshot has been restored, otherwise, the maintenance flag is cleared once the new instances successfully join the new cluster
	ExtendedMaintenance *bool `json:"extended_maintenance,omitempty"`

	// move allocators
	MoveAllocators []*AllocatorMoveRequest `json:"move_allocators"`

	// move instances
	MoveInstances []*InstanceMoveRequest `json:"move_instances"`

	// If false (the default), the plan fails if it determines that the request can result in unsafe operations. Setting this flag overrides some of these check restraints.
	OverrideFailsafe *bool `json:"override_failsafe,omitempty"`

	// Map containing allocators tags in form of key value pairs, increasing the likelihood during move requests for allocators with matching tags, to be selected as target allocators
	PreferredAllocatorTags map[string]string `json:"preferred_allocator_tags,omitempty"`

	// List of allocators on which instances are placed if possible (if not possible/not specified then any available allocator with space is used)
	PreferredAllocators []string `json:"preferred_allocators"`

	// If true (default: false) does not allow re-using any existing instances currently in the cluster, i.e. even unchanged instances will be re-created
	ReallocateInstances *bool `json:"reallocate_instances,omitempty"`

	// The total timeout in seconds after which the plan is cancelled even if it is not complete. Defaults to 4x the max memory capacity per node (in MB)
	Timeout int64 `json:"timeout,omitempty"`
}

EnterpriseSearchPlanControlConfiguration enterprise search plan control configuration

swagger:model EnterpriseSearchPlanControlConfiguration

func (*EnterpriseSearchPlanControlConfiguration) ContextValidate ¶ added in v1.3.0

ContextValidate validate this enterprise search plan control configuration based on the context it is used

func (*EnterpriseSearchPlanControlConfiguration) MarshalBinary ¶

func (m *EnterpriseSearchPlanControlConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchPlanControlConfiguration) UnmarshalBinary ¶

func (m *EnterpriseSearchPlanControlConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchPlanControlConfiguration) Validate ¶

Validate validates this enterprise search plan control configuration

type EnterpriseSearchPlanInfo ¶

type EnterpriseSearchPlanInfo struct {

	// If this plan completed or failed (ie is not pending), when the attempt ended (ISO format in UTC)
	// Format: date-time
	AttemptEndTime strfmt.DateTime `json:"attempt_end_time,omitempty"`

	// When this plan attempt (ie to apply the plan to the Enterprise Search) started (ISO format in UTC)
	// Format: date-time
	AttemptStartTime strfmt.DateTime `json:"attempt_start_time,omitempty"`

	// error
	Error *ClusterPlanAttemptError `json:"error,omitempty"`

	// Either the plan ended successfully, or is not yet completed (and no errors have occurred)
	// Required: true
	Healthy *bool `json:"healthy"`

	// plan
	Plan *EnterpriseSearchPlan `json:"plan,omitempty"`

	// A UUID for each plan attempt
	PlanAttemptID string `json:"plan_attempt_id,omitempty"`

	// plan attempt log
	// Required: true
	PlanAttemptLog []*ClusterPlanStepInfo `json:"plan_attempt_log"`

	// A human readable name for each plan attempt, only populated when retrieving plan histories
	PlanAttemptName string `json:"plan_attempt_name,omitempty"`

	// If this plan is not current or pending, when the plan was no longer active (ISO format in UTC)
	// Format: date-time
	PlanEndTime strfmt.DateTime `json:"plan_end_time,omitempty"`

	// Information describing the source that facilitated the plans current state
	Source *ChangeSourceInfo `json:"source,omitempty"`

	// warnings
	// Required: true
	Warnings []*ClusterPlanWarning `json:"warnings"`
}

EnterpriseSearchPlanInfo Information about the Enterprise Search Server plan.

swagger:model EnterpriseSearchPlanInfo

func (*EnterpriseSearchPlanInfo) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchPlanInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search plan info based on the context it is used

func (*EnterpriseSearchPlanInfo) MarshalBinary ¶

func (m *EnterpriseSearchPlanInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchPlanInfo) UnmarshalBinary ¶

func (m *EnterpriseSearchPlanInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchPlanInfo) Validate ¶

func (m *EnterpriseSearchPlanInfo) Validate(formats strfmt.Registry) error

Validate validates this enterprise search plan info

type EnterpriseSearchPlansInfo ¶

type EnterpriseSearchPlansInfo struct {

	// current
	Current *EnterpriseSearchPlanInfo `json:"current,omitempty"`

	// Whether the plan situation is healthy (if unhealthy, means the last plan attempt failed)
	// Required: true
	Healthy *bool `json:"healthy"`

	// history
	// Required: true
	History []*EnterpriseSearchPlanInfo `json:"history"`

	// pending
	Pending *EnterpriseSearchPlanInfo `json:"pending,omitempty"`
}

EnterpriseSearchPlansInfo Information about current, pending, and past Enterprise Search Server plans.

swagger:model EnterpriseSearchPlansInfo

func (*EnterpriseSearchPlansInfo) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchPlansInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search plans info based on the context it is used

func (*EnterpriseSearchPlansInfo) MarshalBinary ¶

func (m *EnterpriseSearchPlansInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchPlansInfo) UnmarshalBinary ¶

func (m *EnterpriseSearchPlansInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchPlansInfo) Validate ¶

func (m *EnterpriseSearchPlansInfo) Validate(formats strfmt.Registry) error

Validate validates this enterprise search plans info

type EnterpriseSearchResourceInfo ¶

type EnterpriseSearchResourceInfo struct {

	// The Elasticsearch cluster that this resource depends on.
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// The randomly-generated id of a Resource
	// Required: true
	ID *string `json:"id"`

	// Info for the resource.
	// Required: true
	Info *EnterpriseSearchInfo `json:"info"`

	// The locally-unique user-specified id of a Resource
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`
}

EnterpriseSearchResourceInfo Describes an Enterprise Search resource belonging to a Deployment

swagger:model EnterpriseSearchResourceInfo

func (*EnterpriseSearchResourceInfo) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchResourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search resource info based on the context it is used

func (*EnterpriseSearchResourceInfo) MarshalBinary ¶

func (m *EnterpriseSearchResourceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchResourceInfo) UnmarshalBinary ¶

func (m *EnterpriseSearchResourceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchResourceInfo) Validate ¶

func (m *EnterpriseSearchResourceInfo) Validate(formats strfmt.Registry) error

Validate validates this enterprise search resource info

type EnterpriseSearchSettings ¶

type EnterpriseSearchSettings struct {

	// metadata
	Metadata *ClusterMetadataSettings `json:"metadata,omitempty"`
}

EnterpriseSearchSettings The settings for the Enterprise Search.

swagger:model EnterpriseSearchSettings

func (*EnterpriseSearchSettings) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search settings based on the context it is used

func (*EnterpriseSearchSettings) MarshalBinary ¶

func (m *EnterpriseSearchSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchSettings) UnmarshalBinary ¶

func (m *EnterpriseSearchSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchSettings) Validate ¶

func (m *EnterpriseSearchSettings) Validate(formats strfmt.Registry) error

Validate validates this enterprise search settings

type EnterpriseSearchSubInfo ¶

type EnterpriseSearchSubInfo struct {

	// Whether the associated Enterprise Search is currently available
	// Required: true
	Enabled *bool `json:"enabled"`

	// The Enterprise Search Id
	// Required: true
	EnterpriseSearchID *string `json:"enterprise_search_id"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`
}

EnterpriseSearchSubInfo Information about the APM Servers associated with the Elasticsearch cluster.

swagger:model EnterpriseSearchSubInfo

func (*EnterpriseSearchSubInfo) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchSubInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search sub info based on the context it is used

func (*EnterpriseSearchSubInfo) MarshalBinary ¶

func (m *EnterpriseSearchSubInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchSubInfo) UnmarshalBinary ¶

func (m *EnterpriseSearchSubInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchSubInfo) Validate ¶

func (m *EnterpriseSearchSubInfo) Validate(formats strfmt.Registry) error

Validate validates this enterprise search sub info

type EnterpriseSearchSystemSettings ¶

type EnterpriseSearchSystemSettings struct {

	// Optionally override the account within Enterprise Search - defaults to a system account that always exists (if specified, the username must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchPassword string `json:"elasticsearch_password,omitempty"`

	// DEPRECATED: Scheduled for removal in a future version of the API.
	//
	// Optionally override the URL to which to send data (for advanced users only, if unspecified the system selects an internal URL)
	ElasticsearchURL string `json:"elasticsearch_url,omitempty"`

	// Optionally override the account within Enterprise Search - defaults to a system account that always exists (if specified, the password must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchUsername string `json:"elasticsearch_username,omitempty"`

	// Optionally override the secret session key within Enterprise Search - defaults to the previously existing secretSession. Note that this field is never returned from the API, it is write only.
	SecretSessionKey string `json:"secret_session_key,omitempty"`
}

EnterpriseSearchSystemSettings This structure defines a curated subset of the Enterprise Search settings. (This field together with 'user_settings_override*' and 'user_settings*' defines the total set of Enterprise Search settings)

swagger:model EnterpriseSearchSystemSettings

func (*EnterpriseSearchSystemSettings) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchSystemSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enterprise search system settings based on context it is used

func (*EnterpriseSearchSystemSettings) MarshalBinary ¶

func (m *EnterpriseSearchSystemSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchSystemSettings) UnmarshalBinary ¶

func (m *EnterpriseSearchSystemSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchSystemSettings) Validate ¶

func (m *EnterpriseSearchSystemSettings) Validate(formats strfmt.Registry) error

Validate validates this enterprise search system settings

type EnterpriseSearchTopologyElement ¶

type EnterpriseSearchTopologyElement struct {

	// allocator filter
	AllocatorFilter interface{} `json:"allocator_filter,omitempty"`

	// enterprise search
	EnterpriseSearch *EnterpriseSearchConfiguration `json:"enterprise_search,omitempty"`

	// Controls the allocation of this topology element as well as allowed sizes and node_types. It needs to match the id of an existing instance configuration.
	InstanceConfigurationID string `json:"instance_configuration_id,omitempty"`

	// The version of the Instance Configuration Id. If it is unset, the meaning depends on read vs writes. For deployment reads, it is equivalent to version 0 (or the IC is unversioned); for deployment creates and deployment template use, it is equivalent to 'the latest version'; and for deployment updates, it is equivalent to 'retain the current version'.
	InstanceConfigurationVersion *int32 `json:"instance_configuration_version,omitempty"`

	// memory per node
	MemoryPerNode interface{} `json:"memory_per_node,omitempty"`

	// node configuration
	NodeConfiguration string `json:"node_configuration,omitempty"`

	// node count per zone
	NodeCountPerZone interface{} `json:"node_count_per_zone,omitempty"`

	// Defines the EnterpriseSearch node type
	NodeType *EnterpriseSearchNodeTypes `json:"node_type,omitempty"`

	// size
	Size *TopologySize `json:"size,omitempty"`

	// number of zones in which nodes will be placed
	ZoneCount int32 `json:"zone_count,omitempty"`
}

EnterpriseSearchTopologyElement Defines the topology of the Enterprise Search nodes (e.g. number/capacity of nodes, and where they can be allocated)

swagger:model EnterpriseSearchTopologyElement

func (*EnterpriseSearchTopologyElement) ContextValidate ¶ added in v1.3.0

func (m *EnterpriseSearchTopologyElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise search topology element based on the context it is used

func (*EnterpriseSearchTopologyElement) MarshalBinary ¶

func (m *EnterpriseSearchTopologyElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSearchTopologyElement) UnmarshalBinary ¶

func (m *EnterpriseSearchTopologyElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSearchTopologyElement) Validate ¶

Validate validates this enterprise search topology element

type ExistsQuery ¶

type ExistsQuery struct {

	// The field to check for non-null values in.
	// Required: true
	Field *string `json:"field"`
}

ExistsQuery Matches documents that have at least one non-`null` value in the original field.

swagger:model ExistsQuery

func (*ExistsQuery) ContextValidate ¶ added in v1.3.0

func (m *ExistsQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this exists query based on context it is used

func (*ExistsQuery) MarshalBinary ¶

func (m *ExistsQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExistsQuery) UnmarshalBinary ¶

func (m *ExistsQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExistsQuery) Validate ¶

func (m *ExistsQuery) Validate(formats strfmt.Registry) error

Validate validates this exists query

type Extension ¶

type Extension struct {

	// List of deployments using this extension. Up to only 10000 deployments will be included in the list.
	Deployments []string `json:"deployments"`

	// The extension description.
	Description string `json:"description,omitempty"`

	// The download URL specified during extension creation.
	DownloadURL string `json:"download_url,omitempty"`

	// The extension type.
	// Required: true
	// Enum: [plugin bundle]
	ExtensionType *string `json:"extension_type"`

	// The extension file metadata.
	FileMetadata *ExtensionFileMetadata `json:"file_metadata,omitempty"`

	// The extension ID
	// Required: true
	ID *string `json:"id"`

	// The extension name.
	// Required: true
	Name *string `json:"name"`

	// The extension URL to be used in the plan.
	// Required: true
	URL *string `json:"url"`

	// The Elasticsearch version.
	// Required: true
	Version *string `json:"version"`
}

Extension An API extension. It represents clusters' plugins and bundles

swagger:model Extension

func (*Extension) ContextValidate ¶ added in v1.3.0

func (m *Extension) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this extension based on the context it is used

func (*Extension) MarshalBinary ¶

func (m *Extension) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Extension) UnmarshalBinary ¶

func (m *Extension) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Extension) Validate ¶

func (m *Extension) Validate(formats strfmt.Registry) error

Validate validates this extension

type ExtensionFileMetadata ¶ added in v1.1.0

type ExtensionFileMetadata struct {

	// The date and time the extension was last modified.
	// Format: date-time
	LastModifiedDate strfmt.DateTime `json:"last_modified_date,omitempty"`

	// The extension file size in bytes.
	Size int64 `json:"size,omitempty"`

	// The temporary URL to download the extension file. Usable for verification.
	// Format: uri
	URL strfmt.URI `json:"url,omitempty"`
}

ExtensionFileMetadata extension file metadata

swagger:model ExtensionFileMetadata

func (*ExtensionFileMetadata) ContextValidate ¶ added in v1.3.0

func (m *ExtensionFileMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this extension file metadata based on context it is used

func (*ExtensionFileMetadata) MarshalBinary ¶ added in v1.1.0

func (m *ExtensionFileMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExtensionFileMetadata) UnmarshalBinary ¶ added in v1.1.0

func (m *ExtensionFileMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExtensionFileMetadata) Validate ¶ added in v1.1.0

func (m *ExtensionFileMetadata) Validate(formats strfmt.Registry) error

Validate validates this extension file metadata

type Extensions ¶

type Extensions struct {

	// The list of extensions.
	// Required: true
	Extensions []*Extension `json:"extensions"`
}

Extensions A collection of extensions

swagger:model Extensions

func (*Extensions) ContextValidate ¶ added in v1.3.0

func (m *Extensions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this extensions based on the context it is used

func (*Extensions) MarshalBinary ¶

func (m *Extensions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Extensions) UnmarshalBinary ¶

func (m *Extensions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Extensions) Validate ¶

func (m *Extensions) Validate(formats strfmt.Registry) error

Validate validates this extensions

type ExternalHyperlink struct {

	// Identifier of the external link
	// Required: true
	ID *string `json:"id"`

	// Human-readable description of the external link
	// Required: true
	Label *string `json:"label"`

	// hyperlink to an external resource
	URI string `json:"uri,omitempty"`
}

ExternalHyperlink external hyperlink

swagger:model ExternalHyperlink

func (*ExternalHyperlink) ContextValidate ¶ added in v1.3.0

func (m *ExternalHyperlink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external hyperlink based on context it is used

func (*ExternalHyperlink) MarshalBinary ¶

func (m *ExternalHyperlink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalHyperlink) UnmarshalBinary ¶

func (m *ExternalHyperlink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalHyperlink) Validate ¶

func (m *ExternalHyperlink) Validate(formats strfmt.Registry) error

Validate validates this external hyperlink

type ExternalTrustRelationship ¶ added in v1.1.0

type ExternalTrustRelationship struct {

	// The name of the external trust relationship. Retrieved from the TrustRelationship and ignored on write.
	Name string `json:"name,omitempty"`

	// If true, all clusters in this external entity will be trusted and the `trust_allowlist` is ignored.
	// Required: true
	TrustAll *bool `json:"trust_all"`

	// The list of clusters to trust. Only used when `trust_all` is false.
	TrustAllowlist []string `json:"trust_allowlist"`

	// The ID of the external trust relationship
	// Required: true
	TrustRelationshipID *string `json:"trust_relationship_id"`
}

ExternalTrustRelationship The trust relationship with external entities (remote environments, remote accounts...).

swagger:model ExternalTrustRelationship

func (*ExternalTrustRelationship) ContextValidate ¶ added in v1.3.0

func (m *ExternalTrustRelationship) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external trust relationship based on context it is used

func (*ExternalTrustRelationship) MarshalBinary ¶ added in v1.1.0

func (m *ExternalTrustRelationship) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalTrustRelationship) UnmarshalBinary ¶ added in v1.1.0

func (m *ExternalTrustRelationship) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalTrustRelationship) Validate ¶ added in v1.1.0

func (m *ExternalTrustRelationship) Validate(formats strfmt.Registry) error

Validate validates this external trust relationship

type FilterAssociation ¶

type FilterAssociation struct {

	// Type of the traffic filter ruleset association, such as 'deployment', 'cluster'
	// Required: true
	EntityType *string `json:"entity_type"`

	// ID of the entity, such as the deployment ID or Elasticsearch cluster ID.
	// Required: true
	ID *string `json:"id"`
}

FilterAssociation The association with a ruleset or user auth token for a deployment, template, or product.

swagger:model FilterAssociation

func (*FilterAssociation) ContextValidate ¶ added in v1.3.0

func (m *FilterAssociation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this filter association based on context it is used

func (*FilterAssociation) MarshalBinary ¶

func (m *FilterAssociation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FilterAssociation) UnmarshalBinary ¶

func (m *FilterAssociation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FilterAssociation) Validate ¶

func (m *FilterAssociation) Validate(formats strfmt.Registry) error

Validate validates this filter association

type GenericResponse ¶ added in v1.7.0

type GenericResponse struct {

	// value
	// Required: true
	Value *string `json:"value"`
}

GenericResponse generic response

swagger:model GenericResponse

func (*GenericResponse) ContextValidate ¶ added in v1.7.0

func (m *GenericResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this generic response based on context it is used

func (*GenericResponse) MarshalBinary ¶ added in v1.7.0

func (m *GenericResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GenericResponse) UnmarshalBinary ¶ added in v1.7.0

func (m *GenericResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GenericResponse) Validate ¶ added in v1.7.0

func (m *GenericResponse) Validate(formats strfmt.Registry) error

Validate validates this generic response

type GlobalDeploymentTemplateInfo ¶ added in v1.1.0

type GlobalDeploymentTemplateInfo struct {

	// An optional description for the template.
	// Required: true
	Description *string `json:"description"`

	// Optional arbitrary metadata to associate with this template.
	Metadata []*MetadataItem `json:"metadata"`

	// Long name of the Template
	// Required: true
	Name *string `json:"name"`

	// The order in which the templates should be displayed in the front-end.
	// Required: true
	Order *int32 `json:"order"`

	// List of regions this template is used in.
	// Required: true
	Regions []*GlobalDeploymentTemplateRegion `json:"regions"`

	// Provider agnostic template identifier.
	TemplateCategoryID string `json:"template_category_id,omitempty"`
}

GlobalDeploymentTemplateInfo The top-level model for global (regionless) templates.

swagger:model GlobalDeploymentTemplateInfo

func (*GlobalDeploymentTemplateInfo) ContextValidate ¶ added in v1.3.0

func (m *GlobalDeploymentTemplateInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this global deployment template info based on the context it is used

func (*GlobalDeploymentTemplateInfo) MarshalBinary ¶ added in v1.1.0

func (m *GlobalDeploymentTemplateInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GlobalDeploymentTemplateInfo) UnmarshalBinary ¶ added in v1.1.0

func (m *GlobalDeploymentTemplateInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GlobalDeploymentTemplateInfo) Validate ¶ added in v1.1.0

func (m *GlobalDeploymentTemplateInfo) Validate(formats strfmt.Registry) error

Validate validates this global deployment template info

type GlobalDeploymentTemplateRegion ¶ added in v1.1.0

type GlobalDeploymentTemplateRegion struct {

	// The (region-specific) ID of the deployment template.
	// Required: true
	DeploymentTemplateID *string `json:"deployment_template_id"`

	// The Kibana Deeplink for this type of deployment.
	KibanaDeeplink []*KibanaDeeplink `json:"kibana_deeplink"`

	// The region identifier.
	// Required: true
	RegionID *string `json:"region_id"`

	// Versions supported in this region.
	// Required: true
	Versions []string `json:"versions"`
}

GlobalDeploymentTemplateRegion Region-specific details about a template.

swagger:model GlobalDeploymentTemplateRegion

func (*GlobalDeploymentTemplateRegion) ContextValidate ¶ added in v1.3.0

func (m *GlobalDeploymentTemplateRegion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this global deployment template region based on the context it is used

func (*GlobalDeploymentTemplateRegion) MarshalBinary ¶ added in v1.1.0

func (m *GlobalDeploymentTemplateRegion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GlobalDeploymentTemplateRegion) UnmarshalBinary ¶ added in v1.1.0

func (m *GlobalDeploymentTemplateRegion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GlobalDeploymentTemplateRegion) Validate ¶ added in v1.1.0

func (m *GlobalDeploymentTemplateRegion) Validate(formats strfmt.Registry) error

Validate validates this global deployment template region

type GrowShrinkStrategyConfig ¶

type GrowShrinkStrategyConfig interface{}

GrowShrinkStrategyConfig A strategy that creates instances with the new plan, migrates data from the old instances, then shuts down the old instances. `GrowShrinkStrategyConfig` is safer than 'rolling' and ensures single node availability during a plan change, but can be a lot slower on larger clusters.

swagger:model GrowShrinkStrategyConfig

type HeapDump ¶ added in v1.6.0

type HeapDump struct {

	// The time at which the heap dump was captured
	// Required: true
	Captured *string `json:"captured"`

	// An error message if the heap dump failed
	Error string `json:"error,omitempty"`

	// The Elastic Cloud name/id of the instance (container)
	// Required: true
	InstanceID *string `json:"instance_id"`

	// The size in bytes of the heap dump
	Size int64 `json:"size,omitempty"`

	// The status of the heap dump
	// Required: true
	Status *string `json:"status"`

	// The type of heap dump
	// Required: true
	Type *string `json:"type"`
}

HeapDump heap dump

swagger:model HeapDump

func (*HeapDump) ContextValidate ¶ added in v1.6.0

func (m *HeapDump) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this heap dump based on context it is used

func (*HeapDump) MarshalBinary ¶ added in v1.6.0

func (m *HeapDump) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HeapDump) UnmarshalBinary ¶ added in v1.6.0

func (m *HeapDump) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HeapDump) Validate ¶ added in v1.6.0

func (m *HeapDump) Validate(formats strfmt.Registry) error

Validate validates this heap dump

type Hyperlink struct {

	// Whether the operation requires elevated permissions (when the field is present, elevated permissions are required).
	NeedElevatedPermissions *bool `json:"need_elevated_permissions,omitempty"`
}

Hyperlink hyperlink

swagger:model Hyperlink

func (*Hyperlink) ContextValidate ¶ added in v1.3.0

func (m *Hyperlink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hyperlink based on context it is used

func (*Hyperlink) MarshalBinary ¶

func (m *Hyperlink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Hyperlink) UnmarshalBinary ¶

func (m *Hyperlink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Hyperlink) Validate ¶

func (m *Hyperlink) Validate(formats strfmt.Registry) error

Validate validates this hyperlink

type IDResponse ¶

type IDResponse struct {

	// The ID
	// Required: true
	ID *string `json:"id"`
}

IDResponse Id response

swagger:model IdResponse

func (*IDResponse) ContextValidate ¶ added in v1.3.0

func (m *IDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Id response based on context it is used

func (*IDResponse) MarshalBinary ¶

func (m *IDResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IDResponse) UnmarshalBinary ¶

func (m *IDResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IDResponse) Validate ¶

func (m *IDResponse) Validate(formats strfmt.Registry) error

Validate validates this Id response

type IndexPattern ¶

type IndexPattern struct {

	// Index pattern to which the ILM policy will be applied.
	// Required: true
	IndexPattern *string `json:"index_pattern"`

	// Defines the Elasticsearch node attributes for the warm element of the topology
	NodeAttributes map[string]string `json:"node_attributes,omitempty"`

	// Name of the policy to create
	// Required: true
	PolicyName *string `json:"policy_name"`
}

IndexPattern An index pattern described indicating how it has to be migrated to ILM.

swagger:model IndexPattern

func (*IndexPattern) ContextValidate ¶ added in v1.3.0

func (m *IndexPattern) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this index pattern based on context it is used

func (*IndexPattern) MarshalBinary ¶

func (m *IndexPattern) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IndexPattern) UnmarshalBinary ¶

func (m *IndexPattern) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IndexPattern) Validate ¶

func (m *IndexPattern) Validate(formats strfmt.Registry) error

Validate validates this index pattern

type IndexSynchronizationResults ¶

type IndexSynchronizationResults struct {

	// The ids of documents created in the index by index version
	// Required: true
	Created []string `json:"created"`

	// The ids of documents deleted from the index by index version
	// Required: true
	Deleted []string `json:"deleted"`

	// The regions where document synchronization may have failed
	// Required: true
	Errors []string `json:"errors"`

	// The ids of documents updated in the index by index version
	// Required: true
	Updated []string `json:"updated"`
}

IndexSynchronizationResults Results from synchronizing indices

swagger:model IndexSynchronizationResults

func (*IndexSynchronizationResults) ContextValidate ¶ added in v1.3.0

func (m *IndexSynchronizationResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this index synchronization results based on context it is used

func (*IndexSynchronizationResults) MarshalBinary ¶

func (m *IndexSynchronizationResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IndexSynchronizationResults) UnmarshalBinary ¶

func (m *IndexSynchronizationResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IndexSynchronizationResults) Validate ¶

func (m *IndexSynchronizationResults) Validate(formats strfmt.Registry) error

Validate validates this index synchronization results

type InstanceConfiguration ¶

type InstanceConfiguration struct {

	// Optional filter to match allocators against
	AllocatorFilter *QueryContainer `json:"allocator_filter,omitempty"`

	// The zones this instance configuration may exist in. Leaving out this parameter or specifying an empty list implies all zones are allowed. Normally not needed, but can be useful for exceptional infrastructure constraints.
	AllowedZones []string `json:"allowed_zones"`

	// If the IC is configuration controlled, this field is the version either being read back (reads return the latest IC unless specified by the 'config_version' URL param), or the version to update. Cannot be used in creates. For unversioned IC reads it is left empty.
	ConfigVersion int32 `json:"config_version,omitempty"`

	// Settings for the instance CPU multiplier
	CPUMultiplier float64 `json:"cpu_multiplier,omitempty"`

	// Date/time that this instance configuration was marked for deletion
	// Format: date-time
	DeletedOn *strfmt.DateTime `json:"deleted_on,omitempty"`

	// Optional description for the instance configuration
	Description string `json:"description,omitempty"`

	// Numerics representing possible instance sizes that the instance configuration supports.
	// Required: true
	DiscreteSizes *DiscreteSizes `json:"discrete_sizes"`

	// Unique identifier for the instance configuration
	ID string `json:"id,omitempty"`

	// The type of instance. For instance configurations where the type is specified in the 'id', the default value of 'instance_type' will be automatically inferred.
	// Enum: [elasticsearch kibana apm integrations_server appsearch enterprise_search]
	InstanceType string `json:"instance_type,omitempty"`

	// The maximum number of availability zones in which this instance configuration has allocators. This field will be missing unless explicitly requested with the show_max_zones parameter.
	// Read Only: true
	MaxZones int32 `json:"max_zones,omitempty"`

	// Optional arbitrary metadata to associate with this template.
	Metadata interface{} `json:"metadata,omitempty"`

	// Display name for the instance configuration.
	// Required: true
	Name *string `json:"name"`

	// Node types (master, data) for the instance. For instance configurations where the type (and tier) is specified in the 'id', the default value of 'node_types' will be automatically inferred.
	NodeTypes []string `json:"node_types,omitempty"`

	// Settings for the instance storage multiplier
	StorageMultiplier float64 `json:"storage_multiplier,omitempty"`

	// Indicates if a instance configuration is system owned (restricts the set of operations that can be performed on it)
	SystemOwned *bool `json:"system_owned,omitempty"`
}

InstanceConfiguration The configuration template for Elasticsearch instances, Kibana instances, and APM Servers.

swagger:model InstanceConfiguration

func (*InstanceConfiguration) ContextValidate ¶ added in v1.3.0

func (m *InstanceConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this instance configuration based on the context it is used

func (*InstanceConfiguration) MarshalBinary ¶

func (m *InstanceConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstanceConfiguration) UnmarshalBinary ¶

func (m *InstanceConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstanceConfiguration) Validate ¶

func (m *InstanceConfiguration) Validate(formats strfmt.Registry) error

Validate validates this instance configuration

type InstanceConfigurationInfo ¶

type InstanceConfigurationInfo struct {

	// If the IC is configuration controlled, this field is the version either being read back (reads return the latest IC unless specified by the 'config_version' URL param), or the version to update. Cannot be used in creates. For unversioned IC reads it is left empty.
	ConfigVersion int32 `json:"config_version,omitempty"`

	// Settings for the instance CPU multiplier
	CPUMultiplier float64 `json:"cpu_multiplier,omitempty"`

	// Optional description for the instance configuration
	Description string `json:"description,omitempty"`

	// Numerics representing possible instance sizes that the instance configuration supports.
	// Required: true
	DiscreteSizes *DiscreteSizes `json:"discrete_sizes"`

	// Unique identifier for the instance configuration
	ID string `json:"id,omitempty"`

	// The type of instance. For instance configurations where the type is specified in the 'id', the default value of 'instance_type' will be automatically inferred.
	// Enum: [elasticsearch kibana apm integrations_server appsearch enterprise_search]
	InstanceType string `json:"instance_type,omitempty"`

	// The maximum number of availability zones in which this instance configuration has allocators. This field will be missing unless explicitly requested with the show_max_zones parameter.
	// Read Only: true
	MaxZones int32 `json:"max_zones,omitempty"`

	// Optional arbitrary metadata to associate with this template.
	Metadata interface{} `json:"metadata,omitempty"`

	// Display name for the instance configuration.
	// Required: true
	Name *string `json:"name"`

	// Node types (master, data) for the instance. For instance configurations where the type (and tier) is specified in the 'id', the default value of 'node_types' will be automatically inferred.
	NodeTypes []string `json:"node_types"`

	// Settings for the instance storage multiplier
	StorageMultiplier float64 `json:"storage_multiplier,omitempty"`
}

InstanceConfigurationInfo The configuration template for Elasticsearch instances, Kibana instances, and APM Servers.

swagger:model InstanceConfigurationInfo

func (*InstanceConfigurationInfo) ContextValidate ¶ added in v1.3.0

func (m *InstanceConfigurationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this instance configuration info based on the context it is used

func (*InstanceConfigurationInfo) MarshalBinary ¶

func (m *InstanceConfigurationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstanceConfigurationInfo) UnmarshalBinary ¶

func (m *InstanceConfigurationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstanceConfigurationInfo) Validate ¶

func (m *InstanceConfigurationInfo) Validate(formats strfmt.Registry) error

Validate validates this instance configuration info

type InstanceMoveRequest ¶

type InstanceMoveRequest struct {

	// The instance id that is going to be moved
	// Required: true
	From *string `json:"from"`

	// Tells the infrastructure that the instance should be considered as permanently down when deciding how to migrate data to new nodes. If left blank then the system will automatically decide (currently: will treat the instances as up)
	InstanceDown *bool `json:"instance_down,omitempty"`

	// An optional list of allocator ids to which the instance should be moved. If not specified then any available allocator can be used (including the current one if it is healthy)
	To []string `json:"to"`
}

InstanceMoveRequest The request that specifies the Elasticsearch or stateless (eg Kibana) instances to move to allocators as part of the upgrade plan. When used in conjunction with '\_\_all\_\_' (roll all instances as a single unit) strategy, these instances are not restarted, which can sometimes enable recovery plans when these instances are boot-looping.

swagger:model InstanceMoveRequest

func (*InstanceMoveRequest) ContextValidate ¶ added in v1.3.0

func (m *InstanceMoveRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this instance move request based on context it is used

func (*InstanceMoveRequest) MarshalBinary ¶

func (m *InstanceMoveRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstanceMoveRequest) UnmarshalBinary ¶

func (m *InstanceMoveRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstanceMoveRequest) Validate ¶

func (m *InstanceMoveRequest) Validate(formats strfmt.Registry) error

Validate validates this instance move request

type InstanceOverrides ¶ added in v1.7.0

type InstanceOverrides struct {

	// Sets the memory capacity for the instances container. Requires a restart to take effect.
	Capacity int32 `json:"capacity,omitempty"`

	// Overrides the disk quota multiplier for the instance
	StorageMultiplier float64 `json:"storage_multiplier,omitempty"`
}

InstanceOverrides instance overrides

swagger:model InstanceOverrides

func (*InstanceOverrides) ContextValidate ¶ added in v1.7.0

func (m *InstanceOverrides) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this instance overrides based on context it is used

func (*InstanceOverrides) MarshalBinary ¶ added in v1.7.0

func (m *InstanceOverrides) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstanceOverrides) UnmarshalBinary ¶ added in v1.7.0

func (m *InstanceOverrides) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstanceOverrides) Validate ¶ added in v1.7.0

func (m *InstanceOverrides) Validate(formats strfmt.Registry) error

Validate validates this instance overrides

type InstanceTypeResource ¶

type InstanceTypeResource struct {

	// Compatible versions
	// Required: true
	Compatibility []*CompatibleVersionResource `json:"compatibility"`

	// Id of the default instance configuration to use for this instance type.
	DefaultInstanceConfigurationID string `json:"default_instance_configuration_id,omitempty"`

	// Instance type description
	// Required: true
	Description *string `json:"description"`

	// Instance type, the key for this resource
	// Required: true
	// Enum: [elasticsearch kibana apm integrations_server appsearch enterprise_search]
	InstanceType *string `json:"instance_type"`

	// Instance type name
	// Required: true
	Name *string `json:"name"`

	// Supported node types
	// Required: true
	NodeTypes []*NodeTypeResource `json:"node_types"`
}

InstanceTypeResource instance type resource

swagger:model InstanceTypeResource

func (*InstanceTypeResource) ContextValidate ¶ added in v1.3.0

func (m *InstanceTypeResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this instance type resource based on the context it is used

func (*InstanceTypeResource) MarshalBinary ¶

func (m *InstanceTypeResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InstanceTypeResource) UnmarshalBinary ¶

func (m *InstanceTypeResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InstanceTypeResource) Validate ¶

func (m *InstanceTypeResource) Validate(formats strfmt.Registry) error

Validate validates this instance type resource

type IntegrationsServer ¶ added in v1.10.0

type IntegrationsServer struct {

	// The backend plan as JSON
	// Required: true
	BackendPlan interface{} `json:"backend_plan"`

	// The human readable name (defaults to the generated cluster id if not specified)
	// Required: true
	DisplayName *string `json:"display_name"`

	// The user-specified id of the Elasticsearch Cluster that this will link to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// A locally-unique user-specified id
	// Required: true
	RefID *string `json:"ref_id"`
}

IntegrationsServer Holds diagnostics for an Integrations Server resource

swagger:model IntegrationsServer

func (*IntegrationsServer) ContextValidate ¶ added in v1.10.0

func (m *IntegrationsServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this integrations server based on context it is used

func (*IntegrationsServer) MarshalBinary ¶ added in v1.10.0

func (m *IntegrationsServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServer) UnmarshalBinary ¶ added in v1.10.0

func (m *IntegrationsServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServer) Validate ¶ added in v1.10.0

func (m *IntegrationsServer) Validate(formats strfmt.Registry) error

Validate validates this integrations server

type IntegrationsServerConfiguration ¶ added in v1.8.0

type IntegrationsServerConfiguration struct {

	// A docker URI that allows overriding of the default docker image specified for this version
	DockerImage string `json:"docker_image,omitempty"`

	// The mode the Integrations Server is operating in.
	// Enum: [standalone managed]
	Mode string `json:"mode,omitempty"`

	// system settings
	SystemSettings *IntegrationsServerSystemSettings `json:"system_settings,omitempty"`

	// An arbitrary JSON object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_yaml' is allowed), provided the parameters are on the allowlist and not on the denylist. (This field together with 'user_settings_override*' and 'system_settings' defines the total set of Integrations Server settings)
	UserSettingsJSON interface{} `json:"user_settings_json,omitempty"`

	// An arbitrary JSON object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_yaml' is allowed), ie in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of Integrations Server settings)
	UserSettingsOverrideJSON interface{} `json:"user_settings_override_json,omitempty"`

	// An arbitrary YAML object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_json' is allowed), ie in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of Integrations Server settings)
	UserSettingsOverrideYaml string `json:"user_settings_override_yaml,omitempty"`

	// An arbitrary YAML object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_json' is allowed), provided the parameters are on the allowlist and not on the denylist. (These field together with 'user_settings_override*' and 'system_settings' defines the total set of Integrations Server settings)
	UserSettingsYaml string `json:"user_settings_yaml,omitempty"`

	// The version of the Integrations Server cluster (must be one of the ECE supported versions, and won't work unless it matches the Integrations Server version. Leave blank to auto-detect version.)
	Version string `json:"version,omitempty"`
}

IntegrationsServerConfiguration The configuration options for the Integrations Server.

swagger:model IntegrationsServerConfiguration

func (*IntegrationsServerConfiguration) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations server configuration based on the context it is used

func (*IntegrationsServerConfiguration) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerConfiguration) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerConfiguration) Validate ¶ added in v1.8.0

Validate validates this integrations server configuration

type IntegrationsServerInfo ¶ added in v1.8.0

type IntegrationsServerInfo struct {

	// The mode APM is operating in.
	// Enum: [standalone managed]
	ApmServerMode string `json:"apm_server_mode,omitempty"`

	// The id of the deployment that this Integrations Server belongs to.
	DeploymentID string `json:"deployment_id,omitempty"`

	// elasticsearch cluster
	// Required: true
	ElasticsearchCluster *TargetElasticsearchCluster `json:"elasticsearch_cluster"`

	// External resources related to the Integrations Server
	// Required: true
	// Unique: true
	ExternalLinks []*ExternalHyperlink `json:"external_links"`

	// Whether the Integrations Server is healthy or not (one or more of the info subsections will have healthy: false)
	// Required: true
	Healthy *bool `json:"healthy"`

	// The id of the Integrations Server
	// Required: true
	ID *string `json:"id"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`

	// metadata
	Metadata *ClusterMetadataInfo `json:"metadata,omitempty"`

	// The name of the Integrations Server
	// Required: true
	Name *string `json:"name"`

	// plan info
	// Required: true
	PlanInfo *IntegrationsServerPlansInfo `json:"plan_info"`

	// The region that this Integrations Server belongs to. Only populated in SaaS or federated ECE.
	Region string `json:"region,omitempty"`

	// The cluster metadata settings for the Integrations Server
	Settings *IntegrationsServerSettings `json:"settings,omitempty"`

	// Integrations Server status
	// Required: true
	// Enum: [initializing stopping stopped rebooting restarting reconfiguring started]
	Status *string `json:"status"`

	// topology
	// Required: true
	Topology *ClusterTopologyInfo `json:"topology"`
}

IntegrationsServerInfo The overview information for the Integrations Server.

swagger:model IntegrationsServerInfo

func (*IntegrationsServerInfo) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations server info based on the context it is used

func (*IntegrationsServerInfo) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerInfo) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerInfo) Validate ¶ added in v1.8.0

func (m *IntegrationsServerInfo) Validate(formats strfmt.Registry) error

Validate validates this integrations server info

type IntegrationsServerPayload ¶ added in v1.8.0

type IntegrationsServerPayload struct {

	// The human readable name for the Integrations Server cluster (default: takes the name of its Elasticsearch cluster)
	DisplayName string `json:"display_name,omitempty"`

	// Alias to the Elasticsearch Cluster to attach the Integrations Server to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// plan
	// Required: true
	Plan *IntegrationsServerPlan `json:"plan"`

	// A locally-unique user-specified id for the Integrations Server
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`

	// The settings for building this Integrations Server cluster
	Settings *IntegrationsServerSettings `json:"settings,omitempty"`
}

IntegrationsServerPayload An Integrations Server creation request paired with the alias of the Elasticsearch cluster it should be paired with

swagger:model IntegrationsServerPayload

func (*IntegrationsServerPayload) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations server payload based on the context it is used

func (*IntegrationsServerPayload) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerPayload) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerPayload) Validate ¶ added in v1.8.0

func (m *IntegrationsServerPayload) Validate(formats strfmt.Registry) error

Validate validates this integrations server payload

type IntegrationsServerPlan ¶ added in v1.8.0

type IntegrationsServerPlan struct {

	// cluster topology
	ClusterTopology []*IntegrationsServerTopologyElement `json:"cluster_topology"`

	// integrations server
	// Required: true
	IntegrationsServer *IntegrationsServerConfiguration `json:"integrations_server"`

	// transient
	Transient *TransientIntegrationsServerPlanConfiguration `json:"transient,omitempty"`
}

IntegrationsServerPlan The plan for the Integrations Server.

swagger:model IntegrationsServerPlan

func (*IntegrationsServerPlan) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations server plan based on the context it is used

func (*IntegrationsServerPlan) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerPlan) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerPlan) Validate ¶ added in v1.8.0

func (m *IntegrationsServerPlan) Validate(formats strfmt.Registry) error

Validate validates this integrations server plan

type IntegrationsServerPlanControlConfiguration ¶ added in v1.8.0

type IntegrationsServerPlanControlConfiguration struct {

	// This timeout determines how long to give a cluster after it responds to API calls before performing actual operations on it. It defaults to 5s
	CalmWaitTime int64 `json:"calm_wait_time,omitempty"`

	// Set to 'forced' to force a reboot as part of the upgrade plan
	// Enum: [forced]
	ClusterReboot string `json:"cluster_reboot,omitempty"`

	// If true (default false), does not clear the maintenance flag (which prevents its API from being accessed except by the constructor) on new instances added until after a snapshot has been restored, otherwise, the maintenance flag is cleared once the new instances successfully join the new cluster
	ExtendedMaintenance *bool `json:"extended_maintenance,omitempty"`

	// move allocators
	MoveAllocators []*AllocatorMoveRequest `json:"move_allocators"`

	// move instances
	MoveInstances []*InstanceMoveRequest `json:"move_instances"`

	// If false (the default), the plan fails if it determines that the request can result in unsafe operations. Setting this flag overrides some of these check restraints.
	OverrideFailsafe *bool `json:"override_failsafe,omitempty"`

	// Map containing allocators tags in form of key value pairs, increasing the likelihood during move requests for allocators with matching tags, to be selected as target allocators
	PreferredAllocatorTags map[string]string `json:"preferred_allocator_tags,omitempty"`

	// List of allocators on which instances are placed if possible (if not possible/not specified then any available allocator with space is used)
	PreferredAllocators []string `json:"preferred_allocators"`

	// If true (default: false) does not allow re-using any existing instances currently in the cluster, ie even unchanged instances will be re-created
	ReallocateInstances *bool `json:"reallocate_instances,omitempty"`

	// The total timeout in seconds after which the plan is cancelled even if it is not complete. Defaults to 4x the max memory capacity per node (in MB)
	Timeout int64 `json:"timeout,omitempty"`
}

IntegrationsServerPlanControlConfiguration The plan control configuration options for the Integrations Server.

swagger:model IntegrationsServerPlanControlConfiguration

func (*IntegrationsServerPlanControlConfiguration) ContextValidate ¶ added in v1.8.0

ContextValidate validate this integrations server plan control configuration based on the context it is used

func (*IntegrationsServerPlanControlConfiguration) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPlanControlConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerPlanControlConfiguration) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPlanControlConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerPlanControlConfiguration) Validate ¶ added in v1.8.0

Validate validates this integrations server plan control configuration

type IntegrationsServerPlanInfo ¶ added in v1.8.0

type IntegrationsServerPlanInfo struct {

	// If this plan completed or failed (ie is not pending), when the attempt ended (ISO format in UTC)
	// Format: date-time
	AttemptEndTime strfmt.DateTime `json:"attempt_end_time,omitempty"`

	// When this plan attempt (ie to apply the plan to the Integrations Server) started (ISO format in UTC)
	// Format: date-time
	AttemptStartTime strfmt.DateTime `json:"attempt_start_time,omitempty"`

	// error
	Error *ClusterPlanAttemptError `json:"error,omitempty"`

	// Either the plan ended successfully, or is not yet completed (and no errors have occurred)
	// Required: true
	Healthy *bool `json:"healthy"`

	// plan
	Plan *IntegrationsServerPlan `json:"plan,omitempty"`

	// A UUID for each plan attempt
	PlanAttemptID string `json:"plan_attempt_id,omitempty"`

	// plan attempt log
	// Required: true
	PlanAttemptLog []*ClusterPlanStepInfo `json:"plan_attempt_log"`

	// A human readable name for each plan attempt, only populated when retrieving plan histories
	PlanAttemptName string `json:"plan_attempt_name,omitempty"`

	// If this plan is not current or pending, when the plan was no longer active (ISO format in UTC)
	// Format: date-time
	PlanEndTime strfmt.DateTime `json:"plan_end_time,omitempty"`

	// Information describing the source that facilitated the plans current state
	Source *ChangeSourceInfo `json:"source,omitempty"`

	// warnings
	// Required: true
	Warnings []*ClusterPlanWarning `json:"warnings"`
}

IntegrationsServerPlanInfo Information about the Integrations Server plan.

swagger:model IntegrationsServerPlanInfo

func (*IntegrationsServerPlanInfo) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerPlanInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations server plan info based on the context it is used

func (*IntegrationsServerPlanInfo) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPlanInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerPlanInfo) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPlanInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerPlanInfo) Validate ¶ added in v1.8.0

func (m *IntegrationsServerPlanInfo) Validate(formats strfmt.Registry) error

Validate validates this integrations server plan info

type IntegrationsServerPlansInfo ¶ added in v1.8.0

type IntegrationsServerPlansInfo struct {

	// current
	Current *IntegrationsServerPlanInfo `json:"current,omitempty"`

	// Whether the plan situation is healthy (if unhealthy, means the last plan attempt failed)
	// Required: true
	Healthy *bool `json:"healthy"`

	// history
	// Required: true
	History []*IntegrationsServerPlanInfo `json:"history"`

	// pending
	Pending *IntegrationsServerPlanInfo `json:"pending,omitempty"`
}

IntegrationsServerPlansInfo Information about current, pending, and past Integrations Server plans.

swagger:model IntegrationsServerPlansInfo

func (*IntegrationsServerPlansInfo) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerPlansInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations server plans info based on the context it is used

func (*IntegrationsServerPlansInfo) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPlansInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerPlansInfo) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerPlansInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerPlansInfo) Validate ¶ added in v1.8.0

func (m *IntegrationsServerPlansInfo) Validate(formats strfmt.Registry) error

Validate validates this integrations server plans info

type IntegrationsServerResourceInfo ¶ added in v1.8.0

type IntegrationsServerResourceInfo struct {

	// The Elasticsearch cluster that this resource depends on.
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// The randomly-generated id of a Resource
	// Required: true
	ID *string `json:"id"`

	// Info for the resource.
	// Required: true
	Info *IntegrationsServerInfo `json:"info"`

	// The locally-unique user-specified id of a Resource
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`
}

IntegrationsServerResourceInfo Describes an Integrations Server resource belonging to a Deployment

swagger:model IntegrationsServerResourceInfo

func (*IntegrationsServerResourceInfo) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerResourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations server resource info based on the context it is used

func (*IntegrationsServerResourceInfo) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerResourceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerResourceInfo) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerResourceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerResourceInfo) Validate ¶ added in v1.8.0

func (m *IntegrationsServerResourceInfo) Validate(formats strfmt.Registry) error

Validate validates this integrations server resource info

type IntegrationsServerSettings ¶ added in v1.8.0

type IntegrationsServerSettings struct {

	// metadata
	Metadata *ClusterMetadataSettings `json:"metadata,omitempty"`
}

IntegrationsServerSettings The settings for the Integrations Server.

swagger:model IntegrationsServerSettings

func (*IntegrationsServerSettings) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations server settings based on the context it is used

func (*IntegrationsServerSettings) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerSettings) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerSettings) Validate ¶ added in v1.8.0

func (m *IntegrationsServerSettings) Validate(formats strfmt.Registry) error

Validate validates this integrations server settings

type IntegrationsServerSystemSettings ¶ added in v1.8.0

type IntegrationsServerSystemSettings struct {

	// Optionally enable debug mode for Integrations Server - defaults false
	DebugEnabled *bool `json:"debug_enabled,omitempty"`

	// Optionally override the account within Integrations Server - defaults to a system account that always exists (if specified, the username must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchPassword string `json:"elasticsearch_password,omitempty"`

	// DEPRECATED: Scheduled for removal in a future version of the API.
	//
	// Optionally override the URL to which to send data (for advanced users only, if unspecified the system selects an internal URL)
	ElasticsearchURL string `json:"elasticsearch_url,omitempty"`

	// Optionally override the account within Integrations Server - defaults to a system account that always exists (if specified, the password must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchUsername string `json:"elasticsearch_username,omitempty"`

	// DEPRECATED: Scheduled for removal in a future version of the API.
	//
	// Optionally override the URL to which to send data (for advanced users only, if unspecified the system selects an internal URL)
	KibanaURL string `json:"kibana_url,omitempty"`

	// Optionally override the secret token within Integrations Server - defaults to the previously existing secretToken
	SecretToken string `json:"secret_token,omitempty"`
}

IntegrationsServerSystemSettings A structure that defines a curated subset of the Integrations Server settings. TIP: To define the complete set of Integrations Server setting, use `IntegrationsSystemSettings` with `user_settings_override_` and `user_settings_`.

swagger:model IntegrationsServerSystemSettings

func (*IntegrationsServerSystemSettings) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerSystemSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this integrations server system settings based on context it is used

func (*IntegrationsServerSystemSettings) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerSystemSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerSystemSettings) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerSystemSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerSystemSettings) Validate ¶ added in v1.8.0

Validate validates this integrations server system settings

type IntegrationsServerTopologyElement ¶ added in v1.8.0

type IntegrationsServerTopologyElement struct {

	// Controls the allocation of this topology element as well as allowed sizes and node_types. It needs to match the id of an existing instance configuration.
	InstanceConfigurationID string `json:"instance_configuration_id,omitempty"`

	// The version of the Instance Configuration Id. If it is unset, the meaning depends on read vs writes. For deployment reads, it is equivalent to version 0 (or the IC is unversioned); for deployment creates and deployment template use, it is equivalent to 'the latest version'; and for deployment updates, it is equivalent to 'retain the current version'.
	InstanceConfigurationVersion *int32 `json:"instance_configuration_version,omitempty"`

	// integrations server
	IntegrationsServer *IntegrationsServerConfiguration `json:"integrations_server,omitempty"`

	// size
	Size *TopologySize `json:"size,omitempty"`

	// number of zones in which nodes will be placed
	ZoneCount int32 `json:"zone_count,omitempty"`
}

IntegrationsServerTopologyElement Defines the topology of the Integrations Server nodes. For example, the number or capacity of the nodes, and where you can allocate the nodes.

swagger:model IntegrationsServerTopologyElement

func (*IntegrationsServerTopologyElement) ContextValidate ¶ added in v1.8.0

func (m *IntegrationsServerTopologyElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integrations server topology element based on the context it is used

func (*IntegrationsServerTopologyElement) MarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerTopologyElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationsServerTopologyElement) UnmarshalBinary ¶ added in v1.8.0

func (m *IntegrationsServerTopologyElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationsServerTopologyElement) Validate ¶ added in v1.8.0

Validate validates this integrations server topology element

type ItemCosts ¶ added in v1.5.0

type ItemCosts struct {

	// Resource usage in hours
	// Required: true
	Hours *int64 `json:"hours"`

	// Number of instances
	// Required: true
	InstanceCount *int32 `json:"instance_count"`

	// Kind of resource
	// Required: true
	// Enum: [elasticsearch kibana apm integrations_server appsearch enterprise_search]
	Kind *string `json:"kind"`

	// Resource name
	// Required: true
	Name *string `json:"name"`

	// Period
	// Required: true
	Period *Period `json:"period"`

	// Resource price
	// Required: true
	Price *float64 `json:"price"`

	// Price per hour
	// Required: true
	PricePerHour *float64 `json:"price_per_hour"`

	// Stock Keeping Unit (SKU)
	// Required: true
	Sku *string `json:"sku"`
}

ItemCosts Detailed costs associated to an Elastic Cloud Resource for an organization. All of the costs are expressed in Elastic Consumption Unit (ECU).

swagger:model ItemCosts

func (*ItemCosts) ContextValidate ¶ added in v1.5.0

func (m *ItemCosts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this item costs based on the context it is used

func (*ItemCosts) MarshalBinary ¶ added in v1.5.0

func (m *ItemCosts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemCosts) UnmarshalBinary ¶ added in v1.5.0

func (m *ItemCosts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemCosts) Validate ¶ added in v1.5.0

func (m *ItemCosts) Validate(formats strfmt.Registry) error

Validate validates this item costs

type ItemsCosts ¶ added in v1.5.0

type ItemsCosts struct {

	// Costs for the Elastic Cloud resources
	// Required: true
	Costs *Costs `json:"costs"`

	// List of the detailed costs associated to the Data Transfer and Storage (DTS) dimensions
	// Required: true
	DataTransferAndStorage []*DtsDimensionCosts `json:"data_transfer_and_storage"`

	// Costs of the list of resources
	// Required: true
	Resources []*ItemCosts `json:"resources"`
}

ItemsCosts Costs associated to a set of Elastic Cloud resources for an organization. All of the costs are expressed in Elastic Consumption Unit (ECU).

swagger:model ItemsCosts

func (*ItemsCosts) ContextValidate ¶ added in v1.5.0

func (m *ItemsCosts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this items costs based on the context it is used

func (*ItemsCosts) MarshalBinary ¶ added in v1.5.0

func (m *ItemsCosts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemsCosts) UnmarshalBinary ¶ added in v1.5.0

func (m *ItemsCosts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemsCosts) Validate ¶ added in v1.5.0

func (m *ItemsCosts) Validate(formats strfmt.Registry) error

Validate validates this items costs

type KeystoreContents ¶

type KeystoreContents struct {

	// List of secrets
	// Required: true
	Secrets map[string]KeystoreSecret `json:"secrets"`
}

KeystoreContents The contents of the Elasticsearch keystore.

swagger:model KeystoreContents

func (*KeystoreContents) ContextValidate ¶ added in v1.3.0

func (m *KeystoreContents) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this keystore contents based on the context it is used

func (*KeystoreContents) MarshalBinary ¶

func (m *KeystoreContents) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeystoreContents) UnmarshalBinary ¶

func (m *KeystoreContents) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeystoreContents) Validate ¶

func (m *KeystoreContents) Validate(formats strfmt.Registry) error

Validate validates this keystore contents

type KeystoreSecret ¶

type KeystoreSecret struct {

	// Stores the keystore secret as a file. The default is false, which stores the keystore secret as string when value is a plain string, or true when value is an object.
	AsFile *bool `json:"as_file,omitempty"`

	// Value of this setting. This can either be a string or a JSON object that is stored as a JSON string in the keystore. NOTE: When the keystore secret is unspecified, it is removed.
	Value interface{} `json:"value,omitempty"`
}

KeystoreSecret The value that you configure for the Elasticsearch keystore secret.

swagger:model KeystoreSecret

func (*KeystoreSecret) ContextValidate ¶ added in v1.3.0

func (m *KeystoreSecret) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this keystore secret based on context it is used

func (*KeystoreSecret) MarshalBinary ¶

func (m *KeystoreSecret) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeystoreSecret) UnmarshalBinary ¶

func (m *KeystoreSecret) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeystoreSecret) Validate ¶

func (m *KeystoreSecret) Validate(formats strfmt.Registry) error

Validate validates this keystore secret

type Kibana ¶

type Kibana struct {

	// The backend plan as JSON
	// Required: true
	BackendPlan interface{} `json:"backend_plan"`

	// The human readable name (defaults to the generated cluster id if not specified)
	// Required: true
	DisplayName *string `json:"display_name"`

	// The user-specified id of the Elasticsearch Cluster that this will link to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// A locally-unique user-specified id
	// Required: true
	RefID *string `json:"ref_id"`
}

Kibana Holds diagnostics for a Kibana resource

swagger:model Kibana

func (*Kibana) ContextValidate ¶ added in v1.3.0

func (m *Kibana) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kibana based on context it is used

func (*Kibana) MarshalBinary ¶

func (m *Kibana) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Kibana) UnmarshalBinary ¶

func (m *Kibana) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Kibana) Validate ¶

func (m *Kibana) Validate(formats strfmt.Registry) error

Validate validates this kibana

type KibanaClusterInfo ¶

type KibanaClusterInfo struct {

	// The id of the cluster
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// The name of the cluster
	// Required: true
	ClusterName *string `json:"cluster_name"`

	// The id of the deployment to which this Kibana Server belongs to.
	DeploymentID string `json:"deployment_id,omitempty"`

	// elasticsearch cluster
	// Required: true
	ElasticsearchCluster *TargetElasticsearchCluster `json:"elasticsearch_cluster"`

	// External resources related to the cluster
	// Required: true
	// Unique: true
	ExternalLinks []*ExternalHyperlink `json:"external_links"`

	// Whether the cluster is healthy or not (one or more of the info subsections will have healthy: false)
	// Required: true
	Healthy *bool `json:"healthy"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`

	// metadata
	// Required: true
	Metadata *ClusterMetadataInfo `json:"metadata"`

	// plan info
	// Required: true
	PlanInfo *KibanaClusterPlansInfo `json:"plan_info"`

	// The region that this cluster belongs to. Only populated in SaaS or federated ECE.
	Region string `json:"region,omitempty"`

	// The cluster metadata settings for a kibana cluster
	Settings *KibanaClusterSettings `json:"settings,omitempty"`

	// Cluster status
	// Required: true
	// Enum: [initializing stopping stopped rebooting restarting reconfiguring started]
	Status *string `json:"status"`

	// topology
	// Required: true
	Topology *ClusterTopologyInfo `json:"topology"`
}

KibanaClusterInfo The top-level object information for a Kibana instance.

swagger:model KibanaClusterInfo

func (*KibanaClusterInfo) ContextValidate ¶ added in v1.3.0

func (m *KibanaClusterInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana cluster info based on the context it is used

func (*KibanaClusterInfo) MarshalBinary ¶

func (m *KibanaClusterInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaClusterInfo) UnmarshalBinary ¶

func (m *KibanaClusterInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaClusterInfo) Validate ¶

func (m *KibanaClusterInfo) Validate(formats strfmt.Registry) error

Validate validates this kibana cluster info

type KibanaClusterPlan ¶

type KibanaClusterPlan struct {

	// cluster topology
	ClusterTopology []*KibanaClusterTopologyElement `json:"cluster_topology"`

	// kibana
	// Required: true
	Kibana *KibanaConfiguration `json:"kibana"`

	// transient
	Transient *TransientKibanaPlanConfiguration `json:"transient,omitempty"`
}

KibanaClusterPlan The plan for the Kibana instance.

swagger:model KibanaClusterPlan

func (*KibanaClusterPlan) ContextValidate ¶ added in v1.3.0

func (m *KibanaClusterPlan) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana cluster plan based on the context it is used

func (*KibanaClusterPlan) MarshalBinary ¶

func (m *KibanaClusterPlan) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaClusterPlan) UnmarshalBinary ¶

func (m *KibanaClusterPlan) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaClusterPlan) Validate ¶

func (m *KibanaClusterPlan) Validate(formats strfmt.Registry) error

Validate validates this kibana cluster plan

type KibanaClusterPlanInfo ¶

type KibanaClusterPlanInfo struct {

	// If this plan completed or failed (ie is not pending), when the attempt ended (ISO format in UTC)
	// Format: date-time
	AttemptEndTime strfmt.DateTime `json:"attempt_end_time,omitempty"`

	// When this plan attempt (ie to apply the plan to the cluster) started (ISO format in UTC)
	// Format: date-time
	AttemptStartTime strfmt.DateTime `json:"attempt_start_time,omitempty"`

	// error
	Error *ClusterPlanAttemptError `json:"error,omitempty"`

	// Either the plan ended successfully, or is not yet completed (and no errors have occurred)
	// Required: true
	Healthy *bool `json:"healthy"`

	// plan
	Plan *KibanaClusterPlan `json:"plan,omitempty"`

	// A UUID for each plan attempt
	PlanAttemptID string `json:"plan_attempt_id,omitempty"`

	// plan attempt log
	// Required: true
	PlanAttemptLog []*ClusterPlanStepInfo `json:"plan_attempt_log"`

	// A human readable name for each plan attempt, only populated when retrieving plan histories
	PlanAttemptName string `json:"plan_attempt_name,omitempty"`

	// If this plan is not current or pending, when the plan was no longer active (ISO format in UTC)
	// Format: date-time
	PlanEndTime strfmt.DateTime `json:"plan_end_time,omitempty"`

	// Information describing the source that facilitated the plans current state
	Source *ChangeSourceInfo `json:"source,omitempty"`

	// warnings
	// Required: true
	Warnings []*ClusterPlanWarning `json:"warnings"`
}

KibanaClusterPlanInfo Information about the current, pending, or past Kibana instance plan.

swagger:model KibanaClusterPlanInfo

func (*KibanaClusterPlanInfo) ContextValidate ¶ added in v1.3.0

func (m *KibanaClusterPlanInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana cluster plan info based on the context it is used

func (*KibanaClusterPlanInfo) MarshalBinary ¶

func (m *KibanaClusterPlanInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaClusterPlanInfo) UnmarshalBinary ¶

func (m *KibanaClusterPlanInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaClusterPlanInfo) Validate ¶

func (m *KibanaClusterPlanInfo) Validate(formats strfmt.Registry) error

Validate validates this kibana cluster plan info

type KibanaClusterPlansInfo ¶

type KibanaClusterPlansInfo struct {

	// current
	Current *KibanaClusterPlanInfo `json:"current,omitempty"`

	// Whether the plan situation is healthy (if unhealthy, means the last plan attempt failed)
	// Required: true
	Healthy *bool `json:"healthy"`

	// history
	// Required: true
	History []*KibanaClusterPlanInfo `json:"history"`

	// pending
	Pending *KibanaClusterPlanInfo `json:"pending,omitempty"`
}

KibanaClusterPlansInfo Information about the current, pending, or past Kibana instance plans.

swagger:model KibanaClusterPlansInfo

func (*KibanaClusterPlansInfo) ContextValidate ¶ added in v1.3.0

func (m *KibanaClusterPlansInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana cluster plans info based on the context it is used

func (*KibanaClusterPlansInfo) MarshalBinary ¶

func (m *KibanaClusterPlansInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaClusterPlansInfo) UnmarshalBinary ¶

func (m *KibanaClusterPlansInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaClusterPlansInfo) Validate ¶

func (m *KibanaClusterPlansInfo) Validate(formats strfmt.Registry) error

Validate validates this kibana cluster plans info

type KibanaClusterSettings ¶

type KibanaClusterSettings struct {

	// metadata
	Metadata *ClusterMetadataSettings `json:"metadata,omitempty"`
}

KibanaClusterSettings The settings for multiple Kibana instances.

swagger:model KibanaClusterSettings

func (*KibanaClusterSettings) ContextValidate ¶ added in v1.3.0

func (m *KibanaClusterSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana cluster settings based on the context it is used

func (*KibanaClusterSettings) MarshalBinary ¶

func (m *KibanaClusterSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaClusterSettings) UnmarshalBinary ¶

func (m *KibanaClusterSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaClusterSettings) Validate ¶

func (m *KibanaClusterSettings) Validate(formats strfmt.Registry) error

Validate validates this kibana cluster settings

type KibanaClusterTopologyElement ¶

type KibanaClusterTopologyElement struct {

	// Controls the allocation of this topology element as well as allowed sizes and node_types. It needs to match the id of an existing instance configuration.
	InstanceConfigurationID string `json:"instance_configuration_id,omitempty"`

	// The version of the Instance Configuration Id. If it is unset, the meaning depends on read vs writes. For deployment reads, it is equivalent to version 0 (or the IC is unversioned); for deployment creates and deployment template use, it is equivalent to 'the latest version'; and for deployment updates, it is equivalent to 'retain the current version'.
	InstanceConfigurationVersion *int32 `json:"instance_configuration_version,omitempty"`

	// kibana
	Kibana *KibanaConfiguration `json:"kibana,omitempty"`

	// The memory capacity in MB for each node of this type built in each zone.
	MemoryPerNode int32 `json:"memory_per_node,omitempty"`

	// The number of nodes of this type that are allocated within each zone (i.e. total capacity per zone = `node_count_per_zone` * `memory_per_node` in MB).
	NodeCountPerZone int32 `json:"node_count_per_zone,omitempty"`

	// size
	Size *TopologySize `json:"size,omitempty"`

	// number of zones in which nodes will be placed
	ZoneCount int32 `json:"zone_count,omitempty"`
}

KibanaClusterTopologyElement The topology of the Kibana nodes, including the number, capacity, and type of nodes, and where they can be allocated.

swagger:model KibanaClusterTopologyElement

func (*KibanaClusterTopologyElement) ContextValidate ¶ added in v1.3.0

func (m *KibanaClusterTopologyElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana cluster topology element based on the context it is used

func (*KibanaClusterTopologyElement) MarshalBinary ¶

func (m *KibanaClusterTopologyElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaClusterTopologyElement) UnmarshalBinary ¶

func (m *KibanaClusterTopologyElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaClusterTopologyElement) Validate ¶

func (m *KibanaClusterTopologyElement) Validate(formats strfmt.Registry) error

Validate validates this kibana cluster topology element

type KibanaConfiguration ¶

type KibanaConfiguration struct {

	// A docker URI that allows overriding of the default docker image specified for this version
	DockerImage string `json:"docker_image,omitempty"`

	// system settings
	SystemSettings *KibanaSystemSettings `json:"system_settings,omitempty"`

	// An arbitrary JSON object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_yaml' is allowed), provided the parameters are on the allowlist and not on the denylist. (This field together with 'user_settings_override*' and 'system_settings' defines the total set of Kibana settings)
	UserSettingsJSON interface{} `json:"user_settings_json,omitempty"`

	// An arbitrary JSON object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_yaml' is allowed), ie in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of Kibana settings)
	UserSettingsOverrideJSON interface{} `json:"user_settings_override_json,omitempty"`

	// An arbitrary YAML object allowing ECE admins owners to set clusters' parameters (only one of this and 'user_settings_override_json' is allowed), ie in addition to the documented 'system_settings'. (This field together with 'system_settings' and 'user_settings*' defines the total set of Kibana settings)
	UserSettingsOverrideYaml string `json:"user_settings_override_yaml,omitempty"`

	// An arbitrary YAML object allowing (non-admin) cluster owners to set their parameters (only one of this and 'user_settings_json' is allowed), provided the parameters are on the allowlist and not on the denylist. (These field together with 'user_settings_override*' and 'system_settings' defines the total set of Kibana settings)
	UserSettingsYaml string `json:"user_settings_yaml,omitempty"`

	// The version of the Kibana cluster (must be one of the ECE supported versions, and won't work unless it matches the Elasticsearch version. Leave blank to auto-detect version.)
	Version string `json:"version,omitempty"`
}

KibanaConfiguration The Kibana instance settings. When specified at the top level, provides a field-by-field default. When specified at the topology level, provides the override settings.

swagger:model KibanaConfiguration

func (*KibanaConfiguration) ContextValidate ¶ added in v1.3.0

func (m *KibanaConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana configuration based on the context it is used

func (*KibanaConfiguration) MarshalBinary ¶

func (m *KibanaConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaConfiguration) UnmarshalBinary ¶

func (m *KibanaConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaConfiguration) Validate ¶

func (m *KibanaConfiguration) Validate(formats strfmt.Registry) error

Validate validates this kibana configuration

type KibanaDeeplink struct {

	// Semver condition when to apply the URI.
	// Required: true
	Semver *string `json:"semver"`

	// URI to which the user should be directed.
	// Required: true
	URI *string `json:"uri"`
}

KibanaDeeplink Embedded object that contains information for linking into a specific Kibana page configured via the template.

swagger:model KibanaDeeplink

func (*KibanaDeeplink) ContextValidate ¶ added in v1.3.0

func (m *KibanaDeeplink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kibana deeplink based on context it is used

func (*KibanaDeeplink) MarshalBinary ¶ added in v1.1.0

func (m *KibanaDeeplink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaDeeplink) UnmarshalBinary ¶ added in v1.1.0

func (m *KibanaDeeplink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaDeeplink) Validate ¶ added in v1.1.0

func (m *KibanaDeeplink) Validate(formats strfmt.Registry) error

Validate validates this kibana deeplink

type KibanaPayload ¶

type KibanaPayload struct {

	// The human readable name for the Kibana cluster (default: takes the name of its Elasticsearch cluster)
	DisplayName string `json:"display_name,omitempty"`

	// Alias to the Elasticsearch Cluster to attach Kibana to
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// plan
	// Required: true
	Plan *KibanaClusterPlan `json:"plan"`

	// A locally-unique user-specified id for Kibana
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`

	// The settings for building this Kibana cluster
	Settings *KibanaClusterSettings `json:"settings,omitempty"`
}

KibanaPayload A Kibana creation request paired with the alias of the Elasticsearch cluster it should be paired with

swagger:model KibanaPayload

func (*KibanaPayload) ContextValidate ¶ added in v1.3.0

func (m *KibanaPayload) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana payload based on the context it is used

func (*KibanaPayload) MarshalBinary ¶

func (m *KibanaPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaPayload) UnmarshalBinary ¶

func (m *KibanaPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaPayload) Validate ¶

func (m *KibanaPayload) Validate(formats strfmt.Registry) error

Validate validates this kibana payload

type KibanaPlanControlConfiguration ¶

type KibanaPlanControlConfiguration struct {

	// This timeout determines how long to give a cluster after it responds to API calls before performing actual operations on it. It defaults to 5s
	CalmWaitTime int64 `json:"calm_wait_time,omitempty"`

	// Set to 'forced' to force a reboot as part of the upgrade plan
	// Enum: [forced]
	ClusterReboot string `json:"cluster_reboot,omitempty"`

	// If true (default false), does not clear the maintenance flag (which prevents its API from being accessed except by the constructor) on new instances added until after a snapshot has been restored, otherwise, the maintenance flag is cleared once the new instances successfully join the new cluster
	ExtendedMaintenance *bool `json:"extended_maintenance,omitempty"`

	// move allocators
	MoveAllocators []*AllocatorMoveRequest `json:"move_allocators"`

	// move instances
	MoveInstances []*InstanceMoveRequest `json:"move_instances"`

	// If false (the default), the plan fails if it determines that the request can result in unsafe operations. Setting this flag overrides some of these check restraints.
	OverrideFailsafe *bool `json:"override_failsafe,omitempty"`

	// Map containing allocators tags in form of key value pairs, increasing the likelihood during move requests for allocators with matching tags, to be selected as target allocators
	PreferredAllocatorTags map[string]string `json:"preferred_allocator_tags,omitempty"`

	// List of allocators on which instances are placed if possible (if not possible/not specified then any available allocator with space is used)
	PreferredAllocators []string `json:"preferred_allocators"`

	// If true (default: false) does not allow re-using any existing instances currently in the cluster, ie even unchanged instances will be re-created
	ReallocateInstances *bool `json:"reallocate_instances,omitempty"`

	// The total timeout in seconds after which the plan is cancelled even if it is not complete. Defaults to 4x the max memory capacity per node (in MB)
	Timeout int64 `json:"timeout,omitempty"`
}

KibanaPlanControlConfiguration The configuration settings for the timeout and fallback parameters.

swagger:model KibanaPlanControlConfiguration

func (*KibanaPlanControlConfiguration) ContextValidate ¶ added in v1.3.0

func (m *KibanaPlanControlConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana plan control configuration based on the context it is used

func (*KibanaPlanControlConfiguration) MarshalBinary ¶

func (m *KibanaPlanControlConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaPlanControlConfiguration) UnmarshalBinary ¶

func (m *KibanaPlanControlConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaPlanControlConfiguration) Validate ¶

func (m *KibanaPlanControlConfiguration) Validate(formats strfmt.Registry) error

Validate validates this kibana plan control configuration

type KibanaResourceInfo ¶

type KibanaResourceInfo struct {

	// The Elasticsearch cluster that this resource depends on.
	// Required: true
	ElasticsearchClusterRefID *string `json:"elasticsearch_cluster_ref_id"`

	// The randomly-generated id of a Resource
	// Required: true
	ID *string `json:"id"`

	// Info for the resource.
	// Required: true
	Info *KibanaClusterInfo `json:"info"`

	// The locally-unique user-specified id of a Resource
	// Required: true
	RefID *string `json:"ref_id"`

	// The region where this resource exists
	// Required: true
	Region *string `json:"region"`
}

KibanaResourceInfo Describes an Kibana resource belonging to a Deployment

swagger:model KibanaResourceInfo

func (*KibanaResourceInfo) ContextValidate ¶ added in v1.3.0

func (m *KibanaResourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana resource info based on the context it is used

func (*KibanaResourceInfo) MarshalBinary ¶

func (m *KibanaResourceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaResourceInfo) UnmarshalBinary ¶

func (m *KibanaResourceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaResourceInfo) Validate ¶

func (m *KibanaResourceInfo) Validate(formats strfmt.Registry) error

Validate validates this kibana resource info

type KibanaSubClusterInfo ¶

type KibanaSubClusterInfo struct {

	// Whether the associated Kibana cluster is currently available
	// Required: true
	Enabled *bool `json:"enabled"`

	// The Kibana cluster Id
	// Required: true
	KibanaID *string `json:"kibana_id"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`
}

KibanaSubClusterInfo Information about the Kibana instances associated with the Elasticsearch cluster.

swagger:model KibanaSubClusterInfo

func (*KibanaSubClusterInfo) ContextValidate ¶ added in v1.3.0

func (m *KibanaSubClusterInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kibana sub cluster info based on the context it is used

func (*KibanaSubClusterInfo) MarshalBinary ¶

func (m *KibanaSubClusterInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaSubClusterInfo) UnmarshalBinary ¶

func (m *KibanaSubClusterInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaSubClusterInfo) Validate ¶

func (m *KibanaSubClusterInfo) Validate(formats strfmt.Registry) error

Validate validates this kibana sub cluster info

type KibanaSystemSettings ¶

type KibanaSystemSettings struct {

	// Optionally override the account within Elasticsearch - defaults to a system account that always exists (if specified, the username must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchPassword string `json:"elasticsearch_password,omitempty"`

	// DEPRECATED: Scheduled for removal in a future version of the API.
	//
	// Optionally override the URL to which to send data (for advanced users only, if unspecified the system selects an internal URL)
	ElasticsearchURL string `json:"elasticsearch_url,omitempty"`

	// Optionally override the account within Elasticsearch - defaults to a system account that always exists (if specified, the password must also be specified). Note that this field is never returned from the API, it is write only.
	ElasticsearchUsername string `json:"elasticsearch_username,omitempty"`
}

KibanaSystemSettings A subset of Kibana settings. TIP: To define the complete set of Elasticsearch settings, use `KibanaSystemSettings` with `user_settings_override_` and `user_settings_`.

swagger:model KibanaSystemSettings

func (*KibanaSystemSettings) ContextValidate ¶ added in v1.3.0

func (m *KibanaSystemSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kibana system settings based on context it is used

func (*KibanaSystemSettings) MarshalBinary ¶

func (m *KibanaSystemSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KibanaSystemSettings) UnmarshalBinary ¶

func (m *KibanaSystemSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KibanaSystemSettings) Validate ¶

func (m *KibanaSystemSettings) Validate(formats strfmt.Registry) error

Validate validates this kibana system settings

type LdapGroupSearch ¶

type LdapGroupSearch struct {

	// Specifies a container DN to search for groups in which the user has membership
	BaseDn string `json:"base_dn,omitempty"`

	// Specifies a filter to search for a group. When unspecified, the security realm searches for group, groupOfNames, groupOfUniqueNames, or posixGroup with the attributes member, memberOf, or memberUid. Any instance of {0} in the filter is replaced by the user attribute defined in user_attribute.
	Filter string `json:"filter,omitempty"`

	// Specifies whether the group search should be sub_tree, one_level or base. one_level only searches objects directly contained within the base_dn. The default sub_tree searches all objects contained under base_dn. base specifies that the base_dn is a group object, and that it is the only group considered.
	// Enum: [sub_tree one_level base]
	Scope string `json:"scope,omitempty"`

	// Specifies the user attribute that is fetched and provided as a parameter to the filter. When unspecified, the user DN is passed to the filter.
	UserAttribute string `json:"user_attribute,omitempty"`
}

LdapGroupSearch The group search configuration for the Elasticsearch security LDAP realm.

swagger:model LdapGroupSearch

func (*LdapGroupSearch) ContextValidate ¶ added in v1.3.0

func (m *LdapGroupSearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ldap group search based on context it is used

func (*LdapGroupSearch) MarshalBinary ¶

func (m *LdapGroupSearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapGroupSearch) UnmarshalBinary ¶

func (m *LdapGroupSearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapGroupSearch) Validate ¶

func (m *LdapGroupSearch) Validate(formats strfmt.Registry) error

Validate validates this ldap group search

type LdapSecurityRealmLoadBalance ¶

type LdapSecurityRealmLoadBalance struct {

	// When using dns_failover or dns_round_robin as the load balancing type, this setting controls the amount of time to cache DNS lookups. Defaults to 1h.
	CacheTTL string `json:"cache_ttl,omitempty"`

	// The behavior to use when there are multiple LDAP URLs defined
	// Enum: [failover dns_failover round_robin dns_round_robin]
	Type string `json:"type,omitempty"`
}

LdapSecurityRealmLoadBalance The load balancing configuration for the Elasticsearch security LDAP realm.

swagger:model LdapSecurityRealmLoadBalance

func (*LdapSecurityRealmLoadBalance) ContextValidate ¶ added in v1.3.0

func (m *LdapSecurityRealmLoadBalance) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ldap security realm load balance based on context it is used

func (*LdapSecurityRealmLoadBalance) MarshalBinary ¶

func (m *LdapSecurityRealmLoadBalance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapSecurityRealmLoadBalance) UnmarshalBinary ¶

func (m *LdapSecurityRealmLoadBalance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapSecurityRealmLoadBalance) Validate ¶

func (m *LdapSecurityRealmLoadBalance) Validate(formats strfmt.Registry) error

Validate validates this ldap security realm load balance

type LdapSecurityRealmRoleMappingRule ¶

type LdapSecurityRealmRoleMappingRule struct {

	// The roles that are applied when the mapping rule is successfully evaluated
	// Required: true
	Roles []string `json:"roles"`

	// The type of role mapping rule
	// Required: true
	// Enum: [user_dn group_dn]
	Type *string `json:"type"`

	// The value to match when evaluating this rule
	// Required: true
	Value *string `json:"value"`
}

LdapSecurityRealmRoleMappingRule The role mapping rule for the Elasticsearch security LDAP realm.

swagger:model LdapSecurityRealmRoleMappingRule

func (*LdapSecurityRealmRoleMappingRule) ContextValidate ¶ added in v1.3.0

func (m *LdapSecurityRealmRoleMappingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ldap security realm role mapping rule based on context it is used

func (*LdapSecurityRealmRoleMappingRule) MarshalBinary ¶

func (m *LdapSecurityRealmRoleMappingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapSecurityRealmRoleMappingRule) UnmarshalBinary ¶

func (m *LdapSecurityRealmRoleMappingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapSecurityRealmRoleMappingRule) Validate ¶

Validate validates this ldap security realm role mapping rule

type LdapSecurityRealmRoleMappingRules ¶

type LdapSecurityRealmRoleMappingRules struct {

	// The default roles applied to all users
	// Required: true
	DefaultRoles []string `json:"default_roles"`

	// The role mapping rules to evaluate
	// Required: true
	Rules []*LdapSecurityRealmRoleMappingRule `json:"rules"`
}

LdapSecurityRealmRoleMappingRules The role mapping ruleset for the Elasticsearch security LDAP realm.

swagger:model LdapSecurityRealmRoleMappingRules

func (*LdapSecurityRealmRoleMappingRules) ContextValidate ¶ added in v1.3.0

func (m *LdapSecurityRealmRoleMappingRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ldap security realm role mapping rules based on the context it is used

func (*LdapSecurityRealmRoleMappingRules) MarshalBinary ¶

func (m *LdapSecurityRealmRoleMappingRules) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapSecurityRealmRoleMappingRules) UnmarshalBinary ¶

func (m *LdapSecurityRealmRoleMappingRules) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapSecurityRealmRoleMappingRules) Validate ¶

Validate validates this ldap security realm role mapping rules

type LdapSettings ¶

type LdapSettings struct {

	// When true, bindDb credentials are ignored
	// Required: true
	BindAnonymously *bool `json:"bind_anonymously"`

	// The distinguished name of the user that is used to bind to the LDAP and perform searches. Only used when bind_type is set to 'user_search'.
	BindDn string `json:"bind_dn,omitempty"`

	// The user password that is used to bind to the LDAP server. Only used when bind_type is set to 'user_search'.
	BindPassword string `json:"bind_password,omitempty"`

	// The type of user binding to apply
	// Required: true
	// Enum: [user_search user_templates]
	BindType *string `json:"bind_type"`

	// The SSL trusted CA certificate bundle URL. The bundle should be a zip file containing a single keystore file 'keystore.ks' in the directory '/ldap/:id/truststore', where :id is the value of the [id] field.
	CertificateURL string `json:"certificate_url,omitempty"`

	// The password to the certificate bundle URL truststore
	CertificateURLTruststorePassword string `json:"certificate_url_truststore_password,omitempty"`

	// The format of the truststore file. Should be jks to use the Java Keystore format or PKCS12 to use PKCS#12 files.  The default is jks.
	// Enum: [jks PKCS12]
	CertificateURLTruststoreType string `json:"certificate_url_truststore_type,omitempty"`

	// When true, enables the security realm
	Enabled *bool `json:"enabled,omitempty"`

	// The LDAP group search configuration
	GroupSearch *LdapGroupSearch `json:"group_search,omitempty"`

	// The identifier for the security realm
	// Required: true
	ID *string `json:"id"`

	// The LDAP load balancing behavior
	LoadBalance *LdapSecurityRealmLoadBalance `json:"load_balance,omitempty"`

	// The friendly name of the security realm
	// Required: true
	Name *string `json:"name"`

	// The order that the security realm is evaluated
	Order int32 `json:"order,omitempty"`

	// Advanced configuration options in YAML format. Any settings defined here will override any configuration set via the API. Note that all keys should omit the 'xpack.security.authc.realms.ldap.{realm_id}' prefix. For example, when the realm ID is set to 'ldap1', the advanced configuration 'xpack.security.authc.realms.ldap.ldap1.ssl.verification_mode: full' should be added as 'ssl.verification_mode: full'.
	OverrideYaml string `json:"override_yaml,omitempty"`

	// The role mapping rules associated with the security realm
	RoleMappings *LdapSecurityRealmRoleMappingRules `json:"role_mappings,omitempty"`

	// The LDAP URLs used to authenticate against, in the format ldap[s]://server:port. Note that ldap and ldaps protocols cannot be mixed together.
	// Required: true
	Urls []string `json:"urls"`

	// The distinguished name template that replaces the user name with the string {0}. Only used when bind_type is set to 'user_templates'.
	UserDnTemplates []string `json:"user_dn_templates"`

	// Specifies the attribute to examine on the user for group membership. If any 'group_search' settings are specified, this setting is ignored. Defaults to 'memberOf'.
	UserGroupAttribute string `json:"user_group_attribute,omitempty"`

	// The LDAP user search configuration. Only used when bind_type is set to 'user_search'.
	UserSearch *LdapUserSearch `json:"user_search,omitempty"`
}

LdapSettings The configuration for the Elasticsearch security LDAP realm.

swagger:model LdapSettings

func (*LdapSettings) ContextValidate ¶ added in v1.3.0

func (m *LdapSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ldap settings based on the context it is used

func (*LdapSettings) MarshalBinary ¶

func (m *LdapSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapSettings) UnmarshalBinary ¶

func (m *LdapSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapSettings) Validate ¶

func (m *LdapSettings) Validate(formats strfmt.Registry) error

Validate validates this ldap settings

type LdapUserSearch ¶

type LdapUserSearch struct {

	// Specifies a container DN to search for users
	BaseDn string `json:"base_dn,omitempty"`

	// Specifies the filter to search the directory and match an entry with the username provided by the user. Defaults to (uid={0}). {0} is substituted with the username provided when searching.
	Filter string `json:"filter,omitempty"`

	// The scope of the user search. Valid values are sub_tree, one_level, or base. one_level only searches objects directly contained in the base_dn. sub_tree searches all objects contained in base_dn. base specifies that the base_dn is the user object, and that it is the only user considered. Defaults to sub_tree.
	// Enum: [sub_tree one_level base]
	Scope string `json:"scope,omitempty"`
}

LdapUserSearch The user search configuration for the Elasticsearch security LDAP realm.

swagger:model LdapUserSearch

func (*LdapUserSearch) ContextValidate ¶ added in v1.3.0

func (m *LdapUserSearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ldap user search based on context it is used

func (*LdapUserSearch) MarshalBinary ¶

func (m *LdapUserSearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LdapUserSearch) UnmarshalBinary ¶

func (m *LdapUserSearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LdapUserSearch) Validate ¶

func (m *LdapUserSearch) Validate(formats strfmt.Registry) error

Validate validates this ldap user search

type LicenseInfo ¶

type LicenseInfo struct {

	// List of cluster licenses
	ClusterLicenses []*ClusterLicenseInfo `json:"cluster_licenses"`

	// When the license expires, in milliseconds since the Unix epoch
	// Required: true
	ExpiryDateInMillis *int64 `json:"expiry_date_in_millis"`

	// When the license was issued, in milliseconds since the Unix epoch
	// Required: true
	IssueDateInMillis *int64 `json:"issue_date_in_millis"`

	// Entity the license was issued to
	// Required: true
	IssuedTo *string `json:"issued_to"`

	// Issuer of the license
	// Required: true
	Issuer *string `json:"issuer"`

	// Maximum number of allocators. Empty for version >= 3
	MaxAllocators int32 `json:"max_allocators,omitempty"`

	// Maximum number of instances. Only present for version 3
	MaxInstances int32 `json:"max_instances,omitempty"`

	// Maximum RAM per allocator in MB. Empty for version >= 3
	MaxRAMPerAllocatorMb int32 `json:"max_ram_per_allocator_mb,omitempty"`

	// Maximum number of resource units, where each unit is 64GB. Only present for version > 3
	MaxResourceUnits int32 `json:"max_resource_units,omitempty"`

	// Operation mode
	OperationMode string `json:"operation_mode,omitempty"`

	// Digital signature
	// Required: true
	Signature *string `json:"signature"`

	// Initial validity of the license, in milliseconds since the Unix epoch
	// Required: true
	StartDateInMillis *int64 `json:"start_date_in_millis"`

	// Type of the license subscription
	SubscriptionType string `json:"subscription_type,omitempty"`

	// Type of the license
	// Required: true
	Type *string `json:"type"`

	// Unique identifier of the license
	// Required: true
	UID *string `json:"uid"`

	// Version of the license
	Version int32 `json:"version,omitempty"`
}

LicenseInfo Information about a license.

swagger:model LicenseInfo

func (*LicenseInfo) ContextValidate ¶ added in v1.3.0

func (m *LicenseInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this license info based on the context it is used

func (*LicenseInfo) MarshalBinary ¶

func (m *LicenseInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LicenseInfo) UnmarshalBinary ¶

func (m *LicenseInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LicenseInfo) Validate ¶

func (m *LicenseInfo) Validate(formats strfmt.Registry) error

Validate validates this license info

type LicenseObject ¶

type LicenseObject struct {

	// License data
	// Required: true
	License *LicenseInfo `json:"license"`

	// Information about current usage.
	// Read Only: true
	UsageStats *UsageStats `json:"usage_stats,omitempty"`
}

LicenseObject The container for a license.

swagger:model LicenseObject

func (*LicenseObject) ContextValidate ¶ added in v1.3.0

func (m *LicenseObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this license object based on the context it is used

func (*LicenseObject) MarshalBinary ¶

func (m *LicenseObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LicenseObject) UnmarshalBinary ¶

func (m *LicenseObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LicenseObject) Validate ¶

func (m *LicenseObject) Validate(formats strfmt.Registry) error

Validate validates this license object

type ListEnrollmentTokenElement ¶

type ListEnrollmentTokenElement struct {

	// The services for which this enrollment token applies
	// Required: true
	Roles []string `json:"roles"`

	// An identifier for the token
	// Required: true
	TokenID *string `json:"token_id"`
}

ListEnrollmentTokenElement Information about an active enrollment token.

swagger:model ListEnrollmentTokenElement

func (*ListEnrollmentTokenElement) ContextValidate ¶ added in v1.3.0

func (m *ListEnrollmentTokenElement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list enrollment token element based on context it is used

func (*ListEnrollmentTokenElement) MarshalBinary ¶

func (m *ListEnrollmentTokenElement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListEnrollmentTokenElement) UnmarshalBinary ¶

func (m *ListEnrollmentTokenElement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListEnrollmentTokenElement) Validate ¶

func (m *ListEnrollmentTokenElement) Validate(formats strfmt.Registry) error

Validate validates this list enrollment token element

type ListEnrollmentTokenReply ¶

type ListEnrollmentTokenReply struct {

	// The list of currently active enrollment tokens
	// Required: true
	Tokens []*ListEnrollmentTokenElement `json:"tokens"`
}

ListEnrollmentTokenReply Information about active enrollment tokens.

swagger:model ListEnrollmentTokenReply

func (*ListEnrollmentTokenReply) ContextValidate ¶ added in v1.3.0

func (m *ListEnrollmentTokenReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list enrollment token reply based on the context it is used

func (*ListEnrollmentTokenReply) MarshalBinary ¶

func (m *ListEnrollmentTokenReply) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListEnrollmentTokenReply) UnmarshalBinary ¶

func (m *ListEnrollmentTokenReply) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListEnrollmentTokenReply) Validate ¶

func (m *ListEnrollmentTokenReply) Validate(formats strfmt.Registry) error

Validate validates this list enrollment token reply

type LoggingSettings ¶

type LoggingSettings struct {

	// Overridden logging levels. Keys are logging levels. Allowable values are OFF, ERROR, WARN, INFO, DEBUG, TRACE, ALL
	// Required: true
	LoggingLevels map[string]string `json:"logging_levels"`
}

LoggingSettings Information about logging settings.

swagger:model LoggingSettings

func (*LoggingSettings) ContextValidate ¶ added in v1.3.0

func (m *LoggingSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this logging settings based on context it is used

func (*LoggingSettings) MarshalBinary ¶

func (m *LoggingSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LoggingSettings) UnmarshalBinary ¶

func (m *LoggingSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LoggingSettings) Validate ¶

func (m *LoggingSettings) Validate(formats strfmt.Registry) error

Validate validates this logging settings

type LoginRequest ¶

type LoginRequest struct {

	// login state
	LoginState *LoginState `json:"login_state,omitempty"`

	// The plain text password part of the login request
	// Required: true
	Password *string `json:"password"`

	// The username part of the login request
	// Required: true
	Username *string `json:"username"`
}

LoginRequest The body of a login request.

swagger:model LoginRequest

func (*LoginRequest) ContextValidate ¶ added in v1.3.0

func (m *LoginRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this login request based on the context it is used

func (*LoginRequest) MarshalBinary ¶

func (m *LoginRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LoginRequest) UnmarshalBinary ¶

func (m *LoginRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LoginRequest) Validate ¶

func (m *LoginRequest) Validate(formats strfmt.Registry) error

Validate validates this login request

type LoginState ¶

type LoginState struct {

	// The path to which to redirect post login - if not specified then no redirect is performed, instead 200 is returned with the token in the body
	Path string `json:"path,omitempty"`
}

LoginState Configure how the API responds after a successful login.

swagger:model LoginState

func (*LoginState) ContextValidate ¶ added in v1.3.0

func (m *LoginState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this login state based on context it is used

func (*LoginState) MarshalBinary ¶

func (m *LoginState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LoginState) UnmarshalBinary ¶

func (m *LoginState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LoginState) Validate ¶

func (m *LoginState) Validate(formats strfmt.Registry) error

Validate validates this login state

type ManagedMonitoringSettings ¶

type ManagedMonitoringSettings struct {

	// The Id of the target cluster to which to send monitoring information
	// Required: true
	TargetClusterID *string `json:"target_cluster_id"`
}

ManagedMonitoringSettings The settings for sending monitoring information to another cluster.

swagger:model ManagedMonitoringSettings

func (*ManagedMonitoringSettings) ContextValidate ¶ added in v1.3.0

func (m *ManagedMonitoringSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this managed monitoring settings based on context it is used

func (*ManagedMonitoringSettings) MarshalBinary ¶

func (m *ManagedMonitoringSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ManagedMonitoringSettings) UnmarshalBinary ¶

func (m *ManagedMonitoringSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ManagedMonitoringSettings) Validate ¶

func (m *ManagedMonitoringSettings) Validate(formats strfmt.Registry) error

Validate validates this managed monitoring settings

type MatchAllQuery ¶

type MatchAllQuery interface{}

MatchAllQuery A query that matches all documents.

swagger:model MatchAllQuery

type MatchNoneQuery ¶

type MatchNoneQuery interface{}

MatchNoneQuery A query that doesn't match any documents.

swagger:model MatchNoneQuery

type MatchQuery ¶

type MatchQuery struct {

	// The analyzer that will be used to perform the analysis process on the text. Defaults to the analyzer that was used to index the field.
	Analyzer string `json:"analyzer,omitempty"`

	// The minimum number of optional should clauses to match.
	MinimumShouldMatch int32 `json:"minimum_should_match,omitempty"`

	// The operator flag can be set to or or and to control the boolean clauses (defaults to or).
	Operator string `json:"operator,omitempty"`

	// The text/numeric/date to query for.
	// Required: true
	Query *string `json:"query"`
}

MatchQuery Consumes and analyzes text, numbers, and dates, then constructs a query.

swagger:model MatchQuery

func (*MatchQuery) ContextValidate ¶ added in v1.3.0

func (m *MatchQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this match query based on context it is used

func (*MatchQuery) MarshalBinary ¶

func (m *MatchQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MatchQuery) UnmarshalBinary ¶

func (m *MatchQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MatchQuery) Validate ¶

func (m *MatchQuery) Validate(formats strfmt.Registry) error

Validate validates this match query

type Metadata ¶

type Metadata struct {

	// Creation time
	// Required: true
	// Format: date-time
	CreatedTime *strfmt.DateTime `json:"created_time"`

	// Modification time
	// Required: true
	// Format: date-time
	ModifiedTime *strfmt.DateTime `json:"modified_time"`

	// Version
	// Required: true
	Version *string `json:"version"`
}

Metadata Metadata of an entity

swagger:model Metadata

func (*Metadata) ContextValidate ¶ added in v1.3.0

func (m *Metadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metadata based on context it is used

func (*Metadata) MarshalBinary ¶

func (m *Metadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Metadata) UnmarshalBinary ¶

func (m *Metadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Metadata) Validate ¶

func (m *Metadata) Validate(formats strfmt.Registry) error

Validate validates this metadata

type MetadataItem ¶

type MetadataItem struct {

	// The metadata field name
	// Required: true
	Key *string `json:"key"`

	// The metadata value
	// Required: true
	Value *string `json:"value"`
}

MetadataItem The key-value pair.

swagger:model MetadataItem

func (*MetadataItem) ContextValidate ¶ added in v1.3.0

func (m *MetadataItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metadata item based on context it is used

func (*MetadataItem) MarshalBinary ¶

func (m *MetadataItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetadataItem) UnmarshalBinary ¶

func (m *MetadataItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetadataItem) Validate ¶

func (m *MetadataItem) Validate(formats strfmt.Registry) error

Validate validates this metadata item

type MetadataItemValue ¶

type MetadataItemValue struct {

	// The metadata value
	// Required: true
	Value *string `json:"value"`
}

MetadataItemValue The value of the metadata item, which is primarily used to add a single item when the key is provided in the URL.

swagger:model MetadataItemValue

func (*MetadataItemValue) ContextValidate ¶ added in v1.3.0

func (m *MetadataItemValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metadata item value based on context it is used

func (*MetadataItemValue) MarshalBinary ¶

func (m *MetadataItemValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetadataItemValue) UnmarshalBinary ¶

func (m *MetadataItemValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetadataItemValue) Validate ¶

func (m *MetadataItemValue) Validate(formats strfmt.Registry) error

Validate validates this metadata item value

type MetadataItems ¶

type MetadataItems struct {

	// A collection of arbitrary metadata items associated with a resource.
	// Required: true
	Items []*MetadataItem `json:"items"`
}

MetadataItems The container object for metadata items.

swagger:model MetadataItems

func (*MetadataItems) ContextValidate ¶ added in v1.3.0

func (m *MetadataItems) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metadata items based on the context it is used

func (*MetadataItems) MarshalBinary ¶

func (m *MetadataItems) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetadataItems) UnmarshalBinary ¶

func (m *MetadataItems) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetadataItems) Validate ¶

func (m *MetadataItems) Validate(formats strfmt.Registry) error

Validate validates this metadata items

type ModelVersionIndexSynchronizationResults ¶

type ModelVersionIndexSynchronizationResults struct {

	// The results of synchronizing indices organized by model version
	// Required: true
	Results map[string]IndexSynchronizationResults `json:"results"`
}

ModelVersionIndexSynchronizationResults Results from synchronizing indices by model version

swagger:model ModelVersionIndexSynchronizationResults

func (*ModelVersionIndexSynchronizationResults) ContextValidate ¶ added in v1.3.0

ContextValidate validate this model version index synchronization results based on the context it is used

func (*ModelVersionIndexSynchronizationResults) MarshalBinary ¶

func (m *ModelVersionIndexSynchronizationResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelVersionIndexSynchronizationResults) UnmarshalBinary ¶

func (m *ModelVersionIndexSynchronizationResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelVersionIndexSynchronizationResults) Validate ¶

Validate validates this model version index synchronization results

type MoveApmClusterConfiguration ¶

type MoveApmClusterConfiguration struct {

	// Identifiers for the Apm clusters.
	// Required: true
	ClusterIds []string `json:"cluster_ids"`

	// Plan override to apply to the Apm clusters being moved.
	PlanOverride *TransientApmPlanConfiguration `json:"plan_override,omitempty"`
}

MoveApmClusterConfiguration The configuration object for moving APM Servers.

swagger:model MoveApmClusterConfiguration

func (*MoveApmClusterConfiguration) ContextValidate ¶ added in v1.3.0

func (m *MoveApmClusterConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move apm cluster configuration based on the context it is used

func (*MoveApmClusterConfiguration) MarshalBinary ¶

func (m *MoveApmClusterConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveApmClusterConfiguration) UnmarshalBinary ¶

func (m *MoveApmClusterConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveApmClusterConfiguration) Validate ¶

func (m *MoveApmClusterConfiguration) Validate(formats strfmt.Registry) error

Validate validates this move apm cluster configuration

type MoveApmClusterDetails ¶

type MoveApmClusterDetails struct {

	// If only validating the move, then the plan configuration that would be applied to the cluster.
	CalculatedPlan *TransientApmPlanConfiguration `json:"calculated_plan,omitempty"`

	// Identifier for the Apm cluster.
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// A list of errors that occurred if the attempt to move the cluster failed.
	Errors []*BasicFailedReplyElement `json:"errors"`
}

MoveApmClusterDetails Information about the APM Server that you want to move.

swagger:model MoveApmClusterDetails

func (*MoveApmClusterDetails) ContextValidate ¶ added in v1.3.0

func (m *MoveApmClusterDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move apm cluster details based on the context it is used

func (*MoveApmClusterDetails) MarshalBinary ¶

func (m *MoveApmClusterDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveApmClusterDetails) UnmarshalBinary ¶

func (m *MoveApmClusterDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveApmClusterDetails) Validate ¶

func (m *MoveApmClusterDetails) Validate(formats strfmt.Registry) error

Validate validates this move apm cluster details

type MoveAppSearchConfiguration ¶

type MoveAppSearchConfiguration struct {

	// Identifiers for the App Searches.
	// Required: true
	ClusterIds []string `json:"cluster_ids"`

	// Plan override to apply to the App Searches being moved.
	PlanOverride *TransientAppSearchPlanConfiguration `json:"plan_override,omitempty"`
}

MoveAppSearchConfiguration The configuration object for moving App Searches.

swagger:model MoveAppSearchConfiguration

func (*MoveAppSearchConfiguration) ContextValidate ¶ added in v1.3.0

func (m *MoveAppSearchConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move app search configuration based on the context it is used

func (*MoveAppSearchConfiguration) MarshalBinary ¶

func (m *MoveAppSearchConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveAppSearchConfiguration) UnmarshalBinary ¶

func (m *MoveAppSearchConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveAppSearchConfiguration) Validate ¶

func (m *MoveAppSearchConfiguration) Validate(formats strfmt.Registry) error

Validate validates this move app search configuration

type MoveAppSearchDetails ¶

type MoveAppSearchDetails struct {

	// If only validating the move, then the plan configuration that would be applied to the cluster.
	CalculatedPlan *TransientAppSearchPlanConfiguration `json:"calculated_plan,omitempty"`

	// Identifier for the App Search.
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// A list of errors that occurred if the attempt to move the cluster failed.
	Errors []*BasicFailedReplyElement `json:"errors"`
}

MoveAppSearchDetails Information about the App Search that you want to move.

swagger:model MoveAppSearchDetails

func (*MoveAppSearchDetails) ContextValidate ¶ added in v1.3.0

func (m *MoveAppSearchDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move app search details based on the context it is used

func (*MoveAppSearchDetails) MarshalBinary ¶

func (m *MoveAppSearchDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveAppSearchDetails) UnmarshalBinary ¶

func (m *MoveAppSearchDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveAppSearchDetails) Validate ¶

func (m *MoveAppSearchDetails) Validate(formats strfmt.Registry) error

Validate validates this move app search details

type MoveClustersCommandResponse ¶

type MoveClustersCommandResponse struct {

	// Detailed information about the clusters that failed to move.
	// Required: true
	Failures *MoveClustersDetails `json:"failures"`

	// Detailed information about the clusters being moved off the allocator.
	// Required: true
	Moves *MoveClustersDetails `json:"moves"`
}

MoveClustersCommandResponse Information about the move operations for the Elasticsearch clusters, multiple Kibana instances, and multiple APM Servers, prior to the move.

swagger:model MoveClustersCommandResponse

func (*MoveClustersCommandResponse) ContextValidate ¶ added in v1.3.0

func (m *MoveClustersCommandResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move clusters command response based on the context it is used

func (*MoveClustersCommandResponse) MarshalBinary ¶

func (m *MoveClustersCommandResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveClustersCommandResponse) UnmarshalBinary ¶

func (m *MoveClustersCommandResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveClustersCommandResponse) Validate ¶

func (m *MoveClustersCommandResponse) Validate(formats strfmt.Registry) error

Validate validates this move clusters command response

type MoveClustersDetails ¶

type MoveClustersDetails struct {

	// Detailed information about the Apm clusters being moved.
	// Required: true
	ApmClusters []*MoveApmClusterDetails `json:"apm_clusters"`

	// Detailed information about the App Search clusters being moved.
	// Required: true
	AppsearchClusters []*MoveAppSearchDetails `json:"appsearch_clusters"`

	// Detailed information about the Elasticsearch clusters being moved.
	// Required: true
	ElasticsearchClusters []*MoveElasticsearchClusterDetails `json:"elasticsearch_clusters"`

	// Detailed information about the Elastic Enterprise Search clusters being moved.
	// Required: true
	EnterpriseSearchClusters []*MoveEnterpriseSearchDetails `json:"enterprise_search_clusters"`

	// Detailed information about the Kibana clusters being moved.
	// Required: true
	KibanaClusters []*MoveKibanaClusterDetails `json:"kibana_clusters"`
}

MoveClustersDetails Information about the Elasticsearch clusters, multiple Kibana instances, and multiple APM Servers that are moved off of the allocator.

swagger:model MoveClustersDetails

func (*MoveClustersDetails) ContextValidate ¶ added in v1.3.0

func (m *MoveClustersDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move clusters details based on the context it is used

func (*MoveClustersDetails) MarshalBinary ¶

func (m *MoveClustersDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveClustersDetails) UnmarshalBinary ¶

func (m *MoveClustersDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveClustersDetails) Validate ¶

func (m *MoveClustersDetails) Validate(formats strfmt.Registry) error

Validate validates this move clusters details

type MoveClustersRequest ¶

type MoveClustersRequest struct {

	// Optional list of Apm clusters to move off the allocator.
	ApmClusters []*MoveApmClusterConfiguration `json:"apm_clusters"`

	// Optional list of App Search clusters to move off the allocator.
	AppsearchClusters []*MoveAppSearchConfiguration `json:"appsearch_clusters"`

	// Optional list of Elasticsearch clusters to move off the allocator.
	ElasticsearchClusters []*MoveElasticsearchClusterConfiguration `json:"elasticsearch_clusters"`

	// Optional list of Elastic Enterprise Search clusters to move off the allocator.
	EnterpriseSearchClusters []*MoveEnterpriseSearchConfiguration `json:"enterprise_search_clusters"`

	// Optional list of Kibana clusters to move off the allocator.
	KibanaClusters []*MoveKibanaClusterConfiguration `json:"kibana_clusters"`
}

MoveClustersRequest The request for moving Elasticsearch clusters off an allocator.

swagger:model MoveClustersRequest

func (*MoveClustersRequest) ContextValidate ¶ added in v1.3.0

func (m *MoveClustersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move clusters request based on the context it is used

func (*MoveClustersRequest) MarshalBinary ¶

func (m *MoveClustersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveClustersRequest) UnmarshalBinary ¶

func (m *MoveClustersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveClustersRequest) Validate ¶

func (m *MoveClustersRequest) Validate(formats strfmt.Registry) error

Validate validates this move clusters request

type MoveElasticsearchClusterConfiguration ¶

type MoveElasticsearchClusterConfiguration struct {

	// Identifiers for the Elasticsearch clusters.
	// Required: true
	ClusterIds []string `json:"cluster_ids"`

	// Plan override to apply to the Elasticsearch clusters being moved.
	PlanOverride *TransientElasticsearchPlanConfiguration `json:"plan_override,omitempty"`
}

MoveElasticsearchClusterConfiguration The configuration object for moving Elasticsearch clusters.

swagger:model MoveElasticsearchClusterConfiguration

func (*MoveElasticsearchClusterConfiguration) ContextValidate ¶ added in v1.3.0

func (m *MoveElasticsearchClusterConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move elasticsearch cluster configuration based on the context it is used

func (*MoveElasticsearchClusterConfiguration) MarshalBinary ¶

func (m *MoveElasticsearchClusterConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveElasticsearchClusterConfiguration) UnmarshalBinary ¶

func (m *MoveElasticsearchClusterConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveElasticsearchClusterConfiguration) Validate ¶

Validate validates this move elasticsearch cluster configuration

type MoveElasticsearchClusterDetails ¶

type MoveElasticsearchClusterDetails struct {

	// If only validating the move, then the plan configuration that would be applied to the cluster.
	CalculatedPlan *TransientElasticsearchPlanConfiguration `json:"calculated_plan,omitempty"`

	// Identifier for the Elasticsearch cluster.
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// A list of errors that occurred if the attempt to move the cluster failed.
	Errors []*BasicFailedReplyElement `json:"errors"`
}

MoveElasticsearchClusterDetails Information about the Elasticsearch cluster that you want to move.

swagger:model MoveElasticsearchClusterDetails

func (*MoveElasticsearchClusterDetails) ContextValidate ¶ added in v1.3.0

func (m *MoveElasticsearchClusterDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move elasticsearch cluster details based on the context it is used

func (*MoveElasticsearchClusterDetails) MarshalBinary ¶

func (m *MoveElasticsearchClusterDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveElasticsearchClusterDetails) UnmarshalBinary ¶

func (m *MoveElasticsearchClusterDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveElasticsearchClusterDetails) Validate ¶

Validate validates this move elasticsearch cluster details

type MoveEnterpriseSearchConfiguration ¶

type MoveEnterpriseSearchConfiguration struct {

	// Identifiers for the Elastic Enterprise Search clusters.
	// Required: true
	ClusterIds []string `json:"cluster_ids"`

	// Plan override to apply to the Elastic Enterprise Search instances being moved.
	PlanOverride *TransientEnterpriseSearchPlanConfiguration `json:"plan_override,omitempty"`
}

MoveEnterpriseSearchConfiguration The configuration object for moving Elastic Enterprise Search instances.

swagger:model MoveEnterpriseSearchConfiguration

func (*MoveEnterpriseSearchConfiguration) ContextValidate ¶ added in v1.3.0

func (m *MoveEnterpriseSearchConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move enterprise search configuration based on the context it is used

func (*MoveEnterpriseSearchConfiguration) MarshalBinary ¶

func (m *MoveEnterpriseSearchConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveEnterpriseSearchConfiguration) UnmarshalBinary ¶

func (m *MoveEnterpriseSearchConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveEnterpriseSearchConfiguration) Validate ¶

Validate validates this move enterprise search configuration

type MoveEnterpriseSearchDetails ¶

type MoveEnterpriseSearchDetails struct {

	// If only validating the move, then the plan configuration that would be applied to the cluster.
	CalculatedPlan *TransientEnterpriseSearchPlanConfiguration `json:"calculated_plan,omitempty"`

	// Identifier for the Elastic Enterprise Search.
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// A list of errors that occurred if the attempt to move the cluster failed.
	Errors []*BasicFailedReplyElement `json:"errors"`
}

MoveEnterpriseSearchDetails Information about the Elastic Enterprise Search that you want to move.

swagger:model MoveEnterpriseSearchDetails

func (*MoveEnterpriseSearchDetails) ContextValidate ¶ added in v1.3.0

func (m *MoveEnterpriseSearchDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move enterprise search details based on the context it is used

func (*MoveEnterpriseSearchDetails) MarshalBinary ¶

func (m *MoveEnterpriseSearchDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveEnterpriseSearchDetails) UnmarshalBinary ¶

func (m *MoveEnterpriseSearchDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveEnterpriseSearchDetails) Validate ¶

func (m *MoveEnterpriseSearchDetails) Validate(formats strfmt.Registry) error

Validate validates this move enterprise search details

type MoveKibanaClusterConfiguration ¶

type MoveKibanaClusterConfiguration struct {

	// Identifiers for the Kibana clusters.
	// Required: true
	ClusterIds []string `json:"cluster_ids"`

	// Plan override to apply to the Kibana clusters being moved.
	PlanOverride *TransientKibanaPlanConfiguration `json:"plan_override,omitempty"`
}

MoveKibanaClusterConfiguration The configuration object for moving Kibana instances.

swagger:model MoveKibanaClusterConfiguration

func (*MoveKibanaClusterConfiguration) ContextValidate ¶ added in v1.3.0

func (m *MoveKibanaClusterConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move kibana cluster configuration based on the context it is used

func (*MoveKibanaClusterConfiguration) MarshalBinary ¶

func (m *MoveKibanaClusterConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveKibanaClusterConfiguration) UnmarshalBinary ¶

func (m *MoveKibanaClusterConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveKibanaClusterConfiguration) Validate ¶

func (m *MoveKibanaClusterConfiguration) Validate(formats strfmt.Registry) error

Validate validates this move kibana cluster configuration

type MoveKibanaClusterDetails ¶

type MoveKibanaClusterDetails struct {

	// If only validating the move, then the plan configuration that would be applied to the cluster.
	CalculatedPlan *TransientKibanaPlanConfiguration `json:"calculated_plan,omitempty"`

	// Identifier for the Kibana cluster.
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// A list of errors that occurred if the attempt to move the cluster failed.
	Errors []*BasicFailedReplyElement `json:"errors"`
}

MoveKibanaClusterDetails Information about the Kibana instance that you want to move.

swagger:model MoveKibanaClusterDetails

func (*MoveKibanaClusterDetails) ContextValidate ¶ added in v1.3.0

func (m *MoveKibanaClusterDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this move kibana cluster details based on the context it is used

func (*MoveKibanaClusterDetails) MarshalBinary ¶

func (m *MoveKibanaClusterDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MoveKibanaClusterDetails) UnmarshalBinary ¶

func (m *MoveKibanaClusterDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MoveKibanaClusterDetails) Validate ¶

func (m *MoveKibanaClusterDetails) Validate(formats strfmt.Registry) error

Validate validates this move kibana cluster details

type NestedQuery ¶

type NestedQuery struct {

	// The path to the nested object.
	// Required: true
	Path *string `json:"path"`

	// The actual query to execute on the nested objects.
	// Required: true
	Query *QueryContainer `json:"query"`

	// Allows to specify how inner children matching affects score of the parent. Refer to the Elasticsearch documentation for details.
	// Enum: [avg sum min max none]
	ScoreMode string `json:"score_mode,omitempty"`
}

NestedQuery A query that matches nested objects.

swagger:model NestedQuery

func (*NestedQuery) ContextValidate ¶ added in v1.3.0

func (m *NestedQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this nested query based on the context it is used

func (*NestedQuery) MarshalBinary ¶

func (m *NestedQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NestedQuery) UnmarshalBinary ¶

func (m *NestedQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NestedQuery) Validate ¶

func (m *NestedQuery) Validate(formats strfmt.Registry) error

Validate validates this nested query

type NodeTypeResource ¶

type NodeTypeResource struct {

	// Id of the default instance configuration to use for this node type.
	DefaultInstanceConfigurationID string `json:"default_instance_configuration_id,omitempty"`

	// Node type description
	// Required: true
	Description *string `json:"description"`

	// Flag to specify a node type is mandatory in the corresponding cluster's plan
	Mandatory *bool `json:"mandatory,omitempty"`

	// Node type name
	// Required: true
	Name *string `json:"name"`

	// Node type, part of the key for this resource
	// Required: true
	NodeType *string `json:"node_type"`
}

NodeTypeResource Information about the node type.

swagger:model NodeTypeResource

func (*NodeTypeResource) ContextValidate ¶ added in v1.3.0

func (m *NodeTypeResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this node type resource based on context it is used

func (*NodeTypeResource) MarshalBinary ¶

func (m *NodeTypeResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NodeTypeResource) UnmarshalBinary ¶

func (m *NodeTypeResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NodeTypeResource) Validate ¶

func (m *NodeTypeResource) Validate(formats strfmt.Registry) error

Validate validates this node type resource

type ObservabilityAbsoluteDeployment ¶ added in v1.10.0

type ObservabilityAbsoluteDeployment struct {

	// The deployment to send logs and/or metrics to. Contains either the deployment's ID or 'self'.
	// Required: true
	DeploymentID *string `json:"deployment_id"`

	// RefId of the Elasticsearch cluster to send logs and/or metrics to. If not specified, refId is resolved automatically as long as the destination deployment contains a single Elasticsearch resource.
	RefID string `json:"ref_id,omitempty"`
}

ObservabilityAbsoluteDeployment The destination to send logs and metrics to

swagger:model ObservabilityAbsoluteDeployment

func (*ObservabilityAbsoluteDeployment) ContextValidate ¶ added in v1.10.0

func (m *ObservabilityAbsoluteDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this observability absolute deployment based on context it is used

func (*ObservabilityAbsoluteDeployment) MarshalBinary ¶ added in v1.10.0

func (m *ObservabilityAbsoluteDeployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObservabilityAbsoluteDeployment) UnmarshalBinary ¶ added in v1.10.0

func (m *ObservabilityAbsoluteDeployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObservabilityAbsoluteDeployment) Validate ¶ added in v1.10.0

Validate validates this observability absolute deployment

type ObservabilityIssue ¶ added in v1.2.0

type ObservabilityIssue struct {

	// A user-friendly description of the observability health issue
	// Required: true
	Description *string `json:"description"`

	// Severity of the health issue
	// Required: true
	Severity *string `json:"severity"`
}

ObservabilityIssue Observability health issue

swagger:model ObservabilityIssue

func (*ObservabilityIssue) ContextValidate ¶ added in v1.3.0

func (m *ObservabilityIssue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this observability issue based on context it is used

func (*ObservabilityIssue) MarshalBinary ¶ added in v1.2.0

func (m *ObservabilityIssue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObservabilityIssue) UnmarshalBinary ¶ added in v1.2.0

func (m *ObservabilityIssue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObservabilityIssue) Validate ¶ added in v1.2.0

func (m *ObservabilityIssue) Validate(formats strfmt.Registry) error

Validate validates this observability issue

type Organization ¶ added in v1.10.0

type Organization struct {

	// The list of contacts for billing notifications, if specified
	BillingContacts []string `json:"billing_contacts"`

	// Whether the default disk alerts are enabled
	DefaultDiskUsageAlertsEnabled *bool `json:"default_disk_usage_alerts_enabled,omitempty"`

	// The organization's identifier
	// Required: true
	ID *string `json:"id"`

	// The organization's friendly name
	// Required: true
	Name *string `json:"name"`

	// The list of allowed domains for notification-email recipients
	NotificationsAllowedEmailDomains []string `json:"notifications_allowed_email_domains"`

	// The list of contacts for operational notifications, if specified
	OperationalContacts []string `json:"operational_contacts"`
}

Organization An organization

swagger:model Organization

func (*Organization) ContextValidate ¶ added in v1.10.0

func (m *Organization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this organization based on context it is used

func (*Organization) MarshalBinary ¶ added in v1.10.0

func (m *Organization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Organization) UnmarshalBinary ¶ added in v1.10.0

func (m *Organization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Organization) Validate ¶ added in v1.10.0

func (m *Organization) Validate(formats strfmt.Registry) error

Validate validates this organization

type OrganizationInvitation ¶ added in v1.10.0

type OrganizationInvitation struct {

	// The date and time when the invitation was accepted
	// Format: date-time
	AcceptedAt strfmt.DateTime `json:"accepted_at,omitempty"`

	// The date and time when the invitation was created
	// Required: true
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"created_at"`

	// The email address to invite to the organization
	// Required: true
	Email *string `json:"email"`

	// True if the invitation is expired
	// Required: true
	Expired *bool `json:"expired"`

	// The date and time when the invitation expires
	// Required: true
	// Format: date-time
	ExpiresAt *strfmt.DateTime `json:"expires_at"`

	// The organization associated with this invitation
	// Required: true
	Organization *Organization `json:"organization"`

	// The token used to accept the invitation
	// Required: true
	Token *string `json:"token"`
}

OrganizationInvitation An invitation to an organization

swagger:model OrganizationInvitation

func (*OrganizationInvitation) ContextValidate ¶ added in v1.10.0

func (m *OrganizationInvitation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this organization invitation based on the context it is used

func (*OrganizationInvitation) MarshalBinary ¶ added in v1.10.0

func (m *OrganizationInvitation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationInvitation) UnmarshalBinary ¶ added in v1.10.0

func (m *OrganizationInvitation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationInvitation) Validate ¶ added in v1.10.0

func (m *OrganizationInvitation) Validate(formats strfmt.Registry) error

Validate validates this organization invitation

type OrganizationInvitationRequest ¶ added in v1.10.0

type OrganizationInvitationRequest struct {

	// The email addresses to invite to the organization
	// Required: true
	Emails []string `json:"emails"`

	// The date and time when the invitation expires. Defaults to three days from now.
	ExpiresIn string `json:"expires_in,omitempty"`
}

OrganizationInvitationRequest A request to create one or more invitations to an organization

swagger:model OrganizationInvitationRequest

func (*OrganizationInvitationRequest) ContextValidate ¶ added in v1.10.0

func (m *OrganizationInvitationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this organization invitation request based on context it is used

func (*OrganizationInvitationRequest) MarshalBinary ¶ added in v1.10.0

func (m *OrganizationInvitationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationInvitationRequest) UnmarshalBinary ¶ added in v1.10.0

func (m *OrganizationInvitationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationInvitationRequest) Validate ¶ added in v1.10.0

func (m *OrganizationInvitationRequest) Validate(formats strfmt.Registry) error

Validate validates this organization invitation request

type OrganizationInvitations ¶ added in v1.10.0

type OrganizationInvitations struct {

	// The list of organization invitations
	// Required: true
	Invitations []*OrganizationInvitation `json:"invitations"`
}

OrganizationInvitations A collection of invitations to an organization

swagger:model OrganizationInvitations

func (*OrganizationInvitations) ContextValidate ¶ added in v1.10.0

func (m *OrganizationInvitations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this organization invitations based on the context it is used

func (*OrganizationInvitations) MarshalBinary ¶ added in v1.10.0

func (m *OrganizationInvitations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationInvitations) UnmarshalBinary ¶ added in v1.10.0

func (m *OrganizationInvitations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationInvitations) Validate ¶ added in v1.10.0

func (m *OrganizationInvitations) Validate(formats strfmt.Registry) error

Validate validates this organization invitations

type OrganizationList ¶ added in v1.10.0

type OrganizationList struct {

	// A cursor to get the next page of results
	NextPage string `json:"next_page,omitempty"`

	// The list of organizations
	// Required: true
	Organizations []*Organization `json:"organizations"`
}

OrganizationList A collection of Organizations

swagger:model OrganizationList

func (*OrganizationList) ContextValidate ¶ added in v1.10.0

func (m *OrganizationList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this organization list based on the context it is used

func (*OrganizationList) MarshalBinary ¶ added in v1.10.0

func (m *OrganizationList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationList) UnmarshalBinary ¶ added in v1.10.0

func (m *OrganizationList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationList) Validate ¶ added in v1.10.0

func (m *OrganizationList) Validate(formats strfmt.Registry) error

Validate validates this organization list

type OrganizationMembership ¶ added in v1.10.0

type OrganizationMembership struct {

	// The user's email address
	Email string `json:"email,omitempty"`

	// The date and time the user was added to the organization
	// Required: true
	// Format: date-time
	MemberSince *strfmt.DateTime `json:"member_since"`

	// The user's full name
	Name string `json:"name,omitempty"`

	// The organization's identifier
	// Required: true
	OrganizationID *string `json:"organization_id"`

	// The users's identifier
	// Required: true
	UserID *string `json:"user_id"`
}

OrganizationMembership A user's membership to an organization

swagger:model OrganizationMembership

func (*OrganizationMembership) ContextValidate ¶ added in v1.10.0

func (m *OrganizationMembership) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this organization membership based on context it is used

func (*OrganizationMembership) MarshalBinary ¶ added in v1.10.0

func (m *OrganizationMembership) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationMembership) UnmarshalBinary ¶ added in v1.10.0

func (m *OrganizationMembership) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationMembership) Validate ¶ added in v1.10.0

func (m *OrganizationMembership) Validate(formats strfmt.Registry) error

Validate validates this organization membership

type OrganizationMemberships ¶ added in v1.10.0

type OrganizationMemberships struct {

	// The list of organization memberships
	// Required: true
	Members []*OrganizationMembership `json:"members"`
}

OrganizationMemberships All user memberships to an organization

swagger:model OrganizationMemberships

func (*OrganizationMemberships) ContextValidate ¶ added in v1.10.0

func (m *OrganizationMemberships) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this organization memberships based on the context it is used

func (*OrganizationMemberships) MarshalBinary ¶ added in v1.10.0

func (m *OrganizationMemberships) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationMemberships) UnmarshalBinary ¶ added in v1.10.0

func (m *OrganizationMemberships) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationMemberships) Validate ¶ added in v1.10.0

func (m *OrganizationMemberships) Validate(formats strfmt.Registry) error

Validate validates this organization memberships

type OrganizationRequest ¶ added in v1.10.0

type OrganizationRequest struct {

	// The list of contacts for billing notifications
	BillingContacts []string `json:"billing_contacts"`

	// Whether the default disk alerts are enabled
	DefaultDiskUsageAlertsEnabled *bool `json:"default_disk_usage_alerts_enabled,omitempty"`

	// The organization's friendly name
	Name string `json:"name,omitempty"`

	// The list of allowed domains for notification-email recipients
	NotificationsAllowedEmailDomains []string `json:"notifications_allowed_email_domains"`

	// The list of contacts for operational notifications
	OperationalContacts []string `json:"operational_contacts"`
}

OrganizationRequest A request to create or update an organization

swagger:model OrganizationRequest

func (*OrganizationRequest) ContextValidate ¶ added in v1.10.0

func (m *OrganizationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this organization request based on context it is used

func (*OrganizationRequest) MarshalBinary ¶ added in v1.10.0

func (m *OrganizationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrganizationRequest) UnmarshalBinary ¶ added in v1.10.0

func (m *OrganizationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrganizationRequest) Validate ¶ added in v1.10.0

func (m *OrganizationRequest) Validate(formats strfmt.Registry) error

Validate validates this organization request

type Orphaned ¶

type Orphaned struct {

	// List of orphaned APM resource ids
	// Required: true
	Apm []string `json:"apm"`

	// List of orphaned AppSearch resource ids
	// Required: true
	Appsearch []string `json:"appsearch"`

	// List of orphaned Elasticsearch resources
	// Required: true
	Elasticsearch []*OrphanedElasticsearch `json:"elasticsearch"`

	// List of orphaned Enterprise Search resource ids
	// Required: true
	EnterpriseSearch []string `json:"enterprise_search"`

	// List of orphaned Integrations Server resource ids
	// Required: true
	IntegrationsServer []string `json:"integrations_server"`

	// List of orphaned Kibana resource ids
	// Required: true
	Kibana []string `json:"kibana"`
}

Orphaned Details about orphaned resources.

swagger:model Orphaned

func (*Orphaned) ContextValidate ¶ added in v1.3.0

func (m *Orphaned) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this orphaned based on the context it is used

func (*Orphaned) MarshalBinary ¶

func (m *Orphaned) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Orphaned) UnmarshalBinary ¶

func (m *Orphaned) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Orphaned) Validate ¶

func (m *Orphaned) Validate(formats strfmt.Registry) error

Validate validates this orphaned

type OrphanedElasticsearch ¶

type OrphanedElasticsearch struct {

	// List of orphaned dependent resources
	// Required: true
	Dependents []*ElasticsearchDependant `json:"dependents"`

	// The id of the orphaned resource
	// Required: true
	ID *string `json:"id"`
}

OrphanedElasticsearch Details about an orphaned Elasticsearch resources.

swagger:model OrphanedElasticsearch

func (*OrphanedElasticsearch) ContextValidate ¶ added in v1.3.0

func (m *OrphanedElasticsearch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this orphaned elasticsearch based on the context it is used

func (*OrphanedElasticsearch) MarshalBinary ¶

func (m *OrphanedElasticsearch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrphanedElasticsearch) UnmarshalBinary ¶

func (m *OrphanedElasticsearch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrphanedElasticsearch) Validate ¶

func (m *OrphanedElasticsearch) Validate(formats strfmt.Registry) error

Validate validates this orphaned elasticsearch

type PendingState ¶

type PendingState struct {

	// Whether a runner is pending blessings or not
	// Required: true
	Value *bool `json:"value"`
}

PendingState Pending state

swagger:model PendingState

func (*PendingState) ContextValidate ¶ added in v1.3.0

func (m *PendingState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pending state based on context it is used

func (*PendingState) MarshalBinary ¶

func (m *PendingState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PendingState) UnmarshalBinary ¶

func (m *PendingState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PendingState) Validate ¶

func (m *PendingState) Validate(formats strfmt.Registry) error

Validate validates this pending state

type PendingStates ¶

type PendingStates struct {

	// A mapping of Runner Ids to whether or not they are waiting to be blessed to run the associated role
	// Required: true
	RunnerIdsToPendingState map[string]PendingState `json:"runner_ids_to_pending_state"`
}

PendingStates Describes whether certain runners are waiting to be blessed.

swagger:model PendingStates

func (*PendingStates) ContextValidate ¶ added in v1.3.0

func (m *PendingStates) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pending states based on the context it is used

func (*PendingStates) MarshalBinary ¶

func (m *PendingStates) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PendingStates) UnmarshalBinary ¶

func (m *PendingStates) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PendingStates) Validate ¶

func (m *PendingStates) Validate(formats strfmt.Registry) error

Validate validates this pending states

type PendingStatesWithMeta ¶

type PendingStatesWithMeta struct {

	// The metadata
	// Required: true
	Meta *Metadata `json:"meta"`

	// The pending stages
	// Required: true
	Value *PendingStates `json:"value"`
}

PendingStatesWithMeta Persisted pending states for a role along with metadata

swagger:model PendingStatesWithMeta

func (*PendingStatesWithMeta) ContextValidate ¶ added in v1.3.0

func (m *PendingStatesWithMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pending states with meta based on the context it is used

func (*PendingStatesWithMeta) MarshalBinary ¶

func (m *PendingStatesWithMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PendingStatesWithMeta) UnmarshalBinary ¶

func (m *PendingStatesWithMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PendingStatesWithMeta) Validate ¶

func (m *PendingStatesWithMeta) Validate(formats strfmt.Registry) error

Validate validates this pending states with meta

type Period ¶ added in v1.5.0

type Period struct {

	// End
	// Required: true
	// Format: date-time
	End *strfmt.DateTime `json:"end"`

	// Start
	// Required: true
	// Format: date-time
	Start *strfmt.DateTime `json:"start"`
}

Period Period

swagger:model Period

func (*Period) ContextValidate ¶ added in v1.5.0

func (m *Period) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this period based on context it is used

func (*Period) MarshalBinary ¶ added in v1.5.0

func (m *Period) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Period) UnmarshalBinary ¶ added in v1.5.0

func (m *Period) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Period) Validate ¶ added in v1.5.0

func (m *Period) Validate(formats strfmt.Registry) error

Validate validates this period

type PlanStrategy ¶

type PlanStrategy struct {

	// autodetect
	Autodetect AutodetectStrategyConfig `json:"autodetect,omitempty"`

	// grow and shrink
	GrowAndShrink GrowShrinkStrategyConfig `json:"grow_and_shrink,omitempty"`

	// rolling
	Rolling *RollingStrategyConfig `json:"rolling,omitempty"`

	// rolling grow and shrink
	RollingGrowAndShrink RollingGrowShrinkStrategyConfig `json:"rolling_grow_and_shrink,omitempty"`
}

PlanStrategy The options for performing a plan change. Specify only one property each time. The default is `grow_and_shrink`.

swagger:model PlanStrategy

func (*PlanStrategy) ContextValidate ¶ added in v1.3.0

func (m *PlanStrategy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this plan strategy based on the context it is used

func (*PlanStrategy) MarshalBinary ¶

func (m *PlanStrategy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlanStrategy) UnmarshalBinary ¶

func (m *PlanStrategy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlanStrategy) Validate ¶

func (m *PlanStrategy) Validate(formats strfmt.Registry) error

Validate validates this plan strategy

type PlatformInfo ¶

type PlatformInfo struct {

	// Indicates if the End User License Agreement been accepted
	// Required: true
	EulaAccepted *bool `json:"eula_accepted"`

	// Is the phone-home service, which returns anonymized usage statistics to Elastic, enabled
	// Required: true
	PhoneHomeEnabled *bool `json:"phone_home_enabled"`

	// Information on regions
	// Required: true
	Regions []*RegionInfo `json:"regions"`

	// services
	// Required: true
	Services []*PlatformServiceInfo `json:"services"`

	// Information on currently unreachable regions
	// Required: true
	UnreachableRegions []*UnreachableRegionInfo `json:"unreachable_regions"`

	// Platform version
	// Required: true
	Version *string `json:"version"`
}

PlatformInfo Information about the platform.

swagger:model PlatformInfo

func (*PlatformInfo) ContextValidate ¶ added in v1.3.0

func (m *PlatformInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this platform info based on the context it is used

func (*PlatformInfo) MarshalBinary ¶

func (m *PlatformInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformInfo) UnmarshalBinary ¶

func (m *PlatformInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformInfo) Validate ¶

func (m *PlatformInfo) Validate(formats strfmt.Registry) error

Validate validates this platform info

type PlatformResourcesSummary ¶

type PlatformResourcesSummary struct {

	// Number of accounts
	// Required: true
	AccountCount *int32 `json:"account_count"`

	// Number of available resources
	// Required: true
	AvailableCount *int32 `json:"available_count"`

	// Whether all resources are healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// Minimum number of available resources
	// Required: true
	MinimumAvailableCount *int32 `json:"minimum_available_count"`

	// Number of missing resources
	// Required: true
	MissingCount *int32 `json:"missing_count"`

	// Number of used resources
	// Required: true
	UsedCount *int32 `json:"used_count"`
}

PlatformResourcesSummary Information about resources.

swagger:model PlatformResourcesSummary

func (*PlatformResourcesSummary) ContextValidate ¶ added in v1.3.0

func (m *PlatformResourcesSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this platform resources summary based on context it is used

func (*PlatformResourcesSummary) MarshalBinary ¶

func (m *PlatformResourcesSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformResourcesSummary) UnmarshalBinary ¶

func (m *PlatformResourcesSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformResourcesSummary) Validate ¶

func (m *PlatformResourcesSummary) Validate(formats strfmt.Registry) error

Validate validates this platform resources summary

type PlatformServiceImageInfo ¶

type PlatformServiceImageInfo struct {

	// Image hash code
	// Example: sha256:04a5be1ab07de64269ffa52da26044e0ecc36fa1164e7914468e69d65a2090d4
	// Required: true
	Hash *string `json:"hash"`

	// Id of runner that hosts the container
	// Example: docker.elastic.co/elastic-cloud-enterprise:1.0.0-GA
	// Required: true
	ID *string `json:"id"`

	// Image tag
	// Example: docker.elastic.co/elastic-cloud-enterprise:1.0.0-GA
	// Required: true
	Tag *string `json:"tag"`

	// Version of service
	// Example: 1.0.0-GA
	// Required: true
	Version *string `json:"version"`
}

PlatformServiceImageInfo The docker image that is used to run a service.

swagger:model PlatformServiceImageInfo

func (*PlatformServiceImageInfo) ContextValidate ¶ added in v1.3.0

func (m *PlatformServiceImageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this platform service image info based on context it is used

func (*PlatformServiceImageInfo) MarshalBinary ¶

func (m *PlatformServiceImageInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformServiceImageInfo) UnmarshalBinary ¶

func (m *PlatformServiceImageInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformServiceImageInfo) Validate ¶

func (m *PlatformServiceImageInfo) Validate(formats strfmt.Registry) error

Validate validates this platform service image info

type PlatformServiceInfo ¶

type PlatformServiceInfo struct {

	// image
	// Required: true
	Image []*PlatformServiceImageInfo `json:"image"`

	// Name of service
	// Required: true
	Type *string `json:"type"`
}

PlatformServiceInfo The platform service information.

swagger:model PlatformServiceInfo

func (*PlatformServiceInfo) ContextValidate ¶ added in v1.3.0

func (m *PlatformServiceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this platform service info based on the context it is used

func (*PlatformServiceInfo) MarshalBinary ¶

func (m *PlatformServiceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformServiceInfo) UnmarshalBinary ¶

func (m *PlatformServiceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformServiceInfo) Validate ¶

func (m *PlatformServiceInfo) Validate(formats strfmt.Registry) error

Validate validates this platform service info

type PortBinding ¶

type PortBinding struct {

	// IP to bind to on the host. I.e {@code 0.0.0.0}
	// Example: 0.0.0.0
	HostIP string `json:"host_ip,omitempty"`

	// Port as observed by the host.
	// Required: true
	HostPort *string `json:"host_port"`
}

PortBinding Value used to bind to a port on the host.

swagger:model PortBinding

func (*PortBinding) ContextValidate ¶ added in v1.3.0

func (m *PortBinding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this port binding based on context it is used

func (*PortBinding) MarshalBinary ¶

func (m *PortBinding) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PortBinding) UnmarshalBinary ¶

func (m *PortBinding) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PortBinding) Validate ¶

func (m *PortBinding) Validate(formats strfmt.Registry) error

Validate validates this port binding

type PrefixQuery ¶

type PrefixQuery struct {

	// An optional boost value to apply to the query.
	Boost float32 `json:"boost,omitempty"`

	// The prefix to search for.
	// Required: true
	Value *string `json:"value"`
}

PrefixQuery The query that matches documents with fields that contain terms with a specified, not analyzed, prefix.

swagger:model PrefixQuery

func (*PrefixQuery) ContextValidate ¶ added in v1.3.0

func (m *PrefixQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this prefix query based on context it is used

func (*PrefixQuery) MarshalBinary ¶

func (m *PrefixQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrefixQuery) UnmarshalBinary ¶

func (m *PrefixQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrefixQuery) Validate ¶

func (m *PrefixQuery) Validate(formats strfmt.Registry) error

Validate validates this prefix query

type ProxiesAllocationsInfo ¶

type ProxiesAllocationsInfo struct {

	// The type of proxy allocations (e.g. Elasticsearch, Kibana, APM)
	// Required: true
	AllocationsType *string `json:"allocations_type"`

	// The maximum number of allocations
	// Required: true
	MaxAllocations *int32 `json:"max_allocations"`

	// The number of proxies that have the maximum number of allocations
	// Required: true
	ProxiesAtMaxAllocations *int32 `json:"proxies_at_max_allocations"`
}

ProxiesAllocationsInfo The allocation status for a specified type, such as Elasticsearch, Kibana, or APM. The status is part of the overall proxy health information.

swagger:model ProxiesAllocationsInfo

func (*ProxiesAllocationsInfo) ContextValidate ¶ added in v1.3.0

func (m *ProxiesAllocationsInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this proxies allocations info based on context it is used

func (*ProxiesAllocationsInfo) MarshalBinary ¶

func (m *ProxiesAllocationsInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxiesAllocationsInfo) UnmarshalBinary ¶

func (m *ProxiesAllocationsInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxiesAllocationsInfo) Validate ¶

func (m *ProxiesAllocationsInfo) Validate(formats strfmt.Registry) error

Validate validates this proxies allocations info

type ProxiesFilter ¶

type ProxiesFilter struct {

	// Key of the proxy metadata item to be matched
	// Required: true
	Key *string `json:"key"`

	// Value of the proxy metadata item to be matched
	// Required: true
	Value *string `json:"value"`
}

ProxiesFilter Selects proxies by matching a proxy metadata item.

swagger:model ProxiesFilter

func (*ProxiesFilter) ContextValidate ¶ added in v1.3.0

func (m *ProxiesFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this proxies filter based on context it is used

func (*ProxiesFilter) MarshalBinary ¶

func (m *ProxiesFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxiesFilter) UnmarshalBinary ¶

func (m *ProxiesFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxiesFilter) Validate ¶

func (m *ProxiesFilter) Validate(formats strfmt.Registry) error

Validate validates this proxies filter

type ProxiesFilteredGroup ¶

type ProxiesFilteredGroup struct {

	// Expected minimum number of proxies matching all filters in this group
	// Required: true
	ExpectedProxiesCount *int32 `json:"expected_proxies_count"`

	// Filters to be matched
	// Required: true
	Filters []*ProxiesFilter `json:"filters"`

	// Identifier of the filtered group of proxies
	ID string `json:"id,omitempty"`
}

ProxiesFilteredGroup A set of proxy filters with an expected number of matching proxies.

swagger:model ProxiesFilteredGroup

func (*ProxiesFilteredGroup) ContextValidate ¶ added in v1.3.0

func (m *ProxiesFilteredGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxies filtered group based on the context it is used

func (*ProxiesFilteredGroup) MarshalBinary ¶

func (m *ProxiesFilteredGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxiesFilteredGroup) UnmarshalBinary ¶

func (m *ProxiesFilteredGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxiesFilteredGroup) Validate ¶

func (m *ProxiesFilteredGroup) Validate(formats strfmt.Registry) error

Validate validates this proxies filtered group

type ProxiesFilteredGroupHealth ¶

type ProxiesFilteredGroupHealth struct {

	// Settings of the filtered group
	// Required: true
	Group *ProxiesFilteredGroup `json:"group"`

	// The number of proxies that match all of the filters in the group
	// Required: true
	ObservedProxiesCount *int32 `json:"observed_proxies_count"`

	// "Health status for this filtered group. One of "Green", "Yellow" or "Red"
	// Required: true
	Status *string `json:"status"`
}

ProxiesFilteredGroupHealth The health status of a filtered proxy group.

swagger:model ProxiesFilteredGroupHealth

func (*ProxiesFilteredGroupHealth) ContextValidate ¶ added in v1.3.0

func (m *ProxiesFilteredGroupHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxies filtered group health based on the context it is used

func (*ProxiesFilteredGroupHealth) MarshalBinary ¶

func (m *ProxiesFilteredGroupHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxiesFilteredGroupHealth) UnmarshalBinary ¶

func (m *ProxiesFilteredGroupHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxiesFilteredGroupHealth) Validate ¶

func (m *ProxiesFilteredGroupHealth) Validate(formats strfmt.Registry) error

Validate validates this proxies filtered group health

type ProxiesHTTPSettings ¶

type ProxiesHTTPSettings struct {

	// Secret string for the HTTP cookie
	// Required: true
	CookieSecret *string `json:"cookie_secret"`

	// Base URL for the dashboard
	// Required: true
	DashboardsBaseURL *string `json:"dashboards_base_url"`

	// Cutoff interval after disconnection in milliseconds
	// Required: true
	DisconnectedCutoff *int64 `json:"disconnected_cutoff"`

	// Minimum number of proxy instances
	// Required: true
	MinimumProxyServices *int32 `json:"minimum_proxy_services"`

	// Settings related to single-sign-on
	// Required: true
	SsoSettings *ProxiesSSOSettings `json:"sso_settings"`

	// User key for the HTTP cookie
	// Required: true
	UserCookieKey *string `json:"user_cookie_key"`
}

ProxiesHTTPSettings > WARNING > This object is deprecated and scheduled to be removed in the next major version.

swagger:model ProxiesHttpSettings

func (*ProxiesHTTPSettings) ContextValidate ¶ added in v1.3.0

func (m *ProxiesHTTPSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxies Http settings based on the context it is used

func (*ProxiesHTTPSettings) MarshalBinary ¶

func (m *ProxiesHTTPSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxiesHTTPSettings) UnmarshalBinary ¶

func (m *ProxiesHTTPSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxiesHTTPSettings) Validate ¶

func (m *ProxiesHTTPSettings) Validate(formats strfmt.Registry) error

Validate validates this proxies Http settings

type ProxiesHealth ¶

type ProxiesHealth struct {

	// Allocations for proxies
	// Required: true
	Allocations []*ProxiesAllocationsInfo `json:"allocations"`

	// Expected minimum number of proxies
	// Required: true
	ExpectedProxiesCount *int32 `json:"expected_proxies_count"`

	// Filtered groups of proxies with associated status
	// Required: true
	FilteredGroups []*ProxiesFilteredGroupHealth `json:"filtered_groups"`

	// Total number of proxies
	// Required: true
	ObservedProxiesCount *int32 `json:"observed_proxies_count"`

	// "Health status for all proxies. One of "Green", "Yellow" or "Red"
	// Required: true
	Status *string `json:"status"`
}

ProxiesHealth proxies health

swagger:model ProxiesHealth

func (*ProxiesHealth) ContextValidate ¶ added in v1.3.0

func (m *ProxiesHealth) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxies health based on the context it is used

func (*ProxiesHealth) MarshalBinary ¶

func (m *ProxiesHealth) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxiesHealth) UnmarshalBinary ¶

func (m *ProxiesHealth) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxiesHealth) Validate ¶

func (m *ProxiesHealth) Validate(formats strfmt.Registry) error

Validate validates this proxies health

type ProxiesSSOSettings ¶

type ProxiesSSOSettings struct {

	// Name of the HTTP cookie used for single-sign-on
	// Required: true
	CookieName *string `json:"cookie_name"`

	// Default path where users are redirected after a successful single-sign-on
	// Required: true
	DefaultRedirectPath *string `json:"default_redirect_path"`

	// If true, don't log requests
	// Required: true
	DontLogRequests *bool `json:"dont_log_requests"`

	// Name of the cookie that bypasses maintenance
	// Required: true
	MaintenanceBypassCookieName *string `json:"maintenance_bypass_cookie_name"`

	// Maximum age of single-sign-on token in milliseconds
	// Required: true
	MaxAge *int64 `json:"max_age"`

	// Secret string for single-sign-on
	// Required: true
	SsoSecret *string `json:"sso_secret"`
}

ProxiesSSOSettings > WARNING > This object is deprecated and scheduled to be removed in the next major version.

swagger:model ProxiesSSOSettings

func (*ProxiesSSOSettings) ContextValidate ¶ added in v1.3.0

func (m *ProxiesSSOSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this proxies s s o settings based on context it is used

func (*ProxiesSSOSettings) MarshalBinary ¶

func (m *ProxiesSSOSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxiesSSOSettings) UnmarshalBinary ¶

func (m *ProxiesSSOSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxiesSSOSettings) Validate ¶

func (m *ProxiesSSOSettings) Validate(formats strfmt.Registry) error

Validate validates this proxies s s o settings

type ProxiesSettings ¶

type ProxiesSettings struct {

	// Expected number of proxies
	ExpectedProxiesCount *int32 `json:"expected_proxies_count,omitempty"`

	// HTTP settings
	HTTPSettings *ProxiesHTTPSettings `json:"http_settings,omitempty"`

	// Secret string for signature generation
	SignatureSecret *string `json:"signature_secret,omitempty"`

	// Signature validity in milliseconds
	SignatureValidForMillis *int64 `json:"signature_valid_for_millis,omitempty"`
}

ProxiesSettings > WARNING > This object is deprecated and scheduled to be removed in the next major version.

swagger:model ProxiesSettings

func (*ProxiesSettings) ContextValidate ¶ added in v1.3.0

func (m *ProxiesSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxies settings based on the context it is used

func (*ProxiesSettings) MarshalBinary ¶

func (m *ProxiesSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxiesSettings) UnmarshalBinary ¶

func (m *ProxiesSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxiesSettings) Validate ¶

func (m *ProxiesSettings) Validate(formats strfmt.Registry) error

Validate validates this proxies settings

type ProxiesSummary ¶

type ProxiesSummary struct {

	// Expected number of proxies
	// Required: true
	ExpectedProxiesCount *int32 `json:"expected_proxies_count"`

	// Whether all proxies are healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// Summarized information about each proxy
	// Required: true
	Proxies []*ProxySummary `json:"proxies"`

	// Total number of proxies
	// Required: true
	ProxiesCount *int32 `json:"proxies_count"`
}

ProxiesSummary Summarized information about proxies.

swagger:model ProxiesSummary

func (*ProxiesSummary) ContextValidate ¶ added in v1.3.0

func (m *ProxiesSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxies summary based on the context it is used

func (*ProxiesSummary) MarshalBinary ¶

func (m *ProxiesSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxiesSummary) UnmarshalBinary ¶

func (m *ProxiesSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxiesSummary) Validate ¶

func (m *ProxiesSummary) Validate(formats strfmt.Registry) error

Validate validates this proxies summary

type ProxyAllocationCounts ¶

type ProxyAllocationCounts struct {

	// The allocations count.
	// Required: true
	Allocations *int32 `json:"allocations"`

	// The connector count.
	// Required: true
	Connectors *int32 `json:"connectors"`
}

ProxyAllocationCounts The number of proxy allocations.

swagger:model ProxyAllocationCounts

func (*ProxyAllocationCounts) ContextValidate ¶ added in v1.3.0

func (m *ProxyAllocationCounts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this proxy allocation counts based on context it is used

func (*ProxyAllocationCounts) MarshalBinary ¶

func (m *ProxyAllocationCounts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxyAllocationCounts) UnmarshalBinary ¶

func (m *ProxyAllocationCounts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxyAllocationCounts) Validate ¶

func (m *ProxyAllocationCounts) Validate(formats strfmt.Registry) error

Validate validates this proxy allocation counts

type ProxyAllocationInfo ¶

type ProxyAllocationInfo struct {

	// The type of proxy allocations
	// Required: true
	// Enum: [elasticsearch kibana apm integrations_server appsearch enterprise_search]
	AllocationsType *string `json:"allocations_type"`

	// Proxy allocation counts.
	// Required: true
	Counts *ProxyAllocationCounts `json:"counts"`
}

ProxyAllocationInfo The single proxy allocation for a specified type, such as Elasticsearch, Kibana, or APM.

swagger:model ProxyAllocationInfo

func (*ProxyAllocationInfo) ContextValidate ¶ added in v1.3.0

func (m *ProxyAllocationInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxy allocation info based on the context it is used

func (*ProxyAllocationInfo) MarshalBinary ¶

func (m *ProxyAllocationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxyAllocationInfo) UnmarshalBinary ¶

func (m *ProxyAllocationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxyAllocationInfo) Validate ¶

func (m *ProxyAllocationInfo) Validate(formats strfmt.Registry) error

Validate validates this proxy allocation info

type ProxyInfo ¶

type ProxyInfo struct {

	// Allocation information by type.
	// Required: true
	Allocations []*ProxyAllocationInfo `json:"allocations"`

	// Specifies if the proxy is healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// IP of the host the proxy runs on
	// Required: true
	HostIP *string `json:"host_ip"`

	// Arbitrary metadata associated with the proxy
	// Required: true
	Metadata interface{} `json:"metadata"`

	// The proxy identifier
	// Required: true
	ProxyID *string `json:"proxy_id"`

	// Public hostname of the host the proxy runs on
	// Required: true
	PublicHostname *string `json:"public_hostname"`

	// Identifier of the runner for the proxy
	RunnerID string `json:"runner_id,omitempty"`

	// The zone.
	Zone string `json:"zone,omitempty"`
}

ProxyInfo Information about a proxy.

swagger:model ProxyInfo

func (*ProxyInfo) ContextValidate ¶ added in v1.3.0

func (m *ProxyInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxy info based on the context it is used

func (*ProxyInfo) MarshalBinary ¶

func (m *ProxyInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxyInfo) UnmarshalBinary ¶

func (m *ProxyInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxyInfo) Validate ¶

func (m *ProxyInfo) Validate(formats strfmt.Registry) error

Validate validates this proxy info

type ProxyOverview ¶

type ProxyOverview struct {

	// Proxies
	// Required: true
	Proxies []*ProxyInfo `json:"proxies"`

	// Number of proxies
	// Required: true
	ProxiesCount *int32 `json:"proxies_count"`

	// Settings
	// Required: true
	Settings *ProxiesSettings `json:"settings"`
}

ProxyOverview Information about all of the proxies.

swagger:model ProxyOverview

func (*ProxyOverview) ContextValidate ¶ added in v1.3.0

func (m *ProxyOverview) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this proxy overview based on the context it is used

func (*ProxyOverview) MarshalBinary ¶

func (m *ProxyOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxyOverview) UnmarshalBinary ¶

func (m *ProxyOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxyOverview) Validate ¶

func (m *ProxyOverview) Validate(formats strfmt.Registry) error

Validate validates this proxy overview

type ProxySummary ¶

type ProxySummary struct {

	// Whether this proxy is healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// The proxy identifier
	// Required: true
	ProxyID *string `json:"proxy_id"`
}

ProxySummary Summarized information about a proxy.

swagger:model ProxySummary

func (*ProxySummary) ContextValidate ¶ added in v1.3.0

func (m *ProxySummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this proxy summary based on context it is used

func (*ProxySummary) MarshalBinary ¶

func (m *ProxySummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProxySummary) UnmarshalBinary ¶

func (m *ProxySummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProxySummary) Validate ¶

func (m *ProxySummary) Validate(formats strfmt.Registry) error

Validate validates this proxy summary

type PublicCertChain ¶

type PublicCertChain struct {

	// The list of PEM encoded X509 certificates that make up the certificate chain
	// Required: true
	Chain []string `json:"chain"`
}

PublicCertChain The public portion of the certificate chain that contains the PEM encoded server certificate, intermediate certificates, and the CA certificate. NOTE: The private key, normally included in certificate chains, is omitted.

swagger:model PublicCertChain

func (*PublicCertChain) ContextValidate ¶ added in v1.3.0

func (m *PublicCertChain) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this public cert chain based on context it is used

func (*PublicCertChain) MarshalBinary ¶

func (m *PublicCertChain) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicCertChain) UnmarshalBinary ¶

func (m *PublicCertChain) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicCertChain) Validate ¶

func (m *PublicCertChain) Validate(formats strfmt.Registry) error

Validate validates this public cert chain

type PublicCertChainCollection ¶

type PublicCertChainCollection struct {

	// The map of extra certificate ids to their public certificate chains
	// Required: true
	Certs map[string]PublicCertChain `json:"certs"`
}

PublicCertChainCollection Collections of public certificate chains for all the defined extra certificates

swagger:model PublicCertChainCollection

func (*PublicCertChainCollection) ContextValidate ¶ added in v1.3.0

func (m *PublicCertChainCollection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this public cert chain collection based on the context it is used

func (*PublicCertChainCollection) MarshalBinary ¶

func (m *PublicCertChainCollection) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicCertChainCollection) UnmarshalBinary ¶

func (m *PublicCertChainCollection) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicCertChainCollection) Validate ¶

func (m *PublicCertChainCollection) Validate(formats strfmt.Registry) error

Validate validates this public cert chain collection

type PublicCertificate ¶ added in v1.10.0

type PublicCertificate struct {

	// If true, this certificate is the one which has been used to sign the current certificates. Otherwise, it may be the one that will be used when this certificate expires.
	// Required: true
	Active *bool `json:"active"`

	// Metadata about the certificate, including fingerprint and expiry date. Generated by the Cloud service and ignored on write.
	// Required: true
	Metadata *CertificateMetaData `json:"metadata"`

	// The public certificate as string in PEM format.
	// Required: true
	Pem *string `json:"pem"`
}

PublicCertificate A certificate used to sign the certificates of this deployment

swagger:model PublicCertificate

func (*PublicCertificate) ContextValidate ¶ added in v1.10.0

func (m *PublicCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this public certificate based on the context it is used

func (*PublicCertificate) MarshalBinary ¶ added in v1.10.0

func (m *PublicCertificate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicCertificate) UnmarshalBinary ¶ added in v1.10.0

func (m *PublicCertificate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicCertificate) Validate ¶ added in v1.10.0

func (m *PublicCertificate) Validate(formats strfmt.Registry) error

Validate validates this public certificate

type QueryContainer ¶

type QueryContainer struct {

	// bool
	Bool *BoolQuery `json:"bool,omitempty"`

	// exists
	Exists *ExistsQuery `json:"exists,omitempty"`

	// match
	Match map[string]MatchQuery `json:"match,omitempty"`

	// match all
	MatchAll MatchAllQuery `json:"match_all,omitempty"`

	// match none
	MatchNone MatchNoneQuery `json:"match_none,omitempty"`

	// nested
	Nested *NestedQuery `json:"nested,omitempty"`

	// prefix
	Prefix map[string]PrefixQuery `json:"prefix,omitempty"`

	// query string
	QueryString *QueryStringQuery `json:"query_string,omitempty"`

	// range
	Range map[string]RangeQuery `json:"range,omitempty"`

	// simple query string
	SimpleQueryString *SimpleQueryStringQuery `json:"simple_query_string,omitempty"`

	// term
	Term map[string]TermQuery `json:"term,omitempty"`
}

QueryContainer The container for all of the allowed Elasticsearch queries. Specify only one property each time.

swagger:model QueryContainer

func (*QueryContainer) ContextValidate ¶ added in v1.3.0

func (m *QueryContainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this query container based on the context it is used

func (*QueryContainer) MarshalBinary ¶

func (m *QueryContainer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QueryContainer) UnmarshalBinary ¶

func (m *QueryContainer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QueryContainer) Validate ¶

func (m *QueryContainer) Validate(formats strfmt.Registry) error

Validate validates this query container

type QueryStringQuery ¶

type QueryStringQuery struct {

	// When set, * or ? are allowed as the first character. Defaults to false.
	AllowLeadingWildcard *bool `json:"allow_leading_wildcard,omitempty"`

	// The analyzer used to analyze each term of the query when creating composite queries.
	Analyzer string `json:"analyzer,omitempty"`

	// The default field for query terms if no prefix field is specified.
	DefaultField string `json:"default_field,omitempty"`

	// The default operator used if no explicit operator is specified.
	DefaultOperator string `json:"default_operator,omitempty"`

	// The actual query to be parsed.
	// Required: true
	Query *string `json:"query"`
}

QueryStringQuery A query that uses the strict query string syntax for parsing. Will return an error for invalid syntax.

swagger:model QueryStringQuery

func (*QueryStringQuery) ContextValidate ¶ added in v1.3.0

func (m *QueryStringQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this query string query based on context it is used

func (*QueryStringQuery) MarshalBinary ¶

func (m *QueryStringQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*QueryStringQuery) UnmarshalBinary ¶

func (m *QueryStringQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*QueryStringQuery) Validate ¶

func (m *QueryStringQuery) Validate(formats strfmt.Registry) error

Validate validates this query string query

type RangeQuery ¶

type RangeQuery struct {

	// An optional boost value to apply to the query.
	Boost float32 `json:"boost,omitempty"`

	// Formatted dates will be parsed using the format specified on the date field by default, but it can be overridden by passing the format parameter.
	Format string `json:"format,omitempty"`

	// Greater-than
	Gt interface{} `json:"gt,omitempty"`

	// Greater-than or equal to
	Gte interface{} `json:"gte,omitempty"`

	// Less-than
	Lt interface{} `json:"lt,omitempty"`

	// Less-than or equal to.
	Lte interface{} `json:"lte,omitempty"`

	// Dates can be converted from another timezone to UTC either by specifying the time zone in the date value itself (if the format accepts it), or it can be specified as the time_zone parameter.
	TimeZone string `json:"time_zone,omitempty"`
}

RangeQuery The query that matches documents with fields that contain terms within a specified range.

swagger:model RangeQuery

func (*RangeQuery) ContextValidate ¶ added in v1.3.0

func (m *RangeQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this range query based on context it is used

func (*RangeQuery) MarshalBinary ¶

func (m *RangeQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RangeQuery) UnmarshalBinary ¶

func (m *RangeQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RangeQuery) Validate ¶

func (m *RangeQuery) Validate(formats strfmt.Registry) error

Validate validates this range query

type ReadOnlyRequest ¶

type ReadOnlyRequest struct {

	// Enabled or disabled read-only mode
	// Required: true
	Enabled *bool `json:"enabled"`
}

ReadOnlyRequest Read-only mode request payload

swagger:model ReadOnlyRequest

func (*ReadOnlyRequest) ContextValidate ¶ added in v1.3.0

func (m *ReadOnlyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this read only request based on context it is used

func (*ReadOnlyRequest) MarshalBinary ¶

func (m *ReadOnlyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReadOnlyRequest) UnmarshalBinary ¶

func (m *ReadOnlyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReadOnlyRequest) Validate ¶

func (m *ReadOnlyRequest) Validate(formats strfmt.Registry) error

Validate validates this read only request

type ReadOnlyResponse ¶

type ReadOnlyResponse struct {

	// Whether read-only mode is enabled or disabled
	// Required: true
	Enabled *bool `json:"enabled"`
}

ReadOnlyResponse Read-only mode response

swagger:model ReadOnlyResponse

func (*ReadOnlyResponse) ContextValidate ¶ added in v1.3.0

func (m *ReadOnlyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this read only response based on context it is used

func (*ReadOnlyResponse) MarshalBinary ¶

func (m *ReadOnlyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReadOnlyResponse) UnmarshalBinary ¶

func (m *ReadOnlyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReadOnlyResponse) Validate ¶

func (m *ReadOnlyResponse) Validate(formats strfmt.Registry) error

Validate validates this read only response

type RegionInfo ¶

type RegionInfo struct {

	// Information about allocators
	// Required: true
	Allocators *AllocatorsSummary `json:"allocators"`

	// Information about constructors
	// Required: true
	Constructors *ConstructorOverview `json:"constructors"`

	// Information about container sets
	// Required: true
	ContainerSetsStatus *ContainerSetsSummary `json:"container_sets_status"`

	// Information about coordinators
	// Required: true
	Coordinators *CoordinatorsSummary `json:"coordinators"`

	// Information about proxies
	// Required: true
	Proxies *ProxiesSummary `json:"proxies"`

	// Identifier of this region
	// Required: true
	RegionID *string `json:"region_id"`

	// Information about resources
	// Required: true
	Resources *PlatformResourcesSummary `json:"resources"`

	// Information about runners
	// Required: true
	Runners *RunnersSummary `json:"runners"`

	// Information about the Zookeeper state
	// Required: true
	ZookeeperStates *ZookeeperSummary `json:"zookeeper_states"`
}

RegionInfo Information about a region.

swagger:model RegionInfo

func (*RegionInfo) ContextValidate ¶ added in v1.3.0

func (m *RegionInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this region info based on the context it is used

func (*RegionInfo) MarshalBinary ¶

func (m *RegionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RegionInfo) UnmarshalBinary ¶

func (m *RegionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RegionInfo) Validate ¶

func (m *RegionInfo) Validate(formats strfmt.Registry) error

Validate validates this region info

type RemoteResourceInfo ¶ added in v1.3.0

type RemoteResourceInfo struct {

	// Whether or not the remote cluster version is compatible with this cluster version.
	// Required: true
	Compatible *bool `json:"compatible"`

	// Whether or not there is at least one connection to the remote cluster.
	// Required: true
	Connected *bool `json:"connected"`

	// Whether or not the remote cluster is healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// Whether or not the remote cluster is trusted by this cluster.
	// Required: true
	Trusted *bool `json:"trusted"`

	// Whether or not the remote cluster trusts this cluster back.
	// Required: true
	TrustedBack *bool `json:"trusted_back"`
}

RemoteResourceInfo Information about a Remote Cluster.

swagger:model RemoteResourceInfo

func (*RemoteResourceInfo) ContextValidate ¶ added in v1.3.0

func (m *RemoteResourceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this remote resource info based on context it is used

func (*RemoteResourceInfo) MarshalBinary ¶ added in v1.3.0

func (m *RemoteResourceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteResourceInfo) UnmarshalBinary ¶ added in v1.3.0

func (m *RemoteResourceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteResourceInfo) Validate ¶ added in v1.3.0

func (m *RemoteResourceInfo) Validate(formats strfmt.Registry) error

Validate validates this remote resource info

type RemoteResourceRef ¶

type RemoteResourceRef struct {

	// The alias for this remote cluster. Aliases must only contain letters, digits, dashes and underscores
	// Required: true
	Alias *string `json:"alias"`

	// The id of the deployment
	// Required: true
	DeploymentID *string `json:"deployment_id"`

	// The locally-unique user-specified id of an Elasticsearch Resource
	// Required: true
	ElasticsearchRefID *string `json:"elasticsearch_ref_id"`

	// Information about a Remote Cluster.
	// Read Only: true
	Info *RemoteResourceInfo `json:"info,omitempty"`

	// If true, skip this cluster during search if it is disconnected. Default: false
	SkipUnavailable *bool `json:"skip_unavailable,omitempty"`
}

RemoteResourceRef The Elasticsearch resource used as a Remote Cluster.

swagger:model RemoteResourceRef

func (*RemoteResourceRef) ContextValidate ¶ added in v1.3.0

func (m *RemoteResourceRef) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remote resource ref based on the context it is used

func (*RemoteResourceRef) MarshalBinary ¶

func (m *RemoteResourceRef) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteResourceRef) UnmarshalBinary ¶

func (m *RemoteResourceRef) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteResourceRef) Validate ¶

func (m *RemoteResourceRef) Validate(formats strfmt.Registry) error

Validate validates this remote resource ref

type RemoteResources ¶

type RemoteResources struct {

	// The remote resources
	// Required: true
	Resources []*RemoteResourceRef `json:"resources"`
}

RemoteResources The list of resources used as remote clusters

swagger:model RemoteResources

func (*RemoteResources) ContextValidate ¶ added in v1.3.0

func (m *RemoteResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remote resources based on the context it is used

func (*RemoteResources) MarshalBinary ¶

func (m *RemoteResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoteResources) UnmarshalBinary ¶

func (m *RemoteResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoteResources) Validate ¶

func (m *RemoteResources) Validate(formats strfmt.Registry) error

Validate validates this remote resources

type ReplyWarning ¶

type ReplyWarning struct {

	// A structured code representing the error type that occurred
	// Required: true
	Code *string `json:"code"`

	// A human readable message describing the warning that occurred
	Message string `json:"message,omitempty"`
}

ReplyWarning reply warning

swagger:model ReplyWarning

func (*ReplyWarning) ContextValidate ¶ added in v1.3.0

func (m *ReplyWarning) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reply warning based on context it is used

func (*ReplyWarning) MarshalBinary ¶

func (m *ReplyWarning) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ReplyWarning) UnmarshalBinary ¶

func (m *ReplyWarning) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ReplyWarning) Validate ¶

func (m *ReplyWarning) Validate(formats strfmt.Registry) error

Validate validates this reply warning

type RepositoryConfig ¶

type RepositoryConfig struct {

	// Elasticsearch configuration JSON for a snapshot repository
	// Required: true
	Config interface{} `json:"config"`

	// Elasticsearch snapshot repository name
	// Required: true
	RepositoryName *string `json:"repository_name"`
}

RepositoryConfig The snapshot repository configuration.

swagger:model RepositoryConfig

func (*RepositoryConfig) ContextValidate ¶ added in v1.3.0

func (m *RepositoryConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this repository config based on context it is used

func (*RepositoryConfig) MarshalBinary ¶

func (m *RepositoryConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RepositoryConfig) UnmarshalBinary ¶

func (m *RepositoryConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RepositoryConfig) Validate ¶

func (m *RepositoryConfig) Validate(formats strfmt.Registry) error

Validate validates this repository config

type RepositoryConfigs ¶

type RepositoryConfigs struct {

	// List of snapshot configurations
	// Required: true
	Configs []*RepositoryConfig `json:"configs"`
}

RepositoryConfigs A list of snapshot repository configurations.

swagger:model RepositoryConfigs

func (*RepositoryConfigs) ContextValidate ¶ added in v1.3.0

func (m *RepositoryConfigs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this repository configs based on the context it is used

func (*RepositoryConfigs) MarshalBinary ¶

func (m *RepositoryConfigs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RepositoryConfigs) UnmarshalBinary ¶

func (m *RepositoryConfigs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RepositoryConfigs) Validate ¶

func (m *RepositoryConfigs) Validate(formats strfmt.Registry) error

Validate validates this repository configs

type RequestEnrollmentTokenReply ¶

type RequestEnrollmentTokenReply struct {

	// The requested token
	// Required: true
	Token *string `json:"token"`

	// An identifier for the requested token (if persistent) that can be used in listing and deletion
	TokenID string `json:"token_id,omitempty"`
}

RequestEnrollmentTokenReply Returns the enrollment token that is used to securely start a new server with designated roles.

swagger:model RequestEnrollmentTokenReply

func (*RequestEnrollmentTokenReply) ContextValidate ¶ added in v1.3.0

func (m *RequestEnrollmentTokenReply) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this request enrollment token reply based on context it is used

func (*RequestEnrollmentTokenReply) MarshalBinary ¶

func (m *RequestEnrollmentTokenReply) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestEnrollmentTokenReply) UnmarshalBinary ¶

func (m *RequestEnrollmentTokenReply) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestEnrollmentTokenReply) Validate ¶

func (m *RequestEnrollmentTokenReply) Validate(formats strfmt.Registry) error

Validate validates this request enrollment token reply

type ResourceHeapDumps ¶ added in v1.6.0

type ResourceHeapDumps struct {

	// The heap dumps belonging to this resource
	// Required: true
	HeapDumps []*HeapDump `json:"heap_dumps"`

	// The randomly-generated id of a Resource
	// Required: true
	ID *string `json:"id"`

	// The locally-unique user-specified id of the resource that the heap dump was captured from
	// Required: true
	RefID *string `json:"ref_id"`
}

ResourceHeapDumps resource heap dumps

swagger:model ResourceHeapDumps

func (*ResourceHeapDumps) ContextValidate ¶ added in v1.6.0

func (m *ResourceHeapDumps) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resource heap dumps based on the context it is used

func (*ResourceHeapDumps) MarshalBinary ¶ added in v1.6.0

func (m *ResourceHeapDumps) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceHeapDumps) UnmarshalBinary ¶ added in v1.6.0

func (m *ResourceHeapDumps) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceHeapDumps) Validate ¶ added in v1.6.0

func (m *ResourceHeapDumps) Validate(formats strfmt.Registry) error

Validate validates this resource heap dumps

type RestartPolicy ¶

type RestartPolicy struct {

	// Maximum number of times to re-try before giving up
	MaximumRetryCount int32 `json:"maximum_retry_count,omitempty"`

	// Identifier for the policy.
	// Required: true
	Name *string `json:"name"`
}

RestartPolicy A policy that is applied when a container unexpectedly exits

swagger:model RestartPolicy

func (*RestartPolicy) ContextValidate ¶ added in v1.3.0

func (m *RestartPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this restart policy based on context it is used

func (*RestartPolicy) MarshalBinary ¶

func (m *RestartPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestartPolicy) UnmarshalBinary ¶

func (m *RestartPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestartPolicy) Validate ¶

func (m *RestartPolicy) Validate(formats strfmt.Registry) error

Validate validates this restart policy

type RestoreSnapshotAPIConfiguration ¶

type RestoreSnapshotAPIConfiguration struct {

	// The list of indices to restore (supports +ve and -ve selection and wildcarding - see the default Elasticsearch index format documentation)
	Indices []string `json:"indices"`

	// This JSON object (merged with the 'indices' field (if present) is passed untouched into the restore command - see the Elasticsearch '_snapshot' documentation for more details on supported formats
	RawSettings interface{} `json:"raw_settings,omitempty"`
}

RestoreSnapshotAPIConfiguration The configuration for the restore command, such as which indices you want to restore.

swagger:model RestoreSnapshotApiConfiguration

func (*RestoreSnapshotAPIConfiguration) ContextValidate ¶ added in v1.3.0

func (m *RestoreSnapshotAPIConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this restore snapshot Api configuration based on context it is used

func (*RestoreSnapshotAPIConfiguration) MarshalBinary ¶

func (m *RestoreSnapshotAPIConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestoreSnapshotAPIConfiguration) UnmarshalBinary ¶

func (m *RestoreSnapshotAPIConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestoreSnapshotAPIConfiguration) Validate ¶

Validate validates this restore snapshot Api configuration

type RestoreSnapshotConfiguration ¶

type RestoreSnapshotConfiguration struct {

	// Raw remote snapshot restore settings. Do not send this if you are sending source_cluster_id
	RepositoryConfig *RestoreSnapshotRepoConfiguration `json:"repository_config,omitempty"`

	// If specified, contains the name of the snapshot repository - else will default to the Elastic Cloud system repo ('found-snapshots')
	RepositoryName string `json:"repository_name,omitempty"`

	// restore payload
	RestorePayload *RestoreSnapshotAPIConfiguration `json:"restore_payload,omitempty"`

	// The name of the snapshot to restore. Use '\_\_latest_success\_\_' to get the most recent snapshot from the specified repository
	// Required: true
	SnapshotName *string `json:"snapshot_name"`

	// If specified, contains the name of the source cluster id. Do not send this if you are sending repository_config
	SourceClusterID string `json:"source_cluster_id,omitempty"`

	// The restore strategy to use. Defaults to a full restore. Partial restore will attempt to restore unavailable indices only
	// Enum: [partial full recovery]
	Strategy string `json:"strategy,omitempty"`
}

RestoreSnapshotConfiguration Restores a snapshot from a local or remote repository.

swagger:model RestoreSnapshotConfiguration

func (*RestoreSnapshotConfiguration) ContextValidate ¶ added in v1.3.0

func (m *RestoreSnapshotConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this restore snapshot configuration based on the context it is used

func (*RestoreSnapshotConfiguration) MarshalBinary ¶

func (m *RestoreSnapshotConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestoreSnapshotConfiguration) UnmarshalBinary ¶

func (m *RestoreSnapshotConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestoreSnapshotConfiguration) Validate ¶

func (m *RestoreSnapshotConfiguration) Validate(formats strfmt.Registry) error

Validate validates this restore snapshot configuration

type RestoreSnapshotRepoConfiguration ¶

type RestoreSnapshotRepoConfiguration struct {

	// The remote snapshot settings raw JSON - see the Elasticsearch '_snapshot' documentation for more details on supported formats
	RawSettings interface{} `json:"raw_settings,omitempty"`
}

RestoreSnapshotRepoConfiguration Configures the location of a remote repository. The default is the system repository.

swagger:model RestoreSnapshotRepoConfiguration

func (*RestoreSnapshotRepoConfiguration) ContextValidate ¶ added in v1.3.0

func (m *RestoreSnapshotRepoConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this restore snapshot repo configuration based on context it is used

func (*RestoreSnapshotRepoConfiguration) MarshalBinary ¶

func (m *RestoreSnapshotRepoConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestoreSnapshotRepoConfiguration) UnmarshalBinary ¶

func (m *RestoreSnapshotRepoConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestoreSnapshotRepoConfiguration) Validate ¶

Validate validates this restore snapshot repo configuration

type Role ¶

type Role struct {

	// Whether runners are automatically allowed to be assigned the containers of this role.
	// Required: true
	AutoBlessed *bool `json:"auto_blessed"`

	// The containers that are part of this role
	// Required: true
	Containers []*ContainersEntry `json:"containers"`

	// The unique id of this role
	// Example: constructor
	// Required: true
	ID *string `json:"id"`
}

Role Describes whether certain runners are blessed to run a Role.

swagger:model Role

func (*Role) ContextValidate ¶ added in v1.3.0

func (m *Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role based on the context it is used

func (*Role) MarshalBinary ¶

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary ¶

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate ¶

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

type RoleAggregate ¶

type RoleAggregate struct {

	// The blessings data associated with the role
	Blessings *BlessingsWithMeta `json:"blessings,omitempty"`

	// The unique id of this role
	// Example: constructor
	// Required: true
	ID *string `json:"id"`

	// The pending states data associated with the role
	Pending *PendingStatesWithMeta `json:"pending,omitempty"`

	// The role data with metadata
	// Required: true
	Role *RoleWithMeta `json:"role"`
}

RoleAggregate Describes whether certain runners are blessed to run a Role.

swagger:model RoleAggregate

func (*RoleAggregate) ContextValidate ¶ added in v1.3.0

func (m *RoleAggregate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role aggregate based on the context it is used

func (*RoleAggregate) MarshalBinary ¶

func (m *RoleAggregate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleAggregate) UnmarshalBinary ¶

func (m *RoleAggregate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleAggregate) Validate ¶

func (m *RoleAggregate) Validate(formats strfmt.Registry) error

Validate validates this role aggregate

type RoleAggregateCreateData ¶

type RoleAggregateCreateData struct {

	// The blessings data associated with the role
	Blessings *Blessings `json:"blessings,omitempty"`

	// The role data
	// Required: true
	Role *Role `json:"role"`
}

RoleAggregateCreateData Creation data for a role

swagger:model RoleAggregateCreateData

func (*RoleAggregateCreateData) ContextValidate ¶ added in v1.3.0

func (m *RoleAggregateCreateData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role aggregate create data based on the context it is used

func (*RoleAggregateCreateData) MarshalBinary ¶

func (m *RoleAggregateCreateData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleAggregateCreateData) UnmarshalBinary ¶

func (m *RoleAggregateCreateData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleAggregateCreateData) Validate ¶

func (m *RoleAggregateCreateData) Validate(formats strfmt.Registry) error

Validate validates this role aggregate create data

type RoleAggregates ¶

type RoleAggregates struct {

	// The list
	// Required: true
	Values []*RoleAggregate `json:"values"`
}

RoleAggregates A list of Role aggregates

swagger:model RoleAggregates

func (*RoleAggregates) ContextValidate ¶ added in v1.3.0

func (m *RoleAggregates) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role aggregates based on the context it is used

func (*RoleAggregates) MarshalBinary ¶

func (m *RoleAggregates) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleAggregates) UnmarshalBinary ¶

func (m *RoleAggregates) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleAggregates) Validate ¶

func (m *RoleAggregates) Validate(formats strfmt.Registry) error

Validate validates this role aggregates

type RoleWithMeta ¶

type RoleWithMeta struct {

	// The metadata
	// Required: true
	Meta *Metadata `json:"meta"`

	// The pending stages
	// Required: true
	Value *Role `json:"value"`
}

RoleWithMeta Persisted role along with metadata

swagger:model RoleWithMeta

func (*RoleWithMeta) ContextValidate ¶ added in v1.3.0

func (m *RoleWithMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role with meta based on the context it is used

func (*RoleWithMeta) MarshalBinary ¶

func (m *RoleWithMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RoleWithMeta) UnmarshalBinary ¶

func (m *RoleWithMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RoleWithMeta) Validate ¶

func (m *RoleWithMeta) Validate(formats strfmt.Registry) error

Validate validates this role with meta

type RollingGrowShrinkStrategyConfig ¶

type RollingGrowShrinkStrategyConfig interface{}

RollingGrowShrinkStrategyConfig A strategy that creates new Elasticsearch instances, Kibana instances, and APM Servers with the new plan, then migrates the node data to minimize the amount of spare capacity.

swagger:model RollingGrowShrinkStrategyConfig

type RollingStrategyConfig ¶

type RollingStrategyConfig struct {

	// Whether we allow changing the capacity of instances (default false). This is currently implemented by stopping, re-creating then starting the affected instance on its associated allocator when performing the changes. NOTES: This requires a round-trip through the allocation infrastructure of the active constructor, as it has to reserve the target capacity without over-committing
	AllowInlineResize *bool `json:"allow_inline_resize,omitempty"`

	// Specifies the grouping attribute to use when rolling several instances. Instances that share the same value for the provided attribute key are rolled together as a unit. Examples that make sense to use are '\_\_all\_\_' (roll all instances as a single unit), 'logical_zone_name' (roll instances by zone), '\_\_name\_\_' (roll one instance at a time, the default if not specified). Note that '\_\_all\_\_' is required when performing a major version upgrade
	GroupBy string `json:"group_by,omitempty"`

	// The time, in seconds, to wait for shards that show no progress of initializing before rolling the next group (default: 10 minutes)
	ShardInitWaitTime int64 `json:"shard_init_wait_time,omitempty"`

	// Whether to skip attempting to do a synced flush on the filesystem of the container (default: false), which is less safe but may be required if the container is unhealthy
	SkipSyncedFlush *bool `json:"skip_synced_flush,omitempty"`
}

RollingStrategyConfig Performs inline, rolling configuration changes that mutate existing containers. TIP: This is the fastest way to update a plan, but can fail for complex plan changes, such as topology changes. Also, this is less safe for configuration changes that leave a cluster in a non running state. NOTE: When you perform a major version upgrade, and 'group_by' is set to 'pass:macros[__all__]';, rolling is required.

swagger:model RollingStrategyConfig

func (*RollingStrategyConfig) ContextValidate ¶ added in v1.3.0

func (m *RollingStrategyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rolling strategy config based on context it is used

func (*RollingStrategyConfig) MarshalBinary ¶

func (m *RollingStrategyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RollingStrategyConfig) UnmarshalBinary ¶

func (m *RollingStrategyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RollingStrategyConfig) Validate ¶

func (m *RollingStrategyConfig) Validate(formats strfmt.Registry) error

Validate validates this rolling strategy config

type RulesetAssociations ¶

type RulesetAssociations struct {

	// List of associations
	// Required: true
	Associations []*FilterAssociation `json:"associations"`

	// Total number of associations. This includes associations the user does not have permission to view.
	// Required: true
	TotalAssociations *int32 `json:"total_associations"`
}

RulesetAssociations The configuration settings for the traffic filter.

swagger:model RulesetAssociations

func (*RulesetAssociations) ContextValidate ¶ added in v1.3.0

func (m *RulesetAssociations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ruleset associations based on the context it is used

func (*RulesetAssociations) MarshalBinary ¶

func (m *RulesetAssociations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RulesetAssociations) UnmarshalBinary ¶

func (m *RulesetAssociations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RulesetAssociations) Validate ¶

func (m *RulesetAssociations) Validate(formats strfmt.Registry) error

Validate validates this ruleset associations

type RunnerBuildInfo ¶

type RunnerBuildInfo struct {

	// Git commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// Version of the runner artifact
	Version string `json:"version,omitempty"`
}

RunnerBuildInfo runner build info

swagger:model RunnerBuildInfo

func (*RunnerBuildInfo) ContextValidate ¶ added in v1.3.0

func (m *RunnerBuildInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this runner build info based on context it is used

func (*RunnerBuildInfo) MarshalBinary ¶

func (m *RunnerBuildInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunnerBuildInfo) UnmarshalBinary ¶

func (m *RunnerBuildInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunnerBuildInfo) Validate ¶

func (m *RunnerBuildInfo) Validate(formats strfmt.Registry) error

Validate validates this runner build info

type RunnerContainerInfo ¶

type RunnerContainerInfo struct {

	// Name of this container
	// Required: true
	ContainerName *string `json:"container_name"`

	// Name of the container set for the container
	// Required: true
	ContainerSetName *string `json:"container_set_name"`
}

RunnerContainerInfo Information about a container within a runner.

swagger:model RunnerContainerInfo

func (*RunnerContainerInfo) ContextValidate ¶ added in v1.3.0

func (m *RunnerContainerInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this runner container info based on context it is used

func (*RunnerContainerInfo) MarshalBinary ¶

func (m *RunnerContainerInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunnerContainerInfo) UnmarshalBinary ¶

func (m *RunnerContainerInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunnerContainerInfo) Validate ¶

func (m *RunnerContainerInfo) Validate(formats strfmt.Registry) error

Validate validates this runner container info

type RunnerHealthChecks ¶ added in v1.12.0

type RunnerHealthChecks struct {

	// Whether the runner has containers that it manages
	// Required: true
	HasContainers *bool `json:"has_containers"`

	// Whether the runner is connected to zk or not
	// Required: true
	IsConnectedToZk *bool `json:"is_connected_to_zk"`

	// Check performed by the runner to figure out if docker is healthy
	// Required: true
	IsDockerHealthy *bool `json:"is_docker_healthy"`
}

RunnerHealthChecks The checks performed to determine if an runner is healthy or not.

swagger:model RunnerHealthChecks

func (*RunnerHealthChecks) ContextValidate ¶ added in v1.12.0

func (m *RunnerHealthChecks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this runner health checks based on context it is used

func (*RunnerHealthChecks) MarshalBinary ¶ added in v1.12.0

func (m *RunnerHealthChecks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunnerHealthChecks) UnmarshalBinary ¶ added in v1.12.0

func (m *RunnerHealthChecks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunnerHealthChecks) Validate ¶ added in v1.12.0

func (m *RunnerHealthChecks) Validate(formats strfmt.Registry) error

Validate validates this runner health checks

type RunnerInfo ¶

type RunnerInfo struct {

	// Build Info of the container artifact
	BuildInfo *RunnerBuildInfo `json:"build_info,omitempty"`

	// Specifies if the runner is connected
	// Required: true
	Connected *bool `json:"connected"`

	// Containers for the runner
	// Required: true
	Containers []*RunnerContainerInfo `json:"containers"`

	// State of features of the runner
	Features map[string]bool `json:"features,omitempty"`

	// Checks used to determine if a runner is healthy or not
	HealthChecks *RunnerHealthChecks `json:"health_checks,omitempty"`

	// Specifies if the runner is healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// Host IP for the runner
	// Required: true
	HostIP *string `json:"host_ip"`

	// Public hostname for the runner
	// Required: true
	PublicHostname *string `json:"public_hostname"`

	// The region that this runner belongs to. Only populated in SaaS or federated ECE.
	Region string `json:"region,omitempty"`

	// Roles for the runner
	// Required: true
	Roles []*RunnerRoleInfo `json:"roles"`

	// The runner identifier
	// Required: true
	RunnerID *string `json:"runner_id"`

	// The runner name
	RunnerName string `json:"runner_name,omitempty"`

	// Meta data of the runner, like image ID or processor architecture
	Tags map[string]string `json:"tags,omitempty"`

	// Identifier of the zone
	Zone string `json:"zone,omitempty"`
}

RunnerInfo Information about a specified runner.

swagger:model RunnerInfo

func (*RunnerInfo) ContextValidate ¶ added in v1.3.0

func (m *RunnerInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this runner info based on the context it is used

func (*RunnerInfo) MarshalBinary ¶

func (m *RunnerInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunnerInfo) UnmarshalBinary ¶

func (m *RunnerInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunnerInfo) Validate ¶

func (m *RunnerInfo) Validate(formats strfmt.Registry) error

Validate validates this runner info

type RunnerOverview ¶

type RunnerOverview struct {

	// List of runners
	// Required: true
	Runners []*RunnerInfo `json:"runners"`
}

RunnerOverview Information about all of the runners.

swagger:model RunnerOverview

func (*RunnerOverview) ContextValidate ¶ added in v1.3.0

func (m *RunnerOverview) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this runner overview based on the context it is used

func (*RunnerOverview) MarshalBinary ¶

func (m *RunnerOverview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunnerOverview) UnmarshalBinary ¶

func (m *RunnerOverview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunnerOverview) Validate ¶

func (m *RunnerOverview) Validate(formats strfmt.Registry) error

Validate validates this runner overview

type RunnerRoleInfo ¶

type RunnerRoleInfo struct {

	// Name of the role
	// Required: true
	RoleName *string `json:"role_name"`
}

RunnerRoleInfo Information about a runner role.

swagger:model RunnerRoleInfo

func (*RunnerRoleInfo) ContextValidate ¶ added in v1.3.0

func (m *RunnerRoleInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this runner role info based on context it is used

func (*RunnerRoleInfo) MarshalBinary ¶

func (m *RunnerRoleInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunnerRoleInfo) UnmarshalBinary ¶

func (m *RunnerRoleInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunnerRoleInfo) Validate ¶

func (m *RunnerRoleInfo) Validate(formats strfmt.Registry) error

Validate validates this runner role info

type RunnerRolesInfo ¶

type RunnerRolesInfo struct {

	// List of roles
	// Required: true
	Roles []*RunnerRoleInfo `json:"roles"`
}

RunnerRolesInfo A list of runner roles.

swagger:model RunnerRolesInfo

func (*RunnerRolesInfo) ContextValidate ¶ added in v1.3.0

func (m *RunnerRolesInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this runner roles info based on the context it is used

func (*RunnerRolesInfo) MarshalBinary ¶

func (m *RunnerRolesInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunnerRolesInfo) UnmarshalBinary ¶

func (m *RunnerRolesInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunnerRolesInfo) Validate ¶

func (m *RunnerRolesInfo) Validate(formats strfmt.Registry) error

Validate validates this runner roles info

type RunnersSummary ¶

type RunnersSummary struct {

	// Total capacity of connected runners in megabytes
	// Required: true
	ConnectedCapacity *int32 `json:"connected_capacity"`

	// Number of connected runners
	// Required: true
	ConnectedRunners *int32 `json:"connected_runners"`

	// Total number of containers
	// Required: true
	ContainersCount *int32 `json:"containers_count"`

	// Whether all runners are healthy
	// Required: true
	Healthy *bool `json:"healthy"`

	// Number of healthy runners
	// Required: true
	HealthyRunners *int32 `json:"healthy_runners"`

	// Maximum capacity available in one runner in megabytes
	// Required: true
	MaxAvailableCapacity *int32 `json:"max_available_capacity"`

	// Total number of runners
	// Required: true
	TotalRunners *int32 `json:"total_runners"`
}

RunnersSummary Summarized information about the runners.

swagger:model RunnersSummary

func (*RunnersSummary) ContextValidate ¶ added in v1.3.0

func (m *RunnersSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this runners summary based on context it is used

func (*RunnersSummary) MarshalBinary ¶

func (m *RunnersSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RunnersSummary) UnmarshalBinary ¶

func (m *RunnersSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RunnersSummary) Validate ¶

func (m *RunnersSummary) Validate(formats strfmt.Registry) error

Validate validates this runners summary

type SamlAttributeSettings ¶

type SamlAttributeSettings struct {

	// The name of the SAML attribute that contains the user's X.50 Distinguished Name
	Dn string `json:"dn,omitempty"`

	// The name of the SAML attribute that contains the user's groups
	// Required: true
	Groups *string `json:"groups"`

	// The name of the SAML attribute that contains the user's email address
	Mail string `json:"mail,omitempty"`

	// The name of the SAML attribute that contains the user's full name
	Name string `json:"name,omitempty"`

	// The name of the SAML attribute that contains the user's principal (username). This name should map to a value that does not contain commas or slashes.
	// Required: true
	Principal *string `json:"principal"`
}

SamlAttributeSettings The mapping configuration for the Elasticsearch security SAML attribute.

swagger:model SamlAttributeSettings

func (*SamlAttributeSettings) ContextValidate ¶ added in v1.3.0

func (m *SamlAttributeSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this saml attribute settings based on context it is used

func (*SamlAttributeSettings) MarshalBinary ¶

func (m *SamlAttributeSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlAttributeSettings) UnmarshalBinary ¶

func (m *SamlAttributeSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlAttributeSettings) Validate ¶

func (m *SamlAttributeSettings) Validate(formats strfmt.Registry) error

Validate validates this saml attribute settings

type SamlIdpSettings ¶

type SamlIdpSettings struct {

	// The Entity ID of the SAML Identity Provider. An Entity ID is a URI with a maximum length of 1024 characters. It can be a URL or a URN and can be found in the configuration or the SAML metadata of the Identity Provider.
	// Required: true
	EntityID *string `json:"entity_id"`

	// The URL to a SAML 2.0 metadata file describing the capabilities and configuration of the Identity Provider
	// Required: true
	MetadataPath *string `json:"metadata_path"`

	// Indicates whether to utilise the Identity Provider's Single Logout service
	UseSingleLogout *bool `json:"use_single_logout,omitempty"`
}

SamlIdpSettings The configuration for the Elasticsearch security SAML Identity Provider.

swagger:model SamlIdpSettings

func (*SamlIdpSettings) ContextValidate ¶ added in v1.3.0

func (m *SamlIdpSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this saml idp settings based on context it is used

func (*SamlIdpSettings) MarshalBinary ¶

func (m *SamlIdpSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlIdpSettings) UnmarshalBinary ¶

func (m *SamlIdpSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlIdpSettings) Validate ¶

func (m *SamlIdpSettings) Validate(formats strfmt.Registry) error

Validate validates this saml idp settings

type SamlSecurityRealmRoleMappingRule ¶

type SamlSecurityRealmRoleMappingRule struct {

	// The roles that are applied when the mapping rule is successfully evaluated
	// Required: true
	Roles []string `json:"roles"`

	// The type of role mapping rule
	// Required: true
	// Enum: [username groups dn]
	Type *string `json:"type"`

	// The value to match when evaluating this rule
	// Required: true
	Value *string `json:"value"`
}

SamlSecurityRealmRoleMappingRule The mapping rule for the Elasticsearch security SAML role.

swagger:model SamlSecurityRealmRoleMappingRule

func (*SamlSecurityRealmRoleMappingRule) ContextValidate ¶ added in v1.3.0

func (m *SamlSecurityRealmRoleMappingRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this saml security realm role mapping rule based on context it is used

func (*SamlSecurityRealmRoleMappingRule) MarshalBinary ¶

func (m *SamlSecurityRealmRoleMappingRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlSecurityRealmRoleMappingRule) UnmarshalBinary ¶

func (m *SamlSecurityRealmRoleMappingRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlSecurityRealmRoleMappingRule) Validate ¶

Validate validates this saml security realm role mapping rule

type SamlSecurityRealmRoleMappingRules ¶

type SamlSecurityRealmRoleMappingRules struct {

	// The default roles applied to all users
	// Required: true
	DefaultRoles []string `json:"default_roles"`

	// The role mapping rules to evaluate
	// Required: true
	Rules []*SamlSecurityRealmRoleMappingRule `json:"rules"`
}

SamlSecurityRealmRoleMappingRules The mapping ruleset for the Elasticsearch security SAML role.

swagger:model SamlSecurityRealmRoleMappingRules

func (*SamlSecurityRealmRoleMappingRules) ContextValidate ¶ added in v1.3.0

func (m *SamlSecurityRealmRoleMappingRules) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this saml security realm role mapping rules based on the context it is used

func (*SamlSecurityRealmRoleMappingRules) MarshalBinary ¶

func (m *SamlSecurityRealmRoleMappingRules) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlSecurityRealmRoleMappingRules) UnmarshalBinary ¶

func (m *SamlSecurityRealmRoleMappingRules) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlSecurityRealmRoleMappingRules) Validate ¶

Validate validates this saml security realm role mapping rules

type SamlSettings ¶

type SamlSettings struct {

	// The SAML attribute mapping configuration
	// Required: true
	Attributes *SamlAttributeSettings `json:"attributes"`

	// When true, enables the security realm
	Enabled *bool `json:"enabled,omitempty"`

	// The SAML encryption certificate bundle URL. The bundle should be a zip file containing 'encryption.key' and 'encryption.pem' files in the directory '/saml/:id', where :id is the value of the [id] field.
	EncryptionCertificateURL string `json:"encryption_certificate_url,omitempty"`

	// The password to the encryption certificate bundle
	EncryptionCertificateURLPassword string `json:"encryption_certificate_url_password,omitempty"`

	// Specifies whether to set the ForceAuthn attribute when requesting that the IdP authenticate the current user. If set to true, the IdP is required to verify the user's identity, irrespective of any existing sessions they might have.
	ForceAuthn *bool `json:"force_authn,omitempty"`

	// The identifier for the security realm
	// Required: true
	ID *string `json:"id"`

	// The SAML Identity Provider configuration
	// Required: true
	Idp *SamlIdpSettings `json:"idp"`

	// The friendly name of the security realm
	// Required: true
	Name *string `json:"name"`

	// The NameID format. If not specified the IdP default is used. Example: 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent'
	NameidFormat string `json:"nameid_format,omitempty"`

	// The order that the security realm is evaluated
	Order int32 `json:"order,omitempty"`

	// Advanced configuration options in YAML format. Any settings defined here will override any configuration set via the API. Note that all keys should omit 'xpack.security.authc.realms.{realm_type}.{realm_id}'.
	OverrideYaml string `json:"override_yaml,omitempty"`

	// The role mapping rules associated with the security realm
	RoleMappings *SamlSecurityRealmRoleMappingRules `json:"role_mappings,omitempty"`

	// The SAML signing certificate bundle URL. The bundle should be a zip file containing 'signing.key' and 'signing.pem' files in the directory '/saml/:id', where :id is the value of the [id] field.
	SigningCertificateURL string `json:"signing_certificate_url,omitempty"`

	// The password to the signing certificate bundle
	SigningCertificateURLPassword string `json:"signing_certificate_url_password,omitempty"`

	// A list of SAML message types that should be signed. Each element in the list should be the local name of a SAML XML Element. Supported element types are AuthnRequest, LogoutRequest and LogoutResponse. Only valid if a signing certificate is also specified.
	SigningSamlMessages []string `json:"signing_saml_messages"`

	// The SAML Service Provider configuration
	// Required: true
	Sp *SamlSpSettings `json:"sp"`

	// The SSL trusted CA certificate bundle URL. The bundle should be a zip file containing a single keystore file 'keystore.ks' Note that all keys should omit the 'xpack.security.authc.realms.saml.{realm_id}' prefix. For example, when the realm ID is set to 'saml1', the advanced configuration 'xpack.security.authc.realms.saml.saml1.ssl.verification_mode: full' should be added as 'ssl.verification_mode: full'.
	SslCertificateURL string `json:"ssl_certificate_url,omitempty"`

	// The password to the SSL certificate bundle URL truststore
	SslCertificateURLTruststorePassword string `json:"ssl_certificate_url_truststore_password,omitempty"`

	// The format of the keystore file. Should be jks to use the Java Keystore format or PKCS12 to use PKCS#12 files. The default is jks.
	// Enum: [jks PKCS12]
	SslCertificateURLTruststoreType string `json:"ssl_certificate_url_truststore_type,omitempty"`
}

SamlSettings The configuration for the Elasticsearch security SAML realm.

swagger:model SamlSettings

func (*SamlSettings) ContextValidate ¶ added in v1.3.0

func (m *SamlSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this saml settings based on the context it is used

func (*SamlSettings) MarshalBinary ¶

func (m *SamlSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlSettings) UnmarshalBinary ¶

func (m *SamlSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlSettings) Validate ¶

func (m *SamlSettings) Validate(formats strfmt.Registry) error

Validate validates this saml settings

type SamlSpSettings ¶

type SamlSpSettings struct {

	// The URL of the Assertion Consumer service
	// Required: true
	Acs *string `json:"acs"`

	// The Entity ID to use for this SAML Service Provider. This should be entered as a URI.
	// Required: true
	EntityID *string `json:"entity_id"`

	// The URL of the Single Logout service
	// Required: true
	Logout *string `json:"logout"`
}

SamlSpSettings The configuration for the Elasticsearch security SAML Service Provider.

swagger:model SamlSpSettings

func (*SamlSpSettings) ContextValidate ¶ added in v1.3.0

func (m *SamlSpSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this saml sp settings based on context it is used

func (*SamlSpSettings) MarshalBinary ¶

func (m *SamlSpSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SamlSpSettings) UnmarshalBinary ¶

func (m *SamlSpSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SamlSpSettings) Validate ¶

func (m *SamlSpSettings) Validate(formats strfmt.Registry) error

Validate validates this saml sp settings

type SearchRequest ¶

type SearchRequest struct {

	// source
	Source interface{} `json:"_source,omitempty"`

	// from
	From int32 `json:"from,omitempty"`

	// query
	Query *QueryContainer `json:"query,omitempty"`

	// The maximum number of search results to return.
	Size int32 `json:"size,omitempty"`

	// An array of fields to sort the search results by.
	Sort []interface{} `json:"sort"`
}

SearchRequest An Elasticsearch search request with a subset of options.

swagger:model SearchRequest

func (*SearchRequest) ContextValidate ¶ added in v1.3.0

func (m *SearchRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this search request based on the context it is used

func (*SearchRequest) MarshalBinary ¶

func (m *SearchRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchRequest) UnmarshalBinary ¶

func (m *SearchRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchRequest) Validate ¶

func (m *SearchRequest) Validate(formats strfmt.Registry) error

Validate validates this search request

type SecurityDeployment ¶

type SecurityDeployment struct {

	// The identifier for the security deployment cluster
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// The identifier for the security deployment
	DeploymentID string `json:"deployment_id,omitempty"`

	// True if a pending plan is in progress
	// Required: true
	HasPendingPlan *bool `json:"has_pending_plan"`

	// True if the security cluster is currently enabled
	// Required: true
	IsEnabled *bool `json:"is_enabled"`

	// True if the cluster is healthy
	// Required: true
	IsHealthy *bool `json:"is_healthy"`

	// The name of the security deployment cluster
	// Required: true
	Name *string `json:"name"`

	// The current status of the cluster
	// Required: true
	// Enum: [initializing stopping stopped rebooting restarting reconfiguring started]
	Status *string `json:"status"`

	// The version of the Elasticsearch cluster
	Version string `json:"version,omitempty"`
}

SecurityDeployment The Elasticsearch security deployment.

swagger:model SecurityDeployment

func (*SecurityDeployment) ContextValidate ¶ added in v1.3.0

func (m *SecurityDeployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this security deployment based on context it is used

func (*SecurityDeployment) MarshalBinary ¶

func (m *SecurityDeployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityDeployment) UnmarshalBinary ¶

func (m *SecurityDeployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityDeployment) Validate ¶

func (m *SecurityDeployment) Validate(formats strfmt.Registry) error

Validate validates this security deployment

type SecurityDeploymentCreateRequest ¶

type SecurityDeploymentCreateRequest struct {

	// The name of the security deployment cluster
	Name string `json:"name,omitempty"`

	// The cluster topology used to create the security deployment cluster
	Topology *SecurityDeploymentTopology `json:"topology,omitempty"`

	// The version of the Elasticsearch cluster
	Version string `json:"version,omitempty"`
}

SecurityDeploymentCreateRequest The creation request for the Elasticsearch security deployment.

swagger:model SecurityDeploymentCreateRequest

func (*SecurityDeploymentCreateRequest) ContextValidate ¶ added in v1.3.0

func (m *SecurityDeploymentCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this security deployment create request based on the context it is used

func (*SecurityDeploymentCreateRequest) MarshalBinary ¶

func (m *SecurityDeploymentCreateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityDeploymentCreateRequest) UnmarshalBinary ¶

func (m *SecurityDeploymentCreateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityDeploymentCreateRequest) Validate ¶

Validate validates this security deployment create request

type SecurityDeploymentTopology ¶

type SecurityDeploymentTopology struct {

	// The security deployment topology size
	Size *TopologySize `json:"size,omitempty"`

	// The number of zones in which data nodes will be placed
	ZoneCount int32 `json:"zone_count,omitempty"`
}

SecurityDeploymentTopology The cluster topology for the Elasticsearch security deployment.

swagger:model SecurityDeploymentTopology

func (*SecurityDeploymentTopology) ContextValidate ¶ added in v1.3.0

func (m *SecurityDeploymentTopology) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this security deployment topology based on the context it is used

func (*SecurityDeploymentTopology) MarshalBinary ¶

func (m *SecurityDeploymentTopology) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityDeploymentTopology) UnmarshalBinary ¶

func (m *SecurityDeploymentTopology) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityDeploymentTopology) Validate ¶

func (m *SecurityDeploymentTopology) Validate(formats strfmt.Registry) error

Validate validates this security deployment topology

type SecurityDeploymentUpdateRequest ¶

type SecurityDeploymentUpdateRequest struct {

	// The cluster topology changes to apply to the security deployment cluster. When not included, no topology changes are performed.
	Topology *SecurityDeploymentTopology `json:"topology,omitempty"`

	// The version of Elasticsearch to upgrade to. When not included, no upgrade is performed.
	Version string `json:"version,omitempty"`
}

SecurityDeploymentUpdateRequest The update request for the Elasticsearch security deployment.

swagger:model SecurityDeploymentUpdateRequest

func (*SecurityDeploymentUpdateRequest) ContextValidate ¶ added in v1.3.0

func (m *SecurityDeploymentUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this security deployment update request based on the context it is used

func (*SecurityDeploymentUpdateRequest) MarshalBinary ¶

func (m *SecurityDeploymentUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityDeploymentUpdateRequest) UnmarshalBinary ¶

func (m *SecurityDeploymentUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityDeploymentUpdateRequest) Validate ¶

Validate validates this security deployment update request

type SecurityRealmInfo ¶

type SecurityRealmInfo struct {

	// True if the security realm is enabled
	Enabled *bool `json:"enabled,omitempty"`

	// The identifier for the security realm
	// Required: true
	ID *string `json:"id"`

	// The friendly name of the security realm
	// Required: true
	Name *string `json:"name"`

	// The order the security realm should be evaluated
	Order int32 `json:"order,omitempty"`

	// The type of the security realm
	// Required: true
	// Enum: [native ldap saml active_directory]
	Type *string `json:"type"`

	// The URLs associated with the security realm
	// Required: true
	Urls []string `json:"urls"`
}

SecurityRealmInfo The overview for the Elasticsearch security realm.

swagger:model SecurityRealmInfo

func (*SecurityRealmInfo) ContextValidate ¶ added in v1.3.0

func (m *SecurityRealmInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this security realm info based on context it is used

func (*SecurityRealmInfo) MarshalBinary ¶

func (m *SecurityRealmInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityRealmInfo) UnmarshalBinary ¶

func (m *SecurityRealmInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityRealmInfo) Validate ¶

func (m *SecurityRealmInfo) Validate(formats strfmt.Registry) error

Validate validates this security realm info

type SecurityRealmInfoList ¶

type SecurityRealmInfoList struct {

	// The list of security realms
	// Required: true
	Realms []*SecurityRealmInfo `json:"realms"`
}

SecurityRealmInfoList A list of Elasticsearch security realms.

swagger:model SecurityRealmInfoList

func (*SecurityRealmInfoList) ContextValidate ¶ added in v1.3.0

func (m *SecurityRealmInfoList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this security realm info list based on the context it is used

func (*SecurityRealmInfoList) MarshalBinary ¶

func (m *SecurityRealmInfoList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityRealmInfoList) UnmarshalBinary ¶

func (m *SecurityRealmInfoList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityRealmInfoList) Validate ¶

func (m *SecurityRealmInfoList) Validate(formats strfmt.Registry) error

Validate validates this security realm info list

type SecurityRealmsReorderRequest ¶

type SecurityRealmsReorderRequest struct {

	// The list of security realms in the desired order
	// Required: true
	Realms []string `json:"realms"`
}

SecurityRealmsReorderRequest A reorder request for Elasticsearch security realms.

swagger:model SecurityRealmsReorderRequest

func (*SecurityRealmsReorderRequest) ContextValidate ¶ added in v1.3.0

func (m *SecurityRealmsReorderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this security realms reorder request based on context it is used

func (*SecurityRealmsReorderRequest) MarshalBinary ¶

func (m *SecurityRealmsReorderRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SecurityRealmsReorderRequest) UnmarshalBinary ¶

func (m *SecurityRealmsReorderRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SecurityRealmsReorderRequest) Validate ¶

func (m *SecurityRealmsReorderRequest) Validate(formats strfmt.Registry) error

Validate validates this security realms reorder request

type ServiceURL ¶ added in v1.4.0

type ServiceURL struct {

	// Name of the service
	// Required: true
	Service *string `json:"service"`

	// The full URL to access the service
	// Required: true
	URL *string `json:"url"`
}

ServiceURL A URL to access the service of a resource

swagger:model ServiceUrl

func (*ServiceURL) ContextValidate ¶ added in v1.4.0

func (m *ServiceURL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this service Url based on context it is used

func (*ServiceURL) MarshalBinary ¶ added in v1.4.0

func (m *ServiceURL) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServiceURL) UnmarshalBinary ¶ added in v1.4.0

func (m *ServiceURL) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServiceURL) Validate ¶ added in v1.4.0

func (m *ServiceURL) Validate(formats strfmt.Registry) error

Validate validates this service Url

type SimpleQueryStringQuery ¶ added in v1.13.0

type SimpleQueryStringQuery struct {

	// If `true`, the query attempts to analyze wildcard terms. Defaults to `false`.
	AnalyzeWildcard *bool `json:"analyze_wildcard,omitempty"`

	// The name of the analyzer to use to convert the query text into tokens.
	Analyzer string `json:"analyzer,omitempty"`

	// If `true`, the parse creates a `match_phrase` uery for each multi-position token. Defaults to `true`.
	AutoGenerateSynonymsPhraseQuery *bool `json:"auto_generate_synonyms_phrase_query,omitempty"`

	// The boolean operator used to combine the terms of the query. Valid values are `OR` (default) and `AND`.
	DefaultOperator string `json:"default_operator,omitempty"`

	// Array of fields to search
	Fields []string `json:"fields"`

	// List of enabled operators for the simple query string syntax. Defaults to `ALL`.
	Flags string `json:"flags,omitempty"`

	// Maximum number of terms to which the query expands for fuzzy matching. Defaults to 50.
	FuzzyMaxExpansions int32 `json:"fuzzy_max_expansions,omitempty"`

	// Number of beginning characters left unchanged for fuzzy matching. Defaults to 0.
	FuzzyPrefixLength int32 `json:"fuzzy_prefix_length,omitempty"`

	// If `true`, edits for fuzzy matching include transpositions of two adjacent characters. Defaults to `false`.
	FuzzyTranspositions *bool `json:"fuzzy_transpositions,omitempty"`

	// If `true`, format-based errors, such as providing a text value for a numeric field are ignored. Defaults to `false`.
	Lenient *bool `json:"lenient,omitempty"`

	// Minimum number of clauses that must match for a document to be returned.
	MinimumShouldMatch string `json:"minimum_should_match,omitempty"`

	// The query expressed in simple query string syntax.
	// Required: true
	Query *string `json:"query"`

	// Suffix appended to quoted text in the query string.
	QuoteFieldSuffix string `json:"quote_field_suffix,omitempty"`
}

SimpleQueryStringQuery A query that uses simple query string syntax. Will ignore invalid syntax.

swagger:model SimpleQueryStringQuery

func (*SimpleQueryStringQuery) ContextValidate ¶ added in v1.13.0

func (m *SimpleQueryStringQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this simple query string query based on context it is used

func (*SimpleQueryStringQuery) MarshalBinary ¶ added in v1.13.0

func (m *SimpleQueryStringQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SimpleQueryStringQuery) UnmarshalBinary ¶ added in v1.13.0

func (m *SimpleQueryStringQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SimpleQueryStringQuery) Validate ¶ added in v1.13.0

func (m *SimpleQueryStringQuery) Validate(formats strfmt.Registry) error

Validate validates this simple query string query

type SimplifiedLineItem ¶ added in v1.5.0

type SimplifiedLineItem struct {

	// Elastic Consumption Unit (ECU) Balance
	// Required: true
	EcuBalance *float64 `json:"ecu_balance"`

	// Original Elastic Consumption Unit (ECU) quantity
	// Required: true
	EcuQuantity *float64 `json:"ecu_quantity"`

	// Expiration of the line item
	// Required: true
	// Format: date-time
	End *strfmt.DateTime `json:"end"`

	// Line Item ID
	// Required: true
	ID *string `json:"id"`

	// Start of the line item's validity
	// Required: true
	// Format: date-time
	Start *strfmt.DateTime `json:"start"`
}

SimplifiedLineItem Line Item

swagger:model SimplifiedLineItem

func (*SimplifiedLineItem) ContextValidate ¶ added in v1.5.0

func (m *SimplifiedLineItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this simplified line item based on context it is used

func (*SimplifiedLineItem) MarshalBinary ¶ added in v1.5.0

func (m *SimplifiedLineItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SimplifiedLineItem) UnmarshalBinary ¶ added in v1.5.0

func (m *SimplifiedLineItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SimplifiedLineItem) Validate ¶ added in v1.5.0

func (m *SimplifiedLineItem) Validate(formats strfmt.Registry) error

Validate validates this simplified line item

type SnapshotDependencies ¶ added in v1.15.0

type SnapshotDependencies struct {

	// Client name that use to access additional resource
	// Required: true
	Resources []*SnapshotDependency `json:"resources"`
}

SnapshotDependencies The additional resource of Elasticsearch cluster.

swagger:model SnapshotDependencies

func (*SnapshotDependencies) ContextValidate ¶ added in v1.15.0

func (m *SnapshotDependencies) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this snapshot dependencies based on the context it is used

func (*SnapshotDependencies) MarshalBinary ¶ added in v1.15.0

func (m *SnapshotDependencies) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotDependencies) UnmarshalBinary ¶ added in v1.15.0

func (m *SnapshotDependencies) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotDependencies) Validate ¶ added in v1.15.0

func (m *SnapshotDependencies) Validate(formats strfmt.Registry) error

Validate validates this snapshot dependencies

type SnapshotDependency ¶ added in v1.15.0

type SnapshotDependency struct {

	// Elasticsearch cluster id
	// Required: true
	ClusterID *string `json:"cluster_id"`

	// Deployment id
	// Required: true
	DeploymentID *string `json:"deployment_id"`
}

SnapshotDependency The additional resource of Elasticsearch cluster.

swagger:model SnapshotDependency

func (*SnapshotDependency) ContextValidate ¶ added in v1.15.0

func (m *SnapshotDependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot dependency based on context it is used

func (*SnapshotDependency) MarshalBinary ¶ added in v1.15.0

func (m *SnapshotDependency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotDependency) UnmarshalBinary ¶ added in v1.15.0

func (m *SnapshotDependency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotDependency) Validate ¶ added in v1.15.0

func (m *SnapshotDependency) Validate(formats strfmt.Registry) error

Validate validates this snapshot dependency

type SnapshotRepositoryConfiguration ¶

type SnapshotRepositoryConfiguration struct {

	// Elasticsearch repository configuration settings JSON. See [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html) for more information
	// Required: true
	Settings interface{} `json:"settings"`

	// Repository type, (Currently supported: 's3')
	// Required: true
	Type *string `json:"type"`
}

SnapshotRepositoryConfiguration The configuration for an Elasticsearch snapshot repository.

swagger:model SnapshotRepositoryConfiguration

func (*SnapshotRepositoryConfiguration) ContextValidate ¶ added in v1.3.0

func (m *SnapshotRepositoryConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot repository configuration based on context it is used

func (*SnapshotRepositoryConfiguration) MarshalBinary ¶

func (m *SnapshotRepositoryConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotRepositoryConfiguration) UnmarshalBinary ¶

func (m *SnapshotRepositoryConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotRepositoryConfiguration) Validate ¶

Validate validates this snapshot repository configuration

type SnapshotStatusInfo ¶

type SnapshotStatusInfo struct {

	// Number of snapshots stored for this cluster
	// Required: true
	Count *int32 `json:"count"`

	// Health status of snapshots for this cluster
	// Required: true
	Healthy *bool `json:"healthy"`

	// The end time of the most recently attempted snapshot
	// Format: date-time
	LatestEndTime strfmt.DateTime `json:"latest_end_time,omitempty"`

	// Status of the latest snapshot attempt, if any exist.
	LatestStatus string `json:"latest_status,omitempty"`

	// Latest snapshot status
	LatestSuccessful *bool `json:"latest_successful,omitempty"`

	// The end time of the most recently successful snapshot
	// Format: date-time
	LatestSuccessfulEndTime strfmt.DateTime `json:"latest_successful_end_time,omitempty"`

	// Indicates whether the cluster has a relatively recent successful snapshot.
	// Required: true
	RecentSuccess *bool `json:"recent_success"`

	// Scheduled time of next snapshot attempt
	// Format: date-time
	ScheduledTime strfmt.DateTime `json:"scheduled_time,omitempty"`
}

SnapshotStatusInfo Information about the snapshot status for the Elasticsearch cluster. For example, the health status.

swagger:model SnapshotStatusInfo

func (*SnapshotStatusInfo) ContextValidate ¶ added in v1.3.0

func (m *SnapshotStatusInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this snapshot status info based on context it is used

func (*SnapshotStatusInfo) MarshalBinary ¶

func (m *SnapshotStatusInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SnapshotStatusInfo) UnmarshalBinary ¶

func (m *SnapshotStatusInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SnapshotStatusInfo) Validate ¶

func (m *SnapshotStatusInfo) Validate(formats strfmt.Registry) error

Validate validates this snapshot status info

type SsoAuthenticationMethodInfo ¶

type SsoAuthenticationMethodInfo struct {

	// The friendly name of the single sign-on method.
	// Required: true
	Name *string `json:"name"`

	// Indicates the protocol of the single sign-on method.
	// Required: true
	// Enum: [saml]
	SsoType *string `json:"sso_type"`

	// The URL to initiate the single sign-on login.
	// Required: true
	URL *string `json:"url"`
}

SsoAuthenticationMethodInfo Specifies the authentication methods that are enabled on the Elasticsearch cluster. NOTE: When all fields are `false`, only the Platform admin and Platform viewer are available.

swagger:model SsoAuthenticationMethodInfo

func (*SsoAuthenticationMethodInfo) ContextValidate ¶ added in v1.3.0

func (m *SsoAuthenticationMethodInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sso authentication method info based on context it is used

func (*SsoAuthenticationMethodInfo) MarshalBinary ¶

func (m *SsoAuthenticationMethodInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SsoAuthenticationMethodInfo) UnmarshalBinary ¶

func (m *SsoAuthenticationMethodInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SsoAuthenticationMethodInfo) Validate ¶

func (m *SsoAuthenticationMethodInfo) Validate(formats strfmt.Registry) error

Validate validates this sso authentication method info

type StackVersionApmConfig ¶

type StackVersionApmConfig struct {

	// List of configuration options that cannot be overridden by user settings
	// Required: true
	Blacklist []string `json:"blacklist"`

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field will soon be removed in favor of having a global capacity constraint for all node types.
	//
	// Capacity constraints for the node type
	CapacityConstraints *StackVersionInstanceCapacityConstraint `json:"capacity_constraints,omitempty"`

	// Node types that are compatible with this one
	CompatibleNodeTypes []string `json:"compatible_node_types"`

	// Docker image for the APM
	// Required: true
	DockerImage *string `json:"docker_image"`

	// Settings that are applied to all nodes of this type
	Settings interface{} `json:"settings,omitempty"`

	// Version of APM
	Version string `json:"version,omitempty"`
}

StackVersionApmConfig The APM Server configuration for an Elastic Stack version.

swagger:model StackVersionApmConfig

func (*StackVersionApmConfig) ContextValidate ¶ added in v1.3.0

func (m *StackVersionApmConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version apm config based on the context it is used

func (*StackVersionApmConfig) MarshalBinary ¶

func (m *StackVersionApmConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionApmConfig) UnmarshalBinary ¶

func (m *StackVersionApmConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionApmConfig) Validate ¶

func (m *StackVersionApmConfig) Validate(formats strfmt.Registry) error

Validate validates this stack version apm config

type StackVersionAppSearchConfig ¶

type StackVersionAppSearchConfig struct {

	// List of configuration options that cannot be overridden by user settings
	// Required: true
	Blacklist []string `json:"blacklist"`

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field will soon be removed in favor of having a global capacity constraint for all node types.
	//
	// Capacity constraints for the node type
	CapacityConstraints *StackVersionInstanceCapacityConstraint `json:"capacity_constraints,omitempty"`

	// Node types that are compatible with this one
	CompatibleNodeTypes []string `json:"compatible_node_types"`

	// Docker image for the AppSearch
	// Required: true
	DockerImage *string `json:"docker_image"`

	// Node types that are supported by this stack version
	NodeTypes []*StackVersionNodeType `json:"node_types"`

	// Settings that are applied to all nodes of this type
	Settings interface{} `json:"settings,omitempty"`

	// Version of AppSearch
	Version string `json:"version,omitempty"`
}

StackVersionAppSearchConfig AppSearch related configuration of an Elastic Stack version

swagger:model StackVersionAppSearchConfig

func (*StackVersionAppSearchConfig) ContextValidate ¶ added in v1.3.0

func (m *StackVersionAppSearchConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version app search config based on the context it is used

func (*StackVersionAppSearchConfig) MarshalBinary ¶

func (m *StackVersionAppSearchConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionAppSearchConfig) UnmarshalBinary ¶

func (m *StackVersionAppSearchConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionAppSearchConfig) Validate ¶

func (m *StackVersionAppSearchConfig) Validate(formats strfmt.Registry) error

Validate validates this stack version app search config

type StackVersionArchiveProcessingError ¶

type StackVersionArchiveProcessingError struct {

	// errors
	// Required: true
	Errors *BasicFailedReply `json:"errors"`

	// Version of the stack (ie directory name in archive root)
	// Required: true
	StackVersion *string `json:"stack_version"`
}

StackVersionArchiveProcessingError Information about the errors that occurred from processing an Elastic Stack version.

swagger:model StackVersionArchiveProcessingError

func (*StackVersionArchiveProcessingError) ContextValidate ¶ added in v1.3.0

func (m *StackVersionArchiveProcessingError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version archive processing error based on the context it is used

func (*StackVersionArchiveProcessingError) MarshalBinary ¶

func (m *StackVersionArchiveProcessingError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionArchiveProcessingError) UnmarshalBinary ¶

func (m *StackVersionArchiveProcessingError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionArchiveProcessingError) Validate ¶

Validate validates this stack version archive processing error

type StackVersionArchiveProcessingResult ¶

type StackVersionArchiveProcessingResult struct {

	// Errors occurred while processing the Elastic Stack pack. Key: stack version, Value: List of errors
	// Required: true
	Errors []*StackVersionArchiveProcessingError `json:"errors"`

	// stacks
	// Required: true
	Stacks []*StackVersionConfig `json:"stacks"`
}

StackVersionArchiveProcessingResult The result from processing an archive of an Elastic Stack version.

swagger:model StackVersionArchiveProcessingResult

func (*StackVersionArchiveProcessingResult) ContextValidate ¶ added in v1.3.0

func (m *StackVersionArchiveProcessingResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version archive processing result based on the context it is used

func (*StackVersionArchiveProcessingResult) MarshalBinary ¶

func (m *StackVersionArchiveProcessingResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionArchiveProcessingResult) UnmarshalBinary ¶

func (m *StackVersionArchiveProcessingResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionArchiveProcessingResult) Validate ¶

Validate validates this stack version archive processing result

type StackVersionConfig ¶

type StackVersionConfig struct {

	// Whether or not this version is accessible by the calling user. This is only relevant in EC (SaaS) and is not sent in ECE.
	Accessible *bool `json:"accessible,omitempty"`

	// apm
	Apm *StackVersionApmConfig `json:"apm,omitempty"`

	// appsearch
	Appsearch *StackVersionAppSearchConfig `json:"appsearch,omitempty"`

	// Identifies that the Elastic Stack version is marked for deletion
	// Read Only: true
	Deleted *bool `json:"deleted,omitempty"`

	// elasticsearch
	// Required: true
	Elasticsearch *StackVersionElasticsearchConfig `json:"elasticsearch"`

	// enterprise search
	EnterpriseSearch *StackVersionEnterpriseSearchConfig `json:"enterprise_search,omitempty"`

	// kibana
	// Required: true
	Kibana *StackVersionKibanaConfig `json:"kibana"`

	// metadata
	Metadata *StackVersionMetadata `json:"metadata,omitempty"`

	// The minimum version recommended to upgrade this version.
	// Example: 6.7.0
	MinUpgradableFrom string `json:"min_upgradable_from,omitempty"`

	// template
	// Required: true
	Template *StackVersionTemplateInfo `json:"template"`

	// Stack Versions that this version can upgrade to
	// Required: true
	UpgradableTo []string `json:"upgradable_to"`

	// Stack version
	// Read Only: true
	Version string `json:"version,omitempty"`

	// Whether or not this version is whitelisted. This is only relevant in EC (SaaS) and is not sent in ECE.
	Whitelisted *bool `json:"whitelisted,omitempty"`
}

StackVersionConfig The details for an Elastic Stack configuration.

swagger:model StackVersionConfig

func (*StackVersionConfig) ContextValidate ¶ added in v1.3.0

func (m *StackVersionConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version config based on the context it is used

func (*StackVersionConfig) MarshalBinary ¶

func (m *StackVersionConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionConfig) UnmarshalBinary ¶

func (m *StackVersionConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionConfig) Validate ¶

func (m *StackVersionConfig) Validate(formats strfmt.Registry) error

Validate validates this stack version config

type StackVersionConfigPost ¶

type StackVersionConfigPost struct {

	// apm
	Apm *StackVersionApmConfig `json:"apm,omitempty"`

	// appsearch
	Appsearch *StackVersionAppSearchConfig `json:"appsearch,omitempty"`

	// elasticsearch
	// Required: true
	Elasticsearch *StackVersionElasticsearchConfig `json:"elasticsearch"`

	// enterprise search
	EnterpriseSearch *StackVersionEnterpriseSearchConfig `json:"enterprise_search,omitempty"`

	// integrations server
	IntegrationsServer *StackVersionIntegrationsServerConfig `json:"integrations_server,omitempty"`

	// kibana
	// Required: true
	Kibana *StackVersionKibanaConfig `json:"kibana"`

	// metadata
	Metadata *StackVersionMetadata `json:"metadata,omitempty"`
}

StackVersionConfigPost The configuration for an Elastic Stack version.

swagger:model StackVersionConfigPost

func (*StackVersionConfigPost) ContextValidate ¶ added in v1.3.0

func (m *StackVersionConfigPost) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version config post based on the context it is used

func (*StackVersionConfigPost) MarshalBinary ¶

func (m *StackVersionConfigPost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionConfigPost) UnmarshalBinary ¶

func (m *StackVersionConfigPost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionConfigPost) Validate ¶

func (m *StackVersionConfigPost) Validate(formats strfmt.Registry) error

Validate validates this stack version config post

type StackVersionConfigs ¶

type StackVersionConfigs struct {

	// stacks
	// Required: true
	Stacks []*StackVersionConfig `json:"stacks"`
}

StackVersionConfigs The details for multiple Elastic Stack configurations.

swagger:model StackVersionConfigs

func (*StackVersionConfigs) ContextValidate ¶ added in v1.3.0

func (m *StackVersionConfigs) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version configs based on the context it is used

func (*StackVersionConfigs) MarshalBinary ¶

func (m *StackVersionConfigs) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionConfigs) UnmarshalBinary ¶

func (m *StackVersionConfigs) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionConfigs) Validate ¶

func (m *StackVersionConfigs) Validate(formats strfmt.Registry) error

Validate validates this stack version configs

type StackVersionElasticsearchConfig ¶

type StackVersionElasticsearchConfig struct {

	// List of configuration options that cannot be overridden by user settings
	// Required: true
	Blacklist []string `json:"blacklist"`

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field will soon be removed in favor of having a global capacity constraint for all node types.
	//
	// Capacity constraints for the node type
	CapacityConstraints *StackVersionInstanceCapacityConstraint `json:"capacity_constraints,omitempty"`

	// Node types that are compatible with this one
	CompatibleNodeTypes []string `json:"compatible_node_types"`

	// List of default plugins
	// Required: true
	DefaultPlugins []string `json:"default_plugins"`

	// Docker image for the Elasticsearch
	// Required: true
	DockerImage *string `json:"docker_image"`

	// Node types that are supported by this stack version
	NodeTypes []*StackVersionNodeType `json:"node_types"`

	// List of available plugins
	// Required: true
	Plugins []string `json:"plugins"`

	// Settings that are applied to all nodes of this type
	Settings interface{} `json:"settings,omitempty"`
}

StackVersionElasticsearchConfig The Elasticsearch configuration for an Elastic Stack version.

swagger:model StackVersionElasticsearchConfig

func (*StackVersionElasticsearchConfig) ContextValidate ¶ added in v1.3.0

func (m *StackVersionElasticsearchConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version elasticsearch config based on the context it is used

func (*StackVersionElasticsearchConfig) MarshalBinary ¶

func (m *StackVersionElasticsearchConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionElasticsearchConfig) UnmarshalBinary ¶

func (m *StackVersionElasticsearchConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionElasticsearchConfig) Validate ¶

Validate validates this stack version elasticsearch config

type StackVersionEnterpriseSearchConfig ¶

type StackVersionEnterpriseSearchConfig struct {

	// List of configuration options that cannot be overridden by user settings
	// Required: true
	Blacklist []string `json:"blacklist"`

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field will soon be removed in favor of having a global capacity constraint for all node types.
	//
	// Capacity constraints for the node type
	CapacityConstraints *StackVersionInstanceCapacityConstraint `json:"capacity_constraints,omitempty"`

	// Node types that are compatible with this one
	CompatibleNodeTypes []string `json:"compatible_node_types"`

	// Docker image for the EnterpriseSearch
	// Required: true
	DockerImage *string `json:"docker_image"`

	// Node types that are supported by this stack version
	NodeTypes []*StackVersionNodeType `json:"node_types"`

	// Settings that are applied to all nodes of this type
	Settings interface{} `json:"settings,omitempty"`

	// Version of EnterpriseSearch
	Version string `json:"version,omitempty"`
}

StackVersionEnterpriseSearchConfig EnterpriseSearch related configuration of an Elastic Stack version

swagger:model StackVersionEnterpriseSearchConfig

func (*StackVersionEnterpriseSearchConfig) ContextValidate ¶ added in v1.3.0

func (m *StackVersionEnterpriseSearchConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version enterprise search config based on the context it is used

func (*StackVersionEnterpriseSearchConfig) MarshalBinary ¶

func (m *StackVersionEnterpriseSearchConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionEnterpriseSearchConfig) UnmarshalBinary ¶

func (m *StackVersionEnterpriseSearchConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionEnterpriseSearchConfig) Validate ¶

Validate validates this stack version enterprise search config

type StackVersionInstanceCapacityConstraint ¶

type StackVersionInstanceCapacityConstraint struct {

	// Max capacity of the instances
	// Required: true
	Max *int32 `json:"max"`

	// Min capacity of the instances
	// Required: true
	Min *int32 `json:"min"`
}

StackVersionInstanceCapacityConstraint The Elasticsearch instance, Kibana instance, APM Server capacity constraints for an Elastic Stack node type.

swagger:model StackVersionInstanceCapacityConstraint

func (*StackVersionInstanceCapacityConstraint) ContextValidate ¶ added in v1.3.0

ContextValidate validates this stack version instance capacity constraint based on context it is used

func (*StackVersionInstanceCapacityConstraint) MarshalBinary ¶

func (m *StackVersionInstanceCapacityConstraint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionInstanceCapacityConstraint) UnmarshalBinary ¶

func (m *StackVersionInstanceCapacityConstraint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionInstanceCapacityConstraint) Validate ¶

Validate validates this stack version instance capacity constraint

type StackVersionIntegrationsServerConfig ¶ added in v1.8.0

type StackVersionIntegrationsServerConfig struct {

	// List of configuration options that cannot be overridden by user settings
	// Required: true
	Blacklist []string `json:"blacklist"`

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field will soon be removed in favor of having a global capacity constraint for all node types.
	//
	// Capacity constraints for the node type
	CapacityConstraints *StackVersionInstanceCapacityConstraint `json:"capacity_constraints,omitempty"`

	// Node types that are compatible with this one
	CompatibleNodeTypes []string `json:"compatible_node_types"`

	// Docker image for the Integrations Server
	// Required: true
	DockerImage *string `json:"docker_image"`

	// Settings that are applied to all nodes of this type
	Settings interface{} `json:"settings,omitempty"`

	// Version of Integrations Server
	Version string `json:"version,omitempty"`
}

StackVersionIntegrationsServerConfig The Integrations Server configuration for an Elastic Stack version.

swagger:model StackVersionIntegrationsServerConfig

func (*StackVersionIntegrationsServerConfig) ContextValidate ¶ added in v1.8.0

func (m *StackVersionIntegrationsServerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version integrations server config based on the context it is used

func (*StackVersionIntegrationsServerConfig) MarshalBinary ¶ added in v1.8.0

func (m *StackVersionIntegrationsServerConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionIntegrationsServerConfig) UnmarshalBinary ¶ added in v1.8.0

func (m *StackVersionIntegrationsServerConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionIntegrationsServerConfig) Validate ¶ added in v1.8.0

Validate validates this stack version integrations server config

type StackVersionKibanaConfig ¶

type StackVersionKibanaConfig struct {

	// List of configuration options that cannot be overridden by user settings
	// Required: true
	Blacklist []string `json:"blacklist"`

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field will soon be removed in favor of having a global capacity constraint for all node types.
	//
	// Capacity constraints for the node type
	CapacityConstraints *StackVersionInstanceCapacityConstraint `json:"capacity_constraints,omitempty"`

	// Node types that are compatible with this one
	CompatibleNodeTypes []string `json:"compatible_node_types"`

	// Docker image for the kibana
	// Required: true
	DockerImage *string `json:"docker_image"`

	// Settings that are applied to all nodes of this type
	Settings interface{} `json:"settings,omitempty"`

	// Version of Kibana
	Version string `json:"version,omitempty"`
}

StackVersionKibanaConfig The Kibana configuration for an Elastic Stack version.

swagger:model StackVersionKibanaConfig

func (*StackVersionKibanaConfig) ContextValidate ¶ added in v1.3.0

func (m *StackVersionKibanaConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version kibana config based on the context it is used

func (*StackVersionKibanaConfig) MarshalBinary ¶

func (m *StackVersionKibanaConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionKibanaConfig) UnmarshalBinary ¶

func (m *StackVersionKibanaConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionKibanaConfig) Validate ¶

func (m *StackVersionKibanaConfig) Validate(formats strfmt.Registry) error

Validate validates this stack version kibana config

type StackVersionMetadata ¶

type StackVersionMetadata struct {

	// The minimum version required for performing a full cluster restart upgrade to this stack version.
	MinIndexCompatibilityVersion string `json:"min_index_compatibility_version,omitempty"`

	// The minimum version of the platform that the stack pack version is compatible with
	MinPlatformVersion string `json:"min_platform_version,omitempty"`

	// The minimum version required for performing a rolling upgrade to this stack version.
	MinWireCompatibilityVersion string `json:"min_wire_compatibility_version,omitempty"`

	// Notes for administrator
	Notes string `json:"notes,omitempty"`

	// Indicates that the stack pack version is not GA and is not supposed to be used in production
	PreRelease *bool `json:"pre_release,omitempty"`

	// The schema version of the stack pack version
	SchemaVersion int32 `json:"schema_version,omitempty"`
}

StackVersionMetadata The metadata for the Elastic Stack.

swagger:model StackVersionMetadata

func (*StackVersionMetadata) ContextValidate ¶ added in v1.3.0

func (m *StackVersionMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stack version metadata based on context it is used

func (*StackVersionMetadata) MarshalBinary ¶

func (m *StackVersionMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionMetadata) UnmarshalBinary ¶

func (m *StackVersionMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionMetadata) Validate ¶

func (m *StackVersionMetadata) Validate(formats strfmt.Registry) error

Validate validates this stack version metadata

type StackVersionNodeType ¶

type StackVersionNodeType struct {

	// > WARNING
	// > This endpoint is deprecated and scheduled to be removed in the next major version. This field will soon be removed in favor of having a global capacity constraint for all node types.
	//
	// Capacity constraints for the node type
	CapacityConstraints *StackVersionInstanceCapacityConstraint `json:"capacity_constraints,omitempty"`

	// Node types that are compatible with this one
	CompatibleNodeTypes []string `json:"compatible_node_types"`

	// Description of the node type
	// Required: true
	Description *string `json:"description"`

	// Flag to specify a node type is mandatory in a cluster's plan
	Mandatory *bool `json:"mandatory,omitempty"`

	// Name of the node type
	// Required: true
	Name *string `json:"name"`

	// Type of the node (master, data, ...)
	// Required: true
	NodeType *string `json:"node_type"`

	// Settings that are applied to all nodes of this type
	Settings interface{} `json:"settings,omitempty"`
}

StackVersionNodeType The configuration for an Elastic Stack node type.

swagger:model StackVersionNodeType

func (*StackVersionNodeType) ContextValidate ¶ added in v1.3.0

func (m *StackVersionNodeType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version node type based on the context it is used

func (*StackVersionNodeType) MarshalBinary ¶

func (m *StackVersionNodeType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionNodeType) UnmarshalBinary ¶

func (m *StackVersionNodeType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionNodeType) Validate ¶

func (m *StackVersionNodeType) Validate(formats strfmt.Registry) error

Validate validates this stack version node type

type StackVersionTemplateFileHash ¶

type StackVersionTemplateFileHash struct {

	// SHA-256 hash of a file
	// Required: true
	Hash *string `json:"hash"`

	// File path relative to template's root
	// Required: true
	Path *string `json:"path"`
}

StackVersionTemplateFileHash The template file hash for an Elastic Stack version.

swagger:model StackVersionTemplateFileHash

func (*StackVersionTemplateFileHash) ContextValidate ¶ added in v1.3.0

func (m *StackVersionTemplateFileHash) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stack version template file hash based on context it is used

func (*StackVersionTemplateFileHash) MarshalBinary ¶

func (m *StackVersionTemplateFileHash) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionTemplateFileHash) UnmarshalBinary ¶

func (m *StackVersionTemplateFileHash) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionTemplateFileHash) Validate ¶

func (m *StackVersionTemplateFileHash) Validate(formats strfmt.Registry) error

Validate validates this stack version template file hash

type StackVersionTemplateInfo ¶

type StackVersionTemplateInfo struct {

	// Relative paths of files with SHA-256 hashes that contains the template
	// Read Only: true
	Hashes []*StackVersionTemplateFileHash `json:"hashes"`

	// Template version
	// Read Only: true
	TemplateVersion string `json:"template_version,omitempty"`
}

StackVersionTemplateInfo The template information for an Elastic Stack version.

swagger:model StackVersionTemplateInfo

func (*StackVersionTemplateInfo) ContextValidate ¶ added in v1.3.0

func (m *StackVersionTemplateInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stack version template info based on the context it is used

func (*StackVersionTemplateInfo) MarshalBinary ¶

func (m *StackVersionTemplateInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackVersionTemplateInfo) UnmarshalBinary ¶

func (m *StackVersionTemplateInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackVersionTemplateInfo) Validate ¶

func (m *StackVersionTemplateInfo) Validate(formats strfmt.Registry) error

Validate validates this stack version template info

type TLSPublicCertChain ¶

type TLSPublicCertChain struct {

	// Whether or not this certificate can be updated using the API
	APIManaged *bool `json:"api_managed,omitempty"`

	// The list of PEM encoded X509 certificates that make up the certificate chain
	// Required: true
	Chain []string `json:"chain"`

	// Details on the validity and lifetime of the certification chain
	ChainStatus *ChainStatus `json:"chain_status,omitempty"`

	// Was this certificate chain user supplied or automatically generated?
	// Required: true
	UserSupplied *bool `json:"user_supplied"`
}

TLSPublicCertChain The public portion of the certificate chain that contains the PEM encoded server certificate, intermediate certificates, and the CA certificate. NOTE: The private key, normally included in certificate chains, is omitted.

swagger:model TlsPublicCertChain

func (*TLSPublicCertChain) ContextValidate ¶ added in v1.3.0

func (m *TLSPublicCertChain) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Tls public cert chain based on the context it is used

func (*TLSPublicCertChain) MarshalBinary ¶

func (m *TLSPublicCertChain) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TLSPublicCertChain) UnmarshalBinary ¶

func (m *TLSPublicCertChain) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TLSPublicCertChain) Validate ¶

func (m *TLSPublicCertChain) Validate(formats strfmt.Registry) error

Validate validates this Tls public cert chain

type TargetElasticsearchCluster ¶

type TargetElasticsearchCluster struct {

	// The Elasticsearch cluster Id
	// Required: true
	ElasticsearchID *string `json:"elasticsearch_id"`

	// A map of application-specific operations (which map to 'operationId's in the Swagger API) to metadata about that operation
	Links map[string]Hyperlink `json:"links,omitempty"`
}

TargetElasticsearchCluster Information about the specified Elasticsearch cluster.

swagger:model TargetElasticsearchCluster

func (*TargetElasticsearchCluster) ContextValidate ¶ added in v1.3.0

func (m *TargetElasticsearchCluster) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this target elasticsearch cluster based on the context it is used

func (*TargetElasticsearchCluster) MarshalBinary ¶

func (m *TargetElasticsearchCluster) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TargetElasticsearchCluster) UnmarshalBinary ¶

func (m *TargetElasticsearchCluster) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TargetElasticsearchCluster) Validate ¶

func (m *TargetElasticsearchCluster) Validate(formats strfmt.Registry) error

Validate validates this target elasticsearch cluster

type TelemetryConfig ¶

type TelemetryConfig struct {

	// Whether ECE telemetry is enabled
	// Required: true
	Enabled *bool `json:"enabled"`
}

TelemetryConfig The current ECE telemetry configuration

swagger:model TelemetryConfig

func (*TelemetryConfig) ContextValidate ¶ added in v1.3.0

func (m *TelemetryConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this telemetry config based on context it is used

func (*TelemetryConfig) MarshalBinary ¶

func (m *TelemetryConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TelemetryConfig) UnmarshalBinary ¶

func (m *TelemetryConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TelemetryConfig) Validate ¶

func (m *TelemetryConfig) Validate(formats strfmt.Registry) error

Validate validates this telemetry config

type TelemetryConfigRequest ¶

type TelemetryConfigRequest struct {

	// Whether to enable ECE telemetry
	// Required: true
	Enabled *bool `json:"enabled"`
}

TelemetryConfigRequest The desired ECE telemetry configuration

swagger:model TelemetryConfigRequest

func (*TelemetryConfigRequest) ContextValidate ¶ added in v1.3.0

func (m *TelemetryConfigRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this telemetry config request based on context it is used

func (*TelemetryConfigRequest) MarshalBinary ¶

func (m *TelemetryConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TelemetryConfigRequest) UnmarshalBinary ¶

func (m *TelemetryConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TelemetryConfigRequest) Validate ¶

func (m *TelemetryConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this telemetry config request

type TermQuery ¶

type TermQuery struct {

	// The exact value to query for.
	// Required: true
	Value *string `json:"value"`
}

TermQuery A query for documents that contain the specified term in the inverted index.

swagger:model TermQuery

func (*TermQuery) ContextValidate ¶ added in v1.3.0

func (m *TermQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this term query based on context it is used

func (*TermQuery) MarshalBinary ¶

func (m *TermQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TermQuery) UnmarshalBinary ¶

func (m *TermQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TermQuery) Validate ¶

func (m *TermQuery) Validate(formats strfmt.Registry) error

Validate validates this term query

type TokenResponse ¶

type TokenResponse struct {

	// The time that the session token will expire
	// Required: true
	// Format: date-time
	SessionExpirationTime *strfmt.DateTime `json:"session_expiration_time"`

	// The authorization bearer token that you use in subsequent requests
	// Required: true
	Token *string `json:"token"`
}

TokenResponse The response value after a login without redirect configured, or after elevated permissions are enabled or disabled.

swagger:model TokenResponse

func (*TokenResponse) ContextValidate ¶ added in v1.3.0

func (m *TokenResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this token response based on context it is used

func (*TokenResponse) MarshalBinary ¶

func (m *TokenResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TokenResponse) UnmarshalBinary ¶

func (m *TokenResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TokenResponse) Validate ¶

func (m *TokenResponse) Validate(formats strfmt.Registry) error

Validate validates this token response

type TopologyElementControl ¶ added in v1.3.0

type TopologyElementControl struct {

	// Absolute minimum size limit for a topology element created with a deployment template. If the value is 0, that means the topology element can be disabled.
	// Required: true
	Min *TopologySize `json:"min"`
}

TopologyElementControl Controls for the topology element. Only used as part of the deployment template. Ignored if included as part of a deployment.

swagger:model TopologyElementControl

func (*TopologyElementControl) ContextValidate ¶ added in v1.3.0

func (m *TopologyElementControl) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this topology element control based on the context it is used

func (*TopologyElementControl) MarshalBinary ¶ added in v1.3.0

func (m *TopologyElementControl) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TopologyElementControl) UnmarshalBinary ¶ added in v1.3.0

func (m *TopologyElementControl) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TopologyElementControl) Validate ¶ added in v1.3.0

func (m *TopologyElementControl) Validate(formats strfmt.Registry) error

Validate validates this topology element control

type TopologySize ¶

type TopologySize struct {

	// Type of resource
	// Required: true
	// Enum: [memory storage]
	Resource *string `json:"resource"`

	// Amount of resource
	// Required: true
	Value *int32 `json:"value"`
}

TopologySize Measured by the amount of a resource. The final cluster size is calculated using multipliers from the topology instance configuration.

swagger:model TopologySize

func (*TopologySize) ContextValidate ¶ added in v1.3.0

func (m *TopologySize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this topology size based on context it is used

func (*TopologySize) MarshalBinary ¶

func (m *TopologySize) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TopologySize) UnmarshalBinary ¶

func (m *TopologySize) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TopologySize) Validate ¶

func (m *TopologySize) Validate(formats strfmt.Registry) error

Validate validates this topology size

type TrafficFilterClaimedLinkIDInfo ¶ added in v1.13.0

type TrafficFilterClaimedLinkIDInfo struct {

	// Resource GUID of the Azure Private Endpoint to allow connections from
	AzureEndpointGUID string `json:"azure_endpoint_guid,omitempty"`

	// Name of the Azure Private Endpoint to allow connections from
	AzureEndpointName string `json:"azure_endpoint_name,omitempty"`

	// Link id. A GCP private service connect ID or AWS VPC endpoint ID
	LinkID string `json:"link_id,omitempty"`

	// The claimed link id can be used only for traffic filter in the specific region
	// Required: true
	Region *string `json:"region"`
}

TrafficFilterClaimedLinkIDInfo traffic filter claimed link Id info

swagger:model TrafficFilterClaimedLinkIdInfo

func (*TrafficFilterClaimedLinkIDInfo) ContextValidate ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIDInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic filter claimed link Id info based on context it is used

func (*TrafficFilterClaimedLinkIDInfo) MarshalBinary ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIDInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterClaimedLinkIDInfo) UnmarshalBinary ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIDInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterClaimedLinkIDInfo) Validate ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIDInfo) Validate(formats strfmt.Registry) error

Validate validates this traffic filter claimed link Id info

type TrafficFilterClaimedLinkIDRequest ¶ added in v1.13.0

type TrafficFilterClaimedLinkIDRequest struct {

	// Resource GUID of the Azure Private Endpoint to allow connections from
	AzureEndpointGUID string `json:"azure_endpoint_guid,omitempty"`

	// Name of the Azure Private Endpoint to allow connections from
	AzureEndpointName string `json:"azure_endpoint_name,omitempty"`

	// Link id. A GCP private service connect ID or AWS VPC endpoint ID
	LinkID string `json:"link_id,omitempty"`

	// The claimed link id can be used only for traffic filter in the specific region
	// Required: true
	Region *string `json:"region"`
}

TrafficFilterClaimedLinkIDRequest The specification for traffic filter claimed link id.

swagger:model TrafficFilterClaimedLinkIdRequest

func (*TrafficFilterClaimedLinkIDRequest) ContextValidate ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIDRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic filter claimed link Id request based on context it is used

func (*TrafficFilterClaimedLinkIDRequest) MarshalBinary ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIDRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterClaimedLinkIDRequest) UnmarshalBinary ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIDRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterClaimedLinkIDRequest) Validate ¶ added in v1.13.0

Validate validates this traffic filter claimed link Id request

type TrafficFilterClaimedLinkIds ¶ added in v1.13.0

type TrafficFilterClaimedLinkIds struct {

	// List of traffic filter claimed link id
	// Required: true
	ClaimedLinkIds []*TrafficFilterClaimedLinkIDInfo `json:"claimed_link_ids"`
}

TrafficFilterClaimedLinkIds The container for a set of traffic filter claimed link id.

swagger:model TrafficFilterClaimedLinkIds

func (*TrafficFilterClaimedLinkIds) ContextValidate ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIds) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic filter claimed link ids based on the context it is used

func (*TrafficFilterClaimedLinkIds) MarshalBinary ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIds) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterClaimedLinkIds) UnmarshalBinary ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIds) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterClaimedLinkIds) Validate ¶ added in v1.13.0

func (m *TrafficFilterClaimedLinkIds) Validate(formats strfmt.Registry) error

Validate validates this traffic filter claimed link ids

type TrafficFilterEgressRule ¶ added in v1.6.0

type TrafficFilterEgressRule struct {

	// A list of target ports for an egress rule
	Ports []int32 `json:"ports"`

	// The target protocol for an egress rule
	// Required: true
	// Enum: [all tcp udp]
	Protocol *string `json:"protocol"`

	// Allowed traffic filter egress target: IP address or CIDR mask
	// Required: true
	Target *string `json:"target"`
}

TrafficFilterEgressRule The rule detail for a traffic filter egress rule.

swagger:model TrafficFilterEgressRule

func (*TrafficFilterEgressRule) ContextValidate ¶ added in v1.6.0

func (m *TrafficFilterEgressRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic filter egress rule based on context it is used

func (*TrafficFilterEgressRule) MarshalBinary ¶ added in v1.6.0

func (m *TrafficFilterEgressRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterEgressRule) UnmarshalBinary ¶ added in v1.6.0

func (m *TrafficFilterEgressRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterEgressRule) Validate ¶ added in v1.6.0

func (m *TrafficFilterEgressRule) Validate(formats strfmt.Registry) error

Validate validates this traffic filter egress rule

type TrafficFilterRule ¶

type TrafficFilterRule struct {

	// Resource GUID of the Azure Private Endpoint to allow connections from
	AzureEndpointGUID string `json:"azure_endpoint_guid,omitempty"`

	// Name of the Azure Private Endpoint to allow connections from
	AzureEndpointName string `json:"azure_endpoint_name,omitempty"`

	// Description of the rule
	Description string `json:"description,omitempty"`

	// An egress traffic filter rule
	EgressRule *TrafficFilterEgressRule `json:"egress_rule,omitempty"`

	// The rule ID
	ID string `json:"id,omitempty"`

	// The remote cluster ID
	RemoteClusterID string `json:"remote_cluster_id,omitempty"`

	// The remote cluster organization ID
	RemoteClusterOrgID string `json:"remote_cluster_org_id,omitempty"`

	// Allowed traffic filter source: IP address, CIDR mask, or VPC endpoint ID
	Source string `json:"source,omitempty"`
}

TrafficFilterRule The container for a traffic filter rule.

swagger:model TrafficFilterRule

func (*TrafficFilterRule) ContextValidate ¶ added in v1.3.0

func (m *TrafficFilterRule) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic filter rule based on the context it is used

func (*TrafficFilterRule) MarshalBinary ¶

func (m *TrafficFilterRule) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterRule) UnmarshalBinary ¶

func (m *TrafficFilterRule) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterRule) Validate ¶

func (m *TrafficFilterRule) Validate(formats strfmt.Registry) error

Validate validates this traffic filter rule

type TrafficFilterRulesetInfo ¶

type TrafficFilterRulesetInfo struct {

	// List of associations. Returned only when include_associations query parameter is true
	Associations []*FilterAssociation `json:"associations"`

	// Description of the ruleset
	Description string `json:"description,omitempty"`

	// The ruleset ID
	// Required: true
	ID *string `json:"id"`

	// Should the ruleset be automatically included in the new deployments
	// Required: true
	IncludeByDefault *bool `json:"include_by_default"`

	// Name of the ruleset
	// Required: true
	Name *string `json:"name"`

	// The ruleset can be attached only to deployments in the specific region
	// Required: true
	Region *string `json:"region"`

	// List of rules
	// Required: true
	Rules []*TrafficFilterRule `json:"rules"`

	// Total number of associations. This includes associations the user does not have permission to view.Returned only when include_associations query parameter is true
	TotalAssociations int32 `json:"total_associations,omitempty"`

	// Type of the ruleset
	// Required: true
	Type *string `json:"type"`
}

TrafficFilterRulesetInfo The container for a set of traffic filter rules.

swagger:model TrafficFilterRulesetInfo

func (*TrafficFilterRulesetInfo) ContextValidate ¶ added in v1.3.0

func (m *TrafficFilterRulesetInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic filter ruleset info based on the context it is used

func (*TrafficFilterRulesetInfo) MarshalBinary ¶

func (m *TrafficFilterRulesetInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterRulesetInfo) UnmarshalBinary ¶

func (m *TrafficFilterRulesetInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterRulesetInfo) Validate ¶

func (m *TrafficFilterRulesetInfo) Validate(formats strfmt.Registry) error

Validate validates this traffic filter ruleset info

type TrafficFilterRulesetRequest ¶

type TrafficFilterRulesetRequest struct {

	// Description of the ruleset
	Description string `json:"description,omitempty"`

	// Should the ruleset be automatically included in the new deployments
	// Required: true
	IncludeByDefault *bool `json:"include_by_default"`

	// Name of the ruleset
	// Required: true
	Name *string `json:"name"`

	// The ruleset can be attached only to deployments in the specific region
	// Required: true
	Region *string `json:"region"`

	// List of rules
	// Required: true
	Rules []*TrafficFilterRule `json:"rules"`

	// Type of the ruleset
	// Required: true
	Type *string `json:"type"`
}

TrafficFilterRulesetRequest The specification for traffic filter ruleset.

swagger:model TrafficFilterRulesetRequest

func (*TrafficFilterRulesetRequest) ContextValidate ¶ added in v1.3.0

func (m *TrafficFilterRulesetRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic filter ruleset request based on the context it is used

func (*TrafficFilterRulesetRequest) MarshalBinary ¶

func (m *TrafficFilterRulesetRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterRulesetRequest) UnmarshalBinary ¶

func (m *TrafficFilterRulesetRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterRulesetRequest) Validate ¶

func (m *TrafficFilterRulesetRequest) Validate(formats strfmt.Registry) error

Validate validates this traffic filter ruleset request

type TrafficFilterRulesetResponse ¶

type TrafficFilterRulesetResponse struct {

	// The new ruleset ID
	// Required: true
	ID *string `json:"id"`
}

TrafficFilterRulesetResponse The response after you create a new ruleset.

swagger:model TrafficFilterRulesetResponse

func (*TrafficFilterRulesetResponse) ContextValidate ¶ added in v1.3.0

func (m *TrafficFilterRulesetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic filter ruleset response based on context it is used

func (*TrafficFilterRulesetResponse) MarshalBinary ¶

func (m *TrafficFilterRulesetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterRulesetResponse) UnmarshalBinary ¶

func (m *TrafficFilterRulesetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterRulesetResponse) Validate ¶

func (m *TrafficFilterRulesetResponse) Validate(formats strfmt.Registry) error

Validate validates this traffic filter ruleset response

type TrafficFilterRulesets ¶

type TrafficFilterRulesets struct {

	// List of traffic filter rules
	// Required: true
	Rulesets []*TrafficFilterRulesetInfo `json:"rulesets"`
}

TrafficFilterRulesets The container for a set of traffic filter rulesets.

swagger:model TrafficFilterRulesets

func (*TrafficFilterRulesets) ContextValidate ¶ added in v1.3.0

func (m *TrafficFilterRulesets) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this traffic filter rulesets based on the context it is used

func (*TrafficFilterRulesets) MarshalBinary ¶

func (m *TrafficFilterRulesets) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterRulesets) UnmarshalBinary ¶

func (m *TrafficFilterRulesets) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterRulesets) Validate ¶

func (m *TrafficFilterRulesets) Validate(formats strfmt.Registry) error

Validate validates this traffic filter rulesets

type TrafficFilterSettings ¶

type TrafficFilterSettings struct {

	// IDs of the traffic filter rulesets
	// Required: true
	Rulesets []string `json:"rulesets"`
}

TrafficFilterSettings The configuration settings for the traffic filter.

swagger:model TrafficFilterSettings

func (*TrafficFilterSettings) ContextValidate ¶ added in v1.3.0

func (m *TrafficFilterSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this traffic filter settings based on context it is used

func (*TrafficFilterSettings) MarshalBinary ¶

func (m *TrafficFilterSettings) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrafficFilterSettings) UnmarshalBinary ¶

func (m *TrafficFilterSettings) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrafficFilterSettings) Validate ¶

func (m *TrafficFilterSettings) Validate(formats strfmt.Registry) error

Validate validates this traffic filter settings

type TransientApmPlanConfiguration ¶

type TransientApmPlanConfiguration struct {

	// plan configuration
	PlanConfiguration *ApmPlanControlConfiguration `json:"plan_configuration,omitempty"`

	// strategy
	Strategy *PlanStrategy `json:"strategy,omitempty"`
}

TransientApmPlanConfiguration Defines the configuration parameters that control how the plan is applied. For example, the Elasticsearch cluster topology and APM Server settings.

swagger:model TransientApmPlanConfiguration

func (*TransientApmPlanConfiguration) ContextValidate ¶ added in v1.3.0

func (m *TransientApmPlanConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transient apm plan configuration based on the context it is used

func (*TransientApmPlanConfiguration) MarshalBinary ¶

func (m *TransientApmPlanConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransientApmPlanConfiguration) UnmarshalBinary ¶

func (m *TransientApmPlanConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransientApmPlanConfiguration) Validate ¶

func (m *TransientApmPlanConfiguration) Validate(formats strfmt.Registry) error

Validate validates this transient apm plan configuration

type TransientAppSearchPlanConfiguration ¶

type TransientAppSearchPlanConfiguration struct {

	// plan configuration
	PlanConfiguration *AppSearchPlanControlConfiguration `json:"plan_configuration,omitempty"`

	// strategy
	Strategy *PlanStrategy `json:"strategy,omitempty"`
}

TransientAppSearchPlanConfiguration Defines configuration parameters that control how the plan (ie consisting of the cluster topology and AppSearch settings) is applied

swagger:model TransientAppSearchPlanConfiguration

func (*TransientAppSearchPlanConfiguration) ContextValidate ¶ added in v1.3.0

func (m *TransientAppSearchPlanConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transient app search plan configuration based on the context it is used

func (*TransientAppSearchPlanConfiguration) MarshalBinary ¶

func (m *TransientAppSearchPlanConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransientAppSearchPlanConfiguration) UnmarshalBinary ¶

func (m *TransientAppSearchPlanConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransientAppSearchPlanConfiguration) Validate ¶

Validate validates this transient app search plan configuration

type TransientElasticsearchPlanConfiguration ¶

type TransientElasticsearchPlanConfiguration struct {

	// If specified, contains transient settings to be applied to an Elasticsearch cluster during changes,default values shown below applied.
	// These can be overridden by specifying them in the map (or null to unset). Additional settings can also be set. Settings will be cleared after the plan has finished. If not specified, no settings will be applied.
	// NOTE: These settings are only explicitly cleared for 5.x+ clusters, they must be hand-reset to their defaults in 2.x- (or a cluster reboot will clear them).
	// - indices.store.throttle.max_bytes_per_sec: 120Mb
	// - indices.recovery.max_bytes_per_sec: 120Mb
	// - cluster.routing.allocation.cluster_concurrent_rebalance: 5
	// - cluster.routing.allocation.node_initial_primaries_recoveries: 5
	// - cluster.routing.allocation.node_concurrent_incoming_recoveries: 5
	// For version 8.1 and later no defaults are provided through this mechanism, but instead hardware dependent settings are provided to each instance.
	ClusterSettingsJSON interface{} `json:"cluster_settings_json,omitempty"`

	// plan configuration
	PlanConfiguration *ElasticsearchPlanControlConfiguration `json:"plan_configuration,omitempty"`

	// The list of resources that will be configured as remote clusters
	RemoteClusters *RemoteResources `json:"remote_clusters,omitempty"`

	// restore snapshot
	RestoreSnapshot *RestoreSnapshotConfiguration `json:"restore_snapshot,omitempty"`

	// strategy
	Strategy *PlanStrategy `json:"strategy,omitempty"`
}

TransientElasticsearchPlanConfiguration Defines the configuration parameters that control how the plan is applied. For example, the Elasticsearch cluster topology and Elasticsearch settings.

swagger:model TransientElasticsearchPlanConfiguration

func (*TransientElasticsearchPlanConfiguration) ContextValidate ¶ added in v1.3.0

ContextValidate validate this transient elasticsearch plan configuration based on the context it is used

func (*TransientElasticsearchPlanConfiguration) MarshalBinary ¶

func (m *TransientElasticsearchPlanConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransientElasticsearchPlanConfiguration) UnmarshalBinary ¶

func (m *TransientElasticsearchPlanConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransientElasticsearchPlanConfiguration) Validate ¶

Validate validates this transient elasticsearch plan configuration

type TransientEnterpriseSearchPlanConfiguration ¶

type TransientEnterpriseSearchPlanConfiguration struct {

	// plan configuration
	PlanConfiguration *EnterpriseSearchPlanControlConfiguration `json:"plan_configuration,omitempty"`

	// strategy
	Strategy *PlanStrategy `json:"strategy,omitempty"`
}

TransientEnterpriseSearchPlanConfiguration Defines configuration parameters that control how the plan (i.e. consisting of the cluster topology and Enterprise Search settings) is applied

swagger:model TransientEnterpriseSearchPlanConfiguration

func (*TransientEnterpriseSearchPlanConfiguration) ContextValidate ¶ added in v1.3.0

ContextValidate validate this transient enterprise search plan configuration based on the context it is used

func (*TransientEnterpriseSearchPlanConfiguration) MarshalBinary ¶

func (m *TransientEnterpriseSearchPlanConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransientEnterpriseSearchPlanConfiguration) UnmarshalBinary ¶

func (m *TransientEnterpriseSearchPlanConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransientEnterpriseSearchPlanConfiguration) Validate ¶

Validate validates this transient enterprise search plan configuration

type TransientIntegrationsServerPlanConfiguration ¶ added in v1.8.0

type TransientIntegrationsServerPlanConfiguration struct {

	// plan configuration
	PlanConfiguration *IntegrationsServerPlanControlConfiguration `json:"plan_configuration,omitempty"`

	// strategy
	Strategy *PlanStrategy `json:"strategy,omitempty"`
}

TransientIntegrationsServerPlanConfiguration Defines the configuration parameters that control how the plan is applied. For example, the Elasticsearch cluster topology and Integrations Server settings.

swagger:model TransientIntegrationsServerPlanConfiguration

func (*TransientIntegrationsServerPlanConfiguration) ContextValidate ¶ added in v1.8.0

ContextValidate validate this transient integrations server plan configuration based on the context it is used

func (*TransientIntegrationsServerPlanConfiguration) MarshalBinary ¶ added in v1.8.0

MarshalBinary interface implementation

func (*TransientIntegrationsServerPlanConfiguration) UnmarshalBinary ¶ added in v1.8.0

UnmarshalBinary interface implementation

func (*TransientIntegrationsServerPlanConfiguration) Validate ¶ added in v1.8.0

Validate validates this transient integrations server plan configuration

type TransientKibanaPlanConfiguration ¶

type TransientKibanaPlanConfiguration struct {

	// plan configuration
	PlanConfiguration *KibanaPlanControlConfiguration `json:"plan_configuration,omitempty"`

	// strategy
	Strategy *PlanStrategy `json:"strategy,omitempty"`
}

TransientKibanaPlanConfiguration Defines the configuration parameters that control how the plan is applied. For example, the Elasticsearch cluster topology and Kibana instance settings.

swagger:model TransientKibanaPlanConfiguration

func (*TransientKibanaPlanConfiguration) ContextValidate ¶ added in v1.3.0

func (m *TransientKibanaPlanConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this transient kibana plan configuration based on the context it is used

func (*TransientKibanaPlanConfiguration) MarshalBinary ¶

func (m *TransientKibanaPlanConfiguration) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransientKibanaPlanConfiguration) UnmarshalBinary ¶

func (m *TransientKibanaPlanConfiguration) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransientKibanaPlanConfiguration) Validate ¶

Validate validates this transient kibana plan configuration

type TrustRelationshipCreateRequest ¶ added in v1.3.0

type TrustRelationshipCreateRequest struct {

	// The ID of the accounts to trust by this relationship.
	AccountIds []string `json:"account_ids"`

	// The installation ID of the environment to trust
	InstallationID string `json:"installation_id,omitempty"`

	// A name for the trust relationship
	// Required: true
	Name *string `json:"name"`

	// The public CA certificate of the environment to trust
	// Required: true
	PublicCaCert *string `json:"public_ca_cert"`

	// If this relationship is trusted by default by all deployments in the current environment.
	TrustByDefault *bool `json:"trust_by_default,omitempty"`
}

TrustRelationshipCreateRequest A request for creating a trust relationship with another environment

swagger:model TrustRelationshipCreateRequest

func (*TrustRelationshipCreateRequest) ContextValidate ¶ added in v1.3.0

func (m *TrustRelationshipCreateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trust relationship create request based on context it is used

func (*TrustRelationshipCreateRequest) MarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipCreateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrustRelationshipCreateRequest) UnmarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipCreateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrustRelationshipCreateRequest) Validate ¶ added in v1.3.0

func (m *TrustRelationshipCreateRequest) Validate(formats strfmt.Registry) error

Validate validates this trust relationship create request

type TrustRelationshipCreateResponse ¶ added in v1.3.0

type TrustRelationshipCreateResponse struct {

	// The ID of the accounts trusted by this relationship.
	AccountIds []string `json:"account_ids"`

	// The id of the trust relationship
	// Required: true
	ID *string `json:"id"`

	// The installation ID of the environment to trust
	InstallationID string `json:"installation_id,omitempty"`

	// If this is the trust relationship for the local environment
	// Required: true
	Local *bool `json:"local"`

	// The name of the trust relationship
	// Required: true
	Name *string `json:"name"`

	// If this relationship is trusted by default by all deployments in the current environment.
	// Required: true
	TrustByDefault *bool `json:"trust_by_default"`
}

TrustRelationshipCreateResponse A response returned from the trust relationship create endpoint

swagger:model TrustRelationshipCreateResponse

func (*TrustRelationshipCreateResponse) ContextValidate ¶ added in v1.3.0

func (m *TrustRelationshipCreateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trust relationship create response based on context it is used

func (*TrustRelationshipCreateResponse) MarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipCreateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrustRelationshipCreateResponse) UnmarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipCreateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrustRelationshipCreateResponse) Validate ¶ added in v1.3.0

Validate validates this trust relationship create response

type TrustRelationshipGetResponse ¶ added in v1.3.0

type TrustRelationshipGetResponse struct {

	// The ID of the accounts trusted by this relationship.
	AccountIds []string `json:"account_ids"`

	// The id of the trust relationship
	// Required: true
	ID *string `json:"id"`

	// The installation ID of the environment to trust
	InstallationID string `json:"installation_id,omitempty"`

	// The most recent time the trust relationship was changed (ISO format in UTC)
	// Required: true
	// Format: date-time
	LastModified *strfmt.DateTime `json:"last_modified"`

	// If this is the trust relationship for the local environment
	// Required: true
	Local *bool `json:"local"`

	// The name of the trust relationship
	// Required: true
	Name *string `json:"name"`

	// The public CA certificate of the environment to trust
	PublicCaCert string `json:"public_ca_cert,omitempty"`

	// If this relationship is trusted by default by all deployments in the current environment.
	// Required: true
	TrustByDefault *bool `json:"trust_by_default"`
}

TrustRelationshipGetResponse trust relationship get response

swagger:model TrustRelationshipGetResponse

func (*TrustRelationshipGetResponse) ContextValidate ¶ added in v1.3.0

func (m *TrustRelationshipGetResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trust relationship get response based on context it is used

func (*TrustRelationshipGetResponse) MarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipGetResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrustRelationshipGetResponse) UnmarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipGetResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrustRelationshipGetResponse) Validate ¶ added in v1.3.0

func (m *TrustRelationshipGetResponse) Validate(formats strfmt.Registry) error

Validate validates this trust relationship get response

type TrustRelationshipUpdateRequest ¶ added in v1.3.0

type TrustRelationshipUpdateRequest struct {

	// The ID of the accounts to trust by this relationship.
	AccountIds []string `json:"account_ids"`

	// The installation ID of the environment to trust
	InstallationID string `json:"installation_id,omitempty"`

	// A name for the trust relationship
	Name string `json:"name,omitempty"`

	// The public CA certificate of the environment to trust
	PublicCaCert string `json:"public_ca_cert,omitempty"`

	// If this relationship is trusted by default by all deployments in the current environment.
	TrustByDefault *bool `json:"trust_by_default,omitempty"`
}

TrustRelationshipUpdateRequest A request for updating a trust relationship with another environment

swagger:model TrustRelationshipUpdateRequest

func (*TrustRelationshipUpdateRequest) ContextValidate ¶ added in v1.3.0

func (m *TrustRelationshipUpdateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trust relationship update request based on context it is used

func (*TrustRelationshipUpdateRequest) MarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrustRelationshipUpdateRequest) UnmarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrustRelationshipUpdateRequest) Validate ¶ added in v1.3.0

func (m *TrustRelationshipUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this trust relationship update request

type TrustRelationshipUpdateResponse ¶ added in v1.3.0

type TrustRelationshipUpdateResponse struct {

	// The ID of the accounts trusted by this relationship.
	AccountIds []string `json:"account_ids"`

	// The id of the trust relationship
	// Required: true
	ID *string `json:"id"`

	// The installation ID of the environment to trust
	InstallationID string `json:"installation_id,omitempty"`

	// If this is the trust relationship for the local environment
	// Required: true
	Local *bool `json:"local"`

	// The name of the trust relationship
	// Required: true
	Name *string `json:"name"`

	// If this relationship is trusted by default by all deployments in the current environment.
	// Required: true
	TrustByDefault *bool `json:"trust_by_default"`
}

TrustRelationshipUpdateResponse A response returned from the trust relationship update endpoint

swagger:model TrustRelationshipUpdateResponse

func (*TrustRelationshipUpdateResponse) ContextValidate ¶ added in v1.3.0

func (m *TrustRelationshipUpdateResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trust relationship update response based on context it is used

func (*TrustRelationshipUpdateResponse) MarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipUpdateResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrustRelationshipUpdateResponse) UnmarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipUpdateResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrustRelationshipUpdateResponse) Validate ¶ added in v1.3.0

Validate validates this trust relationship update response

type TrustRelationshipsListResponse ¶ added in v1.3.0

type TrustRelationshipsListResponse struct {

	// The trust relationships
	// Required: true
	TrustRelationships []*TrustRelationshipGetResponse `json:"trust_relationships"`
}

TrustRelationshipsListResponse Contains a list of trust relationships

swagger:model TrustRelationshipsListResponse

func (*TrustRelationshipsListResponse) ContextValidate ¶ added in v1.3.0

func (m *TrustRelationshipsListResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trust relationships list response based on the context it is used

func (*TrustRelationshipsListResponse) MarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipsListResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrustRelationshipsListResponse) UnmarshalBinary ¶ added in v1.3.0

func (m *TrustRelationshipsListResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrustRelationshipsListResponse) Validate ¶ added in v1.3.0

func (m *TrustRelationshipsListResponse) Validate(formats strfmt.Registry) error

Validate validates this trust relationships list response

type TrustedCertificate ¶ added in v1.10.0

type TrustedCertificate struct {

	// Metadata about the certificate, including fingerprint and expiry date. Generated by the Cloud service and ignored on write.
	// Read Only: true
	Metadata *CertificateMetaData `json:"metadata,omitempty"`

	// The public ca certificate as string in PEM format.
	// Required: true
	Pem *string `json:"pem"`
}

TrustedCertificate An x509 certificate used by a DirectTrustRelationship

swagger:model TrustedCertificate

func (*TrustedCertificate) ContextValidate ¶ added in v1.10.0

func (m *TrustedCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trusted certificate based on the context it is used

func (*TrustedCertificate) MarshalBinary ¶ added in v1.10.0

func (m *TrustedCertificate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TrustedCertificate) UnmarshalBinary ¶ added in v1.10.0

func (m *TrustedCertificate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TrustedCertificate) Validate ¶ added in v1.10.0

func (m *TrustedCertificate) Validate(formats strfmt.Registry) error

Validate validates this trusted certificate

type UnreachableRegionInfo ¶

type UnreachableRegionInfo struct {

	// Identifier of this region
	// Required: true
	RegionID *string `json:"region_id"`
}

UnreachableRegionInfo Information about an unreachable region.

swagger:model UnreachableRegionInfo

func (*UnreachableRegionInfo) ContextValidate ¶ added in v1.3.0

func (m *UnreachableRegionInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unreachable region info based on context it is used

func (*UnreachableRegionInfo) MarshalBinary ¶

func (m *UnreachableRegionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnreachableRegionInfo) UnmarshalBinary ¶

func (m *UnreachableRegionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnreachableRegionInfo) Validate ¶

func (m *UnreachableRegionInfo) Validate(formats strfmt.Registry) error

Validate validates this unreachable region info

type UpdateExtensionRequest ¶

type UpdateExtensionRequest struct {

	// The extension description.
	Description string `json:"description,omitempty"`

	// The URL to download the extension archive.
	DownloadURL string `json:"download_url,omitempty"`

	// The extension type.
	// Required: true
	// Enum: [plugin bundle]
	ExtensionType *string `json:"extension_type"`

	// The extension name.
	// Required: true
	Name *string `json:"name"`

	// The Elasticsearch version.
	// Required: true
	Version *string `json:"version"`
}

UpdateExtensionRequest The body of a request to update an extension

swagger:model UpdateExtensionRequest

func (*UpdateExtensionRequest) ContextValidate ¶ added in v1.3.0

func (m *UpdateExtensionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update extension request based on context it is used

func (*UpdateExtensionRequest) MarshalBinary ¶

func (m *UpdateExtensionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateExtensionRequest) UnmarshalBinary ¶

func (m *UpdateExtensionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateExtensionRequest) Validate ¶

func (m *UpdateExtensionRequest) Validate(formats strfmt.Registry) error

Validate validates this update extension request

type UpdatedTLSChain ¶ added in v1.7.0

type UpdatedTLSChain struct {

	// The service certificate chain that has been updated
	// Required: true
	// Enum: [adminconsole proxy ui internalca]
	Service *string `json:"service"`
}

UpdatedTLSChain Details on the updated TLS chain

swagger:model UpdatedTlsChain

func (*UpdatedTLSChain) ContextValidate ¶ added in v1.7.0

func (m *UpdatedTLSChain) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this updated Tls chain based on context it is used

func (*UpdatedTLSChain) MarshalBinary ¶ added in v1.7.0

func (m *UpdatedTLSChain) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatedTLSChain) UnmarshalBinary ¶ added in v1.7.0

func (m *UpdatedTLSChain) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatedTLSChain) Validate ¶ added in v1.7.0

func (m *UpdatedTLSChain) Validate(formats strfmt.Registry) error

Validate validates this updated Tls chain

type Updates ¶

type Updates struct {

	// Diagnostics for APMs
	Apm []*Apm `json:"apm"`

	// Diagnostics for AppSearches
	Appsearch []*AppSearch `json:"appsearch"`

	// Diagnostics for Elasticsearch clusters
	Elasticsearch []*Elasticsearch `json:"elasticsearch"`

	// Diagnostics for Enterprise Search resources
	EnterpriseSearch []*EnterpriseSearch `json:"enterprise_search"`

	// Diagnostics for Integrations Server
	IntegrationsServer []*IntegrationsServer `json:"integrations_server"`

	// Diagnostics for Kibanas
	Kibana []*Kibana `json:"kibana"`
}

Updates Holds diagnostics for existing resources that might be updated

swagger:model Updates

func (*Updates) ContextValidate ¶ added in v1.3.0

func (m *Updates) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this updates based on the context it is used

func (*Updates) MarshalBinary ¶

func (m *Updates) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Updates) UnmarshalBinary ¶

func (m *Updates) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Updates) Validate ¶

func (m *Updates) Validate(formats strfmt.Registry) error

Validate validates this updates

type UsageStats ¶

type UsageStats struct {

	// The total amount of memory available to your system
	// Required: true
	TotalConnectedMemoryTotal *int32 `json:"total_connected_memory_total"`
}

UsageStats Information about the current usage.

swagger:model UsageStats

func (*UsageStats) ContextValidate ¶ added in v1.3.0

func (m *UsageStats) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this usage stats based on context it is used

func (*UsageStats) MarshalBinary ¶

func (m *UsageStats) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UsageStats) UnmarshalBinary ¶

func (m *UsageStats) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UsageStats) Validate ¶

func (m *UsageStats) Validate(formats strfmt.Registry) error

Validate validates this usage stats

type User ¶

type User struct {

	// True if the user is a built-in read-only user
	Builtin *bool `json:"builtin,omitempty"`

	// The user's optional email address
	Email string `json:"email,omitempty"`

	// The user's optional full name
	FullName string `json:"full_name,omitempty"`

	// The users metadata
	Metadata *UserMetadata `json:"metadata,omitempty"`

	// The user's security information
	// Required: true
	Security *UserSecurity `json:"security"`

	// The user's identifier
	// Required: true
	UserName *string `json:"user_name"`
}

User An API user

swagger:model User

func (*User) ContextValidate ¶ added in v1.3.0

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user based on the context it is used

func (*User) MarshalBinary ¶

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary ¶

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate ¶

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type UserAPIKey ¶

type UserAPIKey struct {

	// The API key ID.
	// Required: true
	APIKeyID *string `json:"api_key_id"`

	// The user ID.
	// Required: true
	UserID *string `json:"user_id"`
}

UserAPIKey The model to specify a user and their API key in a delete request.

swagger:model UserApiKey

func (*UserAPIKey) ContextValidate ¶ added in v1.3.0

func (m *UserAPIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user Api key based on context it is used

func (*UserAPIKey) MarshalBinary ¶

func (m *UserAPIKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserAPIKey) UnmarshalBinary ¶

func (m *UserAPIKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserAPIKey) Validate ¶

func (m *UserAPIKey) Validate(formats strfmt.Registry) error

Validate validates this user Api key

type UserList ¶

type UserList struct {

	// A list of users
	// Required: true
	Users []*User `json:"users"`
}

UserList A collection of users

swagger:model UserList

func (*UserList) ContextValidate ¶ added in v1.3.0

func (m *UserList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user list based on the context it is used

func (*UserList) MarshalBinary ¶

func (m *UserList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserList) UnmarshalBinary ¶

func (m *UserList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserList) Validate ¶

func (m *UserList) Validate(formats strfmt.Registry) error

Validate validates this user list

type UserMetadata ¶

type UserMetadata struct {

	// The date and time when the user was created
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"created_at,omitempty"`

	// The Id of the user that created this user
	CreatedBy string `json:"created_by,omitempty"`

	// The date and time when the user first logged in
	// Format: date-time
	FirstLoginAt strfmt.DateTime `json:"first_login_at,omitempty"`

	// The date and time when the user last logged in
	// Format: date-time
	LastLoginAt strfmt.DateTime `json:"last_login_at,omitempty"`

	// The date and time when the user was last updated
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"`

	// The Id of the user that last updated this user
	UpdatedBy string `json:"updated_by,omitempty"`
}

UserMetadata Metadata for a user

swagger:model UserMetadata

func (*UserMetadata) ContextValidate ¶ added in v1.3.0

func (m *UserMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user metadata based on context it is used

func (*UserMetadata) MarshalBinary ¶

func (m *UserMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserMetadata) UnmarshalBinary ¶

func (m *UserMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserMetadata) Validate ¶

func (m *UserMetadata) Validate(formats strfmt.Registry) error

Validate validates this user metadata

type UserSecurity ¶

type UserSecurity struct {

	// The user's elevated permission status
	ElevatedPermissions *ElevatedPermissions `json:"elevated_permissions,omitempty"`

	// True if the user is enabled
	Enabled *bool `json:"enabled,omitempty"`

	// The user's password. Only used when modifying a user.
	Password string `json:"password,omitempty"`

	// The distinct set of permissions allowed by the user's roles. These correspond to operationId values in the OpenAPI definition.
	Permissions []string `json:"permissions,omitempty"`

	// The set of roles assigned to a user
	Roles []string `json:"roles,omitempty"`

	// The user's security realm
	SecurityRealm *UserSecurityRealm `json:"security_realm,omitempty"`
}

UserSecurity A user's security information

swagger:model UserSecurity

func (*UserSecurity) ContextValidate ¶ added in v1.3.0

func (m *UserSecurity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user security based on the context it is used

func (*UserSecurity) MarshalBinary ¶

func (m *UserSecurity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserSecurity) UnmarshalBinary ¶

func (m *UserSecurity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserSecurity) Validate ¶

func (m *UserSecurity) Validate(formats strfmt.Registry) error

Validate validates this user security

type UserSecurityRealm ¶

type UserSecurityRealm struct {

	// The identifier for the security realm
	// Required: true
	ID *string `json:"id"`

	// The type of the security realm
	// Required: true
	// Enum: [native ldap saml active_directory]
	Type *string `json:"type"`
}

UserSecurityRealm The security realm the user belongs to

swagger:model UserSecurityRealm

func (*UserSecurityRealm) ContextValidate ¶ added in v1.3.0

func (m *UserSecurityRealm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user security realm based on context it is used

func (*UserSecurityRealm) MarshalBinary ¶

func (m *UserSecurityRealm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserSecurityRealm) UnmarshalBinary ¶

func (m *UserSecurityRealm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserSecurityRealm) Validate ¶

func (m *UserSecurityRealm) Validate(formats strfmt.Registry) error

Validate validates this user security realm

type VersionedIDResponse ¶ added in v1.13.0

type VersionedIDResponse struct {

	// The version, if the entity is configuration controlled
	ConfigVersion interface{} `json:"config_version,omitempty"`

	// Returns true if the update resulted in a new version of the configuration controlled entity
	ConfigVersionUpdated interface{} `json:"config_version_updated,omitempty"`

	// The ID
	// Required: true
	ID *string `json:"id"`
}

VersionedIDResponse versioned Id response

swagger:model VersionedIdResponse

func (*VersionedIDResponse) ContextValidate ¶ added in v1.13.0

func (m *VersionedIDResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this versioned Id response based on context it is used

func (*VersionedIDResponse) MarshalBinary ¶ added in v1.13.0

func (m *VersionedIDResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VersionedIDResponse) UnmarshalBinary ¶ added in v1.13.0

func (m *VersionedIDResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VersionedIDResponse) Validate ¶ added in v1.13.0

func (m *VersionedIDResponse) Validate(formats strfmt.Registry) error

Validate validates this versioned Id response

type ZkACL ¶ added in v1.12.0

type ZkACL struct {

	// Identity within provided scheme
	// Required: true
	ID *string `json:"id"`

	// ZK static permissions for admin/all/create/read/write/delete
	// Required: true
	Perms *int32 `json:"perms"`

	// Zookeeper ACL scheme
	// Required: true
	Scheme *string `json:"scheme"`
}

ZkACL Represents a Zookeeper ACL permission

swagger:model ZkAcl

func (*ZkACL) ContextValidate ¶ added in v1.12.0

func (m *ZkACL) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zk Acl based on context it is used

func (*ZkACL) MarshalBinary ¶ added in v1.12.0

func (m *ZkACL) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZkACL) UnmarshalBinary ¶ added in v1.12.0

func (m *ZkACL) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZkACL) Validate ¶ added in v1.12.0

func (m *ZkACL) Validate(formats strfmt.Registry) error

Validate validates this zk Acl

type ZookeeperNodeInfo ¶

type ZookeeperNodeInfo struct {

	// Identifier of this ZooKeeper node
	// Required: true
	ID *string `json:"id"`

	// State of the ZooKeeper node
	// Required: true
	// Enum: [connected suspended reconnected lost read_only]
	State *string `json:"state"`
}

ZookeeperNodeInfo Information about a ZooKeeper node.

swagger:model ZookeeperNodeInfo

func (*ZookeeperNodeInfo) ContextValidate ¶ added in v1.3.0

func (m *ZookeeperNodeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zookeeper node info based on context it is used

func (*ZookeeperNodeInfo) MarshalBinary ¶

func (m *ZookeeperNodeInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZookeeperNodeInfo) UnmarshalBinary ¶

func (m *ZookeeperNodeInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZookeeperNodeInfo) Validate ¶

func (m *ZookeeperNodeInfo) Validate(formats strfmt.Registry) error

Validate validates this zookeeper node info

type ZookeeperSummary ¶

type ZookeeperSummary struct {

	// Information about the nodes
	// Required: true
	States []*ZookeeperNodeInfo `json:"states"`
}

ZookeeperSummary Information about the ZooKeeper state.

swagger:model ZookeeperSummary

func (*ZookeeperSummary) ContextValidate ¶ added in v1.3.0

func (m *ZookeeperSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this zookeeper summary based on the context it is used

func (*ZookeeperSummary) MarshalBinary ¶

func (m *ZookeeperSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZookeeperSummary) UnmarshalBinary ¶

func (m *ZookeeperSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZookeeperSummary) Validate ¶

func (m *ZookeeperSummary) Validate(formats strfmt.Registry) error

Validate validates this zookeeper summary

Source Files ¶

Jump to

Keyboard shortcuts

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