Documentation ¶
Index ¶
- type AddCoprocessorRequest
- type AddCoprocessorResponse
- func (m *AddCoprocessorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AddCoprocessorResponse) MarshalBinary() ([]byte, error)
- func (m *AddCoprocessorResponse) UnmarshalBinary(b []byte) error
- func (m *AddCoprocessorResponse) Validate(formats strfmt.Registry) error
- type AttachedStorageForWorkers
- func (m *AttachedStorageForWorkers) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AttachedStorageForWorkers) MarshalBinary() ([]byte, error)
- func (m *AttachedStorageForWorkers) UnmarshalBinary(b []byte) error
- func (m *AttachedStorageForWorkers) Validate(formats strfmt.Registry) error
- type AutoScalingConfig
- type AutoScalingParameters
- type ClientConfigurationDetails
- func (m *ClientConfigurationDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ClientConfigurationDetails) MarshalBinary() ([]byte, error)
- func (m *ClientConfigurationDetails) UnmarshalBinary(b []byte) error
- func (m *ClientConfigurationDetails) Validate(formats strfmt.Registry) error
- type CollectDiagnosticsRequest
- func (m *CollectDiagnosticsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectDiagnosticsRequest) MarshalBinary() ([]byte, error)
- func (m *CollectDiagnosticsRequest) UnmarshalBinary(b []byte) error
- func (m *CollectDiagnosticsRequest) Validate(formats strfmt.Registry) error
- type CollectDiagnosticsResponse
- func (m *CollectDiagnosticsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CollectDiagnosticsResponse) MarshalBinary() ([]byte, error)
- func (m *CollectDiagnosticsResponse) UnmarshalBinary(b []byte) error
- func (m *CollectDiagnosticsResponse) Validate(formats strfmt.Registry) error
- type ComponentsVersion
- type ConfigurationType
- type Connector
- type ConnectorConfiguration
- func (m *ConnectorConfiguration) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ConnectorConfiguration) MarshalBinary() ([]byte, error)
- func (m *ConnectorConfiguration) UnmarshalBinary(b []byte) error
- func (m *ConnectorConfiguration) Validate(formats strfmt.Registry) error
- type Coprocessor
- type CoprocessorStatusType
- type CreateDatabaseRequest
- type CreateDatabaseResponse
- func (m *CreateDatabaseResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateDatabaseResponse) MarshalBinary() ([]byte, error)
- func (m *CreateDatabaseResponse) UnmarshalBinary(b []byte) error
- func (m *CreateDatabaseResponse) Validate(formats strfmt.Registry) error
- type CreateSnapshotRequest
- type CreateSnapshotResponse
- func (m *CreateSnapshotResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *CreateSnapshotResponse) MarshalBinary() ([]byte, error)
- func (m *CreateSnapshotResponse) UnmarshalBinary(b []byte) error
- func (m *CreateSnapshotResponse) Validate(formats strfmt.Registry) error
- type CustomRecipe
- type DatabaseDetails
- type DeleteSnapshotRequest
- type DeleteSnapshotResponse
- func (m *DeleteSnapshotResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DeleteSnapshotResponse) MarshalBinary() ([]byte, error)
- func (m *DeleteSnapshotResponse) UnmarshalBinary(b []byte) error
- func (m *DeleteSnapshotResponse) Validate(formats strfmt.Registry) error
- type DependencyManagement
- type DescribeClientConnectivityRequest
- func (m *DescribeClientConnectivityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeClientConnectivityRequest) MarshalBinary() ([]byte, error)
- func (m *DescribeClientConnectivityRequest) UnmarshalBinary(b []byte) error
- func (m *DescribeClientConnectivityRequest) Validate(formats strfmt.Registry) error
- type DescribeClientConnectivityResponse
- func (m *DescribeClientConnectivityResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeClientConnectivityResponse) MarshalBinary() ([]byte, error)
- func (m *DescribeClientConnectivityResponse) UnmarshalBinary(b []byte) error
- func (m *DescribeClientConnectivityResponse) Validate(formats strfmt.Registry) error
- type DescribeDatabaseRequest
- func (m *DescribeDatabaseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeDatabaseRequest) MarshalBinary() ([]byte, error)
- func (m *DescribeDatabaseRequest) UnmarshalBinary(b []byte) error
- func (m *DescribeDatabaseRequest) Validate(formats strfmt.Registry) error
- type DescribeDatabaseResponse
- func (m *DescribeDatabaseResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeDatabaseResponse) MarshalBinary() ([]byte, error)
- func (m *DescribeDatabaseResponse) UnmarshalBinary(b []byte) error
- func (m *DescribeDatabaseResponse) Validate(formats strfmt.Registry) error
- type DescribeHbaseConfigurationRequest
- func (m *DescribeHbaseConfigurationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeHbaseConfigurationRequest) MarshalBinary() ([]byte, error)
- func (m *DescribeHbaseConfigurationRequest) UnmarshalBinary(b []byte) error
- func (m *DescribeHbaseConfigurationRequest) Validate(formats strfmt.Registry) error
- type DescribeHbaseConfigurationResponse
- func (m *DescribeHbaseConfigurationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeHbaseConfigurationResponse) MarshalBinary() ([]byte, error)
- func (m *DescribeHbaseConfigurationResponse) UnmarshalBinary(b []byte) error
- func (m *DescribeHbaseConfigurationResponse) Validate(formats strfmt.Registry) error
- type DescribeUpgradeDatabaseRequest
- func (m *DescribeUpgradeDatabaseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeUpgradeDatabaseRequest) MarshalBinary() ([]byte, error)
- func (m *DescribeUpgradeDatabaseRequest) UnmarshalBinary(b []byte) error
- func (m *DescribeUpgradeDatabaseRequest) Validate(formats strfmt.Registry) error
- type DescribeUpgradeDatabaseResponse
- func (m *DescribeUpgradeDatabaseResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DescribeUpgradeDatabaseResponse) MarshalBinary() ([]byte, error)
- func (m *DescribeUpgradeDatabaseResponse) UnmarshalBinary(b []byte) error
- func (m *DescribeUpgradeDatabaseResponse) Validate(formats strfmt.Registry) error
- type DiagnosticsBundle
- type DisengageAutoAdminRequest
- func (m *DisengageAutoAdminRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DisengageAutoAdminRequest) MarshalBinary() ([]byte, error)
- func (m *DisengageAutoAdminRequest) UnmarshalBinary(b []byte) error
- func (m *DisengageAutoAdminRequest) Validate(formats strfmt.Registry) error
- type DisengageAutoAdminResponse
- func (m *DisengageAutoAdminResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *DisengageAutoAdminResponse) MarshalBinary() ([]byte, error)
- func (m *DisengageAutoAdminResponse) UnmarshalBinary(b []byte) error
- func (m *DisengageAutoAdminResponse) Validate(formats strfmt.Registry) error
- type DropDatabaseRequest
- type DropDatabaseResponse
- type EdgeNode
- type EdgeUpgradeStrategy
- type Environment
- type Error
- type Event
- type EventType
- type GroupType
- type HBaseConfiguration
- type Image
- type InstanceGroupType
- type KerberosConfiguration
- type KeyValuePair
- type Kind
- type ListCoprocessorsRequest
- func (m *ListCoprocessorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListCoprocessorsRequest) MarshalBinary() ([]byte, error)
- func (m *ListCoprocessorsRequest) UnmarshalBinary(b []byte) error
- func (m *ListCoprocessorsRequest) Validate(formats strfmt.Registry) error
- type ListCoprocessorsResponse
- func (m *ListCoprocessorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListCoprocessorsResponse) MarshalBinary() ([]byte, error)
- func (m *ListCoprocessorsResponse) UnmarshalBinary(b []byte) error
- func (m *ListCoprocessorsResponse) Validate(formats strfmt.Registry) error
- type ListDatabasesRequest
- type ListDatabasesResponse
- type ListDiagnosticsRequest
- func (m *ListDiagnosticsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListDiagnosticsRequest) MarshalBinary() ([]byte, error)
- func (m *ListDiagnosticsRequest) UnmarshalBinary(b []byte) error
- func (m *ListDiagnosticsRequest) Validate(formats strfmt.Registry) error
- type ListDiagnosticsResponse
- func (m *ListDiagnosticsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListDiagnosticsResponse) MarshalBinary() ([]byte, error)
- func (m *ListDiagnosticsResponse) UnmarshalBinary(b []byte) error
- func (m *ListDiagnosticsResponse) Validate(formats strfmt.Registry) error
- type ListEdgeNodesRequest
- type ListEdgeNodesResponse
- type ListEventsRequest
- type ListEventsResponse
- type ListRestoreSnapshotsRequest
- func (m *ListRestoreSnapshotsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListRestoreSnapshotsRequest) MarshalBinary() ([]byte, error)
- func (m *ListRestoreSnapshotsRequest) UnmarshalBinary(b []byte) error
- func (m *ListRestoreSnapshotsRequest) Validate(formats strfmt.Registry) error
- type ListRestoreSnapshotsResponse
- func (m *ListRestoreSnapshotsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListRestoreSnapshotsResponse) MarshalBinary() ([]byte, error)
- func (m *ListRestoreSnapshotsResponse) UnmarshalBinary(b []byte) error
- func (m *ListRestoreSnapshotsResponse) Validate(formats strfmt.Registry) error
- type ListScalingEventsRequest
- func (m *ListScalingEventsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListScalingEventsRequest) MarshalBinary() ([]byte, error)
- func (m *ListScalingEventsRequest) UnmarshalBinary(b []byte) error
- func (m *ListScalingEventsRequest) Validate(formats strfmt.Registry) error
- type ListScalingEventsResponse
- func (m *ListScalingEventsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListScalingEventsResponse) MarshalBinary() ([]byte, error)
- func (m *ListScalingEventsResponse) UnmarshalBinary(b []byte) error
- func (m *ListScalingEventsResponse) Validate(formats strfmt.Registry) error
- type ListSnapshotsRequest
- type ListSnapshotsResponse
- type ListSupportedEnvironmentsRequest
- type ListSupportedEnvironmentsResponse
- func (m *ListSupportedEnvironmentsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ListSupportedEnvironmentsResponse) MarshalBinary() ([]byte, error)
- func (m *ListSupportedEnvironmentsResponse) UnmarshalBinary(b []byte) error
- func (m *ListSupportedEnvironmentsResponse) Validate(formats strfmt.Registry) error
- type PrepareUpgradeDatabaseRequest
- func (m *PrepareUpgradeDatabaseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PrepareUpgradeDatabaseRequest) MarshalBinary() ([]byte, error)
- func (m *PrepareUpgradeDatabaseRequest) UnmarshalBinary(b []byte) error
- func (m *PrepareUpgradeDatabaseRequest) Validate(formats strfmt.Registry) error
- type PrepareUpgradeDatabaseResponse
- func (m *PrepareUpgradeDatabaseResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *PrepareUpgradeDatabaseResponse) MarshalBinary() ([]byte, error)
- func (m *PrepareUpgradeDatabaseResponse) UnmarshalBinary(b []byte) error
- func (m *PrepareUpgradeDatabaseResponse) Validate(formats strfmt.Registry) error
- type RemoveCoprocessorRequest
- func (m *RemoveCoprocessorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RemoveCoprocessorRequest) MarshalBinary() ([]byte, error)
- func (m *RemoveCoprocessorRequest) UnmarshalBinary(b []byte) error
- func (m *RemoveCoprocessorRequest) Validate(formats strfmt.Registry) error
- type RemoveCoprocessorResponse
- func (m *RemoveCoprocessorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RemoveCoprocessorResponse) MarshalBinary() ([]byte, error)
- func (m *RemoveCoprocessorResponse) UnmarshalBinary(b []byte) error
- func (m *RemoveCoprocessorResponse) Validate(formats strfmt.Registry) error
- type RestoreSnapshot
- type RestoreSnapshotRequest
- func (m *RestoreSnapshotRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RestoreSnapshotRequest) MarshalBinary() ([]byte, error)
- func (m *RestoreSnapshotRequest) UnmarshalBinary(b []byte) error
- func (m *RestoreSnapshotRequest) Validate(formats strfmt.Registry) error
- type RestoreSnapshotResponse
- func (m *RestoreSnapshotResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RestoreSnapshotResponse) MarshalBinary() ([]byte, error)
- func (m *RestoreSnapshotResponse) UnmarshalBinary(b []byte) error
- func (m *RestoreSnapshotResponse) Validate(formats strfmt.Registry) error
- type ScaleType
- type ScalingEvent
- type Snapshot
- type SnapshotStatusType
- type StartDatabaseRequest
- type StartDatabaseResponse
- type StatusType
- type StopDatabaseRequest
- type StopDatabaseResponse
- type StorageDetailsForWorker
- func (m *StorageDetailsForWorker) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *StorageDetailsForWorker) MarshalBinary() ([]byte, error)
- func (m *StorageDetailsForWorker) UnmarshalBinary(b []byte) error
- func (m *StorageDetailsForWorker) Validate(formats strfmt.Registry) error
- type StorageType
- type UpdateDatabaseRequest
- type UpdateDatabaseResponse
- type UpdateEdgeNodesRequest
- func (m *UpdateEdgeNodesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateEdgeNodesRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateEdgeNodesRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateEdgeNodesRequest) Validate(formats strfmt.Registry) error
- type UpdateEdgeNodesResponse
- func (m *UpdateEdgeNodesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateEdgeNodesResponse) MarshalBinary() ([]byte, error)
- func (m *UpdateEdgeNodesResponse) UnmarshalBinary(b []byte) error
- func (m *UpdateEdgeNodesResponse) Validate(formats strfmt.Registry) error
- type UpdateHbaseConfigurationRequest
- func (m *UpdateHbaseConfigurationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateHbaseConfigurationRequest) MarshalBinary() ([]byte, error)
- func (m *UpdateHbaseConfigurationRequest) UnmarshalBinary(b []byte) error
- func (m *UpdateHbaseConfigurationRequest) Validate(formats strfmt.Registry) error
- type UpdateHbaseConfigurationResponse
- func (m *UpdateHbaseConfigurationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpdateHbaseConfigurationResponse) MarshalBinary() ([]byte, error)
- func (m *UpdateHbaseConfigurationResponse) UnmarshalBinary(b []byte) error
- func (m *UpdateHbaseConfigurationResponse) Validate(formats strfmt.Registry) error
- type UpgradeDatabaseRequest
- func (m *UpgradeDatabaseRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpgradeDatabaseRequest) MarshalBinary() ([]byte, error)
- func (m *UpgradeDatabaseRequest) UnmarshalBinary(b []byte) error
- func (m *UpgradeDatabaseRequest) Validate(formats strfmt.Registry) error
- type UpgradeDatabaseResponse
- func (m *UpgradeDatabaseResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *UpgradeDatabaseResponse) MarshalBinary() ([]byte, error)
- func (m *UpgradeDatabaseResponse) UnmarshalBinary(b []byte) error
- func (m *UpgradeDatabaseResponse) Validate(formats strfmt.Registry) error
- type VolumeEncryption
- type VolumeType
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 ¶
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
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
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
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 ¶
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
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 ¶
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
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
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
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
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 ¶
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
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 ¶
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.
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 ¶
ContextValidate validate this connector based on the context it is used
func (*Connector) MarshalBinary ¶
MarshalBinary interface implementation
func (*Connector) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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 ¶
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
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 ¶
ContextValidate validates this coprocessor status type based on context it is used
func (CoprocessorStatusType) Pointer ¶
func (m CoprocessorStatusType) Pointer() *CoprocessorStatusType
Pointer returns a pointer to a freshly-allocated CoprocessorStatusType.
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"` // Root volume size in GiB. RootVolumeSize int32 `json:"rootVolumeSize,omitempty"` // 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 [only for AWS]. SubnetID string `json:"subnetId,omitempty"` // Specifies encryption key to encrypt volume for instance group. It is currently supported for AWS cloud provider only. VolumeEncryptions []*VolumeEncryption `json:"volumeEncryptions"` }
CreateDatabaseRequest A request to create the database
swagger:model CreateDatabaseRequest
func (*CreateDatabaseRequest) ContextValidate ¶
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
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
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 ¶
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
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
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 ¶
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
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 ¶
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
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 ¶
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
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
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 ¶
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
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
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
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
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
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
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
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
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
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 ¶
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
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
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
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 ¶
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
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 ¶
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
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 ¶
ContextValidate validates this edge node based on context it is used
func (*EdgeNode) MarshalBinary ¶
MarshalBinary interface implementation
func (*EdgeNode) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this edge upgrade strategy based on context it is used
func (EdgeUpgradeStrategy) Pointer ¶
func (m EdgeUpgradeStrategy) Pointer() *EdgeUpgradeStrategy
Pointer returns a pointer to a freshly-allocated EdgeUpgradeStrategy.
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 ¶
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
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 ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this event based on context it is used
func (*Event) MarshalBinary ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EventType ¶
type EventType string
EventType Type of an Event
swagger:model EventType
func NewEventType ¶
func (EventType) ContextValidate ¶
ContextValidate validates this event type based on context it is used
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
func NewGroupType ¶
func (GroupType) ContextValidate ¶
ContextValidate validates this group type based on context it is used
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 ¶
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
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 ¶
ContextValidate validates this image based on context it is used
func (*Image) MarshalBinary ¶
MarshalBinary interface implementation
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
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.
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 ¶
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
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 ¶
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
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 (Kind) ContextValidate ¶
ContextValidate validates this kind based on context it is used
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
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
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 ¶
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
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 ¶
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
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
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
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 ¶
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
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 ¶
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
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 ¶
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
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 ¶
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
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
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
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
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
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 ¶
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
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 ¶
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
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
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
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
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
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
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 ¶
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
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
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
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
func NewScaleType ¶
func (ScaleType) ContextValidate ¶
ContextValidate validates this scale type based on context it is used
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 ¶
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
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 ¶
ContextValidate validate this snapshot based on the context it is used
func (*Snapshot) MarshalBinary ¶
MarshalBinary interface implementation
func (*Snapshot) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
ContextValidate validates this snapshot status type based on context it is used
func (SnapshotStatusType) Pointer ¶
func (m SnapshotStatusType) Pointer() *SnapshotStatusType
Pointer returns a pointer to a freshly-allocated SnapshotStatusType.
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 ¶
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
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 ¶
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
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 ¶
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.
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 ¶
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
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 ¶
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
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
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 ¶
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.
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 ¶
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
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
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
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
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
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
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
type VolumeEncryption ¶ added in v0.6.0
type VolumeEncryption struct { // Encryption key. // Required: true EncryptionKey *string `json:"encryptionKey"` // Instance group to apply the encryption key to. // Required: true InstanceGroup *InstanceGroupType `json:"instanceGroup"` }
VolumeEncryption Specify volume encryption key for instance group.
swagger:model VolumeEncryption
func (*VolumeEncryption) ContextValidate ¶ added in v0.6.0
ContextValidate validate this volume encryption based on the context it is used
func (*VolumeEncryption) MarshalBinary ¶ added in v0.6.0
func (m *VolumeEncryption) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VolumeEncryption) UnmarshalBinary ¶ added in v0.6.0
func (m *VolumeEncryption) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
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.
Source Files ¶
- add_coprocessor_request.go
- add_coprocessor_response.go
- attached_storage_for_workers.go
- auto_scaling_config.go
- auto_scaling_parameters.go
- client_configuration_details.go
- collect_diagnostics_request.go
- collect_diagnostics_response.go
- components_version.go
- configuration_type.go
- connector.go
- connector_configuration.go
- coprocessor.go
- coprocessor_status_type.go
- create_database_request.go
- create_database_response.go
- create_snapshot_request.go
- create_snapshot_response.go
- custom_recipe.go
- database_details.go
- delete_snapshot_request.go
- delete_snapshot_response.go
- dependency_management.go
- describe_client_connectivity_request.go
- describe_client_connectivity_response.go
- describe_database_request.go
- describe_database_response.go
- describe_hbase_configuration_request.go
- describe_hbase_configuration_response.go
- describe_upgrade_database_request.go
- describe_upgrade_database_response.go
- diagnostics_bundle.go
- disengage_auto_admin_request.go
- disengage_auto_admin_response.go
- drop_database_request.go
- drop_database_response.go
- edge_node.go
- edge_upgrade_strategy.go
- environment.go
- error.go
- event.go
- event_type.go
- group_type.go
- h_base_configuration.go
- image.go
- instance_group_type.go
- kerberos_configuration.go
- key_value_pair.go
- kind.go
- list_coprocessors_request.go
- list_coprocessors_response.go
- list_databases_request.go
- list_databases_response.go
- list_diagnostics_request.go
- list_diagnostics_response.go
- list_edge_nodes_request.go
- list_edge_nodes_response.go
- list_events_request.go
- list_events_response.go
- list_restore_snapshots_request.go
- list_restore_snapshots_response.go
- list_scaling_events_request.go
- list_scaling_events_response.go
- list_snapshots_request.go
- list_snapshots_response.go
- list_supported_environments_request.go
- list_supported_environments_response.go
- prepare_upgrade_database_request.go
- prepare_upgrade_database_response.go
- remove_coprocessor_request.go
- remove_coprocessor_response.go
- restore_snapshot.go
- restore_snapshot_request.go
- restore_snapshot_response.go
- scale_type.go
- scaling_event.go
- snapshot.go
- snapshot_status_type.go
- start_database_request.go
- start_database_response.go
- status_type.go
- stop_database_request.go
- stop_database_response.go
- storage_details_for_worker.go
- storage_type.go
- update_database_request.go
- update_database_response.go
- update_edge_nodes_request.go
- update_edge_nodes_response.go
- update_hbase_configuration_request.go
- update_hbase_configuration_response.go
- upgrade_database_request.go
- upgrade_database_response.go
- volume_encryption.go
- volume_type.go