cockroach.PrivateEndpointServices
Explore with Pulumi AI
PrivateEndpointServices contains services that allow for private connectivity to the CockroachDB Cloud cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cockroach from "@pulumiverse/cockroach";
const config = new pulumi.Config();
const clusterId = config.require("clusterId");
const cockroach = new cockroach.PrivateEndpointServices("cockroach", {clusterId: clusterId});
import pulumi
import pulumiverse_cockroach as cockroach
config = pulumi.Config()
cluster_id = config.require("clusterId")
cockroach = cockroach.PrivateEndpointServices("cockroach", cluster_id=cluster_id)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
"github.com/pulumiverse/pulumi-cockroach/sdk/go/cockroach"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
clusterId := cfg.Require("clusterId")
_, err := cockroach.NewPrivateEndpointServices(ctx, "cockroach", &cockroach.PrivateEndpointServicesArgs{
ClusterId: pulumi.String(clusterId),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cockroach = Pulumiverse.Cockroach;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var clusterId = config.Require("clusterId");
var cockroach = new Cockroach.PrivateEndpointServices("cockroach", new()
{
ClusterId = clusterId,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cockroach.PrivateEndpointServices;
import com.pulumi.cockroach.PrivateEndpointServicesArgs;
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 config = ctx.config();
final var clusterId = config.get("clusterId");
var cockroach = new PrivateEndpointServices("cockroach", PrivateEndpointServicesArgs.builder()
.clusterId(clusterId)
.build());
}
}
configuration:
clusterId:
type: string
resources:
cockroach:
type: cockroach:PrivateEndpointServices
properties:
clusterId: ${clusterId}
Create PrivateEndpointServices Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateEndpointServices(name: string, args: PrivateEndpointServicesArgs, opts?: CustomResourceOptions);
@overload
def PrivateEndpointServices(resource_name: str,
args: PrivateEndpointServicesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateEndpointServices(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None)
func NewPrivateEndpointServices(ctx *Context, name string, args PrivateEndpointServicesArgs, opts ...ResourceOption) (*PrivateEndpointServices, error)
public PrivateEndpointServices(string name, PrivateEndpointServicesArgs args, CustomResourceOptions? opts = null)
public PrivateEndpointServices(String name, PrivateEndpointServicesArgs args)
public PrivateEndpointServices(String name, PrivateEndpointServicesArgs args, CustomResourceOptions options)
type: cockroach:PrivateEndpointServices
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PrivateEndpointServicesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PrivateEndpointServicesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PrivateEndpointServicesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateEndpointServicesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateEndpointServicesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var privateEndpointServicesResource = new Cockroach.PrivateEndpointServices("privateEndpointServicesResource", new()
{
ClusterId = "string",
});
example, err := cockroach.NewPrivateEndpointServices(ctx, "privateEndpointServicesResource", &cockroach.PrivateEndpointServicesArgs{
ClusterId: pulumi.String("string"),
})
var privateEndpointServicesResource = new PrivateEndpointServices("privateEndpointServicesResource", PrivateEndpointServicesArgs.builder()
.clusterId("string")
.build());
private_endpoint_services_resource = cockroach.PrivateEndpointServices("privateEndpointServicesResource", cluster_id="string")
const privateEndpointServicesResource = new cockroach.PrivateEndpointServices("privateEndpointServicesResource", {clusterId: "string"});
type: cockroach:PrivateEndpointServices
properties:
clusterId: string
PrivateEndpointServices Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PrivateEndpointServices resource accepts the following input properties:
- Cluster
Id string
- Cluster
Id string
- cluster
Id String
- cluster
Id string
- cluster_
id str
- cluster
Id String
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateEndpointServices resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Services
List<Pulumiverse.
Cockroach. Outputs. Private Endpoint Services Service> - Services
Map Dictionary<string, Pulumiverse.Cockroach. Outputs. Private Endpoint Services Services Map> - a map of services keyed by the region name
- Id string
- The provider-assigned unique ID for this managed resource.
- Services
[]Private
Endpoint Services Service - Services
Map map[string]PrivateEndpoint Services Services Map - a map of services keyed by the region name
- id String
- The provider-assigned unique ID for this managed resource.
- services
List<Private
Endpoint Services Service> - services
Map Map<String,PrivateEndpoint Services Services Map> - a map of services keyed by the region name
- id string
- The provider-assigned unique ID for this managed resource.
- services
Private
Endpoint Services Service[] - services
Map {[key: string]: PrivateEndpoint Services Services Map} - a map of services keyed by the region name
- id str
- The provider-assigned unique ID for this managed resource.
- services
Sequence[Private
Endpoint Services Service] - services_
map Mapping[str, PrivateEndpoint Services Services Map] - a map of services keyed by the region name
- id String
- The provider-assigned unique ID for this managed resource.
- services List<Property Map>
- services
Map Map<Property Map> - a map of services keyed by the region name
Look up Existing PrivateEndpointServices Resource
Get an existing PrivateEndpointServices resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: PrivateEndpointServicesState, opts?: CustomResourceOptions): PrivateEndpointServices
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_id: Optional[str] = None,
services: Optional[Sequence[PrivateEndpointServicesServiceArgs]] = None,
services_map: Optional[Mapping[str, PrivateEndpointServicesServicesMapArgs]] = None) -> PrivateEndpointServices
func GetPrivateEndpointServices(ctx *Context, name string, id IDInput, state *PrivateEndpointServicesState, opts ...ResourceOption) (*PrivateEndpointServices, error)
public static PrivateEndpointServices Get(string name, Input<string> id, PrivateEndpointServicesState? state, CustomResourceOptions? opts = null)
public static PrivateEndpointServices get(String name, Output<String> id, PrivateEndpointServicesState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Id string - Services
List<Pulumiverse.
Cockroach. Inputs. Private Endpoint Services Service> - Services
Map Dictionary<string, Pulumiverse.Cockroach. Inputs. Private Endpoint Services Services Map Args> - a map of services keyed by the region name
- Cluster
Id string - Services
[]Private
Endpoint Services Service Args - Services
Map map[string]PrivateEndpoint Services Services Map Args - a map of services keyed by the region name
- cluster
Id String - services
List<Private
Endpoint Services Service> - services
Map Map<String,PrivateEndpoint Services Services Map Args> - a map of services keyed by the region name
- cluster
Id string - services
Private
Endpoint Services Service[] - services
Map {[key: string]: PrivateEndpoint Services Services Map Args} - a map of services keyed by the region name
- cluster_
id str - services
Sequence[Private
Endpoint Services Service Args] - services_
map Mapping[str, PrivateEndpoint Services Services Map Args] - a map of services keyed by the region name
- cluster
Id String - services List<Property Map>
- services
Map Map<Property Map> - a map of services keyed by the region name
Supporting Types
PrivateEndpointServicesService, PrivateEndpointServicesServiceArgs
- Availability
Zone List<string>Ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- Aws
Pulumiverse.
Cockroach. Inputs. Private Endpoint Services Service Aws - Cloud
Provider string - Cloud provider associated with this service.
- Endpoint
Service stringId - Server side ID of the private endpoint connection.
- Name string
- Name of the endpoint service.
- Region
Name string - Cloud provider region code associated with this service.
- Status string
- Operation status of the service.
- Availability
Zone []stringIds - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- Aws
Private
Endpoint Services Service Aws - Cloud
Provider string - Cloud provider associated with this service.
- Endpoint
Service stringId - Server side ID of the private endpoint connection.
- Name string
- Name of the endpoint service.
- Region
Name string - Cloud provider region code associated with this service.
- Status string
- Operation status of the service.
- availability
Zone List<String>Ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- aws
Private
Endpoint Services Service Aws - cloud
Provider String - Cloud provider associated with this service.
- endpoint
Service StringId - Server side ID of the private endpoint connection.
- name String
- Name of the endpoint service.
- region
Name String - Cloud provider region code associated with this service.
- status String
- Operation status of the service.
- availability
Zone string[]Ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- aws
Private
Endpoint Services Service Aws - cloud
Provider string - Cloud provider associated with this service.
- endpoint
Service stringId - Server side ID of the private endpoint connection.
- name string
- Name of the endpoint service.
- region
Name string - Cloud provider region code associated with this service.
- status string
- Operation status of the service.
- availability_
zone_ Sequence[str]ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- aws
Private
Endpoint Services Service Aws - cloud_
provider str - Cloud provider associated with this service.
- endpoint_
service_ strid - Server side ID of the private endpoint connection.
- name str
- Name of the endpoint service.
- region_
name str - Cloud provider region code associated with this service.
- status str
- Operation status of the service.
- availability
Zone List<String>Ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- aws Property Map
- cloud
Provider String - Cloud provider associated with this service.
- endpoint
Service StringId - Server side ID of the private endpoint connection.
- name String
- Name of the endpoint service.
- region
Name String - Cloud provider region code associated with this service.
- status String
- Operation status of the service.
PrivateEndpointServicesServiceAws, PrivateEndpointServicesServiceAwsArgs
- Availability
Zone List<string>Ids - AZ IDs users should create their VPCs in to minimize their cost.
- Service
Id string - Server side ID of the PrivateLink connection.
- Service
Name string - AWS service name used to create endpoints.
- Availability
Zone []stringIds - AZ IDs users should create their VPCs in to minimize their cost.
- Service
Id string - Server side ID of the PrivateLink connection.
- Service
Name string - AWS service name used to create endpoints.
- availability
Zone List<String>Ids - AZ IDs users should create their VPCs in to minimize their cost.
- service
Id String - Server side ID of the PrivateLink connection.
- service
Name String - AWS service name used to create endpoints.
- availability
Zone string[]Ids - AZ IDs users should create their VPCs in to minimize their cost.
- service
Id string - Server side ID of the PrivateLink connection.
- service
Name string - AWS service name used to create endpoints.
- availability_
zone_ Sequence[str]ids - AZ IDs users should create their VPCs in to minimize their cost.
- service_
id str - Server side ID of the PrivateLink connection.
- service_
name str - AWS service name used to create endpoints.
- availability
Zone List<String>Ids - AZ IDs users should create their VPCs in to minimize their cost.
- service
Id String - Server side ID of the PrivateLink connection.
- service
Name String - AWS service name used to create endpoints.
PrivateEndpointServicesServicesMap, PrivateEndpointServicesServicesMapArgs
- Availability
Zone List<string>Ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- Aws
Pulumiverse.
Cockroach. Inputs. Private Endpoint Services Services Map Aws - Cloud
Provider string - Cloud provider associated with this service.
- Endpoint
Service stringId - Server side ID of the private endpoint connection.
- Name string
- Name of the endpoint service.
- Region
Name string - Cloud provider region code associated with this service.
- Status string
- Operation status of the service.
- Availability
Zone []stringIds - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- Aws
Private
Endpoint Services Services Map Aws - Cloud
Provider string - Cloud provider associated with this service.
- Endpoint
Service stringId - Server side ID of the private endpoint connection.
- Name string
- Name of the endpoint service.
- Region
Name string - Cloud provider region code associated with this service.
- Status string
- Operation status of the service.
- availability
Zone List<String>Ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- aws
Private
Endpoint Services Services Map Aws - cloud
Provider String - Cloud provider associated with this service.
- endpoint
Service StringId - Server side ID of the private endpoint connection.
- name String
- Name of the endpoint service.
- region
Name String - Cloud provider region code associated with this service.
- status String
- Operation status of the service.
- availability
Zone string[]Ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- aws
Private
Endpoint Services Services Map Aws - cloud
Provider string - Cloud provider associated with this service.
- endpoint
Service stringId - Server side ID of the private endpoint connection.
- name string
- Name of the endpoint service.
- region
Name string - Cloud provider region code associated with this service.
- status string
- Operation status of the service.
- availability_
zone_ Sequence[str]ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- aws
Private
Endpoint Services Services Map Aws - cloud_
provider str - Cloud provider associated with this service.
- endpoint_
service_ strid - Server side ID of the private endpoint connection.
- name str
- Name of the endpoint service.
- region_
name str - Cloud provider region code associated with this service.
- status str
- Operation status of the service.
- availability
Zone List<String>Ids - Availability Zone IDs of the private endpoint service. It is recommended, for cost optimization purposes, to create the private endpoint spanning these same availability zones. For more information, see data transfer cost information for your cloud provider.
- aws Property Map
- cloud
Provider String - Cloud provider associated with this service.
- endpoint
Service StringId - Server side ID of the private endpoint connection.
- name String
- Name of the endpoint service.
- region
Name String - Cloud provider region code associated with this service.
- status String
- Operation status of the service.
PrivateEndpointServicesServicesMapAws, PrivateEndpointServicesServicesMapAwsArgs
- Availability
Zone List<string>Ids - AZ IDs users should create their VPCs in to minimize their cost.
- Service
Id string - Server side ID of the PrivateLink connection.
- Service
Name string - AWS service name used to create endpoints.
- Availability
Zone []stringIds - AZ IDs users should create their VPCs in to minimize their cost.
- Service
Id string - Server side ID of the PrivateLink connection.
- Service
Name string - AWS service name used to create endpoints.
- availability
Zone List<String>Ids - AZ IDs users should create their VPCs in to minimize their cost.
- service
Id String - Server side ID of the PrivateLink connection.
- service
Name String - AWS service name used to create endpoints.
- availability
Zone string[]Ids - AZ IDs users should create their VPCs in to minimize their cost.
- service
Id string - Server side ID of the PrivateLink connection.
- service
Name string - AWS service name used to create endpoints.
- availability_
zone_ Sequence[str]ids - AZ IDs users should create their VPCs in to minimize their cost.
- service_
id str - Server side ID of the PrivateLink connection.
- service_
name str - AWS service name used to create endpoints.
- availability
Zone List<String>Ids - AZ IDs users should create their VPCs in to minimize their cost.
- service
Id String - Server side ID of the PrivateLink connection.
- service
Name String - AWS service name used to create endpoints.
Import
format:
$ pulumi import cockroach:index/privateEndpointServices:PrivateEndpointServices resource_name 1f69fdd2-600a-4cfc-a9ba-16995df0d77d
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- cockroach pulumiverse/pulumi-cockroach
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cockroach
Terraform Provider.