SparkWorkspaceProps
Properties for defining a SparkWorkspace.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-emr-sparkworkspace
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkemr"
&alicloudroscdkemr.SparkWorkspaceProps {
OssBucket: interface{},
PaymentType: interface{},
RamRoleName: interface{},
ResourceSpec: interface{},
WorkspaceName: interface{},
AutoRenew: interface{},
AutoRenewPeriod: interface{},
AutoRenewPeriodUnit: interface{},
AutoStartSessionCluster: interface{},
DlfCatalogId: interface{},
DlfType: interface{},
Duration: interface{},
GpuSpec: interface{},
GpuSubscription: interface{},
IpWhiteList: interface{},
PaymentDurationUnit: interface{},
ReleaseType: interface{},
ResourceGroupId: interface{},
Subscription: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkemr.RosSparkWorkspace.TagsProperty,
}
Properties
| Name | Type | Description |
|---|---|---|
OssBucket | interface{} | Property ossBucket: The OSS bucket path of the workspace. |
PaymentType | interface{} | Property paymentType: The billing method of the workspace. |
RamRoleName | interface{} | Property ramRoleName: The RAM role used to run Spark jobs. |
ResourceSpec | interface{} | Property resourceSpec: The resource specifications of the workspace. |
WorkspaceName | interface{} | Property workspaceName: The workspace name. |
AutoRenew | interface{} | Property autoRenew: Whether to enable automatic renewal for a subscription. |
AutoRenewPeriod | interface{} | Property autoRenewPeriod: The automatic renewal duration. |
AutoRenewPeriodUnit | interface{} | Property autoRenewPeriodUnit: The unit of the automatic renewal duration. |
AutoStartSessionCluster | interface{} | Property autoStartSessionCluster: Whether to automatically start a session cluster. |
DlfCatalogId | interface{} | Property dlfCatalogId: The ID of the DLF catalog. |
DlfType | interface{} | Property dlfType: The DLF type bound to the workspace. |
Duration | interface{} | Property duration: The subscription duration. |
GpuSpec | interface{} | Property gpuSpec: The GPU instance types of the workspace. |
GpuSubscription | interface{} | Property gpuSubscription: The GPU subscription configuration. |
IpWhiteList | interface{} | Property ipWhiteList: The IP whitelist of the workspace. |
PaymentDurationUnit | interface{} | Property paymentDurationUnit: The unit of the subscription duration. |
ReleaseType | interface{} | Property releaseType: The release type of the workspace. |
ResourceGroupId | interface{} | Property resourceGroupId: The ID of the resource group. |
Subscription | interface{} | 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
OssBucket interface{}
- Type: interface{}
Property ossBucket: The OSS bucket path of the workspace.
The path must start with oss://
PaymentTypeRequired
PaymentType interface{}
- Type: interface{}
Property paymentType: The billing method of the workspace.
RamRoleNameRequired
RamRoleName interface{}
- Type: interface{}
Property ramRoleName: The RAM role used to run Spark jobs.
ResourceSpecRequired
ResourceSpec interface{}
- Type: interface{}
Property resourceSpec: The resource specifications of the workspace.
WorkspaceNameRequired
WorkspaceName interface{}
- Type: interface{}
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
AutoRenew interface{}
- Type: interface{}
Property autoRenew: Whether to enable automatic renewal for a subscription.
AutoRenewPeriodOptional
AutoRenewPeriod interface{}
- Type: interface{}
Property autoRenewPeriod: The automatic renewal duration.
AutoRenewPeriodUnitOptional
AutoRenewPeriodUnit interface{}
- Type: interface{}
Property autoRenewPeriodUnit: The unit of the automatic renewal duration.
AutoStartSessionClusterOptional
AutoStartSessionCluster interface{}
- Type: interface{}
Property autoStartSessionCluster: Whether to automatically start a session cluster.
DlfCatalogIdOptional
DlfCatalogId interface{}
- Type: interface{}
Property dlfCatalogId: The ID of the DLF catalog.
DlfTypeOptional
DlfType interface{}
- Type: interface{}
Property dlfType: The DLF type bound to the workspace.
DurationOptional
Duration interface{}
- Type: interface{}
Property duration: The subscription duration.
GpuSpecOptional
GpuSpec interface{}
- Type: interface{}
Property gpuSpec: The GPU instance types of the workspace.
GpuSubscriptionOptional
GpuSubscription interface{}
- Type: interface{}
Property gpuSubscription: The GPU subscription configuration.
This configuration is applied after the workspace is created.
IpWhiteListOptional
IpWhiteList interface{}
- Type: interface{}
Property ipWhiteList: The IP whitelist of the workspace.
This configuration is applied after the workspace is created.
PaymentDurationUnitOptional
PaymentDurationUnit interface{}
- Type: interface{}
Property paymentDurationUnit: The unit of the subscription duration.
ReleaseTypeOptional
ReleaseType interface{}
- Type: interface{}
Property releaseType: The release type of the workspace.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
SubscriptionOptional
Subscription interface{}
- Type: interface{}
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
Tags *[]TagsProperty
- Type: *[]TagsProperty
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.