Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.dts.getSubscriptionJobs
Explore with Pulumi AI
This data source provides the Dts Subscription Jobs of the current Alibaba Cloud user.
NOTE: Available in v1.138.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.dts.getSubscriptionJobs({});
export const dtsSubscriptionJobId1 = ids.then(ids => ids.jobs?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.dts.get_subscription_jobs()
pulumi.export("dtsSubscriptionJobId1", ids.jobs[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/dts"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ids, err := dts.GetSubscriptionJobs(ctx, &dts.GetSubscriptionJobsArgs{}, nil)
if err != nil {
return err
}
ctx.Export("dtsSubscriptionJobId1", ids.Jobs[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Dts.GetSubscriptionJobs.Invoke();
return new Dictionary<string, object?>
{
["dtsSubscriptionJobId1"] = ids.Apply(getSubscriptionJobsResult => getSubscriptionJobsResult.Jobs[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.dts.DtsFunctions;
import com.pulumi.alicloud.dts.inputs.GetSubscriptionJobsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var ids = DtsFunctions.getSubscriptionJobs();
ctx.export("dtsSubscriptionJobId1", ids.applyValue(getSubscriptionJobsResult -> getSubscriptionJobsResult.jobs()[0].id()));
}
}
variables:
ids:
fn::invoke:
function: alicloud:dts:getSubscriptionJobs
arguments: {}
outputs:
dtsSubscriptionJobId1: ${ids.jobs[0].id}
Using getSubscriptionJobs
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 getSubscriptionJobs(args: GetSubscriptionJobsArgs, opts?: InvokeOptions): Promise<GetSubscriptionJobsResult>
function getSubscriptionJobsOutput(args: GetSubscriptionJobsOutputArgs, opts?: InvokeOptions): Output<GetSubscriptionJobsResult>
def get_subscription_jobs(enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetSubscriptionJobsResult
def get_subscription_jobs_output(enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSubscriptionJobsResult]
func GetSubscriptionJobs(ctx *Context, args *GetSubscriptionJobsArgs, opts ...InvokeOption) (*GetSubscriptionJobsResult, error)
func GetSubscriptionJobsOutput(ctx *Context, args *GetSubscriptionJobsOutputArgs, opts ...InvokeOption) GetSubscriptionJobsResultOutput
> Note: This function is named GetSubscriptionJobs
in the Go SDK.
public static class GetSubscriptionJobs
{
public static Task<GetSubscriptionJobsResult> InvokeAsync(GetSubscriptionJobsArgs args, InvokeOptions? opts = null)
public static Output<GetSubscriptionJobsResult> Invoke(GetSubscriptionJobsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSubscriptionJobsResult> getSubscriptionJobs(GetSubscriptionJobsArgs args, InvokeOptions options)
public static Output<GetSubscriptionJobsResult> getSubscriptionJobs(GetSubscriptionJobsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:dts/getSubscriptionJobs:getSubscriptionJobs
arguments:
# arguments dictionary
The following arguments are supported:
- Enable
Details bool - Ids
Changes to this property will trigger replacement.
- A list of Subscription Job IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by subscription job name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- The status of the task. Valid values:
Abnormal
,Downgrade
,Locked
,Normal
,NotStarted
,NotStarted
,PreCheckPass
,PrecheckFailed
,Prechecking
,Retrying
,Starting
,Upgrade
. - Dictionary<string, string>
- Enable
Details bool - Ids
Changes to this property will trigger replacement.
- A list of Subscription Job IDs.
- Name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by subscription job name.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status
Changes to this property will trigger replacement.
- The status of the task. Valid values:
Abnormal
,Downgrade
,Locked
,Normal
,NotStarted
,NotStarted
,PreCheckPass
,PrecheckFailed
,Prechecking
,Retrying
,Starting
,Upgrade
. - map[string]string
- enable
Details Boolean - ids
Changes to this property will trigger replacement.
- A list of Subscription Job IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by subscription job name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the task. Valid values:
Abnormal
,Downgrade
,Locked
,Normal
,NotStarted
,NotStarted
,PreCheckPass
,PrecheckFailed
,Prechecking
,Retrying
,Starting
,Upgrade
. - Map<String,String>
- enable
Details boolean - ids
Changes to this property will trigger replacement.
- A list of Subscription Job IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by subscription job name.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the task. Valid values:
Abnormal
,Downgrade
,Locked
,Normal
,NotStarted
,NotStarted
,PreCheckPass
,PrecheckFailed
,Prechecking
,Retrying
,Starting
,Upgrade
. - {[key: string]: string}
- enable_
details bool - ids
Changes to this property will trigger replacement.
- A list of Subscription Job IDs.
- name_
regex Changes to this property will trigger replacement.
- A regex string to filter results by subscription job name.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the task. Valid values:
Abnormal
,Downgrade
,Locked
,Normal
,NotStarted
,NotStarted
,PreCheckPass
,PrecheckFailed
,Prechecking
,Retrying
,Starting
,Upgrade
. - Mapping[str, str]
- enable
Details Boolean - ids
Changes to this property will trigger replacement.
- A list of Subscription Job IDs.
- name
Regex Changes to this property will trigger replacement.
- A regex string to filter results by subscription job name.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status
Changes to this property will trigger replacement.
- The status of the task. Valid values:
Abnormal
,Downgrade
,Locked
,Normal
,NotStarted
,NotStarted
,PreCheckPass
,PrecheckFailed
,Prechecking
,Retrying
,Starting
,Upgrade
. - Map<String>
getSubscriptionJobs Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Jobs
List<Pulumi.
Ali Cloud. Dts. Outputs. Get Subscription Jobs Job> - Names List<string>
- Enable
Details bool - Name
Regex string - Output
File string - Status string
- Dictionary<string, string>
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Jobs
[]Get
Subscription Jobs Job - Names []string
- Enable
Details bool - Name
Regex string - Output
File string - Status string
- map[string]string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- jobs
List<Get
Subscription Jobs Job> - names List<String>
- enable
Details Boolean - name
Regex String - output
File String - status String
- Map<String,String>
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- jobs
Get
Subscription Jobs Job[] - names string[]
- enable
Details boolean - name
Regex string - output
File string - status string
- {[key: string]: string}
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- jobs
Sequence[Get
Subscription Jobs Job] - names Sequence[str]
- enable_
details bool - name_
regex str - output_
file str - status str
- Mapping[str, str]
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- jobs List<Property Map>
- names List<String>
- enable
Details Boolean - name
Regex String - output
File String - status String
- Map<String>
Supporting Types
GetSubscriptionJobsJob
- Checkpoint
This property is required. string - Subscription start time in Unix timestamp format.
- Create
Time This property is required. string - The creation time of subscription job instance.
- Db
List This property is required. string - Subscription object, in the format of JSON strings.
- Dts
Instance Id This property is required. string - The ID of subscription job instance.
- Dts
Job Id This property is required. string - The ID of subscription job instance.
- Dts
Job Name This property is required. string - The name of subscription job instance.
- Expire
Time This property is required. string - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- Id
This property is required. string - The ID of the Subscription Job.
- Payment
Type This property is required. string - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - Source
Endpoint Database Name This property is required. string - To subscribe to the name of the database.
- Source
Endpoint Engine Name This property is required. string - The source database type value is MySQL or Oracle.
- Source
Endpoint Instance Id This property is required. string - The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
- Source
Endpoint Instance Type This property is required. string - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - Source
Endpoint Ip This property is required. string - The IP of source endpoint.
- Source
Endpoint Oracle Sid This property is required. string - The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
- Source
Endpoint Owner Id This property is required. string - The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
- Source
Endpoint Port This property is required. string - The port of source database.
- Source
Endpoint Region This property is required. string - The region of source database.
- Source
Endpoint Role This property is required. string - Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
- Source
Endpoint User Name This property is required. string - The username of source database instance account.
- Status
This property is required. string - The status of the task. Valid values:
NotStarted
,Normal
,Abnormal
. When a task created, it is in this state ofNotStarted
. You can specify this state ofNormal
to start the job, and specify this state ofAbnormal
to stop the job. - Subscription
Data Type Ddl This property is required. bool - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - Subscription
Data Type Dml This property is required. bool - Whether to subscribe the DML type of data. Valid values:
true
,false
. - Subscription
Hosts This property is required. List<Pulumi.Ali Cloud. Dts. Inputs. Get Subscription Jobs Job Subscription Host> - Network information.
- Subscription
Instance Network Type This property is required. string - The type of subscription instance network. Valid value:
classic
,vpc
. - Subscription
Instance Vpc Id This property is required. string - The ID of subscription instance vpc.
- Subscription
Instance Vswitch Id This property is required. string - The ID of subscription instance vswitch.
This property is required. Dictionary<string, string>- The tag of the resource.
- Checkpoint
This property is required. string - Subscription start time in Unix timestamp format.
- Create
Time This property is required. string - The creation time of subscription job instance.
- Db
List This property is required. string - Subscription object, in the format of JSON strings.
- Dts
Instance Id This property is required. string - The ID of subscription job instance.
- Dts
Job Id This property is required. string - The ID of subscription job instance.
- Dts
Job Name This property is required. string - The name of subscription job instance.
- Expire
Time This property is required. string - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- Id
This property is required. string - The ID of the Subscription Job.
- Payment
Type This property is required. string - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - Source
Endpoint Database Name This property is required. string - To subscribe to the name of the database.
- Source
Endpoint Engine Name This property is required. string - The source database type value is MySQL or Oracle.
- Source
Endpoint Instance Id This property is required. string - The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
- Source
Endpoint Instance Type This property is required. string - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - Source
Endpoint Ip This property is required. string - The IP of source endpoint.
- Source
Endpoint Oracle Sid This property is required. string - The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
- Source
Endpoint Owner Id This property is required. string - The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
- Source
Endpoint Port This property is required. string - The port of source database.
- Source
Endpoint Region This property is required. string - The region of source database.
- Source
Endpoint Role This property is required. string - Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
- Source
Endpoint User Name This property is required. string - The username of source database instance account.
- Status
This property is required. string - The status of the task. Valid values:
NotStarted
,Normal
,Abnormal
. When a task created, it is in this state ofNotStarted
. You can specify this state ofNormal
to start the job, and specify this state ofAbnormal
to stop the job. - Subscription
Data Type Ddl This property is required. bool - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - Subscription
Data Type Dml This property is required. bool - Whether to subscribe the DML type of data. Valid values:
true
,false
. - Subscription
Hosts This property is required. []GetSubscription Jobs Job Subscription Host - Network information.
- Subscription
Instance Network Type This property is required. string - The type of subscription instance network. Valid value:
classic
,vpc
. - Subscription
Instance Vpc Id This property is required. string - The ID of subscription instance vpc.
- Subscription
Instance Vswitch Id This property is required. string - The ID of subscription instance vswitch.
This property is required. map[string]string- The tag of the resource.
- checkpoint
This property is required. String - Subscription start time in Unix timestamp format.
- create
Time This property is required. String - The creation time of subscription job instance.
- db
List This property is required. String - Subscription object, in the format of JSON strings.
- dts
Instance Id This property is required. String - The ID of subscription job instance.
- dts
Job Id This property is required. String - The ID of subscription job instance.
- dts
Job Name This property is required. String - The name of subscription job instance.
- expire
Time This property is required. String - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- id
This property is required. String - The ID of the Subscription Job.
- payment
Type This property is required. String - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - source
Endpoint Database Name This property is required. String - To subscribe to the name of the database.
- source
Endpoint Engine Name This property is required. String - The source database type value is MySQL or Oracle.
- source
Endpoint Instance Id This property is required. String - The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
- source
Endpoint Instance Type This property is required. String - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - source
Endpoint Ip This property is required. String - The IP of source endpoint.
- source
Endpoint Oracle Sid This property is required. String - The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
- source
Endpoint Owner Id This property is required. String - The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
- source
Endpoint Port This property is required. String - The port of source database.
- source
Endpoint Region This property is required. String - The region of source database.
- source
Endpoint Role This property is required. String - Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
- source
Endpoint User Name This property is required. String - The username of source database instance account.
- status
This property is required. String - The status of the task. Valid values:
NotStarted
,Normal
,Abnormal
. When a task created, it is in this state ofNotStarted
. You can specify this state ofNormal
to start the job, and specify this state ofAbnormal
to stop the job. - subscription
Data Type Ddl This property is required. Boolean - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - subscription
Data Type Dml This property is required. Boolean - Whether to subscribe the DML type of data. Valid values:
true
,false
. - subscription
Hosts This property is required. List<GetSubscription Jobs Job Subscription Host> - Network information.
- subscription
Instance Network Type This property is required. String - The type of subscription instance network. Valid value:
classic
,vpc
. - subscription
Instance Vpc Id This property is required. String - The ID of subscription instance vpc.
- subscription
Instance Vswitch Id This property is required. String - The ID of subscription instance vswitch.
This property is required. Map<String,String>- The tag of the resource.
- checkpoint
This property is required. string - Subscription start time in Unix timestamp format.
- create
Time This property is required. string - The creation time of subscription job instance.
- db
List This property is required. string - Subscription object, in the format of JSON strings.
- dts
Instance Id This property is required. string - The ID of subscription job instance.
- dts
Job Id This property is required. string - The ID of subscription job instance.
- dts
Job Name This property is required. string - The name of subscription job instance.
- expire
Time This property is required. string - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- id
This property is required. string - The ID of the Subscription Job.
- payment
Type This property is required. string - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - source
Endpoint Database Name This property is required. string - To subscribe to the name of the database.
- source
Endpoint Engine Name This property is required. string - The source database type value is MySQL or Oracle.
- source
Endpoint Instance Id This property is required. string - The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
- source
Endpoint Instance Type This property is required. string - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - source
Endpoint Ip This property is required. string - The IP of source endpoint.
- source
Endpoint Oracle Sid This property is required. string - The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
- source
Endpoint Owner Id This property is required. string - The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
- source
Endpoint Port This property is required. string - The port of source database.
- source
Endpoint Region This property is required. string - The region of source database.
- source
Endpoint Role This property is required. string - Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
- source
Endpoint User Name This property is required. string - The username of source database instance account.
- status
This property is required. string - The status of the task. Valid values:
NotStarted
,Normal
,Abnormal
. When a task created, it is in this state ofNotStarted
. You can specify this state ofNormal
to start the job, and specify this state ofAbnormal
to stop the job. - subscription
Data Type Ddl This property is required. boolean - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - subscription
Data Type Dml This property is required. boolean - Whether to subscribe the DML type of data. Valid values:
true
,false
. - subscription
Hosts This property is required. GetSubscription Jobs Job Subscription Host[] - Network information.
- subscription
Instance Network Type This property is required. string - The type of subscription instance network. Valid value:
classic
,vpc
. - subscription
Instance Vpc Id This property is required. string - The ID of subscription instance vpc.
- subscription
Instance Vswitch Id This property is required. string - The ID of subscription instance vswitch.
This property is required. {[key: string]: string}- The tag of the resource.
- checkpoint
This property is required. str - Subscription start time in Unix timestamp format.
- create_
time This property is required. str - The creation time of subscription job instance.
- db_
list This property is required. str - Subscription object, in the format of JSON strings.
- dts_
instance_ id This property is required. str - The ID of subscription job instance.
- dts_
job_ id This property is required. str - The ID of subscription job instance.
- dts_
job_ name This property is required. str - The name of subscription job instance.
- expire_
time This property is required. str - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- id
This property is required. str - The ID of the Subscription Job.
- payment_
type This property is required. str - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - source_
endpoint_ database_ name This property is required. str - To subscribe to the name of the database.
- source_
endpoint_ engine_ name This property is required. str - The source database type value is MySQL or Oracle.
- source_
endpoint_ instance_ id This property is required. str - The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
- source_
endpoint_ instance_ type This property is required. str - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - source_
endpoint_ ip This property is required. str - The IP of source endpoint.
- source_
endpoint_ oracle_ sid This property is required. str - The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
- source_
endpoint_ owner_ id This property is required. str - The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
- source_
endpoint_ port This property is required. str - The port of source database.
- source_
endpoint_ region This property is required. str - The region of source database.
- source_
endpoint_ role This property is required. str - Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
- source_
endpoint_ user_ name This property is required. str - The username of source database instance account.
- status
This property is required. str - The status of the task. Valid values:
NotStarted
,Normal
,Abnormal
. When a task created, it is in this state ofNotStarted
. You can specify this state ofNormal
to start the job, and specify this state ofAbnormal
to stop the job. - subscription_
data_ type_ ddl This property is required. bool - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - subscription_
data_ type_ dml This property is required. bool - Whether to subscribe the DML type of data. Valid values:
true
,false
. - subscription_
hosts This property is required. Sequence[GetSubscription Jobs Job Subscription Host] - Network information.
- subscription_
instance_ network_ type This property is required. str - The type of subscription instance network. Valid value:
classic
,vpc
. - subscription_
instance_ vpc_ id This property is required. str - The ID of subscription instance vpc.
- subscription_
instance_ vswitch_ id This property is required. str - The ID of subscription instance vswitch.
This property is required. Mapping[str, str]- The tag of the resource.
- checkpoint
This property is required. String - Subscription start time in Unix timestamp format.
- create
Time This property is required. String - The creation time of subscription job instance.
- db
List This property is required. String - Subscription object, in the format of JSON strings.
- dts
Instance Id This property is required. String - The ID of subscription job instance.
- dts
Job Id This property is required. String - The ID of subscription job instance.
- dts
Job Name This property is required. String - The name of subscription job instance.
- expire
Time This property is required. String - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- id
This property is required. String - The ID of the Subscription Job.
- payment
Type This property is required. String - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - source
Endpoint Database Name This property is required. String - To subscribe to the name of the database.
- source
Endpoint Engine Name This property is required. String - The source database type value is MySQL or Oracle.
- source
Endpoint Instance Id This property is required. String - The ID of source instance. Only when the type of source database instance was RDS MySQL, PolarDB-X 1.0, PolarDB MySQL, this parameter can be available and must be set.
- source
Endpoint Instance Type This property is required. String - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - source
Endpoint Ip This property is required. String - The IP of source endpoint.
- source
Endpoint Oracle Sid This property is required. String - The SID of Oracle Database. When the source database is self-built Oracle and the Oracle database is a non-RAC instance, this parameter is available and must be passed in.
- source
Endpoint Owner Id This property is required. String - The Alibaba Cloud account ID to which the source instance belongs. This parameter is only available when configuring data subscriptions across Alibaba Cloud accounts and must be passed in.
- source
Endpoint Port This property is required. String - The port of source database.
- source
Endpoint Region This property is required. String - The region of source database.
- source
Endpoint Role This property is required. String - Both the authorization roles. When the source instance and configure subscriptions task of the Alibaba Cloud account is not the same as the need to pass the parameter, to specify the source of the authorization roles, to allow configuration subscription task of the Alibaba Cloud account to access the source of the source instance information.
- source
Endpoint User Name This property is required. String - The username of source database instance account.
- status
This property is required. String - The status of the task. Valid values:
NotStarted
,Normal
,Abnormal
. When a task created, it is in this state ofNotStarted
. You can specify this state ofNormal
to start the job, and specify this state ofAbnormal
to stop the job. - subscription
Data Type Ddl This property is required. Boolean - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - subscription
Data Type Dml This property is required. Boolean - Whether to subscribe the DML type of data. Valid values:
true
,false
. - subscription
Hosts This property is required. List<Property Map> - Network information.
- subscription
Instance Network Type This property is required. String - The type of subscription instance network. Valid value:
classic
,vpc
. - subscription
Instance Vpc Id This property is required. String - The ID of subscription instance vpc.
- subscription
Instance Vswitch Id This property is required. String - The ID of subscription instance vswitch.
This property is required. Map<String>- The tag of the resource.
GetSubscriptionJobsJobSubscriptionHost
- Private
Host This property is required. string - Classic network address.
- Public
Host This property is required. string - Public network address.
- Vpc
Host This property is required. string - VPC network address.
- Private
Host This property is required. string - Classic network address.
- Public
Host This property is required. string - Public network address.
- Vpc
Host This property is required. string - VPC network address.
- private
Host This property is required. String - Classic network address.
- public
Host This property is required. String - Public network address.
- vpc
Host This property is required. String - VPC network address.
- private
Host This property is required. string - Classic network address.
- public
Host This property is required. string - Public network address.
- vpc
Host This property is required. string - VPC network address.
- private_
host This property is required. str - Classic network address.
- public_
host This property is required. str - Public network address.
- vpc_
host This property is required. str - VPC network address.
- private
Host This property is required. String - Classic network address.
- public
Host This property is required. String - Public network address.
- vpc
Host This property is required. String - VPC network address.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.