models

package
v0.7.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// CreateVcRequestRuntimeSpotComponentALL captures enum value "ALL"
	CreateVcRequestRuntimeSpotComponentALL string = "ALL"

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

	// CreateVcRequestSparkVersionSPARK2 captures enum value "SPARK2"
	CreateVcRequestSparkVersionSPARK2 string = "SPARK2"

	// CreateVcRequestSparkVersionSPARK24 captures enum value "SPARK2_4"
	CreateVcRequestSparkVersionSPARK24 string = "SPARK2_4"

	// CreateVcRequestSparkVersionSPARK3 captures enum value "SPARK3"
	CreateVcRequestSparkVersionSPARK3 string = "SPARK3"

	// CreateVcRequestSparkVersionSPARK30 captures enum value "SPARK3_0"
	CreateVcRequestSparkVersionSPARK30 string = "SPARK3_0"

	// CreateVcRequestSparkVersionSPARK31 captures enum value "SPARK3_1"
	CreateVcRequestSparkVersionSPARK31 string = "SPARK3_1"

	// CreateVcRequestSparkVersionSPARK32 captures enum value "SPARK3_2"
	CreateVcRequestSparkVersionSPARK32 string = "SPARK3_2"

	// CreateVcRequestSparkVersionSPARK33 captures enum value "SPARK3_3"
	CreateVcRequestSparkVersionSPARK33 string = "SPARK3_3"

	// CreateVcRequestSparkVersionSPARK35 captures enum value "SPARK3_5"
	CreateVcRequestSparkVersionSPARK35 string = "SPARK3_5"
)
View Source
const (

	// CreateVcRequestVcTierALLP captures enum value "ALLP"
	CreateVcRequestVcTierALLP string = "ALLP"

	// CreateVcRequestVcTierCORE captures enum value "CORE"
	CreateVcRequestVcTierCORE string = "CORE"
)
View Source
const (

	// EnableServiceRequestNetworkOutboundTypeUDR captures enum value "UDR"
	EnableServiceRequestNetworkOutboundTypeUDR string = "UDR"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessControlResponse

type AccessControlResponse struct {

	// Groups with full access.
	FullAccessGroups []string `json:"fullAccessGroups"`

	// Users with full access.
	FullAccessUsers []string `json:"fullAccessUsers"`

	// Workload usernames of CDP users granted access to the Virtual Cluster.
	Users []string `json:"users"`

	// Groups with view only access.
	ViewOnlyGroups []string `json:"viewOnlyGroups"`

	// Users with view only access.
	ViewOnlyUsers []string `json:"viewOnlyUsers"`
}

AccessControlResponse Response object containing access control information for a Virtual Cluster.

swagger:model AccessControlResponse

func (*AccessControlResponse) ContextValidate

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

ContextValidate validates this access control response based on context it is used

func (*AccessControlResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*AccessControlResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AccessControlResponse) Validate

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

Validate validates this access control response

type AllPurposeInstanceGroupDetailsResponse added in v0.6.3

type AllPurposeInstanceGroupDetailsResponse struct {

	// Initial number of Instances when the service is enabled.
	InitialInstances string `json:"initial_instances,omitempty"`

	// Initial number of spot Instances when the service is enabled.
	InitialSpotInstances string `json:"initial_spot_instances,omitempty"`

	// Instance type of the cluster for CDE Service.
	InstanceType string `json:"instance_type,omitempty"`

	// Maximum number of Instances for the CDE Service.
	MaxInstances string `json:"max_instances,omitempty"`

	// Maximum number of Spot Instances for the CDE Service.
	MaxSpotInstances string `json:"max_spot_instances,omitempty"`

	// Minimum number of Instances for the CDE Service.
	MinInstances string `json:"min_instances,omitempty"`

	// Minimum number of Spot instances for the CDE Service.
	MinSpotInstances string `json:"min_spot_instances,omitempty"`

	// EBS volume size in GB.
	RootVolSize string `json:"root_vol_size,omitempty"`
}

AllPurposeInstanceGroupDetailsResponse Instance group details for the All purpose Tier.

swagger:model AllPurposeInstanceGroupDetailsResponse

func (*AllPurposeInstanceGroupDetailsResponse) ContextValidate added in v0.6.3

ContextValidate validates this all purpose instance group details response based on context it is used

func (*AllPurposeInstanceGroupDetailsResponse) MarshalBinary added in v0.6.3

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

MarshalBinary interface implementation

func (*AllPurposeInstanceGroupDetailsResponse) UnmarshalBinary added in v0.6.3

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

UnmarshalBinary interface implementation

func (*AllPurposeInstanceGroupDetailsResponse) Validate added in v0.6.3

Validate validates this all purpose instance group details response

type Backup

type Backup struct {

	// The path to the base location where the backups are stored.
	ArchiveBasePath string `json:"archiveBasePath,omitempty"`

	// Archive location under the base path.
	ArchiveLocation string `json:"archiveLocation,omitempty"`

	// The cloud platform where a backed-up CDE service was enabled.
	// Required: true
	CloudPlatform *string `json:"cloudPlatform"`

	// The time when the backup was created.
	// Required: true
	Created *string `json:"created"`

	// The workload name of the user who created this backup.
	// Required: true
	Creator *string `json:"creator"`

	// CRN of of the user who created this backup.
	// Required: true
	CreatorCrn *string `json:"creatorCrn"`

	// Backup description.
	Description string `json:"description,omitempty"`

	// CRN of CDP environment with which a backed-up CDE service was associated.
	// Required: true
	EnvironmentCrn *string `json:"environmentCrn"`

	// Name of CDP environment with which a backed-up CDE service was associated.
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// Error message, only set when there is an error.
	ErrorMessage string `json:"errorMessage,omitempty"`

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

	// Service ID of a backed-up CDE service.
	// Required: true
	ServiceID *string `json:"serviceID"`

	// Name of a backed-up CDE service.
	// Required: true
	ServiceName *string `json:"serviceName"`

	// Version of a backed-up CDE service.
	// Required: true
	ServiceVersion *string `json:"serviceVersion"`

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

Backup Service backup object.

swagger:model Backup

func (*Backup) ContextValidate

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

ContextValidate validates this backup based on context it is used

func (*Backup) MarshalBinary

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

MarshalBinary interface implementation

func (*Backup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Backup) Validate

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

Validate validates this backup

type BackupContentOptions

type BackupContentOptions struct {

	// Filter credentials for backup using 'fieldname(operator)argument' syntax. Here, 'fieldname' is one of the credential fields (e.g. name, type, etc.), and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'name(eq)test-credential'. This will only take effect if credentials are backed up, as controlled by the 'includeCredentials' option.
	CredentialFilter []string `json:"credentialFilter"`

	// Whether to backup credential secrets. Secrets are obfuscated while storing. By default, credential secrets are backed up.
	IncludeCredentialSecrets *bool `json:"includeCredentialSecrets,omitempty"`

	// Whether to backup credentials. By default, credentials are backed up.
	IncludeCredentials *bool `json:"includeCredentials,omitempty"`

	// Whether to backup job resources. By default, job resources are backed up.
	IncludeJobResources *bool `json:"includeJobResources,omitempty"`

	// Whether to backup jobs. By default, jobs are backed up.
	IncludeJobs *bool `json:"includeJobs,omitempty"`

	// Whether to backup resource credentials. By default, resource credentials are backed up.
	IncludeResourceCredentials *bool `json:"includeResourceCredentials,omitempty"`

	// Whether to backup resources. By default, resources are backed up.
	IncludeResources *bool `json:"includeResources,omitempty"`

	// Filter jobs for backup using 'fieldname(operator)argument' syntax. Here, 'fieldname' is one of the job fields (e.g. name, type, etc.), and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'name(eq)SparkPi'. This will only take effect if jobs are backed up, as controlled by the 'includeJobs' option.
	JobFilter []string `json:"jobFilter"`

	// Filter resources for backup using 'fieldname(operator)argument' syntax. Here, 'fieldname' is one of the resource fields (e.g. name, type, status, etc.), and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'name(eq)test-resource'. This will only take effect if resources are backed up, as controlled by the 'includeResources' option.
	ResourceFilter []string `json:"resourceFilter"`

	// Whether to validate backup archive. By default, backup archive is not validated.
	ValidateArchive *bool `json:"validateArchive,omitempty"`
}

BackupContentOptions Backup virtual cluster content options.

swagger:model BackupContentOptions

func (*BackupContentOptions) ContextValidate

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

ContextValidate validates this backup content options based on context it is used

func (*BackupContentOptions) MarshalBinary

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

MarshalBinary interface implementation

func (*BackupContentOptions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BackupContentOptions) Validate

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

Validate validates this backup content options

type CancelBackupRequest

type CancelBackupRequest struct {

	// The ID of the backup to cancel.
	// Required: true
	BackupID *int64 `json:"backupID"`
}

CancelBackupRequest Request object for Cancel Backup command.

swagger:model CancelBackupRequest

func (*CancelBackupRequest) ContextValidate

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

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

func (*CancelBackupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CancelBackupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CancelBackupRequest) Validate

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

Validate validates this cancel backup request

type CancelBackupResponse

type CancelBackupResponse interface{}

CancelBackupResponse Response object for Cancel Backup command.

swagger:model CancelBackupResponse

type ChartValueOverridesRequest

type ChartValueOverridesRequest struct {

	// Name of the chart that has to be overridden, for eg- "dex-app", "dex-base".
	ChartName string `json:"chartName,omitempty"`

	// Space separated key-value pairs for overriding chart values. The key and the value must be separated using a colon(:) For eg- "airflow.enabled:true safari.enabled:true".
	Overrides string `json:"overrides,omitempty"`
}

ChartValueOverridesRequest Object containing chart value overrides for enabling a CDE service or creation of virtual clusters.

swagger:model ChartValueOverridesRequest

func (*ChartValueOverridesRequest) ContextValidate

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

ContextValidate validates this chart value overrides request based on context it is used

func (*ChartValueOverridesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ChartValueOverridesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChartValueOverridesRequest) Validate

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

Validate validates this chart value overrides request

type ChartValueOverridesResponse

type ChartValueOverridesResponse struct {

	// Name of the chart that has to be overridden, for eg- "dex-app", "dex-base".
	ChartName string `json:"chartName,omitempty"`

	// Space separated key value-pairs for overriding chart values. The key and the value must be separated using a colon(:) For eg- "airflow.enabled:true safari.enabled:true".
	Overrides string `json:"overrides,omitempty"`
}

ChartValueOverridesResponse Response object containing chart value overrides.

swagger:model ChartValueOverridesResponse

func (*ChartValueOverridesResponse) ContextValidate

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

ContextValidate validates this chart value overrides response based on context it is used

func (*ChartValueOverridesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ChartValueOverridesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChartValueOverridesResponse) Validate

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

Validate validates this chart value overrides response

type CreateBackupRequest

type CreateBackupRequest struct {

	// Backup file relative path. The path should not include file name, and be relative to the service backup location. The service backup location can be found in the service description obtained via the 'describe-service' command.
	BackupPath string `json:"backupPath,omitempty"`

	// Backup virtual cluster content options.
	BackupVcContentOptions *BackupContentOptions `json:"backupVcContentOptions,omitempty"`

	// Backup description.
	Description string `json:"description,omitempty"`

	// Whether to backup service virtual clusters. By default, virtual clusters are backed up.
	IncludeVc *bool `json:"includeVc,omitempty"`

	// Service ID of the service to backup.
	// Required: true
	ServiceID *string `json:"serviceId"`

	// Backup operation timeout in seconds.
	Timeout int32 `json:"timeout,omitempty"`
}

CreateBackupRequest Request object for Create Backup command.

swagger:model CreateBackupRequest

func (*CreateBackupRequest) ContextValidate

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

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

func (*CreateBackupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateBackupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateBackupRequest) Validate

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

Validate validates this create backup request

type CreateBackupResponse

type CreateBackupResponse struct {

	// Backup ID, which can be used for log retrieval, restoration, deletion, and backup cancellation.
	// Required: true
	BackupID *int64 `json:"backupID"`
}

CreateBackupResponse Response object for Create Backup command.

swagger:model CreateBackupResponse

func (*CreateBackupResponse) ContextValidate

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

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

func (*CreateBackupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateBackupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateBackupResponse) Validate

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

Validate validates this create backup response

type CreateVcRequest

type CreateVcRequest struct {

	// Comma-separated Workload usernames of CDP users to be granted access to the Virtual Cluster.
	ACLUsers string `json:"aclUsers,omitempty"`

	// Chart overrides for creating a virtual cluster.
	ChartValueOverrides []*ChartValueOverridesRequest `json:"chartValueOverrides"`

	// Cluster id of the CDE service where virtual cluster has to be created.
	// Required: true
	ClusterID *string `json:"clusterId"`

	// Cpu requests for autoscaling.
	// Required: true
	CPURequests *string `json:"cpuRequests"`

	// Groups with full access.
	FullAccessGroups []string `json:"fullAccessGroups"`

	// Users with full access.
	FullAccessUsers []string `json:"fullAccessUsers"`

	// GPU requests for autoscaling.
	GpuRequests string `json:"gpuRequests,omitempty"`

	// Guaranteed CPU requests for an Elastic Virtual Cluster.
	GuaranteedCPURequests string `json:"guaranteedCpuRequests,omitempty"`

	// Guaranteed GPU requests for an Elastic Virtual Cluster.
	GuaranteedGpuRequests string `json:"guaranteedGpuRequests,omitempty"`

	// Guaranteed Memory requests for an Elastic Virtual Cluster - eg. 30Gi.
	GuaranteedMemoryRequests string `json:"guaranteedMemoryRequests,omitempty"`

	// Memory requests for autoscaling - eg. 30Gi.
	// Required: true
	MemoryRequests *string `json:"memoryRequests"`

	// Name of the virtual cluster.
	// Required: true
	Name *string `json:"name"`

	// Used to describe where the Driver and the Executors would run. By default the Driver would run on on-demand instances and the Executors on spot instances. Setting it to ALL will run both the Driver and the Executors on spot instances whereas setting it to NONE should run both the Driver and the Executor on on-demand instances. Currently applicable for aws services only. Use this option only on services with spot instances enabled.
	// Enum: ["ALL","NONE"]
	RuntimeSpotComponent string `json:"runtimeSpotComponent,omitempty"`

	// Set a default timeout for your sessions. The default option is 8 hours. This option can be overridden when creating a new session.
	SessionTimeout string `json:"sessionTimeout,omitempty"`

	// SMTP Configurations for Airflow Email Alerts.
	SMTPConfigs *SMTPConfigRequest `json:"smtpConfigs,omitempty"`

	// Spark version for the virtual cluster. Currently supported Spark versions are SPARK2(deprecated), SPARK3, SPARK3_3 and SPARK3_5. This feature is only supported in CDE-1.7.0 and later. SPARK3_3 is supported in CDE-1.19 and later. SPARK3_5 is supported in CDE-1.21 and later.
	// Enum: ["SPARK2","SPARK2_4","SPARK3","SPARK3_0","SPARK3_1","SPARK3_2","SPARK3_3","SPARK3_5"]
	SparkVersion string `json:"sparkVersion,omitempty"`

	// Tier of the virtual cluster. Currently supported tiers are CORE and ALLP. CORE tiered virtual cluster enables operational deployment via batch jobs. ALLP virtual clusters are all-purpose virtual clusters supporting both operational batch jobs and interactive sessions. This feature is only supported in CDE-1.19.0 and beyond.
	// Enum: ["ALLP","CORE"]
	VcTier string `json:"vcTier,omitempty"`

	// Groups with view only access.
	ViewOnlyGroups []string `json:"viewOnlyGroups"`

	// Users with view only access.
	ViewOnlyUsers []string `json:"viewOnlyUsers"`
}

CreateVcRequest Request object for CreateVc method.

swagger:model CreateVcRequest

func (*CreateVcRequest) ContextValidate

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

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

func (*CreateVcRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateVcRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateVcRequest) Validate

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

Validate validates this create vc request

type CreateVcResponse

type CreateVcResponse struct {

	// Created Virtual Cluster
	Vc *VcDescription `json:"Vc,omitempty"`
}

CreateVcResponse Response object for CreateVc method.

swagger:model CreateVcResponse

func (*CreateVcResponse) ContextValidate

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

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

func (*CreateVcResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateVcResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateVcResponse) Validate

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

Validate validates this create vc response

type CustomAzureFilesConfigs

type CustomAzureFilesConfigs struct {

	// Azure File Share's server address. Defaults to '<storageaccount>.file.core.windows.net'.
	AzureFilesFQDN string `json:"azureFilesFQDN,omitempty"`

	// Resource Group of the Storage Account.
	// Required: true
	ResourceGroup *string `json:"resourceGroup"`

	// Azure Storage Account of the File Share.
	// Required: true
	StorageAccountName *string `json:"storageAccountName"`
}

CustomAzureFilesConfigs Override Azure Files Configs.

swagger:model CustomAzureFilesConfigs

func (*CustomAzureFilesConfigs) ContextValidate

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

ContextValidate validates this custom azure files configs based on context it is used

func (*CustomAzureFilesConfigs) MarshalBinary

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

MarshalBinary interface implementation

func (*CustomAzureFilesConfigs) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CustomAzureFilesConfigs) Validate

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

Validate validates this custom azure files configs

type DeleteBackupRequest

type DeleteBackupRequest struct {

	// The ID of the backup to delete.
	// Required: true
	BackupID *int64 `json:"backupID"`
}

DeleteBackupRequest Request object for Delete Backup command.

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 interface{}

DeleteBackupResponse Response object for Delete Backup command.

swagger:model DeleteBackupResponse

type DeleteVcRequest

type DeleteVcRequest struct {

	// Cluster id of the CDE service where virtual cluster was enabled.
	// Required: true
	ClusterID *string `json:"clusterId"`

	// Virtual cluster id
	// Required: true
	VcID *string `json:"vcId"`
}

DeleteVcRequest Request object for DeleteVc method.

swagger:model DeleteVcRequest

func (*DeleteVcRequest) ContextValidate

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

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

func (*DeleteVcRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteVcRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteVcRequest) Validate

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

Validate validates this delete vc request

type DeleteVcResponse

type DeleteVcResponse struct {

	// status of virtual cluster deletion.
	Status string `json:"status,omitempty"`
}

DeleteVcResponse Response object for DeleteVc method.

swagger:model DeleteVcResponse

func (*DeleteVcResponse) ContextValidate

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

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

func (*DeleteVcResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DeleteVcResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DeleteVcResponse) Validate

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

Validate validates this delete vc response

type DescribeBackupRequest

type DescribeBackupRequest struct {

	// The ID of the backup to describe.
	// Required: true
	BackupID *int64 `json:"backupID"`
}

DescribeBackupRequest Request object for Describe Backup command.

swagger:model DescribeBackupRequest

func (*DescribeBackupRequest) ContextValidate

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

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

func (*DescribeBackupRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeBackupRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeBackupRequest) Validate

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

Validate validates this describe backup request

type DescribeBackupResponse

type DescribeBackupResponse struct {

	// Service backup.
	// Required: true
	Backup *Backup `json:"backup"`
}

DescribeBackupResponse Response object for Describe Backup command.

swagger:model DescribeBackupResponse

func (*DescribeBackupResponse) ContextValidate

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

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

func (*DescribeBackupResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeBackupResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeBackupResponse) Validate

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

Validate validates this describe backup response

type DescribeServiceRequest

type DescribeServiceRequest struct {

	// Cluster id of the service to be described.
	// Required: true
	ClusterID *string `json:"clusterId"`
}

DescribeServiceRequest Request object for DescribeService method.

swagger:model DescribeServiceRequest

func (*DescribeServiceRequest) ContextValidate

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

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

func (*DescribeServiceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeServiceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeServiceRequest) Validate

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

Validate validates this describe service request

type DescribeServiceResponse

type DescribeServiceResponse struct {

	// Description of the service
	Service *ServiceDescription `json:"service,omitempty"`
}

DescribeServiceResponse Response object for DescribeService method.

swagger:model DescribeServiceResponse

func (*DescribeServiceResponse) ContextValidate

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

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

func (*DescribeServiceResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeServiceResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeServiceResponse) Validate

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

Validate validates this describe service response

type DescribeVcRequest

type DescribeVcRequest struct {

	// Cluster id of the CDE service where vc was created.
	// Required: true
	ClusterID *string `json:"clusterId"`

	// Virtual cluster id.
	// Required: true
	VcID *string `json:"vcId"`
}

DescribeVcRequest DescribeVc request object.

swagger:model DescribeVcRequest

func (*DescribeVcRequest) ContextValidate

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

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

func (*DescribeVcRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeVcRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeVcRequest) Validate

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

Validate validates this describe vc request

type DescribeVcResponse

type DescribeVcResponse struct {

	// Description of the virtual cluster.
	Vc *VcDescription `json:"vc,omitempty"`
}

DescribeVcResponse DescribeVc response object.

swagger:model DescribeVcResponse

func (*DescribeVcResponse) ContextValidate

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

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

func (*DescribeVcResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DescribeVcResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DescribeVcResponse) Validate

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

Validate validates this describe vc response

type DisableServiceRequest

type DisableServiceRequest struct {

	// cluster Id of the service to disable.
	// Required: true
	ClusterID *string `json:"clusterId"`

	// Force disable cde service.
	Force *bool `json:"force,omitempty"`
}

DisableServiceRequest DisableService request object.

swagger:model DisableServiceRequest

func (*DisableServiceRequest) ContextValidate

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

ContextValidate validates this disable service request based on context it is used

func (*DisableServiceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*DisableServiceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DisableServiceRequest) Validate

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

Validate validates this disable service request

type DisableServiceResponse

type DisableServiceResponse struct {

	// Status of deletion
	Status string `json:"status,omitempty"`
}

DisableServiceResponse DisableService response object.

swagger:model DisableServiceResponse

func (*DisableServiceResponse) ContextValidate

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

ContextValidate validates this disable service response based on context it is used

func (*DisableServiceResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*DisableServiceResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DisableServiceResponse) Validate

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

Validate validates this disable service response

type EnableServiceRequest

type EnableServiceRequest struct {

	// Initial Instances when the service is enabled for the All Purpose Instance Group.
	AllPurposeInitialInstances int32 `json:"allPurposeInitialInstances,omitempty"`

	// Initial spot Instances when the service is enabled for the All Purpose Instance Group.
	AllPurposeInitialSpotInstances int32 `json:"allPurposeInitialSpotInstances,omitempty"`

	// Instance type of the cluster for CDE Service for the All Purpose Instance Group.
	AllPurposeInstanceType string `json:"allPurposeInstanceType,omitempty"`

	// Maximum Instances for the CDE Service for the All Purpose Instance Group.
	AllPurposeMaximumInstances int32 `json:"allPurposeMaximumInstances,omitempty"`

	// Maximum Spot Instances for the CDE Service for the All Purpose Instance Group.
	AllPurposeMaximumSpotInstances int32 `json:"allPurposeMaximumSpotInstances,omitempty"`

	// Minimum Instances for the CDE Service for the All Purpose Instance Group.
	AllPurposeMinimumInstances int32 `json:"allPurposeMinimumInstances,omitempty"`

	// Minimum Spot instances for the CDE Service for the All Purpose Instance Group.
	AllPurposeMinimumSpotInstances int32 `json:"allPurposeMinimumSpotInstances,omitempty"`

	// EBS volume size in GB for the All Purpose Instance Group.
	AllPurposeRootVolumeSize int32 `json:"allPurposeRootVolumeSize,omitempty"`

	// Chart overrides for enabling a service.
	ChartValueOverrides []*ChartValueOverridesRequest `json:"chartValueOverrides"`

	// CPU Requests for the entire CDE service quota.
	CPURequests string `json:"cpuRequests,omitempty"`

	// CDE uses a default public File Shares storage provisioned by AKS. Enable this option to use your own public/private File Shares.
	CustomAzureFilesConfigs *CustomAzureFilesConfigs `json:"customAzureFilesConfigs,omitempty"`

	// If set to "true", the previous version of the CDE service will be deployed.
	DeployPreviousVersion *bool `json:"deployPreviousVersion,omitempty"`

	// Create a fully private CDE instance on either Amazon or Azure. This includes services such as Kubernetes, MySQL, etc. For Azure, this will also enable virtual network (VNet) access via private endpoints and private link.
	EnablePrivateNetwork bool `json:"enablePrivateNetwork,omitempty"`

	// Creates a CDE endpoint (Load Balancer) in a publicly accessible subnet. If set false, the endpoint will be created in a private subnet and you will need to setup access to the endpoint manually in your cloud account.
	EnablePublicEndpoint *bool `json:"enablePublicEndpoint,omitempty"`

	// If set false, diagnostic information about job and query execution is sent to Cloudera Workload Manager. Anonymization can be configured under Environments / Shared Resources / Telemetry. Refer documentation for more info at https://docs.cloudera.com/workload-manager/cloud/index.html.
	EnableWorkloadAnalytics *bool `json:"enableWorkloadAnalytics,omitempty"`

	// CDP environment where cde service should be enabled.
	// Required: true
	Env *string `json:"env"`

	// GPU requests for the entire CDE service quota.
	GpuRequests string `json:"gpuRequests,omitempty"`

	// Initial Instances when the service is enabled.
	InitialInstances int32 `json:"initialInstances,omitempty"`

	// Initial spot Instances when the service is enabled.
	InitialSpotInstances int32 `json:"initialSpotInstances,omitempty"`

	// Instance type of the cluster for CDE Service.
	// Required: true
	InstanceType *string `json:"instanceType"`

	// List of CIDRs that would be allowed to access the load balancer.
	LoadbalancerAllowlist []string `json:"loadbalancerAllowlist"`

	// Maximum Instances for the CDE Service.
	// Required: true
	MaximumInstances *int32 `json:"maximumInstances"`

	// Maximum Spot Instances for the CDE Service.
	MaximumSpotInstances int32 `json:"maximumSpotInstances,omitempty"`

	// Memory requests for the entire CDE service quota, eg. 100Gi.
	MemoryRequests string `json:"memoryRequests,omitempty"`

	// Minimum Instances for the CDE Service.
	// Required: true
	MinimumInstances *int32 `json:"minimumInstances"`

	// Minimum Spot instances for the CDE Service.
	MinimumSpotInstances int32 `json:"minimumSpotInstances,omitempty"`

	// Name of the CDE Service.
	// Required: true
	Name *string `json:"name"`

	// Network outbound type. Currently 'udr' is the only supported.
	// Enum: ["UDR"]
	NetworkOutboundType string `json:"networkOutboundType,omitempty"`

	// NFS Storage class to override the default storage class in private cloud.
	NfsStorageClass string `json:"nfsStorageClass,omitempty"`

	// Resource Pool for the CDE service.
	ResourcePool string `json:"resourcePool,omitempty"`

	// EBS volume size in GB.
	RootVolumeSize int32 `json:"rootVolumeSize,omitempty"`

	// Skip Validation check.
	SkipValidation *bool `json:"skipValidation,omitempty"`

	// List of Subnet IDs of CDP subnets to use for the kubernetes worker node.
	Subnets []string `json:"subnets"`

	// User defined labels that tag all provisioned cloud resources.
	Tags map[string]string `json:"tags,omitempty"`

	// Instance local storage (SSD) would be used for the workload filesystem (Example - spark local directory). In case the workload requires more space than what's available in the instance storage, please use an instance type with sufficient instance local storage or choose an instance type without SSD and configure the EBS volume size. Currently supported only for aws services.
	UseSsd bool `json:"useSsd,omitempty"`

	// List of CIDRs that would be allowed to access kubernetes master API server.
	WhitelistIps []string `json:"whitelistIps"`
}

EnableServiceRequest Request object for Enable Service method.

swagger:model EnableServiceRequest

func (*EnableServiceRequest) ContextValidate

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

ContextValidate validate this enable service request based on the context it is used

func (*EnableServiceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*EnableServiceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EnableServiceRequest) Validate

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

Validate validates this enable service request

type EnableServiceResponse

type EnableServiceResponse struct {

	// Service details of the created service.
	Service *ServiceDescription `json:"service,omitempty"`
}

EnableServiceResponse Response object for EnableService request.

swagger:model EnableServiceResponse

func (*EnableServiceResponse) ContextValidate

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

ContextValidate validate this enable service response based on the context it is used

func (*EnableServiceResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*EnableServiceResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EnableServiceResponse) Validate

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

Validate validates this enable service 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 GetBackupLogsRequest

type GetBackupLogsRequest struct {

	// The ID of the backup.
	// Required: true
	BackupID *int64 `json:"backupID"`

	// The size of each page.
	// Maximum: 1000
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

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

GetBackupLogsRequest Request object for Get Backup Logs command.

swagger:model GetBackupLogsRequest

func (*GetBackupLogsRequest) ContextValidate

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

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

func (*GetBackupLogsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GetBackupLogsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetBackupLogsRequest) Validate

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

Validate validates this get backup logs request

type GetBackupLogsResponse

type GetBackupLogsResponse struct {

	// Contains the logs of the backup operation.
	// Required: true
	Logs []string `json:"logs"`

	// The token to use when requesting the next set of results. If there are no additional results, the string is empty.
	NextToken string `json:"nextToken,omitempty"`
}

GetBackupLogsResponse Response object for the Get Backup Logs command.

swagger:model GetBackupLogsResponse

func (*GetBackupLogsResponse) ContextValidate

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

ContextValidate validates this get backup logs response based on context it is used

func (*GetBackupLogsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetBackupLogsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetBackupLogsResponse) Validate

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

Validate validates this get backup logs response

type GetKubeconfigRequest

type GetKubeconfigRequest struct {

	// cluster id of the cde service.
	// Required: true
	ClusterID *string `json:"clusterId"`
}

GetKubeconfigRequest GetKubeconfig request object.

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 {

	// kubeconfig for the cluster.
	Kubeconfig string `json:"kubeconfig,omitempty"`
}

GetKubeconfigResponse GetKubeconfig response object.

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 GetServiceInitLogsRequest

type GetServiceInitLogsRequest struct {

	// The size of each page.
	// Maximum: 500
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

	// The service ID of the service.
	// Required: true
	ServiceID *string `json:"serviceID"`

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

GetServiceInitLogsRequest Request object for Get Service Init Logs command.

swagger:model GetServiceInitLogsRequest

func (*GetServiceInitLogsRequest) ContextValidate

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

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

func (*GetServiceInitLogsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceInitLogsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceInitLogsRequest) Validate

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

Validate validates this get service init logs request

type GetServiceInitLogsResponse

type GetServiceInitLogsResponse struct {

	// Contains the logs of the service initialization operation.
	// Required: true
	Logs []string `json:"logs"`

	// The token to use when requesting the next set of results. If there are no additional results, the string is empty.
	NextToken string `json:"nextToken,omitempty"`
}

GetServiceInitLogsResponse Response object for the Get Service Init Logs command.

swagger:model GetServiceInitLogsResponse

func (*GetServiceInitLogsResponse) ContextValidate

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

ContextValidate validates this get service init logs response based on context it is used

func (*GetServiceInitLogsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*GetServiceInitLogsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GetServiceInitLogsResponse) Validate

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

Validate validates this get service init logs response

type ListBackupsRequest

type ListBackupsRequest struct {

	// Filter backups using 'fieldname(operator)argument' syntax. Here 'fieldname' is one of ('id', 'clusterID', 'cdeVersion', 'environment', 'environmentCrn', 'created', 'status') and 'operator' is one of ('eq', 'noteq', 'lte', 'lt', 'gte', 'gt', 'in', 'notin', 'like', 'rlike', 'is', 'isnot'). Multiple filters are ANDed. For example, 'status(eq)failed'.
	Filter []string `json:"filter"`

	// Whether ordering is ascending ('ASC') or descending ('DESC'), default 'DESC'.
	Order Order `json:"order,omitempty"`

	// The 'fieldname' to order by, default "id". Here 'fieldname' is one of ('id', 'clusterID', 'cdeVersion', 'environment', 'environmentCrn', 'created', 'status').
	OrderBy *string `json:"orderBy,omitempty"`

	// The size of each page.
	// Maximum: 500
	// Minimum: 1
	PageSize int32 `json:"pageSize,omitempty"`

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

ListBackupsRequest Request object for List Backups command.

swagger:model ListBackupsRequest

func (*ListBackupsRequest) ContextValidate

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

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

func (*ListBackupsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListBackupsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListBackupsRequest) Validate

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

Validate validates this list backups request

type ListBackupsResponse

type ListBackupsResponse struct {

	// The backups.
	// Required: true
	Backups []*Backup `json:"backups"`

	// The token to use when requesting the next set of results. If there are no additional results, the string is empty.
	NextToken string `json:"nextToken,omitempty"`
}

ListBackupsResponse Response object for List Backups command.

swagger:model ListBackupsResponse

func (*ListBackupsResponse) ContextValidate

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

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

func (*ListBackupsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListBackupsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListBackupsResponse) Validate

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

Validate validates this list backups response

type ListServicesRequest

type ListServicesRequest struct {

	// Filter out deleted CDE services from the list.
	RemoveDeleted *bool `json:"removeDeleted,omitempty"`
}

ListServicesRequest Request object for ListServices method.

swagger:model ListServicesRequest

func (*ListServicesRequest) ContextValidate

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

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

func (*ListServicesRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListServicesRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListServicesRequest) Validate

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

Validate validates this list services request

type ListServicesResponse

type ListServicesResponse struct {

	// List of services.
	Services []*ServiceSummary `json:"services"`
}

ListServicesResponse Response object for ListServices method.

swagger:model ListServicesResponse

func (*ListServicesResponse) ContextValidate

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

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

func (*ListServicesResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListServicesResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListServicesResponse) Validate

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

Validate validates this list services response

type ListVcsRequest

type ListVcsRequest struct {

	// Cluster id of the service.
	// Required: true
	ClusterID *string `json:"clusterId"`
}

ListVcsRequest ListVcs request object.

swagger:model ListVcsRequest

func (*ListVcsRequest) ContextValidate

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

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

func (*ListVcsRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*ListVcsRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListVcsRequest) Validate

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

Validate validates this list vcs request

type ListVcsResponse

type ListVcsResponse struct {

	// List of virtual clusters.
	Vcs []*VcSummary `json:"vcs"`
}

ListVcsResponse ListVcs response object.

swagger:model ListVcsResponse

func (*ListVcsResponse) ContextValidate

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

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

func (*ListVcsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListVcsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListVcsResponse) Validate

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

Validate validates this list vcs response

type Order

type Order string

Order Order.

swagger:model Order

const (

	// OrderASC captures enum value "ASC"
	OrderASC Order = "ASC"

	// OrderDESC captures enum value "DESC"
	OrderDESC Order = "DESC"
)

func NewOrder

func NewOrder(value Order) *Order

func (Order) ContextValidate

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

ContextValidate validates this order based on context it is used

func (Order) Pointer

func (m Order) Pointer() *Order

Pointer returns a pointer to a freshly-allocated Order.

func (Order) Validate

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

Validate validates this order

type RestoreServiceRequest

type RestoreServiceRequest struct {

	// The ID of the backup to restore from.
	// Required: true
	BackupID *int64 `json:"backupID"`

	// CRN of the CDP environment with which a restored CDE service will be associated. Currently, CDE service can be restored only to the same CDP environment, with which a backed-up service was associated.
	// Required: true
	EnvironmentCrn *string `json:"environmentCrn"`

	// Specify the restored service ID. If not specified, the service ID from the backup will be reused.
	ServiceID string `json:"serviceId,omitempty"`

	// Specify the restored service name. If not specified, the service name from the backup will be reused.
	ServiceName string `json:"serviceName,omitempty"`
}

RestoreServiceRequest Request object for Restore Service command.

swagger:model RestoreServiceRequest

func (*RestoreServiceRequest) ContextValidate

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

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

func (*RestoreServiceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*RestoreServiceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestoreServiceRequest) Validate

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

Validate validates this restore service request

type RestoreServiceResponse

type RestoreServiceResponse struct {

	// The ID of the service being restored.
	// Required: true
	ServiceID *string `json:"serviceID"`
}

RestoreServiceResponse Response object for Restore Service command.

swagger:model RestoreServiceResponse

func (*RestoreServiceResponse) ContextValidate

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

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

func (*RestoreServiceResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*RestoreServiceResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RestoreServiceResponse) Validate

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

Validate validates this restore service response

type SMTPConfigRequest

type SMTPConfigRequest struct {

	// Sender's email address.
	// Required: true
	Email *string `json:"email"`

	// SMTP host.
	// Required: true
	Host *string `json:"host"`

	// SMTP password.
	Password string `json:"password,omitempty"`

	// SMTP port.
	Port *int32 `json:"port,omitempty"`

	// Use SSL to secure the connection to the email server.
	Ssl *bool `json:"ssl,omitempty"`

	// Use SMTP STARTTLS command to encrypt the mail.
	StartTLS *bool `json:"startTls,omitempty"`

	// SMTP username.
	Username string `json:"username,omitempty"`
}

SMTPConfigRequest SMTP config request object.

swagger:model SmtpConfigRequest

func (*SMTPConfigRequest) ContextValidate

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

ContextValidate validates this Smtp config request based on context it is used

func (*SMTPConfigRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*SMTPConfigRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SMTPConfigRequest) Validate

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

Validate validates this Smtp config request

type SMTPConfigResponse

type SMTPConfigResponse struct {

	// Sender's email address.
	// Required: true
	Email *string `json:"email"`

	// SMTP host.
	// Required: true
	Host *string `json:"host"`

	// SMTP port.
	Port *int32 `json:"port,omitempty"`

	// Use SSL to secure the connection to the email server.
	Ssl *bool `json:"ssl,omitempty"`

	// Use SMTP STARTTLS command to encrypt the mail.
	StartTLS *bool `json:"startTls,omitempty"`

	// SMTP username.
	Username string `json:"username,omitempty"`
}

SMTPConfigResponse SMTP config response object

swagger:model SmtpConfigResponse

func (*SMTPConfigResponse) ContextValidate

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

ContextValidate validates this Smtp config response based on context it is used

func (*SMTPConfigResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*SMTPConfigResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SMTPConfigResponse) Validate

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

Validate validates this Smtp config response

type ServiceDescription

type ServiceDescription struct {

	// Base location for the service backup archives.
	BackupLocation string `json:"backupLocation,omitempty"`

	// Chart overrides for the Virtual Cluster.
	ChartValueOverrides []*ChartValueOverridesResponse `json:"chartValueOverrides"`

	// The cloud platform where the CDE service is enabled.
	CloudPlatform string `json:"cloudPlatform,omitempty"`

	// FQDN of the CDE service.
	ClusterFqdn string `json:"clusterFqdn,omitempty"`

	// Cluster Id of the CDE Service.
	// Required: true
	ClusterID *string `json:"clusterId"`

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

	// Email address of the creator of the CDE service.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// Endpoint of Data Lake Atlas.
	DataLakeAtlasUIEndpoint string `json:"dataLakeAtlasUIEndpoint,omitempty"`

	// The Data lake file system.
	DataLakeFileSystems string `json:"dataLakeFileSystems,omitempty"`

	// Timestamp of service enabling.
	EnablingTime string `json:"enablingTime,omitempty"`

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

	// CDP Environment Name.
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// Comma-separated CIDRs that would be allowed to access the load balancer.
	LoadbalancerAllowlist string `json:"loadbalancerAllowlist,omitempty"`

	// Location for the log files of jobs.
	LogLocation string `json:"logLocation,omitempty"`

	// Name of the CDE Service.
	// Required: true
	Name *string `json:"name"`

	// Network outbound type. Currently 'udr' is the only supported.
	NetworkOutboundType string `json:"networkOutboundType,omitempty"`

	// The "true" value indicates that the previous version of the CDE service was requested to be deployed.
	PreviousVersionDeployed bool `json:"previousVersionDeployed,omitempty"`

	// If true, the CDE service was created with fully private Azure services (AKS, MySQL, etc.).
	PrivateClusterEnabled bool `json:"privateClusterEnabled,omitempty"`

	// If true, the CDE endpoint was created in a publicly accessible subnet.
	PublicEndpointEnabled bool `json:"publicEndpointEnabled,omitempty"`

	// Resources details of CDE Service.
	Resources *ServiceResources `json:"resources,omitempty"`

	// If true, SSD would have been be used for workload filesystem.
	SsdUsed bool `json:"ssdUsed,omitempty"`

	// Status of the CDE service.
	Status string `json:"status,omitempty"`

	// List of Subnet IDs of the CDP subnets used by the kubernetes worker node.
	Subnets string `json:"subnets,omitempty"`

	// CDP tenant ID.
	TenantID string `json:"tenantId,omitempty"`

	// List of CIDRs that would be allowed to access kubernetes master API server.
	WhitelistIps string `json:"whitelistIps,omitempty"`

	// If true, diagnostic information about job and query execution is sent to Cloudera Workload Manager.
	WorkloadAnalyticsEnabled bool `json:"workloadAnalyticsEnabled,omitempty"`
}

ServiceDescription Detailed description of a CDE service.

swagger:model ServiceDescription

func (*ServiceDescription) ContextValidate

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

ContextValidate validate this service description based on the context it is used

func (*ServiceDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceDescription) Validate

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

Validate validates this service description

type ServiceResources

type ServiceResources struct {

	// Resource details for the nodes used in All Purpose Virtual Clusters.
	AllPurposeInstanceGroupDetails *AllPurposeInstanceGroupDetailsResponse `json:"allPurposeInstanceGroupDetails,omitempty"`

	// CPU Requests for the entire CDE service quota.
	CPURequests string `json:"cpuRequests,omitempty"`

	// GPU requests for the entire CDE service quota.
	GpuRequests string `json:"gpuRequests,omitempty"`

	// Initial instances for the CDE service.
	InitialInstances string `json:"initial_instances,omitempty"`

	// Initial Spot Instances for the CDE Service.
	InitialSpotInstances string `json:"initial_spot_instances,omitempty"`

	// Instance type of the CDE service.
	InstanceType string `json:"instance_type,omitempty"`

	// Maximum instances for the CDE service.
	MaxInstances string `json:"max_instances,omitempty"`

	// Maximum Number of Spot instances.
	MaxSpotInstances string `json:"max_spot_instances,omitempty"`

	// Memory requests for the entire CDE service quota, eg. 100Gi.
	MemoryRequests string `json:"memoryRequests,omitempty"`

	// Minimum Instances for the CDE service.
	MinInstances string `json:"min_instances,omitempty"`

	// Minimum number of spot instances for the CDE service.
	MinSpotInstances string `json:"min_spot_instances,omitempty"`

	// Resource Pool for the CDE service.
	ResourcePool string `json:"resourcePool,omitempty"`

	// Root Volume Size.
	RootVolSize string `json:"root_vol_size,omitempty"`
}

ServiceResources Object to store resources for a CDE service.

swagger:model ServiceResources

func (*ServiceResources) ContextValidate

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

ContextValidate validate this service resources based on the context it is used

func (*ServiceResources) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceResources) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceResources) Validate

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

Validate validates this service resources

type ServiceSummary

type ServiceSummary struct {

	// Cluster Id of the CDE Service.
	// Required: true
	ClusterID *string `json:"clusterId"`

	// Email Address of the CDE creator.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// Timestamp of service enabling.
	EnablingTime string `json:"enablingTime,omitempty"`

	// CDP Environment Name.
	// Required: true
	EnvironmentName *string `json:"environmentName"`

	// Name of the CDE Service.
	// Required: true
	Name *string `json:"name"`

	// Status of the CDE service.
	// Required: true
	Status *string `json:"status"`
}

ServiceSummary Summary of a CDE service.

swagger:model ServiceSummary

func (*ServiceSummary) ContextValidate

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

ContextValidate validates this service summary based on context it is used

func (*ServiceSummary) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceSummary) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceSummary) Validate

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

Validate validates this service summary

type UpdateServiceRequest

type UpdateServiceRequest struct {

	// Maximum number of instances for the CDE service for the All Purpose Instance Group.
	AllPurposeMaximumInstances int32 `json:"allPurposeMaximumInstances,omitempty"`

	// Maximum number of spot instances for the CDE service for the All Purpose Instance Group.
	AllPurposeMaximumSpotInstances int32 `json:"allPurposeMaximumSpotInstances,omitempty"`

	// Minimum number of instances for the CDE service for the All Purpose Instance Group.
	AllPurposeMinimumInstances int32 `json:"allPurposeMinimumInstances,omitempty"`

	// Minimum number of spot instances for the CDE service for the All Purpose Instance Group.
	AllPurposeMinimumSpotInstances int32 `json:"allPurposeMinimumSpotInstances,omitempty"`

	// Cluster ID of the service to update.
	// Required: true
	ClusterID *string `json:"clusterId"`

	// CPU Requests for the entire CDE service quota.
	CPURequests string `json:"cpuRequests,omitempty"`

	// GPU requests for the entire CDE service quota.
	GpuRequests string `json:"gpuRequests,omitempty"`

	// List of CIDRs that would be allowed to access the load balancer.
	LoadbalancerAllowlist []string `json:"loadbalancerAllowlist"`

	// Maximum number of instances for the CDE service.
	MaximumInstances int32 `json:"maximumInstances,omitempty"`

	// Maximum number of spot instances for the CDE service.
	MaximumSpotInstances int32 `json:"maximumSpotInstances,omitempty"`

	// Memory requests for the entire CDE service quota, eg. 100Gi.
	MemoryRequests string `json:"memoryRequests,omitempty"`

	// Minimum number of instances for the CDE service.
	MinimumInstances int32 `json:"minimumInstances,omitempty"`

	// Minimum number of spot instances for the CDE service.
	MinimumSpotInstances int32 `json:"minimumSpotInstances,omitempty"`

	// List of CIDRs that would be allowed to access kubernetes master API server.
	WhitelistIps []string `json:"whitelistIps"`
}

UpdateServiceRequest Request object for UpdateService method.

swagger:model UpdateServiceRequest

func (*UpdateServiceRequest) ContextValidate

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

ContextValidate validates this update service request based on context it is used

func (*UpdateServiceRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateServiceRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateServiceRequest) Validate

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

Validate validates this update service request

type UpdateServiceResponse

type UpdateServiceResponse struct {

	// Deprecated. The operation ID of the update request.
	OperationID string `json:"operationId,omitempty"`

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

UpdateServiceResponse Response object for UpdateService request.

swagger:model UpdateServiceResponse

func (*UpdateServiceResponse) ContextValidate

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

ContextValidate validates this update service response based on context it is used

func (*UpdateServiceResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateServiceResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateServiceResponse) Validate

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

Validate validates this update service response

type UpdateVcRequest

type UpdateVcRequest struct {

	// Comma-separated Workload usernames of CDP users to be granted access to the Virtual Cluster.
	ACLUsers string `json:"aclUsers,omitempty"`

	// Cluster ID of the CDE service where Virtual Cluster was enabled.
	// Required: true
	ClusterID *string `json:"clusterId"`

	// Groups with full access.
	FullAccessGroups []string `json:"fullAccessGroups"`

	// Users with full access.
	FullAccessUsers []string `json:"fullAccessUsers"`

	// Virtual Cluster ID
	// Required: true
	VcID *string `json:"vcId"`

	// Groups with view only access.
	ViewOnlyGroups []string `json:"viewOnlyGroups"`

	// Users with view only access.
	ViewOnlyUsers []string `json:"viewOnlyUsers"`
}

UpdateVcRequest Request object for updateVc method.

swagger:model UpdateVcRequest

func (*UpdateVcRequest) ContextValidate

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

ContextValidate validates this update vc request based on context it is used

func (*UpdateVcRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateVcRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateVcRequest) Validate

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

Validate validates this update vc request

type UpdateVcResponse

type UpdateVcResponse struct {

	// Updated Virtual Cluster.
	Vc *VcDescription `json:"Vc,omitempty"`
}

UpdateVcResponse Response object for updateVc method.

swagger:model UpdateVcResponse

func (*UpdateVcResponse) ContextValidate

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

ContextValidate validate this update vc response based on the context it is used

func (*UpdateVcResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*UpdateVcResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*UpdateVcResponse) Validate

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

Validate validates this update vc response

type VcDescription

type VcDescription struct {

	// URL of the CDE Virtual Cluster UI.
	VcUIURL string `json:"VcUiUrl,omitempty"`

	// Access control object for the Virtual Cluster.
	AccessControl *AccessControlResponse `json:"accessControl,omitempty"`

	// Chart overrides for the Virtual Cluster.
	ChartValueOverrides []*ChartValueOverridesResponse `json:"chartValueOverrides"`

	// Cluster ID of the CDE service that contains the Virtual Cluster.
	// Required: true
	ClusterID *string `json:"clusterId"`

	// Time of creation of the virtual Cluster.
	CreationTime string `json:"creationTime,omitempty"`

	// Email address of the creator of Virtual Cluster.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// ID of the creator of Virtual Cluster.
	CreatorID string `json:"creatorID,omitempty"`

	// Name of the creator of the Virtual Cluster.
	CreatorName string `json:"creatorName,omitempty"`

	// Spark History Server URL for the Virtual Cluster.
	HistoryServerURL string `json:"historyServerUrl,omitempty"`

	// Livy Server URL for the Virtual Cluster.
	LivyServerURL string `json:"livyServerUrl,omitempty"`

	// Resources details of CDE Service.
	Resources *VcResources `json:"resources,omitempty"`

	// Safari URL for the Virtual Cluster.
	SafariURL string `json:"safariUrl,omitempty"`

	// Default timeout for Sessions.
	SessionTimeout string `json:"sessionTimeout,omitempty"`

	// SMTP Configurations for Airflow Email Alerts.
	SMTPConfig *SMTPConfigResponse `json:"smtpConfig,omitempty"`

	// Spark version for the virtual cluster.
	SparkVersion string `json:"sparkVersion,omitempty"`

	// Status of the Virtual Cluster.
	Status string `json:"status,omitempty"`

	// Url for the Virtual Cluster APIs.
	VcAPIURL string `json:"vcApiUrl,omitempty"`

	// Virtual Cluster ID.
	// Required: true
	VcID *string `json:"vcId"`

	// Name of the CDE Virtual Cluster.
	// Required: true
	VcName *string `json:"vcName"`

	// Tier of the Virtual Cluster.
	VcTier string `json:"vcTier,omitempty"`
}

VcDescription CDE virtual cluster summary.

swagger:model VcDescription

func (*VcDescription) ContextValidate

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

ContextValidate validate this vc description based on the context it is used

func (*VcDescription) MarshalBinary

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

MarshalBinary interface implementation

func (*VcDescription) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VcDescription) Validate

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

Validate validates this vc description

type VcResources

type VcResources struct {

	// Actual CPU request for the VC. This accounts for other dex apps(eg. livy, airflow), that run in the virtual cluster.
	ActualCPURequests string `json:"actualCpuRequests,omitempty"`

	// Actual Memory request for the VC. This accounts for other dex apps(eg. livy, airflow), that run in the virtual cluster.
	ActualMemoryRequests string `json:"actualMemoryRequests,omitempty"`

	// The CPU requests for VC for running spark jobs.
	CPURequests string `json:"cpuRequests,omitempty"`

	// GPU requests for autoscaling.
	GpuRequests string `json:"gpuRequests,omitempty"`

	// Guaranteed CPU requests for an Elastic Virtual Cluster.
	GuaranteedCPURequests string `json:"guaranteedCpuRequests,omitempty"`

	// Guaranteed GPU requests for an Elastic Virtual Cluster.
	GuaranteedGpuRequests string `json:"guaranteedGpuRequests,omitempty"`

	// Guaranteed Memory requests for an Elastic Virtual Cluster - eg. 30Gi.
	GuaranteedMemoryRequests string `json:"guaranteedMemoryRequests,omitempty"`

	// The Memory requests for VC for running spark jobs.
	MemRequests string `json:"memRequests,omitempty"`
}

VcResources Object to store resources for a CDE service

swagger:model VcResources

func (*VcResources) ContextValidate

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

ContextValidate validates this vc resources based on context it is used

func (*VcResources) MarshalBinary

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

MarshalBinary interface implementation

func (*VcResources) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VcResources) Validate

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

Validate validates this vc resources

type VcSummary

type VcSummary struct {

	// Url for the Virtual Cluster UI.
	VcUIURL string `json:"VcUiUrl,omitempty"`

	// Cluster ID of the CDE service that contains the virtual cluster.
	// Required: true
	ClusterID *string `json:"clusterId"`

	// Email Address of the Creator.
	CreatorEmail string `json:"creatorEmail,omitempty"`

	// Name of the Creator.
	CreatorName string `json:"creatorName,omitempty"`

	// Status of the Virtual Cluster.
	Status string `json:"status,omitempty"`

	// Virtual Cluster ID.
	// Required: true
	VcID *string `json:"vcId"`

	// Name of the CDE Virtual Cluster.
	// Required: true
	VcName *string `json:"vcName"`
}

VcSummary CDE virtual cluster summary.

swagger:model VcSummary

func (*VcSummary) ContextValidate

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

ContextValidate validates this vc summary based on context it is used

func (*VcSummary) MarshalBinary

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

MarshalBinary interface implementation

func (*VcSummary) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*VcSummary) Validate

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

Validate validates this vc summary

Jump to

Keyboard shortcuts

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