models

package
v0.8.0 Latest Latest
Warning

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

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

Documentation ¶

Index ¶

Constants ¶

View Source
const (

	// AddDisksCloudVolumeUsageTypeGENERAL captures enum value "GENERAL"
	AddDisksCloudVolumeUsageTypeGENERAL string = "GENERAL"

	// AddDisksCloudVolumeUsageTypeDATABASE captures enum value "DATABASE"
	AddDisksCloudVolumeUsageTypeDATABASE string = "DATABASE"
)
View Source
const (

	// ClusterSummaryCertificateExpirationStateVALID captures enum value "VALID"
	ClusterSummaryCertificateExpirationStateVALID string = "VALID"

	// ClusterSummaryCertificateExpirationStateHOSTCERTEXPIRING captures enum value "HOST_CERT_EXPIRING"
	ClusterSummaryCertificateExpirationStateHOSTCERTEXPIRING string = "HOST_CERT_EXPIRING"
)
View Source
const (

	// CollectCmDiagnosticsRequestDestinationSUPPORT captures enum value "SUPPORT"
	CollectCmDiagnosticsRequestDestinationSUPPORT string = "SUPPORT"

	// CollectCmDiagnosticsRequestDestinationCLOUDSTORAGE captures enum value "CLOUD_STORAGE"
	CollectCmDiagnosticsRequestDestinationCLOUDSTORAGE string = "CLOUD_STORAGE"

	// CollectCmDiagnosticsRequestDestinationLOCAL captures enum value "LOCAL"
	CollectCmDiagnosticsRequestDestinationLOCAL string = "LOCAL"
)
View Source
const (

	// CollectDatahubDiagnosticsRequestDestinationSUPPORT captures enum value "SUPPORT"
	CollectDatahubDiagnosticsRequestDestinationSUPPORT string = "SUPPORT"

	// CollectDatahubDiagnosticsRequestDestinationCLOUDSTORAGE captures enum value "CLOUD_STORAGE"
	CollectDatahubDiagnosticsRequestDestinationCLOUDSTORAGE string = "CLOUD_STORAGE"

	// CollectDatahubDiagnosticsRequestDestinationENG captures enum value "ENG"
	CollectDatahubDiagnosticsRequestDestinationENG string = "ENG"

	// CollectDatahubDiagnosticsRequestDestinationLOCAL captures enum value "LOCAL"
	CollectDatahubDiagnosticsRequestDestinationLOCAL string = "LOCAL"
)
View Source
const (

	// CreateAzureClusterRequestDatabaseTypeFLEXIBLESERVER captures enum value "FLEXIBLE_SERVER"
	CreateAzureClusterRequestDatabaseTypeFLEXIBLESERVER string = "FLEXIBLE_SERVER"

	// CreateAzureClusterRequestDatabaseTypeSINGLESERVER captures enum value "SINGLE_SERVER"
	CreateAzureClusterRequestDatabaseTypeSINGLESERVER string = "SINGLE_SERVER"
)
View Source
const (

	// DatabaseServerSslConfigSslCertificateTypeCLOUDPROVIDEROWNED captures enum value "CLOUD_PROVIDER_OWNED"
	DatabaseServerSslConfigSslCertificateTypeCLOUDPROVIDEROWNED string = "CLOUD_PROVIDER_OWNED"

	// DatabaseServerSslConfigSslCertificateTypeBRINGYOUROWN captures enum value "BRING_YOUR_OWN"
	DatabaseServerSslConfigSslCertificateTypeBRINGYOUROWN string = "BRING_YOUR_OWN"

	// DatabaseServerSslConfigSslCertificateTypeNONE captures enum value "NONE"
	DatabaseServerSslConfigSslCertificateTypeNONE string = "NONE"
)
View Source
const (

	// DatabaseServerSslConfigSslModeENABLED captures enum value "ENABLED"
	DatabaseServerSslConfigSslModeENABLED string = "ENABLED"

	// DatabaseServerSslConfigSslModeDISABLED captures enum value "DISABLED"
	DatabaseServerSslConfigSslModeDISABLED string = "DISABLED"
)
View Source
const (

	// DatahubDiagnosticsCollectionResponseStatusRUNNING captures enum value "RUNNING"
	DatahubDiagnosticsCollectionResponseStatusRUNNING string = "RUNNING"

	// DatahubDiagnosticsCollectionResponseStatusFAILED captures enum value "FAILED"
	DatahubDiagnosticsCollectionResponseStatusFAILED string = "FAILED"

	// DatahubDiagnosticsCollectionResponseStatusFINISHED captures enum value "FINISHED"
	DatahubDiagnosticsCollectionResponseStatusFINISHED string = "FINISHED"

	// DatahubDiagnosticsCollectionResponseStatusCANCELLED captures enum value "CANCELLED"
	DatahubDiagnosticsCollectionResponseStatusCANCELLED string = "CANCELLED"
)
View Source
const (

	// DescribeDatabaseServerResponseResourceStatusUNKNOWN captures enum value "UNKNOWN"
	DescribeDatabaseServerResponseResourceStatusUNKNOWN string = "UNKNOWN"

	// DescribeDatabaseServerResponseResourceStatusSERVICEMANAGED captures enum value "SERVICE_MANAGED"
	DescribeDatabaseServerResponseResourceStatusSERVICEMANAGED string = "SERVICE_MANAGED"

	// DescribeDatabaseServerResponseResourceStatusUSERMANAGED captures enum value "USER_MANAGED"
	DescribeDatabaseServerResponseResourceStatusUSERMANAGED string = "USER_MANAGED"
)
View Source
const (

	// DescribeDatabaseServerResponseStatusREQUESTED captures enum value "REQUESTED"
	DescribeDatabaseServerResponseStatusREQUESTED string = "REQUESTED"

	// DescribeDatabaseServerResponseStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS"
	DescribeDatabaseServerResponseStatusCREATEINPROGRESS string = "CREATE_IN_PROGRESS"

	// DescribeDatabaseServerResponseStatusAVAILABLE captures enum value "AVAILABLE"
	DescribeDatabaseServerResponseStatusAVAILABLE string = "AVAILABLE"

	// DescribeDatabaseServerResponseStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS"
	DescribeDatabaseServerResponseStatusUPDATEINPROGRESS string = "UPDATE_IN_PROGRESS"

	// DescribeDatabaseServerResponseStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED"
	DescribeDatabaseServerResponseStatusUPDATEREQUESTED string = "UPDATE_REQUESTED"

	// DescribeDatabaseServerResponseStatusUPDATEFAILED captures enum value "UPDATE_FAILED"
	DescribeDatabaseServerResponseStatusUPDATEFAILED string = "UPDATE_FAILED"

	// DescribeDatabaseServerResponseStatusCREATEFAILED captures enum value "CREATE_FAILED"
	DescribeDatabaseServerResponseStatusCREATEFAILED string = "CREATE_FAILED"

	// DescribeDatabaseServerResponseStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED"
	DescribeDatabaseServerResponseStatusENABLESECURITYFAILED string = "ENABLE_SECURITY_FAILED"

	// DescribeDatabaseServerResponseStatusDELETEREQUESTED captures enum value "DELETE_REQUESTED"
	DescribeDatabaseServerResponseStatusDELETEREQUESTED string = "DELETE_REQUESTED"

	// DescribeDatabaseServerResponseStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS"
	DescribeDatabaseServerResponseStatusPREDELETEINPROGRESS string = "PRE_DELETE_IN_PROGRESS"

	// DescribeDatabaseServerResponseStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS"
	DescribeDatabaseServerResponseStatusDELETEINPROGRESS string = "DELETE_IN_PROGRESS"

	// DescribeDatabaseServerResponseStatusDELETEFAILED captures enum value "DELETE_FAILED"
	DescribeDatabaseServerResponseStatusDELETEFAILED string = "DELETE_FAILED"

	// DescribeDatabaseServerResponseStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED"
	DescribeDatabaseServerResponseStatusDELETECOMPLETED string = "DELETE_COMPLETED"

	// DescribeDatabaseServerResponseStatusSTOPPED captures enum value "STOPPED"
	DescribeDatabaseServerResponseStatusSTOPPED string = "STOPPED"

	// DescribeDatabaseServerResponseStatusSTOPREQUESTED captures enum value "STOP_REQUESTED"
	DescribeDatabaseServerResponseStatusSTOPREQUESTED string = "STOP_REQUESTED"

	// DescribeDatabaseServerResponseStatusSTARTREQUESTED captures enum value "START_REQUESTED"
	DescribeDatabaseServerResponseStatusSTARTREQUESTED string = "START_REQUESTED"

	// DescribeDatabaseServerResponseStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS"
	DescribeDatabaseServerResponseStatusSTOPINPROGRESS string = "STOP_IN_PROGRESS"

	// DescribeDatabaseServerResponseStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS"
	DescribeDatabaseServerResponseStatusSTARTINPROGRESS string = "START_IN_PROGRESS"

	// DescribeDatabaseServerResponseStatusSTARTFAILED captures enum value "START_FAILED"
	DescribeDatabaseServerResponseStatusSTARTFAILED string = "START_FAILED"

	// DescribeDatabaseServerResponseStatusSTOPFAILED captures enum value "STOP_FAILED"
	DescribeDatabaseServerResponseStatusSTOPFAILED string = "STOP_FAILED"

	// DescribeDatabaseServerResponseStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC"
	DescribeDatabaseServerResponseStatusWAITFORSYNC string = "WAIT_FOR_SYNC"

	// DescribeDatabaseServerResponseStatusMAINTENANCEMODEENABLED captures enum value "MAINTENANCE_MODE_ENABLED"
	DescribeDatabaseServerResponseStatusMAINTENANCEMODEENABLED string = "MAINTENANCE_MODE_ENABLED"

	// DescribeDatabaseServerResponseStatusUNKNOWN captures enum value "UNKNOWN"
	DescribeDatabaseServerResponseStatusUNKNOWN string = "UNKNOWN"
)
View Source
const (

	// GetOperationResponseOperationStatusUNKNOWN captures enum value "UNKNOWN"
	GetOperationResponseOperationStatusUNKNOWN string = "UNKNOWN"

	// GetOperationResponseOperationStatusRUNNING captures enum value "RUNNING"
	GetOperationResponseOperationStatusRUNNING string = "RUNNING"

	// GetOperationResponseOperationStatusFAILED captures enum value "FAILED"
	GetOperationResponseOperationStatusFAILED string = "FAILED"

	// GetOperationResponseOperationStatusFINISHED captures enum value "FINISHED"
	GetOperationResponseOperationStatusFINISHED string = "FINISHED"

	// GetOperationResponseOperationStatusCANCELLED captures enum value "CANCELLED"
	GetOperationResponseOperationStatusCANCELLED string = "CANCELLED"
)
View Source
const (

	// StartDatabaseUpgradeRequestTargetVersionVERSION11 captures enum value "VERSION_11"
	StartDatabaseUpgradeRequestTargetVersionVERSION11 string = "VERSION_11"

	// StartDatabaseUpgradeRequestTargetVersionVERSION14 captures enum value "VERSION_14"
	StartDatabaseUpgradeRequestTargetVersionVERSION14 string = "VERSION_14"
)
View Source
const (

	// IndividualScheduleRequestConfigurationActionResourceAdjustmentTypeABSOLUTECOUNT captures enum value "ABSOLUTE_COUNT"
	IndividualScheduleRequestConfigurationActionResourceAdjustmentTypeABSOLUTECOUNT string = "ABSOLUTE_COUNT"
)
View Source
const (

	// IndividualScheduleResponseConfigurationActionResourceAdjustmentTypeABSOLUTECOUNT captures enum value "ABSOLUTE_COUNT"
	IndividualScheduleResponseConfigurationActionResourceAdjustmentTypeABSOLUTECOUNT string = "ABSOLUTE_COUNT"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AddDisks ¶ added in v0.5.9

type AddDisks struct {

	// Usage for the requested disks.
	// Required: true
	// Enum: ["GENERAL","DATABASE"]
	CloudVolumeUsageType *string `json:"cloudVolumeUsageType"`

	// Number of disks to add on all the instances in a group.
	// Required: true
	NumberOfDisks *int32 `json:"numberOfDisks"`

	// Size of disks to add on all the instances in a group in GB.
	// Required: true
	Size *int32 `json:"size"`

	// Type of disks to add on all the instances in a group.
	// Required: true
	VolumeType *string `json:"volumeType"`
}

AddDisks Attached volume configuration.

swagger:model AddDisks

func (*AddDisks) ContextValidate ¶ added in v0.5.9

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

ContextValidate validates this add disks based on context it is used

func (*AddDisks) MarshalBinary ¶ added in v0.5.9

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

MarshalBinary interface implementation

func (*AddDisks) UnmarshalBinary ¶ added in v0.5.9

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

UnmarshalBinary interface implementation

func (*AddDisks) Validate ¶ added in v0.5.9

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

Validate validates this add disks

type AttachedVolumeDetail ¶

type AttachedVolumeDetail struct {

	// The number of volumes.
	Count int32 `json:"count,omitempty"`

	// The size of each volume in GB.
	Size int32 `json:"size,omitempty"`

	// The type of volumes.
	VolumeType string `json:"volumeType,omitempty"`
}

AttachedVolumeDetail The attached volume configuration.

swagger:model AttachedVolumeDetail

func (*AttachedVolumeDetail) ContextValidate ¶

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

ContextValidate validates this attached volume detail based on context it is used

func (*AttachedVolumeDetail) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AttachedVolumeDetail) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AttachedVolumeDetail) Validate ¶

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

Validate validates this attached volume detail

type AttachedVolumeRequest ¶

type AttachedVolumeRequest struct {

	// The attached volume count.
	// Required: true
	VolumeCount *int32 `json:"volumeCount"`

	// The attached volume size.
	// Required: true
	VolumeSize *int32 `json:"volumeSize"`

	// The attached volume type.
	// Required: true
	VolumeType *string `json:"volumeType"`
}

AttachedVolumeRequest Configurations for additional attached volumes.

swagger:model AttachedVolumeRequest

func (*AttachedVolumeRequest) ContextValidate ¶

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

ContextValidate validates this attached volume request based on context it is used

func (*AttachedVolumeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AttachedVolumeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AttachedVolumeRequest) Validate ¶

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

Validate validates this attached volume request

type AutoScaleLoadRequest ¶

type AutoScaleLoadRequest struct {

	// Configuration for Load Based Scaling
	// Required: true
	Configuration *AutoScaleLoadRequestConfiguration `json:"configuration"`

	// An optional description for the specific schedule.
	// Max Length: 1000
	// Min Length: 0
	Description *string `json:"description,omitempty"`

	// An optional identifier for the rule. Generally useful for debugging. Will be auto-generated if none is provided.
	// Max Length: 200
	// Min Length: 5
	Identifier string `json:"identifier,omitempty"`
}

AutoScaleLoadRequest Configuration for Load Based Scaling

swagger:model AutoScaleLoadRequest

func (*AutoScaleLoadRequest) ContextValidate ¶

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

ContextValidate validate this auto scale load request based on the context it is used

func (*AutoScaleLoadRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AutoScaleLoadRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AutoScaleLoadRequest) Validate ¶

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

Validate validates this auto scale load request

type AutoScaleLoadRequestConfiguration ¶

type AutoScaleLoadRequestConfiguration struct {

	// Minimum time, in minutes, between autoscale activity
	CoolDownMinutes int32 `json:"coolDownMinutes,omitempty"`

	// The upper bound for the resource
	// Required: true
	// Minimum: 0
	MaxResourceValue *int32 `json:"maxResourceValue"`

	// The maximum scale down step size.
	MaxScaleDownStepSize int32 `json:"maxScaleDownStepSize,omitempty"`

	// The maximum scale up step size.
	MaxScaleUpStepSize int32 `json:"maxScaleUpStepSize,omitempty"`

	// The lower bound for the resource
	// Required: true
	// Minimum: 0
	MinResourceValue *int32 `json:"minResourceValue"`

	// Minimum time (in minutes) for scale down, after last autoscaling action. Use this to override coolDownMinutes.
	ScaleDownCoolDownMinutes int32 `json:"scaleDownCoolDownMinutes,omitempty"`

	// Minimum time (in minutes) for scale up, after last autoscaling action. Use this to override coolDownMinutes.
	ScaleUpCoolDownMinutes int32 `json:"scaleUpCoolDownMinutes,omitempty"`
}

AutoScaleLoadRequestConfiguration Configuration for load based scaling

swagger:model AutoScaleLoadRequestConfiguration

func (*AutoScaleLoadRequestConfiguration) ContextValidate ¶

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

ContextValidate validates this auto scale load request configuration based on context it is used

func (*AutoScaleLoadRequestConfiguration) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AutoScaleLoadRequestConfiguration) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AutoScaleLoadRequestConfiguration) Validate ¶

Validate validates this auto scale load request configuration

type AutoScaleLoadResponse ¶

type AutoScaleLoadResponse struct {

	// Configuration for Load Based Scaling
	// Required: true
	Configuration *AutoScaleLoadResponseConfiguration `json:"configuration"`

	// Description for the specified schedule.
	Description string `json:"description,omitempty"`

	// An identifer for this rule. Useful for debugging and logging.
	// Required: true
	Identifier *string `json:"identifier"`
}

AutoScaleLoadResponse Configuration for Load Based Scaling

swagger:model AutoScaleLoadResponse

func (*AutoScaleLoadResponse) ContextValidate ¶

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

ContextValidate validate this auto scale load response based on the context it is used

func (*AutoScaleLoadResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AutoScaleLoadResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AutoScaleLoadResponse) Validate ¶

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

Validate validates this auto scale load response

type AutoScaleLoadResponseConfiguration ¶

type AutoScaleLoadResponseConfiguration struct {

	// Minimum time, in minutes, between autoscale activity
	CoolDownMinutes int32 `json:"coolDownMinutes,omitempty"`

	// The upper bound for the resource
	// Required: true
	MaxResourceValue *int32 `json:"maxResourceValue"`

	// The maximum scale down step size.
	MaxScaleDownStepSize int32 `json:"maxScaleDownStepSize,omitempty"`

	// The maximum scale up step size.
	MaxScaleUpStepSize int32 `json:"maxScaleUpStepSize,omitempty"`

	// The lower bound for the resource
	// Required: true
	MinResourceValue *int32 `json:"minResourceValue"`

	// Minimum time (in minutes) for scale down, after last autoscaling action. Use this to override coolDownMinutes.
	ScaleDownCoolDownMinutes int32 `json:"scaleDownCoolDownMinutes,omitempty"`

	// Minimum time (in minutes) for scale up, after last autoscaling action. Use this to override coolDownMinutes.
	ScaleUpCoolDownMinutes int32 `json:"scaleUpCoolDownMinutes,omitempty"`
}

AutoScaleLoadResponseConfiguration Configuration for load based scaling

swagger:model AutoScaleLoadResponseConfiguration

func (*AutoScaleLoadResponseConfiguration) ContextValidate ¶

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

ContextValidate validates this auto scale load response configuration based on context it is used

func (*AutoScaleLoadResponseConfiguration) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AutoScaleLoadResponseConfiguration) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AutoScaleLoadResponseConfiguration) Validate ¶

Validate validates this auto scale load response configuration

type AutoScalePolicyRequest ¶

type AutoScalePolicyRequest struct {

	// A single hostgroup, or a comma separated list of hostGroups to which the rules apply
	// Required: true
	// Max Length: 200
	// Min Length: 1
	HostGroups *string `json:"hostGroups"`

	// Load based policy
	LoadBasedPolicy *AutoScaleLoadRequest `json:"loadBasedPolicy,omitempty"`

	// Scheduled based policy
	ScheduleBasedPolicy *AutoScaleScheduleRequest `json:"scheduleBasedPolicy,omitempty"`
}

AutoScalePolicyRequest An individual AutoScale Policy

swagger:model AutoScalePolicyRequest

func (*AutoScalePolicyRequest) ContextValidate ¶

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

ContextValidate validate this auto scale policy request based on the context it is used

func (*AutoScalePolicyRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AutoScalePolicyRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AutoScalePolicyRequest) Validate ¶

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

Validate validates this auto scale policy request

type AutoScalePolicyResponse ¶

type AutoScalePolicyResponse struct {

	// A single hostgroup, or a comma separated list of hostGroups to which the rules apply
	// Required: true
	HostGroups *string `json:"hostGroups"`

	// Load based policy
	LoadBasedPolicy *AutoScaleLoadResponse `json:"loadBasedPolicy,omitempty"`

	// Scheduled based policy
	ScheduleBasedPolicy *AutoScaleScheduleResponse `json:"scheduleBasedPolicy,omitempty"`
}

AutoScalePolicyResponse An individual AutoScale Policy

swagger:model AutoScalePolicyResponse

func (*AutoScalePolicyResponse) ContextValidate ¶

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

ContextValidate validate this auto scale policy response based on the context it is used

func (*AutoScalePolicyResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AutoScalePolicyResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AutoScalePolicyResponse) Validate ¶

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

Validate validates this auto scale policy response

type AutoScaleRulesResponse ¶

type AutoScaleRulesResponse struct {

	// The actual scaling policy(ies) for the cluster
	// Required: true
	AutoScalePolicies []*AutoScalePolicyResponse `json:"autoScalePolicies"`

	// The name or CRN of the cluster.
	// Required: true
	// Max Length: 500
	// Min Length: 5
	ClusterName *string `json:"clusterName"`

	// Whether autoscaling is enabled or not for the cluster
	// Required: true
	Enabled *bool `json:"enabled"`

	// Whether StopStart scaling mechanism is enabled for the cluster.
	UseStopStartMechanism bool `json:"useStopStartMechanism,omitempty"`
}

AutoScaleRulesResponse Autoscale configuration

swagger:model AutoScaleRulesResponse

func (*AutoScaleRulesResponse) ContextValidate ¶

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

ContextValidate validate this auto scale rules response based on the context it is used

func (*AutoScaleRulesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AutoScaleRulesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AutoScaleRulesResponse) Validate ¶

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

Validate validates this auto scale rules response

type AutoScaleScheduleRequest ¶

type AutoScaleScheduleRequest struct {

	// List of individual schedules
	Schedules []*IndividualScheduleRequest `json:"schedules"`
}

AutoScaleScheduleRequest Schedule for AutoScaling

swagger:model AutoScaleScheduleRequest

func (*AutoScaleScheduleRequest) ContextValidate ¶

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

ContextValidate validate this auto scale schedule request based on the context it is used

func (*AutoScaleScheduleRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AutoScaleScheduleRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AutoScaleScheduleRequest) Validate ¶

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

Validate validates this auto scale schedule request

type AutoScaleScheduleResponse ¶

type AutoScaleScheduleResponse struct {

	// List of individual schedules
	Schedules []*IndividualScheduleResponse `json:"schedules"`
}

AutoScaleScheduleResponse Schedule for AutoScaling

swagger:model AutoScaleScheduleResponse

func (*AutoScaleScheduleResponse) ContextValidate ¶

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

ContextValidate validate this auto scale schedule response based on the context it is used

func (*AutoScaleScheduleResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AutoScaleScheduleResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AutoScaleScheduleResponse) Validate ¶

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

Validate validates this auto scale schedule response

type AzureInstanceGroupRequest ¶

type AzureInstanceGroupRequest struct {

	// The attached volume configuration. This does not include root volume.
	// Required: true
	AttachedVolumeConfiguration []*AttachedVolumeRequest `json:"attachedVolumeConfiguration"`

	// List of availability zones that this instance group is associated with.
	AvailabilityZones []string `json:"availabilityZones"`

	// The instance group name.
	// Required: true
	InstanceGroupName *string `json:"instanceGroupName"`

	// The instance group type.
	// Required: true
	InstanceGroupType *string `json:"instanceGroupType"`

	// The cloud provider specific instance type to be used.
	// Required: true
	InstanceType *string `json:"instanceType"`

	// Number of instances in the instance group
	// Required: true
	NodeCount *int32 `json:"nodeCount"`

	// The names or CRNs of the recipes that would be applied to the instance group.
	RecipeNames []string `json:"recipeNames"`

	// Recovery mode for the instance group.
	RecoveryMode string `json:"recoveryMode,omitempty"`

	// The root volume size.
	// Required: true
	RootVolumeSize *int32 `json:"rootVolumeSize"`
}

AzureInstanceGroupRequest Configurations for instance group

swagger:model AzureInstanceGroupRequest

func (*AzureInstanceGroupRequest) ContextValidate ¶

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

ContextValidate validate this azure instance group request based on the context it is used

func (*AzureInstanceGroupRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureInstanceGroupRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureInstanceGroupRequest) Validate ¶

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

Validate validates this azure instance group request

type CancelDatahubDiagnosticsRequest ¶

type CancelDatahubDiagnosticsRequest struct {

	// CRN of the DataHub cluster.
	// Required: true
	Crn *string `json:"crn"`
}

CancelDatahubDiagnosticsRequest Request object for cancel running Datahub diagnostics collections.

swagger:model CancelDatahubDiagnosticsRequest

func (*CancelDatahubDiagnosticsRequest) ContextValidate ¶

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

ContextValidate validates this cancel datahub diagnostics request based on context it is used

func (*CancelDatahubDiagnosticsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CancelDatahubDiagnosticsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CancelDatahubDiagnosticsRequest) Validate ¶

Validate validates this cancel datahub diagnostics request

type CancelDatahubDiagnosticsResponse ¶

type CancelDatahubDiagnosticsResponse interface{}

CancelDatahubDiagnosticsResponse Response object for cancel running Datahub diagnostics collections.

swagger:model CancelDatahubDiagnosticsResponse

type ClouderaManagerDetails ¶

type ClouderaManagerDetails struct {

	// CDP Platform version.
	PlatformVersion string `json:"platformVersion,omitempty"`

	// Cloudera Manager version.
	// Required: true
	Version *string `json:"version"`
}

ClouderaManagerDetails Cloudera Manager details.

swagger:model ClouderaManagerDetails

func (*ClouderaManagerDetails) ContextValidate ¶

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

ContextValidate validates this cloudera manager details based on context it is used

func (*ClouderaManagerDetails) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClouderaManagerDetails) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClouderaManagerDetails) Validate ¶

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

Validate validates this cloudera manager details

type Cluster ¶

type Cluster struct {

	// The cloud platform.
	CloudPlatform string `json:"cloudPlatform,omitempty"`

	// The Cloudera Manager details.
	ClouderaManager *ClouderaManagerDetails `json:"clouderaManager,omitempty"`

	// The name of the cluster.
	// Required: true
	ClusterName *string `json:"clusterName"`

	// The status of the cluster.
	ClusterStatus string `json:"clusterStatus,omitempty"`

	// The CRN of the cluster template used for the cluster creation.
	ClusterTemplateCrn string `json:"clusterTemplateCrn,omitempty"`

	// The date when the cluster was created.
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// The CRN of the credential.
	CredentialCrn string `json:"credentialCrn,omitempty"`

	// The CRN of the cluster.
	// Required: true
	Crn *string `json:"crn"`

	// The CRN of the attached datalake.
	DatalakeCrn string `json:"datalakeCrn,omitempty"`

	// The exposed service api endpoints.
	Endpoints *Endpoints `json:"endpoints,omitempty"`

	// The CRN of the environment.
	EnvironmentCrn string `json:"environmentCrn,omitempty"`

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

	// The image details.
	ImageDetails *ImageDetails `json:"imageDetails,omitempty"`

	// The instance details.
	InstanceGroups []*InstanceGroup `json:"instanceGroups"`

	// Flag that toggles the multi availability zone for the given datahub cluster when you are not sure what subnet IDs can be used. This way the subnet IDs will be used what the environment suggests.
	MultiAz *bool `json:"multiAz,omitempty"`

	// The cluster node count.
	NodeCount int32 `json:"nodeCount,omitempty"`

	// The status of the stack.
	Status string `json:"status,omitempty"`

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

	// The workload type for the cluster.
	WorkloadType string `json:"workloadType,omitempty"`
}

Cluster Information about a cluster.

swagger:model Cluster

func (*Cluster) ContextValidate ¶

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

ContextValidate validate this cluster based on the context it is used

func (*Cluster) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Cluster) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Cluster) Validate ¶

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

Validate validates this cluster

type ClusterDefinition ¶

type ClusterDefinition struct {

	// The cloud platform.
	CloudPlatform string `json:"cloudPlatform,omitempty"`

	// The name of the cluster definition.
	// Required: true
	ClusterDefinitionName *string `json:"clusterDefinitionName"`

	// The CRN of the cluster definition.
	// Required: true
	Crn *string `json:"crn"`

	// The description of the cluster definition.
	Description string `json:"description,omitempty"`

	// The CRN of the environment.
	EnvironmentCrn string `json:"environmentCrn,omitempty"`

	// The type of cluster definition.
	Type string `json:"type,omitempty"`

	// The workload template.
	WorkloadTemplate string `json:"workloadTemplate,omitempty"`
}

ClusterDefinition Information about a cluster definition.

swagger:model ClusterDefinition

func (*ClusterDefinition) ContextValidate ¶

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

ContextValidate validates this cluster definition based on context it is used

func (*ClusterDefinition) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterDefinition) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterDefinition) Validate ¶

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

Validate validates this cluster definition

type ClusterDefinitionSummary ¶

type ClusterDefinitionSummary struct {

	// The cloud platform.
	CloudPlatform string `json:"cloudPlatform,omitempty"`

	// The name of the cluster definition.
	// Required: true
	ClusterDefinitionName *string `json:"clusterDefinitionName"`

	// The CRN of the cluster definition.
	// Required: true
	Crn *string `json:"crn"`

	// The description of the cluster definition.
	Description string `json:"description,omitempty"`

	// The CRN of the environment.
	EnvironmentCrn string `json:"environmentCrn,omitempty"`

	// The node count of the cluster.
	NodeCount int32 `json:"nodeCount,omitempty"`

	// The product version.
	ProductVersion string `json:"productVersion,omitempty"`

	// The type of cluster definition.
	Type string `json:"type,omitempty"`
}

ClusterDefinitionSummary Information about a cluster definition.

swagger:model ClusterDefinitionSummary

func (*ClusterDefinitionSummary) ContextValidate ¶

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

ContextValidate validates this cluster definition summary based on context it is used

func (*ClusterDefinitionSummary) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterDefinitionSummary) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterDefinitionSummary) Validate ¶

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

Validate validates this cluster definition summary

type ClusterExtension ¶

type ClusterExtension struct {

	// The custom properties JSON, encoded in base64.
	CustomProperties string `json:"customProperties,omitempty"`
}

ClusterExtension Cluster extensions for Data Hub cluster.

swagger:model ClusterExtension

func (*ClusterExtension) ContextValidate ¶

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

ContextValidate validates this cluster extension based on context it is used

func (*ClusterExtension) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterExtension) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterExtension) Validate ¶

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

Validate validates this cluster extension

type ClusterLdapDetails ¶

type ClusterLdapDetails struct {

	// Admin group.
	AdminGroup string `json:"adminGroup,omitempty"`

	// Certificate.
	Certificate string `json:"certificate,omitempty"`

	// Description of the LDAP.
	Description string `json:"description,omitempty"`

	// Directory type.
	DirectoryType string `json:"directoryType,omitempty"`

	// LDAP domain.
	Domain string `json:"domain,omitempty"`

	// Group member attribute.
	GroupMemberAttribute string `json:"groupMemberAttribute,omitempty"`

	// Group name attribute.
	GroupNameAttribute string `json:"groupNameAttribute,omitempty"`

	// Group object class.
	GroupObjectClass string `json:"groupObjectClass,omitempty"`

	// Group search base.
	GroupSearchBase string `json:"groupSearchBase,omitempty"`

	// ID of the LDAP.
	ID int64 `json:"id,omitempty"`

	// Name of the LDAP.
	Name string `json:"name,omitempty"`

	// LDAP protocol.
	Protocol string `json:"protocol,omitempty"`

	// LDAP server host.
	ServerHost string `json:"serverHost,omitempty"`

	// LDAP server port.
	ServerPort int32 `json:"serverPort,omitempty"`

	// Tenant name.
	TenantName string `json:"tenantName,omitempty"`

	// UserDN pattern.
	UserDnPattern string `json:"userDnPattern,omitempty"`

	// User ID.
	UserID string `json:"userId,omitempty"`

	// User name.
	UserName string `json:"userName,omitempty"`

	// User name attribute.
	UserNameAttribute string `json:"userNameAttribute,omitempty"`

	// User object class.
	UserObjectClass string `json:"userObjectClass,omitempty"`

	// User search base.
	UserSearchBase string `json:"userSearchBase,omitempty"`

	// Workspace ID.
	WorkspaceID int64 `json:"workspaceId,omitempty"`
}

ClusterLdapDetails Details of the LDAP attached to cluster.

swagger:model ClusterLdapDetails

func (*ClusterLdapDetails) ContextValidate ¶

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

ContextValidate validates this cluster ldap details based on context it is used

func (*ClusterLdapDetails) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterLdapDetails) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterLdapDetails) Validate ¶

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

Validate validates this cluster ldap details

type ClusterLifecycleEvents ¶

type ClusterLifecycleEvents struct {

	// Cloud provider availability zone for the region in which the cluster is deployed.
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// Blueprint ID for the blueprint deployed on the cluster.
	BlueprintID int64 `json:"blueprintId,omitempty"`

	// Blueprint name for the blueprint deployed on the cluster.
	BlueprintName string `json:"blueprintName,omitempty"`

	// Cloud provider type.
	CloudType string `json:"cloudType,omitempty"`

	// ID of the cluster.
	ClusterID int64 `json:"clusterId,omitempty"`

	// Name of the cluster.
	ClusterName string `json:"clusterName,omitempty"`

	// Status of the cluster.
	ClusterStatus StackStatus `json:"clusterStatus,omitempty"`

	// Message from this event.
	EventMessage string `json:"eventMessage,omitempty"`

	// Timestamp of this event.
	// Format: date-time
	EventTimestamp strfmt.DateTime `json:"eventTimestamp,omitempty"`

	// Type of the event.
	EventType string `json:"eventType,omitempty"`

	// Name of the instance group.
	InstanceGroup string `json:"instanceGroup,omitempty"`

	// Details of the LDAP.
	LdapDetails *ClusterLdapDetails `json:"ldapDetails,omitempty"`

	// Current node count for the nodes in the cluster.
	NodeCount int32 `json:"nodeCount,omitempty"`

	// Type of notification as identified in the UI.
	NotificationType string `json:"notificationType,omitempty"`

	// Details of the RDS.
	RdsDetails *ClusterRdsDetails `json:"rdsDetails,omitempty"`

	// Cloud provider region in which the cluster is deployed.
	Region string `json:"region,omitempty"`

	// The unique CRN of the resource.
	StackCrn string `json:"stackCrn,omitempty"`

	// Name of the stack.
	StackName string `json:"stackName,omitempty"`

	// Current status of the stack.
	StackStatus StackStatus `json:"stackStatus,omitempty"`

	// Name of the current tenant.
	TenantName string `json:"tenantName,omitempty"`

	// User ID.
	UserID string `json:"userId,omitempty"`

	// Workspace ID of the resource.
	WorkspaceID int64 `json:"workspaceId,omitempty"`
}

ClusterLifecycleEvents Related events for the stack.

swagger:model ClusterLifecycleEvents

func (*ClusterLifecycleEvents) ContextValidate ¶

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

ContextValidate validate this cluster lifecycle events based on the context it is used

func (*ClusterLifecycleEvents) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterLifecycleEvents) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterLifecycleEvents) Validate ¶

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

Validate validates this cluster lifecycle events

type ClusterRdsDetails ¶

type ClusterRdsDetails struct {

	// Connection driver.
	ConnectionDriver string `json:"connectionDriver,omitempty"`

	// Connection URL of RDS.
	ConnectionURL string `json:"connectionURL,omitempty"`

	// Connector Jar URL.
	ConnectorJarURL string `json:"connectorJarUrl,omitempty"`

	// RDS creation date.
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// Database engine.
	DatabaseEngine string `json:"databaseEngine,omitempty"`

	// Description of RDS.
	Description string `json:"description,omitempty"`

	// Set to true if RDS is external.
	External bool `json:"external,omitempty"`

	// ID of RDS.
	ID int64 `json:"id,omitempty"`

	// Name of RDS.
	Name string `json:"name,omitempty"`

	// SSL mode.
	SslMode string `json:"sslMode,omitempty"`

	// Stack version.
	StackVersion string `json:"stackVersion,omitempty"`

	// Status of RDS.
	Status string `json:"status,omitempty"`

	// RDS tenant name.
	TenantName string `json:"tenantName,omitempty"`

	// Type of RDS.
	Type string `json:"type,omitempty"`

	// User ID.
	UserID string `json:"userId,omitempty"`

	// User name.
	UserName string `json:"userName,omitempty"`

	// Workspace ID.
	WorkspaceID int64 `json:"workspaceId,omitempty"`
}

ClusterRdsDetails Details of the RDS attached to cluster.

swagger:model ClusterRdsDetails

func (*ClusterRdsDetails) ContextValidate ¶

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

ContextValidate validates this cluster rds details based on context it is used

func (*ClusterRdsDetails) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterRdsDetails) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterRdsDetails) Validate ¶

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

Validate validates this cluster rds details

type ClusterSummary ¶

type ClusterSummary struct {

	// Indicates the certificate status on the cluster.
	// Enum: ["VALID","HOST_CERT_EXPIRING"]
	CertificateExpirationState string `json:"certificateExpirationState,omitempty"`

	// The name of the cloud platform.
	CloudPlatform string `json:"cloudPlatform,omitempty"`

	// The name of the cluster.
	// Required: true
	ClusterName *string `json:"clusterName"`

	// The CRN of the cluster template used for the cluster creation.
	ClusterTemplateCrn string `json:"clusterTemplateCrn,omitempty"`

	// The date when the cluster was created.
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// The CRN of the cluster.
	// Required: true
	Crn *string `json:"crn"`

	// The CRN of the attached datalake.
	DatalakeCrn string `json:"datalakeCrn,omitempty"`

	// The CRN of the environment.
	EnvironmentCrn string `json:"environmentCrn,omitempty"`

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

	// The cluster node count.
	NodeCount int32 `json:"nodeCount,omitempty"`

	// The status of the cluster.
	Status string `json:"status,omitempty"`

	// The type of cluster.
	WorkloadType string `json:"workloadType,omitempty"`
}

ClusterSummary Information about a cluster.

swagger:model ClusterSummary

func (*ClusterSummary) ContextValidate ¶

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

ContextValidate validates this cluster summary based on context it is used

func (*ClusterSummary) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterSummary) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterSummary) Validate ¶

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

Validate validates this cluster summary

type ClusterTemplate ¶

type ClusterTemplate struct {

	// The content of the cluster template.
	ClusterTemplateContent string `json:"clusterTemplateContent,omitempty"`

	// The name of the cluster template.
	// Required: true
	ClusterTemplateName *string `json:"clusterTemplateName"`

	// The CRN of the cluster template.
	// Required: true
	Crn *string `json:"crn"`

	// The description of the cluster template.
	Description string `json:"description,omitempty"`

	// The instance group count of the cluster.
	InstanceGroupCount int32 `json:"instanceGroupCount,omitempty"`

	// The status of the cluster template.
	Status string `json:"status,omitempty"`

	// Tags added to the cluster template.
	Tags []*DatahubResourceTag `json:"tags"`
}

ClusterTemplate Information about a cluster template.

swagger:model ClusterTemplate

func (*ClusterTemplate) ContextValidate ¶

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

ContextValidate validate this cluster template based on the context it is used

func (*ClusterTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterTemplate) Validate ¶

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

Validate validates this cluster template

type ClusterTemplateSummary ¶

type ClusterTemplateSummary struct {

	// The name of the cluster template.
	// Required: true
	ClusterTemplateName *string `json:"clusterTemplateName"`

	// The CRN of the cluster template.
	// Required: true
	Crn *string `json:"crn"`

	// The description of the cluster template.
	Description string `json:"description,omitempty"`

	// The instance group count of the cluster.
	InstanceGroupCount int32 `json:"instanceGroupCount,omitempty"`

	// The product version.
	ProductVersion string `json:"productVersion,omitempty"`

	// The status of the cluster template.
	Status string `json:"status,omitempty"`

	// Tags added to the cluster template.
	Tags []*DatahubResourceTag `json:"tags"`
}

ClusterTemplateSummary Information about a cluster template.

swagger:model ClusterTemplateSummary

func (*ClusterTemplateSummary) ContextValidate ¶

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

ContextValidate validate this cluster template summary based on the context it is used

func (*ClusterTemplateSummary) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterTemplateSummary) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterTemplateSummary) Validate ¶

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

Validate validates this cluster template summary

type CollectCmDiagnosticsRequest ¶

type CollectCmDiagnosticsRequest struct {

	// Diagnostics bundle size limit in MB.
	BundleSizeLimit int32 `json:"bundleSizeLimit,omitempty"`

	// Optional support case number in case of SUPPORT destination, otherwise only act as additional data.
	CaseNumber string `json:"caseNumber,omitempty"`

	// CRN of the Datahub cluster.
	// Required: true
	Crn *string `json:"crn"`

	// Additional information / title for the diagnostics collection.
	Description string `json:"description,omitempty"`

	// Destination of the diagnostics collection (Support, Own cloud storage, Engineering or collect only on the nodes)
	// Required: true
	// Enum: ["SUPPORT","CLOUD_STORAGE","LOCAL"]
	Destination *string `json:"destination"`

	// Restrict collected logs and metrics (until the provided date timestamp).
	// Format: date-time
	EndDate strfmt.DateTime `json:"endDate,omitempty"`

	// Flag to enable collection of metrics for chart display in CM based diagnostics collection.
	MonitorMetricsCollection *bool `json:"monitorMetricsCollection,omitempty"`

	// Array of roles for which to get logs and metrics. If set, this restricts the roles for log and metrics collection.
	// Unique: true
	Roles []string `json:"roles"`

	// Restrict collected logs and metrics (from the provided date timestamp).
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate,omitempty"`

	// Enable/disable node level storage validation (can be disabled for example, if you have too many hosts and do not want to do too much parallel writes to s3/abfs)
	StorageValidation *bool `json:"storageValidation,omitempty"`

	// If enabled, required package (cdp-telemetry) will be upgraded or installed on the nodes. (useful if package is not installed or needs to be upgraded) Network is required for this operation.
	UpdatePackage *bool `json:"updatePackage,omitempty"`
}

CollectCmDiagnosticsRequest Request object for collecting Datahub diagnostics.

swagger:model CollectCmDiagnosticsRequest

func (*CollectCmDiagnosticsRequest) ContextValidate ¶

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

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

func (*CollectCmDiagnosticsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CollectCmDiagnosticsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CollectCmDiagnosticsRequest) Validate ¶

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

Validate validates this collect cm diagnostics request

type CollectCmDiagnosticsResponse ¶

type CollectCmDiagnosticsResponse interface{}

CollectCmDiagnosticsResponse Response object for collecting Datahub diagnostics.

swagger:model CollectCmDiagnosticsResponse

type CollectDatahubDiagnosticsRequest ¶

type CollectDatahubDiagnosticsRequest struct {

	// Array of log descriptors that should be additionally collected during diagnostics collection.
	AdditionalLogs []*DatahubVMLogRequest `json:"additionalLogs"`

	// Optional support case number in case of SUPPORT destination, otherwise only act as additional data.
	CaseNumber string `json:"caseNumber,omitempty"`

	// CRN of the DataHub cluster.
	// Required: true
	Crn *string `json:"crn"`

	// Additional information / title for the diagnostics collection.
	// Required: true
	Description *string `json:"description"`

	// Destination of the diagnostics collection (Support, Own cloud storage, Engineering or collect only on the nodes)
	// Required: true
	// Enum: ["SUPPORT","CLOUD_STORAGE","ENG","LOCAL"]
	Destination *string `json:"destination"`

	// Date timestamp - collect files only for diagnostics that has lower created timestamp value than this.
	// Format: date-time
	EndDate strfmt.DateTime `json:"endDate,omitempty"`

	// Array of host names (fqdn or IP address), collection will not run on the excluded hosts.
	// Unique: true
	ExcludeHosts []string `json:"excludeHosts"`

	// Array of host groups, collection will run only on the dedicated hosts that belongs to these host groups.
	// Unique: true
	HostGroups []string `json:"hostGroups"`

	// Array of host names (fqdn), collection will run only on the dedicated hosts.
	// Unique: true
	Hosts []string `json:"hosts"`

	// Include Nginx report generated by GoAccess (if available).
	IncludeNginxReport bool `json:"includeNginxReport,omitempty"`

	// Include salt minion/master/api system logs in the diagnostics collection.
	IncludeSaltLogs bool `json:"includeSaltLogs,omitempty"`

	// Include SAR (System Activity Report) generated outputs in the diagnostics collection (if available).
	IncludeSarOutput bool `json:"includeSarOutput,omitempty"`

	// Array of labels that can filter logs that are collected during diagnostics collection.
	// Unique: true
	Labels []string `json:"labels"`

	// Skip unhealthy hosts from the diagnostics collection.
	SkipUnresponsiveHosts bool `json:"skipUnresponsiveHosts,omitempty"`

	// Date timestamp - collect files only for diagnostics that has higher last modified timestamp value than this.
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate,omitempty"`

	// Enable/disable node level storage validation (can be disabled for example, if you have too many hosts and do not want to do too much parallel writes to s3/abfs)
	StorageValidation *bool `json:"storageValidation,omitempty"`

	// If enabled, required package (cdp-telemetry) will be upgraded or installed on the nodes. (useful if package is not installed or needs to be upgraded) Network is required for this operation.
	UpdatePackage *bool `json:"updatePackage,omitempty"`
}

CollectDatahubDiagnosticsRequest Request object for collecting DataHub diagnostics.

swagger:model CollectDatahubDiagnosticsRequest

func (*CollectDatahubDiagnosticsRequest) ContextValidate ¶

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

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

func (*CollectDatahubDiagnosticsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CollectDatahubDiagnosticsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CollectDatahubDiagnosticsRequest) Validate ¶

Validate validates this collect datahub diagnostics request

type CollectDatahubDiagnosticsResponse ¶

type CollectDatahubDiagnosticsResponse interface{}

CollectDatahubDiagnosticsResponse Response object for collecting DataHub diagnostics.

swagger:model CollectDatahubDiagnosticsResponse

type CreateAWSClusterRequest ¶

type CreateAWSClusterRequest struct {

	// The name or CRN of the cluster definition to use for cluster creation.
	ClusterDefinition string `json:"clusterDefinition,omitempty"`

	// Deprecated, the name or CRN of the cluster definition to use for cluster creation.
	ClusterDefinitionName string `json:"clusterDefinitionName,omitempty"`

	// Cluster extensions for the given Data Hub cluster.
	ClusterExtension *ClusterExtension `json:"clusterExtension,omitempty"`

	// The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
	// Max Length: 40
	// Min Length: 5
	ClusterName string `json:"clusterName,omitempty"`

	// Name or CRN of the cluster template to use for cluster creation.
	ClusterTemplate string `json:"clusterTemplate,omitempty"`

	// Deprecated, name or CRN of the cluster template to use for cluster creation.
	ClusterTemplateName string `json:"clusterTemplateName,omitempty"`

	// The name of the custom configurations to use for cluster creation.
	CustomConfigurationsName string `json:"customConfigurationsName,omitempty"`

	// Database type for datahub. Currently supported values: NONE, NON_HA, HA
	DatahubDatabase DatahubDatabaseType `json:"datahubDatabase,omitempty"`

	// Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.
	EnableLoadBalancer bool `json:"enableLoadBalancer,omitempty"`

	// Name or CRN of the environment to use when creating the cluster. The environment must be an AWS environment.
	Environment string `json:"environment,omitempty"`

	// Deprecated, name or CRN of the environment to use when creating the cluster. The environment must be an AWS environment.
	EnvironmentName string `json:"environmentName,omitempty"`

	// The image to be used for cluster creation.
	Image *ImageRequest `json:"image,omitempty"`

	// Instance group details.
	InstanceGroups []*InstanceGroupRequest `json:"instanceGroups"`

	// Configure the major version of Java on the cluster.
	JavaVersion int32 `json:"javaVersion,omitempty"`

	// Flag that toggles the multi availability zone for the given datahub cluster when you are not sure what subnet IDs can be used. This way the subnet IDs will be used what the environment suggests.
	MultiAz bool `json:"multiAz,omitempty"`

	// JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.
	RequestTemplate string `json:"requestTemplate,omitempty"`

	// The subnet ID.
	SubnetID string `json:"subnetId,omitempty"`

	// List of subnet IDs in case of multi availability zone setup.
	SubnetIds []string `json:"subnetIds"`

	// Tags to be added to Datahub related resources.
	Tags []*DatahubResourceTagRequest `json:"tags"`
}

CreateAWSClusterRequest Request object for create AWS cluster request.

swagger:model CreateAWSClusterRequest

func (*CreateAWSClusterRequest) ContextValidate ¶

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

ContextValidate validate this create a w s cluster request based on the context it is used

func (*CreateAWSClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateAWSClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateAWSClusterRequest) Validate ¶

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

Validate validates this create a w s cluster request

type CreateAWSClusterResponse ¶

type CreateAWSClusterResponse struct {

	// The cluster.
	// Required: true
	Cluster *Cluster `json:"cluster"`
}

CreateAWSClusterResponse Response object for create AWS cluster request.

swagger:model CreateAWSClusterResponse

func (*CreateAWSClusterResponse) ContextValidate ¶

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

ContextValidate validate this create a w s cluster response based on the context it is used

func (*CreateAWSClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateAWSClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateAWSClusterResponse) Validate ¶

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

Validate validates this create a w s cluster response

type CreateAWSGovCloudClusterRequest ¶ added in v0.4.2

type CreateAWSGovCloudClusterRequest struct {

	// The name or CRN of the cluster definition to use for cluster creation.
	ClusterDefinition string `json:"clusterDefinition,omitempty"`

	// Cluster extensions for the given Data Hub cluster.
	ClusterExtension *ClusterExtension `json:"clusterExtension,omitempty"`

	// The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers, and hyphens. Names are case-sensitive.
	// Max Length: 40
	// Min Length: 5
	ClusterName string `json:"clusterName,omitempty"`

	// Name or CRN of the cluster template to use for cluster creation.
	ClusterTemplate string `json:"clusterTemplate,omitempty"`

	// Database type for datahub. Currently supported values: NONE, NON_HA, HA
	DatahubDatabase DatahubDatabaseType `json:"datahubDatabase,omitempty"`

	// Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.
	EnableLoadBalancer bool `json:"enableLoadBalancer,omitempty"`

	// Name or CRN of the environment to use when creating the cluster. The environment must be an AWS GovCloud environment.
	Environment string `json:"environment,omitempty"`

	// The image to be used for cluster creation.
	Image *ImageRequest `json:"image,omitempty"`

	// Instance group details.
	InstanceGroups []*InstanceGroupRequest `json:"instanceGroups"`

	// Configure the major version of Java on the cluster.
	JavaVersion int32 `json:"javaVersion,omitempty"`

	// Flag that toggles the multi availability zone for the given Data Hub cluster when you are not sure what subnet IDs can be used. This way the subnet IDs will be used what the environment suggests.
	MultiAz bool `json:"multiAz,omitempty"`

	// JSON template to use for cluster creation. This is different from the cluster template and would be removed in the future.
	RequestTemplate string `json:"requestTemplate,omitempty"`

	// The subnet ID.
	SubnetID string `json:"subnetId,omitempty"`

	// List of subnet IDs in case of multi availability zone setup.
	SubnetIds []string `json:"subnetIds"`

	// Tags to be added to  Data Hub related resources.
	Tags []*DatahubResourceTagRequest `json:"tags"`
}

CreateAWSGovCloudClusterRequest Request object for creating AWS Data Hub cluster request on GovCloud.

swagger:model CreateAWSGovCloudClusterRequest

func (*CreateAWSGovCloudClusterRequest) ContextValidate ¶ added in v0.4.2

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

ContextValidate validate this create a w s gov cloud cluster request based on the context it is used

func (*CreateAWSGovCloudClusterRequest) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*CreateAWSGovCloudClusterRequest) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*CreateAWSGovCloudClusterRequest) Validate ¶ added in v0.4.2

Validate validates this create a w s gov cloud cluster request

type CreateAWSGovCloudClusterResponse ¶ added in v0.4.2

type CreateAWSGovCloudClusterResponse struct {

	// The cluster.
	// Required: true
	Cluster *Cluster `json:"cluster"`
}

CreateAWSGovCloudClusterResponse Response object for create AWS cluster request on GovCloud.

swagger:model CreateAWSGovCloudClusterResponse

func (*CreateAWSGovCloudClusterResponse) ContextValidate ¶ added in v0.4.2

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

ContextValidate validate this create a w s gov cloud cluster response based on the context it is used

func (*CreateAWSGovCloudClusterResponse) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*CreateAWSGovCloudClusterResponse) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*CreateAWSGovCloudClusterResponse) Validate ¶ added in v0.4.2

Validate validates this create a w s gov cloud cluster response

type CreateAutoScaleRulesRequest ¶

type CreateAutoScaleRulesRequest struct {

	// The actual scaling policies for the cluster
	// Required: true
	AutoScalePolicies []*AutoScalePolicyRequest `json:"autoScalePolicies"`

	// The name or CRN of the cluster.
	// Required: true
	// Max Length: 500
	// Min Length: 5
	ClusterName *string `json:"clusterName"`

	// true (default) to enable Autoscaling, false to disable AutoScaling.
	Enabled bool `json:"enabled,omitempty"`

	// true to enable StopStart scaling mechanism, false to use regular AutoScaling (if enabled).
	UseStopStartMechanism bool `json:"useStopStartMechanism,omitempty"`
}

CreateAutoScaleRulesRequest Autoscale configuration request

swagger:model CreateAutoScaleRulesRequest

func (*CreateAutoScaleRulesRequest) ContextValidate ¶

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

ContextValidate validate this create auto scale rules request based on the context it is used

func (*CreateAutoScaleRulesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateAutoScaleRulesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateAutoScaleRulesRequest) Validate ¶

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

Validate validates this create auto scale rules request

type CreateAutoScaleRulesResponse ¶

type CreateAutoScaleRulesResponse struct {

	// The autoscale rules.
	AutoScaleRules *AutoScaleRulesResponse `json:"autoScaleRules,omitempty"`
}

CreateAutoScaleRulesResponse The AutoScale rules for the cluster.

swagger:model CreateAutoScaleRulesResponse

func (*CreateAutoScaleRulesResponse) ContextValidate ¶

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

ContextValidate validate this create auto scale rules response based on the context it is used

func (*CreateAutoScaleRulesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateAutoScaleRulesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateAutoScaleRulesResponse) Validate ¶

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

Validate validates this create auto scale rules response

type CreateAzureClusterRequest ¶

type CreateAzureClusterRequest struct {

	// The name or CRN of the cluster definition to use for cluster creation.
	ClusterDefinitionName string `json:"clusterDefinitionName,omitempty"`

	// Cluster extensions for the given Data Hub cluster.
	ClusterExtension *ClusterExtension `json:"clusterExtension,omitempty"`

	// The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
	// Max Length: 40
	// Min Length: 5
	ClusterName string `json:"clusterName,omitempty"`

	// Name or CRN of the cluster template to use for cluster creation.
	ClusterTemplateName string `json:"clusterTemplateName,omitempty"`

	// The name of the custom configurations to use for cluster creation.
	CustomConfigurationsName string `json:"customConfigurationsName,omitempty"`

	// The type of the azure database. FLEXIBLE_SERVER is the next generation managed PostgreSQL service in Azure that provides maximum flexibility over your database, built-in cost-optimizations. SINGLE_SERVER is a fully managed database service with minimal requirements for customizations of the database.
	// Enum: ["FLEXIBLE_SERVER","SINGLE_SERVER"]
	DatabaseType string `json:"databaseType,omitempty"`

	// Database type for datahub. Currently supported values: NONE, NON_HA, HA
	DatahubDatabase DatahubDatabaseType `json:"datahubDatabase,omitempty"`

	// Flag that decides whether to provision a load-balancer to front various service endpoints for the given datahub. This will typically be used for HA cluster shapes.
	EnableLoadBalancer bool `json:"enableLoadBalancer,omitempty"`

	// Name or CRN of the environment to use when creating the cluster. The environment must be an Azure environment.
	EnvironmentName string `json:"environmentName,omitempty"`

	// Allows you to specify the subnet ID for the subnet within which you want to configure your Azure Flexible Server.
	FlexibleServerDelegatedSubnetID string `json:"flexibleServerDelegatedSubnetId,omitempty"`

	// The image to be used for cluster creation.
	Image *ImageRequest `json:"image,omitempty"`

	// Instance group details.
	InstanceGroups []*AzureInstanceGroupRequest `json:"instanceGroups"`

	// Configure the major version of Java on the cluster.
	JavaVersion int32 `json:"javaVersion,omitempty"`

	// The SKU for the datahub load balancer. Allowed values are "BASIC", "STANDARD", or "NONE".
	LoadBalancerSku DatahubLoadBalancerSkuType `json:"loadBalancerSku,omitempty"`

	// Flag that toggles the multi availability zone feature for the given datahub cluster when unsure what subnet IDs can be used. When true, the subnet IDs suggested by the environment will be used.
	MultiAz *bool `json:"multiAz,omitempty"`

	// JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.
	RequestTemplate string `json:"requestTemplate,omitempty"`

	// The subnet ID.
	SubnetID string `json:"subnetId,omitempty"`

	// Tags to be added to Datahub related resources.
	Tags []*DatahubResourceTagRequest `json:"tags"`
}

CreateAzureClusterRequest Request object for create Azure cluster request.

swagger:model CreateAzureClusterRequest

func (*CreateAzureClusterRequest) ContextValidate ¶

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

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

func (*CreateAzureClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateAzureClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateAzureClusterRequest) Validate ¶

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

Validate validates this create azure cluster request

type CreateAzureClusterResponse ¶

type CreateAzureClusterResponse struct {

	// The cluster.
	// Required: true
	Cluster *Cluster `json:"cluster"`
}

CreateAzureClusterResponse Response object for create Azure cluster request.

swagger:model CreateAzureClusterResponse

func (*CreateAzureClusterResponse) ContextValidate ¶

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

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

func (*CreateAzureClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateAzureClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateAzureClusterResponse) Validate ¶

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

Validate validates this create azure cluster response

type CreateClusterDefinitionRequest ¶

type CreateClusterDefinitionRequest struct {

	// The name of the cluster definition. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
	// Required: true
	// Max Length: 1000
	// Min Length: 5
	ClusterDefinitionName *string `json:"clusterDefinitionName"`

	// The description of the cluster definition. The description can have a maximum of 1000 characters.
	// Max Length: 1000
	Description string `json:"description,omitempty"`

	// The cluster creation JSON. This must contain the name of a running environment.
	// Required: true
	WorkloadTemplate *string `json:"workloadTemplate"`
}

CreateClusterDefinitionRequest Request object for create cluster definition request.

swagger:model CreateClusterDefinitionRequest

func (*CreateClusterDefinitionRequest) ContextValidate ¶

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

ContextValidate validates this create cluster definition request based on context it is used

func (*CreateClusterDefinitionRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateClusterDefinitionRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateClusterDefinitionRequest) Validate ¶

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

Validate validates this create cluster definition request

type CreateClusterDefinitionResponse ¶

type CreateClusterDefinitionResponse struct {

	// The clusterDefinition.
	// Required: true
	ClusterDefinition *ClusterDefinition `json:"clusterDefinition"`
}

CreateClusterDefinitionResponse Response object for create cluster definition request.

swagger:model CreateClusterDefinitionResponse

func (*CreateClusterDefinitionResponse) ContextValidate ¶

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

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

func (*CreateClusterDefinitionResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateClusterDefinitionResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateClusterDefinitionResponse) Validate ¶

Validate validates this create cluster definition response

type CreateClusterTemplateRequest ¶

type CreateClusterTemplateRequest struct {

	// The cluster template content.
	// Required: true
	ClusterTemplateContent *string `json:"clusterTemplateContent"`

	// The name of the cluster template. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
	// Required: true
	// Max Length: 1000
	// Min Length: 5
	ClusterTemplateName *string `json:"clusterTemplateName"`

	// The description of the cluster template. The description can have a maximum of 1000 characters.
	// Max Length: 1000
	Description string `json:"description,omitempty"`

	// Tags to be added to the cluster template.
	Tags []*DatahubResourceTagRequest `json:"tags"`
}

CreateClusterTemplateRequest Request object for create cluster template request.

swagger:model CreateClusterTemplateRequest

func (*CreateClusterTemplateRequest) ContextValidate ¶

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

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

func (*CreateClusterTemplateRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateClusterTemplateRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateClusterTemplateRequest) Validate ¶

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

Validate validates this create cluster template request

type CreateClusterTemplateResponse ¶

type CreateClusterTemplateResponse struct {

	// The cluster template.
	// Required: true
	ClusterTemplate *ClusterTemplate `json:"clusterTemplate"`
}

CreateClusterTemplateResponse Response object for create cluster template request.

swagger:model CreateClusterTemplateResponse

func (*CreateClusterTemplateResponse) ContextValidate ¶

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

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

func (*CreateClusterTemplateResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateClusterTemplateResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateClusterTemplateResponse) Validate ¶

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

Validate validates this create cluster template response

type CreateCustomConfigurationsRequest ¶

type CreateCustomConfigurationsRequest struct {

	// The configuration properties of custom configurations.
	// Required: true
	Configurations []*CustomConfigurationPropertyRequest `json:"configurations"`

	// The name of the custom configurations. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers, and hyphens. Names are case-sensitive.
	// Required: true
	CustomConfigurationsName *string `json:"customConfigurationsName"`

	// The runtime version of custom configurations.
	RuntimeVersion string `json:"runtimeVersion,omitempty"`
}

CreateCustomConfigurationsRequest The request object for creating custom configurations request.

swagger:model CreateCustomConfigurationsRequest

func (*CreateCustomConfigurationsRequest) ContextValidate ¶

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

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

func (*CreateCustomConfigurationsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateCustomConfigurationsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateCustomConfigurationsRequest) Validate ¶

Validate validates this create custom configurations request

type CreateCustomConfigurationsResponse ¶

type CreateCustomConfigurationsResponse struct {

	// The custom configurations.
	// Required: true
	CustomConfigurations *CustomConfigurations `json:"customConfigurations"`
}

CreateCustomConfigurationsResponse The response object for create custom configurations request.

swagger:model CreateCustomConfigurationsResponse

func (*CreateCustomConfigurationsResponse) ContextValidate ¶

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

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

func (*CreateCustomConfigurationsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateCustomConfigurationsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateCustomConfigurationsResponse) Validate ¶

Validate validates this create custom configurations response

type CreateGCPClusterRequest ¶

type CreateGCPClusterRequest struct {

	// The name or CRN of the cluster definition to use for cluster creation.
	ClusterDefinitionName string `json:"clusterDefinitionName,omitempty"`

	// Cluster extensions for the given Data Hub cluster.
	ClusterExtension *ClusterExtension `json:"clusterExtension,omitempty"`

	// The name of the cluster. This name must be unique, must have between 5 and 40 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
	// Max Length: 40
	// Min Length: 5
	ClusterName string `json:"clusterName,omitempty"`

	// Name or CRN of the cluster template to use for cluster creation.
	ClusterTemplateName string `json:"clusterTemplateName,omitempty"`

	// The name of the custom configurations to use for cluster creation.
	CustomConfigurationsName string `json:"customConfigurationsName,omitempty"`

	// Database type for datahub. Currently supported values: NONE, NON_HA, HA
	DatahubDatabase DatahubDatabaseType `json:"datahubDatabase,omitempty"`

	// Name or CRN of the environment to use when creating the cluster. The environment must be a GCP environment.
	EnvironmentName string `json:"environmentName,omitempty"`

	// The image to be used for cluster creation.
	Image *ImageRequest `json:"image,omitempty"`

	// Instance group details.
	InstanceGroups []*GCPInstanceGroupRequest `json:"instanceGroups"`

	// Configure the major version of Java on the cluster.
	JavaVersion int32 `json:"javaVersion,omitempty"`

	// JSON template to use for cluster creation. This is different from cluster template and would be removed in the future.
	RequestTemplate string `json:"requestTemplate,omitempty"`

	// The subnet name.
	SubnetName string `json:"subnetName,omitempty"`

	// Tags that can be attached to GCP Data Hub resources. Please refer to Google documentation for the rules https://cloud.google.com/compute/docs/labeling-resources#label_format.
	Tags []*GCPDatahubResourceTagRequest `json:"tags"`
}

CreateGCPClusterRequest Request object for create GCP cluster request.

swagger:model CreateGCPClusterRequest

func (*CreateGCPClusterRequest) ContextValidate ¶

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

ContextValidate validate this create g c p cluster request based on the context it is used

func (*CreateGCPClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateGCPClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateGCPClusterRequest) Validate ¶

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

Validate validates this create g c p cluster request

type CreateGCPClusterResponse ¶

type CreateGCPClusterResponse struct {

	// The cluster.
	// Required: true
	Cluster *Cluster `json:"cluster"`
}

CreateGCPClusterResponse Response object for create GCP cluster request.

swagger:model CreateGCPClusterResponse

func (*CreateGCPClusterResponse) ContextValidate ¶

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

ContextValidate validate this create g c p cluster response based on the context it is used

func (*CreateGCPClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateGCPClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateGCPClusterResponse) Validate ¶

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

Validate validates this create g c p cluster response

type CreateRecipeRequest ¶

type CreateRecipeRequest struct {

	// The description of the recipe. The description can have a maximum of 1000 characters.
	// Max Length: 1000
	Description string `json:"description,omitempty"`

	// The content of the recipe.
	// Required: true
	RecipeContent *string `json:"recipeContent"`

	// The name of the recipe. This name must be unique, must have between 5 and 100 characters, and must contain only lowercase letters, numbers and hyphens. Names are case-sensitive.
	// Required: true
	// Max Length: 1000
	// Min Length: 5
	RecipeName *string `json:"recipeName"`

	// The type of recipe. Supported values are : PRE_SERVICE_DEPLOYMENT, PRE_TERMINATION, POST_SERVICE_DEPLOYMENT, POST_CLOUDERA_MANAGER_START.
	// Required: true
	Type *string `json:"type"`
}

CreateRecipeRequest Request object for create recipe request.

swagger:model CreateRecipeRequest

func (*CreateRecipeRequest) ContextValidate ¶

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

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

func (*CreateRecipeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateRecipeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateRecipeRequest) Validate ¶

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

Validate validates this create recipe request

type CreateRecipeResponse ¶

type CreateRecipeResponse struct {

	// The recipe.
	// Required: true
	Recipe *Recipe `json:"recipe"`
}

CreateRecipeResponse Response object for create recipe request.

swagger:model CreateRecipeResponse

func (*CreateRecipeResponse) ContextValidate ¶

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

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

func (*CreateRecipeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreateRecipeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreateRecipeResponse) Validate ¶

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

Validate validates this create recipe response

type CustomConfigurationProperty ¶

type CustomConfigurationProperty struct {

	// The name of the custom configuration property.
	// Required: true
	ConfigName *string `json:"configName"`

	// The value of the custom configuration property.
	// Required: true
	ConfigValue *string `json:"configValue"`

	// The role within the service type.
	RoleType string `json:"roleType,omitempty"`

	// The service under which the custom configuration property belongs.
	// Required: true
	ServiceType *string `json:"serviceType"`
}

CustomConfigurationProperty Information about Custom Configuration Property.

swagger:model CustomConfigurationProperty

func (*CustomConfigurationProperty) ContextValidate ¶

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

ContextValidate validates this custom configuration property based on context it is used

func (*CustomConfigurationProperty) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CustomConfigurationProperty) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CustomConfigurationProperty) Validate ¶

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

Validate validates this custom configuration property

type CustomConfigurationPropertyRequest ¶

type CustomConfigurationPropertyRequest struct {

	// The name of the custom configuration property.
	// Required: true
	ConfigName *string `json:"configName"`

	// The value of the custom configuration property.
	// Required: true
	ConfigValue *string `json:"configValue"`

	// The role within the service type.
	RoleType string `json:"roleType,omitempty"`

	// The service under which the custom configuration property belongs.
	// Required: true
	ServiceType *string `json:"serviceType"`
}

CustomConfigurationPropertyRequest The request object for the custom configuration property request.

swagger:model CustomConfigurationPropertyRequest

func (*CustomConfigurationPropertyRequest) ContextValidate ¶

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

ContextValidate validates this custom configuration property request based on context it is used

func (*CustomConfigurationPropertyRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CustomConfigurationPropertyRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CustomConfigurationPropertyRequest) Validate ¶

Validate validates this custom configuration property request

type CustomConfigurations ¶

type CustomConfigurations struct {

	// The account ID that was used for creating custom configurations.
	AccountID string `json:"accountId,omitempty"`

	// The custom configuration properties.
	// Required: true
	Configurations []*CustomConfigurationProperty `json:"configurations"`

	// The CRN of the custom configurations.
	// Required: true
	Crn *string `json:"crn"`

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

	// The runtime version of the custom configurations.
	RuntimeVersion string `json:"runtimeVersion,omitempty"`
}

CustomConfigurations Information about custom configurations.

swagger:model CustomConfigurations

func (*CustomConfigurations) ContextValidate ¶

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

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

func (*CustomConfigurations) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CustomConfigurations) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CustomConfigurations) Validate ¶

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

Validate validates this custom configurations

type DatabaseServerSslConfig ¶ added in v0.4.2

type DatabaseServerSslConfig struct {

	// SSL certificate type
	// Enum: ["CLOUD_PROVIDER_OWNED","BRING_YOUR_OWN","NONE"]
	SslCertificateType string `json:"sslCertificateType,omitempty"`

	// Set of SSL certificates for the actual database server
	// Unique: true
	SslCertificates []string `json:"sslCertificates"`

	// SSL enforcement mode for the actual database server
	// Enum: ["ENABLED","DISABLED"]
	SslMode string `json:"sslMode,omitempty"`
}

DatabaseServerSslConfig SSL configuration for the database server

swagger:model DatabaseServerSslConfig

func (*DatabaseServerSslConfig) ContextValidate ¶ added in v0.4.2

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

ContextValidate validates this database server ssl config based on context it is used

func (*DatabaseServerSslConfig) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*DatabaseServerSslConfig) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*DatabaseServerSslConfig) Validate ¶ added in v0.4.2

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

Validate validates this database server ssl config

type DatahubDatabaseType ¶

type DatahubDatabaseType string

DatahubDatabaseType Database type for datahub. Currently supported values: NONE, NON_HA, HA

swagger:model DatahubDatabaseType

const (

	// DatahubDatabaseTypeHA captures enum value "HA"
	DatahubDatabaseTypeHA DatahubDatabaseType = "HA"

	// DatahubDatabaseTypeNONHA captures enum value "NON_HA"
	DatahubDatabaseTypeNONHA DatahubDatabaseType = "NON_HA"

	// DatahubDatabaseTypeNONE captures enum value "NONE"
	DatahubDatabaseTypeNONE DatahubDatabaseType = "NONE"
)

func NewDatahubDatabaseType ¶

func NewDatahubDatabaseType(value DatahubDatabaseType) *DatahubDatabaseType

func (DatahubDatabaseType) ContextValidate ¶

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

ContextValidate validates this datahub database type based on context it is used

func (DatahubDatabaseType) Pointer ¶

Pointer returns a pointer to a freshly-allocated DatahubDatabaseType.

func (DatahubDatabaseType) Validate ¶

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

Validate validates this datahub database type

type DatahubDiagnosticsCollectionDetailsResponse ¶

type DatahubDiagnosticsCollectionDetailsResponse struct {

	// Account Id that was used for the diagnostics collection.
	AccountID string `json:"accountId,omitempty"`

	// Case number for the diagnostics collection.
	Case string `json:"case,omitempty"`

	// Version of the cluster that was used for the diagnostics collection.
	ClusterVersion string `json:"clusterVersion,omitempty"`

	// Description of the diagnostics collection.
	Description string `json:"description,omitempty"`

	// Destination type of the diagnostics collection.
	Destination string `json:"destination,omitempty"`

	// Output destination of the diagnostics collection.
	Output string `json:"output,omitempty"`

	// Crn of the cluster.
	ResourceCrn string `json:"resourceCrn,omitempty"`
}

DatahubDiagnosticsCollectionDetailsResponse Response object for diagnostic collection details.

swagger:model DatahubDiagnosticsCollectionDetailsResponse

func (*DatahubDiagnosticsCollectionDetailsResponse) ContextValidate ¶

ContextValidate validates this datahub diagnostics collection details response based on context it is used

func (*DatahubDiagnosticsCollectionDetailsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatahubDiagnosticsCollectionDetailsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatahubDiagnosticsCollectionDetailsResponse) Validate ¶

Validate validates this datahub diagnostics collection details response

type DatahubDiagnosticsCollectionResponse ¶

type DatahubDiagnosticsCollectionResponse struct {

	// Additional details about the diagnostics collection.
	CollectionDetails *DatahubDiagnosticsCollectionDetailsResponse `json:"collectionDetails,omitempty"`

	// Creation date of the diagnostics collection flow.
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

	// Flow ID of the diagnostics collection flow.
	FlowID string `json:"flowId,omitempty"`

	// Current state of the diagnostics collection flow.
	FlowState string `json:"flowState,omitempty"`

	// Progress percentage of the diagnostics collection flow (maximum value if finished).
	ProgressPercentage int32 `json:"progressPercentage,omitempty"`

	// Status of the diagnostics collection flow.
	// Enum: ["RUNNING","FAILED","FINISHED","CANCELLED"]
	Status string `json:"status,omitempty"`
}

DatahubDiagnosticsCollectionResponse Response object for diagnostic collection flow details.

swagger:model DatahubDiagnosticsCollectionResponse

func (*DatahubDiagnosticsCollectionResponse) ContextValidate ¶

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

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

func (*DatahubDiagnosticsCollectionResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatahubDiagnosticsCollectionResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatahubDiagnosticsCollectionResponse) Validate ¶

Validate validates this datahub diagnostics collection response

type DatahubLoadBalancerSkuType ¶

type DatahubLoadBalancerSkuType string

DatahubLoadBalancerSkuType Represents the Azure load balancer SKU type. The current default is BASIC. To disable the load balancer, use type NONE.

swagger:model DatahubLoadBalancerSkuType

const (

	// DatahubLoadBalancerSkuTypeBASIC captures enum value "BASIC"
	DatahubLoadBalancerSkuTypeBASIC DatahubLoadBalancerSkuType = "BASIC"

	// DatahubLoadBalancerSkuTypeSTANDARD captures enum value "STANDARD"
	DatahubLoadBalancerSkuTypeSTANDARD DatahubLoadBalancerSkuType = "STANDARD"

	// DatahubLoadBalancerSkuTypeNONE captures enum value "NONE"
	DatahubLoadBalancerSkuTypeNONE DatahubLoadBalancerSkuType = "NONE"
)

func (DatahubLoadBalancerSkuType) ContextValidate ¶

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

ContextValidate validates this datahub load balancer sku type based on context it is used

func (DatahubLoadBalancerSkuType) Pointer ¶

Pointer returns a pointer to a freshly-allocated DatahubLoadBalancerSkuType.

func (DatahubLoadBalancerSkuType) Validate ¶

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

Validate validates this datahub load balancer sku type

type DatahubResourceTag ¶

type DatahubResourceTag struct {

	// The key of tag.
	// Required: true
	Key *string `json:"key"`

	// The value of the tag.
	// Required: true
	Value *string `json:"value"`
}

DatahubResourceTag Tag for a datahub resource.

swagger:model DatahubResourceTag

func (*DatahubResourceTag) ContextValidate ¶

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

ContextValidate validates this datahub resource tag based on context it is used

func (*DatahubResourceTag) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatahubResourceTag) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatahubResourceTag) Validate ¶

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

Validate validates this datahub resource tag

type DatahubResourceTagRequest ¶

type DatahubResourceTagRequest struct {

	// The key of tag.
	// Required: true
	Key *string `json:"key"`

	// The value of the tag.
	// Required: true
	Value *string `json:"value"`
}

DatahubResourceTagRequest Tag for a datahub resource.

swagger:model DatahubResourceTagRequest

func (*DatahubResourceTagRequest) ContextValidate ¶

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

ContextValidate validates this datahub resource tag request based on context it is used

func (*DatahubResourceTagRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatahubResourceTagRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatahubResourceTagRequest) Validate ¶

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

Validate validates this datahub resource tag request

type DatahubVMLogRequest ¶

type DatahubVMLogRequest struct {

	// Label that will be used to identify a log descriptor. (will be used as a folder inside logs folder)
	// Required: true
	Label *string `json:"label"`

	// Path of the log file(s) that needs to be collected. (Can be glob wildcard)
	// Required: true
	Path *string `json:"path"`
}

DatahubVMLogRequest Log descriptor, contains a path and label pair. Used for diagnostics collections.

swagger:model DatahubVmLogRequest

func (*DatahubVMLogRequest) ContextValidate ¶

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

ContextValidate validates this datahub Vm log request based on context it is used

func (*DatahubVMLogRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatahubVMLogRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatahubVMLogRequest) Validate ¶

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

Validate validates this datahub Vm log request

type DatahubVMLogResponse ¶

type DatahubVMLogResponse struct {

	// Label that will be used to identify a log descriptor. (will be used as a folder inside logs folder)
	Label string `json:"label,omitempty"`

	// Path of the log file(s) that needs to be collected. (Can be glob wildcard)
	Path string `json:"path,omitempty"`
}

DatahubVMLogResponse Log descriptor, contains a path and label pair. Used for diagnostics collections.

swagger:model DatahubVmLogResponse

func (*DatahubVMLogResponse) ContextValidate ¶

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

ContextValidate validates this datahub Vm log response based on context it is used

func (*DatahubVMLogResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DatahubVMLogResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DatahubVMLogResponse) Validate ¶

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

Validate validates this datahub Vm log response

type DeleteAutoScaleRulesRequest ¶

type DeleteAutoScaleRulesRequest struct {

	// The name or CRN of the cluster.
	// Required: true
	// Max Length: 500
	// Min Length: 5
	ClusterName *string `json:"clusterName"`
}

DeleteAutoScaleRulesRequest Delete request.

swagger:model DeleteAutoScaleRulesRequest

func (*DeleteAutoScaleRulesRequest) ContextValidate ¶

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

ContextValidate validates this delete auto scale rules request based on context it is used

func (*DeleteAutoScaleRulesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteAutoScaleRulesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteAutoScaleRulesRequest) Validate ¶

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

Validate validates this delete auto scale rules request

type DeleteAutoScaleRulesResponse ¶

type DeleteAutoScaleRulesResponse interface{}

DeleteAutoScaleRulesResponse Response object for DeleteAutoScalesRulesRequest

swagger:model DeleteAutoScaleRulesResponse

type DeleteClusterDefinitionsRequest ¶

type DeleteClusterDefinitionsRequest struct {

	// The name or CRN of the cluster definitions to be deleted.
	// Required: true
	ClusterDefinitionNames []string `json:"clusterDefinitionNames"`
}

DeleteClusterDefinitionsRequest Request object for delete cluster definition request.

swagger:model DeleteClusterDefinitionsRequest

func (*DeleteClusterDefinitionsRequest) ContextValidate ¶

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

ContextValidate validates this delete cluster definitions request based on context it is used

func (*DeleteClusterDefinitionsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteClusterDefinitionsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteClusterDefinitionsRequest) Validate ¶

Validate validates this delete cluster definitions request

type DeleteClusterDefinitionsResponse ¶

type DeleteClusterDefinitionsResponse struct {

	// The clusterDefinitions.
	// Required: true
	ClusterDefinitions []*ClusterDefinition `json:"clusterDefinitions"`
}

DeleteClusterDefinitionsResponse Response object for delete cluster definition request.

swagger:model DeleteClusterDefinitionsResponse

func (*DeleteClusterDefinitionsResponse) ContextValidate ¶

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

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

func (*DeleteClusterDefinitionsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteClusterDefinitionsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteClusterDefinitionsResponse) Validate ¶

Validate validates this delete cluster definitions response

type DeleteClusterRequest ¶

type DeleteClusterRequest struct {

	// The name or CRN of the cluster to be deleted.
	// Required: true
	ClusterName *string `json:"clusterName"`

	// Whether the cluster should be force deleted. This option can be used when cluster deletion fails. This removes the entry from Cloudera Datahub service. Any lingering resources have to be deleted from the cloud provider manually. The default is false.
	Force bool `json:"force,omitempty"`
}

DeleteClusterRequest Request object for delete cluster request.

swagger:model DeleteClusterRequest

func (*DeleteClusterRequest) ContextValidate ¶

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

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

func (*DeleteClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteClusterRequest) Validate ¶

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

Validate validates this delete cluster request

type DeleteClusterResponse ¶

type DeleteClusterResponse interface{}

DeleteClusterResponse Response object for delete cluster request.

swagger:model DeleteClusterResponse

type DeleteClusterTemplatesRequest ¶

type DeleteClusterTemplatesRequest struct {

	// The names or CRNs of the cluster templates to be deleted.
	// Required: true
	ClusterTemplateNames []string `json:"clusterTemplateNames"`
}

DeleteClusterTemplatesRequest Request object for delete cluster templates request.

swagger:model DeleteClusterTemplatesRequest

func (*DeleteClusterTemplatesRequest) ContextValidate ¶

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

ContextValidate validates this delete cluster templates request based on context it is used

func (*DeleteClusterTemplatesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteClusterTemplatesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteClusterTemplatesRequest) Validate ¶

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

Validate validates this delete cluster templates request

type DeleteClusterTemplatesResponse ¶

type DeleteClusterTemplatesResponse struct {

	// The cluster templates.
	// Required: true
	ClusterTemplates []*ClusterTemplate `json:"clusterTemplates"`
}

DeleteClusterTemplatesResponse Response object for delete cluster templates request.

swagger:model DeleteClusterTemplatesResponse

func (*DeleteClusterTemplatesResponse) ContextValidate ¶

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

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

func (*DeleteClusterTemplatesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteClusterTemplatesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteClusterTemplatesResponse) Validate ¶

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

Validate validates this delete cluster templates response

type DeleteCustomConfigurationsRequest ¶

type DeleteCustomConfigurationsRequest struct {

	// The names or CRNs of the custom configurations to be deleted.
	// Required: true
	CustomConfigurations []string `json:"customConfigurations"`
}

DeleteCustomConfigurationsRequest The request object for the delete custom configurations request.

swagger:model DeleteCustomConfigurationsRequest

func (*DeleteCustomConfigurationsRequest) ContextValidate ¶

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

ContextValidate validates this delete custom configurations request based on context it is used

func (*DeleteCustomConfigurationsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteCustomConfigurationsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteCustomConfigurationsRequest) Validate ¶

Validate validates this delete custom configurations request

type DeleteCustomConfigurationsResponse ¶

type DeleteCustomConfigurationsResponse struct {

	// The deleted custom configurations.
	// Required: true
	CustomConfigurations []*CustomConfigurations `json:"customConfigurations"`
}

DeleteCustomConfigurationsResponse The response object for the delete custom configurations request.

swagger:model DeleteCustomConfigurationsResponse

func (*DeleteCustomConfigurationsResponse) ContextValidate ¶

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

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

func (*DeleteCustomConfigurationsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteCustomConfigurationsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteCustomConfigurationsResponse) Validate ¶

Validate validates this delete custom configurations response

type DeleteInstancesRequest ¶

type DeleteInstancesRequest struct {

	// The name or CRN of the cluster for which instances are to be deleted.
	// Required: true
	ClusterName *string `json:"clusterName"`

	// Whether the termination would be forced or not. If it is true, the termination would not be stopped by other - usually blocking - circumstances. Defaults to false.
	Force bool `json:"force,omitempty"`

	// The instanceIds to be deleted from the cluster.
	// Required: true
	InstanceIds []string `json:"instanceIds"`
}

DeleteInstancesRequest Request object for deleting multiple instance from a cluster

swagger:model DeleteInstancesRequest

func (*DeleteInstancesRequest) ContextValidate ¶

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

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

func (*DeleteInstancesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteInstancesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteInstancesRequest) Validate ¶

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

Validate validates this delete instances request

type DeleteInstancesResponse ¶

type DeleteInstancesResponse struct {

	// The cluster.
	// Required: true
	Cluster *Cluster `json:"cluster"`
}

DeleteInstancesResponse Response object for instance deletion.

swagger:model DeleteInstancesResponse

func (*DeleteInstancesResponse) ContextValidate ¶

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

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

func (*DeleteInstancesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteInstancesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteInstancesResponse) Validate ¶

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

Validate validates this delete instances response

type DeleteRecipesRequest ¶

type DeleteRecipesRequest struct {

	// The names or CRNs of the recipes to be deleted.
	// Required: true
	RecipeNames []string `json:"recipeNames"`
}

DeleteRecipesRequest Request object for delete recipe request.

swagger:model DeleteRecipesRequest

func (*DeleteRecipesRequest) ContextValidate ¶

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

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

func (*DeleteRecipesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteRecipesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteRecipesRequest) Validate ¶

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

Validate validates this delete recipes request

type DeleteRecipesResponse ¶

type DeleteRecipesResponse struct {

	// The recipes.
	// Required: true
	Recipes []*Recipe `json:"recipes"`
}

DeleteRecipesResponse Response object for delete recipe request.

swagger:model DeleteRecipesResponse

func (*DeleteRecipesResponse) ContextValidate ¶

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

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

func (*DeleteRecipesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DeleteRecipesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DeleteRecipesResponse) Validate ¶

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

Validate validates this delete recipes response

type DescribeAutoScaleRulesRequest ¶

type DescribeAutoScaleRulesRequest struct {

	// The name or CRN of the cluster.
	// Required: true
	// Max Length: 500
	// Min Length: 5
	ClusterName *string `json:"clusterName"`
}

DescribeAutoScaleRulesRequest Request object to describe the AutoScale rules for a DataHub cluster.

swagger:model DescribeAutoScaleRulesRequest

func (*DescribeAutoScaleRulesRequest) ContextValidate ¶

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

ContextValidate validates this describe auto scale rules request based on context it is used

func (*DescribeAutoScaleRulesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeAutoScaleRulesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeAutoScaleRulesRequest) Validate ¶

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

Validate validates this describe auto scale rules request

type DescribeAutoScaleRulesResponse ¶

type DescribeAutoScaleRulesResponse struct {

	// The autoscale rules.
	AutoScaleRules *AutoScaleRulesResponse `json:"autoScaleRules,omitempty"`
}

DescribeAutoScaleRulesResponse The response object which describes the AutoScale rules for a DataHub cluster.

swagger:model DescribeAutoScaleRulesResponse

func (*DescribeAutoScaleRulesResponse) ContextValidate ¶

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

ContextValidate validate this describe auto scale rules response based on the context it is used

func (*DescribeAutoScaleRulesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeAutoScaleRulesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeAutoScaleRulesResponse) Validate ¶

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

Validate validates this describe auto scale rules response

type DescribeClusterDefinitionRequest ¶

type DescribeClusterDefinitionRequest struct {

	// The name or CRN of the cluster definition.
	// Required: true
	ClusterDefinitionName *string `json:"clusterDefinitionName"`
}

DescribeClusterDefinitionRequest Request object for describe cluster definition request.

swagger:model DescribeClusterDefinitionRequest

func (*DescribeClusterDefinitionRequest) ContextValidate ¶

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

ContextValidate validates this describe cluster definition request based on context it is used

func (*DescribeClusterDefinitionRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeClusterDefinitionRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeClusterDefinitionRequest) Validate ¶

Validate validates this describe cluster definition request

type DescribeClusterDefinitionResponse ¶

type DescribeClusterDefinitionResponse struct {

	// The clusterDefinition.
	// Required: true
	ClusterDefinition *ClusterDefinition `json:"clusterDefinition"`
}

DescribeClusterDefinitionResponse Response object for describe cluster definition response.

swagger:model DescribeClusterDefinitionResponse

func (*DescribeClusterDefinitionResponse) ContextValidate ¶

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

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

func (*DescribeClusterDefinitionResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeClusterDefinitionResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeClusterDefinitionResponse) Validate ¶

Validate validates this describe cluster definition response

type DescribeClusterRequest ¶

type DescribeClusterRequest struct {

	// The name or CRN of the cluster.
	// Required: true
	ClusterName *string `json:"clusterName"`
}

DescribeClusterRequest Request object for describe cluster request.

swagger:model DescribeClusterRequest

func (*DescribeClusterRequest) ContextValidate ¶

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

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

func (*DescribeClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeClusterRequest) Validate ¶

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

Validate validates this describe cluster request

type DescribeClusterResponse ¶

type DescribeClusterResponse struct {

	// The cluster.
	// Required: true
	Cluster *Cluster `json:"cluster"`
}

DescribeClusterResponse Response object for describe cluster request.

swagger:model DescribeClusterResponse

func (*DescribeClusterResponse) ContextValidate ¶

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

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

func (*DescribeClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeClusterResponse) Validate ¶

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

Validate validates this describe cluster response

type DescribeClusterTemplateRequest ¶

type DescribeClusterTemplateRequest struct {

	// The name or CRN of the cluster template.
	// Required: true
	ClusterTemplateName *string `json:"clusterTemplateName"`
}

DescribeClusterTemplateRequest Request object for describe cluster template request.

swagger:model DescribeClusterTemplateRequest

func (*DescribeClusterTemplateRequest) ContextValidate ¶

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

ContextValidate validates this describe cluster template request based on context it is used

func (*DescribeClusterTemplateRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeClusterTemplateRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeClusterTemplateRequest) Validate ¶

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

Validate validates this describe cluster template request

type DescribeClusterTemplateResponse ¶

type DescribeClusterTemplateResponse struct {

	// The cluster template.
	// Required: true
	ClusterTemplate *ClusterTemplate `json:"clusterTemplate"`
}

DescribeClusterTemplateResponse Response object for describe cluster template request.

swagger:model DescribeClusterTemplateResponse

func (*DescribeClusterTemplateResponse) ContextValidate ¶

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

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

func (*DescribeClusterTemplateResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeClusterTemplateResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeClusterTemplateResponse) Validate ¶

Validate validates this describe cluster template response

type DescribeCustomConfigurationsRequest ¶

type DescribeCustomConfigurationsRequest struct {

	// The name or CRN of the custom configurations.
	// Required: true
	CustomConfigurations *string `json:"customConfigurations"`
}

DescribeCustomConfigurationsRequest The request object for the describe custom configurations request.

swagger:model DescribeCustomConfigurationsRequest

func (*DescribeCustomConfigurationsRequest) ContextValidate ¶

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

ContextValidate validates this describe custom configurations request based on context it is used

func (*DescribeCustomConfigurationsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeCustomConfigurationsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeCustomConfigurationsRequest) Validate ¶

Validate validates this describe custom configurations request

type DescribeCustomConfigurationsResponse ¶

type DescribeCustomConfigurationsResponse struct {

	// The custom configurations.
	// Required: true
	CustomConfigurations *CustomConfigurations `json:"customConfigurations"`
}

DescribeCustomConfigurationsResponse The response object for the describe custom configurations request.

swagger:model DescribeCustomConfigurationsResponse

func (*DescribeCustomConfigurationsResponse) ContextValidate ¶

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

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

func (*DescribeCustomConfigurationsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeCustomConfigurationsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeCustomConfigurationsResponse) Validate ¶

Validate validates this describe custom configurations response

type DescribeDatabaseServerRequest ¶ added in v0.4.2

type DescribeDatabaseServerRequest struct {

	// CRN of the Data Hub cluster
	ClusterCrn string `json:"clusterCrn,omitempty"`
}

DescribeDatabaseServerRequest Request object for obtaining Database Server details.

swagger:model DescribeDatabaseServerRequest

func (*DescribeDatabaseServerRequest) ContextValidate ¶ added in v0.4.2

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

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

func (*DescribeDatabaseServerRequest) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*DescribeDatabaseServerRequest) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*DescribeDatabaseServerRequest) Validate ¶ added in v0.4.2

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

Validate validates this describe database server request

type DescribeDatabaseServerResponse ¶ added in v0.4.2

type DescribeDatabaseServerResponse struct {

	// CRN of the cluster of the database server
	ClusterCrn string `json:"clusterCrn,omitempty"`

	// Creation date of the database server
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// CRN of the database server
	Crn string `json:"crn,omitempty"`

	// Name of the database vendor (MYSQL, POSTGRES, ...)
	DatabaseVendor string `json:"databaseVendor,omitempty"`

	// Display name of the database vendor (MySQL, PostgreSQL, ...)
	DatabaseVendorDisplayName string `json:"databaseVendorDisplayName,omitempty"`

	// Description of the database server
	Description string `json:"description,omitempty"`

	// CRN of the environment of the database server
	EnvironmentCrn string `json:"environmentCrn,omitempty"`

	// Host of the database server
	Host string `json:"host,omitempty"`

	// Name of the database server
	Name string `json:"name,omitempty"`

	// Port of the database server
	Port int32 `json:"port,omitempty"`

	// Ownership status of the database server
	// Enum: ["UNKNOWN","SERVICE_MANAGED","USER_MANAGED"]
	ResourceStatus string `json:"resourceStatus,omitempty"`

	// SSL configuration of the database server
	SslConfig *DatabaseServerSslConfig `json:"sslConfig,omitempty"`

	// Status of the database server stack
	// Enum: ["REQUESTED","CREATE_IN_PROGRESS","AVAILABLE","UPDATE_IN_PROGRESS","UPDATE_REQUESTED","UPDATE_FAILED","CREATE_FAILED","ENABLE_SECURITY_FAILED","DELETE_REQUESTED","PRE_DELETE_IN_PROGRESS","DELETE_IN_PROGRESS","DELETE_FAILED","DELETE_COMPLETED","STOPPED","STOP_REQUESTED","START_REQUESTED","STOP_IN_PROGRESS","START_IN_PROGRESS","START_FAILED","STOP_FAILED","WAIT_FOR_SYNC","MAINTENANCE_MODE_ENABLED","UNKNOWN"]
	Status string `json:"status,omitempty"`

	// Additional status information about the database server stack
	StatusReason string `json:"statusReason,omitempty"`
}

DescribeDatabaseServerResponse Response object for obtaining Database Server details.

swagger:model DescribeDatabaseServerResponse

func (*DescribeDatabaseServerResponse) ContextValidate ¶ added in v0.4.2

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

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

func (*DescribeDatabaseServerResponse) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*DescribeDatabaseServerResponse) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*DescribeDatabaseServerResponse) Validate ¶ added in v0.4.2

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

Validate validates this describe database server response

type DescribeRecipeRequest ¶

type DescribeRecipeRequest struct {

	// The name or CRN of the recipe.
	// Required: true
	RecipeName *string `json:"recipeName"`
}

DescribeRecipeRequest Request object for describe recipe request.

swagger:model DescribeRecipeRequest

func (*DescribeRecipeRequest) ContextValidate ¶

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

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

func (*DescribeRecipeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeRecipeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeRecipeRequest) Validate ¶

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

Validate validates this describe recipe request

type DescribeRecipeResponse ¶

type DescribeRecipeResponse struct {

	// The recipe.
	// Required: true
	Recipe *Recipe `json:"recipe"`
}

DescribeRecipeResponse Response object for describe recipe request.

swagger:model DescribeRecipeResponse

func (*DescribeRecipeResponse) ContextValidate ¶

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

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

func (*DescribeRecipeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeRecipeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeRecipeResponse) Validate ¶

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

Validate validates this describe recipe response

type DescribeScalingActivityRequest ¶

type DescribeScalingActivityRequest struct {

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

	// Operation ID of the scaling activity.
	// Required: true
	OperationID *string `json:"operationId"`
}

DescribeScalingActivityRequest Request object for describing a particular scaling activity using clusterCrn or clusterName and operationId.

swagger:model DescribeScalingActivityRequest

func (*DescribeScalingActivityRequest) ContextValidate ¶

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

ContextValidate validates this describe scaling activity request based on context it is used

func (*DescribeScalingActivityRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeScalingActivityRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeScalingActivityRequest) Validate ¶

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

Validate validates this describe scaling activity request

type DescribeScalingActivityResponse ¶

type DescribeScalingActivityResponse struct {

	// The scaling activity.
	// Required: true
	ScalingActivity *ScalingActivitySummary `json:"scalingActivity"`
}

DescribeScalingActivityResponse Response object for describe scaling activity request.

swagger:model DescribeScalingActivityResponse

func (*DescribeScalingActivityResponse) ContextValidate ¶

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

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

func (*DescribeScalingActivityResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*DescribeScalingActivityResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*DescribeScalingActivityResponse) Validate ¶

Validate validates this describe scaling activity response

type DiskOptions ¶ added in v0.4.2

type DiskOptions struct {

	// Adds the requested number of disks of the requested type, size, and usage type.
	AddDisks *AddDisks `json:"addDisks,omitempty"`

	// Set it true to delete all attached disks on all the instances in a group.
	DeleteDisks bool `json:"deleteDisks,omitempty"`

	// Modifies all the disks attached to all instances in a group.
	ModifyDisks *ModifyDisks `json:"modifyDisks,omitempty"`
}

DiskOptions Attached disk configuration(s).

swagger:model DiskOptions

func (*DiskOptions) ContextValidate ¶ added in v0.4.2

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

ContextValidate validate this disk options based on the context it is used

func (*DiskOptions) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*DiskOptions) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*DiskOptions) Validate ¶ added in v0.4.2

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

Validate validates this disk options

type Endpoint ¶

type Endpoint struct {

	// The more consumable name of the exposed service.
	// Required: true
	DisplayName *string `json:"displayName"`

	// The related knox entry.
	// Required: true
	KnoxService *string `json:"knoxService"`

	// The SSO mode of the given service.
	// Required: true
	Mode *string `json:"mode"`

	// The access status of the given endpoint. Whether its open or not.
	// Required: true
	Open *bool `json:"open"`

	// The name of the exposed service
	// Required: true
	ServiceName *string `json:"serviceName"`

	// The server url for the given exposed service's API.
	// Required: true
	ServiceURL *string `json:"serviceUrl"`
}

Endpoint Object which holds the exposed endpoint.

swagger:model Endpoint

func (*Endpoint) ContextValidate ¶

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

ContextValidate validates this endpoint based on context it is used

func (*Endpoint) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Endpoint) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Endpoint) Validate ¶

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

Validate validates this endpoint

type Endpoints ¶

type Endpoints struct {

	// The endpoints.
	// Required: true
	Endpoints []*Endpoint `json:"endpoints"`
}

Endpoints Object which holds the exposed endpoints for the given cluster.

swagger:model Endpoints

func (*Endpoints) ContextValidate ¶

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

ContextValidate validate this endpoints based on the context it is used

func (*Endpoints) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Endpoints) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Endpoints) Validate ¶

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

Validate validates this endpoints

type Error ¶

type Error struct {

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

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

Error An object returned on an error.

swagger:model Error

func (*Error) ContextValidate ¶

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

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Error) Validate ¶

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

Validate validates this error

type GCPDatahubResourceTagRequest ¶

type GCPDatahubResourceTagRequest struct {

	// The key of tag.
	// Required: true
	Key *string `json:"key"`

	// The value of the tag.
	// Required: true
	Value *string `json:"value"`
}

GCPDatahubResourceTagRequest A label that can be attached to GCP Data Hub resources. Please refer to Google documentation for the rules https://cloud.google.com/compute/docs/labeling-resources#label_format.

swagger:model GCPDatahubResourceTagRequest

func (*GCPDatahubResourceTagRequest) ContextValidate ¶

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

ContextValidate validates this g c p datahub resource tag request based on context it is used

func (*GCPDatahubResourceTagRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GCPDatahubResourceTagRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GCPDatahubResourceTagRequest) Validate ¶

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

Validate validates this g c p datahub resource tag request

type GCPInstanceGroupRequest ¶

type GCPInstanceGroupRequest struct {

	// The attached volume configuration. This does not include root volume.
	// Required: true
	AttachedVolumeConfiguration []*AttachedVolumeRequest `json:"attachedVolumeConfiguration"`

	// The instance group name.
	// Required: true
	InstanceGroupName *string `json:"instanceGroupName"`

	// The instance group type.
	// Required: true
	InstanceGroupType *string `json:"instanceGroupType"`

	// The cloud provider specific instance type to be used.
	// Required: true
	InstanceType *string `json:"instanceType"`

	// Number of instances in the instance group
	// Required: true
	NodeCount *int32 `json:"nodeCount"`

	// The names or CRNs of the recipes that would be applied to the instance group.
	RecipeNames []string `json:"recipeNames"`

	// Recovery mode for the instance group.
	RecoveryMode string `json:"recoveryMode,omitempty"`

	// The root volume size.
	// Required: true
	RootVolumeSize *int32 `json:"rootVolumeSize"`
}

GCPInstanceGroupRequest Configurations for instance group

swagger:model GCPInstanceGroupRequest

func (*GCPInstanceGroupRequest) ContextValidate ¶

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

ContextValidate validate this g c p instance group request based on the context it is used

func (*GCPInstanceGroupRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GCPInstanceGroupRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GCPInstanceGroupRequest) Validate ¶

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

Validate validates this g c p instance group request

type GetClusterHostStatusRequest ¶

type GetClusterHostStatusRequest struct {

	// The name or CRN of the cluster.
	// Required: true
	ClusterName *string `json:"clusterName"`
}

GetClusterHostStatusRequest Request object to get host status.

swagger:model GetClusterHostStatusRequest

func (*GetClusterHostStatusRequest) ContextValidate ¶

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

ContextValidate validates this get cluster host status request based on context it is used

func (*GetClusterHostStatusRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GetClusterHostStatusRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GetClusterHostStatusRequest) Validate ¶

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

Validate validates this get cluster host status request

type GetClusterHostStatusResponse ¶

type GetClusterHostStatusResponse struct {

	// The cluster hosts status.
	// Required: true
	Hosts []*HostStatus `json:"hosts"`
}

GetClusterHostStatusResponse Response object for getting host status.

swagger:model GetClusterHostStatusResponse

func (*GetClusterHostStatusResponse) ContextValidate ¶

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

ContextValidate validate this get cluster host status response based on the context it is used

func (*GetClusterHostStatusResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GetClusterHostStatusResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GetClusterHostStatusResponse) Validate ¶

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

Validate validates this get cluster host status response

type GetClusterServiceStatusRequest ¶

type GetClusterServiceStatusRequest struct {

	// The name or CRN of the cluster.
	// Required: true
	ClusterName *string `json:"clusterName"`
}

GetClusterServiceStatusRequest Request object to get service status.

swagger:model GetClusterServiceStatusRequest

func (*GetClusterServiceStatusRequest) ContextValidate ¶

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

ContextValidate validates this get cluster service status request based on context it is used

func (*GetClusterServiceStatusRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GetClusterServiceStatusRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GetClusterServiceStatusRequest) Validate ¶

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

Validate validates this get cluster service status request

type GetClusterServiceStatusResponse ¶

type GetClusterServiceStatusResponse struct {

	// The cluster services health.
	// Required: true
	Services []*ServiceStatus `json:"services"`
}

GetClusterServiceStatusResponse Response object to get service status.

swagger:model GetClusterServiceStatusResponse

func (*GetClusterServiceStatusResponse) ContextValidate ¶

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

ContextValidate validate this get cluster service status response based on the context it is used

func (*GetClusterServiceStatusResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GetClusterServiceStatusResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GetClusterServiceStatusResponse) Validate ¶

Validate validates this get cluster service status response

type GetCmRolesRequest ¶

type GetCmRolesRequest struct {

	// CRN of the Datahub cluster.
	// Required: true
	Crn *string `json:"crn"`
}

GetCmRolesRequest Request object for obtaining Cloudera Manger roles. (that can be used for filtering in CM based diagnostics collection)

swagger:model GetCmRolesRequest

func (*GetCmRolesRequest) ContextValidate ¶

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

ContextValidate validates this get cm roles request based on context it is used

func (*GetCmRolesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GetCmRolesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GetCmRolesRequest) Validate ¶

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

Validate validates this get cm roles request

type GetCmRolesResponse ¶

type GetCmRolesResponse struct {

	// Array of CM roles. (useful for CM based diagnostics collection filtering)
	Roles []string `json:"roles"`
}

GetCmRolesResponse Response object for obtaining Cloudera Manger roles. (that can be used for filtering in CM based diagnostics collection)

swagger:model GetCmRolesResponse

func (*GetCmRolesResponse) ContextValidate ¶

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

ContextValidate validates this get cm roles response based on context it is used

func (*GetCmRolesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GetCmRolesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GetCmRolesResponse) Validate ¶

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

Validate validates this get cm roles response

type GetDatahubLogDescriptorsRequest ¶

type GetDatahubLogDescriptorsRequest interface{}

GetDatahubLogDescriptorsRequest Request object for obtaining log descriptors. (that are used for diagnostics collection)

swagger:model GetDatahubLogDescriptorsRequest

type GetDatahubLogDescriptorsResponse ¶

type GetDatahubLogDescriptorsResponse struct {

	// Array of log descriptors. (useful for diagnostics collection filtering)
	Logs []*DatahubVMLogResponse `json:"logs"`
}

GetDatahubLogDescriptorsResponse Response object for obtaining log descriptors. (useful for diagnostics collection filtering)

swagger:model GetDatahubLogDescriptorsResponse

func (*GetDatahubLogDescriptorsResponse) ContextValidate ¶

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

ContextValidate validate this get datahub log descriptors response based on the context it is used

func (*GetDatahubLogDescriptorsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*GetDatahubLogDescriptorsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*GetDatahubLogDescriptorsResponse) Validate ¶

Validate validates this get datahub log descriptors response

type GetOperationRequest ¶ added in v0.4.2

type GetOperationRequest struct {

	// CRN of the datahub resource.
	// Required: true
	Crn *string `json:"crn"`

	// Filter by operation id.
	OperationID string `json:"operationId,omitempty"`
}

GetOperationRequest Request object for tracking the latest (current/last) operation on the datahub resource.

swagger:model GetOperationRequest

func (*GetOperationRequest) ContextValidate ¶ added in v0.4.2

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

ContextValidate validates this get operation request based on context it is used

func (*GetOperationRequest) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*GetOperationRequest) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*GetOperationRequest) Validate ¶ added in v0.4.2

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

Validate validates this get operation request

type GetOperationResponse ¶ added in v0.4.2

type GetOperationResponse struct {

	// Identifier of the operation.
	OperationID string `json:"operationId,omitempty"`

	// Status of the operation.
	// Enum: ["UNKNOWN","RUNNING","FAILED","FINISHED","CANCELLED"]
	OperationStatus string `json:"operationStatus,omitempty"`

	// Type of the operation.
	OperationType string `json:"operationType,omitempty"`

	// Progress percentage of the operation.
	Progress int32 `json:"progress,omitempty"`
}

GetOperationResponse Response object for tracking the latest (current/last) operation on the datahub resource.

swagger:model GetOperationResponse

func (*GetOperationResponse) ContextValidate ¶ added in v0.4.2

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

ContextValidate validates this get operation response based on context it is used

func (*GetOperationResponse) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*GetOperationResponse) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*GetOperationResponse) Validate ¶ added in v0.4.2

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

Validate validates this get operation response

type GetVMTypesRequest ¶ added in v0.4.2

type GetVMTypesRequest struct {

	// The selected availability zone.
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// The name of the cluster definition.
	ClusterDefinitionName string `json:"clusterDefinitionName,omitempty"`

	// The name of the given cluster template.
	// Required: true
	ClusterTemplate *string `json:"clusterTemplate"`

	// The name or CRN of the credential that is required to access the cloud provider.
	// Required: true
	Credential *string `json:"credential"`

	// The region where we should look for the supported VM types.
	// Required: true
	Region *string `json:"region"`
}

GetVMTypesRequest Request object for fetching the available virtual machine types based on the given parameters.

swagger:model GetVmTypesRequest

func (*GetVMTypesRequest) ContextValidate ¶ added in v0.4.2

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

ContextValidate validates this get Vm types request based on context it is used

func (*GetVMTypesRequest) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*GetVMTypesRequest) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*GetVMTypesRequest) Validate ¶ added in v0.4.2

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

Validate validates this get Vm types request

type GetVMTypesResponse ¶ added in v0.4.2

type GetVMTypesResponse struct {

	// The supported VM types based on the given parameters.
	VMTypes []string `json:"vmTypes"`

	// The supported VM types based on the given parameters with metadata.
	VMTypesWithMetadata []*VMTypeResponseWithMetadata `json:"vmTypesWithMetadata"`
}

GetVMTypesResponse Response object from the VM type fetch operation.

swagger:model GetVmTypesResponse

func (*GetVMTypesResponse) ContextValidate ¶ added in v0.4.2

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

ContextValidate validate this get Vm types response based on the context it is used

func (*GetVMTypesResponse) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*GetVMTypesResponse) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*GetVMTypesResponse) Validate ¶ added in v0.4.2

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

Validate validates this get Vm types response

type HealthCheck ¶

type HealthCheck struct {

	// The name of service health check.
	Name string `json:"name,omitempty"`

	// The service health check summary.
	Summary string `json:"summary,omitempty"`
}

HealthCheck The result of a health check.

swagger:model HealthCheck

func (*HealthCheck) ContextValidate ¶

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

ContextValidate validates this health check based on context it is used

func (*HealthCheck) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*HealthCheck) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*HealthCheck) Validate ¶

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

Validate validates this health check

type HostStatus ¶

type HostStatus struct {

	// The host health summary.
	HealthSummary string `json:"healthSummary,omitempty"`

	// Unique identifier of the cluster host given by Cloudera Manager.
	Hostid string `json:"hostid,omitempty"`

	// The cluster hostname.
	Hostname string `json:"hostname,omitempty"`
}

HostStatus Information about cluster host status.

swagger:model HostStatus

func (*HostStatus) ContextValidate ¶

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

ContextValidate validates this host status based on context it is used

func (*HostStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*HostStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*HostStatus) Validate ¶

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

Validate validates this host status

type ImageComponentVersions ¶

type ImageComponentVersions struct {

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

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

	// OS name.
	Os string `json:"os,omitempty"`

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

ImageComponentVersions Versions of the image components.

swagger:model ImageComponentVersions

func (*ImageComponentVersions) ContextValidate ¶

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

ContextValidate validates this image component versions based on context it is used

func (*ImageComponentVersions) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ImageComponentVersions) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ImageComponentVersions) Validate ¶

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

Validate validates this image component versions

type ImageDetails ¶

type ImageDetails struct {

	// The image catalog name.
	CatalogName string `json:"catalogName,omitempty"`

	// The image catalog URL.
	CatalogURL string `json:"catalogUrl,omitempty"`

	// The ID of the image used for cluster instances. This is internally generated by the cloud provider to uniquely identify the image.
	ID string `json:"id,omitempty"`

	// The name of the image used for cluster instances.
	Name string `json:"name,omitempty"`

	// The OS of the image used for cluster instances.
	Os string `json:"os,omitempty"`
}

ImageDetails The details of the image used for cluster instances.

swagger:model ImageDetails

func (*ImageDetails) ContextValidate ¶

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

ContextValidate validates this image details based on context it is used

func (*ImageDetails) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ImageDetails) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ImageDetails) Validate ¶

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

Validate validates this image details

type ImageInfo ¶

type ImageInfo struct {

	// Version of the image components.
	ComponentVersions *ImageComponentVersions `json:"componentVersions,omitempty"`

	// Image creation timestamp.
	Created int64 `json:"created,omitempty"`

	// Name of the image catalog, the image is from.
	ImageCatalogName string `json:"imageCatalogName,omitempty"`

	// The id of the image.
	ImageID string `json:"imageId,omitempty"`

	// The name of the image.
	ImageName string `json:"imageName,omitempty"`
}

ImageInfo Basic information about an image.

swagger:model ImageInfo

func (*ImageInfo) ContextValidate ¶

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

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

func (*ImageInfo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ImageInfo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ImageInfo) Validate ¶

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

Validate validates this image info

type ImageRequest ¶

type ImageRequest struct {

	// The image catalog name.
	CatalogName string `json:"catalogName,omitempty"`

	// The ID of the image used for cluster instances. This is generated by the cloud provider to uniquely identify the image.
	ID string `json:"id,omitempty"`

	// The OS of the image used for cluster instances.
	Os string `json:"os,omitempty"`
}

ImageRequest The details of the image used for cluster instances.

swagger:model ImageRequest

func (*ImageRequest) ContextValidate ¶

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

ContextValidate validates this image request based on context it is used

func (*ImageRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ImageRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ImageRequest) Validate ¶

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

Validate validates this image request

type IndividualAutoScaleHistoryResponse ¶

type IndividualAutoScaleHistoryResponse struct {

	// The AutoScale related operation that was performed.
	EventMessage string `json:"eventMessage,omitempty"`

	// The time at which the event occurred.
	// Format: date-time
	EventTime strfmt.DateTime `json:"eventTime,omitempty"`
}

IndividualAutoScaleHistoryResponse An object representing a single AutoScale history event for a DataHub cluster.

swagger:model IndividualAutoScaleHistoryResponse

func (*IndividualAutoScaleHistoryResponse) ContextValidate ¶

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

ContextValidate validates this individual auto scale history response based on context it is used

func (*IndividualAutoScaleHistoryResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IndividualAutoScaleHistoryResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IndividualAutoScaleHistoryResponse) Validate ¶

Validate validates this individual auto scale history response

type IndividualScheduleRequest ¶

type IndividualScheduleRequest struct {

	// configuration
	// Required: true
	Configuration *IndividualScheduleRequestConfiguration `json:"configuration"`

	// An optional description for the specific schedule.
	// Max Length: 1000
	// Min Length: 0
	Description *string `json:"description,omitempty"`

	// An optional identifier for the specific schedule. Generally useful for debugging. Will be auto-generated if none provided.
	// Max Length: 200
	// Min Length: 5
	Identifier string `json:"identifier,omitempty"`
}

IndividualScheduleRequest An individual schedule based policy

swagger:model IndividualScheduleRequest

func (*IndividualScheduleRequest) ContextValidate ¶

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

ContextValidate validate this individual schedule request based on the context it is used

func (*IndividualScheduleRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IndividualScheduleRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IndividualScheduleRequest) Validate ¶

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

Validate validates this individual schedule request

type IndividualScheduleRequestConfiguration ¶

type IndividualScheduleRequestConfiguration struct {

	// action
	// Required: true
	Action *IndividualScheduleRequestConfigurationAction `json:"action"`

	// trigger
	// Required: true
	Trigger *IndividualScheduleRequestConfigurationTrigger `json:"trigger"`
}

IndividualScheduleRequestConfiguration The schedule configuration

swagger:model IndividualScheduleRequestConfiguration

func (*IndividualScheduleRequestConfiguration) ContextValidate ¶

ContextValidate validate this individual schedule request configuration based on the context it is used

func (*IndividualScheduleRequestConfiguration) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IndividualScheduleRequestConfiguration) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IndividualScheduleRequestConfiguration) Validate ¶

Validate validates this individual schedule request configuration

type IndividualScheduleRequestConfigurationAction ¶

type IndividualScheduleRequestConfigurationAction struct {

	// The type of resource adjustment. Only ABSOLUTE_COUNT supported at the moment.
	// Enum: ["ABSOLUTE_COUNT"]
	ResourceAdjustmentType string `json:"resourceAdjustmentType,omitempty"`

	// The target value for the resource based on the AdjustmentType
	// Required: true
	// Minimum: 0
	ResourceAdjustmentValue *int32 `json:"resourceAdjustmentValue"`
}

IndividualScheduleRequestConfigurationAction The scaling action to take when triggered

swagger:model IndividualScheduleRequestConfigurationAction

func (*IndividualScheduleRequestConfigurationAction) ContextValidate ¶

ContextValidate validates this individual schedule request configuration action based on context it is used

func (*IndividualScheduleRequestConfigurationAction) MarshalBinary ¶

MarshalBinary interface implementation

func (*IndividualScheduleRequestConfigurationAction) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*IndividualScheduleRequestConfigurationAction) Validate ¶

Validate validates this individual schedule request configuration action

type IndividualScheduleRequestConfigurationTrigger ¶

type IndividualScheduleRequestConfigurationTrigger struct {

	// The cron expression for this schedule
	// Required: true
	// Max Length: 100
	// Min Length: 1
	CronExpression *string `json:"cronExpression"`

	// The time zone for the cron expression
	// Required: true
	// Max Length: 50
	// Min Length: 1
	TimeZone *string `json:"timeZone"`
}

IndividualScheduleRequestConfigurationTrigger The trigger for this rule

swagger:model IndividualScheduleRequestConfigurationTrigger

func (*IndividualScheduleRequestConfigurationTrigger) ContextValidate ¶

ContextValidate validates this individual schedule request configuration trigger based on context it is used

func (*IndividualScheduleRequestConfigurationTrigger) MarshalBinary ¶

MarshalBinary interface implementation

func (*IndividualScheduleRequestConfigurationTrigger) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*IndividualScheduleRequestConfigurationTrigger) Validate ¶

Validate validates this individual schedule request configuration trigger

type IndividualScheduleResponse ¶

type IndividualScheduleResponse struct {

	// configuration
	// Required: true
	Configuration *IndividualScheduleResponseConfiguration `json:"configuration"`

	// Description for the specified schedule.
	Description string `json:"description,omitempty"`

	// An identifier fot the specific schedule. Generally usefulf for debugging.
	// Required: true
	Identifier *string `json:"identifier"`
}

IndividualScheduleResponse An individual schedule based policy

swagger:model IndividualScheduleResponse

func (*IndividualScheduleResponse) ContextValidate ¶

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

ContextValidate validate this individual schedule response based on the context it is used

func (*IndividualScheduleResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IndividualScheduleResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IndividualScheduleResponse) Validate ¶

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

Validate validates this individual schedule response

type IndividualScheduleResponseConfiguration ¶

type IndividualScheduleResponseConfiguration struct {

	// action
	// Required: true
	Action *IndividualScheduleResponseConfigurationAction `json:"action"`

	// trigger
	// Required: true
	Trigger *IndividualScheduleResponseConfigurationTrigger `json:"trigger"`
}

IndividualScheduleResponseConfiguration The schedule configuration.

swagger:model IndividualScheduleResponseConfiguration

func (*IndividualScheduleResponseConfiguration) ContextValidate ¶

ContextValidate validate this individual schedule response configuration based on the context it is used

func (*IndividualScheduleResponseConfiguration) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*IndividualScheduleResponseConfiguration) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*IndividualScheduleResponseConfiguration) Validate ¶

Validate validates this individual schedule response configuration

type IndividualScheduleResponseConfigurationAction ¶

type IndividualScheduleResponseConfigurationAction struct {

	// The type of resource adjustment. Only ABSOLUTE_COUNT supported at the moment.
	// Enum: ["ABSOLUTE_COUNT"]
	ResourceAdjustmentType string `json:"resourceAdjustmentType,omitempty"`

	// The target value for the resource based on the AdjustmentType
	// Required: true
	ResourceAdjustmentValue *int32 `json:"resourceAdjustmentValue"`
}

IndividualScheduleResponseConfigurationAction The scaling action to take when triggered.

swagger:model IndividualScheduleResponseConfigurationAction

func (*IndividualScheduleResponseConfigurationAction) ContextValidate ¶

ContextValidate validates this individual schedule response configuration action based on context it is used

func (*IndividualScheduleResponseConfigurationAction) MarshalBinary ¶

MarshalBinary interface implementation

func (*IndividualScheduleResponseConfigurationAction) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*IndividualScheduleResponseConfigurationAction) Validate ¶

Validate validates this individual schedule response configuration action

type IndividualScheduleResponseConfigurationTrigger ¶

type IndividualScheduleResponseConfigurationTrigger struct {

	// The cron expression for this schedule
	// Required: true
	// Max Length: 100
	// Min Length: 1
	CronExpression *string `json:"cronExpression"`

	// The time zone for the cron expression
	// Required: true
	// Max Length: 50
	// Min Length: 1
	TimeZone *string `json:"timeZone"`
}

IndividualScheduleResponseConfigurationTrigger The trigger for this rule.

swagger:model IndividualScheduleResponseConfigurationTrigger

func (*IndividualScheduleResponseConfigurationTrigger) ContextValidate ¶

ContextValidate validates this individual schedule response configuration trigger based on context it is used

func (*IndividualScheduleResponseConfigurationTrigger) MarshalBinary ¶

MarshalBinary interface implementation

func (*IndividualScheduleResponseConfigurationTrigger) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*IndividualScheduleResponseConfigurationTrigger) Validate ¶

Validate validates this individual schedule response configuration trigger

type Instance ¶

type Instance struct {

	// List of volumes attached to this instance.
	AttachedVolumes []*AttachedVolumeDetail `json:"attachedVolumes"`

	// The availability zone of the instance.
	AvailabilityZone string `json:"availabilityZone,omitempty"`

	// Whether the instance has Cloudera Manager deployed or not.
	ClouderaManagerServer bool `json:"clouderaManagerServer,omitempty"`

	// The FQDN of the instance.
	Fqdn string `json:"fqdn,omitempty"`

	// The ID of the given instance.
	// Required: true
	ID *string `json:"id"`

	// The name of the instance group this instance belongs to.
	InstanceGroup string `json:"instanceGroup,omitempty"`

	// The type of the given instance (either GATEWAY, GATEWAY_PRIMARY, or CORE).
	// Required: true
	InstanceType *string `json:"instanceType"`

	// The VM type of the instance. Supported values depend on the cloud platform.
	InstanceVMType string `json:"instanceVmType,omitempty"`

	// The private IP of the given instance.
	PrivateIP string `json:"privateIp,omitempty"`

	// The public IP of the given instance.
	PublicIP string `json:"publicIp,omitempty"`

	// The rack ID of the instance in Cloudera Manager.
	RackID string `json:"rackId,omitempty"`

	// The SSH port for the instance.
	SSHPort int32 `json:"sshPort,omitempty"`

	// The health state of the instance. UNHEALTHY represents instances with unhealthy services, lost instances, or failed operations.
	// Required: true
	State *string `json:"state"`

	// The status of the instance. This includes information like whether the instance is being provisioned, stopped, decommissioning failures etc.
	Status string `json:"status,omitempty"`

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

	// The subnet ID of the instance.
	SubnetID string `json:"subnetId,omitempty"`
}

Instance Object which holds some details of an instance for the given cluster.

swagger:model Instance

func (*Instance) ContextValidate ¶

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

ContextValidate validate this instance based on the context it is used

func (*Instance) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Instance) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Instance) Validate ¶

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

Validate validates this instance

type InstanceGroup ¶

type InstanceGroup struct {

	// List of availability zones that this instance group is associated with.
	AvailabilityZones []string `json:"availabilityZones"`

	// List of instances in this instance group.
	// Required: true
	Instances []*Instance `json:"instances"`

	// The name of the instance group where the given instance is located.
	// Required: true
	Name *string `json:"name"`

	// The recipe names for the Data Hub cluster.
	Recipes []string `json:"recipes"`

	// The list of subnet IDs in case of multi-availability zone setup
	SubnetIds []string `json:"subnetIds"`
}

InstanceGroup The type of the instance group which also contains the actual instance(s)

swagger:model InstanceGroup

func (*InstanceGroup) ContextValidate ¶

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

ContextValidate validate this instance group based on the context it is used

func (*InstanceGroup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstanceGroup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstanceGroup) Validate ¶

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

Validate validates this instance group

type InstanceGroupRecipeRequest ¶

type InstanceGroupRecipeRequest struct {

	// A valid instance/host group name. This name must be unique.
	// Required: true
	InstanceGroupName *string `json:"instanceGroupName"`

	// Names of the recipes (empty is valid).
	// Unique: true
	RecipeNames []string `json:"recipeNames"`
}

InstanceGroupRecipeRequest Represents an instance group - recipe pair (by names) request.

swagger:model InstanceGroupRecipeRequest

func (*InstanceGroupRecipeRequest) ContextValidate ¶

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

ContextValidate validates this instance group recipe request based on context it is used

func (*InstanceGroupRecipeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstanceGroupRecipeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstanceGroupRecipeRequest) Validate ¶

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

Validate validates this instance group recipe request

type InstanceGroupRecipeResponse ¶

type InstanceGroupRecipeResponse struct {

	// A valid instance/host group name. This name must be unique.
	// Required: true
	InstanceGroupName *string `json:"instanceGroupName"`

	// Names of the recipes (empty is valid).
	// Unique: true
	RecipeNames []string `json:"recipeNames"`
}

InstanceGroupRecipeResponse Represents an instance group - recipe pair (by names) response.

swagger:model InstanceGroupRecipeResponse

func (*InstanceGroupRecipeResponse) ContextValidate ¶

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

ContextValidate validates this instance group recipe response based on context it is used

func (*InstanceGroupRecipeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstanceGroupRecipeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstanceGroupRecipeResponse) Validate ¶

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

Validate validates this instance group recipe response

type InstanceGroupRequest ¶

type InstanceGroupRequest struct {

	// The attached volume configuration. This does not include root volume.
	// Required: true
	AttachedVolumeConfiguration []*AttachedVolumeRequest `json:"attachedVolumeConfiguration"`

	// The instance group name.
	// Required: true
	InstanceGroupName *string `json:"instanceGroupName"`

	// The instance group type.
	// Required: true
	InstanceGroupType *string `json:"instanceGroupType"`

	// The cloud provider specific instance type to be used.
	// Required: true
	InstanceType *string `json:"instanceType"`

	// Number of instances in the instance group
	// Required: true
	NodeCount *int32 `json:"nodeCount"`

	// The names or CRNs of the recipes that would be applied to the instance group.
	RecipeNames []string `json:"recipeNames"`

	// Recovery mode for the instance group.
	RecoveryMode string `json:"recoveryMode,omitempty"`

	// The root volume size.
	RootVolumeSize int32 `json:"rootVolumeSize,omitempty"`

	// The list of subnet IDs in case of multi-availability zone setup. Specifying this field overrides the datahub level subnet ID setup for the multi-availability zone configuration.
	SubnetIds []string `json:"subnetIds"`

	// The volume encryption settings. This setting does not apply to Azure which always encrypts volumes.
	VolumeEncryption *VolumeEncryptionRequest `json:"volumeEncryption,omitempty"`
}

InstanceGroupRequest Configurations for instance group

swagger:model InstanceGroupRequest

func (*InstanceGroupRequest) ContextValidate ¶

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

ContextValidate validate this instance group request based on the context it is used

func (*InstanceGroupRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstanceGroupRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstanceGroupRequest) Validate ¶

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

Validate validates this instance group request

type InstanceTemplate ¶

type InstanceTemplate struct {

	// The type of the instance.
	InstanceType string `json:"instanceType,omitempty"`
}

InstanceTemplate Instance template configuration(s).

swagger:model InstanceTemplate

func (*InstanceTemplate) ContextValidate ¶

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

ContextValidate validates this instance template based on context it is used

func (*InstanceTemplate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*InstanceTemplate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*InstanceTemplate) Validate ¶

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

Validate validates this instance template

type ListAutoScaleHistoryRequest ¶

type ListAutoScaleHistoryRequest struct {

	// The name or CRN of the cluster.
	// Required: true
	// Max Length: 500
	// Min Length: 5
	ClusterName *string `json:"clusterName"`

	// The maximum number of history entries to retrieve (Default 200).
	// Maximum: 1000
	// Minimum: 0
	Count *int32 `json:"count,omitempty"`
}

ListAutoScaleHistoryRequest Request object to retrieve the AutoScale history for a DataHub cluster.

swagger:model ListAutoScaleHistoryRequest

func (*ListAutoScaleHistoryRequest) ContextValidate ¶

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

ContextValidate validates this list auto scale history request based on context it is used

func (*ListAutoScaleHistoryRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListAutoScaleHistoryRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListAutoScaleHistoryRequest) Validate ¶

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

Validate validates this list auto scale history request

type ListAutoScaleHistoryResponse ¶

type ListAutoScaleHistoryResponse struct {

	// List of history events for the cluster.
	HistoryEvents []*IndividualAutoScaleHistoryResponse `json:"historyEvents"`
}

ListAutoScaleHistoryResponse The response object which describes the AutoScale rules for a DataHub cluster.

swagger:model ListAutoScaleHistoryResponse

func (*ListAutoScaleHistoryResponse) ContextValidate ¶

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

ContextValidate validate this list auto scale history response based on the context it is used

func (*ListAutoScaleHistoryResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListAutoScaleHistoryResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListAutoScaleHistoryResponse) Validate ¶

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

Validate validates this list auto scale history response

type ListClusterDefinitionsRequest ¶

type ListClusterDefinitionsRequest interface{}

ListClusterDefinitionsRequest Request object for list cluster definitions request.

swagger:model ListClusterDefinitionsRequest

type ListClusterDefinitionsResponse ¶

type ListClusterDefinitionsResponse struct {

	// The clusterDefinitions.
	// Required: true
	ClusterDefinitions []*ClusterDefinitionSummary `json:"clusterDefinitions"`
}

ListClusterDefinitionsResponse Response object for list cluster definition response.

swagger:model ListClusterDefinitionsResponse

func (*ListClusterDefinitionsResponse) ContextValidate ¶

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

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

func (*ListClusterDefinitionsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListClusterDefinitionsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListClusterDefinitionsResponse) Validate ¶

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

Validate validates this list cluster definitions response

type ListClusterLifecycleEventsRequest ¶

type ListClusterLifecycleEventsRequest struct {

	// The name or CRN of the cluster for which events are to be listed.
	// Required: true
	Cluster *string `json:"cluster"`

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

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

ListClusterLifecycleEventsRequest Request object for listing cluster events.

swagger:model ListClusterLifecycleEventsRequest

func (*ListClusterLifecycleEventsRequest) ContextValidate ¶

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

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

func (*ListClusterLifecycleEventsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListClusterLifecycleEventsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListClusterLifecycleEventsRequest) Validate ¶

Validate validates this list cluster lifecycle events request

type ListClusterLifecycleEventsResponse ¶

type ListClusterLifecycleEventsResponse struct {

	// Cluster events.
	// Required: true
	ClusterEvents []*ClusterLifecycleEvents `json:"clusterEvents"`

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

ListClusterLifecycleEventsResponse Response object for fetching cluster events request.

swagger:model ListClusterLifecycleEventsResponse

func (*ListClusterLifecycleEventsResponse) ContextValidate ¶

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

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

func (*ListClusterLifecycleEventsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListClusterLifecycleEventsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListClusterLifecycleEventsResponse) Validate ¶

Validate validates this list cluster lifecycle events response

type ListClusterTemplatesRequest ¶

type ListClusterTemplatesRequest interface{}

ListClusterTemplatesRequest Request object for list cluster templates request.

swagger:model ListClusterTemplatesRequest

type ListClusterTemplatesResponse ¶

type ListClusterTemplatesResponse struct {

	// The cluster templates.
	// Required: true
	ClusterTemplates []*ClusterTemplateSummary `json:"clusterTemplates"`
}

ListClusterTemplatesResponse Response object for list cluster templates request.

swagger:model ListClusterTemplatesResponse

func (*ListClusterTemplatesResponse) ContextValidate ¶

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

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

func (*ListClusterTemplatesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListClusterTemplatesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListClusterTemplatesResponse) Validate ¶

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

Validate validates this list cluster templates response

type ListClustersRequest ¶

type ListClustersRequest struct {

	// The name or CRN of the environment for which the clusters will be listed.
	EnvironmentName string `json:"environmentName,omitempty"`
}

ListClustersRequest Request object for list clusters request.

swagger:model ListClustersRequest

func (*ListClustersRequest) ContextValidate ¶

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

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

func (*ListClustersRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListClustersRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListClustersRequest) Validate ¶

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

Validate validates this list clusters request

type ListClustersResponse ¶

type ListClustersResponse struct {

	// The clusters.
	// Required: true
	Clusters []*ClusterSummary `json:"clusters"`
}

ListClustersResponse Response object for list clusters request.

swagger:model ListClustersResponse

func (*ListClustersResponse) ContextValidate ¶

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

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

func (*ListClustersResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListClustersResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListClustersResponse) Validate ¶

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

Validate validates this list clusters response

type ListCustomConfigurationsRequest ¶

type ListCustomConfigurationsRequest struct {

	// The size of each page.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

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

ListCustomConfigurationsRequest The request object for the list custom configurations request.

swagger:model ListCustomConfigurationsRequest

func (*ListCustomConfigurationsRequest) ContextValidate ¶

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

ContextValidate validates this list custom configurations request based on context it is used

func (*ListCustomConfigurationsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListCustomConfigurationsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListCustomConfigurationsRequest) Validate ¶

Validate validates this list custom configurations request

type ListCustomConfigurationsResponse ¶

type ListCustomConfigurationsResponse struct {

	// The list of custom configurations.
	// Required: true
	CustomConfigurations []*CustomConfigurations `json:"customConfigurations"`

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

ListCustomConfigurationsResponse The response object for the list custom configurations request.

swagger:model ListCustomConfigurationsResponse

func (*ListCustomConfigurationsResponse) ContextValidate ¶

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

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

func (*ListCustomConfigurationsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListCustomConfigurationsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListCustomConfigurationsResponse) Validate ¶

Validate validates this list custom configurations response

type ListDatahubDiagnosticsRequest ¶

type ListDatahubDiagnosticsRequest struct {

	// CRN of the DataHub cluster.
	// Required: true
	Crn *string `json:"crn"`
}

ListDatahubDiagnosticsRequest Request object for listing recent Datahub diagnostics collections.

swagger:model ListDatahubDiagnosticsRequest

func (*ListDatahubDiagnosticsRequest) ContextValidate ¶

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

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

func (*ListDatahubDiagnosticsRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListDatahubDiagnosticsRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListDatahubDiagnosticsRequest) Validate ¶

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

Validate validates this list datahub diagnostics request

type ListDatahubDiagnosticsResponse ¶

type ListDatahubDiagnosticsResponse struct {

	// description.
	Collections []*DatahubDiagnosticsCollectionResponse `json:"collections"`
}

ListDatahubDiagnosticsResponse Response object for listing recent Datahub diagnostics collections.

swagger:model ListDatahubDiagnosticsResponse

func (*ListDatahubDiagnosticsResponse) ContextValidate ¶

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

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

func (*ListDatahubDiagnosticsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListDatahubDiagnosticsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListDatahubDiagnosticsResponse) Validate ¶

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

Validate validates this list datahub diagnostics response

type ListDatahubSecretTypesRequest ¶ added in v0.7.4

type ListDatahubSecretTypesRequest struct {

	// The Datahub CRN where we wish to get the rotatable secrets.
	// Required: true
	Datahub *string `json:"datahub"`
}

ListDatahubSecretTypesRequest Request for listing possible secret values for Datahub.

swagger:model ListDatahubSecretTypesRequest

func (*ListDatahubSecretTypesRequest) ContextValidate ¶ added in v0.7.4

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

ContextValidate validates this list datahub secret types request based on context it is used

func (*ListDatahubSecretTypesRequest) MarshalBinary ¶ added in v0.7.4

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

MarshalBinary interface implementation

func (*ListDatahubSecretTypesRequest) UnmarshalBinary ¶ added in v0.7.4

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

UnmarshalBinary interface implementation

func (*ListDatahubSecretTypesRequest) Validate ¶ added in v0.7.4

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

Validate validates this list datahub secret types request

type ListDatahubSecretTypesResponse ¶ added in v0.7.4

type ListDatahubSecretTypesResponse struct {

	// The list of secret types supported by Datahub.
	// Required: true
	DatahubSecretTypes []*SecretTypeResponse `json:"datahubSecretTypes"`
}

ListDatahubSecretTypesResponse Response object for showing the secret types and descriptions.

swagger:model ListDatahubSecretTypesResponse

func (*ListDatahubSecretTypesResponse) ContextValidate ¶ added in v0.7.4

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

ContextValidate validate this list datahub secret types response based on the context it is used

func (*ListDatahubSecretTypesResponse) MarshalBinary ¶ added in v0.7.4

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

MarshalBinary interface implementation

func (*ListDatahubSecretTypesResponse) UnmarshalBinary ¶ added in v0.7.4

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

UnmarshalBinary interface implementation

func (*ListDatahubSecretTypesResponse) Validate ¶ added in v0.7.4

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

Validate validates this list datahub secret types response

type ListRecipesRequest ¶

type ListRecipesRequest interface{}

ListRecipesRequest Request object for list recipes request.

swagger:model ListRecipesRequest

type ListRecipesResponse ¶

type ListRecipesResponse struct {

	// The recipes.
	// Required: true
	Recipes []*RecipeSummary `json:"recipes"`
}

ListRecipesResponse Response object for list recipes request.

swagger:model ListRecipesResponse

func (*ListRecipesResponse) ContextValidate ¶

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

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

func (*ListRecipesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListRecipesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListRecipesResponse) Validate ¶

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

Validate validates this list recipes response

type ListScalingActivitiesRequest ¶

type ListScalingActivitiesRequest struct {

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

	// Duration in minutes for which we want all the scaling activities for the cluster. Either duration or start and end time needs to be provided.
	Duration int64 `json:"duration,omitempty"`

	// End time value in epoch millisecond until which we want to get all the scaling activities. Need to specify start time with it.
	EndTime int64 `json:"endTime,omitempty"`

	// Flag that decides whether to return only failed scaling activities or return all scaling activities in a given duration or a specific time interval.
	OnlyFailedScalingActivities bool `json:"onlyFailedScalingActivities,omitempty"`

	// The size of the page for getting scaling activities.
	// Maximum: 100
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// Start time value in epoch millisecond from which we want to get all the scaling activities. Need to specify end time with it.
	StartTime int64 `json:"startTime,omitempty"`

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

ListScalingActivitiesRequest Request object for List scaling Activities request.

swagger:model ListScalingActivitiesRequest

func (*ListScalingActivitiesRequest) ContextValidate ¶

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

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

func (*ListScalingActivitiesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListScalingActivitiesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListScalingActivitiesRequest) Validate ¶

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

Validate validates this list scaling activities request

type ListScalingActivitiesResponse ¶

type ListScalingActivitiesResponse struct {

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

	// The list of scaling activities.
	// Required: true
	ScalingActivity []*ScalingActivitySummary `json:"scalingActivity"`
}

ListScalingActivitiesResponse Response object for list scaling activities request.

swagger:model ListScalingActivitiesResponse

func (*ListScalingActivitiesResponse) ContextValidate ¶

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

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

func (*ListScalingActivitiesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ListScalingActivitiesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ListScalingActivitiesResponse) Validate ¶

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

Validate validates this list scaling activities response

type ModifyDisks ¶ added in v0.4.2

type ModifyDisks struct {

	// Size of disks to modify on all the instances in a group in GB.
	// Required: true
	Size *int32 `json:"size"`

	// Type of disks to modify on all the instances in a group.
	VolumeType string `json:"volumeType,omitempty"`
}

ModifyDisks Root or additional volume properties to modify.

swagger:model ModifyDisks

func (*ModifyDisks) ContextValidate ¶ added in v0.4.2

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

ContextValidate validates this modify disks based on context it is used

func (*ModifyDisks) MarshalBinary ¶ added in v0.4.2

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

MarshalBinary interface implementation

func (*ModifyDisks) UnmarshalBinary ¶ added in v0.4.2

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

UnmarshalBinary interface implementation

func (*ModifyDisks) Validate ¶ added in v0.4.2

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

Validate validates this modify disks

type PrepareClusterUpgradeRequest ¶

type PrepareClusterUpgradeRequest struct {

	// The name or CRN of the Data Hub.
	// Required: true
	Cluster *string `json:"cluster"`

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

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

PrepareClusterUpgradeRequest Request object to Data Hub upgrade preparation. This command indicates the upgrade preparation for a specific image or a selected runtime version. Important to note that the imageId or the runtime parameter must be present in the request.

swagger:model PrepareClusterUpgradeRequest

func (*PrepareClusterUpgradeRequest) ContextValidate ¶

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

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

func (*PrepareClusterUpgradeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*PrepareClusterUpgradeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*PrepareClusterUpgradeRequest) Validate ¶

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

Validate validates this prepare cluster upgrade request

type PrepareClusterUpgradeResponse ¶

type PrepareClusterUpgradeResponse struct {

	// Information about the current image.
	Current *ImageInfo `json:"current,omitempty"`

	// The reason why upgrade is not possible.
	Reason string `json:"reason,omitempty"`

	// List of images and components to upgrade to.
	UpgradeCandidates []*ImageInfo `json:"upgradeCandidates"`
}

PrepareClusterUpgradeResponse Response object for upgrade Data Hub request.

swagger:model PrepareClusterUpgradeResponse

func (*PrepareClusterUpgradeResponse) ContextValidate ¶

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

ContextValidate validate this prepare cluster upgrade response based on the context it is used

func (*PrepareClusterUpgradeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*PrepareClusterUpgradeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*PrepareClusterUpgradeResponse) Validate ¶

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

Validate validates this prepare cluster upgrade response

type Recipe ¶

type Recipe struct {

	// The CRN of the creator of the recipe.
	CreatorCrn string `json:"creatorCrn,omitempty"`

	// The CRN of the recipe.
	// Required: true
	Crn *string `json:"crn"`

	// The description of the recipe.
	Description string `json:"description,omitempty"`

	// The content of the recipe.
	RecipeContent string `json:"recipeContent,omitempty"`

	// The name of the recipe.
	// Required: true
	RecipeName *string `json:"recipeName"`

	// The type of recipe. Supported values are : PRE_SERVICE_DEPLOYMENT, PRE_TERMINATION, POST_SERVICE_DEPLOYMENT, POST_CLOUDERA_MANAGER_START.
	Type string `json:"type,omitempty"`
}

Recipe Information about a recipe.

swagger:model Recipe

func (*Recipe) ContextValidate ¶

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

ContextValidate validates this recipe based on context it is used

func (*Recipe) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Recipe) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Recipe) Validate ¶

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

Validate validates this recipe

type RecipeSummary ¶

type RecipeSummary struct {

	// The CRN of the recipe.
	// Required: true
	Crn *string `json:"crn"`

	// The description of the recipe.
	Description string `json:"description,omitempty"`

	// The name of the recipe.
	// Required: true
	RecipeName *string `json:"recipeName"`

	// The type of recipe. Supported values are : PRE_SERVICE_DEPLOYMENT, PRE_TERMINATION, POST_SERVICE_DEPLOYMENT, POST_CLOUDERA_MANAGER_START.
	Type string `json:"type,omitempty"`
}

RecipeSummary Information about a recipe.

swagger:model RecipeSummary

func (*RecipeSummary) ContextValidate ¶

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

ContextValidate validates this recipe summary based on context it is used

func (*RecipeSummary) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RecipeSummary) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RecipeSummary) Validate ¶

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

Validate validates this recipe summary

type RenewCertificateRequest ¶

type RenewCertificateRequest struct {

	// The name or CRN of the cluster.
	// Required: true
	ClusterName *string `json:"clusterName"`
}

RenewCertificateRequest Request object for renew datahub certificate request, deprecated.

swagger:model RenewCertificateRequest

func (*RenewCertificateRequest) ContextValidate ¶

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

ContextValidate validates this renew certificate request based on context it is used

func (*RenewCertificateRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RenewCertificateRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RenewCertificateRequest) Validate ¶

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

Validate validates this renew certificate request

type RenewCertificateResponse ¶

type RenewCertificateResponse interface{}

RenewCertificateResponse Response object for renew certificate request, deprecated.

swagger:model RenewCertificateResponse

type RenewPublicCertificateRequest ¶

type RenewPublicCertificateRequest struct {

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

RenewPublicCertificateRequest Request object for renewing the Datahub public certificate.

swagger:model RenewPublicCertificateRequest

func (*RenewPublicCertificateRequest) ContextValidate ¶

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

ContextValidate validates this renew public certificate request based on context it is used

func (*RenewPublicCertificateRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RenewPublicCertificateRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RenewPublicCertificateRequest) Validate ¶

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

Validate validates this renew public certificate request

type RenewPublicCertificateResponse ¶

type RenewPublicCertificateResponse interface{}

RenewPublicCertificateResponse Response object for renew public certificate request.

swagger:model RenewPublicCertificateResponse

type RepairClusterRequest ¶

type RepairClusterRequest struct {

	// The name or CRN of the cluster to be repaired.
	// Required: true
	ClusterName *string `json:"clusterName"`

	// List of instance groups where the failed instances will be repaired.
	InstanceGroupNames []string `json:"instanceGroupNames"`

	// List of instances.
	Instances *RepairInstancesRequest `json:"instances,omitempty"`

	// If true, the failed instances will only be removed, otherwise the failed instances will be removed and new instances will be started.
	RemoveOnly bool `json:"removeOnly,omitempty"`
}

RepairClusterRequest Request object for repair cluster request.

swagger:model RepairClusterRequest

func (*RepairClusterRequest) ContextValidate ¶

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

ContextValidate validate this repair cluster request based on the context it is used

func (*RepairClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RepairClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RepairClusterRequest) Validate ¶

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

Validate validates this repair cluster request

type RepairClusterResponse ¶

type RepairClusterResponse interface{}

RepairClusterResponse Response object for repair cluster request.

swagger:model RepairClusterResponse

type RepairInstancesRequest ¶

type RepairInstancesRequest struct {

	// The existing disk volumes on the instances will be re-created if the deleteVolumes is true. Otherwise, the volumes will be reattached to the new instances.
	DeleteVolumes bool `json:"deleteVolumes,omitempty"`

	// List of instance ids.
	InstanceIds []string `json:"instanceIds"`
}

RepairInstancesRequest Details for repair instances.

swagger:model RepairInstancesRequest

func (*RepairInstancesRequest) ContextValidate ¶

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

ContextValidate validates this repair instances request based on context it is used

func (*RepairInstancesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RepairInstancesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RepairInstancesRequest) Validate ¶

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

Validate validates this repair instances request

type ReplaceRecipesRequest ¶

type ReplaceRecipesRequest struct {

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

	// The list of instance group and recipe name pairs.
	// Required: true
	InstanceGroupRecipes []*InstanceGroupRecipeRequest `json:"instanceGroupRecipes"`
}

ReplaceRecipesRequest The request for replacing recipes.

swagger:model ReplaceRecipesRequest

func (*ReplaceRecipesRequest) ContextValidate ¶

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

ContextValidate validate this replace recipes request based on the context it is used

func (*ReplaceRecipesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ReplaceRecipesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ReplaceRecipesRequest) Validate ¶

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

Validate validates this replace recipes request

type ReplaceRecipesResponse ¶

type ReplaceRecipesResponse struct {

	// The list of recipes, which will be attached to the cluster.
	AttachedRecipes []*InstanceGroupRecipeResponse `json:"attachedRecipes"`

	// The list of recipes, which will be detached from the cluster.
	DetachedRecipes []*InstanceGroupRecipeResponse `json:"detachedRecipes"`
}

ReplaceRecipesResponse The response for replacing recipes.

swagger:model ReplaceRecipesResponse

func (*ReplaceRecipesResponse) ContextValidate ¶

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

ContextValidate validate this replace recipes response based on the context it is used

func (*ReplaceRecipesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ReplaceRecipesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ReplaceRecipesResponse) Validate ¶

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

Validate validates this replace recipes response

type RestartClusterInstancesRequest ¶ added in v0.7.4

type RestartClusterInstancesRequest struct {

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

	// List of instance ids.
	// Required: true
	Instances []string `json:"instances"`
}

RestartClusterInstancesRequest Request object for restart cluster instances request.

swagger:model RestartClusterInstancesRequest

func (*RestartClusterInstancesRequest) ContextValidate ¶ added in v0.7.4

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

ContextValidate validates this restart cluster instances request based on context it is used

func (*RestartClusterInstancesRequest) MarshalBinary ¶ added in v0.7.4

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

MarshalBinary interface implementation

func (*RestartClusterInstancesRequest) UnmarshalBinary ¶ added in v0.7.4

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

UnmarshalBinary interface implementation

func (*RestartClusterInstancesRequest) Validate ¶ added in v0.7.4

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

Validate validates this restart cluster instances request

type RestartClusterInstancesResponse ¶ added in v0.7.4

type RestartClusterInstancesResponse interface{}

RestartClusterInstancesResponse Response object for restart cluster instances request.

swagger:model RestartClusterInstancesResponse

type RetryClusterRequest ¶

type RetryClusterRequest struct {

	// The name or CRN of the cluster for which the operations need to be retried.
	// Required: true
	ClusterName *string `json:"clusterName"`
}

RetryClusterRequest Request object for retry cluster request.

swagger:model RetryClusterRequest

func (*RetryClusterRequest) ContextValidate ¶

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

ContextValidate validates this retry cluster request based on context it is used

func (*RetryClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RetryClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RetryClusterRequest) Validate ¶

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

Validate validates this retry cluster request

type RetryClusterResponse ¶

type RetryClusterResponse interface{}

RetryClusterResponse Response object for retry cluster request.

swagger:model RetryClusterResponse

type RotateAutoTLSCertificatesRequest ¶

type RotateAutoTLSCertificatesRequest struct {

	// The name or CRN of the datahub.
	// Required: true
	DatahubName *string `json:"datahubName"`
}

RotateAutoTLSCertificatesRequest Request object to rotate autotls certificates on datahub's hosts, deprecated.

swagger:model RotateAutoTlsCertificatesRequest

func (*RotateAutoTLSCertificatesRequest) ContextValidate ¶

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

ContextValidate validates this rotate auto Tls certificates request based on context it is used

func (*RotateAutoTLSCertificatesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RotateAutoTLSCertificatesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RotateAutoTLSCertificatesRequest) Validate ¶

Validate validates this rotate auto Tls certificates request

type RotateAutoTLSCertificatesResponse ¶

type RotateAutoTLSCertificatesResponse interface{}

RotateAutoTLSCertificatesResponse Response object to rotate autotls certificates on datahub's hosts, deprecated.

swagger:model RotateAutoTlsCertificatesResponse

type RotateDbCertificateRequest ¶ added in v0.7.4

type RotateDbCertificateRequest struct {

	// The name or CRN of the datahub.
	// Required: true
	DatahubName *string `json:"datahubName"`
}

RotateDbCertificateRequest Request object to rotate ssl certificate a datahub.

swagger:model RotateDbCertificateRequest

func (*RotateDbCertificateRequest) ContextValidate ¶ added in v0.7.4

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

ContextValidate validates this rotate db certificate request based on context it is used

func (*RotateDbCertificateRequest) MarshalBinary ¶ added in v0.7.4

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

MarshalBinary interface implementation

func (*RotateDbCertificateRequest) UnmarshalBinary ¶ added in v0.7.4

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

UnmarshalBinary interface implementation

func (*RotateDbCertificateRequest) Validate ¶ added in v0.7.4

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

Validate validates this rotate db certificate request

type RotateDbCertificateResponse ¶ added in v0.7.4

type RotateDbCertificateResponse interface{}

RotateDbCertificateResponse Response object to rotate ssl certificate a datahub.

swagger:model RotateDbCertificateResponse

type RotatePrivateCertificatesRequest ¶

type RotatePrivateCertificatesRequest struct {

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

RotatePrivateCertificatesRequest Request object to rotate private certificates on the hosts of Datahub.

swagger:model RotatePrivateCertificatesRequest

func (*RotatePrivateCertificatesRequest) ContextValidate ¶

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

ContextValidate validates this rotate private certificates request based on context it is used

func (*RotatePrivateCertificatesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RotatePrivateCertificatesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RotatePrivateCertificatesRequest) Validate ¶

Validate validates this rotate private certificates request

type RotatePrivateCertificatesResponse ¶

type RotatePrivateCertificatesResponse interface{}

RotatePrivateCertificatesResponse Response object to rotate private certificates on the hosts of Datahub.

swagger:model RotatePrivateCertificatesResponse

type RotateSaltPasswordRequest ¶

type RotateSaltPasswordRequest struct {

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

RotateSaltPasswordRequest Request object for rotating SaltStack user password on Data Hub instances.

swagger:model RotateSaltPasswordRequest

func (*RotateSaltPasswordRequest) ContextValidate ¶

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

ContextValidate validates this rotate salt password request based on context it is used

func (*RotateSaltPasswordRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*RotateSaltPasswordRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*RotateSaltPasswordRequest) Validate ¶

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

Validate validates this rotate salt password request

type RotateSaltPasswordResponse ¶

type RotateSaltPasswordResponse interface{}

RotateSaltPasswordResponse Response object for rotating SaltStack user password on Data Hub instances.

swagger:model RotateSaltPasswordResponse

type RotateSecretsRequest ¶ added in v0.7.4

type RotateSecretsRequest struct {

	// The datahub CRN where we wish to rotate secrets.
	// Required: true
	Datahub *string `json:"datahub"`

	// The list of secrets that need replacement.
	// Required: true
	SecretTypes []string `json:"secretTypes"`
}

RotateSecretsRequest Request object for starting secret rotation for datahub.

swagger:model RotateSecretsRequest

func (*RotateSecretsRequest) ContextValidate ¶ added in v0.7.4

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

ContextValidate validates this rotate secrets request based on context it is used

func (*RotateSecretsRequest) MarshalBinary ¶ added in v0.7.4

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

MarshalBinary interface implementation

func (*RotateSecretsRequest) UnmarshalBinary ¶ added in v0.7.4

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

UnmarshalBinary interface implementation

func (*RotateSecretsRequest) Validate ¶ added in v0.7.4

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

Validate validates this rotate secrets request

type RotateSecretsResponse ¶ added in v0.7.4

type RotateSecretsResponse interface{}

RotateSecretsResponse Response object for rotating secrets.

swagger:model RotateSecretsResponse

type ScaleClusterRequest ¶

type ScaleClusterRequest struct {

	// The name or CRN of the cluster to be scaled.
	// Required: true
	ClusterName *string `json:"clusterName"`

	// The desired number of instances in the instance group.
	// Required: true
	InstanceGroupDesiredCount *int32 `json:"instanceGroupDesiredCount"`

	// The name of the instance group which needs to be scaled.
	// Required: true
	InstanceGroupName *string `json:"instanceGroupName"`
}

ScaleClusterRequest Request object for scale cluster request.

swagger:model ScaleClusterRequest

func (*ScaleClusterRequest) ContextValidate ¶

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

ContextValidate validates this scale cluster request based on context it is used

func (*ScaleClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ScaleClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ScaleClusterRequest) Validate ¶

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

Validate validates this scale cluster request

type ScaleClusterResponse ¶

type ScaleClusterResponse interface{}

ScaleClusterResponse Response object for scale cluster request.

swagger:model ScaleClusterResponse

type ScalingActivitySummary ¶

type ScalingActivitySummary struct {

	// The status of the scaling activity. Supported values- ACTIVITY_PENDING - If scaling activity is in pending state, METRICS_COLLECTION_SUCCESS/FAILED - for success/failure of metrics collection, UPSCALE_TRIGGER_SUCCESS/FAILED - for success/failure at the time of upscaling, DOWNSCALE_TRIGGER_SUCCESS/FAILED for success/failure at the time of downscaling, SCHEDULE_BASED_UPSCALE/DOWNSCALE - if schedule based scaling is used, SCALING_FLOW_IN_PROGRESS/SUCCESS/FAILED - State at which the scaling has reached, POLICY_ADJUSTMENT - if policy adjustment is taking place, UNKNOWN - if the state is not known.
	// Required: true
	ActivityStatus *string `json:"activityStatus"`

	// The end time of the scaling activity.
	// Required: true
	// Format: date-time
	EndTime *strfmt.DateTime `json:"endTime"`

	// The operation ID of the scaling activity.
	// Required: true
	OperationID *string `json:"operationId"`

	// The reason of the scaling activity.
	// Required: true
	ScalingActivityReason *string `json:"scalingActivityReason"`

	// The start time of the scaling activity.
	// Required: true
	// Format: date-time
	StartTime *strfmt.DateTime `json:"startTime"`
}

ScalingActivitySummary Information about a Scaling activity.

swagger:model ScalingActivitySummary

func (*ScalingActivitySummary) ContextValidate ¶

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

ContextValidate validates this scaling activity summary based on context it is used

func (*ScalingActivitySummary) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ScalingActivitySummary) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ScalingActivitySummary) Validate ¶

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

Validate validates this scaling activity summary

type SecretTypeResponse ¶ added in v0.7.4

type SecretTypeResponse struct {

	// The description of the secret type.
	Description string `json:"description,omitempty"`

	// The type of secret that can be used with the rotate-secrets command.
	SecretType string `json:"secretType,omitempty"`
}

SecretTypeResponse Response object for showing the secret types and descriptions

swagger:model SecretTypeResponse

func (*SecretTypeResponse) ContextValidate ¶ added in v0.7.4

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

ContextValidate validates this secret type response based on context it is used

func (*SecretTypeResponse) MarshalBinary ¶ added in v0.7.4

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

MarshalBinary interface implementation

func (*SecretTypeResponse) UnmarshalBinary ¶ added in v0.7.4

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

UnmarshalBinary interface implementation

func (*SecretTypeResponse) Validate ¶ added in v0.7.4

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

Validate validates this secret type response

type ServiceStatus ¶

type ServiceStatus struct {

	// The service health checks.
	HealthChecks []*HealthCheck `json:"healthChecks"`

	// The service health summary.
	HealthSummary string `json:"healthSummary,omitempty"`

	// The service state.
	State string `json:"state,omitempty"`

	// The service type.
	Type string `json:"type,omitempty"`
}

ServiceStatus Information about a cluster service.

swagger:model ServiceStatus

func (*ServiceStatus) ContextValidate ¶

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

ContextValidate validate this service status based on the context it is used

func (*ServiceStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ServiceStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ServiceStatus) Validate ¶

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

Validate validates this service status

type SetCatalogRequest ¶

type SetCatalogRequest struct {

	// The name of the catalog to be used.
	// Required: true
	CatalogName *string `json:"catalogName"`

	// The name or CRN of the affected DataHub cluster.
	// Required: true
	Cluster *string `json:"cluster"`
}

SetCatalogRequest The request object to set catalog for a DataHub.

swagger:model SetCatalogRequest

func (*SetCatalogRequest) ContextValidate ¶

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

ContextValidate validates this set catalog request based on context it is used

func (*SetCatalogRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*SetCatalogRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*SetCatalogRequest) Validate ¶

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

Validate validates this set catalog request

type SetCatalogResponse ¶

type SetCatalogResponse interface{}

SetCatalogResponse The response object to set catalog for a DataHub request.

swagger:model SetCatalogResponse

type SetDefaultJavaVersionRequest ¶ added in v0.7.6

type SetDefaultJavaVersionRequest struct {

	// The CRN of the Data Hub cluster.
	// Required: true
	ClusterCrn *string `json:"clusterCrn"`

	// The Java version to set as default.
	// Required: true
	JavaVersion *string `json:"javaVersion"`
}

SetDefaultJavaVersionRequest Request object for setting the default Java version on the Data Hub cluster.

swagger:model SetDefaultJavaVersionRequest

func (*SetDefaultJavaVersionRequest) ContextValidate ¶ added in v0.7.6

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

ContextValidate validates this set default java version request based on context it is used

func (*SetDefaultJavaVersionRequest) MarshalBinary ¶ added in v0.7.6

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

MarshalBinary interface implementation

func (*SetDefaultJavaVersionRequest) UnmarshalBinary ¶ added in v0.7.6

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

UnmarshalBinary interface implementation

func (*SetDefaultJavaVersionRequest) Validate ¶ added in v0.7.6

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

Validate validates this set default java version request

type SetDefaultJavaVersionResponse ¶ added in v0.7.6

type SetDefaultJavaVersionResponse struct {

	// The id of the related operation.
	OperationID string `json:"operationId,omitempty"`
}

SetDefaultJavaVersionResponse Response object for setting the default Java version on the Data Hub cluster.

swagger:model SetDefaultJavaVersionResponse

func (*SetDefaultJavaVersionResponse) ContextValidate ¶ added in v0.7.6

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

ContextValidate validates this set default java version response based on context it is used

func (*SetDefaultJavaVersionResponse) MarshalBinary ¶ added in v0.7.6

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

MarshalBinary interface implementation

func (*SetDefaultJavaVersionResponse) UnmarshalBinary ¶ added in v0.7.6

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

UnmarshalBinary interface implementation

func (*SetDefaultJavaVersionResponse) Validate ¶ added in v0.7.6

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

Validate validates this set default java version response

type StackStatus ¶

type StackStatus string

StackStatus Status of the stack.

swagger:model StackStatus

const (

	// StackStatusREQUESTED captures enum value "REQUESTED"
	StackStatusREQUESTED StackStatus = "REQUESTED"

	// StackStatusCREATEINPROGRESS captures enum value "CREATE_IN_PROGRESS"
	StackStatusCREATEINPROGRESS StackStatus = "CREATE_IN_PROGRESS"

	// StackStatusAVAILABLE captures enum value "AVAILABLE"
	StackStatusAVAILABLE StackStatus = "AVAILABLE"

	// StackStatusUPDATEINPROGRESS captures enum value "UPDATE_IN_PROGRESS"
	StackStatusUPDATEINPROGRESS StackStatus = "UPDATE_IN_PROGRESS"

	// StackStatusUPDATEREQUESTED captures enum value "UPDATE_REQUESTED"
	StackStatusUPDATEREQUESTED StackStatus = "UPDATE_REQUESTED"

	// StackStatusUPDATEFAILED captures enum value "UPDATE_FAILED"
	StackStatusUPDATEFAILED StackStatus = "UPDATE_FAILED"

	// StackStatusBACKUPINPROGRESS captures enum value "BACKUP_IN_PROGRESS"
	StackStatusBACKUPINPROGRESS StackStatus = "BACKUP_IN_PROGRESS"

	// StackStatusBACKUPFAILED captures enum value "BACKUP_FAILED"
	StackStatusBACKUPFAILED StackStatus = "BACKUP_FAILED"

	// StackStatusBACKUPFINISHED captures enum value "BACKUP_FINISHED"
	StackStatusBACKUPFINISHED StackStatus = "BACKUP_FINISHED"

	// StackStatusRESTOREINPROGRESS captures enum value "RESTORE_IN_PROGRESS"
	StackStatusRESTOREINPROGRESS StackStatus = "RESTORE_IN_PROGRESS"

	// StackStatusRESTOREFAILED captures enum value "RESTORE_FAILED"
	StackStatusRESTOREFAILED StackStatus = "RESTORE_FAILED"

	// StackStatusRESTOREFINISHED captures enum value "RESTORE_FINISHED"
	StackStatusRESTOREFINISHED StackStatus = "RESTORE_FINISHED"

	// StackStatusRECOVERYINPROGRESS captures enum value "RECOVERY_IN_PROGRESS"
	StackStatusRECOVERYINPROGRESS StackStatus = "RECOVERY_IN_PROGRESS"

	// StackStatusRECOVERYREQUESTED captures enum value "RECOVERY_REQUESTED"
	StackStatusRECOVERYREQUESTED StackStatus = "RECOVERY_REQUESTED"

	// StackStatusRECOVERYFAILED captures enum value "RECOVERY_FAILED"
	StackStatusRECOVERYFAILED StackStatus = "RECOVERY_FAILED"

	// StackStatusCREATEFAILED captures enum value "CREATE_FAILED"
	StackStatusCREATEFAILED StackStatus = "CREATE_FAILED"

	// StackStatusENABLESECURITYFAILED captures enum value "ENABLE_SECURITY_FAILED"
	StackStatusENABLESECURITYFAILED StackStatus = "ENABLE_SECURITY_FAILED"

	// StackStatusPREDELETEINPROGRESS captures enum value "PRE_DELETE_IN_PROGRESS"
	StackStatusPREDELETEINPROGRESS StackStatus = "PRE_DELETE_IN_PROGRESS"

	// StackStatusDELETEINPROGRESS captures enum value "DELETE_IN_PROGRESS"
	StackStatusDELETEINPROGRESS StackStatus = "DELETE_IN_PROGRESS"

	// StackStatusDELETEFAILED captures enum value "DELETE_FAILED"
	StackStatusDELETEFAILED StackStatus = "DELETE_FAILED"

	// StackStatusDELETEDONPROVIDERSIDE captures enum value "DELETED_ON_PROVIDER_SIDE"
	StackStatusDELETEDONPROVIDERSIDE StackStatus = "DELETED_ON_PROVIDER_SIDE"

	// StackStatusDELETECOMPLETED captures enum value "DELETE_COMPLETED"
	StackStatusDELETECOMPLETED StackStatus = "DELETE_COMPLETED"

	// StackStatusSTOPPED captures enum value "STOPPED"
	StackStatusSTOPPED StackStatus = "STOPPED"

	// StackStatusSTOPREQUESTED captures enum value "STOP_REQUESTED"
	StackStatusSTOPREQUESTED StackStatus = "STOP_REQUESTED"

	// StackStatusSTARTREQUESTED captures enum value "START_REQUESTED"
	StackStatusSTARTREQUESTED StackStatus = "START_REQUESTED"

	// StackStatusSTOPINPROGRESS captures enum value "STOP_IN_PROGRESS"
	StackStatusSTOPINPROGRESS StackStatus = "STOP_IN_PROGRESS"

	// StackStatusSTARTINPROGRESS captures enum value "START_IN_PROGRESS"
	StackStatusSTARTINPROGRESS StackStatus = "START_IN_PROGRESS"

	// StackStatusSTARTFAILED captures enum value "START_FAILED"
	StackStatusSTARTFAILED StackStatus = "START_FAILED"

	// StackStatusSTOPFAILED captures enum value "STOP_FAILED"
	StackStatusSTOPFAILED StackStatus = "STOP_FAILED"

	// StackStatusWAITFORSYNC captures enum value "WAIT_FOR_SYNC"
	StackStatusWAITFORSYNC StackStatus = "WAIT_FOR_SYNC"

	// StackStatusMAINTENANCEMODEENABLED captures enum value "MAINTENANCE_MODE_ENABLED"
	StackStatusMAINTENANCEMODEENABLED StackStatus = "MAINTENANCE_MODE_ENABLED"

	// StackStatusAMBIGUOUS captures enum value "AMBIGUOUS"
	StackStatusAMBIGUOUS StackStatus = "AMBIGUOUS"

	// StackStatusUNREACHABLE captures enum value "UNREACHABLE"
	StackStatusUNREACHABLE StackStatus = "UNREACHABLE"

	// StackStatusNODEFAILURE captures enum value "NODE_FAILURE"
	StackStatusNODEFAILURE StackStatus = "NODE_FAILURE"

	// StackStatusEXTERNALDATABASECREATIONINPROGRESS captures enum value "EXTERNAL_DATABASE_CREATION_IN_PROGRESS"
	StackStatusEXTERNALDATABASECREATIONINPROGRESS StackStatus = "EXTERNAL_DATABASE_CREATION_IN_PROGRESS"

	// StackStatusEXTERNALDATABASECREATIONFAILED captures enum value "EXTERNAL_DATABASE_CREATION_FAILED"
	StackStatusEXTERNALDATABASECREATIONFAILED StackStatus = "EXTERNAL_DATABASE_CREATION_FAILED"

	// StackStatusEXTERNALDATABASEDELETIONINPROGRESS captures enum value "EXTERNAL_DATABASE_DELETION_IN_PROGRESS"
	StackStatusEXTERNALDATABASEDELETIONINPROGRESS StackStatus = "EXTERNAL_DATABASE_DELETION_IN_PROGRESS"

	// StackStatusEXTERNALDATABASEDELETIONFINISHED captures enum value "EXTERNAL_DATABASE_DELETION_FINISHED"
	StackStatusEXTERNALDATABASEDELETIONFINISHED StackStatus = "EXTERNAL_DATABASE_DELETION_FINISHED"

	// StackStatusEXTERNALDATABASEDELETIONFAILED captures enum value "EXTERNAL_DATABASE_DELETION_FAILED"
	StackStatusEXTERNALDATABASEDELETIONFAILED StackStatus = "EXTERNAL_DATABASE_DELETION_FAILED"

	// StackStatusEXTERNALDATABASESTARTINPROGRESS captures enum value "EXTERNAL_DATABASE_START_IN_PROGRESS"
	StackStatusEXTERNALDATABASESTARTINPROGRESS StackStatus = "EXTERNAL_DATABASE_START_IN_PROGRESS"

	// StackStatusEXTERNALDATABASESTARTFINISHED captures enum value "EXTERNAL_DATABASE_START_FINISHED"
	StackStatusEXTERNALDATABASESTARTFINISHED StackStatus = "EXTERNAL_DATABASE_START_FINISHED"

	// StackStatusEXTERNALDATABASESTARTFAILED captures enum value "EXTERNAL_DATABASE_START_FAILED"
	StackStatusEXTERNALDATABASESTARTFAILED StackStatus = "EXTERNAL_DATABASE_START_FAILED"

	// StackStatusEXTERNALDATABASESTOPINPROGRESS captures enum value "EXTERNAL_DATABASE_STOP_IN_PROGRESS"
	StackStatusEXTERNALDATABASESTOPINPROGRESS StackStatus = "EXTERNAL_DATABASE_STOP_IN_PROGRESS"

	// StackStatusEXTERNALDATABASESTOPFINISHED captures enum value "EXTERNAL_DATABASE_STOP_FINISHED"
	StackStatusEXTERNALDATABASESTOPFINISHED StackStatus = "EXTERNAL_DATABASE_STOP_FINISHED"

	// StackStatusEXTERNALDATABASESTOPFAILED captures enum value "EXTERNAL_DATABASE_STOP_FAILED"
	StackStatusEXTERNALDATABASESTOPFAILED StackStatus = "EXTERNAL_DATABASE_STOP_FAILED"

	// StackStatusLOADBALANCERUPDATEINPROGRESS captures enum value "LOAD_BALANCER_UPDATE_IN_PROGRESS"
	StackStatusLOADBALANCERUPDATEINPROGRESS StackStatus = "LOAD_BALANCER_UPDATE_IN_PROGRESS"

	// StackStatusLOADBALANCERUPDATEFINISHED captures enum value "LOAD_BALANCER_UPDATE_FINISHED"
	StackStatusLOADBALANCERUPDATEFINISHED StackStatus = "LOAD_BALANCER_UPDATE_FINISHED"

	// StackStatusLOADBALANCERUPDATEFAILED captures enum value "LOAD_BALANCER_UPDATE_FAILED"
	StackStatusLOADBALANCERUPDATEFAILED StackStatus = "LOAD_BALANCER_UPDATE_FAILED"
)

func NewStackStatus ¶

func NewStackStatus(value StackStatus) *StackStatus

func (StackStatus) ContextValidate ¶

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

ContextValidate validates this stack status based on context it is used

func (StackStatus) Pointer ¶

func (m StackStatus) Pointer() *StackStatus

Pointer returns a pointer to a freshly-allocated StackStatus.

func (StackStatus) Validate ¶

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

Validate validates this stack status

type StartClusterRequest ¶

type StartClusterRequest struct {

	// The name or CRN of the cluster to be started.
	// Required: true
	ClusterName *string `json:"clusterName"`
}

StartClusterRequest Request object for start cluster request.

swagger:model StartClusterRequest

func (*StartClusterRequest) ContextValidate ¶

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

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

func (*StartClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*StartClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*StartClusterRequest) Validate ¶

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

Validate validates this start cluster request

type StartClusterResponse ¶

type StartClusterResponse interface{}

StartClusterResponse Response object for start cluster request.

swagger:model StartClusterResponse

type StartClusterVerticalScalingRequest ¶

type StartClusterVerticalScalingRequest struct {

	// The name or CRN of the Data Hub cluster.
	// Required: true
	Datahub *string `json:"datahub"`

	// Disk options for vertical scaling. Available options are - add, remove, or modify.
	DiskOptions *DiskOptions `json:"diskOptions,omitempty"`

	// The target group that reqested for vertical scaling.
	// Required: true
	Group *string `json:"group"`

	// Instance template that specifies the core information for the vertical scale.
	InstanceTemplate *InstanceTemplate `json:"instanceTemplate,omitempty"`
}

StartClusterVerticalScalingRequest The request object for Data Hub vertical scaling.

swagger:model StartClusterVerticalScalingRequest

func (*StartClusterVerticalScalingRequest) ContextValidate ¶

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

ContextValidate validate this start cluster vertical scaling request based on the context it is used

func (*StartClusterVerticalScalingRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*StartClusterVerticalScalingRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*StartClusterVerticalScalingRequest) Validate ¶

Validate validates this start cluster vertical scaling request

type StartClusterVerticalScalingResponse ¶

type StartClusterVerticalScalingResponse struct {

	// The result of the operation.
	Result string `json:"result,omitempty"`
}

StartClusterVerticalScalingResponse The response object for Data Hub cluster vertical scaling.

swagger:model StartClusterVerticalScalingResponse

func (*StartClusterVerticalScalingResponse) ContextValidate ¶

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

ContextValidate validates this start cluster vertical scaling response based on context it is used

func (*StartClusterVerticalScalingResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*StartClusterVerticalScalingResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*StartClusterVerticalScalingResponse) Validate ¶

Validate validates this start cluster vertical scaling response

type StartDatabaseUpgradeRequest ¶

type StartDatabaseUpgradeRequest struct {

	// The name or CRN of the Data Hub.
	// Required: true
	Cluster *string `json:"cluster"`

	// Start the database upgrade flow even if the source and target versions are the same. Can be used to reinitiate an upgrade after a failure.
	Force bool `json:"force,omitempty"`

	// The database engine major version to upgrade to.
	// Enum: ["VERSION_11","VERSION_14"]
	TargetVersion string `json:"targetVersion,omitempty"`
}

StartDatabaseUpgradeRequest Request object for Data Hub database upgrade.

swagger:model StartDatabaseUpgradeRequest

func (*StartDatabaseUpgradeRequest) ContextValidate ¶

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

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

func (*StartDatabaseUpgradeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*StartDatabaseUpgradeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*StartDatabaseUpgradeRequest) Validate ¶

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

Validate validates this start database upgrade request

type StartDatabaseUpgradeResponse ¶

type StartDatabaseUpgradeResponse struct {

	// The database engine major version to upgrade to.
	TargetVersion string `json:"targetVersion,omitempty"`
}

StartDatabaseUpgradeResponse Response object to Data Hub database upgrade.

swagger:model StartDatabaseUpgradeResponse

func (*StartDatabaseUpgradeResponse) ContextValidate ¶

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

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

func (*StartDatabaseUpgradeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*StartDatabaseUpgradeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*StartDatabaseUpgradeResponse) Validate ¶

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

Validate validates this start database upgrade response

type StartInstancesRequest ¶

type StartInstancesRequest struct {

	// The name or CRN of the cluster whose instances are to be started.
	// Required: true
	Cluster *string `json:"cluster"`

	// The name of the instance group whose instances are to be started.
	// Required: true
	HostGroup *string `json:"hostGroup"`

	// The number of instances to start.
	InstanceCount int32 `json:"instanceCount,omitempty"`
}

StartInstancesRequest Request object to start instances of a host group on a Data Hub.

swagger:model StartInstancesRequest

func (*StartInstancesRequest) ContextValidate ¶

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

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

func (*StartInstancesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*StartInstancesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*StartInstancesRequest) Validate ¶

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

Validate validates this start instances request

type StartInstancesResponse ¶

type StartInstancesResponse interface{}

StartInstancesResponse Response object to start instances of a host group on Data Hub.

swagger:model StartInstancesResponse

type StopClusterRequest ¶

type StopClusterRequest struct {

	// The name or CRN of the cluster to be stopped.
	// Required: true
	ClusterName *string `json:"clusterName"`
}

StopClusterRequest Request object for stop cluster request.

swagger:model StopClusterRequest

func (*StopClusterRequest) ContextValidate ¶

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

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

func (*StopClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*StopClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*StopClusterRequest) Validate ¶

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

Validate validates this stop cluster request

type StopClusterResponse ¶

type StopClusterResponse interface{}

StopClusterResponse Response object for stop cluster request.

swagger:model StopClusterResponse

type StopInstancesRequest ¶

type StopInstancesRequest struct {

	// The name or CRN of the cluster whose instances are to be stopped.
	// Required: true
	Cluster *string `json:"cluster"`

	// Whether the stop instances operation should be forced or not. Defaults to false.
	Forced bool `json:"forced,omitempty"`

	// The list of instance IDs.
	// Required: true
	InstanceIds []string `json:"instanceIds"`
}

StopInstancesRequest Request object to stop instances of a host group on a Data Hub.

swagger:model StopInstancesRequest

func (*StopInstancesRequest) ContextValidate ¶

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

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

func (*StopInstancesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*StopInstancesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*StopInstancesRequest) Validate ¶

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

Validate validates this stop instances request

type StopInstancesResponse ¶

type StopInstancesResponse interface{}

StopInstancesResponse Response object to a stop instances of a host group on a Data Hub.

swagger:model StopInstancesResponse

type SyncClusterRequest ¶

type SyncClusterRequest struct {

	// The name or CRN of the cluster to be synced.
	// Required: true
	ClusterName *string `json:"clusterName"`
}

SyncClusterRequest Request object for sync cluster request.

swagger:model SyncClusterRequest

func (*SyncClusterRequest) ContextValidate ¶

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

ContextValidate validates this sync cluster request based on context it is used

func (*SyncClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*SyncClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*SyncClusterRequest) Validate ¶

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

Validate validates this sync cluster request

type SyncClusterResponse ¶

type SyncClusterResponse interface{}

SyncClusterResponse Response object for sync cluster request.

swagger:model SyncClusterResponse

type SyncComponentVersionsFromCmRequest ¶

type SyncComponentVersionsFromCmRequest struct {

	// The name or CRN of the datahub.
	// Required: true
	DatahubName *string `json:"datahubName"`
}

SyncComponentVersionsFromCmRequest Datahub sync CM component versions request.

swagger:model SyncComponentVersionsFromCmRequest

func (*SyncComponentVersionsFromCmRequest) ContextValidate ¶

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

ContextValidate validates this sync component versions from cm request based on context it is used

func (*SyncComponentVersionsFromCmRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*SyncComponentVersionsFromCmRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*SyncComponentVersionsFromCmRequest) Validate ¶

Validate validates this sync component versions from cm request

type SyncComponentVersionsFromCmResponse ¶

type SyncComponentVersionsFromCmResponse interface{}

SyncComponentVersionsFromCmResponse Datahub sync CM component versions response.

swagger:model SyncComponentVersionsFromCmResponse

type UpdateAutoScaleRulesRequest ¶

type UpdateAutoScaleRulesRequest struct {

	// The actual scaling policies for the cluster
	AutoScalePolicies []*AutoScalePolicyRequest `json:"autoScalePolicies"`

	// The name or CRN of the cluster.
	// Required: true
	// Max Length: 500
	// Min Length: 5
	ClusterName *string `json:"clusterName"`

	// true to enable Autoscaling, false to disable AutoScaling. If not specified, the existing value is used.
	Enabled bool `json:"enabled,omitempty"`

	// true to enable StopStart scaling mechanism, false to use regular AutoScaling (if enabled). If not specified, the existing value is used.
	UseStopStartMechanism bool `json:"useStopStartMechanism,omitempty"`
}

UpdateAutoScaleRulesRequest Autoscale Modification request

swagger:model UpdateAutoScaleRulesRequest

func (*UpdateAutoScaleRulesRequest) ContextValidate ¶

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

ContextValidate validate this update auto scale rules request based on the context it is used

func (*UpdateAutoScaleRulesRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UpdateAutoScaleRulesRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UpdateAutoScaleRulesRequest) Validate ¶

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

Validate validates this update auto scale rules request

type UpdateAutoScaleRulesResponse ¶

type UpdateAutoScaleRulesResponse struct {

	// The autoscale rules.
	AutoScaleRules *AutoScaleRulesResponse `json:"autoScaleRules,omitempty"`
}

UpdateAutoScaleRulesResponse The AutoScale rules for the cluster.

swagger:model UpdateAutoScaleRulesResponse

func (*UpdateAutoScaleRulesResponse) ContextValidate ¶

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

ContextValidate validate this update auto scale rules response based on the context it is used

func (*UpdateAutoScaleRulesResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UpdateAutoScaleRulesResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UpdateAutoScaleRulesResponse) Validate ¶

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

Validate validates this update auto scale rules response

type UpdateOrchestratorStateRequest ¶

type UpdateOrchestratorStateRequest struct {

	// The CRN of the Data Hub cluster.
	// Required: true
	ClusterCrn *string `json:"clusterCrn"`
}

UpdateOrchestratorStateRequest Request object for running orchestrator engine state update on the Data Hub cluster.

swagger:model UpdateOrchestratorStateRequest

func (*UpdateOrchestratorStateRequest) ContextValidate ¶

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

ContextValidate validates this update orchestrator state request based on context it is used

func (*UpdateOrchestratorStateRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UpdateOrchestratorStateRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UpdateOrchestratorStateRequest) Validate ¶

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

Validate validates this update orchestrator state request

type UpdateOrchestratorStateResponse ¶

type UpdateOrchestratorStateResponse interface{}

UpdateOrchestratorStateResponse Response object for running orchestrator engine state update on the Data Hub cluster.

swagger:model UpdateOrchestratorStateResponse

type UpdateToAwsImdsV1Request ¶ added in v0.6.0

type UpdateToAwsImdsV1Request struct {

	// The CRN of the Data Hub.
	// Required: true
	Crn *string `json:"crn"`
}

UpdateToAwsImdsV1Request Request object for updating Data Hub to use AWS IMDSv1.

swagger:model UpdateToAwsImdsV1Request

func (*UpdateToAwsImdsV1Request) ContextValidate ¶ added in v0.6.0

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

ContextValidate validates this update to aws imds v1 request based on context it is used

func (*UpdateToAwsImdsV1Request) MarshalBinary ¶ added in v0.6.0

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

MarshalBinary interface implementation

func (*UpdateToAwsImdsV1Request) UnmarshalBinary ¶ added in v0.6.0

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

UnmarshalBinary interface implementation

func (*UpdateToAwsImdsV1Request) Validate ¶ added in v0.6.0

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

Validate validates this update to aws imds v1 request

type UpdateToAwsImdsV1Response ¶ added in v0.6.0

type UpdateToAwsImdsV1Response interface{}

UpdateToAwsImdsV1Response Response object for updating Data Hub to AWS IMDSv1.

swagger:model UpdateToAwsImdsV1Response

type UpdateToAwsImdsV2Request ¶ added in v0.6.0

type UpdateToAwsImdsV2Request struct {

	// The CRN of the Data Hub.
	// Required: true
	Crn *string `json:"crn"`
}

UpdateToAwsImdsV2Request Request object for updating Data Hub to use AWS IMDSv2.

swagger:model UpdateToAwsImdsV2Request

func (*UpdateToAwsImdsV2Request) ContextValidate ¶ added in v0.6.0

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

ContextValidate validates this update to aws imds v2 request based on context it is used

func (*UpdateToAwsImdsV2Request) MarshalBinary ¶ added in v0.6.0

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

MarshalBinary interface implementation

func (*UpdateToAwsImdsV2Request) UnmarshalBinary ¶ added in v0.6.0

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

UnmarshalBinary interface implementation

func (*UpdateToAwsImdsV2Request) Validate ¶ added in v0.6.0

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

Validate validates this update to aws imds v2 request

type UpdateToAwsImdsV2Response ¶ added in v0.6.0

type UpdateToAwsImdsV2Response interface{}

UpdateToAwsImdsV2Response Response object for updating Data Hub to AWS IMDSv2.

swagger:model UpdateToAwsImdsV2Response

type UpgradeClusterRequest ¶

type UpgradeClusterRequest struct {

	// The name or CRN of the datahub.
	// Required: true
	ClusterName *string `json:"clusterName"`

	// Checks the eligibility of an image to upgrade but do not perform the upgrade.
	DryRun bool `json:"dryRun,omitempty"`

	// The id of an image to upgrade to.
	ImageID string `json:"imageId,omitempty"`

	// Perform an os upgrade only.
	LockComponents bool `json:"lockComponents,omitempty"`

	// Enables the ability to perform rolling runtime upgrade.
	RollingUpgradeEnabled bool `json:"rollingUpgradeEnabled,omitempty"`

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

	// Returns the list of images that are eligible for the upgrade.
	ShowAvailableImages bool `json:"showAvailableImages,omitempty"`

	// Returns the latest image that is eligible for the upgrade for each runtime version with at least one available upgrade candidate.
	ShowLatestAvailableImagePerRuntime bool `json:"showLatestAvailableImagePerRuntime,omitempty"`
}

UpgradeClusterRequest Request object to upgrade datahub.

swagger:model UpgradeClusterRequest

func (*UpgradeClusterRequest) ContextValidate ¶

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

ContextValidate validates this upgrade cluster request based on context it is used

func (*UpgradeClusterRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UpgradeClusterRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UpgradeClusterRequest) Validate ¶

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

Validate validates this upgrade cluster request

type UpgradeClusterResponse ¶

type UpgradeClusterResponse struct {

	// Information about the current image.
	Current *ImageInfo `json:"current,omitempty"`

	// The reason why upgrade is not possible.
	Reason string `json:"reason,omitempty"`

	// List of images and components to upgrade to.
	UpgradeCandidates []*ImageInfo `json:"upgradeCandidates"`
}

UpgradeClusterResponse Response object for upgrade datahub request.

swagger:model UpgradeClusterResponse

func (*UpgradeClusterResponse) ContextValidate ¶

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

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

func (*UpgradeClusterResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*UpgradeClusterResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*UpgradeClusterResponse) Validate ¶

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

Validate validates this upgrade cluster response

type VMTypeResponseWithMetadata ¶ added in v0.6.0

type VMTypeResponseWithMetadata struct {

	// Name of the vm type.
	Name string `json:"name,omitempty"`

	// JSON string with metadata as key value pairs.
	Properties string `json:"properties,omitempty"`
}

VMTypeResponseWithMetadata Response object containing vm types and its metadata.

swagger:model VmTypeResponseWithMetadata

func (*VMTypeResponseWithMetadata) ContextValidate ¶ added in v0.6.0

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

ContextValidate validates this Vm type response with metadata based on context it is used

func (*VMTypeResponseWithMetadata) MarshalBinary ¶ added in v0.6.0

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

MarshalBinary interface implementation

func (*VMTypeResponseWithMetadata) UnmarshalBinary ¶ added in v0.6.0

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

UnmarshalBinary interface implementation

func (*VMTypeResponseWithMetadata) Validate ¶ added in v0.6.0

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

Validate validates this Vm type response with metadata

type VolumeEncryptionRequest ¶

type VolumeEncryptionRequest struct {

	// Enable encyrption for all volumes in the instance group. Default is false.
	EnableEncryption *bool `json:"enableEncryption,omitempty"`

	// The ARN of the encryption key to use. If nothing is specified, the default key will be used.
	EncryptionKey string `json:"encryptionKey,omitempty"`
}

VolumeEncryptionRequest Configurations for volume encryption.

swagger:model VolumeEncryptionRequest

func (*VolumeEncryptionRequest) ContextValidate ¶

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

ContextValidate validates this volume encryption request based on context it is used

func (*VolumeEncryptionRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*VolumeEncryptionRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*VolumeEncryptionRequest) Validate ¶

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

Validate validates this volume encryption request

Source Files ¶

Jump to

Keyboard shortcuts

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