oci.BigDataService.AutoScalingConfiguration
Explore with Pulumi AI
This resource provides the Auto Scaling Configuration resource in Oracle Cloud Infrastructure Big Data Service service.
Add an autoscale configuration to the cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutoScalingConfiguration = new oci.bigdataservice.AutoScalingConfiguration("test_auto_scaling_configuration", {
bdsInstanceId: testBdsInstance.id,
clusterAdminPassword: autoScalingConfigurationClusterAdminPassword,
isEnabled: autoScalingConfigurationIsEnabled,
nodeType: autoScalingConfigurationNodeType,
displayName: autoScalingConfigurationDisplayName,
policyDetails: {
policyType: autoScalingConfigurationPolicyDetailsPolicyType,
scaleDownConfig: {
memoryStepSize: autoScalingConfigurationPolicyDetailsScaleDownConfigMemoryStepSize,
metric: {
metricType: autoScalingConfigurationPolicyDetailsScaleDownConfigMetricMetricType,
threshold: {
durationInMinutes: autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdDurationInMinutes,
operator: autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdOperator,
value: autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdValue,
},
},
minMemoryPerNode: autoScalingConfigurationPolicyDetailsScaleDownConfigMinMemoryPerNode,
minOcpusPerNode: autoScalingConfigurationPolicyDetailsScaleDownConfigMinOcpusPerNode,
ocpuStepSize: autoScalingConfigurationPolicyDetailsScaleDownConfigOcpuStepSize,
},
scaleUpConfig: {
maxMemoryPerNode: autoScalingConfigurationPolicyDetailsScaleUpConfigMaxMemoryPerNode,
maxOcpusPerNode: autoScalingConfigurationPolicyDetailsScaleUpConfigMaxOcpusPerNode,
memoryStepSize: autoScalingConfigurationPolicyDetailsScaleUpConfigMemoryStepSize,
metric: {
metricType: autoScalingConfigurationPolicyDetailsScaleUpConfigMetricMetricType,
threshold: {
durationInMinutes: autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdDurationInMinutes,
operator: autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdOperator,
value: autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdValue,
},
},
ocpuStepSize: autoScalingConfigurationPolicyDetailsScaleUpConfigOcpuStepSize,
},
},
});
import pulumi
import pulumi_oci as oci
test_auto_scaling_configuration = oci.big_data_service.AutoScalingConfiguration("test_auto_scaling_configuration",
bds_instance_id=test_bds_instance["id"],
cluster_admin_password=auto_scaling_configuration_cluster_admin_password,
is_enabled=auto_scaling_configuration_is_enabled,
node_type=auto_scaling_configuration_node_type,
display_name=auto_scaling_configuration_display_name,
policy_details={
"policy_type": auto_scaling_configuration_policy_details_policy_type,
"scale_down_config": {
"memory_step_size": auto_scaling_configuration_policy_details_scale_down_config_memory_step_size,
"metric": {
"metric_type": auto_scaling_configuration_policy_details_scale_down_config_metric_metric_type,
"threshold": {
"duration_in_minutes": auto_scaling_configuration_policy_details_scale_down_config_metric_threshold_duration_in_minutes,
"operator": auto_scaling_configuration_policy_details_scale_down_config_metric_threshold_operator,
"value": auto_scaling_configuration_policy_details_scale_down_config_metric_threshold_value,
},
},
"min_memory_per_node": auto_scaling_configuration_policy_details_scale_down_config_min_memory_per_node,
"min_ocpus_per_node": auto_scaling_configuration_policy_details_scale_down_config_min_ocpus_per_node,
"ocpu_step_size": auto_scaling_configuration_policy_details_scale_down_config_ocpu_step_size,
},
"scale_up_config": {
"max_memory_per_node": auto_scaling_configuration_policy_details_scale_up_config_max_memory_per_node,
"max_ocpus_per_node": auto_scaling_configuration_policy_details_scale_up_config_max_ocpus_per_node,
"memory_step_size": auto_scaling_configuration_policy_details_scale_up_config_memory_step_size,
"metric": {
"metric_type": auto_scaling_configuration_policy_details_scale_up_config_metric_metric_type,
"threshold": {
"duration_in_minutes": auto_scaling_configuration_policy_details_scale_up_config_metric_threshold_duration_in_minutes,
"operator": auto_scaling_configuration_policy_details_scale_up_config_metric_threshold_operator,
"value": auto_scaling_configuration_policy_details_scale_up_config_metric_threshold_value,
},
},
"ocpu_step_size": auto_scaling_configuration_policy_details_scale_up_config_ocpu_step_size,
},
})
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/BigDataService"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := BigDataService.NewAutoScalingConfiguration(ctx, "test_auto_scaling_configuration", &BigDataService.AutoScalingConfigurationArgs{
BdsInstanceId: pulumi.Any(testBdsInstance.Id),
ClusterAdminPassword: pulumi.Any(autoScalingConfigurationClusterAdminPassword),
IsEnabled: pulumi.Any(autoScalingConfigurationIsEnabled),
NodeType: pulumi.Any(autoScalingConfigurationNodeType),
DisplayName: pulumi.Any(autoScalingConfigurationDisplayName),
PolicyDetails: &bigdataservice.AutoScalingConfigurationPolicyDetailsArgs{
PolicyType: pulumi.Any(autoScalingConfigurationPolicyDetailsPolicyType),
ScaleDownConfig: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs{
MemoryStepSize: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleDownConfigMemoryStepSize),
Metric: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs{
MetricType: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleDownConfigMetricMetricType),
Threshold: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs{
DurationInMinutes: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdDurationInMinutes),
Operator: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdOperator),
Value: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdValue),
},
},
MinMemoryPerNode: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleDownConfigMinMemoryPerNode),
MinOcpusPerNode: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleDownConfigMinOcpusPerNode),
OcpuStepSize: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleDownConfigOcpuStepSize),
},
ScaleUpConfig: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs{
MaxMemoryPerNode: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleUpConfigMaxMemoryPerNode),
MaxOcpusPerNode: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleUpConfigMaxOcpusPerNode),
MemoryStepSize: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleUpConfigMemoryStepSize),
Metric: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs{
MetricType: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleUpConfigMetricMetricType),
Threshold: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs{
DurationInMinutes: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdDurationInMinutes),
Operator: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdOperator),
Value: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdValue),
},
},
OcpuStepSize: pulumi.Any(autoScalingConfigurationPolicyDetailsScaleUpConfigOcpuStepSize),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAutoScalingConfiguration = new Oci.BigDataService.AutoScalingConfiguration("test_auto_scaling_configuration", new()
{
BdsInstanceId = testBdsInstance.Id,
ClusterAdminPassword = autoScalingConfigurationClusterAdminPassword,
IsEnabled = autoScalingConfigurationIsEnabled,
NodeType = autoScalingConfigurationNodeType,
DisplayName = autoScalingConfigurationDisplayName,
PolicyDetails = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsArgs
{
PolicyType = autoScalingConfigurationPolicyDetailsPolicyType,
ScaleDownConfig = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs
{
MemoryStepSize = autoScalingConfigurationPolicyDetailsScaleDownConfigMemoryStepSize,
Metric = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs
{
MetricType = autoScalingConfigurationPolicyDetailsScaleDownConfigMetricMetricType,
Threshold = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs
{
DurationInMinutes = autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdDurationInMinutes,
Operator = autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdOperator,
Value = autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdValue,
},
},
MinMemoryPerNode = autoScalingConfigurationPolicyDetailsScaleDownConfigMinMemoryPerNode,
MinOcpusPerNode = autoScalingConfigurationPolicyDetailsScaleDownConfigMinOcpusPerNode,
OcpuStepSize = autoScalingConfigurationPolicyDetailsScaleDownConfigOcpuStepSize,
},
ScaleUpConfig = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs
{
MaxMemoryPerNode = autoScalingConfigurationPolicyDetailsScaleUpConfigMaxMemoryPerNode,
MaxOcpusPerNode = autoScalingConfigurationPolicyDetailsScaleUpConfigMaxOcpusPerNode,
MemoryStepSize = autoScalingConfigurationPolicyDetailsScaleUpConfigMemoryStepSize,
Metric = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs
{
MetricType = autoScalingConfigurationPolicyDetailsScaleUpConfigMetricMetricType,
Threshold = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs
{
DurationInMinutes = autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdDurationInMinutes,
Operator = autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdOperator,
Value = autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdValue,
},
},
OcpuStepSize = autoScalingConfigurationPolicyDetailsScaleUpConfigOcpuStepSize,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.BigDataService.AutoScalingConfiguration;
import com.pulumi.oci.BigDataService.AutoScalingConfigurationArgs;
import com.pulumi.oci.BigDataService.inputs.AutoScalingConfigurationPolicyDetailsArgs;
import com.pulumi.oci.BigDataService.inputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs;
import com.pulumi.oci.BigDataService.inputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs;
import com.pulumi.oci.BigDataService.inputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs;
import com.pulumi.oci.BigDataService.inputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs;
import com.pulumi.oci.BigDataService.inputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs;
import com.pulumi.oci.BigDataService.inputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testAutoScalingConfiguration = new AutoScalingConfiguration("testAutoScalingConfiguration", AutoScalingConfigurationArgs.builder()
.bdsInstanceId(testBdsInstance.id())
.clusterAdminPassword(autoScalingConfigurationClusterAdminPassword)
.isEnabled(autoScalingConfigurationIsEnabled)
.nodeType(autoScalingConfigurationNodeType)
.displayName(autoScalingConfigurationDisplayName)
.policyDetails(AutoScalingConfigurationPolicyDetailsArgs.builder()
.policyType(autoScalingConfigurationPolicyDetailsPolicyType)
.scaleDownConfig(AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs.builder()
.memoryStepSize(autoScalingConfigurationPolicyDetailsScaleDownConfigMemoryStepSize)
.metric(AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs.builder()
.metricType(autoScalingConfigurationPolicyDetailsScaleDownConfigMetricMetricType)
.threshold(AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs.builder()
.durationInMinutes(autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdDurationInMinutes)
.operator(autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdOperator)
.value(autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdValue)
.build())
.build())
.minMemoryPerNode(autoScalingConfigurationPolicyDetailsScaleDownConfigMinMemoryPerNode)
.minOcpusPerNode(autoScalingConfigurationPolicyDetailsScaleDownConfigMinOcpusPerNode)
.ocpuStepSize(autoScalingConfigurationPolicyDetailsScaleDownConfigOcpuStepSize)
.build())
.scaleUpConfig(AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs.builder()
.maxMemoryPerNode(autoScalingConfigurationPolicyDetailsScaleUpConfigMaxMemoryPerNode)
.maxOcpusPerNode(autoScalingConfigurationPolicyDetailsScaleUpConfigMaxOcpusPerNode)
.memoryStepSize(autoScalingConfigurationPolicyDetailsScaleUpConfigMemoryStepSize)
.metric(AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs.builder()
.metricType(autoScalingConfigurationPolicyDetailsScaleUpConfigMetricMetricType)
.threshold(AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs.builder()
.durationInMinutes(autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdDurationInMinutes)
.operator(autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdOperator)
.value(autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdValue)
.build())
.build())
.ocpuStepSize(autoScalingConfigurationPolicyDetailsScaleUpConfigOcpuStepSize)
.build())
.build())
.build());
}
}
resources:
testAutoScalingConfiguration:
type: oci:BigDataService:AutoScalingConfiguration
name: test_auto_scaling_configuration
properties:
bdsInstanceId: ${testBdsInstance.id}
clusterAdminPassword: ${autoScalingConfigurationClusterAdminPassword}
isEnabled: ${autoScalingConfigurationIsEnabled}
nodeType: ${autoScalingConfigurationNodeType}
displayName: ${autoScalingConfigurationDisplayName}
policyDetails:
policyType: ${autoScalingConfigurationPolicyDetailsPolicyType}
scaleDownConfig:
memoryStepSize: ${autoScalingConfigurationPolicyDetailsScaleDownConfigMemoryStepSize}
metric:
metricType: ${autoScalingConfigurationPolicyDetailsScaleDownConfigMetricMetricType}
threshold:
durationInMinutes: ${autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdDurationInMinutes}
operator: ${autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdOperator}
value: ${autoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdValue}
minMemoryPerNode: ${autoScalingConfigurationPolicyDetailsScaleDownConfigMinMemoryPerNode}
minOcpusPerNode: ${autoScalingConfigurationPolicyDetailsScaleDownConfigMinOcpusPerNode}
ocpuStepSize: ${autoScalingConfigurationPolicyDetailsScaleDownConfigOcpuStepSize}
scaleUpConfig:
maxMemoryPerNode: ${autoScalingConfigurationPolicyDetailsScaleUpConfigMaxMemoryPerNode}
maxOcpusPerNode: ${autoScalingConfigurationPolicyDetailsScaleUpConfigMaxOcpusPerNode}
memoryStepSize: ${autoScalingConfigurationPolicyDetailsScaleUpConfigMemoryStepSize}
metric:
metricType: ${autoScalingConfigurationPolicyDetailsScaleUpConfigMetricMetricType}
threshold:
durationInMinutes: ${autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdDurationInMinutes}
operator: ${autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdOperator}
value: ${autoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdValue}
ocpuStepSize: ${autoScalingConfigurationPolicyDetailsScaleUpConfigOcpuStepSize}
Create AutoScalingConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AutoScalingConfiguration(name: string, args: AutoScalingConfigurationArgs, opts?: CustomResourceOptions);
@overload
def AutoScalingConfiguration(resource_name: str,
args: AutoScalingConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AutoScalingConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
bds_instance_id: Optional[str] = None,
cluster_admin_password: Optional[str] = None,
is_enabled: Optional[bool] = None,
node_type: Optional[str] = None,
display_name: Optional[str] = None,
policy: Optional[_bigdataservice.AutoScalingConfigurationPolicyArgs] = None,
policy_details: Optional[_bigdataservice.AutoScalingConfigurationPolicyDetailsArgs] = None)
func NewAutoScalingConfiguration(ctx *Context, name string, args AutoScalingConfigurationArgs, opts ...ResourceOption) (*AutoScalingConfiguration, error)
public AutoScalingConfiguration(string name, AutoScalingConfigurationArgs args, CustomResourceOptions? opts = null)
public AutoScalingConfiguration(String name, AutoScalingConfigurationArgs args)
public AutoScalingConfiguration(String name, AutoScalingConfigurationArgs args, CustomResourceOptions options)
type: oci:BigDataService:AutoScalingConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AutoScalingConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AutoScalingConfigurationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AutoScalingConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AutoScalingConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AutoScalingConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ociAutoScalingConfigurationResource = new Oci.BigDataService.AutoScalingConfiguration("ociAutoScalingConfigurationResource", new()
{
BdsInstanceId = "string",
ClusterAdminPassword = "string",
IsEnabled = false,
NodeType = "string",
DisplayName = "string",
Policy = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyArgs
{
PolicyType = "string",
Rules = new[]
{
new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyRuleArgs
{
Action = "string",
Metric = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyRuleMetricArgs
{
MetricType = "string",
Threshold = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyRuleMetricThresholdArgs
{
DurationInMinutes = 0,
Operator = "string",
Value = 0,
},
},
},
},
},
PolicyDetails = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsArgs
{
PolicyType = "string",
ActionType = "string",
ScaleDownConfig = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs
{
MemoryStepSize = 0,
Metric = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs
{
MetricType = "string",
Threshold = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs
{
DurationInMinutes = 0,
Operator = "string",
Value = 0,
},
},
MinMemoryPerNode = 0,
MinOcpusPerNode = 0,
OcpuStepSize = 0,
},
ScaleInConfig = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleInConfigArgs
{
Metric = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleInConfigMetricArgs
{
MetricType = "string",
Threshold = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThresholdArgs
{
DurationInMinutes = 0,
Operator = "string",
Value = 0,
},
},
MinNodeCount = 0,
StepSize = 0,
},
ScaleOutConfig = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleOutConfigArgs
{
MaxNodeCount = 0,
Metric = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricArgs
{
MetricType = "string",
Threshold = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThresholdArgs
{
DurationInMinutes = 0,
Operator = "string",
Value = 0,
},
},
StepSize = 0,
},
ScaleUpConfig = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs
{
MaxMemoryPerNode = 0,
MaxOcpusPerNode = 0,
MemoryStepSize = 0,
Metric = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs
{
MetricType = "string",
Threshold = new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs
{
DurationInMinutes = 0,
Operator = "string",
Value = 0,
},
},
OcpuStepSize = 0,
},
ScheduleDetails = new[]
{
new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScheduleDetailArgs
{
ScheduleType = "string",
TimeAndHorizontalScalingConfigs = new[]
{
new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfigArgs
{
TargetNodeCount = 0,
TimeRecurrence = "string",
},
},
TimeAndVerticalScalingConfigs = new[]
{
new Oci.BigDataService.Inputs.AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfigArgs
{
TargetMemoryPerNode = 0,
TargetOcpusPerNode = 0,
TargetShape = "string",
TimeRecurrence = "string",
},
},
},
},
Timezone = "string",
TriggerType = "string",
},
});
example, err := BigDataService.NewAutoScalingConfiguration(ctx, "ociAutoScalingConfigurationResource", &BigDataService.AutoScalingConfigurationArgs{
BdsInstanceId: pulumi.String("string"),
ClusterAdminPassword: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
NodeType: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Policy: &bigdataservice.AutoScalingConfigurationPolicyArgs{
PolicyType: pulumi.String("string"),
Rules: bigdataservice.AutoScalingConfigurationPolicyRuleArray{
&bigdataservice.AutoScalingConfigurationPolicyRuleArgs{
Action: pulumi.String("string"),
Metric: &bigdataservice.AutoScalingConfigurationPolicyRuleMetricArgs{
MetricType: pulumi.String("string"),
Threshold: &bigdataservice.AutoScalingConfigurationPolicyRuleMetricThresholdArgs{
DurationInMinutes: pulumi.Int(0),
Operator: pulumi.String("string"),
Value: pulumi.Int(0),
},
},
},
},
},
PolicyDetails: &bigdataservice.AutoScalingConfigurationPolicyDetailsArgs{
PolicyType: pulumi.String("string"),
ActionType: pulumi.String("string"),
ScaleDownConfig: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs{
MemoryStepSize: pulumi.Int(0),
Metric: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs{
MetricType: pulumi.String("string"),
Threshold: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs{
DurationInMinutes: pulumi.Int(0),
Operator: pulumi.String("string"),
Value: pulumi.Int(0),
},
},
MinMemoryPerNode: pulumi.Int(0),
MinOcpusPerNode: pulumi.Int(0),
OcpuStepSize: pulumi.Int(0),
},
ScaleInConfig: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleInConfigArgs{
Metric: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleInConfigMetricArgs{
MetricType: pulumi.String("string"),
Threshold: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThresholdArgs{
DurationInMinutes: pulumi.Int(0),
Operator: pulumi.String("string"),
Value: pulumi.Int(0),
},
},
MinNodeCount: pulumi.Int(0),
StepSize: pulumi.Int(0),
},
ScaleOutConfig: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleOutConfigArgs{
MaxNodeCount: pulumi.Int(0),
Metric: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricArgs{
MetricType: pulumi.String("string"),
Threshold: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThresholdArgs{
DurationInMinutes: pulumi.Int(0),
Operator: pulumi.String("string"),
Value: pulumi.Int(0),
},
},
StepSize: pulumi.Int(0),
},
ScaleUpConfig: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs{
MaxMemoryPerNode: pulumi.Int(0),
MaxOcpusPerNode: pulumi.Int(0),
MemoryStepSize: pulumi.Int(0),
Metric: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs{
MetricType: pulumi.String("string"),
Threshold: &bigdataservice.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs{
DurationInMinutes: pulumi.Int(0),
Operator: pulumi.String("string"),
Value: pulumi.Int(0),
},
},
OcpuStepSize: pulumi.Int(0),
},
ScheduleDetails: bigdataservice.AutoScalingConfigurationPolicyDetailsScheduleDetailArray{
&bigdataservice.AutoScalingConfigurationPolicyDetailsScheduleDetailArgs{
ScheduleType: pulumi.String("string"),
TimeAndHorizontalScalingConfigs: bigdataservice.AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfigArray{
&bigdataservice.AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfigArgs{
TargetNodeCount: pulumi.Int(0),
TimeRecurrence: pulumi.String("string"),
},
},
TimeAndVerticalScalingConfigs: bigdataservice.AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfigArray{
&bigdataservice.AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfigArgs{
TargetMemoryPerNode: pulumi.Int(0),
TargetOcpusPerNode: pulumi.Int(0),
TargetShape: pulumi.String("string"),
TimeRecurrence: pulumi.String("string"),
},
},
},
},
Timezone: pulumi.String("string"),
TriggerType: pulumi.String("string"),
},
})
var ociAutoScalingConfigurationResource = new AutoScalingConfiguration("ociAutoScalingConfigurationResource", AutoScalingConfigurationArgs.builder()
.bdsInstanceId("string")
.clusterAdminPassword("string")
.isEnabled(false)
.nodeType("string")
.displayName("string")
.policy(AutoScalingConfigurationPolicyArgs.builder()
.policyType("string")
.rules(AutoScalingConfigurationPolicyRuleArgs.builder()
.action("string")
.metric(AutoScalingConfigurationPolicyRuleMetricArgs.builder()
.metricType("string")
.threshold(AutoScalingConfigurationPolicyRuleMetricThresholdArgs.builder()
.durationInMinutes(0)
.operator("string")
.value(0)
.build())
.build())
.build())
.build())
.policyDetails(AutoScalingConfigurationPolicyDetailsArgs.builder()
.policyType("string")
.actionType("string")
.scaleDownConfig(AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs.builder()
.memoryStepSize(0)
.metric(AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs.builder()
.metricType("string")
.threshold(AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs.builder()
.durationInMinutes(0)
.operator("string")
.value(0)
.build())
.build())
.minMemoryPerNode(0)
.minOcpusPerNode(0)
.ocpuStepSize(0)
.build())
.scaleInConfig(AutoScalingConfigurationPolicyDetailsScaleInConfigArgs.builder()
.metric(AutoScalingConfigurationPolicyDetailsScaleInConfigMetricArgs.builder()
.metricType("string")
.threshold(AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThresholdArgs.builder()
.durationInMinutes(0)
.operator("string")
.value(0)
.build())
.build())
.minNodeCount(0)
.stepSize(0)
.build())
.scaleOutConfig(AutoScalingConfigurationPolicyDetailsScaleOutConfigArgs.builder()
.maxNodeCount(0)
.metric(AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricArgs.builder()
.metricType("string")
.threshold(AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThresholdArgs.builder()
.durationInMinutes(0)
.operator("string")
.value(0)
.build())
.build())
.stepSize(0)
.build())
.scaleUpConfig(AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs.builder()
.maxMemoryPerNode(0)
.maxOcpusPerNode(0)
.memoryStepSize(0)
.metric(AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs.builder()
.metricType("string")
.threshold(AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs.builder()
.durationInMinutes(0)
.operator("string")
.value(0)
.build())
.build())
.ocpuStepSize(0)
.build())
.scheduleDetails(AutoScalingConfigurationPolicyDetailsScheduleDetailArgs.builder()
.scheduleType("string")
.timeAndHorizontalScalingConfigs(AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfigArgs.builder()
.targetNodeCount(0)
.timeRecurrence("string")
.build())
.timeAndVerticalScalingConfigs(AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfigArgs.builder()
.targetMemoryPerNode(0)
.targetOcpusPerNode(0)
.targetShape("string")
.timeRecurrence("string")
.build())
.build())
.timezone("string")
.triggerType("string")
.build())
.build());
oci_auto_scaling_configuration_resource = oci.big_data_service.AutoScalingConfiguration("ociAutoScalingConfigurationResource",
bds_instance_id="string",
cluster_admin_password="string",
is_enabled=False,
node_type="string",
display_name="string",
policy={
"policy_type": "string",
"rules": [{
"action": "string",
"metric": {
"metric_type": "string",
"threshold": {
"duration_in_minutes": 0,
"operator": "string",
"value": 0,
},
},
}],
},
policy_details={
"policy_type": "string",
"action_type": "string",
"scale_down_config": {
"memory_step_size": 0,
"metric": {
"metric_type": "string",
"threshold": {
"duration_in_minutes": 0,
"operator": "string",
"value": 0,
},
},
"min_memory_per_node": 0,
"min_ocpus_per_node": 0,
"ocpu_step_size": 0,
},
"scale_in_config": {
"metric": {
"metric_type": "string",
"threshold": {
"duration_in_minutes": 0,
"operator": "string",
"value": 0,
},
},
"min_node_count": 0,
"step_size": 0,
},
"scale_out_config": {
"max_node_count": 0,
"metric": {
"metric_type": "string",
"threshold": {
"duration_in_minutes": 0,
"operator": "string",
"value": 0,
},
},
"step_size": 0,
},
"scale_up_config": {
"max_memory_per_node": 0,
"max_ocpus_per_node": 0,
"memory_step_size": 0,
"metric": {
"metric_type": "string",
"threshold": {
"duration_in_minutes": 0,
"operator": "string",
"value": 0,
},
},
"ocpu_step_size": 0,
},
"schedule_details": [{
"schedule_type": "string",
"time_and_horizontal_scaling_configs": [{
"target_node_count": 0,
"time_recurrence": "string",
}],
"time_and_vertical_scaling_configs": [{
"target_memory_per_node": 0,
"target_ocpus_per_node": 0,
"target_shape": "string",
"time_recurrence": "string",
}],
}],
"timezone": "string",
"trigger_type": "string",
})
const ociAutoScalingConfigurationResource = new oci.bigdataservice.AutoScalingConfiguration("ociAutoScalingConfigurationResource", {
bdsInstanceId: "string",
clusterAdminPassword: "string",
isEnabled: false,
nodeType: "string",
displayName: "string",
policy: {
policyType: "string",
rules: [{
action: "string",
metric: {
metricType: "string",
threshold: {
durationInMinutes: 0,
operator: "string",
value: 0,
},
},
}],
},
policyDetails: {
policyType: "string",
actionType: "string",
scaleDownConfig: {
memoryStepSize: 0,
metric: {
metricType: "string",
threshold: {
durationInMinutes: 0,
operator: "string",
value: 0,
},
},
minMemoryPerNode: 0,
minOcpusPerNode: 0,
ocpuStepSize: 0,
},
scaleInConfig: {
metric: {
metricType: "string",
threshold: {
durationInMinutes: 0,
operator: "string",
value: 0,
},
},
minNodeCount: 0,
stepSize: 0,
},
scaleOutConfig: {
maxNodeCount: 0,
metric: {
metricType: "string",
threshold: {
durationInMinutes: 0,
operator: "string",
value: 0,
},
},
stepSize: 0,
},
scaleUpConfig: {
maxMemoryPerNode: 0,
maxOcpusPerNode: 0,
memoryStepSize: 0,
metric: {
metricType: "string",
threshold: {
durationInMinutes: 0,
operator: "string",
value: 0,
},
},
ocpuStepSize: 0,
},
scheduleDetails: [{
scheduleType: "string",
timeAndHorizontalScalingConfigs: [{
targetNodeCount: 0,
timeRecurrence: "string",
}],
timeAndVerticalScalingConfigs: [{
targetMemoryPerNode: 0,
targetOcpusPerNode: 0,
targetShape: "string",
timeRecurrence: "string",
}],
}],
timezone: "string",
triggerType: "string",
},
});
type: oci:BigDataService:AutoScalingConfiguration
properties:
bdsInstanceId: string
clusterAdminPassword: string
displayName: string
isEnabled: false
nodeType: string
policy:
policyType: string
rules:
- action: string
metric:
metricType: string
threshold:
durationInMinutes: 0
operator: string
value: 0
policyDetails:
actionType: string
policyType: string
scaleDownConfig:
memoryStepSize: 0
metric:
metricType: string
threshold:
durationInMinutes: 0
operator: string
value: 0
minMemoryPerNode: 0
minOcpusPerNode: 0
ocpuStepSize: 0
scaleInConfig:
metric:
metricType: string
threshold:
durationInMinutes: 0
operator: string
value: 0
minNodeCount: 0
stepSize: 0
scaleOutConfig:
maxNodeCount: 0
metric:
metricType: string
threshold:
durationInMinutes: 0
operator: string
value: 0
stepSize: 0
scaleUpConfig:
maxMemoryPerNode: 0
maxOcpusPerNode: 0
memoryStepSize: 0
metric:
metricType: string
threshold:
durationInMinutes: 0
operator: string
value: 0
ocpuStepSize: 0
scheduleDetails:
- scheduleType: string
timeAndHorizontalScalingConfigs:
- targetNodeCount: 0
timeRecurrence: string
timeAndVerticalScalingConfigs:
- targetMemoryPerNode: 0
targetOcpusPerNode: 0
targetShape: string
timeRecurrence: string
timezone: string
triggerType: string
AutoScalingConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AutoScalingConfiguration resource accepts the following input properties:
- Bds
Instance stringId - The OCID of the cluster.
- Cluster
Admin stringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- Is
Enabled bool - (Updatable) Whether the autoscale configuration is enabled.
- Node
Type string - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- Display
Name string - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- Policy
Auto
Scaling Configuration Policy - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - Policy
Details AutoScaling Configuration Policy Details (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- Bds
Instance stringId - The OCID of the cluster.
- Cluster
Admin stringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- Is
Enabled bool - (Updatable) Whether the autoscale configuration is enabled.
- Node
Type string - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- Display
Name string - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- Policy
Auto
Scaling Configuration Policy Args - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - Policy
Details AutoScaling Configuration Policy Details Args (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- bds
Instance StringId - The OCID of the cluster.
- cluster
Admin StringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- is
Enabled Boolean - (Updatable) Whether the autoscale configuration is enabled.
- node
Type String - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- display
Name String - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- policy
Auto
Scaling Configuration Policy - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - policy
Details AutoScaling Configuration Policy Details (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- bds
Instance stringId - The OCID of the cluster.
- cluster
Admin stringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- is
Enabled boolean - (Updatable) Whether the autoscale configuration is enabled.
- node
Type string - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- display
Name string - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- policy
Auto
Scaling Configuration Policy - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - policy
Details AutoScaling Configuration Policy Details (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- bds_
instance_ strid - The OCID of the cluster.
- cluster_
admin_ strpassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- is_
enabled bool - (Updatable) Whether the autoscale configuration is enabled.
- node_
type str - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- display_
name str - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- policy
bigdataservice.
Auto Scaling Configuration Policy Args - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - policy_
details bigdataservice.Auto Scaling Configuration Policy Details Args (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- bds
Instance StringId - The OCID of the cluster.
- cluster
Admin StringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- is
Enabled Boolean - (Updatable) Whether the autoscale configuration is enabled.
- node
Type String - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- display
Name String - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- policy Property Map
- (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - policy
Details Property Map (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
Outputs
All input properties are implicitly available as output properties. Additionally, the AutoScalingConfiguration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The state of the autoscale configuration.
- Time
Created string - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- Time
Updated string - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The state of the autoscale configuration.
- Time
Created string - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- Time
Updated string - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The state of the autoscale configuration.
- time
Created String - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- time
Updated String - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The state of the autoscale configuration.
- time
Created string - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- time
Updated string - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The state of the autoscale configuration.
- time_
created str - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- time_
updated str - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The state of the autoscale configuration.
- time
Created String - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- time
Updated String - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
Look up Existing AutoScalingConfiguration Resource
Get an existing AutoScalingConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AutoScalingConfigurationState, opts?: CustomResourceOptions): AutoScalingConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
bds_instance_id: Optional[str] = None,
cluster_admin_password: Optional[str] = None,
display_name: Optional[str] = None,
is_enabled: Optional[bool] = None,
node_type: Optional[str] = None,
policy: Optional[_bigdataservice.AutoScalingConfigurationPolicyArgs] = None,
policy_details: Optional[_bigdataservice.AutoScalingConfigurationPolicyDetailsArgs] = None,
state: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> AutoScalingConfiguration
func GetAutoScalingConfiguration(ctx *Context, name string, id IDInput, state *AutoScalingConfigurationState, opts ...ResourceOption) (*AutoScalingConfiguration, error)
public static AutoScalingConfiguration Get(string name, Input<string> id, AutoScalingConfigurationState? state, CustomResourceOptions? opts = null)
public static AutoScalingConfiguration get(String name, Output<String> id, AutoScalingConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Bds
Instance stringId - The OCID of the cluster.
- Cluster
Admin stringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- Display
Name string - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- Is
Enabled bool - (Updatable) Whether the autoscale configuration is enabled.
- Node
Type string - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- Policy
Auto
Scaling Configuration Policy - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - Policy
Details AutoScaling Configuration Policy Details (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- State string
- The state of the autoscale configuration.
- Time
Created string - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- Time
Updated string - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- Bds
Instance stringId - The OCID of the cluster.
- Cluster
Admin stringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- Display
Name string - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- Is
Enabled bool - (Updatable) Whether the autoscale configuration is enabled.
- Node
Type string - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- Policy
Auto
Scaling Configuration Policy Args - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - Policy
Details AutoScaling Configuration Policy Details Args (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- State string
- The state of the autoscale configuration.
- Time
Created string - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- Time
Updated string - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- bds
Instance StringId - The OCID of the cluster.
- cluster
Admin StringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- display
Name String - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- is
Enabled Boolean - (Updatable) Whether the autoscale configuration is enabled.
- node
Type String - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- policy
Auto
Scaling Configuration Policy - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - policy
Details AutoScaling Configuration Policy Details (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- state String
- The state of the autoscale configuration.
- time
Created String - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- time
Updated String - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- bds
Instance stringId - The OCID of the cluster.
- cluster
Admin stringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- display
Name string - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- is
Enabled boolean - (Updatable) Whether the autoscale configuration is enabled.
- node
Type string - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- policy
Auto
Scaling Configuration Policy - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - policy
Details AutoScaling Configuration Policy Details (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- state string
- The state of the autoscale configuration.
- time
Created string - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- time
Updated string - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- bds_
instance_ strid - The OCID of the cluster.
- cluster_
admin_ strpassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- display_
name str - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- is_
enabled bool - (Updatable) Whether the autoscale configuration is enabled.
- node_
type str - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- policy
bigdataservice.
Auto Scaling Configuration Policy Args - (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - policy_
details bigdataservice.Auto Scaling Configuration Policy Details Args (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- state str
- The state of the autoscale configuration.
- time_
created str - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- time_
updated str - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
- bds
Instance StringId - The OCID of the cluster.
- cluster
Admin StringPassword - (Updatable) Base-64 encoded password for the cluster (and Cloudera Manager) admin user.
- display
Name String - (Updatable) A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information.
- is
Enabled Boolean - (Updatable) Whether the autoscale configuration is enabled.
- node
Type String - A node type that is managed by an autoscale configuration. The only supported types are WORKER, COMPUTE_ONLY_WORKER and KAFKA_BROKER.
- policy Property Map
- (Updatable) This model for autoscaling policy is deprecated and not supported for ODH clusters. Use the
AutoScalePolicyDetails
model to manage autoscale policy details for ODH clusters. - policy
Details Property Map (Updatable) Policy definition for the autoscale configuration.
An autoscaling policy is part of an autoscaling configuration. For more information, see Autoscaling
You can create following type of autoscaling policies:
- MetricBasedVerticalScalingPolicy: Vertical autoscaling action is triggered when a performance metric exceeds a threshold
- MetricBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered when a performance metric exceeds a threshold
- ScheduleBasedVerticalScalingPolicy: Vertical autoscaling action is triggered at the specific times that you schedule.
- ScheduleBasedHorizontalScalingPolicy: Horizontal autoscaling action is triggered at the specific times that you schedule.
An autoscaling configuration can have one of above supported policies.
- state String
- The state of the autoscale configuration.
- time
Created String - The time the cluster was created, shown as an RFC 3339 formatted datetime string.
- time
Updated String - The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string.
Supporting Types
AutoScalingConfigurationPolicy, AutoScalingConfigurationPolicyArgs
- Policy
Type string - (Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)
- Rules
List<Auto
Scaling Configuration Policy Rule> - (Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.
- Policy
Type string - (Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)
- Rules
[]Auto
Scaling Configuration Policy Rule - (Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.
- policy
Type String - (Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)
- rules
List<Auto
Scaling Configuration Policy Rule> - (Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.
- policy
Type string - (Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)
- rules
Auto
Scaling Configuration Policy Rule[] - (Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.
- policy_
type str - (Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)
- rules
Sequence[bigdataservice.
Auto Scaling Configuration Policy Rule] - (Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.
- policy
Type String - (Updatable) Types of autoscale policies. Options are SCHEDULE-BASED or THRESHOLD-BASED. (Only THRESHOLD-BASED is supported in this release.)
- rules List<Property Map>
- (Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied.
AutoScalingConfigurationPolicyDetails, AutoScalingConfigurationPolicyDetailsArgs
- Policy
Type string - Type of autoscaling policy.
- Action
Type string - The type of autoscaling action to take.
- Scale
Down AutoConfig Scaling Configuration Policy Details Scale Down Config - (Updatable) Configration for a metric based vertical scale-down policy.
- Scale
In AutoConfig Scaling Configuration Policy Details Scale In Config - (Updatable) Configration for a metric based horizontal scale-in policy.
- Scale
Out AutoConfig Scaling Configuration Policy Details Scale Out Config - (Updatable) Configration for a metric based horizontal scale-out policy.
- Scale
Up AutoConfig Scaling Configuration Policy Details Scale Up Config - (Updatable) Configration for a metric based vertical scale-up policy.
- Schedule
Details List<AutoScaling Configuration Policy Details Schedule Detail> - (Updatable) Details of a horizontal scaling schedule.
- Timezone string
(Updatable) The time zone of the execution schedule, in IANA time zone database name format
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Trigger
Type string - The type of autoscaling trigger.
- Policy
Type string - Type of autoscaling policy.
- Action
Type string - The type of autoscaling action to take.
- Scale
Down AutoConfig Scaling Configuration Policy Details Scale Down Config - (Updatable) Configration for a metric based vertical scale-down policy.
- Scale
In AutoConfig Scaling Configuration Policy Details Scale In Config - (Updatable) Configration for a metric based horizontal scale-in policy.
- Scale
Out AutoConfig Scaling Configuration Policy Details Scale Out Config - (Updatable) Configration for a metric based horizontal scale-out policy.
- Scale
Up AutoConfig Scaling Configuration Policy Details Scale Up Config - (Updatable) Configration for a metric based vertical scale-up policy.
- Schedule
Details []AutoScaling Configuration Policy Details Schedule Detail - (Updatable) Details of a horizontal scaling schedule.
- Timezone string
(Updatable) The time zone of the execution schedule, in IANA time zone database name format
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Trigger
Type string - The type of autoscaling trigger.
- policy
Type String - Type of autoscaling policy.
- action
Type String - The type of autoscaling action to take.
- scale
Down AutoConfig Scaling Configuration Policy Details Scale Down Config - (Updatable) Configration for a metric based vertical scale-down policy.
- scale
In AutoConfig Scaling Configuration Policy Details Scale In Config - (Updatable) Configration for a metric based horizontal scale-in policy.
- scale
Out AutoConfig Scaling Configuration Policy Details Scale Out Config - (Updatable) Configration for a metric based horizontal scale-out policy.
- scale
Up AutoConfig Scaling Configuration Policy Details Scale Up Config - (Updatable) Configration for a metric based vertical scale-up policy.
- schedule
Details List<AutoScaling Configuration Policy Details Schedule Detail> - (Updatable) Details of a horizontal scaling schedule.
- timezone String
(Updatable) The time zone of the execution schedule, in IANA time zone database name format
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- trigger
Type String - The type of autoscaling trigger.
- policy
Type string - Type of autoscaling policy.
- action
Type string - The type of autoscaling action to take.
- scale
Down AutoConfig Scaling Configuration Policy Details Scale Down Config - (Updatable) Configration for a metric based vertical scale-down policy.
- scale
In AutoConfig Scaling Configuration Policy Details Scale In Config - (Updatable) Configration for a metric based horizontal scale-in policy.
- scale
Out AutoConfig Scaling Configuration Policy Details Scale Out Config - (Updatable) Configration for a metric based horizontal scale-out policy.
- scale
Up AutoConfig Scaling Configuration Policy Details Scale Up Config - (Updatable) Configration for a metric based vertical scale-up policy.
- schedule
Details AutoScaling Configuration Policy Details Schedule Detail[] - (Updatable) Details of a horizontal scaling schedule.
- timezone string
(Updatable) The time zone of the execution schedule, in IANA time zone database name format
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- trigger
Type string - The type of autoscaling trigger.
- policy_
type str - Type of autoscaling policy.
- action_
type str - The type of autoscaling action to take.
- scale_
down_ bigdataservice.config Auto Scaling Configuration Policy Details Scale Down Config - (Updatable) Configration for a metric based vertical scale-down policy.
- scale_
in_ bigdataservice.config Auto Scaling Configuration Policy Details Scale In Config - (Updatable) Configration for a metric based horizontal scale-in policy.
- scale_
out_ bigdataservice.config Auto Scaling Configuration Policy Details Scale Out Config - (Updatable) Configration for a metric based horizontal scale-out policy.
- scale_
up_ bigdataservice.config Auto Scaling Configuration Policy Details Scale Up Config - (Updatable) Configration for a metric based vertical scale-up policy.
- schedule_
details Sequence[bigdataservice.Auto Scaling Configuration Policy Details Schedule Detail] - (Updatable) Details of a horizontal scaling schedule.
- timezone str
(Updatable) The time zone of the execution schedule, in IANA time zone database name format
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- trigger_
type str - The type of autoscaling trigger.
- policy
Type String - Type of autoscaling policy.
- action
Type String - The type of autoscaling action to take.
- scale
Down Property MapConfig - (Updatable) Configration for a metric based vertical scale-down policy.
- scale
In Property MapConfig - (Updatable) Configration for a metric based horizontal scale-in policy.
- scale
Out Property MapConfig - (Updatable) Configration for a metric based horizontal scale-out policy.
- scale
Up Property MapConfig - (Updatable) Configration for a metric based vertical scale-up policy.
- schedule
Details List<Property Map> - (Updatable) Details of a horizontal scaling schedule.
- timezone String
(Updatable) The time zone of the execution schedule, in IANA time zone database name format
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- trigger
Type String - The type of autoscaling trigger.
AutoScalingConfigurationPolicyDetailsScaleDownConfig, AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs
- Memory
Step intSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- Metric
Auto
Scaling Configuration Policy Details Scale Down Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- Min
Memory intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum memory in GBs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- Min
Ocpus intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- Ocpu
Step intSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- Memory
Step intSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- Metric
Auto
Scaling Configuration Policy Details Scale Down Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- Min
Memory intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum memory in GBs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- Min
Ocpus intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- Ocpu
Step intSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- memory
Step IntegerSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- metric
Auto
Scaling Configuration Policy Details Scale Down Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- min
Memory IntegerPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum memory in GBs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- min
Ocpus IntegerPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- ocpu
Step IntegerSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- memory
Step numberSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- metric
Auto
Scaling Configuration Policy Details Scale Down Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- min
Memory numberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum memory in GBs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- min
Ocpus numberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- ocpu
Step numberSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- memory_
step_ intsize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- metric
bigdataservice.
Auto Scaling Configuration Policy Details Scale Down Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- min_
memory_ intper_ node - (Updatable) For nodes with flexible compute shapes, this value is the minimum memory in GBs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- min_
ocpus_ intper_ node - (Updatable) For nodes with flexible compute shapes, this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- ocpu_
step_ intsize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- memory
Step NumberSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
- metric Property Map
- (Updatable) Metric and threshold details for triggering an autoscale action.
- min
Memory NumberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum memory in GBs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- min
Ocpus NumberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes.
- ocpu
Step NumberSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to remove from each node during a scale-down event. This value is not used for nodes with fixed compute shapes.
AutoScalingConfigurationPolicyDetailsScaleDownConfigMetric, AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Details Scale Down Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Details Scale Down Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Details Scale Down Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Details Scale Down Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric_
type str - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
bigdataservice.
Auto Scaling Configuration Policy Details Scale Down Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold Property Map
- (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThreshold, AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In IntegerMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Integer
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In numberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value number
- (Updatable) Integer non-negative value. 0 < value < 100
- duration_
in_ intminutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator str
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In NumberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Number
- (Updatable) Integer non-negative value. 0 < value < 100
AutoScalingConfigurationPolicyDetailsScaleInConfig, AutoScalingConfigurationPolicyDetailsScaleInConfigArgs
- Metric
Auto
Scaling Configuration Policy Details Scale In Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- Min
Node intCount - (Updatable) This value is the minimum number of nodes the cluster can be scaled-in to.
- Step
Size int - (Updatable) This value is the number of nodes to remove during a scale-in event.
- Metric
Auto
Scaling Configuration Policy Details Scale In Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- Min
Node intCount - (Updatable) This value is the minimum number of nodes the cluster can be scaled-in to.
- Step
Size int - (Updatable) This value is the number of nodes to remove during a scale-in event.
- metric
Auto
Scaling Configuration Policy Details Scale In Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- min
Node IntegerCount - (Updatable) This value is the minimum number of nodes the cluster can be scaled-in to.
- step
Size Integer - (Updatable) This value is the number of nodes to remove during a scale-in event.
- metric
Auto
Scaling Configuration Policy Details Scale In Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- min
Node numberCount - (Updatable) This value is the minimum number of nodes the cluster can be scaled-in to.
- step
Size number - (Updatable) This value is the number of nodes to remove during a scale-in event.
- metric
bigdataservice.
Auto Scaling Configuration Policy Details Scale In Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- min_
node_ intcount - (Updatable) This value is the minimum number of nodes the cluster can be scaled-in to.
- step_
size int - (Updatable) This value is the number of nodes to remove during a scale-in event.
- metric Property Map
- (Updatable) Metric and threshold details for triggering an autoscale action.
- min
Node NumberCount - (Updatable) This value is the minimum number of nodes the cluster can be scaled-in to.
- step
Size Number - (Updatable) This value is the number of nodes to remove during a scale-in event.
AutoScalingConfigurationPolicyDetailsScaleInConfigMetric, AutoScalingConfigurationPolicyDetailsScaleInConfigMetricArgs
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Details Scale In Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Details Scale In Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Details Scale In Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Details Scale In Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric_
type str - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
bigdataservice.
Auto Scaling Configuration Policy Details Scale In Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold Property Map
- (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThreshold, AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThresholdArgs
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In IntegerMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Integer
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In numberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value number
- (Updatable) Integer non-negative value. 0 < value < 100
- duration_
in_ intminutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator str
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In NumberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Number
- (Updatable) Integer non-negative value. 0 < value < 100
AutoScalingConfigurationPolicyDetailsScaleOutConfig, AutoScalingConfigurationPolicyDetailsScaleOutConfigArgs
- Max
Node intCount - (Updatable) This value is the maximum number of nodes the cluster can be scaled-out to.
- Metric
Auto
Scaling Configuration Policy Details Scale Out Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- Step
Size int - (Updatable) This value is the number of nodes to add during a scale-out event.
- Max
Node intCount - (Updatable) This value is the maximum number of nodes the cluster can be scaled-out to.
- Metric
Auto
Scaling Configuration Policy Details Scale Out Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- Step
Size int - (Updatable) This value is the number of nodes to add during a scale-out event.
- max
Node IntegerCount - (Updatable) This value is the maximum number of nodes the cluster can be scaled-out to.
- metric
Auto
Scaling Configuration Policy Details Scale Out Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- step
Size Integer - (Updatable) This value is the number of nodes to add during a scale-out event.
- max
Node numberCount - (Updatable) This value is the maximum number of nodes the cluster can be scaled-out to.
- metric
Auto
Scaling Configuration Policy Details Scale Out Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- step
Size number - (Updatable) This value is the number of nodes to add during a scale-out event.
- max_
node_ intcount - (Updatable) This value is the maximum number of nodes the cluster can be scaled-out to.
- metric
bigdataservice.
Auto Scaling Configuration Policy Details Scale Out Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- step_
size int - (Updatable) This value is the number of nodes to add during a scale-out event.
- max
Node NumberCount - (Updatable) This value is the maximum number of nodes the cluster can be scaled-out to.
- metric Property Map
- (Updatable) Metric and threshold details for triggering an autoscale action.
- step
Size Number - (Updatable) This value is the number of nodes to add during a scale-out event.
AutoScalingConfigurationPolicyDetailsScaleOutConfigMetric, AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricArgs
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Details Scale Out Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Details Scale Out Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Details Scale Out Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Details Scale Out Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric_
type str - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
bigdataservice.
Auto Scaling Configuration Policy Details Scale Out Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold Property Map
- (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThreshold, AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThresholdArgs
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In IntegerMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Integer
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In numberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value number
- (Updatable) Integer non-negative value. 0 < value < 100
- duration_
in_ intminutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator str
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In NumberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Number
- (Updatable) Integer non-negative value. 0 < value < 100
AutoScalingConfigurationPolicyDetailsScaleUpConfig, AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs
- Max
Memory intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum memory in GBs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- Max
Ocpus intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum number of OCPUs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- Memory
Step intSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- Metric
Auto
Scaling Configuration Policy Details Scale Up Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- Ocpu
Step intSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- Max
Memory intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum memory in GBs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- Max
Ocpus intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum number of OCPUs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- Memory
Step intSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- Metric
Auto
Scaling Configuration Policy Details Scale Up Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- Ocpu
Step intSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- max
Memory IntegerPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum memory in GBs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- max
Ocpus IntegerPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum number of OCPUs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- memory
Step IntegerSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- metric
Auto
Scaling Configuration Policy Details Scale Up Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- ocpu
Step IntegerSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- max
Memory numberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum memory in GBs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- max
Ocpus numberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum number of OCPUs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- memory
Step numberSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- metric
Auto
Scaling Configuration Policy Details Scale Up Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- ocpu
Step numberSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- max_
memory_ intper_ node - (Updatable) For nodes with flexible compute shapes, this value is the maximum memory in GBs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- max_
ocpus_ intper_ node - (Updatable) For nodes with flexible compute shapes, this value is the maximum number of OCPUs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- memory_
step_ intsize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- metric
bigdataservice.
Auto Scaling Configuration Policy Details Scale Up Config Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- ocpu_
step_ intsize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- max
Memory NumberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum memory in GBs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- max
Ocpus NumberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the maximum number of OCPUs each node can be scaled-up to. This value is not used for nodes with fixed compute shapes.
- memory
Step NumberSize - (Updatable) For nodes with flexible compute shapes, this value is the size of memory in GBs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
- metric Property Map
- (Updatable) Metric and threshold details for triggering an autoscale action.
- ocpu
Step NumberSize - (Updatable) For nodes with flexible compute shapes, this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes.
AutoScalingConfigurationPolicyDetailsScaleUpConfigMetric, AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Details Scale Up Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Details Scale Up Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Details Scale Up Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Details Scale Up Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric_
type str - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
bigdataservice.
Auto Scaling Configuration Policy Details Scale Up Config Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold Property Map
- (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThreshold, AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In IntegerMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Integer
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In numberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value number
- (Updatable) Integer non-negative value. 0 < value < 100
- duration_
in_ intminutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator str
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In NumberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Number
- (Updatable) Integer non-negative value. 0 < value < 100
AutoScalingConfigurationPolicyDetailsScheduleDetail, AutoScalingConfigurationPolicyDetailsScheduleDetailArgs
- Schedule
Type string - (Updatable) The type of schedule.
- Time
And List<AutoHorizontal Scaling Configs Scaling Configuration Policy Details Schedule Detail Time And Horizontal Scaling Config> - (Updatable) Time of day and horizontal scaling configuration.
- Time
And List<AutoVertical Scaling Configs Scaling Configuration Policy Details Schedule Detail Time And Vertical Scaling Config> - (Updatable) Time of day and vertical scaling configuration
- Schedule
Type string - (Updatable) The type of schedule.
- Time
And []AutoHorizontal Scaling Configs Scaling Configuration Policy Details Schedule Detail Time And Horizontal Scaling Config - (Updatable) Time of day and horizontal scaling configuration.
- Time
And []AutoVertical Scaling Configs Scaling Configuration Policy Details Schedule Detail Time And Vertical Scaling Config - (Updatable) Time of day and vertical scaling configuration
- schedule
Type String - (Updatable) The type of schedule.
- time
And List<AutoHorizontal Scaling Configs Scaling Configuration Policy Details Schedule Detail Time And Horizontal Scaling Config> - (Updatable) Time of day and horizontal scaling configuration.
- time
And List<AutoVertical Scaling Configs Scaling Configuration Policy Details Schedule Detail Time And Vertical Scaling Config> - (Updatable) Time of day and vertical scaling configuration
- schedule
Type string - (Updatable) The type of schedule.
- time
And AutoHorizontal Scaling Configs Scaling Configuration Policy Details Schedule Detail Time And Horizontal Scaling Config[] - (Updatable) Time of day and horizontal scaling configuration.
- time
And AutoVertical Scaling Configs Scaling Configuration Policy Details Schedule Detail Time And Vertical Scaling Config[] - (Updatable) Time of day and vertical scaling configuration
- schedule_
type str - (Updatable) The type of schedule.
- time_
and_ Sequence[bigdataservice.horizontal_ scaling_ configs Auto Scaling Configuration Policy Details Schedule Detail Time And Horizontal Scaling Config] - (Updatable) Time of day and horizontal scaling configuration.
- time_
and_ Sequence[bigdataservice.vertical_ scaling_ configs Auto Scaling Configuration Policy Details Schedule Detail Time And Vertical Scaling Config] - (Updatable) Time of day and vertical scaling configuration
- schedule
Type String - (Updatable) The type of schedule.
- time
And List<Property Map>Horizontal Scaling Configs - (Updatable) Time of day and horizontal scaling configuration.
- time
And List<Property Map>Vertical Scaling Configs - (Updatable) Time of day and vertical scaling configuration
AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfig, AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfigArgs
- Target
Node intCount - (Updatable) This value is the desired number of nodes in the cluster.
- Time
Recurrence string - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- Target
Node intCount - (Updatable) This value is the desired number of nodes in the cluster.
- Time
Recurrence string - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- target
Node IntegerCount - (Updatable) This value is the desired number of nodes in the cluster.
- time
Recurrence String - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- target
Node numberCount - (Updatable) This value is the desired number of nodes in the cluster.
- time
Recurrence string - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- target_
node_ intcount - (Updatable) This value is the desired number of nodes in the cluster.
- time_
recurrence str - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- target
Node NumberCount - (Updatable) This value is the desired number of nodes in the cluster.
- time
Recurrence String - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfig, AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfigArgs
- Target
Memory intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired memory in GBs on each node. This value is not used for nodes with fixed compute shapes.
- Target
Ocpus intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired OCPUs count on each node. This value is not used for nodes with fixed compute shapes.
- Target
Shape string - (Updatable) For nodes with fixed compute shapes, this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes.
- Time
Recurrence string - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- Target
Memory intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired memory in GBs on each node. This value is not used for nodes with fixed compute shapes.
- Target
Ocpus intPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired OCPUs count on each node. This value is not used for nodes with fixed compute shapes.
- Target
Shape string - (Updatable) For nodes with fixed compute shapes, this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes.
- Time
Recurrence string - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- target
Memory IntegerPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired memory in GBs on each node. This value is not used for nodes with fixed compute shapes.
- target
Ocpus IntegerPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired OCPUs count on each node. This value is not used for nodes with fixed compute shapes.
- target
Shape String - (Updatable) For nodes with fixed compute shapes, this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes.
- time
Recurrence String - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- target
Memory numberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired memory in GBs on each node. This value is not used for nodes with fixed compute shapes.
- target
Ocpus numberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired OCPUs count on each node. This value is not used for nodes with fixed compute shapes.
- target
Shape string - (Updatable) For nodes with fixed compute shapes, this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes.
- time
Recurrence string - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- target_
memory_ intper_ node - (Updatable) For nodes with flexible compute shapes, this value is the desired memory in GBs on each node. This value is not used for nodes with fixed compute shapes.
- target_
ocpus_ intper_ node - (Updatable) For nodes with flexible compute shapes, this value is the desired OCPUs count on each node. This value is not used for nodes with fixed compute shapes.
- target_
shape str - (Updatable) For nodes with fixed compute shapes, this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes.
- time_
recurrence str - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
- target
Memory NumberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired memory in GBs on each node. This value is not used for nodes with fixed compute shapes.
- target
Ocpus NumberPer Node - (Updatable) For nodes with flexible compute shapes, this value is the desired OCPUs count on each node. This value is not used for nodes with fixed compute shapes.
- target
Shape String - (Updatable) For nodes with fixed compute shapes, this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes.
- time
Recurrence String - (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported.
AutoScalingConfigurationPolicyRule, AutoScalingConfigurationPolicyRuleArgs
- Action string
- (Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.
- Metric
Auto
Scaling Configuration Policy Rule Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- Action string
- (Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.
- Metric
Auto
Scaling Configuration Policy Rule Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- action String
- (Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.
- metric
Auto
Scaling Configuration Policy Rule Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- action string
- (Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.
- metric
Auto
Scaling Configuration Policy Rule Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- action str
- (Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.
- metric
bigdataservice.
Auto Scaling Configuration Policy Rule Metric - (Updatable) Metric and threshold details for triggering an autoscale action.
- action String
- (Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN.
- metric Property Map
- (Updatable) Metric and threshold details for triggering an autoscale action.
AutoScalingConfigurationPolicyRuleMetric, AutoScalingConfigurationPolicyRuleMetricArgs
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Rule Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- Metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- Threshold
Auto
Scaling Configuration Policy Rule Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Rule Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type string - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
Auto
Scaling Configuration Policy Rule Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric_
type str - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold
bigdataservice.
Auto Scaling Configuration Policy Rule Metric Threshold - (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
- metric
Type String - (Updatable) Allowed values are CPU_UTILIZATION and MEMORY_UTILIZATION.
- threshold Property Map
- (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold.
AutoScalingConfigurationPolicyRuleMetricThreshold, AutoScalingConfigurationPolicyRuleMetricThresholdArgs
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- Duration
In intMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- Operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- Value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In IntegerMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Integer
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In numberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator string
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value number
- (Updatable) Integer non-negative value. 0 < value < 100
- duration_
in_ intminutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator str
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value int
- (Updatable) Integer non-negative value. 0 < value < 100
- duration
In NumberMinutes - (Updatable) This value is the minimum period of time the metric value exceeds the threshold value before the action is triggered. The value is in minutes.
- operator String
- (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT).
- value Number
- (Updatable) Integer non-negative value. 0 < value < 100
Import
AutoScalingConfiguration can be imported using the id
, e.g.
$ pulumi import oci:BigDataService/autoScalingConfiguration:AutoScalingConfiguration test_auto_scaling_configuration "bdsInstances/{bdsInstanceId}/autoScalingConfiguration/{autoScalingConfigurationId}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.