1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. gpdb
  5. DbInstancePlan
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

alicloud.gpdb.DbInstancePlan

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi

    Provides a AnalyticDB for PostgreSQL (GPDB) DB Instance Plan resource.

    For information about AnalyticDB for PostgreSQL (GPDB) DB Instance Plan and how to use it, see What is DB Instance Plan.

    NOTE: Available since v1.189.0.

    Create DbInstancePlan Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DbInstancePlan(name: string, args: DbInstancePlanArgs, opts?: CustomResourceOptions);
    @overload
    def DbInstancePlan(resource_name: str,
                       args: DbInstancePlanArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbInstancePlan(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       db_instance_id: Optional[str] = None,
                       db_instance_plan_name: Optional[str] = None,
                       plan_configs: Optional[Sequence[DbInstancePlanPlanConfigArgs]] = None,
                       plan_schedule_type: Optional[str] = None,
                       plan_type: Optional[str] = None,
                       plan_desc: Optional[str] = None,
                       plan_end_date: Optional[str] = None,
                       plan_start_date: Optional[str] = None,
                       status: Optional[str] = None)
    func NewDbInstancePlan(ctx *Context, name string, args DbInstancePlanArgs, opts ...ResourceOption) (*DbInstancePlan, error)
    public DbInstancePlan(string name, DbInstancePlanArgs args, CustomResourceOptions? opts = null)
    public DbInstancePlan(String name, DbInstancePlanArgs args)
    public DbInstancePlan(String name, DbInstancePlanArgs args, CustomResourceOptions options)
    
    type: alicloud:gpdb:DbInstancePlan
    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 DbInstancePlanArgs
    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 DbInstancePlanArgs
    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 DbInstancePlanArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbInstancePlanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbInstancePlanArgs
    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 dbInstancePlanResource = new AliCloud.Gpdb.DbInstancePlan("dbInstancePlanResource", new()
    {
        DbInstanceId = "string",
        DbInstancePlanName = "string",
        PlanConfigs = new[]
        {
            new AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigArgs
            {
                Pause = new AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigPauseArgs
                {
                    ExecuteTime = "string",
                    PlanCronTime = "string",
                    PlanTaskStatus = "string",
                },
                Resume = new AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigResumeArgs
                {
                    ExecuteTime = "string",
                    PlanCronTime = "string",
                    PlanTaskStatus = "string",
                },
                ScaleDown = new AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigScaleDownArgs
                {
                    ExecuteTime = "string",
                    InstanceSpec = "string",
                    PlanCronTime = "string",
                    PlanTaskStatus = "string",
                },
                ScaleIn = new AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigScaleInArgs
                {
                    ExecuteTime = "string",
                    PlanCronTime = "string",
                    PlanTaskStatus = "string",
                    SegmentNodeNum = "string",
                },
                ScaleOut = new AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigScaleOutArgs
                {
                    ExecuteTime = "string",
                    PlanCronTime = "string",
                    PlanTaskStatus = "string",
                    SegmentNodeNum = "string",
                },
                ScaleUp = new AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigScaleUpArgs
                {
                    ExecuteTime = "string",
                    InstanceSpec = "string",
                    PlanCronTime = "string",
                    PlanTaskStatus = "string",
                },
            },
        },
        PlanScheduleType = "string",
        PlanType = "string",
        PlanDesc = "string",
        PlanEndDate = "string",
        PlanStartDate = "string",
        Status = "string",
    });
    
    example, err := gpdb.NewDbInstancePlan(ctx, "dbInstancePlanResource", &gpdb.DbInstancePlanArgs{
    	DbInstanceId:       pulumi.String("string"),
    	DbInstancePlanName: pulumi.String("string"),
    	PlanConfigs: gpdb.DbInstancePlanPlanConfigArray{
    		&gpdb.DbInstancePlanPlanConfigArgs{
    			Pause: &gpdb.DbInstancePlanPlanConfigPauseArgs{
    				ExecuteTime:    pulumi.String("string"),
    				PlanCronTime:   pulumi.String("string"),
    				PlanTaskStatus: pulumi.String("string"),
    			},
    			Resume: &gpdb.DbInstancePlanPlanConfigResumeArgs{
    				ExecuteTime:    pulumi.String("string"),
    				PlanCronTime:   pulumi.String("string"),
    				PlanTaskStatus: pulumi.String("string"),
    			},
    			ScaleDown: &gpdb.DbInstancePlanPlanConfigScaleDownArgs{
    				ExecuteTime:    pulumi.String("string"),
    				InstanceSpec:   pulumi.String("string"),
    				PlanCronTime:   pulumi.String("string"),
    				PlanTaskStatus: pulumi.String("string"),
    			},
    			ScaleIn: &gpdb.DbInstancePlanPlanConfigScaleInArgs{
    				ExecuteTime:    pulumi.String("string"),
    				PlanCronTime:   pulumi.String("string"),
    				PlanTaskStatus: pulumi.String("string"),
    				SegmentNodeNum: pulumi.String("string"),
    			},
    			ScaleOut: &gpdb.DbInstancePlanPlanConfigScaleOutArgs{
    				ExecuteTime:    pulumi.String("string"),
    				PlanCronTime:   pulumi.String("string"),
    				PlanTaskStatus: pulumi.String("string"),
    				SegmentNodeNum: pulumi.String("string"),
    			},
    			ScaleUp: &gpdb.DbInstancePlanPlanConfigScaleUpArgs{
    				ExecuteTime:    pulumi.String("string"),
    				InstanceSpec:   pulumi.String("string"),
    				PlanCronTime:   pulumi.String("string"),
    				PlanTaskStatus: pulumi.String("string"),
    			},
    		},
    	},
    	PlanScheduleType: pulumi.String("string"),
    	PlanType:         pulumi.String("string"),
    	PlanDesc:         pulumi.String("string"),
    	PlanEndDate:      pulumi.String("string"),
    	PlanStartDate:    pulumi.String("string"),
    	Status:           pulumi.String("string"),
    })
    
    var dbInstancePlanResource = new DbInstancePlan("dbInstancePlanResource", DbInstancePlanArgs.builder()
        .dbInstanceId("string")
        .dbInstancePlanName("string")
        .planConfigs(DbInstancePlanPlanConfigArgs.builder()
            .pause(DbInstancePlanPlanConfigPauseArgs.builder()
                .executeTime("string")
                .planCronTime("string")
                .planTaskStatus("string")
                .build())
            .resume(DbInstancePlanPlanConfigResumeArgs.builder()
                .executeTime("string")
                .planCronTime("string")
                .planTaskStatus("string")
                .build())
            .scaleDown(DbInstancePlanPlanConfigScaleDownArgs.builder()
                .executeTime("string")
                .instanceSpec("string")
                .planCronTime("string")
                .planTaskStatus("string")
                .build())
            .scaleIn(DbInstancePlanPlanConfigScaleInArgs.builder()
                .executeTime("string")
                .planCronTime("string")
                .planTaskStatus("string")
                .segmentNodeNum("string")
                .build())
            .scaleOut(DbInstancePlanPlanConfigScaleOutArgs.builder()
                .executeTime("string")
                .planCronTime("string")
                .planTaskStatus("string")
                .segmentNodeNum("string")
                .build())
            .scaleUp(DbInstancePlanPlanConfigScaleUpArgs.builder()
                .executeTime("string")
                .instanceSpec("string")
                .planCronTime("string")
                .planTaskStatus("string")
                .build())
            .build())
        .planScheduleType("string")
        .planType("string")
        .planDesc("string")
        .planEndDate("string")
        .planStartDate("string")
        .status("string")
        .build());
    
    db_instance_plan_resource = alicloud.gpdb.DbInstancePlan("dbInstancePlanResource",
        db_instance_id="string",
        db_instance_plan_name="string",
        plan_configs=[{
            "pause": {
                "execute_time": "string",
                "plan_cron_time": "string",
                "plan_task_status": "string",
            },
            "resume": {
                "execute_time": "string",
                "plan_cron_time": "string",
                "plan_task_status": "string",
            },
            "scale_down": {
                "execute_time": "string",
                "instance_spec": "string",
                "plan_cron_time": "string",
                "plan_task_status": "string",
            },
            "scale_in": {
                "execute_time": "string",
                "plan_cron_time": "string",
                "plan_task_status": "string",
                "segment_node_num": "string",
            },
            "scale_out": {
                "execute_time": "string",
                "plan_cron_time": "string",
                "plan_task_status": "string",
                "segment_node_num": "string",
            },
            "scale_up": {
                "execute_time": "string",
                "instance_spec": "string",
                "plan_cron_time": "string",
                "plan_task_status": "string",
            },
        }],
        plan_schedule_type="string",
        plan_type="string",
        plan_desc="string",
        plan_end_date="string",
        plan_start_date="string",
        status="string")
    
    const dbInstancePlanResource = new alicloud.gpdb.DbInstancePlan("dbInstancePlanResource", {
        dbInstanceId: "string",
        dbInstancePlanName: "string",
        planConfigs: [{
            pause: {
                executeTime: "string",
                planCronTime: "string",
                planTaskStatus: "string",
            },
            resume: {
                executeTime: "string",
                planCronTime: "string",
                planTaskStatus: "string",
            },
            scaleDown: {
                executeTime: "string",
                instanceSpec: "string",
                planCronTime: "string",
                planTaskStatus: "string",
            },
            scaleIn: {
                executeTime: "string",
                planCronTime: "string",
                planTaskStatus: "string",
                segmentNodeNum: "string",
            },
            scaleOut: {
                executeTime: "string",
                planCronTime: "string",
                planTaskStatus: "string",
                segmentNodeNum: "string",
            },
            scaleUp: {
                executeTime: "string",
                instanceSpec: "string",
                planCronTime: "string",
                planTaskStatus: "string",
            },
        }],
        planScheduleType: "string",
        planType: "string",
        planDesc: "string",
        planEndDate: "string",
        planStartDate: "string",
        status: "string",
    });
    
    type: alicloud:gpdb:DbInstancePlan
    properties:
        dbInstanceId: string
        dbInstancePlanName: string
        planConfigs:
            - pause:
                executeTime: string
                planCronTime: string
                planTaskStatus: string
              resume:
                executeTime: string
                planCronTime: string
                planTaskStatus: string
              scaleDown:
                executeTime: string
                instanceSpec: string
                planCronTime: string
                planTaskStatus: string
              scaleIn:
                executeTime: string
                planCronTime: string
                planTaskStatus: string
                segmentNodeNum: string
              scaleOut:
                executeTime: string
                planCronTime: string
                planTaskStatus: string
                segmentNodeNum: string
              scaleUp:
                executeTime: string
                instanceSpec: string
                planCronTime: string
                planTaskStatus: string
        planDesc: string
        planEndDate: string
        planScheduleType: string
        planStartDate: string
        planType: string
        status: string
    

    DbInstancePlan 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 DbInstancePlan resource accepts the following input properties:

    DbInstanceId string
    The ID of the GPDB instance.
    DbInstancePlanName string
    The name of the Plan.
    PlanConfigs List<Pulumi.AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfig>
    The execution information of the plan. See plan_config below.
    PlanScheduleType string
    The execution mode of the plan. Valid values: Postpone, Regular.
    PlanType string
    The type of the Plan. Valid values: PauseResume, Resize.
    PlanDesc string
    The description of the Plan.
    PlanEndDate string
    The end time of the Plan.
    PlanStartDate string
    The start time of the Plan.
    Status string
    The Status of the Plan. Valid values: active, cancel.
    DbInstanceId string
    The ID of the GPDB instance.
    DbInstancePlanName string
    The name of the Plan.
    PlanConfigs []DbInstancePlanPlanConfigArgs
    The execution information of the plan. See plan_config below.
    PlanScheduleType string
    The execution mode of the plan. Valid values: Postpone, Regular.
    PlanType string
    The type of the Plan. Valid values: PauseResume, Resize.
    PlanDesc string
    The description of the Plan.
    PlanEndDate string
    The end time of the Plan.
    PlanStartDate string
    The start time of the Plan.
    Status string
    The Status of the Plan. Valid values: active, cancel.
    dbInstanceId String
    The ID of the GPDB instance.
    dbInstancePlanName String
    The name of the Plan.
    planConfigs List<DbInstancePlanPlanConfig>
    The execution information of the plan. See plan_config below.
    planScheduleType String
    The execution mode of the plan. Valid values: Postpone, Regular.
    planType String
    The type of the Plan. Valid values: PauseResume, Resize.
    planDesc String
    The description of the Plan.
    planEndDate String
    The end time of the Plan.
    planStartDate String
    The start time of the Plan.
    status String
    The Status of the Plan. Valid values: active, cancel.
    dbInstanceId string
    The ID of the GPDB instance.
    dbInstancePlanName string
    The name of the Plan.
    planConfigs DbInstancePlanPlanConfig[]
    The execution information of the plan. See plan_config below.
    planScheduleType string
    The execution mode of the plan. Valid values: Postpone, Regular.
    planType string
    The type of the Plan. Valid values: PauseResume, Resize.
    planDesc string
    The description of the Plan.
    planEndDate string
    The end time of the Plan.
    planStartDate string
    The start time of the Plan.
    status string
    The Status of the Plan. Valid values: active, cancel.
    db_instance_id str
    The ID of the GPDB instance.
    db_instance_plan_name str
    The name of the Plan.
    plan_configs Sequence[DbInstancePlanPlanConfigArgs]
    The execution information of the plan. See plan_config below.
    plan_schedule_type str
    The execution mode of the plan. Valid values: Postpone, Regular.
    plan_type str
    The type of the Plan. Valid values: PauseResume, Resize.
    plan_desc str
    The description of the Plan.
    plan_end_date str
    The end time of the Plan.
    plan_start_date str
    The start time of the Plan.
    status str
    The Status of the Plan. Valid values: active, cancel.
    dbInstanceId String
    The ID of the GPDB instance.
    dbInstancePlanName String
    The name of the Plan.
    planConfigs List<Property Map>
    The execution information of the plan. See plan_config below.
    planScheduleType String
    The execution mode of the plan. Valid values: Postpone, Regular.
    planType String
    The type of the Plan. Valid values: PauseResume, Resize.
    planDesc String
    The description of the Plan.
    planEndDate String
    The end time of the Plan.
    planStartDate String
    The start time of the Plan.
    status String
    The Status of the Plan. Valid values: active, cancel.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DbInstancePlan resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    PlanId string
    The ID of the plan.
    Id string
    The provider-assigned unique ID for this managed resource.
    PlanId string
    The ID of the plan.
    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    The ID of the plan.
    id string
    The provider-assigned unique ID for this managed resource.
    planId string
    The ID of the plan.
    id str
    The provider-assigned unique ID for this managed resource.
    plan_id str
    The ID of the plan.
    id String
    The provider-assigned unique ID for this managed resource.
    planId String
    The ID of the plan.

    Look up Existing DbInstancePlan Resource

    Get an existing DbInstancePlan 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?: DbInstancePlanState, opts?: CustomResourceOptions): DbInstancePlan
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            db_instance_id: Optional[str] = None,
            db_instance_plan_name: Optional[str] = None,
            plan_configs: Optional[Sequence[DbInstancePlanPlanConfigArgs]] = None,
            plan_desc: Optional[str] = None,
            plan_end_date: Optional[str] = None,
            plan_id: Optional[str] = None,
            plan_schedule_type: Optional[str] = None,
            plan_start_date: Optional[str] = None,
            plan_type: Optional[str] = None,
            status: Optional[str] = None) -> DbInstancePlan
    func GetDbInstancePlan(ctx *Context, name string, id IDInput, state *DbInstancePlanState, opts ...ResourceOption) (*DbInstancePlan, error)
    public static DbInstancePlan Get(string name, Input<string> id, DbInstancePlanState? state, CustomResourceOptions? opts = null)
    public static DbInstancePlan get(String name, Output<String> id, DbInstancePlanState 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.
    The following state arguments are supported:
    DbInstanceId string
    The ID of the GPDB instance.
    DbInstancePlanName string
    The name of the Plan.
    PlanConfigs List<Pulumi.AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfig>
    The execution information of the plan. See plan_config below.
    PlanDesc string
    The description of the Plan.
    PlanEndDate string
    The end time of the Plan.
    PlanId string
    The ID of the plan.
    PlanScheduleType string
    The execution mode of the plan. Valid values: Postpone, Regular.
    PlanStartDate string
    The start time of the Plan.
    PlanType string
    The type of the Plan. Valid values: PauseResume, Resize.
    Status string
    The Status of the Plan. Valid values: active, cancel.
    DbInstanceId string
    The ID of the GPDB instance.
    DbInstancePlanName string
    The name of the Plan.
    PlanConfigs []DbInstancePlanPlanConfigArgs
    The execution information of the plan. See plan_config below.
    PlanDesc string
    The description of the Plan.
    PlanEndDate string
    The end time of the Plan.
    PlanId string
    The ID of the plan.
    PlanScheduleType string
    The execution mode of the plan. Valid values: Postpone, Regular.
    PlanStartDate string
    The start time of the Plan.
    PlanType string
    The type of the Plan. Valid values: PauseResume, Resize.
    Status string
    The Status of the Plan. Valid values: active, cancel.
    dbInstanceId String
    The ID of the GPDB instance.
    dbInstancePlanName String
    The name of the Plan.
    planConfigs List<DbInstancePlanPlanConfig>
    The execution information of the plan. See plan_config below.
    planDesc String
    The description of the Plan.
    planEndDate String
    The end time of the Plan.
    planId String
    The ID of the plan.
    planScheduleType String
    The execution mode of the plan. Valid values: Postpone, Regular.
    planStartDate String
    The start time of the Plan.
    planType String
    The type of the Plan. Valid values: PauseResume, Resize.
    status String
    The Status of the Plan. Valid values: active, cancel.
    dbInstanceId string
    The ID of the GPDB instance.
    dbInstancePlanName string
    The name of the Plan.
    planConfigs DbInstancePlanPlanConfig[]
    The execution information of the plan. See plan_config below.
    planDesc string
    The description of the Plan.
    planEndDate string
    The end time of the Plan.
    planId string
    The ID of the plan.
    planScheduleType string
    The execution mode of the plan. Valid values: Postpone, Regular.
    planStartDate string
    The start time of the Plan.
    planType string
    The type of the Plan. Valid values: PauseResume, Resize.
    status string
    The Status of the Plan. Valid values: active, cancel.
    db_instance_id str
    The ID of the GPDB instance.
    db_instance_plan_name str
    The name of the Plan.
    plan_configs Sequence[DbInstancePlanPlanConfigArgs]
    The execution information of the plan. See plan_config below.
    plan_desc str
    The description of the Plan.
    plan_end_date str
    The end time of the Plan.
    plan_id str
    The ID of the plan.
    plan_schedule_type str
    The execution mode of the plan. Valid values: Postpone, Regular.
    plan_start_date str
    The start time of the Plan.
    plan_type str
    The type of the Plan. Valid values: PauseResume, Resize.
    status str
    The Status of the Plan. Valid values: active, cancel.
    dbInstanceId String
    The ID of the GPDB instance.
    dbInstancePlanName String
    The name of the Plan.
    planConfigs List<Property Map>
    The execution information of the plan. See plan_config below.
    planDesc String
    The description of the Plan.
    planEndDate String
    The end time of the Plan.
    planId String
    The ID of the plan.
    planScheduleType String
    The execution mode of the plan. Valid values: Postpone, Regular.
    planStartDate String
    The start time of the Plan.
    planType String
    The type of the Plan. Valid values: PauseResume, Resize.
    status String
    The Status of the Plan. Valid values: active, cancel.

    Supporting Types

    DbInstancePlanPlanConfig, DbInstancePlanPlanConfigArgs

    Pause Pulumi.AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigPause
    Pause instance plan config. See pause below.
    Resume Pulumi.AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigResume
    Resume instance plan config. See resume below.
    ScaleDown Pulumi.AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigScaleDown
    Scale down instance plan config. See scale_down below.
    ScaleIn Pulumi.AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigScaleIn
    Scale In instance plan config. See scale_in below.
    ScaleOut Pulumi.AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigScaleOut
    Scale out instance plan config. See scale_out below.
    ScaleUp Pulumi.AliCloud.Gpdb.Inputs.DbInstancePlanPlanConfigScaleUp
    Scale up instance plan config. See scale_up below.
    Pause DbInstancePlanPlanConfigPause
    Pause instance plan config. See pause below.
    Resume DbInstancePlanPlanConfigResume
    Resume instance plan config. See resume below.
    ScaleDown DbInstancePlanPlanConfigScaleDown
    Scale down instance plan config. See scale_down below.
    ScaleIn DbInstancePlanPlanConfigScaleIn
    Scale In instance plan config. See scale_in below.
    ScaleOut DbInstancePlanPlanConfigScaleOut
    Scale out instance plan config. See scale_out below.
    ScaleUp DbInstancePlanPlanConfigScaleUp
    Scale up instance plan config. See scale_up below.
    pause DbInstancePlanPlanConfigPause
    Pause instance plan config. See pause below.
    resume DbInstancePlanPlanConfigResume
    Resume instance plan config. See resume below.
    scaleDown DbInstancePlanPlanConfigScaleDown
    Scale down instance plan config. See scale_down below.
    scaleIn DbInstancePlanPlanConfigScaleIn
    Scale In instance plan config. See scale_in below.
    scaleOut DbInstancePlanPlanConfigScaleOut
    Scale out instance plan config. See scale_out below.
    scaleUp DbInstancePlanPlanConfigScaleUp
    Scale up instance plan config. See scale_up below.
    pause DbInstancePlanPlanConfigPause
    Pause instance plan config. See pause below.
    resume DbInstancePlanPlanConfigResume
    Resume instance plan config. See resume below.
    scaleDown DbInstancePlanPlanConfigScaleDown
    Scale down instance plan config. See scale_down below.
    scaleIn DbInstancePlanPlanConfigScaleIn
    Scale In instance plan config. See scale_in below.
    scaleOut DbInstancePlanPlanConfigScaleOut
    Scale out instance plan config. See scale_out below.
    scaleUp DbInstancePlanPlanConfigScaleUp
    Scale up instance plan config. See scale_up below.
    pause DbInstancePlanPlanConfigPause
    Pause instance plan config. See pause below.
    resume DbInstancePlanPlanConfigResume
    Resume instance plan config. See resume below.
    scale_down DbInstancePlanPlanConfigScaleDown
    Scale down instance plan config. See scale_down below.
    scale_in DbInstancePlanPlanConfigScaleIn
    Scale In instance plan config. See scale_in below.
    scale_out DbInstancePlanPlanConfigScaleOut
    Scale out instance plan config. See scale_out below.
    scale_up DbInstancePlanPlanConfigScaleUp
    Scale up instance plan config. See scale_up below.
    pause Property Map
    Pause instance plan config. See pause below.
    resume Property Map
    Resume instance plan config. See resume below.
    scaleDown Property Map
    Scale down instance plan config. See scale_down below.
    scaleIn Property Map
    Scale In instance plan config. See scale_in below.
    scaleOut Property Map
    Scale out instance plan config. See scale_out below.
    scaleUp Property Map
    Scale up instance plan config. See scale_up below.

    DbInstancePlanPlanConfigPause, DbInstancePlanPlanConfigPauseArgs

    ExecuteTime string
    The executed time of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    ExecuteTime string
    The executed time of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    executeTime String
    The executed time of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.
    executeTime string
    The executed time of the Plan.
    planCronTime string
    The Cron Time of the plan.
    planTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    execute_time str
    The executed time of the Plan.
    plan_cron_time str
    The Cron Time of the plan.
    plan_task_status str
    (Available since v1.231.0) The status of the plan task.
    executeTime String
    The executed time of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.

    DbInstancePlanPlanConfigResume, DbInstancePlanPlanConfigResumeArgs

    ExecuteTime string
    The executed time of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    ExecuteTime string
    The executed time of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    executeTime String
    The executed time of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.
    executeTime string
    The executed time of the Plan.
    planCronTime string
    The Cron Time of the plan.
    planTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    execute_time str
    The executed time of the Plan.
    plan_cron_time str
    The Cron Time of the plan.
    plan_task_status str
    (Available since v1.231.0) The status of the plan task.
    executeTime String
    The executed time of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.

    DbInstancePlanPlanConfigScaleDown, DbInstancePlanPlanConfigScaleDownArgs

    ExecuteTime string
    The executed time of the Plan.
    InstanceSpec string
    The specification of segment nodes of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    ExecuteTime string
    The executed time of the Plan.
    InstanceSpec string
    The specification of segment nodes of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    executeTime String
    The executed time of the Plan.
    instanceSpec String
    The specification of segment nodes of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.
    executeTime string
    The executed time of the Plan.
    instanceSpec string
    The specification of segment nodes of the Plan.
    planCronTime string
    The Cron Time of the plan.
    planTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    execute_time str
    The executed time of the Plan.
    instance_spec str
    The specification of segment nodes of the Plan.
    plan_cron_time str
    The Cron Time of the plan.
    plan_task_status str
    (Available since v1.231.0) The status of the plan task.
    executeTime String
    The executed time of the Plan.
    instanceSpec String
    The specification of segment nodes of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.

    DbInstancePlanPlanConfigScaleIn, DbInstancePlanPlanConfigScaleInArgs

    ExecuteTime string
    The executed time of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    SegmentNodeNum string
    The segment Node Num of the Plan.
    ExecuteTime string
    The executed time of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    SegmentNodeNum string
    The segment Node Num of the Plan.
    executeTime String
    The executed time of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.
    segmentNodeNum String
    The segment Node Num of the Plan.
    executeTime string
    The executed time of the Plan.
    planCronTime string
    The Cron Time of the plan.
    planTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    segmentNodeNum string
    The segment Node Num of the Plan.
    execute_time str
    The executed time of the Plan.
    plan_cron_time str
    The Cron Time of the plan.
    plan_task_status str
    (Available since v1.231.0) The status of the plan task.
    segment_node_num str
    The segment Node Num of the Plan.
    executeTime String
    The executed time of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.
    segmentNodeNum String
    The segment Node Num of the Plan.

    DbInstancePlanPlanConfigScaleOut, DbInstancePlanPlanConfigScaleOutArgs

    ExecuteTime string
    The executed time of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    SegmentNodeNum string
    The segment Node Num of the Plan.
    ExecuteTime string
    The executed time of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    SegmentNodeNum string
    The segment Node Num of the Plan.
    executeTime String
    The executed time of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.
    segmentNodeNum String
    The segment Node Num of the Plan.
    executeTime string
    The executed time of the Plan.
    planCronTime string
    The Cron Time of the plan.
    planTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    segmentNodeNum string
    The segment Node Num of the Plan.
    execute_time str
    The executed time of the Plan.
    plan_cron_time str
    The Cron Time of the plan.
    plan_task_status str
    (Available since v1.231.0) The status of the plan task.
    segment_node_num str
    The segment Node Num of the Plan.
    executeTime String
    The executed time of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.
    segmentNodeNum String
    The segment Node Num of the Plan.

    DbInstancePlanPlanConfigScaleUp, DbInstancePlanPlanConfigScaleUpArgs

    ExecuteTime string
    The executed time of the Plan.
    InstanceSpec string
    The specification of segment nodes of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    ExecuteTime string
    The executed time of the Plan.
    InstanceSpec string
    The specification of segment nodes of the Plan.
    PlanCronTime string
    The Cron Time of the plan.
    PlanTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    executeTime String
    The executed time of the Plan.
    instanceSpec String
    The specification of segment nodes of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.
    executeTime string
    The executed time of the Plan.
    instanceSpec string
    The specification of segment nodes of the Plan.
    planCronTime string
    The Cron Time of the plan.
    planTaskStatus string
    (Available since v1.231.0) The status of the plan task.
    execute_time str
    The executed time of the Plan.
    instance_spec str
    The specification of segment nodes of the Plan.
    plan_cron_time str
    The Cron Time of the plan.
    plan_task_status str
    (Available since v1.231.0) The status of the plan task.
    executeTime String
    The executed time of the Plan.
    instanceSpec String
    The specification of segment nodes of the Plan.
    planCronTime String
    The Cron Time of the plan.
    planTaskStatus String
    (Available since v1.231.0) The status of the plan task.

    Import

    GPDB DB Instance Plan can be imported using the id, e.g.

    $ pulumi import alicloud:gpdb/dbInstancePlan:DbInstancePlan example <db_instance_id>:<plan_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi