alicloud.gpdb.DbInstancePlan
Explore with Pulumi AI
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:
- Db
Instance stringId - The ID of the GPDB instance.
- Db
Instance stringPlan Name - The name of the Plan.
- Plan
Configs List<Pulumi.Ali Cloud. Gpdb. Inputs. Db Instance Plan Plan Config> - The execution information of the plan. See
plan_config
below. - Plan
Schedule stringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - Plan
Type string - The type of the Plan. Valid values:
PauseResume
,Resize
. - Plan
Desc string - The description of the Plan.
- Plan
End stringDate - The end time of the Plan.
- Plan
Start stringDate - The start time of the Plan.
- Status string
- The Status of the Plan. Valid values:
active
,cancel
.
- Db
Instance stringId - The ID of the GPDB instance.
- Db
Instance stringPlan Name - The name of the Plan.
- Plan
Configs []DbInstance Plan Plan Config Args - The execution information of the plan. See
plan_config
below. - Plan
Schedule stringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - Plan
Type string - The type of the Plan. Valid values:
PauseResume
,Resize
. - Plan
Desc string - The description of the Plan.
- Plan
End stringDate - The end time of the Plan.
- Plan
Start stringDate - The start time of the Plan.
- Status string
- The Status of the Plan. Valid values:
active
,cancel
.
- db
Instance StringId - The ID of the GPDB instance.
- db
Instance StringPlan Name - The name of the Plan.
- plan
Configs List<DbInstance Plan Plan Config> - The execution information of the plan. See
plan_config
below. - plan
Schedule StringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - plan
Type String - The type of the Plan. Valid values:
PauseResume
,Resize
. - plan
Desc String - The description of the Plan.
- plan
End StringDate - The end time of the Plan.
- plan
Start StringDate - The start time of the Plan.
- status String
- The Status of the Plan. Valid values:
active
,cancel
.
- db
Instance stringId - The ID of the GPDB instance.
- db
Instance stringPlan Name - The name of the Plan.
- plan
Configs DbInstance Plan Plan Config[] - The execution information of the plan. See
plan_config
below. - plan
Schedule stringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - plan
Type string - The type of the Plan. Valid values:
PauseResume
,Resize
. - plan
Desc string - The description of the Plan.
- plan
End stringDate - The end time of the Plan.
- plan
Start stringDate - The start time of the Plan.
- status string
- The Status of the Plan. Valid values:
active
,cancel
.
- db_
instance_ strid - The ID of the GPDB instance.
- db_
instance_ strplan_ name - The name of the Plan.
- plan_
configs Sequence[DbInstance Plan Plan Config Args] - The execution information of the plan. See
plan_config
below. - plan_
schedule_ strtype - 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_ strdate - The end time of the Plan.
- plan_
start_ strdate - The start time of the Plan.
- status str
- The Status of the Plan. Valid values:
active
,cancel
.
- db
Instance StringId - The ID of the GPDB instance.
- db
Instance StringPlan Name - The name of the Plan.
- plan
Configs List<Property Map> - The execution information of the plan. See
plan_config
below. - plan
Schedule StringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - plan
Type String - The type of the Plan. Valid values:
PauseResume
,Resize
. - plan
Desc String - The description of the Plan.
- plan
End StringDate - The end time of the Plan.
- plan
Start StringDate - 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:
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.
- Db
Instance stringId - The ID of the GPDB instance.
- Db
Instance stringPlan Name - The name of the Plan.
- Plan
Configs List<Pulumi.Ali Cloud. Gpdb. Inputs. Db Instance Plan Plan Config> - The execution information of the plan. See
plan_config
below. - Plan
Desc string - The description of the Plan.
- Plan
End stringDate - The end time of the Plan.
- Plan
Id string - The ID of the plan.
- Plan
Schedule stringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - Plan
Start stringDate - The start time of the Plan.
- Plan
Type string - The type of the Plan. Valid values:
PauseResume
,Resize
. - Status string
- The Status of the Plan. Valid values:
active
,cancel
.
- Db
Instance stringId - The ID of the GPDB instance.
- Db
Instance stringPlan Name - The name of the Plan.
- Plan
Configs []DbInstance Plan Plan Config Args - The execution information of the plan. See
plan_config
below. - Plan
Desc string - The description of the Plan.
- Plan
End stringDate - The end time of the Plan.
- Plan
Id string - The ID of the plan.
- Plan
Schedule stringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - Plan
Start stringDate - The start time of the Plan.
- Plan
Type string - The type of the Plan. Valid values:
PauseResume
,Resize
. - Status string
- The Status of the Plan. Valid values:
active
,cancel
.
- db
Instance StringId - The ID of the GPDB instance.
- db
Instance StringPlan Name - The name of the Plan.
- plan
Configs List<DbInstance Plan Plan Config> - The execution information of the plan. See
plan_config
below. - plan
Desc String - The description of the Plan.
- plan
End StringDate - The end time of the Plan.
- plan
Id String - The ID of the plan.
- plan
Schedule StringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - plan
Start StringDate - The start time of the Plan.
- plan
Type String - The type of the Plan. Valid values:
PauseResume
,Resize
. - status String
- The Status of the Plan. Valid values:
active
,cancel
.
- db
Instance stringId - The ID of the GPDB instance.
- db
Instance stringPlan Name - The name of the Plan.
- plan
Configs DbInstance Plan Plan Config[] - The execution information of the plan. See
plan_config
below. - plan
Desc string - The description of the Plan.
- plan
End stringDate - The end time of the Plan.
- plan
Id string - The ID of the plan.
- plan
Schedule stringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - plan
Start stringDate - The start time of the Plan.
- plan
Type string - The type of the Plan. Valid values:
PauseResume
,Resize
. - status string
- The Status of the Plan. Valid values:
active
,cancel
.
- db_
instance_ strid - The ID of the GPDB instance.
- db_
instance_ strplan_ name - The name of the Plan.
- plan_
configs Sequence[DbInstance Plan Plan Config Args] - The execution information of the plan. See
plan_config
below. - plan_
desc str - The description of the Plan.
- plan_
end_ strdate - The end time of the Plan.
- plan_
id str - The ID of the plan.
- plan_
schedule_ strtype - The execution mode of the plan. Valid values:
Postpone
,Regular
. - plan_
start_ strdate - 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
.
- db
Instance StringId - The ID of the GPDB instance.
- db
Instance StringPlan Name - The name of the Plan.
- plan
Configs List<Property Map> - The execution information of the plan. See
plan_config
below. - plan
Desc String - The description of the Plan.
- plan
End StringDate - The end time of the Plan.
- plan
Id String - The ID of the plan.
- plan
Schedule StringType - The execution mode of the plan. Valid values:
Postpone
,Regular
. - plan
Start StringDate - The start time of the Plan.
- plan
Type 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.
Ali Cloud. Gpdb. Inputs. Db Instance Plan Plan Config Pause - Pause instance plan config. See
pause
below. - Resume
Pulumi.
Ali Cloud. Gpdb. Inputs. Db Instance Plan Plan Config Resume - Resume instance plan config. See
resume
below. - Scale
Down Pulumi.Ali Cloud. Gpdb. Inputs. Db Instance Plan Plan Config Scale Down - Scale down instance plan config. See
scale_down
below. - Scale
In Pulumi.Ali Cloud. Gpdb. Inputs. Db Instance Plan Plan Config Scale In - Scale In instance plan config. See
scale_in
below. - Scale
Out Pulumi.Ali Cloud. Gpdb. Inputs. Db Instance Plan Plan Config Scale Out - Scale out instance plan config. See
scale_out
below. - Scale
Up Pulumi.Ali Cloud. Gpdb. Inputs. Db Instance Plan Plan Config Scale Up - Scale up instance plan config. See
scale_up
below.
- Pause
Db
Instance Plan Plan Config Pause - Pause instance plan config. See
pause
below. - Resume
Db
Instance Plan Plan Config Resume - Resume instance plan config. See
resume
below. - Scale
Down DbInstance Plan Plan Config Scale Down - Scale down instance plan config. See
scale_down
below. - Scale
In DbInstance Plan Plan Config Scale In - Scale In instance plan config. See
scale_in
below. - Scale
Out DbInstance Plan Plan Config Scale Out - Scale out instance plan config. See
scale_out
below. - Scale
Up DbInstance Plan Plan Config Scale Up - Scale up instance plan config. See
scale_up
below.
- pause
Db
Instance Plan Plan Config Pause - Pause instance plan config. See
pause
below. - resume
Db
Instance Plan Plan Config Resume - Resume instance plan config. See
resume
below. - scale
Down DbInstance Plan Plan Config Scale Down - Scale down instance plan config. See
scale_down
below. - scale
In DbInstance Plan Plan Config Scale In - Scale In instance plan config. See
scale_in
below. - scale
Out DbInstance Plan Plan Config Scale Out - Scale out instance plan config. See
scale_out
below. - scale
Up DbInstance Plan Plan Config Scale Up - Scale up instance plan config. See
scale_up
below.
- pause
Db
Instance Plan Plan Config Pause - Pause instance plan config. See
pause
below. - resume
Db
Instance Plan Plan Config Resume - Resume instance plan config. See
resume
below. - scale
Down DbInstance Plan Plan Config Scale Down - Scale down instance plan config. See
scale_down
below. - scale
In DbInstance Plan Plan Config Scale In - Scale In instance plan config. See
scale_in
below. - scale
Out DbInstance Plan Plan Config Scale Out - Scale out instance plan config. See
scale_out
below. - scale
Up DbInstance Plan Plan Config Scale Up - Scale up instance plan config. See
scale_up
below.
- pause
Db
Instance Plan Plan Config Pause - Pause instance plan config. See
pause
below. - resume
Db
Instance Plan Plan Config Resume - Resume instance plan config. See
resume
below. - scale_
down DbInstance Plan Plan Config Scale Down - Scale down instance plan config. See
scale_down
below. - scale_
in DbInstance Plan Plan Config Scale In - Scale In instance plan config. See
scale_in
below. - scale_
out DbInstance Plan Plan Config Scale Out - Scale out instance plan config. See
scale_out
below. - scale_
up DbInstance Plan Plan Config Scale Up - 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. - scale
Down Property Map - Scale down instance plan config. See
scale_down
below. - scale
In Property Map - Scale In instance plan config. See
scale_in
below. - scale
Out Property Map - Scale out instance plan config. See
scale_out
below. - scale
Up Property Map - Scale up instance plan config. See
scale_up
below.
DbInstancePlanPlanConfigPause, DbInstancePlanPlanConfigPauseArgs
- Execute
Time string - The executed time of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- Execute
Time string - The executed time of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- execute
Time String - The executed time of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
- execute
Time string - The executed time of the Plan.
- plan
Cron stringTime - The Cron Time of the plan.
- plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- execute_
time str - The executed time of the Plan.
- plan_
cron_ strtime - The Cron Time of the plan.
- plan_
task_ strstatus - (Available since v1.231.0) The status of the plan task.
- execute
Time String - The executed time of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
DbInstancePlanPlanConfigResume, DbInstancePlanPlanConfigResumeArgs
- Execute
Time string - The executed time of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- Execute
Time string - The executed time of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- execute
Time String - The executed time of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
- execute
Time string - The executed time of the Plan.
- plan
Cron stringTime - The Cron Time of the plan.
- plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- execute_
time str - The executed time of the Plan.
- plan_
cron_ strtime - The Cron Time of the plan.
- plan_
task_ strstatus - (Available since v1.231.0) The status of the plan task.
- execute
Time String - The executed time of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
DbInstancePlanPlanConfigScaleDown, DbInstancePlanPlanConfigScaleDownArgs
- Execute
Time string - The executed time of the Plan.
- Instance
Spec string - The specification of segment nodes of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- Execute
Time string - The executed time of the Plan.
- Instance
Spec string - The specification of segment nodes of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- execute
Time String - The executed time of the Plan.
- instance
Spec String - The specification of segment nodes of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
- execute
Time string - The executed time of the Plan.
- instance
Spec string - The specification of segment nodes of the Plan.
- plan
Cron stringTime - The Cron Time of the plan.
- plan
Task stringStatus - (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_ strtime - The Cron Time of the plan.
- plan_
task_ strstatus - (Available since v1.231.0) The status of the plan task.
- execute
Time String - The executed time of the Plan.
- instance
Spec String - The specification of segment nodes of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
DbInstancePlanPlanConfigScaleIn, DbInstancePlanPlanConfigScaleInArgs
- Execute
Time string - The executed time of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- Segment
Node stringNum - The segment Node Num of the Plan.
- Execute
Time string - The executed time of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- Segment
Node stringNum - The segment Node Num of the Plan.
- execute
Time String - The executed time of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
- segment
Node StringNum - The segment Node Num of the Plan.
- execute
Time string - The executed time of the Plan.
- plan
Cron stringTime - The Cron Time of the plan.
- plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- segment
Node stringNum - The segment Node Num of the Plan.
- execute_
time str - The executed time of the Plan.
- plan_
cron_ strtime - The Cron Time of the plan.
- plan_
task_ strstatus - (Available since v1.231.0) The status of the plan task.
- segment_
node_ strnum - The segment Node Num of the Plan.
- execute
Time String - The executed time of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
- segment
Node StringNum - The segment Node Num of the Plan.
DbInstancePlanPlanConfigScaleOut, DbInstancePlanPlanConfigScaleOutArgs
- Execute
Time string - The executed time of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- Segment
Node stringNum - The segment Node Num of the Plan.
- Execute
Time string - The executed time of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- Segment
Node stringNum - The segment Node Num of the Plan.
- execute
Time String - The executed time of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
- segment
Node StringNum - The segment Node Num of the Plan.
- execute
Time string - The executed time of the Plan.
- plan
Cron stringTime - The Cron Time of the plan.
- plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- segment
Node stringNum - The segment Node Num of the Plan.
- execute_
time str - The executed time of the Plan.
- plan_
cron_ strtime - The Cron Time of the plan.
- plan_
task_ strstatus - (Available since v1.231.0) The status of the plan task.
- segment_
node_ strnum - The segment Node Num of the Plan.
- execute
Time String - The executed time of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
- segment
Node StringNum - The segment Node Num of the Plan.
DbInstancePlanPlanConfigScaleUp, DbInstancePlanPlanConfigScaleUpArgs
- Execute
Time string - The executed time of the Plan.
- Instance
Spec string - The specification of segment nodes of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- Execute
Time string - The executed time of the Plan.
- Instance
Spec string - The specification of segment nodes of the Plan.
- Plan
Cron stringTime - The Cron Time of the plan.
- Plan
Task stringStatus - (Available since v1.231.0) The status of the plan task.
- execute
Time String - The executed time of the Plan.
- instance
Spec String - The specification of segment nodes of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (Available since v1.231.0) The status of the plan task.
- execute
Time string - The executed time of the Plan.
- instance
Spec string - The specification of segment nodes of the Plan.
- plan
Cron stringTime - The Cron Time of the plan.
- plan
Task stringStatus - (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_ strtime - The Cron Time of the plan.
- plan_
task_ strstatus - (Available since v1.231.0) The status of the plan task.
- execute
Time String - The executed time of the Plan.
- instance
Spec String - The specification of segment nodes of the Plan.
- plan
Cron StringTime - The Cron Time of the plan.
- plan
Task StringStatus - (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.