models

package
v0.1.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditEvent

type AuditEvent struct {

	// Action the user has generated.
	// Required: true
	Action *string `json:"action"`

	// Time at creation of event.
	// Required: true
	// Format: date-time
	CreatedDate *strfmt.DateTime `json:"createdDate"`

	// Unique request ID to keep track of event.
	// Required: true
	RequestID *string `json:"requestID"`

	// UserCrn to track which user has caused the event.
	// Required: true
	UserCrn *string `json:"userCrn"`

	// Workspace crn where the event observed.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

AuditEvent Audit event descibes an performed or performing in a given workspace.

swagger:model AuditEvent

func (*AuditEvent) ContextValidate

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

ContextValidate validates this audit event based on context it is used

func (*AuditEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*AuditEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuditEvent) Validate

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

Validate validates this audit event

type AuditEvents

type AuditEvents struct {

	// AuditEvent belong to the workspace crn.
	// Required: true
	Events []*AuditEvent `json:"events"`

	// Workspace crn unique for the set of audit events.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

AuditEvents AuditEvents contains all the audit events for a given workspace crn.

swagger:model AuditEvents

func (*AuditEvents) ContextValidate

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

ContextValidate validate this audit events based on the context it is used

func (*AuditEvents) MarshalBinary

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

MarshalBinary interface implementation

func (*AuditEvents) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuditEvents) Validate

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

Validate validates this audit events

type AuditLog

type AuditLog struct {

	// Time at which the log is created.
	// Required: true
	// Format: date-time
	CreatedDate *strfmt.DateTime `json:"createdDate"`

	// Log description.
	// Required: true
	Log *string `json:"log"`
}

AuditLog Audit log represents an individual log.

swagger:model AuditLog

func (*AuditLog) ContextValidate

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

ContextValidate validates this audit log based on context it is used

func (*AuditLog) MarshalBinary

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

MarshalBinary interface implementation

func (*AuditLog) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuditLog) Validate

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

Validate validates this audit log

type AuditLogs

type AuditLogs struct {

	// Total number of logs associated with the request id.
	// Required: true
	Count *int32 `json:"count"`

	// Contains all the logs for a given request id.
	// Required: true
	Logs []*AuditLog `json:"logs"`

	// The request ID associated with a long-running operation to fetch the logs for.
	// Required: true
	RequestID *string `json:"requestID"`
}

AuditLogs AuditLogs contains all the logs for a given request id.

swagger:model AuditLogs

func (*AuditLogs) ContextValidate

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

ContextValidate validate this audit logs based on the context it is used

func (*AuditLogs) MarshalBinary

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

MarshalBinary interface implementation

func (*AuditLogs) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AuditLogs) Validate

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

Validate validates this audit logs

type Autoscaling

type Autoscaling struct {

	// The boolean flag to enable the auto scaling.
	Enabled bool `json:"enabled,omitempty"`

	// The maximum number of instance for auto scaling.
	// Required: true
	MaxInstances *int32 `json:"maxInstances"`

	// The minimum number of instance for auto scaling.
	// Required: true
	MinInstances *int32 `json:"minInstances"`
}

Autoscaling Configuration for instance auto scaling.

swagger:model Autoscaling

func (*Autoscaling) ContextValidate

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

ContextValidate validates this autoscaling based on context it is used

func (*Autoscaling) MarshalBinary

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

MarshalBinary interface implementation

func (*Autoscaling) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Autoscaling) Validate

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

Validate validates this autoscaling

type BackupDetail

type BackupDetail struct {

	// The CRN of the backup snapshot.
	BackupCrn string `json:"backupCrn,omitempty"`

	// The name of the backup snapshot.
	BackupName string `json:"backupName,omitempty"`

	// The status of the backup.
	BackupStatus string `json:"backupStatus,omitempty"`

	// The creation time of the backup snapshot.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// The CRN of the creator.
	CreatorCrn string `json:"creatorCrn,omitempty"`

	// The version of the backed-up workspace at the time of backup.
	WorkspaceVersionAtBackup string `json:"workspaceVersionAtBackup,omitempty"`
}

BackupDetail Backup Detail response object for listing backups.

swagger:model BackupDetail

func (*BackupDetail) ContextValidate

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

ContextValidate validates this backup detail based on context it is used

func (*BackupDetail) MarshalBinary

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

MarshalBinary interface implementation

func (*BackupDetail) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BackupDetail) Validate

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

Validate validates this backup detail

type BackupMetadata

type BackupMetadata struct {

	// The backup vault name.
	BackupVaultName string `json:"backupVaultName,omitempty"`

	// Whether successful backups are available for the workspace.
	IsSuccessfulBackupAvailable bool `json:"isSuccessfulBackupAvailable,omitempty"`

	// The status of the last backup initiated.
	LastBackupStatus string `json:"lastBackupStatus,omitempty"`

	// The time when the last successful backup was taken.
	// Format: date-time
	LastSuccessfulBackupTime strfmt.DateTime `json:"lastSuccessfulBackupTime,omitempty"`

	// The number of backups available.
	NumberOfAvailableBackups int64 `json:"numberOfAvailableBackups,omitempty"`
}

BackupMetadata Backup metadata response object for the workspace summary.

swagger:model BackupMetadata

func (*BackupMetadata) ContextValidate

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

ContextValidate validates this backup metadata based on context it is used

func (*BackupMetadata) MarshalBinary

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

MarshalBinary interface implementation

func (*BackupMetadata) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BackupMetadata) Validate

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

Validate validates this backup metadata

type BackupWorkspaceRequest

type BackupWorkspaceRequest struct {

	// The timeout(in minutes) to use for the execution of the backup jobs.
	BackupJobTimeoutMinutes int32 `json:"backupJobTimeoutMinutes,omitempty"`

	// Backup name.
	// Required: true
	BackupName *string `json:"backupName"`

	// Skip pre-flight validations if requested.
	SkipValidation bool `json:"skipValidation,omitempty"`

	// CRN of the workspace to backup.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

BackupWorkspaceRequest The request object for workspace backup.

swagger:model BackupWorkspaceRequest

func (*BackupWorkspaceRequest) ContextValidate

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

ContextValidate validates this backup workspace request based on context it is used

func (*BackupWorkspaceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*BackupWorkspaceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BackupWorkspaceRequest) Validate

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

Validate validates this backup workspace request

type BackupWorkspaceResponse

type BackupWorkspaceResponse struct {

	// CRN of the backup generated.
	BackupCrn string `json:"backupCrn,omitempty"`

	// Name of the vault where backup related volumes are stored.
	VaultName string `json:"vaultName,omitempty"`
}

BackupWorkspaceResponse The response object for workspace backup.

swagger:model BackupWorkspaceResponse

func (*BackupWorkspaceResponse) ContextValidate

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

ContextValidate validates this backup workspace response based on context it is used

func (*BackupWorkspaceResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*BackupWorkspaceResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BackupWorkspaceResponse) Validate

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

Validate validates this backup workspace response

type CreateWorkspaceRequest

type CreateWorkspaceRequest struct {

	// The whitelist of CIDR blocks which can access the API server.
	AuthorizedIPRanges []string `json:"authorizedIPRanges"`

	// Toggle for cdsw migration preflight validation
	CdswMigrationMode string `json:"cdswMigrationMode,omitempty"`

	// The boolean flag to disable TLS setup for workspace. By default, the TLS is enabled.
	DisableTLS bool `json:"disableTLS,omitempty"`

	// Enables Cloudera Machine Learning governance by integrating with Cloudera Atlas. By default, this flag is disabled.
	EnableGovernance bool `json:"enableGovernance,omitempty"`

	// Enables the model metrics service for exporting metrics for models to a metrics store.
	EnableModelMetrics bool `json:"enableModelMetrics,omitempty"`

	// The boolean flag is used to enable monitoring. By default, monitoring is disabled.
	EnableMonitoring bool `json:"enableMonitoring,omitempty"`

	// The environment for the workspace to create.
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// Optional configurations for an existing Postgres to export model metrics to.
	ExistingDatabaseConfig *ExistingDatabaseConfig `json:"existingDatabaseConfig,omitempty"`

	// Optionally use an existing NFS by providing the hostname and desired path (Azure and Private Cloud only).
	ExistingNFS string `json:"existingNFS,omitempty"`

	// The whitelist of IPs for load balancer.
	LoadBalancerIPWhitelists []string `json:"loadBalancerIPWhitelists"`

	// The NFS Protocol version of the NFS server we are using for Azure and Private Cloud.
	NfsVersion string `json:"nfsVersion,omitempty"`

	// Outbound Types provided for the workspace.
	OutboundTypes []OutboundTypes `json:"outboundTypes"`

	// Whether to create a private cluster.
	PrivateCluster bool `json:"privateCluster,omitempty"`

	// The request for Kubernetes workspace provision. Required in public cloud.
	ProvisionK8sRequest *ProvisionK8sRequest `json:"provisionK8sRequest,omitempty"`

	// Skip pre-flight validations if requested
	SkipValidation bool `json:"skipValidation,omitempty"`

	// The static subdomain to be used for the workspace.
	StaticSubdomain string `json:"staticSubdomain,omitempty"`

	// The list of subnets used for the load balancer that CML creates.
	SubnetsForLoadBalancers []string `json:"subnetsForLoadBalancers"`

	// The boolean flag to request public load balancer. By default, private load balancer is used.
	UsePublicLoadBalancer bool `json:"usePublicLoadBalancer,omitempty"`

	// Whether to whitelist only 'authorizedIPRanges' given or all public IPs.
	WhitelistAuthorizedIPRanges bool `json:"whitelistAuthorizedIPRanges,omitempty"`

	// The name of the workspace to create.
	// Required: true
	WorkspaceName *string `json:"workspaceName"`
}

CreateWorkspaceRequest Request object for the CreateWorkspace method.

swagger:model CreateWorkspaceRequest

func (*CreateWorkspaceRequest) ContextValidate

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

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

func (*CreateWorkspaceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateWorkspaceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateWorkspaceRequest) Validate

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

Validate validates this create workspace request

type CreateWorkspaceResponse

type CreateWorkspaceResponse interface{}

CreateWorkspaceResponse Response object for the CreateWorkspace method.

swagger:model CreateWorkspaceResponse

type DeleteBackupRequest

type DeleteBackupRequest struct {

	// The CRN of the backup to be deleted.
	// Required: true
	BackupCrn *string `json:"backupCrn"`

	// Skip pre-flight validations if requested.
	SkipValidation bool `json:"skipValidation,omitempty"`
}

DeleteBackupRequest The request object for DeleteBackup operation.

swagger:model DeleteBackupRequest

func (*DeleteBackupRequest) ContextValidate

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

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

func (*DeleteBackupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteBackupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteBackupRequest) Validate

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

Validate validates this delete backup request

type DeleteBackupResponse

type DeleteBackupResponse struct {

	// The ID of the delete-backup workflow.
	WorkflowID string `json:"workflowId,omitempty"`
}

DeleteBackupResponse The response object for DeleteBackup operation.

swagger:model DeleteBackupResponse

func (*DeleteBackupResponse) ContextValidate

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

ContextValidate validates this delete backup response based on context it is used

func (*DeleteBackupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteBackupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteBackupResponse) Validate

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

Validate validates this delete backup response

type DeleteInstanceGroupRequest

type DeleteInstanceGroupRequest struct {

	// The instance group that we want to delete from the workspace.
	// Required: true
	InstanceGroupName *string `json:"instanceGroupName"`

	// The CRN of the workspace from which instance group is to be deleted.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

DeleteInstanceGroupRequest Request object for the DeleteInstanceGroup method.

swagger:model DeleteInstanceGroupRequest

func (*DeleteInstanceGroupRequest) ContextValidate

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

ContextValidate validates this delete instance group request based on context it is used

func (*DeleteInstanceGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteInstanceGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteInstanceGroupRequest) Validate

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

Validate validates this delete instance group request

type DeleteInstanceGroupResponse

type DeleteInstanceGroupResponse interface{}

DeleteInstanceGroupResponse Response object for the DeleteInstanceGroup method.

swagger:model DeleteInstanceGroupResponse

type DeleteWorkspaceRequest

type DeleteWorkspaceRequest struct {

	// The environment for the workspace to delete.
	EnvironmentName string `json:"environmentName,omitempty"`

	// Force delete a workspace even if errors occur during deletion. Force delete removes the guarantee that resources in your cloud account will be cleaned up.
	// Required: true
	Force *bool `json:"force"`

	// The remove storage flag indicates weather to keep the backing workspace filesystem storage or remove it during delete.
	RemoveStorage bool `json:"removeStorage,omitempty"`

	// The CRN of the workspace to delete. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// The name of the workspace to delete.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

DeleteWorkspaceRequest Request object for the DeleteWorkspace method.

swagger:model DeleteWorkspaceRequest

func (*DeleteWorkspaceRequest) ContextValidate

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

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

func (*DeleteWorkspaceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteWorkspaceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteWorkspaceRequest) Validate

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

Validate validates this delete workspace request

type DeleteWorkspaceResponse

type DeleteWorkspaceResponse interface{}

DeleteWorkspaceResponse Response object for the DeleteWorkspace method.

swagger:model DeleteWorkspaceResponse

type DescribeWorkspaceRequest

type DescribeWorkspaceRequest struct {

	// The environment for the workspace to describe.
	EnvironmentName string `json:"environmentName,omitempty"`

	// The CRN of the workspace to describe. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// The name of the workspace to describe.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

DescribeWorkspaceRequest Request object for the DescribeWorkspace method.

swagger:model DescribeWorkspaceRequest

func (*DescribeWorkspaceRequest) ContextValidate

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

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

func (*DescribeWorkspaceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeWorkspaceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeWorkspaceRequest) Validate

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

Validate validates this describe workspace request

type DescribeWorkspaceResponse

type DescribeWorkspaceResponse struct {

	// The workspace.
	// Required: true
	Workspace *Workspace `json:"workspace"`
}

DescribeWorkspaceResponse Response object for the DescribeWorkspace method.

swagger:model DescribeWorkspaceResponse

func (*DescribeWorkspaceResponse) ContextValidate

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

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

func (*DescribeWorkspaceResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeWorkspaceResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeWorkspaceResponse) Validate

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

Validate validates this describe workspace response

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 ExistingDatabaseConfig

type ExistingDatabaseConfig struct {

	// Optionally provide a Postgresql database host to export model metrics to.
	ExistingDatabaseHost string `json:"existingDatabaseHost,omitempty"`

	// Optionally provide a Postgresql database name to export model metrics to.
	ExistingDatabaseName string `json:"existingDatabaseName,omitempty"`

	// Optionally provide a Postgresql database password to use when exporting model metrics.
	ExistingDatabasePassword string `json:"existingDatabasePassword,omitempty"`

	// Optionally provide a Postgresql database port to export model metrics to.
	ExistingDatabasePort string `json:"existingDatabasePort,omitempty"`

	// Optionally provide a Postgresql database user to use when exporting model metrics.
	ExistingDatabaseUser string `json:"existingDatabaseUser,omitempty"`
}

ExistingDatabaseConfig Configurations for bringing an existing database for model metrics

swagger:model ExistingDatabaseConfig

func (*ExistingDatabaseConfig) ContextValidate

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

ContextValidate validates this existing database config based on context it is used

func (*ExistingDatabaseConfig) MarshalBinary

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

MarshalBinary interface implementation

func (*ExistingDatabaseConfig) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ExistingDatabaseConfig) Validate

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

Validate validates this existing database config

type GetAuditEventsRequest

type GetAuditEventsRequest struct {

	// Workspace crn for which audit events to be fetched.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

GetAuditEventsRequest GetAuditEventsRequest to get all audit events for a given workspace crn.

swagger:model GetAuditEventsRequest

func (*GetAuditEventsRequest) ContextValidate

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

ContextValidate validates this get audit events request based on context it is used

func (*GetAuditEventsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAuditEventsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAuditEventsRequest) Validate

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

Validate validates this get audit events request

type GetAuditEventsResponse

type GetAuditEventsResponse struct {

	// Contains all the audit events for a given workspace crn.
	// Required: true
	AuditEvents *AuditEvents `json:"auditEvents"`
}

GetAuditEventsResponse GetAuditEventsResponse containes all the audit events for a given workspace crn.

swagger:model GetAuditEventsResponse

func (*GetAuditEventsResponse) ContextValidate

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

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

func (*GetAuditEventsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetAuditEventsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetAuditEventsResponse) Validate

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

Validate validates this get audit events response

type GetKubeconfigRequest

type GetKubeconfigRequest struct {

	// The environment that the workspace is a member of.
	EnvironmentName string `json:"environmentName,omitempty"`

	// The CRN of the workspace to list access.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// The name of the workspace to list access.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

GetKubeconfigRequest Request object for the GetKubeconfig method.

swagger:model GetKubeconfigRequest

func (*GetKubeconfigRequest) ContextValidate

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

ContextValidate validates this get kubeconfig request based on context it is used

func (*GetKubeconfigRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GetKubeconfigRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetKubeconfigRequest) Validate

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

Validate validates this get kubeconfig request

type GetKubeconfigResponse

type GetKubeconfigResponse struct {

	// The list of users that have access.
	// Required: true
	Kubeconfig *string `json:"kubeconfig"`
}

GetKubeconfigResponse Response object for the GetKubeconfig method.

swagger:model GetKubeconfigResponse

func (*GetKubeconfigResponse) ContextValidate

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

ContextValidate validates this get kubeconfig response based on context it is used

func (*GetKubeconfigResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetKubeconfigResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetKubeconfigResponse) Validate

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

Validate validates this get kubeconfig response

type GetLatestWorkspaceVersionRequest

type GetLatestWorkspaceVersionRequest interface{}

GetLatestWorkspaceVersionRequest Request object for GetLatestWorkspaceVersion.

swagger:model GetLatestWorkspaceVersionRequest

type GetLatestWorkspaceVersionResponse

type GetLatestWorkspaceVersionResponse struct {

	// The latest version of a workspace that is used when deploying Cloudera Machine Learning workspaces.
	// Required: true
	Version *string `json:"version"`
}

GetLatestWorkspaceVersionResponse Response object for GetLatestWorkspaceVersion.

swagger:model GetLatestWorkspaceVersionResponse

func (*GetLatestWorkspaceVersionResponse) ContextValidate

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

ContextValidate validates this get latest workspace version response based on context it is used

func (*GetLatestWorkspaceVersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetLatestWorkspaceVersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetLatestWorkspaceVersionResponse) Validate

Validate validates this get latest workspace version response

type GetLogsRequest

type GetLogsRequest struct {

	// Flag to fetch all logs.
	FetchAll bool `json:"fetchAll,omitempty"`

	// offset from which the logs should be fetched.
	Offset int32 `json:"offset,omitempty"`

	// Limit the number of logs.
	PageSize int32 `json:"pageSize,omitempty"`

	// Unique Key to identify a set of logs.
	// Required: true
	RequestID *string `json:"requestID"`

	// WorkspaceCrn the requestID belongs to.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

GetLogsRequest GetLogsRequestfor getting logs for a request ID.

swagger:model GetLogsRequest

func (*GetLogsRequest) ContextValidate

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

ContextValidate validates this get logs request based on context it is used

func (*GetLogsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GetLogsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetLogsRequest) Validate

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

Validate validates this get logs request

type GetLogsResponse

type GetLogsResponse struct {

	// Contains all the logs for a given request id.
	// Required: true
	AuditLogs *AuditLogs `json:"auditLogs"`
}

GetLogsResponse GetLogsResponse contains all the logs for a given request id.

swagger:model GetLogsResponse

func (*GetLogsResponse) ContextValidate

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

ContextValidate validate this get logs response based on the context it is used

func (*GetLogsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetLogsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetLogsResponse) Validate

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

Validate validates this get logs response

type GrantWorkspaceAccessRequest

type GrantWorkspaceAccessRequest struct {

	// The aws user ARN to grant access to the corresponding EKS cluster. (Deprecated: Use identifier instead).
	Arn string `json:"arn,omitempty"`

	// The environment that the workspace is a member of.
	EnvironmentName string `json:"environmentName,omitempty"`

	// The cloud provider user id which will be granted access to the workspace's Kubernetes cluster.
	Identifier string `json:"identifier,omitempty"`

	// The CRN of the workspace to grant access to. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// The name of the workspace to grant access to.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

GrantWorkspaceAccessRequest Request object for the GrantWorkspaceAccess method.

swagger:model GrantWorkspaceAccessRequest

func (*GrantWorkspaceAccessRequest) ContextValidate

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

ContextValidate validates this grant workspace access request based on context it is used

func (*GrantWorkspaceAccessRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GrantWorkspaceAccessRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GrantWorkspaceAccessRequest) Validate

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

Validate validates this grant workspace access request

type GrantWorkspaceAccessResponse

type GrantWorkspaceAccessResponse struct {

	// The Kubernetes config file
	// Required: true
	Kubeconfig *string `json:"kubeconfig"`
}

GrantWorkspaceAccessResponse Response object for the GrantWorkspaceAccess method.

swagger:model GrantWorkspaceAccessResponse

func (*GrantWorkspaceAccessResponse) ContextValidate

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

ContextValidate validates this grant workspace access response based on context it is used

func (*GrantWorkspaceAccessResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GrantWorkspaceAccessResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GrantWorkspaceAccessResponse) Validate

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

Validate validates this grant workspace access response

type HealthInfo

type HealthInfo struct {

	// The detail of the health info.
	// Required: true
	Details []string `json:"details"`

	// The boolean that indicates the health status.
	// Required: true
	IsHealthy *bool `json:"isHealthy"`

	// The message to show for the health info.
	// Required: true
	Message *string `json:"message"`

	// The resource name being checked.
	// Required: true
	ResourceName *string `json:"resourceName"`

	// The timestamp for the heartbeat.
	// Required: true
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt"`
}

HealthInfo Healthinfo object contains the health information of a resource.

swagger:model HealthInfo

func (*HealthInfo) ContextValidate

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

ContextValidate validates this health info based on context it is used

func (*HealthInfo) MarshalBinary

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

MarshalBinary interface implementation

func (*HealthInfo) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HealthInfo) Validate

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

Validate validates this health info

type Instance

type Instance struct {

	// Availability zone the instance belongs to.
	// Required: true
	AvailabilityZone *string `json:"availabilityZone"`

	// Unique instance Id generated by the cloud provider.
	// Required: true
	InstanceID *string `json:"instanceId"`
}

Instance Represents each instance in an instance group.

swagger:model Instance

func (*Instance) ContextValidate

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

ContextValidate validates this instance based on 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 {

	// The auto scaling configuration.
	Autoscaling *Autoscaling `json:"autoscaling,omitempty"`

	// The networking rules for the ingress.
	IngressRules []string `json:"ingressRules"`

	// The initial number of instance node.
	InstanceCount int32 `json:"instanceCount,omitempty"`

	// The tier of the instance i.e. on-demand/spot.
	InstanceTier string `json:"instanceTier,omitempty"`

	// The cloud provider instance type for the node instance.
	// Required: true
	InstanceType *string `json:"instanceType"`

	// The unique name of the instance group.
	Name string `json:"name,omitempty"`

	// The root volume of the instance.
	RootVolume *RootVolume `json:"rootVolume,omitempty"`
}

InstanceGroup Contains the necessary info for an instance group.

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 ListWorkspaceAccessRequest

type ListWorkspaceAccessRequest struct {

	// The environment that the workspace is a member of.
	EnvironmentName string `json:"environmentName,omitempty"`

	// The CRN of the workspace to list access. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// The name of the workspace to list access.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

ListWorkspaceAccessRequest Request object for the ListWorkspace method.

swagger:model ListWorkspaceAccessRequest

func (*ListWorkspaceAccessRequest) ContextValidate

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

ContextValidate validates this list workspace access request based on context it is used

func (*ListWorkspaceAccessRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListWorkspaceAccessRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListWorkspaceAccessRequest) Validate

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

Validate validates this list workspace access request

type ListWorkspaceAccessResponse

type ListWorkspaceAccessResponse struct {

	// The list of users that have access.
	// Required: true
	Users []string `json:"users"`
}

ListWorkspaceAccessResponse Response object for the ListWorkspaceAccess method.

swagger:model ListWorkspaceAccessResponse

func (*ListWorkspaceAccessResponse) ContextValidate

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

ContextValidate validates this list workspace access response based on context it is used

func (*ListWorkspaceAccessResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListWorkspaceAccessResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListWorkspaceAccessResponse) Validate

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

Validate validates this list workspace access response

type ListWorkspaceBackupsQueryOptions

type ListWorkspaceBackupsQueryOptions struct {

	// When set to true, will return the metadata of the environment where the backed-up workspace is/was present.
	ExpandEnvironmentMetadata bool `json:"expandEnvironmentMetadata,omitempty"`
}

ListWorkspaceBackupsQueryOptions Query options object for ListWorkspaceBackups method.

swagger:model ListWorkspaceBackupsQueryOptions

func (*ListWorkspaceBackupsQueryOptions) ContextValidate

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

ContextValidate validates this list workspace backups query options based on context it is used

func (*ListWorkspaceBackupsQueryOptions) MarshalBinary

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

MarshalBinary interface implementation

func (*ListWorkspaceBackupsQueryOptions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListWorkspaceBackupsQueryOptions) Validate

Validate validates this list workspace backups query options

type ListWorkspaceBackupsRequest

type ListWorkspaceBackupsRequest struct {

	// The environment for the workspace to list backups for.
	EnvironmentName string `json:"environmentName,omitempty"`

	// Additional query options to enhance/mutate the API response.
	QueryOptions *ListWorkspaceBackupsQueryOptions `json:"queryOptions,omitempty"`

	// The CRN of the workspace to list backups for. If this field is specified, environmentName and workspaceName are ignored.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// The name of the workspace to list backups for.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

ListWorkspaceBackupsRequest Request object for ListWorkspaceBackups method.

swagger:model ListWorkspaceBackupsRequest

func (*ListWorkspaceBackupsRequest) ContextValidate

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

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

func (*ListWorkspaceBackupsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListWorkspaceBackupsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListWorkspaceBackupsRequest) Validate

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

Validate validates this list workspace backups request

type ListWorkspaceBackupsResponse

type ListWorkspaceBackupsResponse struct {

	// The list of backups along with their details.
	Backups []*BackupDetail `json:"backups"`
}

ListWorkspaceBackupsResponse Response object for ListWorkspaceBackups method.

swagger:model ListWorkspaceBackupsResponse

func (*ListWorkspaceBackupsResponse) ContextValidate

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

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

func (*ListWorkspaceBackupsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListWorkspaceBackupsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListWorkspaceBackupsResponse) Validate

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

Validate validates this list workspace backups response

type ListWorkspacesRequest

type ListWorkspacesRequest struct {

	// Additional query options.
	QueryOptions []string `json:"queryOptions"`
}

ListWorkspacesRequest Request object for the ListWorkspaces method.

swagger:model ListWorkspacesRequest

func (*ListWorkspacesRequest) ContextValidate

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

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

func (*ListWorkspacesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListWorkspacesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListWorkspacesRequest) Validate

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

Validate validates this list workspaces request

type ListWorkspacesResponse

type ListWorkspacesResponse struct {

	// The list of workspaces.
	Workspaces []*WorkspaceSummary `json:"workspaces"`
}

ListWorkspacesResponse Response object for the ListWorkspaces method.

swagger:model ListWorkspacesResponse

func (*ListWorkspacesResponse) ContextValidate

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

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

func (*ListWorkspacesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListWorkspacesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListWorkspacesResponse) Validate

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

Validate validates this list workspaces response

type ModifyClusterInstanceGroupRequest

type ModifyClusterInstanceGroupRequest struct {

	// The name of the instance group of the workspace cluster to modify.
	// Required: true
	InstanceGroupName *string `json:"instanceGroupName"`

	// The desired instance type of the workspace cluster instance group.
	// Required: true
	InstanceType *string `json:"instanceType"`

	// The desired autoscaling min of the workspace cluster instance group.
	// Required: true
	Max *int32 `json:"max"`

	// The desired autoscaling min of the workspace cluster instance group.
	// Required: true
	Min *int32 `json:"min"`

	// The CRN of the workspace cluster to modify.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

ModifyClusterInstanceGroupRequest Request object for ModifyClusterInstanceGroup.

swagger:model ModifyClusterInstanceGroupRequest

func (*ModifyClusterInstanceGroupRequest) ContextValidate

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

ContextValidate validates this modify cluster instance group request based on context it is used

func (*ModifyClusterInstanceGroupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModifyClusterInstanceGroupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModifyClusterInstanceGroupRequest) Validate

Validate validates this modify cluster instance group request

type ModifyClusterInstanceGroupResponse

type ModifyClusterInstanceGroupResponse interface{}

ModifyClusterInstanceGroupResponse Response object for ModifyClusterInstanceGroup.

swagger:model ModifyClusterInstanceGroupResponse

type ModifyClusterSecurityRequest

type ModifyClusterSecurityRequest struct {

	// Whether to allow only authorized IP ranges given or all public IPs.
	// Required: true
	AllowlistAuthorizedIPRanges *bool `json:"allowlistAuthorizedIPRanges"`

	// The allowlist of CIDR blocks which can access the API server.
	// Required: true
	AuthorizedIPRanges []string `json:"authorizedIPRanges"`

	// The CRN of the workspace cluster to modify.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

ModifyClusterSecurityRequest Request object for ModifyClusterSecurity.

swagger:model ModifyClusterSecurityRequest

func (*ModifyClusterSecurityRequest) ContextValidate

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

ContextValidate validates this modify cluster security request based on context it is used

func (*ModifyClusterSecurityRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModifyClusterSecurityRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModifyClusterSecurityRequest) Validate

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

Validate validates this modify cluster security request

type ModifyClusterSecurityResponse

type ModifyClusterSecurityResponse interface{}

ModifyClusterSecurityResponse Response object for ModifyClusterSecurity.

swagger:model ModifyClusterSecurityResponse

type ModifyWorkspaceLoadBalancerRequest

type ModifyWorkspaceLoadBalancerRequest struct {

	// The allowlist of CIDR blocks which can access the loadbalancer.
	// Required: true
	LoadBalancerIPAllowLists []string `json:"loadBalancerIPAllowLists"`

	// The CRN of the workspace cluster to modify.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

ModifyWorkspaceLoadBalancerRequest Request object for ModifyWorkspaceLoadBalancer.

swagger:model ModifyWorkspaceLoadBalancerRequest

func (*ModifyWorkspaceLoadBalancerRequest) ContextValidate

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

ContextValidate validates this modify workspace load balancer request based on context it is used

func (*ModifyWorkspaceLoadBalancerRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ModifyWorkspaceLoadBalancerRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ModifyWorkspaceLoadBalancerRequest) Validate

Validate validates this modify workspace load balancer request

type ModifyWorkspaceLoadBalancerResponse

type ModifyWorkspaceLoadBalancerResponse interface{}

ModifyWorkspaceLoadBalancerResponse Response object for ModifyWorkspaceLoadBalancer.

swagger:model ModifyWorkspaceLoadBalancerResponse

type OutboundTypes

type OutboundTypes string

OutboundTypes List of possible Outbound types.

swagger:model OutboundTypes

const (

	// OutboundTypesUNKNOWN captures enum value "UNKNOWN"
	OutboundTypesUNKNOWN OutboundTypes = "UNKNOWN"

	// OutboundTypesOUTBOUNDTYPEUDR captures enum value "OUTBOUND_TYPE_UDR"
	OutboundTypesOUTBOUNDTYPEUDR OutboundTypes = "OUTBOUND_TYPE_UDR"
)

func NewOutboundTypes

func NewOutboundTypes(value OutboundTypes) *OutboundTypes

func (OutboundTypes) ContextValidate

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

ContextValidate validates this outbound types based on context it is used

func (OutboundTypes) Pointer

func (m OutboundTypes) Pointer() *OutboundTypes

Pointer returns a pointer to a freshly-allocated OutboundTypes.

func (OutboundTypes) Validate

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

Validate validates this outbound types

type OverlayNetwork

type OverlayNetwork struct {

	// The plugin specifies specific cni vendor, ex: calico, weave etc.
	Plugin string `json:"plugin,omitempty"`

	// The options for overlay topology.
	Topology *Topology `json:"topology,omitempty"`
}

OverlayNetwork Contains the information about overlay network.

swagger:model OverlayNetwork

func (*OverlayNetwork) ContextValidate

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

ContextValidate validate this overlay network based on the context it is used

func (*OverlayNetwork) MarshalBinary

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

MarshalBinary interface implementation

func (*OverlayNetwork) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*OverlayNetwork) Validate

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

Validate validates this overlay network

type ProvisionK8sRequest

type ProvisionK8sRequest struct {

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

	// The instance groups.
	// Required: true
	InstanceGroups []*InstanceGroup `json:"instanceGroups"`

	// The overlay network for an AWS Kubernetes cluster's CNI.
	Network *OverlayNetwork `json:"network,omitempty"`

	// Tags to add to the cloud provider resources created. This is in addition to any tags added by Cloudera.
	Tags []*ProvisionTag `json:"tags"`
}

ProvisionK8sRequest Request object for workspace provision.

swagger:model ProvisionK8sRequest

func (*ProvisionK8sRequest) ContextValidate

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

ContextValidate validate this provision k8s request based on the context it is used

func (*ProvisionK8sRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ProvisionK8sRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProvisionK8sRequest) Validate

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

Validate validates this provision k8s request

type ProvisionTag

type ProvisionTag struct {

	// The name for the tag.
	// Required: true
	Key *string `json:"key"`

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

ProvisionTag Contains a single tag entry that will be configured on cloud resources associated with a workspace.

swagger:model ProvisionTag

func (*ProvisionTag) ContextValidate

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

ContextValidate validates this provision tag based on context it is used

func (*ProvisionTag) MarshalBinary

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

MarshalBinary interface implementation

func (*ProvisionTag) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProvisionTag) Validate

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

Validate validates this provision tag

type RequestWorkflowCancellationRequest

type RequestWorkflowCancellationRequest struct {

	// The unique identifier of the resource.
	ResourceID string `json:"resourceId,omitempty"`

	// The workflow type.
	WorkflowType string `json:"workflowType,omitempty"`
}

RequestWorkflowCancellationRequest Request object for RequestWorkflowCancellation.

swagger:model RequestWorkflowCancellationRequest

func (*RequestWorkflowCancellationRequest) ContextValidate

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

ContextValidate validates this request workflow cancellation request based on context it is used

func (*RequestWorkflowCancellationRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*RequestWorkflowCancellationRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RequestWorkflowCancellationRequest) Validate

Validate validates this request workflow cancellation request

type RequestWorkflowCancellationResponse

type RequestWorkflowCancellationResponse struct {

	// The list of workflow metedata for cancelled workflows.
	WorkflowMetadata []*WorkflowMetadata `json:"workflowMetadata"`
}

RequestWorkflowCancellationResponse Response object for RequestWorkflowCancellation.

swagger:model RequestWorkflowCancellationResponse

func (*RequestWorkflowCancellationResponse) ContextValidate

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

ContextValidate validate this request workflow cancellation response based on the context it is used

func (*RequestWorkflowCancellationResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RequestWorkflowCancellationResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RequestWorkflowCancellationResponse) Validate

Validate validates this request workflow cancellation response

type RestoreWorkspaceRequest

type RestoreWorkspaceRequest struct {

	// The CRN of the backup snapshot to used for restoring.
	BackupCrn string `json:"backupCrn,omitempty"`

	// The parameters required for a new Cloudera Machine Learning workspace.
	NewWorkspaceParameters *CreateWorkspaceRequest `json:"newWorkspaceParameters,omitempty"`

	// The timeout to restore the backup snapshots, in minutes.
	RestoreJobTimeoutMinutes int32 `json:"restoreJobTimeoutMinutes,omitempty"`

	// A boolean value to check if subdomain must be used or not.
	UseStaticSubdomain bool `json:"useStaticSubdomain,omitempty"`
}

RestoreWorkspaceRequest Request object for RestoreWorkspace method.

swagger:model RestoreWorkspaceRequest

func (*RestoreWorkspaceRequest) ContextValidate

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

ContextValidate validate this restore workspace request based on the context it is used

func (*RestoreWorkspaceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*RestoreWorkspaceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestoreWorkspaceRequest) Validate

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

Validate validates this restore workspace request

type RestoreWorkspaceResponse

type RestoreWorkspaceResponse struct {

	// The CRN of the Cloudera Machine Learning workspace being provisioned.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`
}

RestoreWorkspaceResponse Response object for the RestoreWorkspace method.

swagger:model RestoreWorkspaceResponse

func (*RestoreWorkspaceResponse) ContextValidate

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

ContextValidate validates this restore workspace response based on context it is used

func (*RestoreWorkspaceResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RestoreWorkspaceResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestoreWorkspaceResponse) Validate

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

Validate validates this restore workspace response

type ResumeWorkspaceRequest

type ResumeWorkspaceRequest struct {

	// The CRN of the workspace to resume.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

ResumeWorkspaceRequest Request object for ResumeWorkspace.

swagger:model ResumeWorkspaceRequest

func (*ResumeWorkspaceRequest) ContextValidate

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

ContextValidate validates this resume workspace request based on context it is used

func (*ResumeWorkspaceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ResumeWorkspaceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ResumeWorkspaceRequest) Validate

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

Validate validates this resume workspace request

type ResumeWorkspaceResponse

type ResumeWorkspaceResponse interface{}

ResumeWorkspaceResponse Response object for ResumeWorkspace.

swagger:model ResumeWorkspaceResponse

type RevokeWorkspaceAccessRequest

type RevokeWorkspaceAccessRequest struct {

	// The aws user ARN to revoke access to the corresponding EKS cluster. (Deprecated: Use identifier instead).
	Arn string `json:"arn,omitempty"`

	// The environment that the workspace is a member of.
	EnvironmentName string `json:"environmentName,omitempty"`

	// The cloud provider user id which will be granted access to the workspace's Kubernetes cluster.
	Identifier string `json:"identifier,omitempty"`

	// The CRN of the workspace to revoke access to. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// The name of the workspace to revoke access to.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

RevokeWorkspaceAccessRequest Request object for the RevokeWorkspace method.

swagger:model RevokeWorkspaceAccessRequest

func (*RevokeWorkspaceAccessRequest) ContextValidate

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

ContextValidate validates this revoke workspace access request based on context it is used

func (*RevokeWorkspaceAccessRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*RevokeWorkspaceAccessRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RevokeWorkspaceAccessRequest) Validate

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

Validate validates this revoke workspace access request

type RevokeWorkspaceAccessResponse

type RevokeWorkspaceAccessResponse interface{}

RevokeWorkspaceAccessResponse Response object for the RevokeWorkspaceAccess method.

swagger:model RevokeWorkspaceAccessResponse

type RootVolume

type RootVolume struct {

	// The volume size in GB.
	// Required: true
	Size *int64 `json:"size"`
}

RootVolume Configuration for instance root device volume.

swagger:model RootVolume

func (*RootVolume) ContextValidate

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

ContextValidate validates this root volume based on context it is used

func (*RootVolume) MarshalBinary

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

MarshalBinary interface implementation

func (*RootVolume) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RootVolume) Validate

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

Validate validates this root volume

type SuspendWorkspaceRequest

type SuspendWorkspaceRequest struct {

	// The CRN of the workspace to suspend.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

SuspendWorkspaceRequest Request object for SuspendWorkspace.

swagger:model SuspendWorkspaceRequest

func (*SuspendWorkspaceRequest) ContextValidate

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

ContextValidate validates this suspend workspace request based on context it is used

func (*SuspendWorkspaceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SuspendWorkspaceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SuspendWorkspaceRequest) Validate

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

Validate validates this suspend workspace request

type SuspendWorkspaceResponse

type SuspendWorkspaceResponse interface{}

SuspendWorkspaceResponse Response object for SuspendWorkspace.

swagger:model SuspendWorkspaceResponse

type Tag

type Tag struct {

	// The name for the tag.
	// Required: true
	Key *string `json:"key"`

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

Tag Contains a single tag entry associated with a workspace.

swagger:model Tag

func (*Tag) ContextValidate

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

ContextValidate validates this tag based on context it is used

func (*Tag) MarshalBinary

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

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Tag) Validate

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

Validate validates this tag

type Topology

type Topology struct {

	// The options for subnets.
	Subnets []string `json:"subnets"`
}

Topology Contains the information about topology.

swagger:model Topology

func (*Topology) ContextValidate

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

ContextValidate validates this topology based on context it is used

func (*Topology) MarshalBinary

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

MarshalBinary interface implementation

func (*Topology) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Topology) Validate

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

Validate validates this topology

type UpgradeState

type UpgradeState struct {

	// The reason for the current state.
	Reason string `json:"reason,omitempty"`

	// The current upgrade state of the workspace.
	State string `json:"state,omitempty"`
}

UpgradeState Response object for the workspace summary.

swagger:model UpgradeState

func (*UpgradeState) ContextValidate

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

ContextValidate validates this upgrade state based on context it is used

func (*UpgradeState) MarshalBinary

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

MarshalBinary interface implementation

func (*UpgradeState) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpgradeState) Validate

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

Validate validates this upgrade state

type UpgradeWorkspaceRequest

type UpgradeWorkspaceRequest struct {

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

	// The version of workspace to upgrade to. (Deprecated).
	MlVersion string `json:"mlVersion,omitempty"`

	// The CRN of the workspace. If CRN is specified only the CRN is used for identifying the workspace, environment and name arguments are ignored.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// The name of the workspace.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

UpgradeWorkspaceRequest Request object for the UpgradeWorkspace method.

swagger:model UpgradeWorkspaceRequest

func (*UpgradeWorkspaceRequest) ContextValidate

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

ContextValidate validates this upgrade workspace request based on context it is used

func (*UpgradeWorkspaceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpgradeWorkspaceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpgradeWorkspaceRequest) Validate

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

Validate validates this upgrade workspace request

type UpgradeWorkspaceResponse

type UpgradeWorkspaceResponse interface{}

UpgradeWorkspaceResponse Response object for the UpgradeWorkspace method.

swagger:model UpgradeWorkspaceResponse

type WorkflowMetadata

type WorkflowMetadata struct {

	// The last known status of the workflow.
	LastKnownStatus string `json:"lastKnownStatus,omitempty"`

	// The unique identifier of the resource.
	ResourceID string `json:"resourceId,omitempty"`

	// The workflow identifier.
	WorkflowID string `json:"workflowId,omitempty"`

	// The workflow index. Monotonically increases for each subsequent workflow for a resource.
	WorkflowIndex int64 `json:"workflowIndex,omitempty"`

	// The workflow type.
	WorkflowType string `json:"workflowType,omitempty"`
}

WorkflowMetadata The workflow metadata.

swagger:model WorkflowMetadata

func (*WorkflowMetadata) ContextValidate

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

ContextValidate validates this workflow metadata based on context it is used

func (*WorkflowMetadata) MarshalBinary

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

MarshalBinary interface implementation

func (*WorkflowMetadata) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*WorkflowMetadata) Validate

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

Validate validates this workflow metadata

type Workspace

type Workspace struct {

	// The whitelist of CIDR blocks which can access the API server.
	AuthorizedIPRanges []string `json:"authorizedIPRanges"`

	// The Backup MetaData for this Workspace
	BackupMetadata *BackupMetadata `json:"backupMetadata,omitempty"`

	// The cloud platform of the environment that was used to create this workspace.
	// Required: true
	CloudPlatform *string `json:"cloudPlatform"`

	// The basedomain of the cluster.
	ClusterBaseDomain string `json:"clusterBaseDomain,omitempty"`

	// The Cluster ID for the workspace.
	ClusterID string `json:"clusterID,omitempty"`

	// Creation date of workspace.
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// The CRN of the creator of the workspace.
	// Required: true
	CreatorCrn *string `json:"creatorCrn"`

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

	// To check if the cluster is publicly accessible or not.
	// Required: true
	EndpointPublicAccess *bool `json:"endpointPublicAccess"`

	// CRN of the environment.
	// Required: true
	EnvironmentCrn *string `json:"environmentCrn"`

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

	// Failure message from the most recent failure that has occurred during workspace provisioning.
	FailureMessage string `json:"failureMessage,omitempty"`

	// filesystemID used by the workspace
	// Required: true
	FilesystemID *string `json:"filesystemID"`

	// Whether governance is enabled.
	GovernanceEnabled bool `json:"governanceEnabled,omitempty"`

	// The health info information of the workspace.
	HealthInfoLists []*HealthInfo `json:"healthInfoLists"`

	// To Display if Https is enabled or not.
	// Required: true
	HTTPSEnabled *bool `json:"httpsEnabled"`

	// The instance groups.
	// Required: true
	InstanceGroups []*WorkspaceInstanceGroup `json:"instanceGroups"`

	// The name of the workspace.
	// Required: true
	InstanceName *string `json:"instanceName"`

	// The workspace's current status.
	// Required: true
	InstanceStatus *string `json:"instanceStatus"`

	// URL of the workspace's user interface.
	// Required: true
	InstanceURL *string `json:"instanceUrl"`

	// The value to indicate if the cluster is private or not.
	IsPrivate bool `json:"isPrivate,omitempty"`

	// The Kubernetes cluster name.
	// Required: true
	K8sClusterName *string `json:"k8sClusterName"`

	// IP whitelist for loadBalancer.
	LoadBalancerIPWhitelists []string `json:"loadBalancerIPWhitelists"`

	// Whether model metrics is enabled.
	ModelMetricsEnabled bool `json:"modelMetricsEnabled,omitempty"`

	// If usage monitoring is enabled or not on this workspace.
	// Required: true
	MonitoringEnabled *bool `json:"monitoringEnabled"`

	// NFS Version of the filesystem.
	NfsVersion string `json:"nfsVersion,omitempty"`

	// The subnets of the workspace.
	Subnets []string `json:"subnets"`

	// The list of subnets used for the load balancer that CML creates.
	SubnetsForLoadBalancers []string `json:"subnetsForLoadBalancers"`

	// Tags provided by the user at the time of workspace creation.
	// Required: true
	Tags []*Tag `json:"tags"`

	// The upgrade state contains the workspace upgrade information.
	UpgradeState *UpgradeState `json:"upgradeState,omitempty"`

	// The version of Cloudera Machine Learning that was installed on the workspace.
	// Required: true
	Version *string `json:"version"`

	// Whether to whitelist only 'authorizedIPRanges' given or all public IPs.
	WhitelistAuthorizedIPRanges bool `json:"whitelistAuthorizedIPRanges,omitempty"`
}

Workspace A ML workspace, which includes the cluster and storage.

swagger:model Workspace

func (*Workspace) ContextValidate

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

ContextValidate validate this workspace based on the context it is used

func (*Workspace) MarshalBinary

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

MarshalBinary interface implementation

func (*Workspace) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Workspace) Validate

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

Validate validates this workspace

type WorkspaceInstanceGroup

type WorkspaceInstanceGroup struct {

	// The initial number of instance node.
	// Required: true
	InstanceCount *int32 `json:"instanceCount"`

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

	// The cloud provider instance type for the node instance.
	// Required: true
	InstanceType *string `json:"instanceType"`

	// Instances in the instance group.
	// Required: true
	Instances []*Instance `json:"instances"`

	// The maximum number of instances that can be deployed to this instance group.
	// Required: true
	MaxInstances *int32 `json:"maxInstances"`

	// The minimum number of instances that can be deployed to this instance group. If the value is 0, the group might be empty.
	// Required: true
	MinInstances *int32 `json:"minInstances"`

	// Tags are key/value pairs that are applied to all tag-able resources deployed in the workspace's cloud environment.
	// Required: true
	Tags []*Tag `json:"tags"`
}

WorkspaceInstanceGroup Instance group information to show in workspace details.

swagger:model WorkspaceInstanceGroup

func (*WorkspaceInstanceGroup) ContextValidate

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

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

func (*WorkspaceInstanceGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*WorkspaceInstanceGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*WorkspaceInstanceGroup) Validate

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

Validate validates this workspace instance group

type WorkspaceSummary

type WorkspaceSummary struct {

	// The Backup Metadata for the workspace.
	BackupMetadata *BackupMetadata `json:"backupMetadata,omitempty"`

	// The cloud platform of the environment that was used to create this workspace.
	// Required: true
	CloudPlatform *string `json:"cloudPlatform"`

	// The Cluster ID for the workspace.
	ClusterID string `json:"clusterID,omitempty"`

	// Creation date of workspace.
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

	// The CRN of the creator of the workspace.
	// Required: true
	CreatorCrn *string `json:"creatorCrn"`

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

	// CRN of the environment.
	// Required: true
	EnvironmentCrn *string `json:"environmentCrn"`

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

	// Failure message from the most recent failure that has occurred during workspace provisioning.
	FailureMessage string `json:"failureMessage,omitempty"`

	// A filesystem ID referencing the filesystem that was created on the cloud provider environment that this workspace uses.
	// Required: true
	FilesystemID *string `json:"filesystemID"`

	// The health info information of the workspace.
	HealthInfoLists []*HealthInfo `json:"healthInfoLists"`

	// Indicates if HTTPs communication was enabled on this workspace when provisioned.
	// Required: true
	HTTPSEnabled *bool `json:"httpsEnabled"`

	// The name of the workspace.
	// Required: true
	InstanceName *string `json:"instanceName"`

	// The workspace's current status.
	// Required: true
	InstanceStatus *string `json:"instanceStatus"`

	// URL of the workspace's user interface.
	// Required: true
	InstanceURL *string `json:"instanceUrl"`

	// The value to indicate if the cluster is private or not.
	IsPrivate bool `json:"isPrivate,omitempty"`

	// The Kubernetes cluster name.
	// Required: true
	K8sClusterName *string `json:"k8sClusterName"`

	// The whitelist of IPs for load balancer.
	LoadBalancerIPWhitelists []string `json:"loadBalancerIPWhitelists"`

	// If usage monitoring is enabled or not on this workspace.
	// Required: true
	MonitoringEnabled *bool `json:"monitoringEnabled"`

	// NFS Version of the filesystem.
	NfsVersion string `json:"nfsVersion,omitempty"`

	// The upgrade state contains the workspace upgrade information.
	UpgradeState *UpgradeState `json:"upgradeState,omitempty"`

	// The version of Cloudera Machine Learning that was installed on the workspace.
	// Required: true
	Version *string `json:"version"`
}

WorkspaceSummary A Cloudera Machine Learning workspace which includes the deployed configuration details.

swagger:model WorkspaceSummary

func (*WorkspaceSummary) ContextValidate

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

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

func (*WorkspaceSummary) MarshalBinary

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

MarshalBinary interface implementation

func (*WorkspaceSummary) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*WorkspaceSummary) Validate

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

Validate validates this workspace summary

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL