1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. dts
  5. getSubscriptionJobs
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.dts.getSubscriptionJobs

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

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);
Copy
import pulumi
import pulumi_alicloud as alicloud

ids = alicloud.dts.get_subscription_jobs()
pulumi.export("dtsSubscriptionJobId1", ids.jobs[0].id)
Copy
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
	})
}
Copy
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),
    };
});
Copy
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()));
    }
}
Copy
variables:
  ids:
    fn::invoke:
      function: alicloud:dts:getSubscriptionJobs
      arguments: {}
outputs:
  dtsSubscriptionJobId1: ${ids.jobs[0].id}
Copy

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>
Copy
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]
Copy
func GetSubscriptionJobs(ctx *Context, args *GetSubscriptionJobsArgs, opts ...InvokeOption) (*GetSubscriptionJobsResult, error)
func GetSubscriptionJobsOutput(ctx *Context, args *GetSubscriptionJobsOutputArgs, opts ...InvokeOption) GetSubscriptionJobsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSubscriptionJobsResult> getSubscriptionJobs(GetSubscriptionJobsArgs args, InvokeOptions options)
public static Output<GetSubscriptionJobsResult> getSubscriptionJobs(GetSubscriptionJobsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:dts/getSubscriptionJobs:getSubscriptionJobs
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

EnableDetails bool
Ids Changes to this property will trigger replacement. List<string>
A list of Subscription Job IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by subscription job name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
Tags Dictionary<string, string>
EnableDetails bool
Ids Changes to this property will trigger replacement. []string
A list of Subscription Job IDs.
NameRegex Changes to this property will trigger replacement. string
A regex string to filter results by subscription job name.
OutputFile string
File name where to save data source results (after running pulumi preview).
Status Changes to this property will trigger replacement. string
The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
Tags map[string]string
enableDetails Boolean
ids Changes to this property will trigger replacement. List<String>
A list of Subscription Job IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by subscription job name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
tags Map<String,String>
enableDetails boolean
ids Changes to this property will trigger replacement. string[]
A list of Subscription Job IDs.
nameRegex Changes to this property will trigger replacement. string
A regex string to filter results by subscription job name.
outputFile string
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. string
The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
tags {[key: string]: string}
enable_details bool
ids Changes to this property will trigger replacement. Sequence[str]
A list of Subscription Job IDs.
name_regex Changes to this property will trigger replacement. str
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. str
The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
tags Mapping[str, str]
enableDetails Boolean
ids Changes to this property will trigger replacement. List<String>
A list of Subscription Job IDs.
nameRegex Changes to this property will trigger replacement. String
A regex string to filter results by subscription job name.
outputFile String
File name where to save data source results (after running pulumi preview).
status Changes to this property will trigger replacement. String
The status of the task. Valid values: Abnormal, Downgrade, Locked, Normal, NotStarted, NotStarted, PreCheckPass, PrecheckFailed, Prechecking, Retrying, Starting, Upgrade.
tags 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.AliCloud.Dts.Outputs.GetSubscriptionJobsJob>
Names List<string>
EnableDetails bool
NameRegex string
OutputFile string
Status string
Tags Dictionary<string, string>
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Jobs []GetSubscriptionJobsJob
Names []string
EnableDetails bool
NameRegex string
OutputFile string
Status string
Tags map[string]string
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
jobs List<GetSubscriptionJobsJob>
names List<String>
enableDetails Boolean
nameRegex String
outputFile String
status String
tags Map<String,String>
id string
The provider-assigned unique ID for this managed resource.
ids string[]
jobs GetSubscriptionJobsJob[]
names string[]
enableDetails boolean
nameRegex string
outputFile string
status string
tags {[key: string]: string}
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
jobs Sequence[GetSubscriptionJobsJob]
names Sequence[str]
enable_details bool
name_regex str
output_file str
status str
tags Mapping[str, str]
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
jobs List<Property Map>
names List<String>
enableDetails Boolean
nameRegex String
outputFile String
status String
tags Map<String>

Supporting Types

GetSubscriptionJobsJob

Checkpoint This property is required. string
Subscription start time in Unix timestamp format.
CreateTime This property is required. string
The creation time of subscription job instance.
DbList This property is required. string
Subscription object, in the format of JSON strings.
DtsInstanceId This property is required. string
The ID of subscription job instance.
DtsJobId This property is required. string
The ID of subscription job instance.
DtsJobName This property is required. string
The name of subscription job instance.
ExpireTime 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.
PaymentType This property is required. string
The payment type of the resource. Valid values: Subscription, PayAsYouGo.
SourceEndpointDatabaseName This property is required. string
To subscribe to the name of the database.
SourceEndpointEngineName This property is required. string
The source database type value is MySQL or Oracle.
SourceEndpointInstanceId 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.
SourceEndpointInstanceType This property is required. string
The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
SourceEndpointIp This property is required. string
The IP of source endpoint.
SourceEndpointOracleSid 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.
SourceEndpointOwnerId 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.
SourceEndpointPort This property is required. string
The port of source database.
SourceEndpointRegion This property is required. string
The region of source database.
SourceEndpointRole 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.
SourceEndpointUserName 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 of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
SubscriptionDataTypeDdl This property is required. bool
Whether to subscribe the DDL type of data. Valid values: true, false.
SubscriptionDataTypeDml This property is required. bool
Whether to subscribe the DML type of data. Valid values: true, false.
SubscriptionHosts This property is required. List<Pulumi.AliCloud.Dts.Inputs.GetSubscriptionJobsJobSubscriptionHost>
Network information.
SubscriptionInstanceNetworkType This property is required. string
The type of subscription instance network. Valid value: classic, vpc.
SubscriptionInstanceVpcId This property is required. string
The ID of subscription instance vpc.
SubscriptionInstanceVswitchId This property is required. string
The ID of subscription instance vswitch.
Tags 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.
CreateTime This property is required. string
The creation time of subscription job instance.
DbList This property is required. string
Subscription object, in the format of JSON strings.
DtsInstanceId This property is required. string
The ID of subscription job instance.
DtsJobId This property is required. string
The ID of subscription job instance.
DtsJobName This property is required. string
The name of subscription job instance.
ExpireTime 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.
PaymentType This property is required. string
The payment type of the resource. Valid values: Subscription, PayAsYouGo.
SourceEndpointDatabaseName This property is required. string
To subscribe to the name of the database.
SourceEndpointEngineName This property is required. string
The source database type value is MySQL or Oracle.
SourceEndpointInstanceId 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.
SourceEndpointInstanceType This property is required. string
The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
SourceEndpointIp This property is required. string
The IP of source endpoint.
SourceEndpointOracleSid 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.
SourceEndpointOwnerId 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.
SourceEndpointPort This property is required. string
The port of source database.
SourceEndpointRegion This property is required. string
The region of source database.
SourceEndpointRole 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.
SourceEndpointUserName 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 of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
SubscriptionDataTypeDdl This property is required. bool
Whether to subscribe the DDL type of data. Valid values: true, false.
SubscriptionDataTypeDml This property is required. bool
Whether to subscribe the DML type of data. Valid values: true, false.
SubscriptionHosts This property is required. []GetSubscriptionJobsJobSubscriptionHost
Network information.
SubscriptionInstanceNetworkType This property is required. string
The type of subscription instance network. Valid value: classic, vpc.
SubscriptionInstanceVpcId This property is required. string
The ID of subscription instance vpc.
SubscriptionInstanceVswitchId This property is required. string
The ID of subscription instance vswitch.
Tags 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.
createTime This property is required. String
The creation time of subscription job instance.
dbList This property is required. String
Subscription object, in the format of JSON strings.
dtsInstanceId This property is required. String
The ID of subscription job instance.
dtsJobId This property is required. String
The ID of subscription job instance.
dtsJobName This property is required. String
The name of subscription job instance.
expireTime 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.
paymentType This property is required. String
The payment type of the resource. Valid values: Subscription, PayAsYouGo.
sourceEndpointDatabaseName This property is required. String
To subscribe to the name of the database.
sourceEndpointEngineName This property is required. String
The source database type value is MySQL or Oracle.
sourceEndpointInstanceId 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.
sourceEndpointInstanceType This property is required. String
The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
sourceEndpointIp This property is required. String
The IP of source endpoint.
sourceEndpointOracleSid 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.
sourceEndpointOwnerId 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.
sourceEndpointPort This property is required. String
The port of source database.
sourceEndpointRegion This property is required. String
The region of source database.
sourceEndpointRole 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.
sourceEndpointUserName 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 of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
subscriptionDataTypeDdl This property is required. Boolean
Whether to subscribe the DDL type of data. Valid values: true, false.
subscriptionDataTypeDml This property is required. Boolean
Whether to subscribe the DML type of data. Valid values: true, false.
subscriptionHosts This property is required. List<GetSubscriptionJobsJobSubscriptionHost>
Network information.
subscriptionInstanceNetworkType This property is required. String
The type of subscription instance network. Valid value: classic, vpc.
subscriptionInstanceVpcId This property is required. String
The ID of subscription instance vpc.
subscriptionInstanceVswitchId This property is required. String
The ID of subscription instance vswitch.
tags 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.
createTime This property is required. string
The creation time of subscription job instance.
dbList This property is required. string
Subscription object, in the format of JSON strings.
dtsInstanceId This property is required. string
The ID of subscription job instance.
dtsJobId This property is required. string
The ID of subscription job instance.
dtsJobName This property is required. string
The name of subscription job instance.
expireTime 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.
paymentType This property is required. string
The payment type of the resource. Valid values: Subscription, PayAsYouGo.
sourceEndpointDatabaseName This property is required. string
To subscribe to the name of the database.
sourceEndpointEngineName This property is required. string
The source database type value is MySQL or Oracle.
sourceEndpointInstanceId 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.
sourceEndpointInstanceType This property is required. string
The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
sourceEndpointIp This property is required. string
The IP of source endpoint.
sourceEndpointOracleSid 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.
sourceEndpointOwnerId 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.
sourceEndpointPort This property is required. string
The port of source database.
sourceEndpointRegion This property is required. string
The region of source database.
sourceEndpointRole 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.
sourceEndpointUserName 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 of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
subscriptionDataTypeDdl This property is required. boolean
Whether to subscribe the DDL type of data. Valid values: true, false.
subscriptionDataTypeDml This property is required. boolean
Whether to subscribe the DML type of data. Valid values: true, false.
subscriptionHosts This property is required. GetSubscriptionJobsJobSubscriptionHost[]
Network information.
subscriptionInstanceNetworkType This property is required. string
The type of subscription instance network. Valid value: classic, vpc.
subscriptionInstanceVpcId This property is required. string
The ID of subscription instance vpc.
subscriptionInstanceVswitchId This property is required. string
The ID of subscription instance vswitch.
tags 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 of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal 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[GetSubscriptionJobsJobSubscriptionHost]
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.
tags 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.
createTime This property is required. String
The creation time of subscription job instance.
dbList This property is required. String
Subscription object, in the format of JSON strings.
dtsInstanceId This property is required. String
The ID of subscription job instance.
dtsJobId This property is required. String
The ID of subscription job instance.
dtsJobName This property is required. String
The name of subscription job instance.
expireTime 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.
paymentType This property is required. String
The payment type of the resource. Valid values: Subscription, PayAsYouGo.
sourceEndpointDatabaseName This property is required. String
To subscribe to the name of the database.
sourceEndpointEngineName This property is required. String
The source database type value is MySQL or Oracle.
sourceEndpointInstanceId 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.
sourceEndpointInstanceType This property is required. String
The type of source instance. Valid values: RDS, PolarDB, DRDS, LocalInstance, ECS, Express, CEN, dg.
sourceEndpointIp This property is required. String
The IP of source endpoint.
sourceEndpointOracleSid 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.
sourceEndpointOwnerId 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.
sourceEndpointPort This property is required. String
The port of source database.
sourceEndpointRegion This property is required. String
The region of source database.
sourceEndpointRole 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.
sourceEndpointUserName 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 of NotStarted. You can specify this state of Normal to start the job, and specify this state of Abnormal to stop the job.
subscriptionDataTypeDdl This property is required. Boolean
Whether to subscribe the DDL type of data. Valid values: true, false.
subscriptionDataTypeDml This property is required. Boolean
Whether to subscribe the DML type of data. Valid values: true, false.
subscriptionHosts This property is required. List<Property Map>
Network information.
subscriptionInstanceNetworkType This property is required. String
The type of subscription instance network. Valid value: classic, vpc.
subscriptionInstanceVpcId This property is required. String
The ID of subscription instance vpc.
subscriptionInstanceVswitchId This property is required. String
The ID of subscription instance vswitch.
tags This property is required. Map<String>
The tag of the resource.

GetSubscriptionJobsJobSubscriptionHost

PrivateHost This property is required. string
Classic network address.
PublicHost This property is required. string
Public network address.
VpcHost This property is required. string
VPC network address.
PrivateHost This property is required. string
Classic network address.
PublicHost This property is required. string
Public network address.
VpcHost This property is required. string
VPC network address.
privateHost This property is required. String
Classic network address.
publicHost This property is required. String
Public network address.
vpcHost This property is required. String
VPC network address.
privateHost This property is required. string
Classic network address.
publicHost This property is required. string
Public network address.
vpcHost 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.
privateHost This property is required. String
Classic network address.
publicHost This property is required. String
Public network address.
vpcHost 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.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi