timescale 1.15.0 published on Friday, Feb 21, 2025 by timescale
timescale.getService
Explore with Pulumi AI
timescale 1.15.0 published on Friday, Feb 21, 2025 by timescale
Service data source
Using getService
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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>def get_service(environment_tag: Optional[str] = None,
                id: Optional[str] = None,
                vpc_id: Optional[float] = None,
                opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(environment_tag: Optional[pulumi.Input[str]] = None,
                id: Optional[pulumi.Input[str]] = None,
                vpc_id: Optional[pulumi.Input[float]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput> Note: This function is named LookupService in the Go SDK.
public static class GetService 
{
    public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
  function: timescale:index/getService:getService
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- Service ID is the unique identifier for this service
- EnvironmentTag string
- Environment tag for this service.
- VpcId double
- VPC ID this service is linked to.
- Id string
- Service ID is the unique identifier for this service
- EnvironmentTag string
- Environment tag for this service.
- VpcId float64
- VPC ID this service is linked to.
- id String
- Service ID is the unique identifier for this service
- environmentTag String
- Environment tag for this service.
- vpcId Double
- VPC ID this service is linked to.
- id string
- Service ID is the unique identifier for this service
- environmentTag string
- Environment tag for this service.
- vpcId number
- VPC ID this service is linked to.
- id str
- Service ID is the unique identifier for this service
- environment_tag str
- Environment tag for this service.
- vpc_id float
- VPC ID this service is linked to.
- id String
- Service ID is the unique identifier for this service
- environmentTag String
- Environment tag for this service.
- vpcId Number
- VPC ID this service is linked to.
getService Result
The following output properties are available:
- Created string
- Created is the time this service was created.
- EnvironmentTag string
- Environment tag for this service.
- Id string
- Service ID is the unique identifier for this service
- Name string
- Service Name is the configurable name assigned to this resource. If none is provided, a default will be generated by the provider.
- RegionCode string
- Region Code is the physical data center where this service is located.
- Resources
List<GetService Resource> 
- Spec
GetService Spec 
- VpcId double
- VPC ID this service is linked to.
- Created string
- Created is the time this service was created.
- EnvironmentTag string
- Environment tag for this service.
- Id string
- Service ID is the unique identifier for this service
- Name string
- Service Name is the configurable name assigned to this resource. If none is provided, a default will be generated by the provider.
- RegionCode string
- Region Code is the physical data center where this service is located.
- Resources
[]GetService Resource 
- Spec
GetService Spec 
- VpcId float64
- VPC ID this service is linked to.
- created String
- Created is the time this service was created.
- environmentTag String
- Environment tag for this service.
- id String
- Service ID is the unique identifier for this service
- name String
- Service Name is the configurable name assigned to this resource. If none is provided, a default will be generated by the provider.
- regionCode String
- Region Code is the physical data center where this service is located.
- resources
List<GetService Resource> 
- spec
GetService Spec 
- vpcId Double
- VPC ID this service is linked to.
- created string
- Created is the time this service was created.
- environmentTag string
- Environment tag for this service.
- id string
- Service ID is the unique identifier for this service
- name string
- Service Name is the configurable name assigned to this resource. If none is provided, a default will be generated by the provider.
- regionCode string
- Region Code is the physical data center where this service is located.
- resources
GetService Resource[] 
- spec
GetService Spec 
- vpcId number
- VPC ID this service is linked to.
- created str
- Created is the time this service was created.
- environment_tag str
- Environment tag for this service.
- id str
- Service ID is the unique identifier for this service
- name str
- Service Name is the configurable name assigned to this resource. If none is provided, a default will be generated by the provider.
- region_code str
- Region Code is the physical data center where this service is located.
- resources
Sequence[GetService Resource] 
- spec
GetService Spec 
- vpc_id float
- VPC ID this service is linked to.
- created String
- Created is the time this service was created.
- environmentTag String
- Environment tag for this service.
- id String
- Service ID is the unique identifier for this service
- name String
- Service Name is the configurable name assigned to this resource. If none is provided, a default will be generated by the provider.
- regionCode String
- Region Code is the physical data center where this service is located.
- resources List<Property Map>
- spec Property Map
- vpcId Number
- VPC ID this service is linked to.
Supporting Types
GetServiceResource  
- Id string
- Spec
GetService Resource Spec 
- Id string
- Spec
GetService Resource Spec 
- id String
- spec
GetService Resource Spec 
- id string
- spec
GetService Resource Spec 
- id String
- spec Property Map
GetServiceResourceSpec   
- EnableHa boolReplica 
- EnableHAReplica defines if a replica will be provisioned for this service.
- MemoryGb double
- MemoryGB is the memory allocated for this service.
- MilliCpu double
- MilliCPU is the cpu allocated for this service.
- EnableHa boolReplica 
- EnableHAReplica defines if a replica will be provisioned for this service.
- MemoryGb float64
- MemoryGB is the memory allocated for this service.
- MilliCpu float64
- MilliCPU is the cpu allocated for this service.
- enableHa BooleanReplica 
- EnableHAReplica defines if a replica will be provisioned for this service.
- memoryGb Double
- MemoryGB is the memory allocated for this service.
- milliCpu Double
- MilliCPU is the cpu allocated for this service.
- enableHa booleanReplica 
- EnableHAReplica defines if a replica will be provisioned for this service.
- memoryGb number
- MemoryGB is the memory allocated for this service.
- milliCpu number
- MilliCPU is the cpu allocated for this service.
- enable_ha_ boolreplica 
- EnableHAReplica defines if a replica will be provisioned for this service.
- memory_gb float
- MemoryGB is the memory allocated for this service.
- milli_cpu float
- MilliCPU is the cpu allocated for this service.
- enableHa BooleanReplica 
- EnableHAReplica defines if a replica will be provisioned for this service.
- memoryGb Number
- MemoryGB is the memory allocated for this service.
- milliCpu Number
- MilliCPU is the cpu allocated for this service.
GetServiceSpec  
- Hostname string
- Hostname is the hostname of this service.
- PoolerHostname string
- Hostname of the pooler of this service.
- PoolerPort double
- Port of the pooler of this service.
- Port double
- Port is the port assigned to this service.
- ReplicaHostname string
- Hostname of the HA-Replica of this service.
- ReplicaPort double
- Port of the HA-Replica of this service.
- Username string
- Username is the Postgres username.
- Hostname string
- Hostname is the hostname of this service.
- PoolerHostname string
- Hostname of the pooler of this service.
- PoolerPort float64
- Port of the pooler of this service.
- Port float64
- Port is the port assigned to this service.
- ReplicaHostname string
- Hostname of the HA-Replica of this service.
- ReplicaPort float64
- Port of the HA-Replica of this service.
- Username string
- Username is the Postgres username.
- hostname String
- Hostname is the hostname of this service.
- poolerHostname String
- Hostname of the pooler of this service.
- poolerPort Double
- Port of the pooler of this service.
- port Double
- Port is the port assigned to this service.
- replicaHostname String
- Hostname of the HA-Replica of this service.
- replicaPort Double
- Port of the HA-Replica of this service.
- username String
- Username is the Postgres username.
- hostname string
- Hostname is the hostname of this service.
- poolerHostname string
- Hostname of the pooler of this service.
- poolerPort number
- Port of the pooler of this service.
- port number
- Port is the port assigned to this service.
- replicaHostname string
- Hostname of the HA-Replica of this service.
- replicaPort number
- Port of the HA-Replica of this service.
- username string
- Username is the Postgres username.
- hostname str
- Hostname is the hostname of this service.
- pooler_hostname str
- Hostname of the pooler of this service.
- pooler_port float
- Port of the pooler of this service.
- port float
- Port is the port assigned to this service.
- replica_hostname str
- Hostname of the HA-Replica of this service.
- replica_port float
- Port of the HA-Replica of this service.
- username str
- Username is the Postgres username.
- hostname String
- Hostname is the hostname of this service.
- poolerHostname String
- Hostname of the pooler of this service.
- poolerPort Number
- Port of the pooler of this service.
- port Number
- Port is the port assigned to this service.
- replicaHostname String
- Hostname of the HA-Replica of this service.
- replicaPort Number
- Port of the HA-Replica of this service.
- username String
- Username is the Postgres username.
Package Details
- Repository
- timescale timescale/terraform-provider-timescale
- License
- Notes
- This Pulumi package is based on the timescaleTerraform Provider.
timescale 1.15.0 published on Friday, Feb 21, 2025 by timescale