Volcengine v0.0.27 published on Tuesday, Dec 10, 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) ScalingPoliciesResultOutputpublic 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)
public static Output<ScalingPoliciesResult> scalingPolicies(ScalingPoliciesArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:autoscaling:ScalingPolicies
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ScalingGroup stringId 
- 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.
- ScalingPolicy List<string>Names 
- A list of scaling policy names.
- ScalingPolicy stringType 
- A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- ScalingGroup stringId 
- 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.
- ScalingPolicy []stringNames 
- A list of scaling policy names.
- ScalingPolicy stringType 
- A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scalingGroup StringId 
- 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.
- scalingPolicy List<String>Names 
- A list of scaling policy names.
- scalingPolicy StringType 
- A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scalingGroup stringId 
- 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.
- scalingPolicy string[]Names 
- A list of scaling policy names.
- scalingPolicy 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.
- scalingGroup StringId 
- 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.
- scalingPolicy List<String>Names 
- A list of scaling policy names.
- scalingPolicy 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.
- ScalingGroup stringId 
- The id of the scaling group to which the scaling policy belongs.
- ScalingPolicies List<ScalingPolicies Scaling Policy> 
- The collection of scaling policy query.
- TotalCount int
- The total count of scaling policy query.
- Ids List<string>
- NameRegex string
- OutputFile string
- ScalingPolicy List<string>Names 
- ScalingPolicy stringType 
- The type of the scaling policy.
- Id string
- The provider-assigned unique ID for this managed resource.
- ScalingGroup stringId 
- The id of the scaling group to which the scaling policy belongs.
- ScalingPolicies []ScalingPolicies Scaling Policy 
- The collection of scaling policy query.
- TotalCount int
- The total count of scaling policy query.
- Ids []string
- NameRegex string
- OutputFile string
- ScalingPolicy []stringNames 
- ScalingPolicy stringType 
- The type of the scaling policy.
- id String
- The provider-assigned unique ID for this managed resource.
- scalingGroup StringId 
- The id of the scaling group to which the scaling policy belongs.
- scalingPolicies List<ScalingPolicies Scaling Policy> 
- The collection of scaling policy query.
- totalCount Integer
- The total count of scaling policy query.
- ids List<String>
- nameRegex String
- outputFile String
- scalingPolicy List<String>Names 
- scalingPolicy StringType 
- The type of the scaling policy.
- id string
- The provider-assigned unique ID for this managed resource.
- scalingGroup stringId 
- The id of the scaling group to which the scaling policy belongs.
- scalingPolicies ScalingPolicies Scaling Policy[] 
- The collection of scaling policy query.
- totalCount number
- The total count of scaling policy query.
- ids string[]
- nameRegex string
- outputFile string
- scalingPolicy string[]Names 
- scalingPolicy 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.
- scalingGroup StringId 
- 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
- scalingPolicy List<String>Names 
- scalingPolicy StringType 
- 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.
- AlarmPolicy stringCondition Comparison Operator 
- The comparison operator of the alarm policy condition of the scaling policy.
- AlarmPolicy stringCondition Metric Name 
- The metric name of the alarm policy condition of the scaling policy.
- AlarmPolicy stringCondition Metric Unit 
- The comparison operator of the alarm policy condition of the scaling policy.
- AlarmPolicy stringCondition Threshold 
- The threshold of the alarm policy condition of the scaling policy.
- AlarmPolicy intEvaluation Count 
- The evaluation count of the alarm policy of the scaling policy.
- AlarmPolicy 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.
- ScalingGroup stringId 
- An id of the scaling group to which the scaling policy belongs.
- ScalingPolicy stringId 
- The id of the scaling policy.
- ScalingPolicy stringName 
- The name of the scaling policy.
- ScalingPolicy stringType 
- A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- ScheduledPolicy stringLaunch Time 
- The launch time of the scheduled policy of the scaling policy.
- ScheduledPolicy stringRecurrence End Time 
- The recurrence end time of the scheduled policy of the scaling policy.
- ScheduledPolicy stringRecurrence Start Time 
- The recurrence start time of the scheduled policy of the scaling policy.
- ScheduledPolicy stringRecurrence Type 
- The recurrence type of the scheduled policy of the scaling policy.
- ScheduledPolicy stringRecurrence Value 
- 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.
- AlarmPolicy stringCondition Comparison Operator 
- The comparison operator of the alarm policy condition of the scaling policy.
- AlarmPolicy stringCondition Metric Name 
- The metric name of the alarm policy condition of the scaling policy.
- AlarmPolicy stringCondition Metric Unit 
- The comparison operator of the alarm policy condition of the scaling policy.
- AlarmPolicy stringCondition Threshold 
- The threshold of the alarm policy condition of the scaling policy.
- AlarmPolicy intEvaluation Count 
- The evaluation count of the alarm policy of the scaling policy.
- AlarmPolicy 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.
- ScalingGroup stringId 
- An id of the scaling group to which the scaling policy belongs.
- ScalingPolicy stringId 
- The id of the scaling policy.
- ScalingPolicy stringName 
- The name of the scaling policy.
- ScalingPolicy stringType 
- A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- ScheduledPolicy stringLaunch Time 
- The launch time of the scheduled policy of the scaling policy.
- ScheduledPolicy stringRecurrence End Time 
- The recurrence end time of the scheduled policy of the scaling policy.
- ScheduledPolicy stringRecurrence Start Time 
- The recurrence start time of the scheduled policy of the scaling policy.
- ScheduledPolicy stringRecurrence Type 
- The recurrence type of the scheduled policy of the scaling policy.
- ScheduledPolicy stringRecurrence Value 
- 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.
- alarmPolicy StringCondition Comparison Operator 
- The comparison operator of the alarm policy condition of the scaling policy.
- alarmPolicy StringCondition Metric Name 
- The metric name of the alarm policy condition of the scaling policy.
- alarmPolicy StringCondition Metric Unit 
- The comparison operator of the alarm policy condition of the scaling policy.
- alarmPolicy StringCondition Threshold 
- The threshold of the alarm policy condition of the scaling policy.
- alarmPolicy IntegerEvaluation Count 
- The evaluation count of the alarm policy of the scaling policy.
- alarmPolicy 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.
- scalingGroup StringId 
- An id of the scaling group to which the scaling policy belongs.
- scalingPolicy StringId 
- The id of the scaling policy.
- scalingPolicy StringName 
- The name of the scaling policy.
- scalingPolicy StringType 
- A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scheduledPolicy StringLaunch Time 
- The launch time of the scheduled policy of the scaling policy.
- scheduledPolicy StringRecurrence End Time 
- The recurrence end time of the scheduled policy of the scaling policy.
- scheduledPolicy StringRecurrence Start Time 
- The recurrence start time of the scheduled policy of the scaling policy.
- scheduledPolicy StringRecurrence Type 
- The recurrence type of the scheduled policy of the scaling policy.
- scheduledPolicy StringRecurrence Value 
- 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.
- alarmPolicy stringCondition Comparison Operator 
- The comparison operator of the alarm policy condition of the scaling policy.
- alarmPolicy stringCondition Metric Name 
- The metric name of the alarm policy condition of the scaling policy.
- alarmPolicy stringCondition Metric Unit 
- The comparison operator of the alarm policy condition of the scaling policy.
- alarmPolicy stringCondition Threshold 
- The threshold of the alarm policy condition of the scaling policy.
- alarmPolicy numberEvaluation Count 
- The evaluation count of the alarm policy of the scaling policy.
- alarmPolicy 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.
- scalingGroup stringId 
- An id of the scaling group to which the scaling policy belongs.
- scalingPolicy stringId 
- The id of the scaling policy.
- scalingPolicy stringName 
- The name of the scaling policy.
- scalingPolicy stringType 
- A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scheduledPolicy stringLaunch Time 
- The launch time of the scheduled policy of the scaling policy.
- scheduledPolicy stringRecurrence End Time 
- The recurrence end time of the scheduled policy of the scaling policy.
- scheduledPolicy stringRecurrence Start Time 
- The recurrence start time of the scheduled policy of the scaling policy.
- scheduledPolicy stringRecurrence Type 
- The recurrence type of the scheduled policy of the scaling policy.
- scheduledPolicy 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.
- adjustmentType String
- The adjustment type of the scaling policy.
- adjustmentValue Number
- The adjustment value of the scaling policy.
- alarmPolicy StringCondition Comparison Operator 
- The comparison operator of the alarm policy condition of the scaling policy.
- alarmPolicy StringCondition Metric Name 
- The metric name of the alarm policy condition of the scaling policy.
- alarmPolicy StringCondition Metric Unit 
- The comparison operator of the alarm policy condition of the scaling policy.
- alarmPolicy StringCondition Threshold 
- The threshold of the alarm policy condition of the scaling policy.
- alarmPolicy NumberEvaluation Count 
- The evaluation count of the alarm policy of the scaling policy.
- alarmPolicy 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.
- scalingGroup StringId 
- An id of the scaling group to which the scaling policy belongs.
- scalingPolicy StringId 
- The id of the scaling policy.
- scalingPolicy StringName 
- The name of the scaling policy.
- scalingPolicy StringType 
- A type of scaling policy. Valid values: Scheduled, Recurrence, Manual, Alarm.
- scheduledPolicy StringLaunch Time 
- The launch time of the scheduled policy of the scaling policy.
- scheduledPolicy StringRecurrence End Time 
- The recurrence end time of the scheduled policy of the scaling policy.
- scheduledPolicy StringRecurrence Start Time 
- The recurrence start time of the scheduled policy of the scaling policy.
- scheduledPolicy StringRecurrence Type 
- The recurrence type of the scheduled policy of the scaling policy.
- scheduledPolicy 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 volcengineTerraform Provider.