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 dictionary
The following arguments are supported:
- Id
This property is required. string - Service ID is the unique identifier for this service
- Environment
Tag string - Environment tag for this service.
- Vpc
Id double - VPC ID this service is linked to.
- Id
This property is required. string - Service ID is the unique identifier for this service
- Environment
Tag string - Environment tag for this service.
- Vpc
Id float64 - VPC ID this service is linked to.
- id
This property is required. String - Service ID is the unique identifier for this service
- environment
Tag String - Environment tag for this service.
- vpc
Id Double - VPC ID this service is linked to.
- id
This property is required. string - Service ID is the unique identifier for this service
- environment
Tag string - Environment tag for this service.
- vpc
Id number - VPC ID this service is linked to.
- id
This property is required. 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
This property is required. String - Service ID is the unique identifier for this service
- environment
Tag String - Environment tag for this service.
- vpc
Id 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.
- Environment
Tag 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.
- Region
Code string - Region Code is the physical data center where this service is located.
- Resources
List<Get
Service Resource> - Spec
Get
Service Spec - Vpc
Id double - VPC ID this service is linked to.
- Created string
- Created is the time this service was created.
- Environment
Tag 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.
- Region
Code string - Region Code is the physical data center where this service is located.
- Resources
[]Get
Service Resource - Spec
Get
Service Spec - Vpc
Id float64 - VPC ID this service is linked to.
- created String
- Created is the time this service was created.
- environment
Tag 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.
- region
Code String - Region Code is the physical data center where this service is located.
- resources
List<Get
Service Resource> - spec
Get
Service Spec - vpc
Id Double - VPC ID this service is linked to.
- created string
- Created is the time this service was created.
- environment
Tag 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.
- region
Code string - Region Code is the physical data center where this service is located.
- resources
Get
Service Resource[] - spec
Get
Service Spec - vpc
Id 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[Get
Service Resource] - spec
Get
Service Spec - vpc_
id float - VPC ID this service is linked to.
- created String
- Created is the time this service was created.
- environment
Tag 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.
- region
Code String - Region Code is the physical data center where this service is located.
- resources List<Property Map>
- spec Property Map
- vpc
Id Number - VPC ID this service is linked to.
Supporting Types
GetServiceResource
- Id
This property is required. string - Spec
This property is required. GetService Resource Spec
- Id
This property is required. string - Spec
This property is required. GetService Resource Spec
- id
This property is required. String - spec
This property is required. GetService Resource Spec
- id
This property is required. string - spec
This property is required. GetService Resource Spec
- id
This property is required. str - spec
This property is required. GetService Resource Spec
- id
This property is required. String - spec
This property is required. Property Map
GetServiceResourceSpec
- Enable
Ha Replica This property is required. bool - EnableHAReplica defines if a replica will be provisioned for this service.
- Memory
Gb This property is required. double - MemoryGB is the memory allocated for this service.
- Milli
Cpu This property is required. double - MilliCPU is the cpu allocated for this service.
- Enable
Ha Replica This property is required. bool - EnableHAReplica defines if a replica will be provisioned for this service.
- Memory
Gb This property is required. float64 - MemoryGB is the memory allocated for this service.
- Milli
Cpu This property is required. float64 - MilliCPU is the cpu allocated for this service.
- enable
Ha Replica This property is required. Boolean - EnableHAReplica defines if a replica will be provisioned for this service.
- memory
Gb This property is required. Double - MemoryGB is the memory allocated for this service.
- milli
Cpu This property is required. Double - MilliCPU is the cpu allocated for this service.
- enable
Ha Replica This property is required. boolean - EnableHAReplica defines if a replica will be provisioned for this service.
- memory
Gb This property is required. number - MemoryGB is the memory allocated for this service.
- milli
Cpu This property is required. number - MilliCPU is the cpu allocated for this service.
- enable_
ha_ replica This property is required. bool - EnableHAReplica defines if a replica will be provisioned for this service.
- memory_
gb This property is required. float - MemoryGB is the memory allocated for this service.
- milli_
cpu This property is required. float - MilliCPU is the cpu allocated for this service.
- enable
Ha Replica This property is required. Boolean - EnableHAReplica defines if a replica will be provisioned for this service.
- memory
Gb This property is required. Number - MemoryGB is the memory allocated for this service.
- milli
Cpu This property is required. Number - MilliCPU is the cpu allocated for this service.
GetServiceSpec
- Hostname
This property is required. string - Hostname is the hostname of this service.
- Pooler
Hostname This property is required. string - Hostname of the pooler of this service.
- Pooler
Port This property is required. double - Port of the pooler of this service.
- Port
This property is required. double - Port is the port assigned to this service.
- Replica
Hostname This property is required. string - Hostname of the HA-Replica of this service.
- Replica
Port This property is required. double - Port of the HA-Replica of this service.
- Username
This property is required. string - Username is the Postgres username.
- Hostname
This property is required. string - Hostname is the hostname of this service.
- Pooler
Hostname This property is required. string - Hostname of the pooler of this service.
- Pooler
Port This property is required. float64 - Port of the pooler of this service.
- Port
This property is required. float64 - Port is the port assigned to this service.
- Replica
Hostname This property is required. string - Hostname of the HA-Replica of this service.
- Replica
Port This property is required. float64 - Port of the HA-Replica of this service.
- Username
This property is required. string - Username is the Postgres username.
- hostname
This property is required. String - Hostname is the hostname of this service.
- pooler
Hostname This property is required. String - Hostname of the pooler of this service.
- pooler
Port This property is required. Double - Port of the pooler of this service.
- port
This property is required. Double - Port is the port assigned to this service.
- replica
Hostname This property is required. String - Hostname of the HA-Replica of this service.
- replica
Port This property is required. Double - Port of the HA-Replica of this service.
- username
This property is required. String - Username is the Postgres username.
- hostname
This property is required. string - Hostname is the hostname of this service.
- pooler
Hostname This property is required. string - Hostname of the pooler of this service.
- pooler
Port This property is required. number - Port of the pooler of this service.
- port
This property is required. number - Port is the port assigned to this service.
- replica
Hostname This property is required. string - Hostname of the HA-Replica of this service.
- replica
Port This property is required. number - Port of the HA-Replica of this service.
- username
This property is required. string - Username is the Postgres username.
- hostname
This property is required. str - Hostname is the hostname of this service.
- pooler_
hostname This property is required. str - Hostname of the pooler of this service.
- pooler_
port This property is required. float - Port of the pooler of this service.
- port
This property is required. float - Port is the port assigned to this service.
- replica_
hostname This property is required. str - Hostname of the HA-Replica of this service.
- replica_
port This property is required. float - Port of the HA-Replica of this service.
- username
This property is required. str - Username is the Postgres username.
- hostname
This property is required. String - Hostname is the hostname of this service.
- pooler
Hostname This property is required. String - Hostname of the pooler of this service.
- pooler
Port This property is required. Number - Port of the pooler of this service.
- port
This property is required. Number - Port is the port assigned to this service.
- replica
Hostname This property is required. String - Hostname of the HA-Replica of this service.
- replica
Port This property is required. Number - Port of the HA-Replica of this service.
- username
This property is required. String - Username is the Postgres username.
Package Details
- Repository
- timescale timescale/terraform-provider-timescale
- License
- Notes
- This Pulumi package is based on the
timescale
Terraform Provider.
timescale 1.15.0 published on Friday, Feb 21, 2025 by timescale