models

package
v0.5.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCoprocessorRequest

type AddCoprocessorRequest struct {

	// The optional coprocessor arguments in comma-separated list.
	CoprocessorArgs string `json:"coprocessorArgs,omitempty"`

	// The coprocessor canonical name. It is unique per database.
	// Required: true
	CoprocessorCanonicalName *string `json:"coprocessorCanonicalName"`

	// The coprocessor location URL. This URL could be an object store path, or it could be an HDFS path if it's a built-in coprocessor.
	CoprocessorLocationURL string `json:"coprocessorLocationUrl,omitempty"`

	// The name or CRN of the database.
	Database string `json:"database,omitempty"`

	// The name or CRN of the environment.
	Environment string `json:"environment,omitempty"`

	// Fully qualified table name.
	// Required: true
	TableName *string `json:"tableName"`
}

AddCoprocessorRequest The request for adding a coprocessor of a table in a database.

swagger:model AddCoprocessorRequest

func (*AddCoprocessorRequest) ContextValidate

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

ContextValidate validates this add coprocessor request based on context it is used

func (*AddCoprocessorRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*AddCoprocessorRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddCoprocessorRequest) Validate

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

Validate validates this add coprocessor request

type AddCoprocessorResponse

type AddCoprocessorResponse struct {

	// The command ID of the submitted request.
	CommandID int64 `json:"commandId,omitempty"`

	// When the coprocessor request was submitted.
	CreationTime int64 `json:"creationTime,omitempty"`

	// The name or CRN of the database.
	Database string `json:"database,omitempty"`

	// The name or CRN of the environment.
	Environment string `json:"environment,omitempty"`

	// The current status when submitting the add coprocessor request.
	Status CoprocessorStatusType `json:"status,omitempty"`

	// Reason for the response if any.
	StatusReason string `json:"statusReason,omitempty"`
}

AddCoprocessorResponse The response for adding a coprocessor of a table in a database.

swagger:model AddCoprocessorResponse

func (*AddCoprocessorResponse) ContextValidate

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

ContextValidate validate this add coprocessor response based on the context it is used

func (*AddCoprocessorResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AddCoprocessorResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AddCoprocessorResponse) Validate

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

Validate validates this add coprocessor response

type AttachedStorageForWorkers

type AttachedStorageForWorkers struct {

	// The number of Volumes. Default is 4. Valid Range: Minimum value of 1, maximum value 8.
	// Maximum: 8
	// Minimum: 1
	VolumeCount int32 `json:"volumeCount,omitempty"`

	// The target size of the volume, in GiB. Default is 2048.
	VolumeSize int32 `json:"volumeSize,omitempty"`

	// The volume type. This parameter can be HDD or SSD. Default is HDD.
	VolumeType VolumeType `json:"volumeType,omitempty"`
}

AttachedStorageForWorkers Attached storage for the worker nodes for AWS, Azure, and GCP cloud providers.

swagger:model AttachedStorageForWorkers

func (*AttachedStorageForWorkers) ContextValidate

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

ContextValidate validate this attached storage for workers based on the context it is used

func (*AttachedStorageForWorkers) MarshalBinary

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

MarshalBinary interface implementation

func (*AttachedStorageForWorkers) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AttachedStorageForWorkers) Validate

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

Validate validates this attached storage for workers

type AutoScalingConfig

type AutoScalingConfig struct {

	// Period of metrics(in seconds) needs to be considered.
	EvaluationPeriod int64 `json:"evaluationPeriod,omitempty"`

	// The maximum number of compute nodes, as per these metrics can be scaled up to.
	MaxComputeNodesForDatabase *int32 `json:"maxComputeNodesForDatabase,omitempty"`

	// The maximum percentage threshold for the CPU utilization of the worker nodes. The CPU utilization is obtained from the Cloudera Manager metric 'cpu_percent' across worker nodes. Set 100 or more to disable the CPU metrics.
	MaxCPUUtilization int32 `json:"maxCpuUtilization,omitempty"`

	// Maximum number of worker nodes as per this metrics can be scaled up to.
	MaxWorkersForDatabase int32 `json:"maxWorkersForDatabase,omitempty"`

	// Maximum number of worker nodes as per this metrics can be scaled up to in one batch.
	MaxWorkersPerBatch int32 `json:"maxWorkersPerBatch,omitempty"`

	// The minimum number of compute nodes as per these metrics can be scaled down to.
	MinComputeNodesForDatabase *int32 `json:"minComputeNodesForDatabase,omitempty"`

	// Minimum number of worker nodes as per this metrics can be scaled down to.
	MinWorkersForDatabase int32 `json:"minWorkersForDatabase,omitempty"`

	// The amount of block cache, in Gigabytes, which the database should have.
	MinimumBlockCacheGb int32 `json:"minimumBlockCacheGb,omitempty"`

	// The target value of the metric a user expect to maintain for the cluster
	TargetedValueForMetric int64 `json:"targetedValueForMetric,omitempty"`
}

AutoScalingConfig A config for Autoscaling

swagger:model AutoScalingConfig

func (*AutoScalingConfig) ContextValidate

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

ContextValidate validates this auto scaling config based on context it is used

func (*AutoScalingConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*AutoScalingConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AutoScalingConfig) Validate

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

Validate validates this auto scaling config

type AutoScalingParameters

type AutoScalingParameters struct {

	// Period of metrics(in seconds) needs to be considered.
	EvaluationPeriod int64 `json:"evaluationPeriod,omitempty"`

	// The maximum number of compute nodes, as per these metrics, that can be scaled up to.
	MaxComputeNodesForDatabase *int32 `json:"maxComputeNodesForDatabase,omitempty"`

	// The maximum percentage threshold for the CPU utilization of the worker nodes. The CPU utilization is obtained from the Cloudera Manager metric 'cpu_percent' across worker nodes. Set 100 or more to disable the CPU metrics.
	MaxCPUUtilization int32 `json:"maxCpuUtilization,omitempty"`

	// The maximum percentage of HDFS utilization for the database before we trigger the scaling.
	MaxHdfsUsagePercentage int32 `json:"maxHdfsUsagePercentage,omitempty"`

	// The maximum number of regions per region server.
	MaxRegionsPerRegionServer int32 `json:"maxRegionsPerRegionServer,omitempty"`

	// Maximum number of worker nodes as per this metrics can be scaled up to.
	MaxWorkersForDatabase int32 `json:"maxWorkersForDatabase,omitempty"`

	// Maximum number of worker nodes as per this metrics can be scaled up to in one batch.
	MaxWorkersPerBatch int32 `json:"maxWorkersPerBatch,omitempty"`

	// The minimum number of compute nodes, as per these metrics, that can be scaled down to.
	MinComputeNodesForDatabase *int32 `json:"minComputeNodesForDatabase,omitempty"`

	// Minimum number of worker nodes as per this metrics can be scaled down to.
	MinWorkersForDatabase int32 `json:"minWorkersForDatabase,omitempty"`

	// The amount of block cache, in Gigabytes, which the database should have.
	MinimumBlockCacheGb int32 `json:"minimumBlockCacheGb,omitempty"`

	// The target value of the metric a user expect to maintain for the cluster
	TargetedValueForMetric int64 `json:"targetedValueForMetric,omitempty"`
}

AutoScalingParameters A Parameters to configure AutoScaling

swagger:model AutoScalingParameters

func (*AutoScalingParameters) ContextValidate

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

ContextValidate validates this auto scaling parameters based on context it is used

func (*AutoScalingParameters) MarshalBinary

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

MarshalBinary interface implementation

func (*AutoScalingParameters) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AutoScalingParameters) Validate

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

Validate validates this auto scaling parameters

type ClientConfigurationDetails

type ClientConfigurationDetails struct {

	// The name of this configuration
	Name string `json:"name,omitempty"`

	// The URL from which to fetch the configuration
	URL string `json:"url,omitempty"`
}

ClientConfigurationDetails A URL which holds information necessary to configure a Connector.

swagger:model ClientConfigurationDetails

func (*ClientConfigurationDetails) ContextValidate

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

ContextValidate validates this client configuration details based on context it is used

func (*ClientConfigurationDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ClientConfigurationDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ClientConfigurationDetails) Validate

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

Validate validates this client configuration details

type CollectDiagnosticsRequest

type CollectDiagnosticsRequest struct {

	// The name of the database
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The end time (in ISO 8601 format) of the period to collection statistics for.
	// Required: true
	EndTime *string `json:"endTime"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// The start time (in ISO 8601 format) of the period to collection statistics for.
	StartTime string `json:"startTime,omitempty"`
}

CollectDiagnosticsRequest Enables starting collection of the diagnostics. This is an asynchronous API and not expected to block.

swagger:model CollectDiagnosticsRequest

func (*CollectDiagnosticsRequest) ContextValidate

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

ContextValidate validates this collect diagnostics request based on context it is used

func (*CollectDiagnosticsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CollectDiagnosticsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CollectDiagnosticsRequest) Validate

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

Validate validates this collect diagnostics request

type CollectDiagnosticsResponse

type CollectDiagnosticsResponse struct {

	// Details of requested diagnostic bundle collection
	DiagnosticsBundle *DiagnosticsBundle `json:"diagnosticsBundle,omitempty"`
}

CollectDiagnosticsResponse Information about diagnostic bundle generation

swagger:model CollectDiagnosticsResponse

func (*CollectDiagnosticsResponse) ContextValidate

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

ContextValidate validate this collect diagnostics response based on the context it is used

func (*CollectDiagnosticsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CollectDiagnosticsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CollectDiagnosticsResponse) Validate

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

Validate validates this collect diagnostics response

type ComponentsVersion

type ComponentsVersion struct {

	// CDP Runtime version.
	Cdp string `json:"cdp,omitempty"`

	// Version of Cloudera Manager.
	Cm string `json:"cm,omitempty"`

	// Operation System name and version.
	Os string `json:"os,omitempty"`

	// Operation System patch level.
	OsPatchLevel string `json:"osPatchLevel,omitempty"`
}

ComponentsVersion Versions of the CDP runtime and Operating system components.

swagger:model ComponentsVersion

func (*ComponentsVersion) ContextValidate

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

ContextValidate validates this components version based on context it is used

func (*ComponentsVersion) MarshalBinary

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

MarshalBinary interface implementation

func (*ComponentsVersion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ComponentsVersion) Validate

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

Validate validates this components version

type ConfigurationType

type ConfigurationType string

ConfigurationType Type of an HBase configuration.

`SERVICE` - Service level configuration. `MASTER` - Configuration for the Master nodes. `REGIONSERVER` - Configuration for the RegionServer nodes. `STRONGMETA` - Configuration for the StrongMeta RegionServer nodes. `GATEWAY` - Configuration for the Gateway nodes.

swagger:model ConfigurationType

const (

	// ConfigurationTypeSERVICE captures enum value "SERVICE"
	ConfigurationTypeSERVICE ConfigurationType = "SERVICE"

	// ConfigurationTypeMASTER captures enum value "MASTER"
	ConfigurationTypeMASTER ConfigurationType = "MASTER"

	// ConfigurationTypeREGIONSERVER captures enum value "REGIONSERVER"
	ConfigurationTypeREGIONSERVER ConfigurationType = "REGIONSERVER"

	// ConfigurationTypeSTRONGMETA captures enum value "STRONGMETA"
	ConfigurationTypeSTRONGMETA ConfigurationType = "STRONGMETA"

	// ConfigurationTypeGATEWAY captures enum value "GATEWAY"
	ConfigurationTypeGATEWAY ConfigurationType = "GATEWAY"
)

func NewConfigurationType

func NewConfigurationType(value ConfigurationType) *ConfigurationType

func (ConfigurationType) ContextValidate

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

ContextValidate validates this configuration type based on context it is used

func (ConfigurationType) Pointer

func (m ConfigurationType) Pointer() *ConfigurationType

Pointer returns a pointer to a freshly-allocated ConfigurationType.

func (ConfigurationType) Validate

func (m ConfigurationType) Validate(formats strfmt.Registry) error

Validate validates this configuration type

type Connector

type Connector struct {

	// Runtime details required to use the connector.
	Configuration *ConnectorConfiguration `json:"configuration,omitempty"`

	// Software dependency information necessary to use the connector.
	Dependencies *DependencyManagement `json:"dependencies,omitempty"`

	// A categorization of this connector.
	Kind Kind `json:"kind,omitempty"`

	// The name of the API/Library this connector represents.
	Name string `json:"name,omitempty"`

	// True if the connector requires Kerberos to authenticate.
	RequiresKerberos bool `json:"requiresKerberos,omitempty"`

	// The version of the connector.
	Version string `json:"version,omitempty"`
}

Connector Information to use to connect to a database via some mechanism.

swagger:model Connector

func (*Connector) ContextValidate

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

ContextValidate validate this connector based on the context it is used

func (*Connector) MarshalBinary

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

MarshalBinary interface implementation

func (*Connector) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Connector) Validate

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

Validate validates this connector

type ConnectorConfiguration

type ConnectorConfiguration struct {

	// Configuration information required to use a Connector
	ClientConfigurationDetails []*ClientConfigurationDetails `json:"clientConfigurationDetails"`

	// A base JDBC URL if the connector is a JDBC driver.
	JdbcURL string `json:"jdbcUrl,omitempty"`

	// A base service URL
	ServiceURL string `json:"serviceUrl,omitempty"`
}

ConnectorConfiguration Runtime details necessary to use a connector.

swagger:model ConnectorConfiguration

func (*ConnectorConfiguration) ContextValidate

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

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

func (*ConnectorConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*ConnectorConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConnectorConfiguration) Validate

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

Validate validates this connector configuration

type Coprocessor

type Coprocessor struct {

	// The last committed command ID of the coprocessor.
	CommandID int64 `json:"commandId,omitempty"`

	// The optional coprocessor arguments in comma-separated list.
	CoprocessorArgs string `json:"coprocessorArgs,omitempty"`

	// The coprocessor canonical name. It is unique per database.
	CoprocessorCanonicalName string `json:"coprocessorCanonicalName,omitempty"`

	// The coprocessor location URL.
	CoprocessorLocationURL string `json:"coprocessorLocationUrl,omitempty"`

	// The current status when listing coprocessors.
	Status CoprocessorStatusType `json:"status,omitempty"`

	// The reason of the current status.
	StatusReason string `json:"statusReason,omitempty"`

	// Fully qualified table name.
	TableName string `json:"tableName,omitempty"`
}

Coprocessor An instance of a coprocessor.

swagger:model Coprocessor

func (*Coprocessor) ContextValidate

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

ContextValidate validate this coprocessor based on the context it is used

func (*Coprocessor) MarshalBinary

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

MarshalBinary interface implementation

func (*Coprocessor) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Coprocessor) Validate

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

Validate validates this coprocessor

type CoprocessorStatusType

type CoprocessorStatusType string

CoprocessorStatusType Coprocessor status type.

`ADD_NEW` - When an add coprocessor request was just requested. `ADD_IN_PROGRESS` - When an add coprocessor request is in progress. `ADD_FAILED` - When an add coprocessor request has failed. `ADD_SUCCESSFUL` - Add coprocessor request has been completed successfully. `REMOVE_NEW` - When a remove coprocessor request was just requested. `REMOVE_IN_PROGRESS` - When a remove coprocessor is in progress. `REMOVE_FAILED` - When a remove coprocessor request has failed. `REMOVE_SUCCESSFUL` - Remove coprocessor request has been completed successfully.

swagger:model CoprocessorStatusType

const (

	// CoprocessorStatusTypeADDNEW captures enum value "ADD_NEW"
	CoprocessorStatusTypeADDNEW CoprocessorStatusType = "ADD_NEW"

	// CoprocessorStatusTypeADDINPROGRESS captures enum value "ADD_IN_PROGRESS"
	CoprocessorStatusTypeADDINPROGRESS CoprocessorStatusType = "ADD_IN_PROGRESS"

	// CoprocessorStatusTypeADDFAILED captures enum value "ADD_FAILED"
	CoprocessorStatusTypeADDFAILED CoprocessorStatusType = "ADD_FAILED"

	// CoprocessorStatusTypeADDSUCCESSFUL captures enum value "ADD_SUCCESSFUL"
	CoprocessorStatusTypeADDSUCCESSFUL CoprocessorStatusType = "ADD_SUCCESSFUL"

	// CoprocessorStatusTypeREMOVENEW captures enum value "REMOVE_NEW"
	CoprocessorStatusTypeREMOVENEW CoprocessorStatusType = "REMOVE_NEW"

	// CoprocessorStatusTypeREMOVEINPROGRESS captures enum value "REMOVE_IN_PROGRESS"
	CoprocessorStatusTypeREMOVEINPROGRESS CoprocessorStatusType = "REMOVE_IN_PROGRESS"

	// CoprocessorStatusTypeREMOVEFAILED captures enum value "REMOVE_FAILED"
	CoprocessorStatusTypeREMOVEFAILED CoprocessorStatusType = "REMOVE_FAILED"

	// CoprocessorStatusTypeREMOVESUCCESSFUL captures enum value "REMOVE_SUCCESSFUL"
	CoprocessorStatusTypeREMOVESUCCESSFUL CoprocessorStatusType = "REMOVE_SUCCESSFUL"

	// CoprocessorStatusTypeUNKNOWN captures enum value "UNKNOWN"
	CoprocessorStatusTypeUNKNOWN CoprocessorStatusType = "UNKNOWN"
)

func NewCoprocessorStatusType

func NewCoprocessorStatusType(value CoprocessorStatusType) *CoprocessorStatusType

func (CoprocessorStatusType) ContextValidate

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

ContextValidate validates this coprocessor status type based on context it is used

func (CoprocessorStatusType) Pointer

Pointer returns a pointer to a freshly-allocated CoprocessorStatusType.

func (CoprocessorStatusType) Validate

func (m CoprocessorStatusType) Validate(formats strfmt.Registry) error

Validate validates this coprocessor status type

type CreateDatabaseRequest

type CreateDatabaseRequest struct {

	// Attached storage for the worker nodes for AWS, Azure, and GCP cloud providers.
	AttachedStorageForWorkers *AttachedStorageForWorkers `json:"attachedStorageForWorkers,omitempty"`

	// Parameters to configure the AutoScaling
	AutoScalingParameters *AutoScalingParameters `json:"autoScalingParameters,omitempty"`

	// Uses provided compute cluster for Kubernetes clusters instead of creating a new one.
	ComputeClusterID string `json:"computeClusterId,omitempty"`

	// Optional tags to apply to launched infrastructure resources
	CustomUserTags []*KeyValuePair `json:"customUserTags"`

	// database name
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// Skips external database creation to avoid DB creation time.
	DisableExternalDB bool `json:"disableExternalDB,omitempty"`

	// Disable OAuth Bearer (JWT) authentication scheme.
	DisableJwtAuth bool `json:"disableJwtAuth,omitempty"`

	// Disable Kerberos authentication.
	DisableKerberos bool `json:"disableKerberos,omitempty"`

	// Disable deployment into multiple availability-zones (the database will be deployed into one subnet).
	DisableMultiAz bool `json:"disableMultiAz,omitempty"`

	// To enable grafana server for the database.
	EnableGrafana bool `json:"enableGrafana,omitempty"`

	// To enable the region canary for the database.
	EnableRegionCanary bool `json:"enableRegionCanary,omitempty"`

	// environment name
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// Image details for the database.
	Image *Image `json:"image,omitempty"`

	// Optional tag to configure the major version of Java on the cluster.
	JavaVersion int32 `json:"javaVersion,omitempty"`

	// Number of edge nodes to be created for the database. A positive, non-zero number is required. The default value is 0.
	NumEdgeNodes int32 `json:"numEdgeNodes,omitempty"`

	// Custom recipes for the database.
	Recipes []*CustomRecipe `json:"recipes"`

	// Optional tags to choose one of the predefined cluster sizes.
	ScaleType ScaleType `json:"scaleType,omitempty"`

	// Provide an optional external storage location for a non-CDP managed bucket as the HBase root.
	StorageLocation string `json:"storageLocation,omitempty"`

	// Optional tag to choose the storage types.
	StorageType StorageType `json:"storageType,omitempty"`

	// Override subnet where the database will be deployed. Disables Multi-AZ if set.
	SubnetID string `json:"subnetId,omitempty"`
}

CreateDatabaseRequest A request to create the database

swagger:model CreateDatabaseRequest

func (*CreateDatabaseRequest) ContextValidate

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

ContextValidate validate this create database request based on the context it is used

func (*CreateDatabaseRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateDatabaseRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateDatabaseRequest) Validate

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

Validate validates this create database request

type CreateDatabaseResponse

type CreateDatabaseResponse struct {

	// Details of the Database created
	// Required: true
	DatabaseDetails *DatabaseDetails `json:"databaseDetails"`
}

CreateDatabaseResponse A response which gives status of the database creation

swagger:model CreateDatabaseResponse

func (*CreateDatabaseResponse) ContextValidate

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

ContextValidate validate this create database response based on the context it is used

func (*CreateDatabaseResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateDatabaseResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateDatabaseResponse) Validate

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

Validate validates this create database response

type CreateSnapshotRequest

type CreateSnapshotRequest struct {

	// The name of the database.
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// Snapshot location URL on object store
	// Required: true
	SnapshotLocation *string `json:"snapshotLocation"`

	// Snapshot name unique per database.
	// Required: true
	SnapshotName *string `json:"snapshotName"`

	// fully qualified table name
	// Required: true
	TableName *string `json:"tableName"`
}

CreateSnapshotRequest Create Snapshot Request.

swagger:model CreateSnapshotRequest

func (*CreateSnapshotRequest) ContextValidate

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

ContextValidate validates this create snapshot request based on context it is used

func (*CreateSnapshotRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateSnapshotRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateSnapshotRequest) Validate

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

Validate validates this create snapshot request

type CreateSnapshotResponse

type CreateSnapshotResponse struct {

	// command id
	CommandID int64 `json:"commandID,omitempty"`

	// When the snapshot was created
	CreationTime int64 `json:"creationTime,omitempty"`

	// The name of the database
	DatabaseName string `json:"databaseName,omitempty"`

	// The name of the environment
	EnvironmentName string `json:"environmentName,omitempty"`

	// Status
	Status SnapshotStatusType `json:"status,omitempty"`

	// Reason for the status
	StatusReason string `json:"statusReason,omitempty"`
}

CreateSnapshotResponse Create Snapshot Response.

swagger:model CreateSnapshotResponse

func (*CreateSnapshotResponse) ContextValidate

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

ContextValidate validate this create snapshot response based on the context it is used

func (*CreateSnapshotResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateSnapshotResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateSnapshotResponse) Validate

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

Validate validates this create snapshot response

type CustomRecipe

type CustomRecipe struct {

	// Instance group to apply the recipe to.
	// Required: true
	InstanceGroup *InstanceGroupType `json:"instanceGroup"`

	// Name of the recipe.
	// Required: true
	Names []string `json:"names"`
}

CustomRecipe Describe a custom recipe.

swagger:model CustomRecipe

func (*CustomRecipe) ContextValidate

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

ContextValidate validate this custom recipe based on the context it is used

func (*CustomRecipe) MarshalBinary

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

MarshalBinary interface implementation

func (*CustomRecipe) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CustomRecipe) Validate

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

Validate validates this custom recipe

type DatabaseDetails

type DatabaseDetails struct {

	// The autoscaling config
	AutoScalingConfig *AutoScalingConfig `json:"autoScalingConfig,omitempty"`

	// Number of active compute nodes in the database (does not include the stopped nodes).
	ComputeNodesCount int32 `json:"computeNodesCount,omitempty"`

	// The creation time of the database
	// Required: true
	// Format: date-time
	CreationDate *strfmt.DateTime `json:"creationDate"`

	// Crn of the creator
	CreatorCrn string `json:"creatorCrn,omitempty"`

	// database crn
	// Required: true
	Crn *string `json:"crn"`

	// The name of the database.
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The number of edge nodes for this database.
	DbEdgeNodeCount int32 `json:"dbEdgeNodeCount,omitempty"`

	// Database version
	DbVersion string `json:"dbVersion,omitempty"`

	// environment crn
	// Required: true
	EnvironmentCrn *string `json:"environmentCrn"`

	// Environment name
	EnvironmentName string `json:"environmentName,omitempty"`

	// Hue endpoint
	HueEndpoint string `json:"hueEndpoint,omitempty"`

	// Internal cluster name for this database
	InternalName string `json:"internalName,omitempty"`

	// The number of strong meta servers for this database. Requires the COD_STRONG_META_SERVERS entitlement.
	NumStrongMetaServers int32 `json:"numStrongMetaServers,omitempty"`

	// The predetermined size of the cluster.
	ScaleType ScaleType `json:"scaleType,omitempty"`

	// Status of the database creation
	Status StatusType `json:"status,omitempty"`

	// The list of storage details for the worker nodes for AWS, Azure, and GCP cloud providers.
	StorageDetailsForWorkers []*StorageDetailsForWorker `json:"storageDetailsForWorkers"`

	// HBase cloud storage location
	StorageLocation string `json:"storageLocation,omitempty"`

	// Total number of compute nodes in the database (including stopped nodes).
	TotalComputeNodesCount int32 `json:"totalComputeNodesCount,omitempty"`
}

DatabaseDetails Details of the databases.

swagger:model DatabaseDetails

func (*DatabaseDetails) ContextValidate

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

ContextValidate validate this database details based on the context it is used

func (*DatabaseDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*DatabaseDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DatabaseDetails) Validate

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

Validate validates this database details

type DeleteSnapshotRequest

type DeleteSnapshotRequest struct {

	// The name of the database
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// Snapshot name
	// Required: true
	SnapshotName *string `json:"snapshotName"`
}

DeleteSnapshotRequest Delete Snapshot Request.

swagger:model DeleteSnapshotRequest

func (*DeleteSnapshotRequest) ContextValidate

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

ContextValidate validates this delete snapshot request based on context it is used

func (*DeleteSnapshotRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteSnapshotRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteSnapshotRequest) Validate

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

Validate validates this delete snapshot request

type DeleteSnapshotResponse

type DeleteSnapshotResponse struct {

	// command id
	CommandID int64 `json:"commandID,omitempty"`

	// The name of the database
	DatabaseName string `json:"databaseName,omitempty"`

	// The name of the environment
	EnvironmentName string `json:"environmentName,omitempty"`

	// Snapshot name
	SnapshotName string `json:"snapshotName,omitempty"`

	// Status
	Status SnapshotStatusType `json:"status,omitempty"`

	// Reason for the status
	StatusReason string `json:"statusReason,omitempty"`
}

DeleteSnapshotResponse Delete Snapshot Response.

swagger:model DeleteSnapshotResponse

func (*DeleteSnapshotResponse) ContextValidate

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

ContextValidate validate this delete snapshot response based on the context it is used

func (*DeleteSnapshotResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteSnapshotResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteSnapshotResponse) Validate

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

Validate validates this delete snapshot response

type DependencyManagement

type DependencyManagement struct {

	// The URL of a Maven repository containing the client JARs.
	MavenURL string `json:"mavenUrl,omitempty"`
}

DependencyManagement Information about dependencies necessary to use a connector.

swagger:model DependencyManagement

func (*DependencyManagement) ContextValidate

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

ContextValidate validates this dependency management based on context it is used

func (*DependencyManagement) MarshalBinary

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

MarshalBinary interface implementation

func (*DependencyManagement) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DependencyManagement) Validate

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

Validate validates this dependency management

type DescribeClientConnectivityRequest

type DescribeClientConnectivityRequest struct {

	// The name of the database
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`
}

DescribeClientConnectivityRequest A request for client API connectivity to a database.

swagger:model DescribeClientConnectivityRequest

func (*DescribeClientConnectivityRequest) ContextValidate

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

ContextValidate validates this describe client connectivity request based on context it is used

func (*DescribeClientConnectivityRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeClientConnectivityRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeClientConnectivityRequest) Validate

Validate validates this describe client connectivity request

type DescribeClientConnectivityResponse

type DescribeClientConnectivityResponse struct {

	// Available connectors for this database
	Connectors []*Connector `json:"connectors"`

	// Kerberos configuration information
	KerberosConfiguration *KerberosConfiguration `json:"kerberosConfiguration,omitempty"`
}

DescribeClientConnectivityResponse A response with client API connectivity to a database.

swagger:model DescribeClientConnectivityResponse

func (*DescribeClientConnectivityResponse) ContextValidate

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

ContextValidate validate this describe client connectivity response based on the context it is used

func (*DescribeClientConnectivityResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeClientConnectivityResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeClientConnectivityResponse) Validate

Validate validates this describe client connectivity response

type DescribeDatabaseRequest

type DescribeDatabaseRequest struct {

	// The name of the database.
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment.
	// Required: true
	EnvironmentName *string `json:"environmentName"`
}

DescribeDatabaseRequest request to get details of the database in a particular environment

swagger:model DescribeDatabaseRequest

func (*DescribeDatabaseRequest) ContextValidate

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

ContextValidate validates this describe database request based on context it is used

func (*DescribeDatabaseRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeDatabaseRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeDatabaseRequest) Validate

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

Validate validates this describe database request

type DescribeDatabaseResponse

type DescribeDatabaseResponse struct {

	// The details of the database.
	DatabaseDetails *DatabaseDetails `json:"databaseDetails,omitempty"`
}

DescribeDatabaseResponse Details of the database.

swagger:model DescribeDatabaseResponse

func (*DescribeDatabaseResponse) ContextValidate

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

ContextValidate validate this describe database response based on the context it is used

func (*DescribeDatabaseResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeDatabaseResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeDatabaseResponse) Validate

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

Validate validates this describe database response

type DescribeHbaseConfigurationRequest

type DescribeHbaseConfigurationRequest struct {

	// The name of the configuration used in Cloudera Manager.
	// Required: true
	ConfigurationName *string `json:"configurationName"`

	// The type of the configuration.
	// Required: true
	ConfigurationType *ConfigurationType `json:"configurationType"`

	// The name or CRN of the database.
	// Required: true
	Database *string `json:"database"`

	// The name or CRN of the environment.
	// Required: true
	Environment *string `json:"environment"`
}

DescribeHbaseConfigurationRequest A request to describe the HBase configuration.

swagger:model DescribeHbaseConfigurationRequest

func (*DescribeHbaseConfigurationRequest) ContextValidate

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

ContextValidate validate this describe hbase configuration request based on the context it is used

func (*DescribeHbaseConfigurationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeHbaseConfigurationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeHbaseConfigurationRequest) Validate

Validate validates this describe hbase configuration request

type DescribeHbaseConfigurationResponse

type DescribeHbaseConfigurationResponse struct {

	// The details of the configuration.
	Configuration *HBaseConfiguration `json:"configuration,omitempty"`
}

DescribeHbaseConfigurationResponse A response to describe the HBase configuration request.

swagger:model DescribeHbaseConfigurationResponse

func (*DescribeHbaseConfigurationResponse) ContextValidate

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

ContextValidate validate this describe hbase configuration response based on the context it is used

func (*DescribeHbaseConfigurationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeHbaseConfigurationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeHbaseConfigurationResponse) Validate

Validate validates this describe hbase configuration response

type DescribeUpgradeDatabaseRequest

type DescribeUpgradeDatabaseRequest struct {

	// The name or CRN of the database.
	// Required: true
	Database *string `json:"database"`

	// The name or CRN of the environment.
	// Required: true
	Environment *string `json:"environment"`
}

DescribeUpgradeDatabaseRequest Request to describe the upgrade availability of CDP Runtime and Operating System for a database.

swagger:model DescribeUpgradeDatabaseRequest

func (*DescribeUpgradeDatabaseRequest) ContextValidate

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

ContextValidate validates this describe upgrade database request based on context it is used

func (*DescribeUpgradeDatabaseRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeUpgradeDatabaseRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeUpgradeDatabaseRequest) Validate

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

Validate validates this describe upgrade database request

type DescribeUpgradeDatabaseResponse

type DescribeUpgradeDatabaseResponse struct {

	// List of available versions for upgrade.
	AvailableComponentVersions []*ComponentsVersion `json:"availableComponentVersions"`

	// Versions of currently deployed CDP runtime and operating system.
	CurrentComponentVersion *ComponentsVersion `json:"currentComponentVersion,omitempty"`

	// Is an OS upgrade available.
	IsOSUpgradeAvailable bool `json:"isOSUpgradeAvailable,omitempty"`

	// Is a CDP Runtime upgrade available.
	IsRuntimeUpgradeAvailable bool `json:"isRuntimeUpgradeAvailable,omitempty"`

	// The reason whether upgrade request is accepted or why it is not possible.
	StatusReason string `json:"statusReason,omitempty"`
}

DescribeUpgradeDatabaseResponse Response with upgrade availability of CDP Runtime and Operating System for a database.

swagger:model DescribeUpgradeDatabaseResponse

func (*DescribeUpgradeDatabaseResponse) ContextValidate

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

ContextValidate validate this describe upgrade database response based on the context it is used

func (*DescribeUpgradeDatabaseResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeUpgradeDatabaseResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeUpgradeDatabaseResponse) Validate

Validate validates this describe upgrade database response

type DiagnosticsBundle

type DiagnosticsBundle struct {

	// The object on which diagnostics was collected
	Crn string `json:"crn,omitempty"`

	// The end time, if the command is finished.
	// Format: date-time
	EndTime strfmt.DateTime `json:"endTime,omitempty"`

	// Identifier for each bundle collection
	ID string `json:"id,omitempty"`

	// If this is a download, a link to the download location of the bundle
	Result string `json:"result,omitempty"`

	// Start time
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// A status of the diagnostics collection process
	Status string `json:"status,omitempty"`
}

DiagnosticsBundle Describe a diagnostics bundle

swagger:model DiagnosticsBundle

func (*DiagnosticsBundle) ContextValidate

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

ContextValidate validates this diagnostics bundle based on context it is used

func (*DiagnosticsBundle) MarshalBinary

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

MarshalBinary interface implementation

func (*DiagnosticsBundle) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DiagnosticsBundle) Validate

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

Validate validates this diagnostics bundle

type DisengageAutoAdminRequest

type DisengageAutoAdminRequest struct {

	// Database name.
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// Environment name.
	// Required: true
	EnvironmentName *string `json:"environmentName"`
}

DisengageAutoAdminRequest A request to disengage the autonomous nature of the database.

swagger:model DisengageAutoAdminRequest

func (*DisengageAutoAdminRequest) ContextValidate

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

ContextValidate validates this disengage auto admin request based on context it is used

func (*DisengageAutoAdminRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DisengageAutoAdminRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DisengageAutoAdminRequest) Validate

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

Validate validates this disengage auto admin request

type DisengageAutoAdminResponse

type DisengageAutoAdminResponse struct {

	// status of disengage-autoadmin request.
	WasDisengaged bool `json:"wasDisengaged,omitempty"`
}

DisengageAutoAdminResponse A response object for disengage-autoadmin request.

swagger:model DisengageAutoAdminResponse

func (*DisengageAutoAdminResponse) ContextValidate

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

ContextValidate validates this disengage auto admin response based on context it is used

func (*DisengageAutoAdminResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DisengageAutoAdminResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DisengageAutoAdminResponse) Validate

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

Validate validates this disengage auto admin response

type DropDatabaseRequest

type DropDatabaseRequest struct {

	// database name
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// environment name
	// Required: true
	EnvironmentName *string `json:"environmentName"`
}

DropDatabaseRequest A request to drop the database

swagger:model DropDatabaseRequest

func (*DropDatabaseRequest) ContextValidate

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

ContextValidate validates this drop database request based on context it is used

func (*DropDatabaseRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DropDatabaseRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DropDatabaseRequest) Validate

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

Validate validates this drop database request

type DropDatabaseResponse

type DropDatabaseResponse struct {

	// status of delete database request
	Status StatusType `json:"status,omitempty"`
}

DropDatabaseResponse A response which gives status of the database deletion

swagger:model DropDatabaseResponse

func (*DropDatabaseResponse) ContextValidate

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

ContextValidate validate this drop database response based on the context it is used

func (*DropDatabaseResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DropDatabaseResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DropDatabaseResponse) Validate

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

Validate validates this drop database response

type EdgeNode

type EdgeNode struct {

	// Fully qualified domain name
	// Required: true
	DiscoveryFQDN *string `json:"discoveryFQDN"`

	// Instance ID.
	// Required: true
	InstanceID *string `json:"instanceId"`

	// Private IP.
	// Required: true
	PrivateIP *string `json:"privateIp"`

	// Public Ip
	// Required: true
	PublicIP *string `json:"publicIp"`
}

EdgeNode An instance of a edge nodes.

swagger:model EdgeNode

func (*EdgeNode) ContextValidate

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

ContextValidate validates this edge node based on context it is used

func (*EdgeNode) MarshalBinary

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

MarshalBinary interface implementation

func (*EdgeNode) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EdgeNode) Validate

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

Validate validates this edge node

type EdgeUpgradeStrategy

type EdgeUpgradeStrategy string

EdgeUpgradeStrategy Edge node upgrade strategy.

`ALL` - Upgrade edge nodes together. `ONE_BY_ONE` - Upgrade edge nodes one by one.

swagger:model EdgeUpgradeStrategy

const (

	// EdgeUpgradeStrategyALL captures enum value "ALL"
	EdgeUpgradeStrategyALL EdgeUpgradeStrategy = "ALL"

	// EdgeUpgradeStrategyONEBYONE captures enum value "ONE_BY_ONE"
	EdgeUpgradeStrategyONEBYONE EdgeUpgradeStrategy = "ONE_BY_ONE"
)

func NewEdgeUpgradeStrategy

func NewEdgeUpgradeStrategy(value EdgeUpgradeStrategy) *EdgeUpgradeStrategy

func (EdgeUpgradeStrategy) ContextValidate

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

ContextValidate validates this edge upgrade strategy based on context it is used

func (EdgeUpgradeStrategy) Pointer

Pointer returns a pointer to a freshly-allocated EdgeUpgradeStrategy.

func (EdgeUpgradeStrategy) Validate

func (m EdgeUpgradeStrategy) Validate(formats strfmt.Registry) error

Validate validates this edge upgrade strategy

type Environment

type Environment struct {

	// The crn of the environment
	// Required: true
	Crn *string `json:"crn"`

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

Environment Details of the environment

swagger:model Environment

func (*Environment) ContextValidate

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

ContextValidate validates this environment based on context it is used

func (*Environment) MarshalBinary

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

MarshalBinary interface implementation

func (*Environment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Environment) Validate

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

Validate validates this environment

type Error

type Error struct {

	// The error code.
	Code string `json:"code,omitempty"`

	// The error message.
	Message string `json:"message,omitempty"`
}

Error An object returned on an error.

swagger:model Error

func (*Error) ContextValidate

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type Event

type Event struct {

	// Map containing event attributes. Set verbose true to get map of event attributes.
	Attributes map[string]string `json:"attributes,omitempty"`

	// UUID linking the alert due to node failure and corresponding autoHealing event.
	AutoHealAlertID string `json:"autoHealAlertId,omitempty"`

	// The event creation timestamp.
	// Format: date-time
	CreateTimestamp strfmt.DateTime `json:"createTimestamp,omitempty"`

	// The expiration timestamp of the event. Set verbose true to get the expiration timestamp.
	// Format: date-time
	ExpiryTimestamp strfmt.DateTime `json:"expiryTimestamp,omitempty"`

	// The event ID.
	// Required: true
	ID *int64 `json:"id"`

	// The last update timestamp of the event. Set verbose true to get last update timestamp.
	// Format: date-time
	LastUpdateTimestamp strfmt.DateTime `json:"lastUpdateTimestamp,omitempty"`

	// Event status.
	// Required: true
	Status *string `json:"status"`

	// Event reason. Set verbose true to get event reason.
	StatusReason string `json:"statusReason,omitempty"`

	// Event type , currently value can be either ALERT_DELIVERY or AUTO_HEALING but more values could be introduced over time.
	// Required: true
	Type *string `json:"type"`
}

Event Details of an event.

swagger:model Event

func (*Event) ContextValidate

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

ContextValidate validates this event based on context it is used

func (*Event) MarshalBinary

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

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Event) Validate

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

Validate validates this event

type EventType

type EventType string

EventType Type of an Event

swagger:model EventType

const (

	// EventTypeALERTDELIVERY captures enum value "ALERT_DELIVERY"
	EventTypeALERTDELIVERY EventType = "ALERT_DELIVERY"

	// EventTypeAUTOHEALING captures enum value "AUTO_HEALING"
	EventTypeAUTOHEALING EventType = "AUTO_HEALING"
)

func NewEventType

func NewEventType(value EventType) *EventType

func (EventType) ContextValidate

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

ContextValidate validates this event type based on context it is used

func (EventType) Pointer

func (m EventType) Pointer() *EventType

Pointer returns a pointer to a freshly-allocated EventType.

func (EventType) Validate

func (m EventType) Validate(formats strfmt.Registry) error

Validate validates this event type

type GroupType

type GroupType string

GroupType Group type for the database nodes.

`GATEWAY` - GATEWAY value of the Group variable. `MASTER` - MASTER value of the Group variable.

swagger:model GroupType

const (

	// GroupTypeGATEWAY captures enum value "GATEWAY"
	GroupTypeGATEWAY GroupType = "GATEWAY"

	// GroupTypeMASTER captures enum value "MASTER"
	GroupTypeMASTER GroupType = "MASTER"
)

func NewGroupType

func NewGroupType(value GroupType) *GroupType

func (GroupType) ContextValidate

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

ContextValidate validates this group type based on context it is used

func (GroupType) Pointer

func (m GroupType) Pointer() *GroupType

Pointer returns a pointer to a freshly-allocated GroupType.

func (GroupType) Validate

func (m GroupType) Validate(formats strfmt.Registry) error

Validate validates this group type

type HBaseConfiguration

type HBaseConfiguration struct {

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

	// The value of the configuration.
	Value string `json:"value,omitempty"`
}

HBaseConfiguration The details of the HBase configuration.

swagger:model HBaseConfiguration

func (*HBaseConfiguration) ContextValidate

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

ContextValidate validates this h base configuration based on context it is used

func (*HBaseConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*HBaseConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HBaseConfiguration) Validate

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

Validate validates this h base configuration

type Image

type Image struct {

	// Catalog name for the image.
	// Required: true
	Catalog *string `json:"catalog"`

	// Image ID for the database.
	// Required: true
	ID *string `json:"id"`
}

Image Details of an Image.

swagger:model Image

func (*Image) ContextValidate

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

ContextValidate validates this image based on context it is used

func (*Image) MarshalBinary

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

MarshalBinary interface implementation

func (*Image) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Image) Validate

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

Validate validates this image

type InstanceGroupType

type InstanceGroupType string

InstanceGroupType InstanceGroup Type.

`WORKER` - WORKER value of the InstanceGroup name. `LEADER` - LEADER value of the InstanceGroup name. `MASTER` - MASTER value of the InstanceGroup name. `GATEWAY` - GATEWAY value of the InstanceGroup name. `STRONGMETA` - STRONGMETA value of the InstanceGroup name. `EDGE` - EDGE value of the InstanceGroup name.

swagger:model InstanceGroupType

const (

	// InstanceGroupTypeWORKER captures enum value "WORKER"
	InstanceGroupTypeWORKER InstanceGroupType = "WORKER"

	// InstanceGroupTypeLEADER captures enum value "LEADER"
	InstanceGroupTypeLEADER InstanceGroupType = "LEADER"

	// InstanceGroupTypeMASTER captures enum value "MASTER"
	InstanceGroupTypeMASTER InstanceGroupType = "MASTER"

	// InstanceGroupTypeGATEWAY captures enum value "GATEWAY"
	InstanceGroupTypeGATEWAY InstanceGroupType = "GATEWAY"

	// InstanceGroupTypeSTRONGMETA captures enum value "STRONGMETA"
	InstanceGroupTypeSTRONGMETA InstanceGroupType = "STRONGMETA"

	// InstanceGroupTypeEDGE captures enum value "EDGE"
	InstanceGroupTypeEDGE InstanceGroupType = "EDGE"
)

func NewInstanceGroupType

func NewInstanceGroupType(value InstanceGroupType) *InstanceGroupType

func (InstanceGroupType) ContextValidate

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

ContextValidate validates this instance group type based on context it is used

func (InstanceGroupType) Pointer

func (m InstanceGroupType) Pointer() *InstanceGroupType

Pointer returns a pointer to a freshly-allocated InstanceGroupType.

func (InstanceGroupType) Validate

func (m InstanceGroupType) Validate(formats strfmt.Registry) error

Validate validates this instance group type

type KerberosConfiguration

type KerberosConfiguration struct {

	// The hostname of the KDC
	KdcHost string `json:"kdcHost,omitempty"`

	// A base64-encoded krb5.conf file
	Krb5Conf string `json:"krb5Conf,omitempty"`

	// The Kerberos realm
	Realm string `json:"realm,omitempty"`
}

KerberosConfiguration Configuration information to enable Kerberos authentication

swagger:model KerberosConfiguration

func (*KerberosConfiguration) ContextValidate

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

ContextValidate validates this kerberos configuration based on context it is used

func (*KerberosConfiguration) MarshalBinary

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

MarshalBinary interface implementation

func (*KerberosConfiguration) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*KerberosConfiguration) Validate

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

Validate validates this kerberos configuration

type KeyValuePair

type KeyValuePair struct {

	// Key
	Key string `json:"key,omitempty"`

	// Value
	Value string `json:"value,omitempty"`
}

KeyValuePair Generic key-value type, because map<> is not supported

swagger:model KeyValuePair

func (*KeyValuePair) ContextValidate

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

ContextValidate validates this key value pair based on context it is used

func (*KeyValuePair) MarshalBinary

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

MarshalBinary interface implementation

func (*KeyValuePair) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*KeyValuePair) Validate

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

Validate validates this key value pair

type Kind

type Kind string

Kind A categorization of a connector to describe how it is broadly used.

`LIBRARY` - A client library or API which user's code invokes `JDBC` - A JDBC driver `SERVICE` - A Service URL `ENVIRONMENT` - An environment to use to run other commands and tools `ODBC` - An ODBC driver

swagger:model Kind

const (

	// KindLIBRARY captures enum value "LIBRARY"
	KindLIBRARY Kind = "LIBRARY"

	// KindJDBC captures enum value "JDBC"
	KindJDBC Kind = "JDBC"

	// KindSERVICE captures enum value "SERVICE"
	KindSERVICE Kind = "SERVICE"

	// KindENVIRONMENT captures enum value "ENVIRONMENT"
	KindENVIRONMENT Kind = "ENVIRONMENT"
)

func NewKind

func NewKind(value Kind) *Kind

func (Kind) ContextValidate

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

ContextValidate validates this kind based on context it is used

func (Kind) Pointer

func (m Kind) Pointer() *Kind

Pointer returns a pointer to a freshly-allocated Kind.

func (Kind) Validate

func (m Kind) Validate(formats strfmt.Registry) error

Validate validates this kind

type ListCoprocessorsRequest

type ListCoprocessorsRequest struct {

	// The command ID for the requested coprocessor.
	CommandID int64 `json:"commandId,omitempty"`

	// The name or CRN of the database.
	Database string `json:"database,omitempty"`

	// The name or CRN of the environment.
	Environment string `json:"environment,omitempty"`

	// Fully qualified table name.
	TableName string `json:"tableName,omitempty"`
}

ListCoprocessorsRequest The request for listing coprocessors in a database.

swagger:model ListCoprocessorsRequest

func (*ListCoprocessorsRequest) ContextValidate

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

ContextValidate validates this list coprocessors request based on context it is used

func (*ListCoprocessorsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListCoprocessorsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListCoprocessorsRequest) Validate

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

Validate validates this list coprocessors request

type ListCoprocessorsResponse

type ListCoprocessorsResponse struct {

	// The list of coprocessors.
	Coprocessors []*Coprocessor `json:"coprocessors"`

	// The name or CRN of the database.
	Database string `json:"database,omitempty"`

	// The name or CRN of the environment.
	Environment string `json:"environment,omitempty"`
}

ListCoprocessorsResponse The response for listing coprocessors in a database.

swagger:model ListCoprocessorsResponse

func (*ListCoprocessorsResponse) ContextValidate

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

ContextValidate validate this list coprocessors response based on the context it is used

func (*ListCoprocessorsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListCoprocessorsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListCoprocessorsResponse) Validate

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

Validate validates this list coprocessors response

type ListDatabasesRequest

type ListDatabasesRequest struct {

	// name of the environment
	EnvironmentName string `json:"environmentName,omitempty"`
}

ListDatabasesRequest A request to list databases

swagger:model ListDatabasesRequest

func (*ListDatabasesRequest) ContextValidate

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

ContextValidate validates this list databases request based on context it is used

func (*ListDatabasesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDatabasesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDatabasesRequest) Validate

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

Validate validates this list databases request

type ListDatabasesResponse

type ListDatabasesResponse struct {

	// The details of the database
	// Required: true
	Databases []*DatabaseDetails `json:"databases"`
}

ListDatabasesResponse A list of databases in response

swagger:model ListDatabasesResponse

func (*ListDatabasesResponse) ContextValidate

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

ContextValidate validate this list databases response based on the context it is used

func (*ListDatabasesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDatabasesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDatabasesResponse) Validate

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

Validate validates this list databases response

type ListDiagnosticsRequest

type ListDiagnosticsRequest struct {

	// The name of the database
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`
}

ListDiagnosticsRequest Lists the in-progress diagnostic bundle operations.

swagger:model ListDiagnosticsRequest

func (*ListDiagnosticsRequest) ContextValidate

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

ContextValidate validates this list diagnostics request based on context it is used

func (*ListDiagnosticsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDiagnosticsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDiagnosticsRequest) Validate

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

Validate validates this list diagnostics request

type ListDiagnosticsResponse

type ListDiagnosticsResponse struct {

	// List of diagnostics operations
	DiagnosticsBundles []*DiagnosticsBundle `json:"diagnosticsBundles"`
}

ListDiagnosticsResponse The list of in-progress diagnostic bundle operations

swagger:model ListDiagnosticsResponse

func (*ListDiagnosticsResponse) ContextValidate

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

ContextValidate validate this list diagnostics response based on the context it is used

func (*ListDiagnosticsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListDiagnosticsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListDiagnosticsResponse) Validate

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

Validate validates this list diagnostics response

type ListEdgeNodesRequest

type ListEdgeNodesRequest struct {

	// The name or CRN of the database.
	// Required: true
	Database *string `json:"database"`

	// The name or CRN of the environment.
	// Required: true
	Environment *string `json:"environment"`
}

ListEdgeNodesRequest The request for listing edge nodes in a database.

swagger:model ListEdgeNodesRequest

func (*ListEdgeNodesRequest) ContextValidate

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

ContextValidate validates this list edge nodes request based on context it is used

func (*ListEdgeNodesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListEdgeNodesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListEdgeNodesRequest) Validate

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

Validate validates this list edge nodes request

type ListEdgeNodesResponse

type ListEdgeNodesResponse struct {

	// The name or CRN of the database.
	// Required: true
	Database *string `json:"database"`

	// The list of edge nodes for a database.
	EdgeNodes []*EdgeNode `json:"edgeNodes"`

	// The name or CRN of the environment.
	// Required: true
	Environment *string `json:"environment"`
}

ListEdgeNodesResponse The response for listing edge nodes in a database.

swagger:model ListEdgeNodesResponse

func (*ListEdgeNodesResponse) ContextValidate

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

ContextValidate validate this list edge nodes response based on the context it is used

func (*ListEdgeNodesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListEdgeNodesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListEdgeNodesResponse) Validate

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

Validate validates this list edge nodes response

type ListEventsRequest

type ListEventsRequest struct {

	// The name or CRN of the database.
	Database string `json:"database,omitempty"`

	// The name or CRN of the environment.
	Environment string `json:"environment,omitempty"`

	// The type of the event.
	EventType EventType `json:"eventType,omitempty"`

	// The beginning timestamp for the search range (inclusive).
	// Format: date-time
	FromTimestamp strfmt.DateTime `json:"fromTimestamp,omitempty"`

	// The page size.
	// Maximum: 20
	// Minimum: 5
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	PageToken string `json:"pageToken,omitempty"`

	// The ending timestamp for the search range (exclusive).
	// Format: date-time
	ToTimestamp strfmt.DateTime `json:"toTimestamp,omitempty"`

	// Verbose flag. Set true to get a detailed response. Default is false.
	Verbose bool `json:"verbose,omitempty"`
}

ListEventsRequest List events request.

swagger:model ListEventsRequest

func (*ListEventsRequest) ContextValidate

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

ContextValidate validate this list events request based on the context it is used

func (*ListEventsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListEventsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListEventsRequest) Validate

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

Validate validates this list events request

type ListEventsResponse

type ListEventsResponse struct {

	// The list of events.
	// Required: true
	Events []*Event `json:"events"`

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextPageToken string `json:"nextPageToken,omitempty"`
}

ListEventsResponse List events response.

swagger:model ListEventsResponse

func (*ListEventsResponse) ContextValidate

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

ContextValidate validate this list events response based on the context it is used

func (*ListEventsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListEventsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListEventsResponse) Validate

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

Validate validates this list events response

type ListRestoreSnapshotsRequest

type ListRestoreSnapshotsRequest struct {

	// Command Id
	CommandID int64 `json:"commandId,omitempty"`

	// The name of the database
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// The starting snapshot restore time to search restore snapshots (inclusive).
	// Format: date-time
	FromRestoreTime strfmt.DateTime `json:"fromRestoreTime,omitempty"`

	// Snapshot Name
	SnapshotName string `json:"snapshotName,omitempty"`

	// The name of the target database
	TargetDatabaseName string `json:"targetDatabaseName,omitempty"`

	// The name of the target environment
	TargetEnvironmentName string `json:"targetEnvironmentName,omitempty"`

	// The ending snapshot restore time to search restore snapshots (inclusive).
	// Format: date-time
	ToRestoreTime strfmt.DateTime `json:"toRestoreTime,omitempty"`
}

ListRestoreSnapshotsRequest Show Restore Snapshots Request.

swagger:model ListRestoreSnapshotsRequest

func (*ListRestoreSnapshotsRequest) ContextValidate

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

ContextValidate validates this list restore snapshots request based on context it is used

func (*ListRestoreSnapshotsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListRestoreSnapshotsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListRestoreSnapshotsRequest) Validate

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

Validate validates this list restore snapshots request

type ListRestoreSnapshotsResponse

type ListRestoreSnapshotsResponse struct {

	// The name of the database.
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment.
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// List of snapshots which have been restored against the database.
	RestoreSnapshots []*RestoreSnapshot `json:"restoreSnapshots"`
}

ListRestoreSnapshotsResponse Show Restore Snapshots Response.

swagger:model ListRestoreSnapshotsResponse

func (*ListRestoreSnapshotsResponse) ContextValidate

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

ContextValidate validate this list restore snapshots response based on the context it is used

func (*ListRestoreSnapshotsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListRestoreSnapshotsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListRestoreSnapshotsResponse) Validate

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

Validate validates this list restore snapshots response

type ListScalingEventsRequest

type ListScalingEventsRequest struct {

	// The name or CRN of the database.
	Database string `json:"database,omitempty"`

	// The name or CRN of the environment.
	Environment string `json:"environment,omitempty"`

	// The beginning timestamp for the search range (inclusive).
	// Format: date-time
	FromTimestamp strfmt.DateTime `json:"fromTimestamp,omitempty"`

	// The page size.
	// Maximum: 20
	// Minimum: 5
	PageSize int32 `json:"pageSize,omitempty"`

	// A token to specify where to start paginating. This is the nextToken from a previously truncated response.
	PageToken string `json:"pageToken,omitempty"`

	// The ending timestamp for the search range (exclusive).
	// Format: date-time
	ToTimestamp strfmt.DateTime `json:"toTimestamp,omitempty"`
}

ListScalingEventsRequest List scaling events request.

swagger:model ListScalingEventsRequest

func (*ListScalingEventsRequest) ContextValidate

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

ContextValidate validates this list scaling events request based on context it is used

func (*ListScalingEventsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListScalingEventsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListScalingEventsRequest) Validate

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

Validate validates this list scaling events request

type ListScalingEventsResponse

type ListScalingEventsResponse struct {

	// The token to use when requesting the next set of results. If not present, there are no additional results.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// The details of the scaling event.
	ScalingEvents []*ScalingEvent `json:"scalingEvents"`
}

ListScalingEventsResponse List scaling events response.

swagger:model ListScalingEventsResponse

func (*ListScalingEventsResponse) ContextValidate

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

ContextValidate validate this list scaling events response based on the context it is used

func (*ListScalingEventsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListScalingEventsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListScalingEventsResponse) Validate

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

Validate validates this list scaling events response

type ListSnapshotsRequest

type ListSnapshotsRequest struct {

	// Command Id
	CommandID int64 `json:"commandId,omitempty"`

	// The name of the database
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// The starting snapshot creation time to search snapshots (inclusive).
	// Format: date-time
	FromCreationTime strfmt.DateTime `json:"fromCreationTime,omitempty"`

	// Table name
	TableName string `json:"tableName,omitempty"`

	// The ending snapshot creation time to search snapshots (inclusive).
	// Format: date-time
	ToCreationTime strfmt.DateTime `json:"toCreationTime,omitempty"`
}

ListSnapshotsRequest Show Snapshots Request.

swagger:model ListSnapshotsRequest

func (*ListSnapshotsRequest) ContextValidate

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

ContextValidate validates this list snapshots request based on context it is used

func (*ListSnapshotsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListSnapshotsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListSnapshotsRequest) Validate

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

Validate validates this list snapshots request

type ListSnapshotsResponse

type ListSnapshotsResponse struct {

	// The name of the database
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// List of snapshots
	Snapshots []*Snapshot `json:"snapshots"`

	// Status
	Status SnapshotStatusType `json:"status,omitempty"`

	// Reason for the status
	StatusReason string `json:"statusReason,omitempty"`
}

ListSnapshotsResponse Show Snapshots Response.

swagger:model ListSnapshotsResponse

func (*ListSnapshotsResponse) ContextValidate

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

ContextValidate validate this list snapshots response based on the context it is used

func (*ListSnapshotsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListSnapshotsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListSnapshotsResponse) Validate

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

Validate validates this list snapshots response

type ListSupportedEnvironmentsRequest

type ListSupportedEnvironmentsRequest interface{}

ListSupportedEnvironmentsRequest A request to get a list of available environments

swagger:model ListSupportedEnvironmentsRequest

type ListSupportedEnvironmentsResponse

type ListSupportedEnvironmentsResponse struct {

	// The crn of the environment
	Environments []*Environment `json:"environments"`
}

ListSupportedEnvironmentsResponse A response which contains a list of available environments

swagger:model ListSupportedEnvironmentsResponse

func (*ListSupportedEnvironmentsResponse) ContextValidate

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

ContextValidate validate this list supported environments response based on the context it is used

func (*ListSupportedEnvironmentsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListSupportedEnvironmentsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListSupportedEnvironmentsResponse) Validate

Validate validates this list supported environments response

type PrepareUpgradeDatabaseRequest added in v0.5.4

type PrepareUpgradeDatabaseRequest struct {

	// The name or CRN of the database.
	// Required: true
	Database *string `json:"database"`

	// The name or CRN of the environment.
	// Required: true
	Environment *string `json:"environment"`

	// ID of a database image to upgrade to.
	ImageID string `json:"imageId,omitempty"`

	// The CDP Runtime version to upgrade to.
	Runtime string `json:"runtime,omitempty"`
}

PrepareUpgradeDatabaseRequest Asynchronous request to prepare cluster upgrade.

swagger:model PrepareUpgradeDatabaseRequest

func (*PrepareUpgradeDatabaseRequest) ContextValidate added in v0.5.4

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

ContextValidate validates this prepare upgrade database request based on context it is used

func (*PrepareUpgradeDatabaseRequest) MarshalBinary added in v0.5.4

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

MarshalBinary interface implementation

func (*PrepareUpgradeDatabaseRequest) UnmarshalBinary added in v0.5.4

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

UnmarshalBinary interface implementation

func (*PrepareUpgradeDatabaseRequest) Validate added in v0.5.4

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

Validate validates this prepare upgrade database request

type PrepareUpgradeDatabaseResponse added in v0.5.4

type PrepareUpgradeDatabaseResponse struct {

	// The reason whether upgrade request is accepted or why it is not possible.
	StatusReason string `json:"statusReason,omitempty"`
}

PrepareUpgradeDatabaseResponse Response with the reason whether prepare upgrade request is accepted or why it is not possible.

swagger:model PrepareUpgradeDatabaseResponse

func (*PrepareUpgradeDatabaseResponse) ContextValidate added in v0.5.4

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

ContextValidate validates this prepare upgrade database response based on context it is used

func (*PrepareUpgradeDatabaseResponse) MarshalBinary added in v0.5.4

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

MarshalBinary interface implementation

func (*PrepareUpgradeDatabaseResponse) UnmarshalBinary added in v0.5.4

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

UnmarshalBinary interface implementation

func (*PrepareUpgradeDatabaseResponse) Validate added in v0.5.4

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

Validate validates this prepare upgrade database response

type RemoveCoprocessorRequest

type RemoveCoprocessorRequest struct {

	// The coprocessor canonical name. It is unique per database.
	// Required: true
	CoprocessorCanonicalName *string `json:"coprocessorCanonicalName"`

	// The name or CRN of the database.
	Database string `json:"database,omitempty"`

	// The name or CRN of the environment.
	Environment string `json:"environment,omitempty"`

	// Forcefully remove the coprocessor.
	Force bool `json:"force,omitempty"`

	// Fully qualified table name.
	// Required: true
	TableName *string `json:"tableName"`
}

RemoveCoprocessorRequest The request for removing a coprocessor of a table in a database.

swagger:model RemoveCoprocessorRequest

func (*RemoveCoprocessorRequest) ContextValidate

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

ContextValidate validates this remove coprocessor request based on context it is used

func (*RemoveCoprocessorRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoveCoprocessorRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoveCoprocessorRequest) Validate

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

Validate validates this remove coprocessor request

type RemoveCoprocessorResponse

type RemoveCoprocessorResponse struct {

	// The command ID of the submitted request.
	CommandID int64 `json:"commandId,omitempty"`

	// The current status when submitting the remove coprocessor request.
	Status CoprocessorStatusType `json:"status,omitempty"`
}

RemoveCoprocessorResponse The response for removing a coprocessor of a table in a database.

swagger:model RemoveCoprocessorResponse

func (*RemoveCoprocessorResponse) ContextValidate

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

ContextValidate validate this remove coprocessor response based on the context it is used

func (*RemoveCoprocessorResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RemoveCoprocessorResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemoveCoprocessorResponse) Validate

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

Validate validates this remove coprocessor response

type RestoreSnapshot

type RestoreSnapshot struct {

	// Command id
	CommandID int64 `json:"commandID,omitempty"`

	// Reason for the failure in case of restore snapshot failed.
	FailureReason string `json:"failureReason,omitempty"`

	// When the snapshot restore was started
	RestoreTime int64 `json:"restoreTime,omitempty"`

	// The snapshot name
	SnapshotName string `json:"snapshotName,omitempty"`

	// Status
	Status SnapshotStatusType `json:"status,omitempty"`

	// The name of the target database
	TargetDatabaseName string `json:"targetDatabaseName,omitempty"`

	// The name of the target environment
	TargetEnvironmentName string `json:"targetEnvironmentName,omitempty"`
}

RestoreSnapshot An instance of restoring a snapshot to a database.

swagger:model RestoreSnapshot

func (*RestoreSnapshot) ContextValidate

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

ContextValidate validate this restore snapshot based on the context it is used

func (*RestoreSnapshot) MarshalBinary

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

MarshalBinary interface implementation

func (*RestoreSnapshot) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestoreSnapshot) Validate

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

Validate validates this restore snapshot

type RestoreSnapshotRequest

type RestoreSnapshotRequest struct {

	// The name of the original database
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the original environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// Snapshot name
	// Required: true
	SnapshotName *string `json:"snapshotName"`

	// The name of the target database where the snapshot should be restored
	// Required: true
	TargetDatabaseName *string `json:"targetDatabaseName"`

	// The name of the target environment where the snapshot should be restored
	// Required: true
	TargetEnvironmentName *string `json:"targetEnvironmentName"`
}

RestoreSnapshotRequest Restore Snapshot Request.

swagger:model RestoreSnapshotRequest

func (*RestoreSnapshotRequest) ContextValidate

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

ContextValidate validates this restore snapshot request based on context it is used

func (*RestoreSnapshotRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*RestoreSnapshotRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestoreSnapshotRequest) Validate

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

Validate validates this restore snapshot request

type RestoreSnapshotResponse

type RestoreSnapshotResponse struct {

	// Command id
	CommandID int64 `json:"commandID,omitempty"`

	// The name of the database
	DatabaseName string `json:"databaseName,omitempty"`

	// The name of the environment
	EnvironmentName string `json:"environmentName,omitempty"`

	// When the snapshot restore was started
	RestoreTime int64 `json:"restoreTime,omitempty"`

	// The snapshot name
	SnapshotName string `json:"snapshotName,omitempty"`

	// Status
	Status SnapshotStatusType `json:"status,omitempty"`

	// Reason for the status
	StatusReason string `json:"statusReason,omitempty"`

	// The name of the target database
	TargetDatabaseName string `json:"targetDatabaseName,omitempty"`

	// The name of the target environment
	TargetEnvironmentName string `json:"targetEnvironmentName,omitempty"`
}

RestoreSnapshotResponse Restore Snapshot Response.

swagger:model RestoreSnapshotResponse

func (*RestoreSnapshotResponse) ContextValidate

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

ContextValidate validate this restore snapshot response based on the context it is used

func (*RestoreSnapshotResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RestoreSnapshotResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestoreSnapshotResponse) Validate

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

Validate validates this restore snapshot response

type ScaleType

type ScaleType string

ScaleType Scale type.

`MICRO` - Create a 2-node cluster (1 gateway and 1 worker) with high availability disabled. `LIGHT` - Create a multi-node cluster with a light master and gateway instance type. `HEAVY` - Create a multi-node cluster with heavy master and gateway instance type.

swagger:model ScaleType

const (

	// ScaleTypeMICRO captures enum value "MICRO"
	ScaleTypeMICRO ScaleType = "MICRO"

	// ScaleTypeLIGHT captures enum value "LIGHT"
	ScaleTypeLIGHT ScaleType = "LIGHT"

	// ScaleTypeHEAVY captures enum value "HEAVY"
	ScaleTypeHEAVY ScaleType = "HEAVY"
)

func NewScaleType

func NewScaleType(value ScaleType) *ScaleType

func (ScaleType) ContextValidate

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

ContextValidate validates this scale type based on context it is used

func (ScaleType) Pointer

func (m ScaleType) Pointer() *ScaleType

Pointer returns a pointer to a freshly-allocated ScaleType.

func (ScaleType) Validate

func (m ScaleType) Validate(formats strfmt.Registry) error

Validate validates this scale type

type ScalingEvent

type ScalingEvent struct {

	// The time of the event creation.
	// Format: date-time
	EventTimestamp strfmt.DateTime `json:"eventTimestamp,omitempty"`

	// JSON of the metric name and value that triggered the scaling event.
	Metric string `json:"metric,omitempty"`

	// Node count after scaling event.
	NodeCountAfter int32 `json:"nodeCountAfter,omitempty"`

	// Node count before scaling event.
	NodeCountBefore int32 `json:"nodeCountBefore,omitempty"`

	// Reason for the scaling event in a readable format.
	Reason string `json:"reason,omitempty"`

	// Scaling event status.
	Status string `json:"status,omitempty"`
}

ScalingEvent Details of a scaling event.

swagger:model ScalingEvent

func (*ScalingEvent) ContextValidate

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

ContextValidate validates this scaling event based on context it is used

func (*ScalingEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*ScalingEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ScalingEvent) Validate

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

Validate validates this scaling event

type Snapshot

type Snapshot struct {

	// Command id
	CommandID int64 `json:"commandID,omitempty"`

	// Creation Time
	CreationTime int64 `json:"creationTime,omitempty"`

	// Reason for the failure in case of snapshot creation failed.
	FailureReason string `json:"failureReason,omitempty"`

	// Snapshot location
	SnapshotLocation string `json:"snapshotLocation,omitempty"`

	// Snapshot Name
	// Required: true
	SnapshotName *string `json:"snapshotName"`

	// Status
	Status SnapshotStatusType `json:"status,omitempty"`

	// Table Name
	// Required: true
	TableName *string `json:"tableName"`
}

Snapshot An instance of a table's snapshot.

swagger:model Snapshot

func (*Snapshot) ContextValidate

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

ContextValidate validate this snapshot based on the context it is used

func (*Snapshot) MarshalBinary

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

MarshalBinary interface implementation

func (*Snapshot) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Snapshot) Validate

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

Validate validates this snapshot

type SnapshotStatusType

type SnapshotStatusType string

SnapshotStatusType Snapshot Status Type.

`NEW` - Expected when a snapshot request was just requested. `IN_PROGRESS` - When a snapshot request is in progress. `FAILED` - If for any reason a snapshot request has failed. `SUCCESSFUL` - A snapshot request has completed successfully. `LOCKED` - A snapshot exists, but can't be restored or read. `DELETED` - A snapshot existed but was just deleted. `CORRUPT` - A snapshot got corrupted. `DELETING` - A snapshot is being deleted.

swagger:model SnapshotStatusType

const (

	// SnapshotStatusTypeNEW captures enum value "NEW"
	SnapshotStatusTypeNEW SnapshotStatusType = "NEW"

	// SnapshotStatusTypeINPROGRESS captures enum value "IN_PROGRESS"
	SnapshotStatusTypeINPROGRESS SnapshotStatusType = "IN_PROGRESS"

	// SnapshotStatusTypeFAILED captures enum value "FAILED"
	SnapshotStatusTypeFAILED SnapshotStatusType = "FAILED"

	// SnapshotStatusTypeSUCCESSFUL captures enum value "SUCCESSFUL"
	SnapshotStatusTypeSUCCESSFUL SnapshotStatusType = "SUCCESSFUL"

	// SnapshotStatusTypeLOCKED captures enum value "LOCKED"
	SnapshotStatusTypeLOCKED SnapshotStatusType = "LOCKED"

	// SnapshotStatusTypeDELETED captures enum value "DELETED"
	SnapshotStatusTypeDELETED SnapshotStatusType = "DELETED"

	// SnapshotStatusTypeCORRUPT captures enum value "CORRUPT"
	SnapshotStatusTypeCORRUPT SnapshotStatusType = "CORRUPT"

	// SnapshotStatusTypeUNKNOWN captures enum value "UNKNOWN"
	SnapshotStatusTypeUNKNOWN SnapshotStatusType = "UNKNOWN"
)

func NewSnapshotStatusType

func NewSnapshotStatusType(value SnapshotStatusType) *SnapshotStatusType

func (SnapshotStatusType) ContextValidate

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

ContextValidate validates this snapshot status type based on context it is used

func (SnapshotStatusType) Pointer

Pointer returns a pointer to a freshly-allocated SnapshotStatusType.

func (SnapshotStatusType) Validate

func (m SnapshotStatusType) Validate(formats strfmt.Registry) error

Validate validates this snapshot status type

type StartDatabaseRequest

type StartDatabaseRequest struct {

	// The name of the database.
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`
}

StartDatabaseRequest Start the database.

swagger:model StartDatabaseRequest

func (*StartDatabaseRequest) ContextValidate

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

ContextValidate validates this start database request based on context it is used

func (*StartDatabaseRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*StartDatabaseRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StartDatabaseRequest) Validate

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

Validate validates this start database request

type StartDatabaseResponse

type StartDatabaseResponse struct {

	// The status of the database prior to the start request.
	PreviousStatus StatusType `json:"previousStatus,omitempty"`

	// True if the database start request accepted
	WasStarted bool `json:"wasStarted,omitempty"`
}

StartDatabaseResponse A response from starting the database.

swagger:model StartDatabaseResponse

func (*StartDatabaseResponse) ContextValidate

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

ContextValidate validate this start database response based on the context it is used

func (*StartDatabaseResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StartDatabaseResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StartDatabaseResponse) Validate

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

Validate validates this start database response

type StatusType

type StatusType string

StatusType status of the database

swagger:model StatusType

const (

	// StatusTypeREQUESTED captures enum value "REQUESTED"
	StatusTypeREQUESTED StatusType = "REQUESTED"

	// StatusTypeCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS"
	StatusTypeCREATEINPROGRESS StatusType = "CREATE_IN_PROGRESS"

	// StatusTypeAVAILABLE captures enum value "AVAILABLE"
	StatusTypeAVAILABLE StatusType = "AVAILABLE"

	// StatusTypeUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS"
	StatusTypeUPDATEINPROGRESS StatusType = "UPDATE_IN_PROGRESS"

	// StatusTypeUPDATEREQUESTED captures enum value "UPDATE_REQUESTED"
	StatusTypeUPDATEREQUESTED StatusType = "UPDATE_REQUESTED"

	// StatusTypeUPDATEFAILED captures enum value "UPDATE_FAILED"
	StatusTypeUPDATEFAILED StatusType = "UPDATE_FAILED"

	// StatusTypeCREATEFAILED captures enum value "CREATE_FAILED"
	StatusTypeCREATEFAILED StatusType = "CREATE_FAILED"

	// StatusTypeENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED"
	StatusTypeENABLESECURITYFAILED StatusType = "ENABLE_SECURITY_FAILED"

	// StatusTypePREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS"
	StatusTypePREDELETEINPROGRESS StatusType = "PRE_DELETE_IN_PROGRESS"

	// StatusTypeDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS"
	StatusTypeDELETEINPROGRESS StatusType = "DELETE_IN_PROGRESS"

	// StatusTypeDELETEFAILED captures enum value "DELETE_FAILED"
	StatusTypeDELETEFAILED StatusType = "DELETE_FAILED"

	// StatusTypeDELETECOMPLETED captures enum value "DELETE_COMPLETED"
	StatusTypeDELETECOMPLETED StatusType = "DELETE_COMPLETED"

	// StatusTypeSTOPPED captures enum value "STOPPED"
	StatusTypeSTOPPED StatusType = "STOPPED"

	// StatusTypeSTOPREQUESTED captures enum value "STOP_REQUESTED"
	StatusTypeSTOPREQUESTED StatusType = "STOP_REQUESTED"

	// StatusTypeSTARTREQUESTED captures enum value "START_REQUESTED"
	StatusTypeSTARTREQUESTED StatusType = "START_REQUESTED"

	// StatusTypeSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS"
	StatusTypeSTOPINPROGRESS StatusType = "STOP_IN_PROGRESS"

	// StatusTypeSTARTINPROGRESS captures enum value "START_IN_PROGRESS"
	StatusTypeSTARTINPROGRESS StatusType = "START_IN_PROGRESS"

	// StatusTypeSTARTFAILED captures enum value "START_FAILED"
	StatusTypeSTARTFAILED StatusType = "START_FAILED"

	// StatusTypeSTOPFAILED captures enum value "STOP_FAILED"
	StatusTypeSTOPFAILED StatusType = "STOP_FAILED"

	// StatusTypeWAITFORSYNC captures enum value "WAIT_FOR_SYNC"
	StatusTypeWAITFORSYNC StatusType = "WAIT_FOR_SYNC"

	// StatusTypeMAINTENANCEMODEENABLED captures enum value "MAINTENANCE_MODE_ENABLED"
	StatusTypeMAINTENANCEMODEENABLED StatusType = "MAINTENANCE_MODE_ENABLED"

	// StatusTypeREQUESTING captures enum value "REQUESTING"
	StatusTypeREQUESTING StatusType = "REQUESTING"

	// StatusTypeMISSING captures enum value "MISSING"
	StatusTypeMISSING StatusType = "MISSING"

	// StatusTypeBACKUPINPROGRESS captures enum value "BACKUP_IN_PROGRESS"
	StatusTypeBACKUPINPROGRESS StatusType = "BACKUP_IN_PROGRESS"

	// StatusTypeBACKUPFAILED captures enum value "BACKUP_FAILED"
	StatusTypeBACKUPFAILED StatusType = "BACKUP_FAILED"

	// StatusTypeBACKUPFINISHED captures enum value "BACKUP_FINISHED"
	StatusTypeBACKUPFINISHED StatusType = "BACKUP_FINISHED"

	// StatusTypeRESTOREINPROGRESS captures enum value "RESTORE_IN_PROGRESS"
	StatusTypeRESTOREINPROGRESS StatusType = "RESTORE_IN_PROGRESS"

	// StatusTypeRESTOREFAILED captures enum value "RESTORE_FAILED"
	StatusTypeRESTOREFAILED StatusType = "RESTORE_FAILED"

	// StatusTypeRESTOREFINISHED captures enum value "RESTORE_FINISHED"
	StatusTypeRESTOREFINISHED StatusType = "RESTORE_FINISHED"

	// StatusTypeDELETEDONPROVIDERSIDE captures enum value "DELETED_ON_PROVIDER_SIDE"
	StatusTypeDELETEDONPROVIDERSIDE StatusType = "DELETED_ON_PROVIDER_SIDE"

	// StatusTypeAMBIGUOUS captures enum value "AMBIGUOUS"
	StatusTypeAMBIGUOUS StatusType = "AMBIGUOUS"

	// StatusTypeEXTERNALDATABASECREATIONINPROGRESS captures enum value "EXTERNAL_DATABASE_CREATION_IN_PROGRESS"
	StatusTypeEXTERNALDATABASECREATIONINPROGRESS StatusType = "EXTERNAL_DATABASE_CREATION_IN_PROGRESS"

	// StatusTypeEXTERNALDATABASECREATIONFAILED captures enum value "EXTERNAL_DATABASE_CREATION_FAILED"
	StatusTypeEXTERNALDATABASECREATIONFAILED StatusType = "EXTERNAL_DATABASE_CREATION_FAILED"

	// StatusTypeEXTERNALDATABASEDELETIONINPROGRESS captures enum value "EXTERNAL_DATABASE_DELETION_IN_PROGRESS"
	StatusTypeEXTERNALDATABASEDELETIONINPROGRESS StatusType = "EXTERNAL_DATABASE_DELETION_IN_PROGRESS"

	// StatusTypeEXTERNALDATABASEDELETIONFINISHED captures enum value "EXTERNAL_DATABASE_DELETION_FINISHED"
	StatusTypeEXTERNALDATABASEDELETIONFINISHED StatusType = "EXTERNAL_DATABASE_DELETION_FINISHED"

	// StatusTypeEXTERNALDATABASEDELETIONFAILED captures enum value "EXTERNAL_DATABASE_DELETION_FAILED"
	StatusTypeEXTERNALDATABASEDELETIONFAILED StatusType = "EXTERNAL_DATABASE_DELETION_FAILED"

	// StatusTypeUNKNOWN captures enum value "UNKNOWN"
	StatusTypeUNKNOWN StatusType = "UNKNOWN"

	// StatusTypeEXTERNALDATABASESTARTINPROGRESS captures enum value "EXTERNAL_DATABASE_START_IN_PROGRESS"
	StatusTypeEXTERNALDATABASESTARTINPROGRESS StatusType = "EXTERNAL_DATABASE_START_IN_PROGRESS"

	// StatusTypeEXTERNALDATABASESTARTFINISHED captures enum value "EXTERNAL_DATABASE_START_FINISHED"
	StatusTypeEXTERNALDATABASESTARTFINISHED StatusType = "EXTERNAL_DATABASE_START_FINISHED"

	// StatusTypeEXTERNALDATABASESTARTFAILED captures enum value "EXTERNAL_DATABASE_START_FAILED"
	StatusTypeEXTERNALDATABASESTARTFAILED StatusType = "EXTERNAL_DATABASE_START_FAILED"

	// StatusTypeEXTERNALDATABASESTOPINPROGRESS captures enum value "EXTERNAL_DATABASE_STOP_IN_PROGRESS"
	StatusTypeEXTERNALDATABASESTOPINPROGRESS StatusType = "EXTERNAL_DATABASE_STOP_IN_PROGRESS"

	// StatusTypeEXTERNALDATABASESTOPFINISHED captures enum value "EXTERNAL_DATABASE_STOP_FINISHED"
	StatusTypeEXTERNALDATABASESTOPFINISHED StatusType = "EXTERNAL_DATABASE_STOP_FINISHED"

	// StatusTypeEXTERNALDATABASESTOPFAILED captures enum value "EXTERNAL_DATABASE_STOP_FAILED"
	StatusTypeEXTERNALDATABASESTOPFAILED StatusType = "EXTERNAL_DATABASE_STOP_FAILED"

	// StatusTypeLOADBALANCERUPDATEINPROGRESS captures enum value "LOAD_BALANCER_UPDATE_IN_PROGRESS"
	StatusTypeLOADBALANCERUPDATEINPROGRESS StatusType = "LOAD_BALANCER_UPDATE_IN_PROGRESS"

	// StatusTypeLOADBALANCERUPDATEFINISHED captures enum value "LOAD_BALANCER_UPDATE_FINISHED"
	StatusTypeLOADBALANCERUPDATEFINISHED StatusType = "LOAD_BALANCER_UPDATE_FINISHED"

	// StatusTypeLOADBALANCERUPDATEFAILED captures enum value "LOAD_BALANCER_UPDATE_FAILED"
	StatusTypeLOADBALANCERUPDATEFAILED StatusType = "LOAD_BALANCER_UPDATE_FAILED"

	// StatusTypeUNREACHABLE captures enum value "UNREACHABLE"
	StatusTypeUNREACHABLE StatusType = "UNREACHABLE"

	// StatusTypeNODEFAILURE captures enum value "NODE_FAILURE"
	StatusTypeNODEFAILURE StatusType = "NODE_FAILURE"

	// StatusTypeRECOVERYINPROGRESS captures enum value "RECOVERY_IN_PROGRESS"
	StatusTypeRECOVERYINPROGRESS StatusType = "RECOVERY_IN_PROGRESS"

	// StatusTypeRECOVERYREQUESTED captures enum value "RECOVERY_REQUESTED"
	StatusTypeRECOVERYREQUESTED StatusType = "RECOVERY_REQUESTED"

	// StatusTypeRECOVERYFAILED captures enum value "RECOVERY_FAILED"
	StatusTypeRECOVERYFAILED StatusType = "RECOVERY_FAILED"
)

func NewStatusType

func NewStatusType(value StatusType) *StatusType

func (StatusType) ContextValidate

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

ContextValidate validates this status type based on context it is used

func (StatusType) Pointer

func (m StatusType) Pointer() *StatusType

Pointer returns a pointer to a freshly-allocated StatusType.

func (StatusType) Validate

func (m StatusType) Validate(formats strfmt.Registry) error

Validate validates this status type

type StopDatabaseRequest

type StopDatabaseRequest struct {

	// The name of the database.
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// The name of the environment
	// Required: true
	EnvironmentName *string `json:"environmentName"`
}

StopDatabaseRequest Stop the database.

swagger:model StopDatabaseRequest

func (*StopDatabaseRequest) ContextValidate

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

ContextValidate validates this stop database request based on context it is used

func (*StopDatabaseRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*StopDatabaseRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StopDatabaseRequest) Validate

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

Validate validates this stop database request

type StopDatabaseResponse

type StopDatabaseResponse struct {

	// The status of the database prior to the stop request.
	PreviousStatus StatusType `json:"previousStatus,omitempty"`

	// True if the database stop request accepted
	WasStopped bool `json:"wasStopped,omitempty"`
}

StopDatabaseResponse A response from stopping the database.

swagger:model StopDatabaseResponse

func (*StopDatabaseResponse) ContextValidate

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

ContextValidate validate this stop database response based on the context it is used

func (*StopDatabaseResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*StopDatabaseResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StopDatabaseResponse) Validate

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

Validate validates this stop database response

type StorageDetailsForWorker

type StorageDetailsForWorker struct {

	// The number of volumes.
	VolumeCount int32 `json:"volumeCount,omitempty"`

	// The target size of the volume, in GiB.
	VolumeSize int32 `json:"volumeSize,omitempty"`

	// The volume type.
	VolumeType VolumeType `json:"volumeType,omitempty"`
}

StorageDetailsForWorker Storage details for the worker node for AWS, Azure, and GCP cloud providers.

swagger:model StorageDetailsForWorker

func (*StorageDetailsForWorker) ContextValidate

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

ContextValidate validate this storage details for worker based on the context it is used

func (*StorageDetailsForWorker) MarshalBinary

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

MarshalBinary interface implementation

func (*StorageDetailsForWorker) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StorageDetailsForWorker) Validate

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

Validate validates this storage details for worker

type StorageType

type StorageType string

StorageType Storage type for clusters.

`CLOUD_WITH_EPHEMERAL` - Cloud with ephemeral storage. `CLOUD` - Cloud storage without ephemeral storage. `HDFS` - HDFS storage.

swagger:model StorageType

const (

	// StorageTypeCLOUDWITHEPHEMERAL captures enum value "CLOUD_WITH_EPHEMERAL"
	StorageTypeCLOUDWITHEPHEMERAL StorageType = "CLOUD_WITH_EPHEMERAL"

	// StorageTypeCLOUD captures enum value "CLOUD"
	StorageTypeCLOUD StorageType = "CLOUD"

	// StorageTypeHDFS captures enum value "HDFS"
	StorageTypeHDFS StorageType = "HDFS"
)

func NewStorageType

func NewStorageType(value StorageType) *StorageType

func (StorageType) ContextValidate

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

ContextValidate validates this storage type based on context it is used

func (StorageType) Pointer

func (m StorageType) Pointer() *StorageType

Pointer returns a pointer to a freshly-allocated StorageType.

func (StorageType) Validate

func (m StorageType) Validate(formats strfmt.Registry) error

Validate validates this storage type

type UpdateDatabaseRequest

type UpdateDatabaseRequest struct {

	// Parameters to configure the scaling policy
	AutoScalingParameters *AutoScalingParameters `json:"autoScalingParameters,omitempty"`

	// Catalog name for the image.
	Catalog string `json:"catalog,omitempty"`

	// database name
	// Required: true
	DatabaseName *string `json:"databaseName"`

	// environment name
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// The desired number of strong meta servers for this database. A positive, non-zero number is required. Use removeStrongMetaServers to remove strong meta servers entirely. Requires the COD_STRONG_META_SERVERS entitlement.
	NumDesiredStrongMetaServers int32 `json:"numDesiredStrongMetaServers,omitempty"`

	// Removes any strong meta servers provisioned for this database. Requires the COD_STRONG_META_SERVERS entitlement.
	RemoveStrongMetaServers bool `json:"removeStrongMetaServers,omitempty"`

	// Vertical Scale request for database.
	VerticalScale GroupType `json:"verticalScale,omitempty"`
}

UpdateDatabaseRequest A request to update the database

swagger:model UpdateDatabaseRequest

func (*UpdateDatabaseRequest) ContextValidate

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

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

func (*UpdateDatabaseRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateDatabaseRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateDatabaseRequest) Validate

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

Validate validates this update database request

type UpdateDatabaseResponse

type UpdateDatabaseResponse interface{}

UpdateDatabaseResponse A response to database update request

swagger:model UpdateDatabaseResponse

type UpdateEdgeNodesRequest

type UpdateEdgeNodesRequest struct {

	// The name or CRN of the database.
	// Required: true
	Database *string `json:"database"`

	// The instance(s) of database edge node to be deleted. An instance id of the node is required.
	DeleteEdgeInstances []string `json:"deleteEdgeInstances"`

	// The name or CRN of the environment.
	// Required: true
	Environment *string `json:"environment"`

	// The additional number of edge nodes for this database. A positive, non-zero number is required.
	NumAddEdgeNodes int32 `json:"numAddEdgeNodes,omitempty"`
}

UpdateEdgeNodesRequest The request for updating edge nodes in a database.

swagger:model UpdateEdgeNodesRequest

func (*UpdateEdgeNodesRequest) ContextValidate

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

ContextValidate validates this update edge nodes request based on context it is used

func (*UpdateEdgeNodesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateEdgeNodesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateEdgeNodesRequest) Validate

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

Validate validates this update edge nodes request

type UpdateEdgeNodesResponse

type UpdateEdgeNodesResponse struct {

	// The name or CRN of the database.
	// Required: true
	Database *string `json:"database"`

	// The list of edge nodes for a database.
	EdgeNodes []*EdgeNode `json:"edgeNodes"`

	// The name or CRN of the environment.
	// Required: true
	Environment *string `json:"environment"`
}

UpdateEdgeNodesResponse The response for updating edge nodes in a database.

swagger:model UpdateEdgeNodesResponse

func (*UpdateEdgeNodesResponse) ContextValidate

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

ContextValidate validate this update edge nodes response based on the context it is used

func (*UpdateEdgeNodesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateEdgeNodesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateEdgeNodesResponse) Validate

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

Validate validates this update edge nodes response

type UpdateHbaseConfigurationRequest

type UpdateHbaseConfigurationRequest struct {

	// The name of the configuration in Cloudera Manager being updated.
	// Required: true
	ConfigurationName *string `json:"configurationName"`

	// The type of the configuration being updated.
	// Required: true
	ConfigurationType *ConfigurationType `json:"configurationType"`

	// The new value of the configuration being updated.
	// Required: true
	ConfigurationValue *string `json:"configurationValue"`

	// The name or CRN of the database.
	// Required: true
	Database *string `json:"database"`

	// The name or CRN of the environment.
	// Required: true
	Environment *string `json:"environment"`
}

UpdateHbaseConfigurationRequest A request to update the HBase configuration.

swagger:model UpdateHbaseConfigurationRequest

func (*UpdateHbaseConfigurationRequest) ContextValidate

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

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

func (*UpdateHbaseConfigurationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateHbaseConfigurationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateHbaseConfigurationRequest) Validate

Validate validates this update hbase configuration request

type UpdateHbaseConfigurationResponse

type UpdateHbaseConfigurationResponse struct {

	// The details of the configuration.
	Configuration *HBaseConfiguration `json:"configuration,omitempty"`
}

UpdateHbaseConfigurationResponse A response to update the HBase configuration request.

swagger:model UpdateHbaseConfigurationResponse

func (*UpdateHbaseConfigurationResponse) ContextValidate

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

ContextValidate validate this update hbase configuration response based on the context it is used

func (*UpdateHbaseConfigurationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateHbaseConfigurationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateHbaseConfigurationResponse) Validate

Validate validates this update hbase configuration response

type UpgradeDatabaseRequest

type UpgradeDatabaseRequest struct {

	// The name or CRN of the database.
	Database string `json:"database,omitempty"`

	// Upgrade strategy for edge nodes.
	EdgeUpgradeStrategy EdgeUpgradeStrategy `json:"edgeUpgradeStrategy,omitempty"`

	// The name or CRN of the environment.
	Environment string `json:"environment,omitempty"`

	// ID of a database image to upgrade to. If this is empty, the default image is used.
	ImageID string `json:"imageId,omitempty"`

	// Batch size of non-worker nodes for restart.
	NonWorkerBatchSize int32 `json:"nonWorkerBatchSize,omitempty"`

	// Only perform an Operating System upgrade.
	OsUpgradeOnly bool `json:"osUpgradeOnly,omitempty"`

	// Perform upgrade in a rolling fashion.
	RollingUpgrade bool `json:"rollingUpgrade,omitempty"`

	// The CDP Runtime version to upgrade to.
	Runtime string `json:"runtime,omitempty"`

	// Batch size of worker nodes for restart.
	WorkerBatchSize int32 `json:"workerBatchSize,omitempty"`
}

UpgradeDatabaseRequest Asynchronous request to upgrade the CDP Runtime for a database.

swagger:model UpgradeDatabaseRequest

func (*UpgradeDatabaseRequest) ContextValidate

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

ContextValidate validate this upgrade database request based on the context it is used

func (*UpgradeDatabaseRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpgradeDatabaseRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpgradeDatabaseRequest) Validate

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

Validate validates this upgrade database request

type UpgradeDatabaseResponse

type UpgradeDatabaseResponse struct {

	// The reason whether upgrade request is accepted or why it is not possible.
	StatusReason string `json:"statusReason,omitempty"`
}

UpgradeDatabaseResponse Response with the reason whether upgrade request is accepted or why it is not possible.

swagger:model UpgradeDatabaseResponse

func (*UpgradeDatabaseResponse) ContextValidate

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

ContextValidate validates this upgrade database response based on context it is used

func (*UpgradeDatabaseResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UpgradeDatabaseResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpgradeDatabaseResponse) Validate

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

Validate validates this upgrade database response

type VolumeType

type VolumeType string

VolumeType Volume Type.

`HDD` - Hard disk drives (HDD) volume type. Default is HDD. `SSD` - Solid disk drives (SSD) volume type. `LOCAL_SSD` - Local SSD volume type.

swagger:model VolumeType

const (

	// VolumeTypeHDD captures enum value "HDD"
	VolumeTypeHDD VolumeType = "HDD"

	// VolumeTypeSSD captures enum value "SSD"
	VolumeTypeSSD VolumeType = "SSD"

	// VolumeTypeLOCALSSD captures enum value "LOCAL_SSD"
	VolumeTypeLOCALSSD VolumeType = "LOCAL_SSD"
)

func NewVolumeType

func NewVolumeType(value VolumeType) *VolumeType

func (VolumeType) ContextValidate

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

ContextValidate validates this volume type based on context it is used

func (VolumeType) Pointer

func (m VolumeType) Pointer() *VolumeType

Pointer returns a pointer to a freshly-allocated VolumeType.

func (VolumeType) Validate

func (m VolumeType) Validate(formats strfmt.Registry) error

Validate validates this volume type

Source Files

Jump to

Keyboard shortcuts

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