astra.PrivateLinkEndpoint
astra.PrivateLinkEndpoint
completes the creation of a private link endpoint by associating it with your endpoint.
Create PrivateLinkEndpoint Resource
new PrivateLinkEndpoint(name: string, args: PrivateLinkEndpointArgs, opts?: CustomResourceOptions);
@overload
def PrivateLinkEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
database_id: Optional[str] = None,
datacenter_id: Optional[str] = None,
endpoint_id: Optional[str] = None)
@overload
def PrivateLinkEndpoint(resource_name: str,
args: PrivateLinkEndpointArgs,
opts: Optional[ResourceOptions] = None)
func NewPrivateLinkEndpoint(ctx *Context, name string, args PrivateLinkEndpointArgs, opts ...ResourceOption) (*PrivateLinkEndpoint, error)
public PrivateLinkEndpoint(string name, PrivateLinkEndpointArgs args, CustomResourceOptions? opts = null)
public PrivateLinkEndpoint(String name, PrivateLinkEndpointArgs args)
public PrivateLinkEndpoint(String name, PrivateLinkEndpointArgs args, CustomResourceOptions options)
type: astra:PrivateLinkEndpoint
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateLinkEndpointArgs
- 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 PrivateLinkEndpointArgs
- 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 PrivateLinkEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateLinkEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateLinkEndpointArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PrivateLinkEndpoint Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PrivateLinkEndpoint resource accepts the following input properties:
- Database
Id string The ID of the Astra database.
- Datacenter
Id string Astra datacenter in the region where the private link will be created.
- Endpoint
Id string Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- Database
Id string The ID of the Astra database.
- Datacenter
Id string Astra datacenter in the region where the private link will be created.
- Endpoint
Id string Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- database
Id String The ID of the Astra database.
- datacenter
Id String Astra datacenter in the region where the private link will be created.
- endpoint
Id String Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- database
Id string The ID of the Astra database.
- datacenter
Id string Astra datacenter in the region where the private link will be created.
- endpoint
Id string Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- database_
id str The ID of the Astra database.
- datacenter_
id str Astra datacenter in the region where the private link will be created.
- endpoint_
id str Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- database
Id String The ID of the Astra database.
- datacenter
Id String Astra datacenter in the region where the private link will be created.
- endpoint
Id String Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
Outputs
All input properties are implicitly available as output properties. Additionally, the PrivateLinkEndpoint resource produces the following output properties:
- Astra
Endpoint stringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- Id string
The provider-assigned unique ID for this managed resource.
- Astra
Endpoint stringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- Id string
The provider-assigned unique ID for this managed resource.
- astra
Endpoint StringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- id String
The provider-assigned unique ID for this managed resource.
- astra
Endpoint stringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- id string
The provider-assigned unique ID for this managed resource.
- astra_
endpoint_ strid Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- id str
The provider-assigned unique ID for this managed resource.
- astra
Endpoint StringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing PrivateLinkEndpoint Resource
Get an existing PrivateLinkEndpoint 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?: PrivateLinkEndpointState, opts?: CustomResourceOptions): PrivateLinkEndpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
astra_endpoint_id: Optional[str] = None,
database_id: Optional[str] = None,
datacenter_id: Optional[str] = None,
endpoint_id: Optional[str] = None) -> PrivateLinkEndpoint
func GetPrivateLinkEndpoint(ctx *Context, name string, id IDInput, state *PrivateLinkEndpointState, opts ...ResourceOption) (*PrivateLinkEndpoint, error)
public static PrivateLinkEndpoint Get(string name, Input<string> id, PrivateLinkEndpointState? state, CustomResourceOptions? opts = null)
public static PrivateLinkEndpoint get(String name, Output<String> id, PrivateLinkEndpointState 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.
- Astra
Endpoint stringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- Database
Id string The ID of the Astra database.
- Datacenter
Id string Astra datacenter in the region where the private link will be created.
- Endpoint
Id string Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- Astra
Endpoint stringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- Database
Id string The ID of the Astra database.
- Datacenter
Id string Astra datacenter in the region where the private link will be created.
- Endpoint
Id string Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- astra
Endpoint StringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- database
Id String The ID of the Astra database.
- datacenter
Id String Astra datacenter in the region where the private link will be created.
- endpoint
Id String Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- astra
Endpoint stringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- database
Id string The ID of the Astra database.
- datacenter
Id string Astra datacenter in the region where the private link will be created.
- endpoint
Id string Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- astra_
endpoint_ strid Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- database_
id str The ID of the Astra database.
- datacenter_
id str Astra datacenter in the region where the private link will be created.
- endpoint_
id str Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
- astra
Endpoint StringId Endpoint ID for referencing within Astra. May be different than the endpoint_id of this resource.
- database
Id String The ID of the Astra database.
- datacenter
Id String Astra datacenter in the region where the private link will be created.
- endpoint
Id String Endpoint created in your cloud provider account example: "vpce-svc-1148ea04af8675309"
Import
Amazon AWS example
$ pulumi import astra:index/privateLinkEndpoint:PrivateLinkEndpoint example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588-1/endpoint/vpce-0f7aed6e7a18a1791
Google GCP example
$ pulumi import astra:index/privateLinkEndpoint:PrivateLinkEndpoint example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588-1/endpoint/13585698993864708
Azure EKS example
$ pulumi import astra:index/privateLinkEndpoint:PrivateLinkEndpoint example a6bc9c26-e7ce-424f-84c7-0a00afb12588/datacenter/a6bc9c26-e7ce-424f-84c7-0a00afb12588-1/endpoint/dc5ee5b1-4fc2-463e-a56b-ff54dd38b879/providers/Microsoft.Network/privateEndpoints/private-endpoint-example
Package Details
- Repository
- astra pulumiverse/pulumi-astra
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
astra
Terraform Provider.