1. Packages
  2. Volcengine
  3. API Docs
  4. autoscaling
  5. ScalingPolicies
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.autoscaling.ScalingPolicies

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    Use this data source to query detailed information of scaling policies

    Using ScalingPolicies

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function scalingPolicies(args: ScalingPoliciesArgs, opts?: InvokeOptions): Promise<ScalingPoliciesResult>
    function scalingPoliciesOutput(args: ScalingPoliciesOutputArgs, opts?: InvokeOptions): Output<ScalingPoliciesResult>
    def scaling_policies(ids: Optional[Sequence[str]] = None,
                         name_regex: Optional[str] = None,
                         output_file: Optional[str] = None,
                         scaling_group_id: Optional[str] = None,
                         scaling_policy_names: Optional[Sequence[str]] = None,
                         scaling_policy_type: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> ScalingPoliciesResult
    def scaling_policies_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                         name_regex: Optional[pulumi.Input[str]] = None,
                         output_file: Optional[pulumi.Input[str]] = None,
                         scaling_group_id: Optional[pulumi.Input[str]] = None,
                         scaling_policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                         scaling_policy_type: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[ScalingPoliciesResult]
    func ScalingPolicies(ctx *Context, args *ScalingPoliciesArgs, opts ...InvokeOption) (*ScalingPoliciesResult, error)
    func ScalingPoliciesOutput(ctx *Context, args *ScalingPoliciesOutputArgs, opts ...InvokeOption) ScalingPoliciesResultOutput
    public static class ScalingPolicies 
    {
        public static Task<ScalingPoliciesResult> InvokeAsync(ScalingPoliciesArgs args, InvokeOptions? opts = null)
        public static Output<ScalingPoliciesResult> Invoke(ScalingPoliciesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ScalingPoliciesResult> scalingPolicies(ScalingPoliciesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:autoscaling:ScalingPolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ScalingGroupId string
    An id of the scaling group to which the scaling policy belongs.
    Ids List<string>
    A list of scaling policy ids.
    NameRegex string
    A Name Regex of scaling policy.
    OutputFile string
    File name where to save data source results.
    ScalingPolicyNames List<string>
    A list of scaling policy names.
    ScalingPolicyType string
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    ScalingGroupId string
    An id of the scaling group to which the scaling policy belongs.
    Ids []string
    A list of scaling policy ids.
    NameRegex string
    A Name Regex of scaling policy.
    OutputFile string
    File name where to save data source results.
    ScalingPolicyNames []string
    A list of scaling policy names.
    ScalingPolicyType string
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    scalingGroupId String
    An id of the scaling group to which the scaling policy belongs.
    ids List<String>
    A list of scaling policy ids.
    nameRegex String
    A Name Regex of scaling policy.
    outputFile String
    File name where to save data source results.
    scalingPolicyNames List<String>
    A list of scaling policy names.
    scalingPolicyType String
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    scalingGroupId string
    An id of the scaling group to which the scaling policy belongs.
    ids string[]
    A list of scaling policy ids.
    nameRegex string
    A Name Regex of scaling policy.
    outputFile string
    File name where to save data source results.
    scalingPolicyNames string[]
    A list of scaling policy names.
    scalingPolicyType string
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    scaling_group_id str
    An id of the scaling group to which the scaling policy belongs.
    ids Sequence[str]
    A list of scaling policy ids.
    name_regex str
    A Name Regex of scaling policy.
    output_file str
    File name where to save data source results.
    scaling_policy_names Sequence[str]
    A list of scaling policy names.
    scaling_policy_type str
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    scalingGroupId String
    An id of the scaling group to which the scaling policy belongs.
    ids List<String>
    A list of scaling policy ids.
    nameRegex String
    A Name Regex of scaling policy.
    outputFile String
    File name where to save data source results.
    scalingPolicyNames List<String>
    A list of scaling policy names.
    scalingPolicyType String
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.

    ScalingPolicies Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ScalingGroupId string
    The id of the scaling group to which the scaling policy belongs.
    ScalingPolicies List<Pulumi.Volcengine.Autoscaling.Outputs.ScalingPoliciesScalingPolicy>
    The collection of scaling policy query.
    TotalCount int
    The total count of scaling policy query.
    Ids List<string>
    NameRegex string
    OutputFile string
    ScalingPolicyNames List<string>
    ScalingPolicyType string
    The type of the scaling policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    ScalingGroupId string
    The id of the scaling group to which the scaling policy belongs.
    ScalingPolicies []ScalingPoliciesScalingPolicy
    The collection of scaling policy query.
    TotalCount int
    The total count of scaling policy query.
    Ids []string
    NameRegex string
    OutputFile string
    ScalingPolicyNames []string
    ScalingPolicyType string
    The type of the scaling policy.
    id String
    The provider-assigned unique ID for this managed resource.
    scalingGroupId String
    The id of the scaling group to which the scaling policy belongs.
    scalingPolicies List<ScalingPoliciesScalingPolicy>
    The collection of scaling policy query.
    totalCount Integer
    The total count of scaling policy query.
    ids List<String>
    nameRegex String
    outputFile String
    scalingPolicyNames List<String>
    scalingPolicyType String
    The type of the scaling policy.
    id string
    The provider-assigned unique ID for this managed resource.
    scalingGroupId string
    The id of the scaling group to which the scaling policy belongs.
    scalingPolicies ScalingPoliciesScalingPolicy[]
    The collection of scaling policy query.
    totalCount number
    The total count of scaling policy query.
    ids string[]
    nameRegex string
    outputFile string
    scalingPolicyNames string[]
    scalingPolicyType string
    The type of the scaling policy.
    id str
    The provider-assigned unique ID for this managed resource.
    scaling_group_id str
    The id of the scaling group to which the scaling policy belongs.
    scaling_policies Sequence[ScalingPoliciesScalingPolicy]
    The collection of scaling policy query.
    total_count int
    The total count of scaling policy query.
    ids Sequence[str]
    name_regex str
    output_file str
    scaling_policy_names Sequence[str]
    scaling_policy_type str
    The type of the scaling policy.
    id String
    The provider-assigned unique ID for this managed resource.
    scalingGroupId String
    The id of the scaling group to which the scaling policy belongs.
    scalingPolicies List<Property Map>
    The collection of scaling policy query.
    totalCount Number
    The total count of scaling policy query.
    ids List<String>
    nameRegex String
    outputFile String
    scalingPolicyNames List<String>
    scalingPolicyType String
    The type of the scaling policy.

    Supporting Types

    ScalingPoliciesScalingPolicy

    AdjustmentType string
    The adjustment type of the scaling policy.
    AdjustmentValue int
    The adjustment value of the scaling policy.
    AlarmPolicyConditionComparisonOperator string
    The comparison operator of the alarm policy condition of the scaling policy.
    AlarmPolicyConditionMetricName string
    The metric name of the alarm policy condition of the scaling policy.
    AlarmPolicyConditionMetricUnit string
    The comparison operator of the alarm policy condition of the scaling policy.
    AlarmPolicyConditionThreshold string
    The threshold of the alarm policy condition of the scaling policy.
    AlarmPolicyEvaluationCount int
    The evaluation count of the alarm policy of the scaling policy.
    AlarmPolicyRuleType string
    The rule type of the alarm policy of the scaling policy.
    Cooldown int
    The cooldown of the scaling policy.
    Id string
    The id of the scaling policy.
    ScalingGroupId string
    An id of the scaling group to which the scaling policy belongs.
    ScalingPolicyId string
    The id of the scaling policy.
    ScalingPolicyName string
    The name of the scaling policy.
    ScalingPolicyType string
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    ScheduledPolicyLaunchTime string
    The launch time of the scheduled policy of the scaling policy.
    ScheduledPolicyRecurrenceEndTime string
    The recurrence end time of the scheduled policy of the scaling policy.
    ScheduledPolicyRecurrenceStartTime string
    The recurrence start time of the scheduled policy of the scaling policy.
    ScheduledPolicyRecurrenceType string
    The recurrence type of the scheduled policy of the scaling policy.
    ScheduledPolicyRecurrenceValue string
    The recurrence value of the scheduled policy of the scaling policy.
    Status string
    The status of the scaling policy.
    AdjustmentType string
    The adjustment type of the scaling policy.
    AdjustmentValue int
    The adjustment value of the scaling policy.
    AlarmPolicyConditionComparisonOperator string
    The comparison operator of the alarm policy condition of the scaling policy.
    AlarmPolicyConditionMetricName string
    The metric name of the alarm policy condition of the scaling policy.
    AlarmPolicyConditionMetricUnit string
    The comparison operator of the alarm policy condition of the scaling policy.
    AlarmPolicyConditionThreshold string
    The threshold of the alarm policy condition of the scaling policy.
    AlarmPolicyEvaluationCount int
    The evaluation count of the alarm policy of the scaling policy.
    AlarmPolicyRuleType string
    The rule type of the alarm policy of the scaling policy.
    Cooldown int
    The cooldown of the scaling policy.
    Id string
    The id of the scaling policy.
    ScalingGroupId string
    An id of the scaling group to which the scaling policy belongs.
    ScalingPolicyId string
    The id of the scaling policy.
    ScalingPolicyName string
    The name of the scaling policy.
    ScalingPolicyType string
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    ScheduledPolicyLaunchTime string
    The launch time of the scheduled policy of the scaling policy.
    ScheduledPolicyRecurrenceEndTime string
    The recurrence end time of the scheduled policy of the scaling policy.
    ScheduledPolicyRecurrenceStartTime string
    The recurrence start time of the scheduled policy of the scaling policy.
    ScheduledPolicyRecurrenceType string
    The recurrence type of the scheduled policy of the scaling policy.
    ScheduledPolicyRecurrenceValue string
    The recurrence value of the scheduled policy of the scaling policy.
    Status string
    The status of the scaling policy.
    adjustmentType String
    The adjustment type of the scaling policy.
    adjustmentValue Integer
    The adjustment value of the scaling policy.
    alarmPolicyConditionComparisonOperator String
    The comparison operator of the alarm policy condition of the scaling policy.
    alarmPolicyConditionMetricName String
    The metric name of the alarm policy condition of the scaling policy.
    alarmPolicyConditionMetricUnit String
    The comparison operator of the alarm policy condition of the scaling policy.
    alarmPolicyConditionThreshold String
    The threshold of the alarm policy condition of the scaling policy.
    alarmPolicyEvaluationCount Integer
    The evaluation count of the alarm policy of the scaling policy.
    alarmPolicyRuleType String
    The rule type of the alarm policy of the scaling policy.
    cooldown Integer
    The cooldown of the scaling policy.
    id String
    The id of the scaling policy.
    scalingGroupId String
    An id of the scaling group to which the scaling policy belongs.
    scalingPolicyId String
    The id of the scaling policy.
    scalingPolicyName String
    The name of the scaling policy.
    scalingPolicyType String
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    scheduledPolicyLaunchTime String
    The launch time of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceEndTime String
    The recurrence end time of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceStartTime String
    The recurrence start time of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceType String
    The recurrence type of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceValue String
    The recurrence value of the scheduled policy of the scaling policy.
    status String
    The status of the scaling policy.
    adjustmentType string
    The adjustment type of the scaling policy.
    adjustmentValue number
    The adjustment value of the scaling policy.
    alarmPolicyConditionComparisonOperator string
    The comparison operator of the alarm policy condition of the scaling policy.
    alarmPolicyConditionMetricName string
    The metric name of the alarm policy condition of the scaling policy.
    alarmPolicyConditionMetricUnit string
    The comparison operator of the alarm policy condition of the scaling policy.
    alarmPolicyConditionThreshold string
    The threshold of the alarm policy condition of the scaling policy.
    alarmPolicyEvaluationCount number
    The evaluation count of the alarm policy of the scaling policy.
    alarmPolicyRuleType string
    The rule type of the alarm policy of the scaling policy.
    cooldown number
    The cooldown of the scaling policy.
    id string
    The id of the scaling policy.
    scalingGroupId string
    An id of the scaling group to which the scaling policy belongs.
    scalingPolicyId string
    The id of the scaling policy.
    scalingPolicyName string
    The name of the scaling policy.
    scalingPolicyType string
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    scheduledPolicyLaunchTime string
    The launch time of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceEndTime string
    The recurrence end time of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceStartTime string
    The recurrence start time of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceType string
    The recurrence type of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceValue string
    The recurrence value of the scheduled policy of the scaling policy.
    status string
    The status of the scaling policy.
    adjustment_type str
    The adjustment type of the scaling policy.
    adjustment_value int
    The adjustment value of the scaling policy.
    alarm_policy_condition_comparison_operator str
    The comparison operator of the alarm policy condition of the scaling policy.
    alarm_policy_condition_metric_name str
    The metric name of the alarm policy condition of the scaling policy.
    alarm_policy_condition_metric_unit str
    The comparison operator of the alarm policy condition of the scaling policy.
    alarm_policy_condition_threshold str
    The threshold of the alarm policy condition of the scaling policy.
    alarm_policy_evaluation_count int
    The evaluation count of the alarm policy of the scaling policy.
    alarm_policy_rule_type str
    The rule type of the alarm policy of the scaling policy.
    cooldown int
    The cooldown of the scaling policy.
    id str
    The id of the scaling policy.
    scaling_group_id str
    An id of the scaling group to which the scaling policy belongs.
    scaling_policy_id str
    The id of the scaling policy.
    scaling_policy_name str
    The name of the scaling policy.
    scaling_policy_type str
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    scheduled_policy_launch_time str
    The launch time of the scheduled policy of the scaling policy.
    scheduled_policy_recurrence_end_time str
    The recurrence end time of the scheduled policy of the scaling policy.
    scheduled_policy_recurrence_start_time str
    The recurrence start time of the scheduled policy of the scaling policy.
    scheduled_policy_recurrence_type str
    The recurrence type of the scheduled policy of the scaling policy.
    scheduled_policy_recurrence_value str
    The recurrence value of the scheduled policy of the scaling policy.
    status str
    The status of the scaling policy.
    adjustmentType String
    The adjustment type of the scaling policy.
    adjustmentValue Number
    The adjustment value of the scaling policy.
    alarmPolicyConditionComparisonOperator String
    The comparison operator of the alarm policy condition of the scaling policy.
    alarmPolicyConditionMetricName String
    The metric name of the alarm policy condition of the scaling policy.
    alarmPolicyConditionMetricUnit String
    The comparison operator of the alarm policy condition of the scaling policy.
    alarmPolicyConditionThreshold String
    The threshold of the alarm policy condition of the scaling policy.
    alarmPolicyEvaluationCount Number
    The evaluation count of the alarm policy of the scaling policy.
    alarmPolicyRuleType String
    The rule type of the alarm policy of the scaling policy.
    cooldown Number
    The cooldown of the scaling policy.
    id String
    The id of the scaling policy.
    scalingGroupId String
    An id of the scaling group to which the scaling policy belongs.
    scalingPolicyId String
    The id of the scaling policy.
    scalingPolicyName String
    The name of the scaling policy.
    scalingPolicyType String
    A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
    scheduledPolicyLaunchTime String
    The launch time of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceEndTime String
    The recurrence end time of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceStartTime String
    The recurrence start time of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceType String
    The recurrence type of the scheduled policy of the scaling policy.
    scheduledPolicyRecurrenceValue String
    The recurrence value of the scheduled policy of the scaling policy.
    status String
    The status of the scaling policy.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine