Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Data source for retrieving a Harness AutoStopping rule for RDS databases.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
example:
fn::invoke:
function: harness:autostopping:getRuleRds
arguments:
identifier: identifier
Using getRuleRds
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 getRuleRds(args: GetRuleRdsArgs, opts?: InvokeOptions): Promise<GetRuleRdsResult>
function getRuleRdsOutput(args: GetRuleRdsOutputArgs, opts?: InvokeOptions): Output<GetRuleRdsResult>def get_rule_rds(cloud_connector_id: Optional[str] = None,
database: Optional[GetRuleRdsDatabase] = None,
depends: Optional[Sequence[GetRuleRdsDepend]] = None,
idle_time_mins: Optional[int] = None,
name: Optional[str] = None,
tcps: Optional[Sequence[GetRuleRdsTcp]] = None,
opts: Optional[InvokeOptions] = None) -> GetRuleRdsResult
def get_rule_rds_output(cloud_connector_id: Optional[pulumi.Input[str]] = None,
database: Optional[pulumi.Input[GetRuleRdsDatabaseArgs]] = None,
depends: Optional[pulumi.Input[Sequence[pulumi.Input[GetRuleRdsDependArgs]]]] = None,
idle_time_mins: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
tcps: Optional[pulumi.Input[Sequence[pulumi.Input[GetRuleRdsTcpArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRuleRdsResult]func LookupRuleRds(ctx *Context, args *LookupRuleRdsArgs, opts ...InvokeOption) (*LookupRuleRdsResult, error)
func LookupRuleRdsOutput(ctx *Context, args *LookupRuleRdsOutputArgs, opts ...InvokeOption) LookupRuleRdsResultOutput> Note: This function is named LookupRuleRds in the Go SDK.
public static class GetRuleRds
{
public static Task<GetRuleRdsResult> InvokeAsync(GetRuleRdsArgs args, InvokeOptions? opts = null)
public static Output<GetRuleRdsResult> Invoke(GetRuleRdsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRuleRdsResult> getRuleRds(GetRuleRdsArgs args, InvokeOptions options)
public static Output<GetRuleRdsResult> getRuleRds(GetRuleRdsArgs args, InvokeOptions options)
fn::invoke:
function: harness:autostopping/getRuleRds:getRuleRds
arguments:
# arguments dictionaryThe following arguments are supported:
- Cloud
Connector stringId - Id of the cloud connector
- Database
Get
Rule Rds Database - Name string
- Name of the rule
- Depends
List<Get
Rule Rds Depend> - Dependent rules
- Idle
Time intMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Tcps
List<Get
Rule Rds Tcp> - TCP routing configuration
- Cloud
Connector stringId - Id of the cloud connector
- Database
Get
Rule Rds Database - Name string
- Name of the rule
- Depends
[]Get
Rule Rds Depend - Dependent rules
- Idle
Time intMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Tcps
[]Get
Rule Rds Tcp - TCP routing configuration
- cloud
Connector StringId - Id of the cloud connector
- database
Get
Rule Rds Database - name String
- Name of the rule
- depends
List<Get
Rule Rds Depend> - Dependent rules
- idle
Time IntegerMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
List<Get
Rule Rds Tcp> - TCP routing configuration
- cloud
Connector stringId - Id of the cloud connector
- database
Get
Rule Rds Database - name string
- Name of the rule
- depends
Get
Rule Rds Depend[] - Dependent rules
- idle
Time numberMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
Get
Rule Rds Tcp[] - TCP routing configuration
- cloud_
connector_ strid - Id of the cloud connector
- database
Get
Rule Rds Database - name str
- Name of the rule
- depends
Sequence[Get
Rule Rds Depend] - Dependent rules
- idle_
time_ intmins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
Sequence[Get
Rule Rds Tcp] - TCP routing configuration
- cloud
Connector StringId - Id of the cloud connector
- database Property Map
- name String
- Name of the rule
- depends List<Property Map>
- Dependent rules
- idle
Time NumberMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps List<Property Map>
- TCP routing configuration
getRuleRds Result
The following output properties are available:
- Cloud
Connector stringId - Id of the cloud connector
- Database
Get
Rule Rds Database - Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource
- Name string
- Name of the rule
- Depends
List<Get
Rule Rds Depend> - Dependent rules
- Idle
Time intMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Tcps
List<Get
Rule Rds Tcp> - TCP routing configuration
- Cloud
Connector stringId - Id of the cloud connector
- Database
Get
Rule Rds Database - Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- Unique identifier of the resource
- Name string
- Name of the rule
- Depends
[]Get
Rule Rds Depend - Dependent rules
- Idle
Time intMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- Tcps
[]Get
Rule Rds Tcp - TCP routing configuration
- cloud
Connector StringId - Id of the cloud connector
- database
Get
Rule Rds Database - id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource
- name String
- Name of the rule
- depends
List<Get
Rule Rds Depend> - Dependent rules
- idle
Time IntegerMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
List<Get
Rule Rds Tcp> - TCP routing configuration
- cloud
Connector stringId - Id of the cloud connector
- database
Get
Rule Rds Database - id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- Unique identifier of the resource
- name string
- Name of the rule
- depends
Get
Rule Rds Depend[] - Dependent rules
- idle
Time numberMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
Get
Rule Rds Tcp[] - TCP routing configuration
- cloud_
connector_ strid - Id of the cloud connector
- database
Get
Rule Rds Database - id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- Unique identifier of the resource
- name str
- Name of the rule
- depends
Sequence[Get
Rule Rds Depend] - Dependent rules
- idle_
time_ intmins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps
Sequence[Get
Rule Rds Tcp] - TCP routing configuration
- cloud
Connector StringId - Id of the cloud connector
- database Property Map
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- Unique identifier of the resource
- name String
- Name of the rule
- depends List<Property Map>
- Dependent rules
- idle
Time NumberMins - Idle time in minutes. This is the time that the AutoStopping rule waits before stopping the idle instances.
- tcps List<Property Map>
- TCP routing configuration
Supporting Types
GetRuleRdsDatabase
GetRuleRdsDepend
- Rule
Id int - Rule id of the dependent rule
- Delay
In intSec - Number of seconds the rule should wait after warming up the dependent rule
- Rule
Id int - Rule id of the dependent rule
- Delay
In intSec - Number of seconds the rule should wait after warming up the dependent rule
- rule
Id Integer - Rule id of the dependent rule
- delay
In IntegerSec - Number of seconds the rule should wait after warming up the dependent rule
- rule
Id number - Rule id of the dependent rule
- delay
In numberSec - Number of seconds the rule should wait after warming up the dependent rule
- rule_
id int - Rule id of the dependent rule
- delay_
in_ intsec - Number of seconds the rule should wait after warming up the dependent rule
- rule
Id Number - Rule id of the dependent rule
- delay
In NumberSec - Number of seconds the rule should wait after warming up the dependent rule
GetRuleRdsTcp
- Proxy
Id string - Id of the Proxy
- Forward
Rules List<GetRule Rds Tcp Forward Rule> - Additional tcp forwarding rules
- Proxy
Id string - Id of the Proxy
- Forward
Rules []GetRule Rds Tcp Forward Rule - Additional tcp forwarding rules
- proxy
Id String - Id of the Proxy
- forward
Rules List<GetRule Rds Tcp Forward Rule> - Additional tcp forwarding rules
- proxy
Id string - Id of the Proxy
- forward
Rules GetRule Rds Tcp Forward Rule[] - Additional tcp forwarding rules
- proxy_
id str - Id of the Proxy
- forward_
rules Sequence[GetRule Rds Tcp Forward Rule] - Additional tcp forwarding rules
- proxy
Id String - Id of the Proxy
- forward
Rules List<Property Map> - Additional tcp forwarding rules
GetRuleRdsTcpForwardRule
- port int
- Port to listen on the vm
- connect_
on int - Port to listen on the proxy
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
