Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi
harness.autostopping.getRuleRds
Explore with Pulumi AI
Data source for retrieving a Harness Variable.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.autostopping.AutostoppingFunctions;
import com.pulumi.harness.autostopping.inputs.GetRuleRdsArgs;
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 example = AutostoppingFunctions.getRuleRds(GetRuleRdsArgs.builder()
.identifier("identifier")
.build());
}
}
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:autostopping/getRuleRds:getRuleRds
arguments:
# arguments dictionary
The 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 double
- 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 float64
- 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 Double
- 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 number
- 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 float
- 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 Number
- 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
harness
Terraform Provider.