Skip to content

SparkWorkspaceProps

Properties for defining a SparkWorkspace.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-sparkworkspace

Initializer

using AlibabaCloud.SDK.ROS.CDK.Emr;
new SparkWorkspaceProps {
    object OssBucket,
    object PaymentType,
    object RamRoleName,
    object ResourceSpec,
    object WorkspaceName,
    object AutoRenew = null,
    object AutoRenewPeriod = null,
    object AutoRenewPeriodUnit = null,
    object AutoStartSessionCluster = null,
    object DlfCatalogId = null,
    object DlfType = null,
    object Duration = null,
    object GpuSpec = null,
    object GpuSubscription = null,
    object IpWhiteList = null,
    object PaymentDurationUnit = null,
    object ReleaseType = null,
    object ResourceGroupId = null,
    object Subscription = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
OssBucket object Property ossBucket: The OSS bucket path of the workspace.
PaymentType object Property paymentType: The billing method of the workspace.
RamRoleName object Property ramRoleName: The RAM role used to run Spark jobs.
ResourceSpec object Property resourceSpec: The resource specifications of the workspace.
WorkspaceName object Property workspaceName: The workspace name.
AutoRenew object Property autoRenew: Whether to enable automatic renewal for a subscription.
AutoRenewPeriod object Property autoRenewPeriod: The automatic renewal duration.
AutoRenewPeriodUnit object Property autoRenewPeriodUnit: The unit of the automatic renewal duration.
AutoStartSessionCluster object Property autoStartSessionCluster: Whether to automatically start a session cluster.
DlfCatalogId object Property dlfCatalogId: The ID of the DLF catalog.
DlfType object Property dlfType: The DLF type bound to the workspace.
Duration object Property duration: The subscription duration.
GpuSpec object Property gpuSpec: The GPU instance types of the workspace.
GpuSubscription object Property gpuSubscription: The GPU subscription configuration.
IpWhiteList object Property ipWhiteList: The IP whitelist of the workspace.
PaymentDurationUnit object Property paymentDurationUnit: The unit of the subscription duration.
ReleaseType object Property releaseType: The release type of the workspace.
ResourceGroupId object Property resourceGroupId: The ID of the resource group.
Subscription object Property subscription: The configuration used to convert a pay-as-you-go workspace to a subscription workspace.
Tags TagsProperty[] Property tags: Tags to attach to workspace.

OssBucketRequired

public object OssBucket { get; set; }
  • Type: object

Property ossBucket: The OSS bucket path of the workspace.

The path must start with oss:///.


PaymentTypeRequired

public object PaymentType { get; set; }
  • Type: object

Property paymentType: The billing method of the workspace.


RamRoleNameRequired

public object RamRoleName { get; set; }
  • Type: object

Property ramRoleName: The RAM role used to run Spark jobs.


ResourceSpecRequired

public object ResourceSpec { get; set; }
  • Type: object

Property resourceSpec: The resource specifications of the workspace.


WorkspaceNameRequired

public object WorkspaceName { get; set; }
  • Type: object

Property workspaceName: The workspace name.

The name must be 1 to 64 characters in length and can contain Chinese characters, letters, digits, hyphens (-), and underscores (_).


AutoRenewOptional

public object AutoRenew { get; set; }
  • Type: object

Property autoRenew: Whether to enable automatic renewal for a subscription.


AutoRenewPeriodOptional

public object AutoRenewPeriod { get; set; }
  • Type: object

Property autoRenewPeriod: The automatic renewal duration.


AutoRenewPeriodUnitOptional

public object AutoRenewPeriodUnit { get; set; }
  • Type: object

Property autoRenewPeriodUnit: The unit of the automatic renewal duration.


AutoStartSessionClusterOptional

public object AutoStartSessionCluster { get; set; }
  • Type: object

Property autoStartSessionCluster: Whether to automatically start a session cluster.


DlfCatalogIdOptional

public object DlfCatalogId { get; set; }
  • Type: object

Property dlfCatalogId: The ID of the DLF catalog.


DlfTypeOptional

public object DlfType { get; set; }
  • Type: object

Property dlfType: The DLF type bound to the workspace.


DurationOptional

public object Duration { get; set; }
  • Type: object

Property duration: The subscription duration.


GpuSpecOptional

public object GpuSpec { get; set; }
  • Type: object

Property gpuSpec: The GPU instance types of the workspace.


GpuSubscriptionOptional

public object GpuSubscription { get; set; }
  • Type: object

Property gpuSubscription: The GPU subscription configuration.

This configuration is applied after the workspace is created.


IpWhiteListOptional

public object IpWhiteList { get; set; }
  • Type: object

Property ipWhiteList: The IP whitelist of the workspace.

This configuration is applied after the workspace is created.


PaymentDurationUnitOptional

public object PaymentDurationUnit { get; set; }
  • Type: object

Property paymentDurationUnit: The unit of the subscription duration.


ReleaseTypeOptional

public object ReleaseType { get; set; }
  • Type: object

Property releaseType: The release type of the workspace.


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: The ID of the resource group.


SubscriptionOptional

public object Subscription { get; set; }
  • Type: object

Property subscription: The configuration used to convert a pay-as-you-go workspace to a subscription workspace.

This configuration is applied after the workspace is created.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: Tags to attach to workspace.

Max support 20 tags to add during create workspace. Each tag with two properties Key and Value, and Key is required.