Alibaba Cloud v3.69.0 published on Monday, Dec 9, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:dts/getSubscriptionJobs:getSubscriptionJobs
arguments:
# arguments dictionary
The following arguments are supported:
- Enable
Details bool - Ids List<string>
- A list of Subscription Job IDs.
- Name
Regex string - 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 string
- 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 []string
- A list of Subscription Job IDs.
- Name
Regex string - 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 string
- 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 List<String>
- A list of Subscription Job IDs.
- name
Regex String - 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 String
- 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 string[]
- A list of Subscription Job IDs.
- name
Regex string - 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 string
- 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 Sequence[str]
- A list of Subscription Job IDs.
- name_
regex 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 str
- 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 List<String>
- A list of Subscription Job IDs.
- name
Regex String - 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 String
- 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 string
- Subscription start time in Unix timestamp format.
- Create
Time string - The creation time of subscription job instance.
- Db
List string - Subscription object, in the format of JSON strings.
- Dts
Instance stringId - The ID of subscription job instance.
- Dts
Job stringId - The ID of subscription job instance.
- Dts
Job stringName - The name of subscription job instance.
- Expire
Time string - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- Id string
- The ID of the Subscription Job.
- Payment
Type string - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - Source
Endpoint stringDatabase Name - To subscribe to the name of the database.
- Source
Endpoint stringEngine Name - The source database type value is MySQL or Oracle.
- Source
Endpoint stringInstance Id - 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 stringInstance Type - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - Source
Endpoint stringIp - The IP of source endpoint.
- Source
Endpoint stringOracle Sid - 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 stringOwner Id - 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 stringPort - The port of source database.
- Source
Endpoint stringRegion - The region of source database.
- Source
Endpoint stringRole - 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 stringUser Name - The username of source database instance account.
- Status 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 boolType Ddl - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - Subscription
Data boolType Dml - Whether to subscribe the DML type of data. Valid values:
true
,false
. - Subscription
Hosts List<Pulumi.Ali Cloud. Dts. Inputs. Get Subscription Jobs Job Subscription Host> - Network information.
- Subscription
Instance stringNetwork Type - The type of subscription instance network. Valid value:
classic
,vpc
. - Subscription
Instance stringVpc Id - The ID of subscription instance vpc.
- Subscription
Instance stringVswitch Id - The ID of subscription instance vswitch.
- Dictionary<string, string>
- The tag of the resource.
- Checkpoint string
- Subscription start time in Unix timestamp format.
- Create
Time string - The creation time of subscription job instance.
- Db
List string - Subscription object, in the format of JSON strings.
- Dts
Instance stringId - The ID of subscription job instance.
- Dts
Job stringId - The ID of subscription job instance.
- Dts
Job stringName - The name of subscription job instance.
- Expire
Time string - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- Id string
- The ID of the Subscription Job.
- Payment
Type string - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - Source
Endpoint stringDatabase Name - To subscribe to the name of the database.
- Source
Endpoint stringEngine Name - The source database type value is MySQL or Oracle.
- Source
Endpoint stringInstance Id - 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 stringInstance Type - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - Source
Endpoint stringIp - The IP of source endpoint.
- Source
Endpoint stringOracle Sid - 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 stringOwner Id - 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 stringPort - The port of source database.
- Source
Endpoint stringRegion - The region of source database.
- Source
Endpoint stringRole - 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 stringUser Name - The username of source database instance account.
- Status 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 boolType Ddl - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - Subscription
Data boolType Dml - Whether to subscribe the DML type of data. Valid values:
true
,false
. - Subscription
Hosts []GetSubscription Jobs Job Subscription Host - Network information.
- Subscription
Instance stringNetwork Type - The type of subscription instance network. Valid value:
classic
,vpc
. - Subscription
Instance stringVpc Id - The ID of subscription instance vpc.
- Subscription
Instance stringVswitch Id - The ID of subscription instance vswitch.
- map[string]string
- The tag of the resource.
- checkpoint String
- Subscription start time in Unix timestamp format.
- create
Time String - The creation time of subscription job instance.
- db
List String - Subscription object, in the format of JSON strings.
- dts
Instance StringId - The ID of subscription job instance.
- dts
Job StringId - The ID of subscription job instance.
- dts
Job StringName - The name of subscription job instance.
- expire
Time String - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- id String
- The ID of the Subscription Job.
- payment
Type String - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - source
Endpoint StringDatabase Name - To subscribe to the name of the database.
- source
Endpoint StringEngine Name - The source database type value is MySQL or Oracle.
- source
Endpoint StringInstance Id - 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 StringInstance Type - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - source
Endpoint StringIp - The IP of source endpoint.
- source
Endpoint StringOracle Sid - 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 StringOwner Id - 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 StringPort - The port of source database.
- source
Endpoint StringRegion - The region of source database.
- source
Endpoint StringRole - 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 StringUser Name - The username of source database instance account.
- status 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 BooleanType Ddl - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - subscription
Data BooleanType Dml - Whether to subscribe the DML type of data. Valid values:
true
,false
. - subscription
Hosts List<GetSubscription Jobs Job Subscription Host> - Network information.
- subscription
Instance StringNetwork Type - The type of subscription instance network. Valid value:
classic
,vpc
. - subscription
Instance StringVpc Id - The ID of subscription instance vpc.
- subscription
Instance StringVswitch Id - The ID of subscription instance vswitch.
- Map<String,String>
- The tag of the resource.
- checkpoint string
- Subscription start time in Unix timestamp format.
- create
Time string - The creation time of subscription job instance.
- db
List string - Subscription object, in the format of JSON strings.
- dts
Instance stringId - The ID of subscription job instance.
- dts
Job stringId - The ID of subscription job instance.
- dts
Job stringName - The name of subscription job instance.
- expire
Time string - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- id string
- The ID of the Subscription Job.
- payment
Type string - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - source
Endpoint stringDatabase Name - To subscribe to the name of the database.
- source
Endpoint stringEngine Name - The source database type value is MySQL or Oracle.
- source
Endpoint stringInstance Id - 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 stringInstance Type - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - source
Endpoint stringIp - The IP of source endpoint.
- source
Endpoint stringOracle Sid - 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 stringOwner Id - 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 stringPort - The port of source database.
- source
Endpoint stringRegion - The region of source database.
- source
Endpoint stringRole - 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 stringUser Name - The username of source database instance account.
- status 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 booleanType Ddl - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - subscription
Data booleanType Dml - Whether to subscribe the DML type of data. Valid values:
true
,false
. - subscription
Hosts GetSubscription Jobs Job Subscription Host[] - Network information.
- subscription
Instance stringNetwork Type - The type of subscription instance network. Valid value:
classic
,vpc
. - subscription
Instance stringVpc Id - The ID of subscription instance vpc.
- subscription
Instance stringVswitch Id - The ID of subscription instance vswitch.
- {[key: string]: string}
- The tag of the resource.
- checkpoint str
- Subscription start time in Unix timestamp format.
- create_
time str - The creation time of subscription job instance.
- db_
list str - Subscription object, in the format of JSON strings.
- dts_
instance_ strid - The ID of subscription job instance.
- dts_
job_ strid - The ID of subscription job instance.
- dts_
job_ strname - The name of subscription job instance.
- expire_
time str - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- id str
- The ID of the Subscription Job.
- payment_
type str - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - source_
endpoint_ strdatabase_ name - To subscribe to the name of the database.
- source_
endpoint_ strengine_ name - The source database type value is MySQL or Oracle.
- source_
endpoint_ strinstance_ id - 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_ strinstance_ type - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - source_
endpoint_ strip - The IP of source endpoint.
- source_
endpoint_ stroracle_ sid - 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_ strowner_ id - 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_ strport - The port of source database.
- source_
endpoint_ strregion - The region of source database.
- source_
endpoint_ strrole - 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_ struser_ name - The username of source database instance account.
- status 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_ booltype_ ddl - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - subscription_
data_ booltype_ dml - Whether to subscribe the DML type of data. Valid values:
true
,false
. - subscription_
hosts Sequence[GetSubscription Jobs Job Subscription Host] - Network information.
- subscription_
instance_ strnetwork_ type - The type of subscription instance network. Valid value:
classic
,vpc
. - subscription_
instance_ strvpc_ id - The ID of subscription instance vpc.
- subscription_
instance_ strvswitch_ id - The ID of subscription instance vswitch.
- Mapping[str, str]
- The tag of the resource.
- checkpoint String
- Subscription start time in Unix timestamp format.
- create
Time String - The creation time of subscription job instance.
- db
List String - Subscription object, in the format of JSON strings.
- dts
Instance StringId - The ID of subscription job instance.
- dts
Job StringId - The ID of subscription job instance.
- dts
Job StringName - The name of subscription job instance.
- expire
Time String - The Expiration Time. Formatting with yyyy-MM-ddTHH:mm:ssZ(UTC time).
- id String
- The ID of the Subscription Job.
- payment
Type String - The payment type of the resource. Valid values:
Subscription
,PayAsYouGo
. - source
Endpoint StringDatabase Name - To subscribe to the name of the database.
- source
Endpoint StringEngine Name - The source database type value is MySQL or Oracle.
- source
Endpoint StringInstance Id - 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 StringInstance Type - The type of source instance. Valid values:
RDS
,PolarDB
,DRDS
,LocalInstance
,ECS
,Express
,CEN
,dg
. - source
Endpoint StringIp - The IP of source endpoint.
- source
Endpoint StringOracle Sid - 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 StringOwner Id - 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 StringPort - The port of source database.
- source
Endpoint StringRegion - The region of source database.
- source
Endpoint StringRole - 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 StringUser Name - The username of source database instance account.
- status 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 BooleanType Ddl - Whether to subscribe the DDL type of data. Valid values:
true
,false
. - subscription
Data BooleanType Dml - Whether to subscribe the DML type of data. Valid values:
true
,false
. - subscription
Hosts List<Property Map> - Network information.
- subscription
Instance StringNetwork Type - The type of subscription instance network. Valid value:
classic
,vpc
. - subscription
Instance StringVpc Id - The ID of subscription instance vpc.
- subscription
Instance StringVswitch Id - The ID of subscription instance vswitch.
- Map<String>
- The tag of the resource.
GetSubscriptionJobsJobSubscriptionHost
- Private
Host string - Classic network address.
- Public
Host string - Public network address.
- Vpc
Host string - VPC network address.
- Private
Host string - Classic network address.
- Public
Host string - Public network address.
- Vpc
Host string - VPC network address.
- private
Host String - Classic network address.
- public
Host String - Public network address.
- vpc
Host String - VPC network address.
- private
Host string - Classic network address.
- public
Host string - Public network address.
- vpc
Host string - VPC network address.
- private_
host str - Classic network address.
- public_
host str - Public network address.
- vpc_
host str - VPC network address.
- private
Host String - Classic network address.
- public
Host String - Public network address.
- vpc
Host 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.