models

package
v0.7.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddInstanceGroupsMlServingAppRequest added in v0.7.4

type AddInstanceGroupsMlServingAppRequest struct {

	// The CRN of the Cloudera AI Inference Service instance to which the instance groups will be added.
	// Required: true
	AppCrn *string `json:"appCrn"`

	// The instance groups to be added to the Cloudera AI Inference Service instance.
	// Required: true
	InstanceGroups []*InstanceGroup `json:"instanceGroups"`
}

AddInstanceGroupsMlServingAppRequest Request object for AddInstanceGroupsMlServingApp method.

swagger:model AddInstanceGroupsMlServingAppRequest

func (*AddInstanceGroupsMlServingAppRequest) ContextValidate added in v0.7.4

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

ContextValidate validate this add instance groups ml serving app request based on the context it is used

func (*AddInstanceGroupsMlServingAppRequest) MarshalBinary added in v0.7.4

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

MarshalBinary interface implementation

func (*AddInstanceGroupsMlServingAppRequest) UnmarshalBinary added in v0.7.4

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

UnmarshalBinary interface implementation

func (*AddInstanceGroupsMlServingAppRequest) Validate added in v0.7.4

Validate validates this add instance groups ml serving app request

type AddInstanceGroupsMlServingAppResponse added in v0.7.4

type AddInstanceGroupsMlServingAppResponse interface{}

AddInstanceGroupsMlServingAppResponse Response object for AddInstanceGroupsMlServingApp method.

swagger:model AddInstanceGroupsMlServingAppResponse

type AddInstanceGroupsRequest added in v0.7.4

type AddInstanceGroupsRequest struct {

	// The instance groups that we want to add to the workbench.
	// Required: true
	InstanceGroups []*InstanceGroup `json:"instanceGroups"`

	// The CRN of the workbench to which the instance groups are to be added.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

AddInstanceGroupsRequest Request object for AddInstanceGroups.

swagger:model AddInstanceGroupsRequest

func (*AddInstanceGroupsRequest) ContextValidate added in v0.7.4

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

ContextValidate validate this add instance groups request based on the context it is used

func (*AddInstanceGroupsRequest) MarshalBinary added in v0.7.4

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

MarshalBinary interface implementation

func (*AddInstanceGroupsRequest) UnmarshalBinary added in v0.7.4

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

UnmarshalBinary interface implementation

func (*AddInstanceGroupsRequest) Validate added in v0.7.4

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

Validate validates this add instance groups request

type AddInstanceGroupsResponse added in v0.7.4

type AddInstanceGroupsResponse interface{}

AddInstanceGroupsResponse Response object for AddInstanceGroups.

swagger:model AddInstanceGroupsResponse

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"`

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

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

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 workbench crn.
	// Required: true
	Events []*AuditEvent `json:"events"`

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

AuditEvents AuditEvents contains all the audit events for a given workbench 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 workbench 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 workbench.
	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 workbench 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 workbench to backup.
	// Required: true
	WorkspaceCrn *string `json:"workspaceCrn"`
}

BackupWorkspaceRequest The request object for Cloudera AI workbench 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 Cloudera AI workbench 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 CreateMlServingAppRequest added in v0.6.0

type CreateMlServingAppRequest struct {

	// The name of the Cloudera AI Inference Service to be created.
	// Required: true
	AppName *string `json:"appName"`

	// The cluster CRN of an existing cluster where Cloudera AI Inference Service instance will be deployed.
	// Required: true
	ClusterCrn *string `json:"clusterCrn"`

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

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

	// The request for Kubernetes cluster provisioning. Required in public cloud.
	ProvisionK8sRequest *MlServingProvisionK8sRequest `json:"provisionK8sRequest,omitempty"`

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

	// The static subdomain to be used for the Cloudera AI Inference Service instance.
	StaticSubdomain string `json:"staticSubdomain,omitempty"`

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

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

CreateMlServingAppRequest Request object for the CreateMlServingApp method.

swagger:model CreateMlServingAppRequest

func (*CreateMlServingAppRequest) ContextValidate added in v0.6.0

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

ContextValidate validate this create ml serving app request based on the context it is used

func (*CreateMlServingAppRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*CreateMlServingAppRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*CreateMlServingAppRequest) Validate added in v0.6.0

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

Validate validates this create ml serving app request

type CreateMlServingAppResponse added in v0.6.0

type CreateMlServingAppResponse struct {

	// The CRN of the Cloudera AI Inference Service created.
	AppCrn string `json:"appCrn,omitempty"`
}

CreateMlServingAppResponse Response object for the CreateMlServingApp method.

swagger:model CreateMlServingAppResponse

func (*CreateMlServingAppResponse) ContextValidate added in v0.6.0

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

ContextValidate validates this create ml serving app response based on context it is used

func (*CreateMlServingAppResponse) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*CreateMlServingAppResponse) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*CreateMlServingAppResponse) Validate added in v0.6.0

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

Validate validates this create ml serving app response

type CreateModelRegistryRequest added in v0.4.2

type CreateModelRegistryRequest struct {

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

	// The CRN of the backup that this model registry is created from.
	BackupCrn string `json:"backupCrn,omitempty"`

	// The creator of model registry.
	CreatorCrn string `json:"creatorCrn,omitempty"`

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

	// The environment for the model registry to create.
	EnvironmentName string `json:"environmentName,omitempty"`

	// The namespace of the model registry.
	Namespace string `json:"namespace,omitempty"`

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

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

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

	// The S3 access key of Ozone.
	S3AccessKey string `json:"s3AccessKey,omitempty"`

	// The s3Bucket of Ozone.
	S3Bucket string `json:"s3Bucket,omitempty"`

	// The endpoint of Ozone.
	S3Endpoint string `json:"s3Endpoint,omitempty"`

	// The S3 secret key of Ozone.
	S3SecretKey string `json:"s3SecretKey,omitempty"`

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

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

	// The boolean flag to request a public load balancer. By default, a 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"`
}

CreateModelRegistryRequest Request object for creating model registry.

swagger:model CreateModelRegistryRequest

func (*CreateModelRegistryRequest) ContextValidate added in v0.4.2

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

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

func (*CreateModelRegistryRequest) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*CreateModelRegistryRequest) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*CreateModelRegistryRequest) Validate added in v0.4.2

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

Validate validates this create model registry request

type CreateModelRegistryResponse added in v0.4.2

type CreateModelRegistryResponse interface{}

CreateModelRegistryResponse Response for creating model registry request.

swagger:model CreateModelRegistryResponse

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 workbench. By default, the TLS is enabled.
	DisableTLS bool `json:"disableTLS,omitempty"`

	// Enables Cloudera AI 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 workbench 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 workbench.
	OutboundTypes []OutboundTypes `json:"outboundTypes"`

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

	// The request for Kubernetes workbench 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 workbench.
	StaticSubdomain string `json:"staticSubdomain,omitempty"`

	// The list of subnets used for the load balancer that Cloudera AI 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 workbench 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 DeleteInstanceGroupMlServingAppRequest added in v0.7.4

type DeleteInstanceGroupMlServingAppRequest struct {

	// The CRN of the Cloudera AI Inference Service from which instance group is to be deleted.
	// Required: true
	AppCrn *string `json:"appCrn"`

	// The instance group to be deleted from the Cloudera AI Inference Service instance.
	// Required: true
	InstanceGroupName *string `json:"instanceGroupName"`
}

DeleteInstanceGroupMlServingAppRequest Request object for the DeleteInstanceGroupMlServingApp method.

swagger:model DeleteInstanceGroupMlServingAppRequest

func (*DeleteInstanceGroupMlServingAppRequest) ContextValidate added in v0.7.4

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

func (*DeleteInstanceGroupMlServingAppRequest) MarshalBinary added in v0.7.4

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

MarshalBinary interface implementation

func (*DeleteInstanceGroupMlServingAppRequest) UnmarshalBinary added in v0.7.4

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

UnmarshalBinary interface implementation

func (*DeleteInstanceGroupMlServingAppRequest) Validate added in v0.7.4

Validate validates this delete instance group ml serving app request

type DeleteInstanceGroupMlServingAppResponse added in v0.7.4

type DeleteInstanceGroupMlServingAppResponse interface{}

DeleteInstanceGroupMlServingAppResponse Response object for the DeleteInstanceGroupMlServingApp method.

swagger:model DeleteInstanceGroupMlServingAppResponse

type DeleteInstanceGroupRequest

type DeleteInstanceGroupRequest struct {

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

	// The CRN of the workbench 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 DeleteMlServingAppRequest added in v0.6.0

type DeleteMlServingAppRequest struct {

	// The CRN of the Cloudera AI Inference Service to be deleted.
	// Required: true
	AppCrn *string `json:"appCrn"`
}

DeleteMlServingAppRequest Request object for the DeleteMlServingApp method.

swagger:model DeleteMlServingAppRequest

func (*DeleteMlServingAppRequest) ContextValidate added in v0.6.0

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

ContextValidate validates this delete ml serving app request based on context it is used

func (*DeleteMlServingAppRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*DeleteMlServingAppRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*DeleteMlServingAppRequest) Validate added in v0.6.0

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

Validate validates this delete ml serving app request

type DeleteMlServingAppResponse added in v0.6.0

type DeleteMlServingAppResponse interface{}

DeleteMlServingAppResponse Response object for the DeleteMlServingApp method.

swagger:model DeleteMlServingAppResponse

type DeleteModelRegistryRequest added in v0.4.2

type DeleteModelRegistryRequest struct {

	// Force delete a model registry workbench even if errors occur during deletion. Force delete removes the guarantee that resources in your cloud account will be cleaned up. By default, force is set to false.
	Force bool `json:"force,omitempty"`

	// Deprecated, please use modelRegistryCrn. The environment CRN of the model registry.
	ID string `json:"id,omitempty"`

	// CRN of the model registry to be deleted.
	ModelRegistryCrn string `json:"modelRegistryCrn,omitempty"`

	// Deprecated. The workbench CRN of the model registry (Public cloud only).
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`
}

DeleteModelRegistryRequest Request for deleting model registry.

swagger:model DeleteModelRegistryRequest

func (*DeleteModelRegistryRequest) ContextValidate added in v0.4.2

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

ContextValidate validates this delete model registry request based on context it is used

func (*DeleteModelRegistryRequest) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*DeleteModelRegistryRequest) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*DeleteModelRegistryRequest) Validate added in v0.4.2

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

Validate validates this delete model registry request

type DeleteModelRegistryResponse added in v0.4.2

type DeleteModelRegistryResponse interface{}

DeleteModelRegistryResponse Delete model registry response.

swagger:model DeleteModelRegistryResponse

type DeleteWorkspaceRequest

type DeleteWorkspaceRequest struct {

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

	// Force delete a workbench 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 workbench filesystem storage or remove it during delete.
	RemoveStorage bool `json:"removeStorage,omitempty"`

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

	// The name of the workbench 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 DescribeMlServingAppRequest added in v0.6.0

type DescribeMlServingAppRequest struct {

	// The CRN of the Cloudera AI Inference Service.
	// Required: true
	AppCrn *string `json:"appCrn"`
}

DescribeMlServingAppRequest Request object for the DescribeMlServingApp method.

swagger:model DescribeMlServingAppRequest

func (*DescribeMlServingAppRequest) ContextValidate added in v0.6.0

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

ContextValidate validates this describe ml serving app request based on context it is used

func (*DescribeMlServingAppRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*DescribeMlServingAppRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*DescribeMlServingAppRequest) Validate added in v0.6.0

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

Validate validates this describe ml serving app request

type DescribeMlServingAppResponse added in v0.6.0

type DescribeMlServingAppResponse struct {

	// The Cloudera AI Inference Service instance.
	App *MlServingApp `json:"app,omitempty"`
}

DescribeMlServingAppResponse Response object for the DescribeMlServingApp method.

swagger:model DescribeMlServingAppResponse

func (*DescribeMlServingAppResponse) ContextValidate added in v0.6.0

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

ContextValidate validate this describe ml serving app response based on the context it is used

func (*DescribeMlServingAppResponse) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*DescribeMlServingAppResponse) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*DescribeMlServingAppResponse) Validate added in v0.6.0

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

Validate validates this describe ml serving app response

type DescribeModelRegistryRequest added in v0.4.2

type DescribeModelRegistryRequest struct {

	// The CRN of the Model Registry to describe.
	// Required: true
	ModelRegistryCrn *string `json:"modelRegistryCrn"`
}

DescribeModelRegistryRequest Request object for the DescribeModelRegistry method.

swagger:model DescribeModelRegistryRequest

func (*DescribeModelRegistryRequest) ContextValidate added in v0.4.2

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

ContextValidate validates this describe model registry request based on context it is used

func (*DescribeModelRegistryRequest) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*DescribeModelRegistryRequest) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*DescribeModelRegistryRequest) Validate added in v0.4.2

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

Validate validates this describe model registry request

type DescribeModelRegistryResponse added in v0.4.2

type DescribeModelRegistryResponse struct {

	// The registry.
	// Required: true
	ModelRegistry *ModelRegistry `json:"modelRegistry"`
}

DescribeModelRegistryResponse Response object for the DescribeModelRegistry method.

swagger:model DescribeModelRegistryResponse

func (*DescribeModelRegistryResponse) ContextValidate added in v0.4.2

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

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

func (*DescribeModelRegistryResponse) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*DescribeModelRegistryResponse) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*DescribeModelRegistryResponse) Validate added in v0.4.2

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

Validate validates this describe model registry response

type DescribeWorkspaceRequest

type DescribeWorkspaceRequest struct {

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

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

	// The name of the workbench 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 workbench.
	// 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 {

	// Resource crn for which audit events to be fetched. Resource can be workbench or model registry.
	ResourceCrn string `json:"resourceCrn,omitempty"`

	// Deprecated, please begin to use Resource crn, as this will soon be unsupported.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`
}

GetAuditEventsRequest GetAuditEventsRequest to get all audit events for a given workbench 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 workbench crn.
	// Required: true
	AuditEvents *AuditEvents `json:"auditEvents"`
}

GetAuditEventsResponse GetAuditEventsResponse containes all the audit events for a given workbench 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 workbench is a member of.
	EnvironmentName string `json:"environmentName,omitempty"`

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

	// The name of the workbench 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 workbench that is used when deploying Cloudera AI workbenches.
	// 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"`

	// Deprecated. Please begin to use resourceCrn, as this will soon be unsupported
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`
}

GetLogsRequest GetLogsRequest for 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 GetMlServingAppKubeconfigRequest added in v0.6.0

type GetMlServingAppKubeconfigRequest struct {

	// The CRN of the Cloudera AI Inference Service instance for retrieving the kubeconfig.
	AppCrn string `json:"appCrn,omitempty"`
}

GetMlServingAppKubeconfigRequest Request object for the GetMlServingAppKubeconfig method.

swagger:model GetMlServingAppKubeconfigRequest

func (*GetMlServingAppKubeconfigRequest) ContextValidate added in v0.6.0

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

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

func (*GetMlServingAppKubeconfigRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*GetMlServingAppKubeconfigRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*GetMlServingAppKubeconfigRequest) Validate added in v0.6.0

Validate validates this get ml serving app kubeconfig request

type GetMlServingAppKubeconfigResponse added in v0.6.0

type GetMlServingAppKubeconfigResponse struct {

	// The kubeconfig of the Cloudera AI Inference Kubernetes cluster.
	// Required: true
	Kubeconfig *string `json:"kubeconfig"`
}

GetMlServingAppKubeconfigResponse Response object for the GetMlServingAppKubeconfig method.

swagger:model GetMlServingAppKubeconfigResponse

func (*GetMlServingAppKubeconfigResponse) ContextValidate added in v0.6.0

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

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

func (*GetMlServingAppKubeconfigResponse) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*GetMlServingAppKubeconfigResponse) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*GetMlServingAppKubeconfigResponse) Validate added in v0.6.0

Validate validates this get ml serving app kubeconfig response

type GetModelRegistryKubeconfigRequest added in v0.4.2

type GetModelRegistryKubeconfigRequest struct {

	// CRN of the Model Registry
	ModelRegistryCrn string `json:"modelRegistryCrn,omitempty"`
}

GetModelRegistryKubeconfigRequest Request object for GetModelRegistryKubeconfig.

swagger:model GetModelRegistryKubeconfigRequest

func (*GetModelRegistryKubeconfigRequest) ContextValidate added in v0.4.2

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

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

func (*GetModelRegistryKubeconfigRequest) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*GetModelRegistryKubeconfigRequest) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*GetModelRegistryKubeconfigRequest) Validate added in v0.4.2

Validate validates this get model registry kubeconfig request

type GetModelRegistryKubeconfigResponse added in v0.4.2

type GetModelRegistryKubeconfigResponse struct {

	// KubeConfig of the model registry cluster
	KubeConfig string `json:"kubeConfig,omitempty"`
}

GetModelRegistryKubeconfigResponse GetModelRegistryKubeconfigResponse response provides model registry kube config.

swagger:model GetModelRegistryKubeconfigResponse

func (*GetModelRegistryKubeconfigResponse) ContextValidate added in v0.4.2

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

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

func (*GetModelRegistryKubeconfigResponse) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*GetModelRegistryKubeconfigResponse) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*GetModelRegistryKubeconfigResponse) Validate added in v0.4.2

Validate validates this get model registry kubeconfig response

type GrantMlServingAppAccessRequest added in v0.6.0

type GrantMlServingAppAccessRequest struct {

	// The cloud provider user id, such as ARN, which will be granted access to the Cloudera AI Inference Service Kubernetes cluster.
	Identifier string `json:"identifier,omitempty"`

	// The CRN of the Cloudera AI Inference Service instance to which access is to be granted.
	ResourceCrn string `json:"resourceCrn,omitempty"`
}

GrantMlServingAppAccessRequest Request object for the GrantMlServingAppAccess method.

swagger:model GrantMlServingAppAccessRequest

func (*GrantMlServingAppAccessRequest) ContextValidate added in v0.6.0

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

ContextValidate validates this grant ml serving app access request based on context it is used

func (*GrantMlServingAppAccessRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*GrantMlServingAppAccessRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*GrantMlServingAppAccessRequest) Validate added in v0.6.0

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

Validate validates this grant ml serving app access request

type GrantMlServingAppAccessResponse added in v0.6.0

type GrantMlServingAppAccessResponse struct {

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

GrantMlServingAppAccessResponse Response object for the GrantMlServingAppAccess method.

swagger:model GrantMlServingAppAccessResponse

func (*GrantMlServingAppAccessResponse) ContextValidate added in v0.6.0

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

ContextValidate validates this grant ml serving app access response based on context it is used

func (*GrantMlServingAppAccessResponse) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*GrantMlServingAppAccessResponse) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*GrantMlServingAppAccessResponse) Validate added in v0.6.0

Validate validates this grant ml serving app access response

type GrantModelRegistryAccessRequest added in v0.4.2

type GrantModelRegistryAccessRequest struct {

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

	// The CRN of the Model Registry to grant access to.
	ResourceCrn string `json:"resourceCrn,omitempty"`
}

GrantModelRegistryAccessRequest Request object for the GrantModelRegistryAccess method.

swagger:model GrantModelRegistryAccessRequest

func (*GrantModelRegistryAccessRequest) ContextValidate added in v0.4.2

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

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

func (*GrantModelRegistryAccessRequest) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*GrantModelRegistryAccessRequest) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*GrantModelRegistryAccessRequest) Validate added in v0.4.2

Validate validates this grant model registry access request

type GrantModelRegistryAccessResponse added in v0.4.2

type GrantModelRegistryAccessResponse struct {

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

GrantModelRegistryAccessResponse Response object for the GrantModelRegistryAccess method.

swagger:model GrantModelRegistryAccessResponse

func (*GrantModelRegistryAccessResponse) ContextValidate added in v0.4.2

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

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

func (*GrantModelRegistryAccessResponse) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*GrantModelRegistryAccessResponse) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*GrantModelRegistryAccessResponse) Validate added in v0.4.2

Validate validates this grant model registry access 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 workbench is a member of.
	EnvironmentName string `json:"environmentName,omitempty"`

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

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

	// The name of the workbench 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 InstanceDetails added in v0.7.4

type InstanceDetails struct {

	// Name of the CPU/GPU category to which it belongs.
	// Required: true
	Category *string `json:"category"`

	// Compute capability of the GPU.
	ComputeCapability string `json:"computeCapability,omitempty"`

	// The number of CPU cores available for the instance in the region.
	// Required: true
	CPU *string `json:"cpu"`

	// The number of GPUs available for the instance in the region.
	// Required: true
	Gpu *string `json:"gpu"`

	// Memory capacity of the GPU.
	GpuMemory string `json:"gpuMemory,omitempty"`

	// GPU model.
	GpuModel string `json:"gpuModel,omitempty"`

	// GPU model type.
	GpuType string `json:"gpuType,omitempty"`

	// Type of interconnect between GPUs.
	InterconnectType string `json:"interconnectType,omitempty"`

	// The amount of memory (RAM) available for the instance in the region, typically measured in GB.
	// Required: true
	Memory *string `json:"memory"`

	// A unique name or identifier for the instance type in the region.
	// Required: true
	Name *string `json:"name"`
}

InstanceDetails Instance Details

swagger:model InstanceDetails

func (*InstanceDetails) ContextValidate added in v0.7.4

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

ContextValidate validates this instance details based on context it is used

func (*InstanceDetails) MarshalBinary added in v0.7.4

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

MarshalBinary interface implementation

func (*InstanceDetails) UnmarshalBinary added in v0.7.4

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

UnmarshalBinary interface implementation

func (*InstanceDetails) Validate added in v0.7.4

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

Validate validates this instance details

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 KubernetesCluster added in v0.6.0

type KubernetesCluster struct {

	// The allow list of CIDR blocks which can access the API server.
	AuthorizedIPRanges string `json:"authorizedIpRanges,omitempty"`

	// Whether to allow only 'authorizedIPRanges' given or all public IPs.
	AuthorizedIPRangesAllowList bool `json:"authorizedIpRangesAllowList,omitempty"`

	// The base domain for this cluster.
	BaseDomain string `json:"baseDomain,omitempty"`

	// The cluster CRN of the kubernetes cluster.
	ClusterCrn string `json:"clusterCrn,omitempty"`

	// The name of the Kubernetes cluster.
	ClusterName string `json:"clusterName,omitempty"`

	// The domain name for the cluster.
	DomainName string `json:"domainName,omitempty"`

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

	// The allow list of IPs for incoming connections.
	IPAllowlist string `json:"ipAllowlist,omitempty"`

	// Indicates if this cluster is accepting incoming connection from public internet.
	IsPublic bool `json:"isPublic,omitempty"`

	// The identifier in Cloudera Data Platform Compute Service corresponding to this Kubernetes cluster.
	LiftieID string `json:"liftieID,omitempty"`

	// The subnets associated with this cluster.
	Subnets string `json:"subnets,omitempty"`

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

KubernetesCluster The Kubernetes cluster information

swagger:model KubernetesCluster

func (*KubernetesCluster) ContextValidate added in v0.6.0

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

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

func (*KubernetesCluster) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*KubernetesCluster) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*KubernetesCluster) Validate added in v0.6.0

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

Validate validates this kubernetes cluster

type ListInstanceTypeConfigurationRequest added in v0.7.4

type ListInstanceTypeConfigurationRequest struct {

	// Identifies the cloud provider (e.g., AWS, Azure) for which to list supported instances.
	// Required: true
	CloudProvider *string `json:"cloudProvider"`

	// Defines the category of the instance (e.g., CPU, GPU) relevant for the query in the specified region.
	// Required: true
	InstanceCategory *string `json:"instanceCategory"`

	// Identifies the instance type.
	// Required: true
	InstanceType *string `json:"instanceType"`

	// Specifies the name of the region for which instance support details are requested.
	// Required: true
	Region *string `json:"region"`
}

ListInstanceTypeConfigurationRequest Request object for the ListInstanceTypeConfiguration method.

swagger:model ListInstanceTypeConfigurationRequest

func (*ListInstanceTypeConfigurationRequest) ContextValidate added in v0.7.4

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

ContextValidate validates this list instance type configuration request based on context it is used

func (*ListInstanceTypeConfigurationRequest) MarshalBinary added in v0.7.4

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

MarshalBinary interface implementation

func (*ListInstanceTypeConfigurationRequest) UnmarshalBinary added in v0.7.4

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

UnmarshalBinary interface implementation

func (*ListInstanceTypeConfigurationRequest) Validate added in v0.7.4

Validate validates this list instance type configuration request

type ListInstanceTypeConfigurationResponse added in v0.7.4

type ListInstanceTypeConfigurationResponse struct {

	// Contains a list of instance details, including CPU, GPU, memory, and name, for queried supported instance type in the queried region.
	// Required: true
	InstanceDetails []*InstanceDetails `json:"instanceDetails"`
}

ListInstanceTypeConfigurationResponse Response object for the ListInstanceTypeConfiguration method.

swagger:model ListInstanceTypeConfigurationResponse

func (*ListInstanceTypeConfigurationResponse) ContextValidate added in v0.7.4

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

ContextValidate validate this list instance type configuration response based on the context it is used

func (*ListInstanceTypeConfigurationResponse) MarshalBinary added in v0.7.4

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

MarshalBinary interface implementation

func (*ListInstanceTypeConfigurationResponse) UnmarshalBinary added in v0.7.4

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

UnmarshalBinary interface implementation

func (*ListInstanceTypeConfigurationResponse) Validate added in v0.7.4

Validate validates this list instance type configuration response

type ListMlServingAppAccessRequest added in v0.6.0

type ListMlServingAppAccessRequest struct {

	// The CRN of the Cloudera AI Inference Service to list access.
	ResourceCrn string `json:"resourceCrn,omitempty"`
}

ListMlServingAppAccessRequest Request object for the ListMlServingAppAccess method.

swagger:model ListMlServingAppAccessRequest

func (*ListMlServingAppAccessRequest) ContextValidate added in v0.6.0

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

ContextValidate validates this list ml serving app access request based on context it is used

func (*ListMlServingAppAccessRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*ListMlServingAppAccessRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*ListMlServingAppAccessRequest) Validate added in v0.6.0

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

Validate validates this list ml serving app access request

type ListMlServingAppAccessResponse added in v0.6.0

type ListMlServingAppAccessResponse struct {

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

ListMlServingAppAccessResponse Response object for the ListMlServingAppAccess method.

swagger:model ListMlServingAppAccessResponse

func (*ListMlServingAppAccessResponse) ContextValidate added in v0.6.0

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

ContextValidate validates this list ml serving app access response based on context it is used

func (*ListMlServingAppAccessResponse) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*ListMlServingAppAccessResponse) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*ListMlServingAppAccessResponse) Validate added in v0.6.0

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

Validate validates this list ml serving app access response

type ListMlServingAppsRequest added in v0.6.0

type ListMlServingAppsRequest struct {

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

ListMlServingAppsRequest Request object for the ListMlServingApps method.

swagger:model ListMlServingAppsRequest

func (*ListMlServingAppsRequest) ContextValidate added in v0.6.0

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

ContextValidate validates this list ml serving apps request based on context it is used

func (*ListMlServingAppsRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*ListMlServingAppsRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*ListMlServingAppsRequest) Validate added in v0.6.0

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

Validate validates this list ml serving apps request

type ListMlServingAppsResponse added in v0.6.0

type ListMlServingAppsResponse struct {

	// The list of Apps.
	Apps []*MlServingApp `json:"apps"`
}

ListMlServingAppsResponse Response object for the ListMlServingApps method.

swagger:model ListMlServingAppsResponse

func (*ListMlServingAppsResponse) ContextValidate added in v0.6.0

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

ContextValidate validate this list ml serving apps response based on the context it is used

func (*ListMlServingAppsResponse) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*ListMlServingAppsResponse) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*ListMlServingAppsResponse) Validate added in v0.6.0

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

Validate validates this list ml serving apps response

type ListModelRegistriesRequest added in v0.4.2

type ListModelRegistriesRequest interface{}

ListModelRegistriesRequest Request object for deleting model registry.

swagger:model ListModelRegistriesRequest

type ListModelRegistriesResponse added in v0.4.2

type ListModelRegistriesResponse struct {

	// The list of model registry.
	ModelRegistries []*ModelRegistry `json:"modelRegistries"`
}

ListModelRegistriesResponse List of all available model registries.

swagger:model ListModelRegistriesResponse

func (*ListModelRegistriesResponse) ContextValidate added in v0.4.2

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

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

func (*ListModelRegistriesResponse) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*ListModelRegistriesResponse) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*ListModelRegistriesResponse) Validate added in v0.4.2

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

Validate validates this list model registries response

type ListModelRegistryAccessRequest added in v0.4.2

type ListModelRegistryAccessRequest struct {

	// The CRN of the Model Registry to list access.
	ResourceCrn string `json:"resourceCrn,omitempty"`
}

ListModelRegistryAccessRequest Request object for the ListModelRegistryAccess method.

swagger:model ListModelRegistryAccessRequest

func (*ListModelRegistryAccessRequest) ContextValidate added in v0.4.2

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

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

func (*ListModelRegistryAccessRequest) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*ListModelRegistryAccessRequest) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*ListModelRegistryAccessRequest) Validate added in v0.4.2

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

Validate validates this list model registry access request

type ListModelRegistryAccessResponse added in v0.4.2

type ListModelRegistryAccessResponse struct {

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

ListModelRegistryAccessResponse Response object for the ListModelRegistryAccess method.

swagger:model ListModelRegistryAccessResponse

func (*ListModelRegistryAccessResponse) ContextValidate added in v0.4.2

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

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

func (*ListModelRegistryAccessResponse) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*ListModelRegistryAccessResponse) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*ListModelRegistryAccessResponse) Validate added in v0.4.2

Validate validates this list model registry access response

type ListRelevantInstancesRequest added in v0.7.4

type ListRelevantInstancesRequest struct {

	// Identifies the cloud provider (e.g., AWS, Azure) for which to list supported instances.
	// Required: true
	CloudProvider *string `json:"cloudProvider"`

	// Defines the category of the instance (e.g., CPU, GPU) relevant for the query in the specified region.
	// Required: true
	InstanceCategory *string `json:"instanceCategory"`

	// Specifies the name of the region for which instance support details are requested.
	// Required: true
	Region *string `json:"region"`

	// Specifies the requested resource inputs eg (CPU/GPU, model, memory etc).
	// Required: true
	RequestInfo *RequestResourceInfo `json:"requestInfo"`
}

ListRelevantInstancesRequest Request object for the ListRelevantInstances method.

swagger:model ListRelevantInstancesRequest

func (*ListRelevantInstancesRequest) ContextValidate added in v0.7.4

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

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

func (*ListRelevantInstancesRequest) MarshalBinary added in v0.7.4

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

MarshalBinary interface implementation

func (*ListRelevantInstancesRequest) UnmarshalBinary added in v0.7.4

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

UnmarshalBinary interface implementation

func (*ListRelevantInstancesRequest) Validate added in v0.7.4

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

Validate validates this list relevant instances request

type ListRelevantInstancesResponse added in v0.7.4

type ListRelevantInstancesResponse struct {

	// Contains a list of instance details, including CPU, GPU, memory, and name, for supported instances in the queried region.
	// Required: true
	InstanceDetails []*InstanceDetails `json:"instanceDetails"`
}

ListRelevantInstancesResponse Response object for the ListRelevantInstances method.

swagger:model ListRelevantInstancesResponse

func (*ListRelevantInstancesResponse) ContextValidate added in v0.7.4

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

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

func (*ListRelevantInstancesResponse) MarshalBinary added in v0.7.4

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

MarshalBinary interface implementation

func (*ListRelevantInstancesResponse) UnmarshalBinary added in v0.7.4

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

UnmarshalBinary interface implementation

func (*ListRelevantInstancesResponse) Validate added in v0.7.4

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

Validate validates this list relevant instances response

type ListWorkspaceAccessRequest

type ListWorkspaceAccessRequest struct {

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

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

	// The name of the workbench 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 workbench 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 workbench 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 workbench to list backups for. If this field is specified, environmentName and workspaceName are ignored.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// The name of the workbench 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 workbenches.
	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 MlServingApp added in v0.6.0

type MlServingApp struct {

	// The CRN of the Cloudera AI Inference Service instance.
	AppCrn string `json:"appCrn,omitempty"`

	// The name of the Cloudera AI Inference Service instance.
	AppName string `json:"appName,omitempty"`

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

	// The Kubernetes cluster information.
	Cluster *KubernetesCluster `json:"cluster,omitempty"`

	// Creation date of Cloudera AI Inference Service instance.
	// Format: date-time
	CreationDate strfmt.DateTime `json:"creationDate,omitempty"`

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

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

	// Indicates if HTTPs communication was enabled on this application when it was provisioned.
	HTTPSEnabled bool `json:"httpsEnabled,omitempty"`

	// Is this service installed on a private cluster.
	IsPrivateCluster bool `json:"isPrivateCluster,omitempty"`

	// The Cloudera AI Inference Service version running on this instance.
	MlServingVersion string `json:"mlServingVersion,omitempty"`

	// The namespace used for this service.
	Namespace string `json:"namespace,omitempty"`

	// The email of the user who created this service.
	OwnerEmail string `json:"ownerEmail,omitempty"`

	// The status of the Cloudera AI Inference Service instance.
	Status string `json:"status,omitempty"`

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

	// Indicates if this Cloudera AI Inference Service instance uses a public load balancer.
	UsePublicLoadBalancer bool `json:"usePublicLoadBalancer,omitempty"`
}

MlServingApp The Cloudera AI Inference Service instance.

swagger:model MlServingApp

func (*MlServingApp) ContextValidate added in v0.6.0

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

ContextValidate validate this ml serving app based on the context it is used

func (*MlServingApp) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*MlServingApp) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*MlServingApp) Validate added in v0.6.0

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

Validate validates this ml serving app

type MlServingProvisionK8sRequest added in v0.6.0

type MlServingProvisionK8sRequest struct {

	// The CRN of the environment for the cluster to create.
	// Required: true
	EnvironmentCrn *string `json:"environmentCrn"`

	// 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"`
}

MlServingProvisionK8sRequest Request object for provisioning Cloudera AI Inference Service instance groups.

swagger:model MlServingProvisionK8sRequest

func (*MlServingProvisionK8sRequest) ContextValidate added in v0.6.0

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

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

func (*MlServingProvisionK8sRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*MlServingProvisionK8sRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*MlServingProvisionK8sRequest) Validate added in v0.6.0

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

Validate validates this ml serving provision k8s request

type ModelRegistry added in v0.4.2

type ModelRegistry struct {

	// The creation time of model registry.
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// The creator of model registry.
	Creator string `json:"creator,omitempty"`

	// ModelRegistry CRN.
	Crn string `json:"crn,omitempty"`

	// The domain of the model registry
	Domain string `json:"domain,omitempty"`

	// To indicate if the model registry standalone API endpoint is publicly accessible or not.
	EndpointPublicAccess bool `json:"endpointPublicAccess,omitempty"`

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

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

	// The id of model registry.
	ID int64 `json:"id,omitempty"`

	// The machine user CRN of the model registry.
	MachineUserCrn string `json:"machineUserCrn,omitempty"`

	// The namespace of model registry.
	Namespace string `json:"namespace,omitempty"`

	// The s3 bucket of model registry.
	S3Bucket string `json:"s3Bucket,omitempty"`

	// The Ozone endpoint of model registry.
	S3Endpoint string `json:"s3Endpoint,omitempty"`

	// The service name of model registry.
	ServiceName string `json:"serviceName,omitempty"`

	// The status of model registry.
	Status string `json:"status,omitempty"`

	// The version of the model registry.
	Version string `json:"version,omitempty"`

	// Deprecated. workbench CRN. This field is no longer used.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`

	// Deprecated, please refer to serviceName. workbench name.
	WorkspaceName string `json:"workspaceName,omitempty"`
}

ModelRegistry Model registry object

swagger:model ModelRegistry

func (*ModelRegistry) ContextValidate added in v0.4.2

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

ContextValidate validates this model registry based on context it is used

func (*ModelRegistry) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*ModelRegistry) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*ModelRegistry) Validate added in v0.4.2

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

Validate validates this model registry

type ModelRegistryProvisionK8sRequest added in v0.4.2

type ModelRegistryProvisionK8sRequest struct {

	// 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"`
}

ModelRegistryProvisionK8sRequest Request object for provisioning model registry.

swagger:model ModelRegistryProvisionK8sRequest

func (*ModelRegistryProvisionK8sRequest) ContextValidate added in v0.4.2

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

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

func (*ModelRegistryProvisionK8sRequest) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*ModelRegistryProvisionK8sRequest) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*ModelRegistryProvisionK8sRequest) Validate added in v0.4.2

Validate validates this model registry provision k8s request

type ModifyClusterInstanceGroupRequest

type ModifyClusterInstanceGroupRequest struct {

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

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

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

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

	// The CRN of the workbench 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 workbench 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 ModifyMlServingAppRequest added in v0.6.0

type ModifyMlServingAppRequest struct {

	// The CRN of the Cloudera AI Inference Service to be modified.
	// Required: true
	AppCrn *string `json:"appCrn"`

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

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

	// The desired maximum number of instances in the instance group.
	// Required: true
	Max *int32 `json:"max"`

	// The desired minimum number of instances in the instance group.
	// Required: true
	Min *int32 `json:"min"`
}

ModifyMlServingAppRequest Request object for the ModifyMlServingApp method.

swagger:model ModifyMlServingAppRequest

func (*ModifyMlServingAppRequest) ContextValidate added in v0.6.0

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

ContextValidate validates this modify ml serving app request based on context it is used

func (*ModifyMlServingAppRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*ModifyMlServingAppRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*ModifyMlServingAppRequest) Validate added in v0.6.0

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

Validate validates this modify ml serving app request

type ModifyMlServingAppResponse added in v0.6.0

type ModifyMlServingAppResponse interface{}

ModifyMlServingAppResponse Response object for ModifyMlServingApp method.

swagger:model ModifyMlServingAppResponse

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 workbench 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 workbench 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 workbench provision. Required in public cloud.

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 workbench.

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 RefreshModelRegistryConfigmapRequest added in v0.4.2

type RefreshModelRegistryConfigmapRequest struct {

	// workbench CRN.
	WorkspaceCrn string `json:"workspaceCrn,omitempty"`
}

RefreshModelRegistryConfigmapRequest Request for refreshing workbench's model registry configmap.

swagger:model RefreshModelRegistryConfigmapRequest

func (*RefreshModelRegistryConfigmapRequest) ContextValidate added in v0.4.2

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

ContextValidate validates this refresh model registry configmap request based on context it is used

func (*RefreshModelRegistryConfigmapRequest) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*RefreshModelRegistryConfigmapRequest) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*RefreshModelRegistryConfigmapRequest) Validate added in v0.4.2

Validate validates this refresh model registry configmap request

type RefreshModelRegistryConfigmapResponse added in v0.4.2

type RefreshModelRegistryConfigmapResponse interface{}

RefreshModelRegistryConfigmapResponse Response for refreshing workbench's model registry configmap.

swagger:model RefreshModelRegistryConfigmapResponse

type RequestResourceInfo added in v0.7.4

type RequestResourceInfo struct {

	// The compute capability of the GPU.
	ComputeCapability string `json:"computeCapability,omitempty"`

	// The number of CPU cores.
	CPU string `json:"cpu,omitempty"`

	// The number of GPUs.
	Gpu string `json:"gpu,omitempty"`

	// The GPU memory size of the resource.
	GpuMemory string `json:"gpuMemory,omitempty"`

	// The model of the GPU, entails the complete name by the provider.
	GpuModel string `json:"gpuModel,omitempty"`

	// The gpu type, eg A100
	GpuType string `json:"gpuType,omitempty"`

	// The interconnect type between 2 resources.
	InterconnectType string `json:"interconnectType,omitempty"`

	// The memory size of the resource.
	Memory string `json:"memory,omitempty"`
}

RequestResourceInfo Instance Details

swagger:model RequestResourceInfo

func (*RequestResourceInfo) ContextValidate added in v0.7.4

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

ContextValidate validates this request resource info based on context it is used

func (*RequestResourceInfo) MarshalBinary added in v0.7.4

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

MarshalBinary interface implementation

func (*RequestResourceInfo) UnmarshalBinary added in v0.7.4

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

UnmarshalBinary interface implementation

func (*RequestResourceInfo) Validate added in v0.7.4

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

Validate validates this request resource info

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 AI workbench.
	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 AI workbench 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 workbench 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 RevokeMlServingAppAccessRequest added in v0.6.0

type RevokeMlServingAppAccessRequest struct {

	// The cloud provider user ID, such as ARN, from which access to the Cloudera AI Inference Service Kubernetes cluster needs to be revoked.
	Identifier string `json:"identifier,omitempty"`

	// The CRN of the Cloudera AI Inference Service instance to revoke access.
	ResourceCrn string `json:"resourceCrn,omitempty"`
}

RevokeMlServingAppAccessRequest Request object for the RevokeMlServingAppAccess method.

swagger:model RevokeMlServingAppAccessRequest

func (*RevokeMlServingAppAccessRequest) ContextValidate added in v0.6.0

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

ContextValidate validates this revoke ml serving app access request based on context it is used

func (*RevokeMlServingAppAccessRequest) MarshalBinary added in v0.6.0

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

MarshalBinary interface implementation

func (*RevokeMlServingAppAccessRequest) UnmarshalBinary added in v0.6.0

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

UnmarshalBinary interface implementation

func (*RevokeMlServingAppAccessRequest) Validate added in v0.6.0

Validate validates this revoke ml serving app access request

type RevokeMlServingAppAccessResponse added in v0.6.0

type RevokeMlServingAppAccessResponse interface{}

RevokeMlServingAppAccessResponse Response object for the RevokeMlServingAppAccess method.

swagger:model RevokeMlServingAppAccessResponse

type RevokeModelRegistryAccessRequest added in v0.4.2

type RevokeModelRegistryAccessRequest struct {

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

	// The CRN of the Model Registry to grant access to.
	ResourceCrn string `json:"resourceCrn,omitempty"`
}

RevokeModelRegistryAccessRequest Request object for the RevokeModelRegistry method.

swagger:model RevokeModelRegistryAccessRequest

func (*RevokeModelRegistryAccessRequest) ContextValidate added in v0.4.2

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

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

func (*RevokeModelRegistryAccessRequest) MarshalBinary added in v0.4.2

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

MarshalBinary interface implementation

func (*RevokeModelRegistryAccessRequest) UnmarshalBinary added in v0.4.2

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

UnmarshalBinary interface implementation

func (*RevokeModelRegistryAccessRequest) Validate added in v0.4.2

Validate validates this revoke model registry access request

type RevokeModelRegistryAccessResponse added in v0.4.2

type RevokeModelRegistryAccessResponse interface{}

RevokeModelRegistryAccessResponse Response object for the RevokeModelRegistryAccess method.

swagger:model RevokeModelRegistryAccessResponse

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 workbench is a member of.
	EnvironmentName string `json:"environmentName,omitempty"`

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

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

	// The name of the workbench 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 RollbackModelRegistryUpgradeRequest added in v0.5.9

type RollbackModelRegistryUpgradeRequest struct {

	// The CRN of the model registry.
	Crn string `json:"crn,omitempty"`
}

RollbackModelRegistryUpgradeRequest Request for rollback model registry upgrade.

swagger:model RollbackModelRegistryUpgradeRequest

func (*RollbackModelRegistryUpgradeRequest) ContextValidate added in v0.5.9

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

ContextValidate validates this rollback model registry upgrade request based on context it is used

func (*RollbackModelRegistryUpgradeRequest) MarshalBinary added in v0.5.9

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

MarshalBinary interface implementation

func (*RollbackModelRegistryUpgradeRequest) UnmarshalBinary added in v0.5.9

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

UnmarshalBinary interface implementation

func (*RollbackModelRegistryUpgradeRequest) Validate added in v0.5.9

Validate validates this rollback model registry upgrade request

type RollbackModelRegistryUpgradeResponse added in v0.5.9

type RollbackModelRegistryUpgradeResponse interface{}

RollbackModelRegistryUpgradeResponse Response for rollback model registry request.

swagger:model RollbackModelRegistryUpgradeResponse

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 workbench 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 workbench.

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 UpgradeMlServingAppRequest added in v0.6.3

type UpgradeMlServingAppRequest struct {

	// The Cloudera AI Inference Service CRN.
	// Required: true
	AppCrn *string `json:"appCrn"`
}

UpgradeMlServingAppRequest Request object for the UpgradeMlServingApp method.

swagger:model UpgradeMlServingAppRequest

func (*UpgradeMlServingAppRequest) ContextValidate added in v0.6.3

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

ContextValidate validates this upgrade ml serving app request based on context it is used

func (*UpgradeMlServingAppRequest) MarshalBinary added in v0.6.3

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

MarshalBinary interface implementation

func (*UpgradeMlServingAppRequest) UnmarshalBinary added in v0.6.3

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

UnmarshalBinary interface implementation

func (*UpgradeMlServingAppRequest) Validate added in v0.6.3

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

Validate validates this upgrade ml serving app request

type UpgradeMlServingAppResponse added in v0.6.3

type UpgradeMlServingAppResponse interface{}

UpgradeMlServingAppResponse Response object for the UpgradeMlServingApp method.

swagger:model UpgradeMlServingAppResponse

type UpgradeModelRegistryRequest added in v0.5.9

type UpgradeModelRegistryRequest struct {

	// The CRN of the model registry to be upgraded.
	Crn string `json:"crn,omitempty"`
}

UpgradeModelRegistryRequest Request for upgrading model registry.

swagger:model UpgradeModelRegistryRequest

func (*UpgradeModelRegistryRequest) ContextValidate added in v0.5.9

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

ContextValidate validates this upgrade model registry request based on context it is used

func (*UpgradeModelRegistryRequest) MarshalBinary added in v0.5.9

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

MarshalBinary interface implementation

func (*UpgradeModelRegistryRequest) UnmarshalBinary added in v0.5.9

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

UnmarshalBinary interface implementation

func (*UpgradeModelRegistryRequest) Validate added in v0.5.9

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

Validate validates this upgrade model registry request

type UpgradeModelRegistryResponse added in v0.5.9

type UpgradeModelRegistryResponse struct {

	// The CRN of the model registry after upgrade.
	Crn string `json:"crn,omitempty"`
}

UpgradeModelRegistryResponse Response for upgrading model registry.

swagger:model UpgradeModelRegistryResponse

func (*UpgradeModelRegistryResponse) ContextValidate added in v0.5.9

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

ContextValidate validates this upgrade model registry response based on context it is used

func (*UpgradeModelRegistryResponse) MarshalBinary added in v0.5.9

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

MarshalBinary interface implementation

func (*UpgradeModelRegistryResponse) UnmarshalBinary added in v0.5.9

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

UnmarshalBinary interface implementation

func (*UpgradeModelRegistryResponse) Validate added in v0.5.9

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

Validate validates this upgrade model registry response

type UpgradeState

type UpgradeState struct {

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

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

UpgradeState Response object for the workbench 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 workbench.
	EnvironmentName string `json:"environmentName,omitempty"`

	// The version of workbench to upgrade to.
	MlVersion string `json:"mlVersion,omitempty"`

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

	// The name of the workbench.
	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 workbench
	BackupMetadata *BackupMetadata `json:"backupMetadata,omitempty"`

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

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

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

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

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

	// The CRN of the workbench.
	// 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 workbench's environment.
	// Required: true
	EnvironmentName *string `json:"environmentName"`

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

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

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

	// The health info information of the workbench.
	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 workbench.
	// Required: true
	InstanceName *string `json:"instanceName"`

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

	// URL of the workbench'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 value to indicate if the workbench is restored one or not
	IsRestored bool `json:"isRestored,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 workbench.
	// Required: true
	MonitoringEnabled *bool `json:"monitoringEnabled"`

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

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

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

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

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

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

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

Workspace A ML workbench, 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 {

	// Number of CPUs attached to this instance type.
	CPU string `json:"cpu,omitempty"`

	// Number of GPUs attached to this instance type.
	Gpu string `json:"gpu,omitempty"`

	// 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"`

	// Memory in GiB attached to this instance type.
	Memory string `json:"memory,omitempty"`

	// 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 workbench's cloud environment.
	// Required: true
	Tags []*Tag `json:"tags"`
}

WorkspaceInstanceGroup Instance group information to show in workbench 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 workbench.
	BackupMetadata *BackupMetadata `json:"backupMetadata,omitempty"`

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

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

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

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

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

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

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

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

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

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

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

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

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

	// URL of the workbench'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 value to indicate if the workbench is restored one or not
	IsRestored bool `json:"isRestored,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 workbench.
	// Required: true
	MonitoringEnabled *bool `json:"monitoringEnabled"`

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

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

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

WorkspaceSummary A Cloudera AI workbench 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