Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.autoscaling.ScalingPolicies
Explore with Pulumi AI
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:
- Scaling
Group stringId - An id of the scaling group to which the scaling policy belongs.
- Ids List<string>
- A list of scaling policy ids.
- Name
Regex string - A Name Regex of scaling policy.
- Output
File string - File name where to save data source results.
- Scaling
Policy List<string>Names - A list of scaling policy names.
- Scaling
Policy stringType - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- Scaling
Group stringId - An id of the scaling group to which the scaling policy belongs.
- Ids []string
- A list of scaling policy ids.
- Name
Regex string - A Name Regex of scaling policy.
- Output
File string - File name where to save data source results.
- Scaling
Policy []stringNames - A list of scaling policy names.
- Scaling
Policy stringType - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scaling
Group StringId - An id of the scaling group to which the scaling policy belongs.
- ids List<String>
- A list of scaling policy ids.
- name
Regex String - A Name Regex of scaling policy.
- output
File String - File name where to save data source results.
- scaling
Policy List<String>Names - A list of scaling policy names.
- scaling
Policy StringType - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scaling
Group stringId - An id of the scaling group to which the scaling policy belongs.
- ids string[]
- A list of scaling policy ids.
- name
Regex string - A Name Regex of scaling policy.
- output
File string - File name where to save data source results.
- scaling
Policy string[]Names - A list of scaling policy names.
- scaling
Policy stringType - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scaling_
group_ strid - 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_ Sequence[str]names - A list of scaling policy names.
- scaling_
policy_ strtype - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scaling
Group StringId - An id of the scaling group to which the scaling policy belongs.
- ids List<String>
- A list of scaling policy ids.
- name
Regex String - A Name Regex of scaling policy.
- output
File String - File name where to save data source results.
- scaling
Policy List<String>Names - A list of scaling policy names.
- scaling
Policy StringType - 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.
- Scaling
Group stringId - The id of the scaling group to which the scaling policy belongs.
- Scaling
Policies List<Pulumi.Volcengine. Autoscaling. Outputs. Scaling Policies Scaling Policy> - The collection of scaling policy query.
- Total
Count int - The total count of scaling policy query.
- Ids List<string>
- Name
Regex string - Output
File string - Scaling
Policy List<string>Names - Scaling
Policy stringType - The type of the scaling policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- Scaling
Group stringId - The id of the scaling group to which the scaling policy belongs.
- Scaling
Policies []ScalingPolicies Scaling Policy - The collection of scaling policy query.
- Total
Count int - The total count of scaling policy query.
- Ids []string
- Name
Regex string - Output
File string - Scaling
Policy []stringNames - Scaling
Policy stringType - The type of the scaling policy.
- id String
- The provider-assigned unique ID for this managed resource.
- scaling
Group StringId - The id of the scaling group to which the scaling policy belongs.
- scaling
Policies List<ScalingPolicies Scaling Policy> - The collection of scaling policy query.
- total
Count Integer - The total count of scaling policy query.
- ids List<String>
- name
Regex String - output
File String - scaling
Policy List<String>Names - scaling
Policy StringType - The type of the scaling policy.
- id string
- The provider-assigned unique ID for this managed resource.
- scaling
Group stringId - The id of the scaling group to which the scaling policy belongs.
- scaling
Policies ScalingPolicies Scaling Policy[] - The collection of scaling policy query.
- total
Count number - The total count of scaling policy query.
- ids string[]
- name
Regex string - output
File string - scaling
Policy string[]Names - scaling
Policy stringType - The type of the scaling policy.
- id str
- The provider-assigned unique ID for this managed resource.
- scaling_
group_ strid - The id of the scaling group to which the scaling policy belongs.
- scaling_
policies Sequence[ScalingPolicies Scaling Policy] - 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_ Sequence[str]names - scaling_
policy_ strtype - The type of the scaling policy.
- id String
- The provider-assigned unique ID for this managed resource.
- scaling
Group StringId - The id of the scaling group to which the scaling policy belongs.
- scaling
Policies List<Property Map> - The collection of scaling policy query.
- total
Count Number - The total count of scaling policy query.
- ids List<String>
- name
Regex String - output
File String - scaling
Policy List<String>Names - scaling
Policy StringType - The type of the scaling policy.
Supporting Types
ScalingPoliciesScalingPolicy
- Adjustment
Type string - The adjustment type of the scaling policy.
- Adjustment
Value int - The adjustment value of the scaling policy.
- Alarm
Policy stringCondition Comparison Operator - The comparison operator of the alarm policy condition of the scaling policy.
- Alarm
Policy stringCondition Metric Name - The metric name of the alarm policy condition of the scaling policy.
- Alarm
Policy stringCondition Metric Unit - The comparison operator of the alarm policy condition of the scaling policy.
- Alarm
Policy stringCondition Threshold - The threshold of the alarm policy condition of the scaling policy.
- Alarm
Policy intEvaluation Count - The evaluation count of the alarm policy of the scaling policy.
- Alarm
Policy stringRule Type - 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.
- Scaling
Group stringId - An id of the scaling group to which the scaling policy belongs.
- Scaling
Policy stringId - The id of the scaling policy.
- Scaling
Policy stringName - The name of the scaling policy.
- Scaling
Policy stringType - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- Scheduled
Policy stringLaunch Time - The launch time of the scheduled policy of the scaling policy.
- Scheduled
Policy stringRecurrence End Time - The recurrence end time of the scheduled policy of the scaling policy.
- Scheduled
Policy stringRecurrence Start Time - The recurrence start time of the scheduled policy of the scaling policy.
- Scheduled
Policy stringRecurrence Type - The recurrence type of the scheduled policy of the scaling policy.
- Scheduled
Policy stringRecurrence Value - The recurrence value of the scheduled policy of the scaling policy.
- Status string
- The status of the scaling policy.
- Adjustment
Type string - The adjustment type of the scaling policy.
- Adjustment
Value int - The adjustment value of the scaling policy.
- Alarm
Policy stringCondition Comparison Operator - The comparison operator of the alarm policy condition of the scaling policy.
- Alarm
Policy stringCondition Metric Name - The metric name of the alarm policy condition of the scaling policy.
- Alarm
Policy stringCondition Metric Unit - The comparison operator of the alarm policy condition of the scaling policy.
- Alarm
Policy stringCondition Threshold - The threshold of the alarm policy condition of the scaling policy.
- Alarm
Policy intEvaluation Count - The evaluation count of the alarm policy of the scaling policy.
- Alarm
Policy stringRule Type - 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.
- Scaling
Group stringId - An id of the scaling group to which the scaling policy belongs.
- Scaling
Policy stringId - The id of the scaling policy.
- Scaling
Policy stringName - The name of the scaling policy.
- Scaling
Policy stringType - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- Scheduled
Policy stringLaunch Time - The launch time of the scheduled policy of the scaling policy.
- Scheduled
Policy stringRecurrence End Time - The recurrence end time of the scheduled policy of the scaling policy.
- Scheduled
Policy stringRecurrence Start Time - The recurrence start time of the scheduled policy of the scaling policy.
- Scheduled
Policy stringRecurrence Type - The recurrence type of the scheduled policy of the scaling policy.
- Scheduled
Policy stringRecurrence Value - The recurrence value of the scheduled policy of the scaling policy.
- Status string
- The status of the scaling policy.
- adjustment
Type String - The adjustment type of the scaling policy.
- adjustment
Value Integer - The adjustment value of the scaling policy.
- alarm
Policy StringCondition Comparison Operator - The comparison operator of the alarm policy condition of the scaling policy.
- alarm
Policy StringCondition Metric Name - The metric name of the alarm policy condition of the scaling policy.
- alarm
Policy StringCondition Metric Unit - The comparison operator of the alarm policy condition of the scaling policy.
- alarm
Policy StringCondition Threshold - The threshold of the alarm policy condition of the scaling policy.
- alarm
Policy IntegerEvaluation Count - The evaluation count of the alarm policy of the scaling policy.
- alarm
Policy StringRule Type - 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.
- scaling
Group StringId - An id of the scaling group to which the scaling policy belongs.
- scaling
Policy StringId - The id of the scaling policy.
- scaling
Policy StringName - The name of the scaling policy.
- scaling
Policy StringType - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scheduled
Policy StringLaunch Time - The launch time of the scheduled policy of the scaling policy.
- scheduled
Policy StringRecurrence End Time - The recurrence end time of the scheduled policy of the scaling policy.
- scheduled
Policy StringRecurrence Start Time - The recurrence start time of the scheduled policy of the scaling policy.
- scheduled
Policy StringRecurrence Type - The recurrence type of the scheduled policy of the scaling policy.
- scheduled
Policy StringRecurrence Value - The recurrence value of the scheduled policy of the scaling policy.
- status String
- The status of the scaling policy.
- adjustment
Type string - The adjustment type of the scaling policy.
- adjustment
Value number - The adjustment value of the scaling policy.
- alarm
Policy stringCondition Comparison Operator - The comparison operator of the alarm policy condition of the scaling policy.
- alarm
Policy stringCondition Metric Name - The metric name of the alarm policy condition of the scaling policy.
- alarm
Policy stringCondition Metric Unit - The comparison operator of the alarm policy condition of the scaling policy.
- alarm
Policy stringCondition Threshold - The threshold of the alarm policy condition of the scaling policy.
- alarm
Policy numberEvaluation Count - The evaluation count of the alarm policy of the scaling policy.
- alarm
Policy stringRule Type - 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.
- scaling
Group stringId - An id of the scaling group to which the scaling policy belongs.
- scaling
Policy stringId - The id of the scaling policy.
- scaling
Policy stringName - The name of the scaling policy.
- scaling
Policy stringType - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scheduled
Policy stringLaunch Time - The launch time of the scheduled policy of the scaling policy.
- scheduled
Policy stringRecurrence End Time - The recurrence end time of the scheduled policy of the scaling policy.
- scheduled
Policy stringRecurrence Start Time - The recurrence start time of the scheduled policy of the scaling policy.
- scheduled
Policy stringRecurrence Type - The recurrence type of the scheduled policy of the scaling policy.
- scheduled
Policy stringRecurrence Value - 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_ strcondition_ comparison_ operator - The comparison operator of the alarm policy condition of the scaling policy.
- alarm_
policy_ strcondition_ metric_ name - The metric name of the alarm policy condition of the scaling policy.
- alarm_
policy_ strcondition_ metric_ unit - The comparison operator of the alarm policy condition of the scaling policy.
- alarm_
policy_ strcondition_ threshold - The threshold of the alarm policy condition of the scaling policy.
- alarm_
policy_ intevaluation_ count - The evaluation count of the alarm policy of the scaling policy.
- alarm_
policy_ strrule_ type - 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_ strid - An id of the scaling group to which the scaling policy belongs.
- scaling_
policy_ strid - The id of the scaling policy.
- scaling_
policy_ strname - The name of the scaling policy.
- scaling_
policy_ strtype - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scheduled_
policy_ strlaunch_ time - The launch time of the scheduled policy of the scaling policy.
- scheduled_
policy_ strrecurrence_ end_ time - The recurrence end time of the scheduled policy of the scaling policy.
- scheduled_
policy_ strrecurrence_ start_ time - The recurrence start time of the scheduled policy of the scaling policy.
- scheduled_
policy_ strrecurrence_ type - The recurrence type of the scheduled policy of the scaling policy.
- scheduled_
policy_ strrecurrence_ value - The recurrence value of the scheduled policy of the scaling policy.
- status str
- The status of the scaling policy.
- adjustment
Type String - The adjustment type of the scaling policy.
- adjustment
Value Number - The adjustment value of the scaling policy.
- alarm
Policy StringCondition Comparison Operator - The comparison operator of the alarm policy condition of the scaling policy.
- alarm
Policy StringCondition Metric Name - The metric name of the alarm policy condition of the scaling policy.
- alarm
Policy StringCondition Metric Unit - The comparison operator of the alarm policy condition of the scaling policy.
- alarm
Policy StringCondition Threshold - The threshold of the alarm policy condition of the scaling policy.
- alarm
Policy NumberEvaluation Count - The evaluation count of the alarm policy of the scaling policy.
- alarm
Policy StringRule Type - 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.
- scaling
Group StringId - An id of the scaling group to which the scaling policy belongs.
- scaling
Policy StringId - The id of the scaling policy.
- scaling
Policy StringName - The name of the scaling policy.
- scaling
Policy StringType - A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scheduled
Policy StringLaunch Time - The launch time of the scheduled policy of the scaling policy.
- scheduled
Policy StringRecurrence End Time - The recurrence end time of the scheduled policy of the scaling policy.
- scheduled
Policy StringRecurrence Start Time - The recurrence start time of the scheduled policy of the scaling policy.
- scheduled
Policy StringRecurrence Type - The recurrence type of the scheduled policy of the scaling policy.
- scheduled
Policy StringRecurrence Value - 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.