mongodbatlas.StreamPrivatelinkEndpoint
Explore with Pulumi AI
# Resource: mongodbatlas.StreamPrivatelinkEndpoint
mongodbatlas.StreamPrivatelinkEndpoint
describes a Privatelink Endpoint for Streams.
Example Usage
Create StreamPrivatelinkEndpoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StreamPrivatelinkEndpoint(name: string, args: StreamPrivatelinkEndpointArgs, opts?: CustomResourceOptions);
@overload
def StreamPrivatelinkEndpoint(resource_name: str,
args: StreamPrivatelinkEndpointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StreamPrivatelinkEndpoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
project_id: Optional[str] = None,
provider_name: Optional[str] = None,
vendor: Optional[str] = None,
dns_domain: Optional[str] = None,
dns_sub_domains: Optional[Sequence[str]] = None,
region: Optional[str] = None,
service_endpoint_id: Optional[str] = None)
func NewStreamPrivatelinkEndpoint(ctx *Context, name string, args StreamPrivatelinkEndpointArgs, opts ...ResourceOption) (*StreamPrivatelinkEndpoint, error)
public StreamPrivatelinkEndpoint(string name, StreamPrivatelinkEndpointArgs args, CustomResourceOptions? opts = null)
public StreamPrivatelinkEndpoint(String name, StreamPrivatelinkEndpointArgs args)
public StreamPrivatelinkEndpoint(String name, StreamPrivatelinkEndpointArgs args, CustomResourceOptions options)
type: mongodbatlas:StreamPrivatelinkEndpoint
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 StreamPrivatelinkEndpointArgs
- 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 StreamPrivatelinkEndpointArgs
- 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 StreamPrivatelinkEndpointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamPrivatelinkEndpointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamPrivatelinkEndpointArgs
- 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 streamPrivatelinkEndpointResource = new Mongodbatlas.StreamPrivatelinkEndpoint("streamPrivatelinkEndpointResource", new()
{
ProjectId = "string",
ProviderName = "string",
Vendor = "string",
DnsDomain = "string",
DnsSubDomains = new[]
{
"string",
},
Region = "string",
ServiceEndpointId = "string",
});
example, err := mongodbatlas.NewStreamPrivatelinkEndpoint(ctx, "streamPrivatelinkEndpointResource", &mongodbatlas.StreamPrivatelinkEndpointArgs{
ProjectId: pulumi.String("string"),
ProviderName: pulumi.String("string"),
Vendor: pulumi.String("string"),
DnsDomain: pulumi.String("string"),
DnsSubDomains: pulumi.StringArray{
pulumi.String("string"),
},
Region: pulumi.String("string"),
ServiceEndpointId: pulumi.String("string"),
})
var streamPrivatelinkEndpointResource = new StreamPrivatelinkEndpoint("streamPrivatelinkEndpointResource", StreamPrivatelinkEndpointArgs.builder()
.projectId("string")
.providerName("string")
.vendor("string")
.dnsDomain("string")
.dnsSubDomains("string")
.region("string")
.serviceEndpointId("string")
.build());
stream_privatelink_endpoint_resource = mongodbatlas.StreamPrivatelinkEndpoint("streamPrivatelinkEndpointResource",
project_id="string",
provider_name="string",
vendor="string",
dns_domain="string",
dns_sub_domains=["string"],
region="string",
service_endpoint_id="string")
const streamPrivatelinkEndpointResource = new mongodbatlas.StreamPrivatelinkEndpoint("streamPrivatelinkEndpointResource", {
projectId: "string",
providerName: "string",
vendor: "string",
dnsDomain: "string",
dnsSubDomains: ["string"],
region: "string",
serviceEndpointId: "string",
});
type: mongodbatlas:StreamPrivatelinkEndpoint
properties:
dnsDomain: string
dnsSubDomains:
- string
projectId: string
providerName: string
region: string
serviceEndpointId: string
vendor: string
StreamPrivatelinkEndpoint 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 StreamPrivatelinkEndpoint resource accepts the following input properties:
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- Provider
Name string - Provider where the Kafka cluster is deployed.
- Vendor string
- Vendor who manages the Kafka cluster.
- Dns
Domain string - Domain name of Privatelink connected cluster.
- Dns
Sub List<string>Domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- Region string
- Domain name of Confluent cluster.
- Service
Endpoint stringId - Service Endpoint ID.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- Provider
Name string - Provider where the Kafka cluster is deployed.
- Vendor string
- Vendor who manages the Kafka cluster.
- Dns
Domain string - Domain name of Privatelink connected cluster.
- Dns
Sub []stringDomains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- Region string
- Domain name of Confluent cluster.
- Service
Endpoint stringId - Service Endpoint ID.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- provider
Name String - Provider where the Kafka cluster is deployed.
- vendor String
- Vendor who manages the Kafka cluster.
- dns
Domain String - Domain name of Privatelink connected cluster.
- dns
Sub List<String>Domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- region String
- Domain name of Confluent cluster.
- service
Endpoint StringId - Service Endpoint ID.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- provider
Name string - Provider where the Kafka cluster is deployed.
- vendor string
- Vendor who manages the Kafka cluster.
- dns
Domain string - Domain name of Privatelink connected cluster.
- dns
Sub string[]Domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- region string
- Domain name of Confluent cluster.
- service
Endpoint stringId - Service Endpoint ID.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- provider_
name str - Provider where the Kafka cluster is deployed.
- vendor str
- Vendor who manages the Kafka cluster.
- dns_
domain str - Domain name of Privatelink connected cluster.
- dns_
sub_ Sequence[str]domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- region str
- Domain name of Confluent cluster.
- service_
endpoint_ strid - Service Endpoint ID.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- provider
Name String - Provider where the Kafka cluster is deployed.
- vendor String
- Vendor who manages the Kafka cluster.
- dns
Domain String - Domain name of Privatelink connected cluster.
- dns
Sub List<String>Domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- region String
- Domain name of Confluent cluster.
- service
Endpoint StringId - Service Endpoint ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamPrivatelinkEndpoint resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Interface
Endpoint stringId - Interface endpoint ID that is created from the specified service endpoint ID.
- State string
- Status of the connection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Interface
Endpoint stringId - Interface endpoint ID that is created from the specified service endpoint ID.
- State string
- Status of the connection.
- id String
- The provider-assigned unique ID for this managed resource.
- interface
Endpoint StringId - Interface endpoint ID that is created from the specified service endpoint ID.
- state String
- Status of the connection.
- id string
- The provider-assigned unique ID for this managed resource.
- interface
Endpoint stringId - Interface endpoint ID that is created from the specified service endpoint ID.
- state string
- Status of the connection.
- id str
- The provider-assigned unique ID for this managed resource.
- interface_
endpoint_ strid - Interface endpoint ID that is created from the specified service endpoint ID.
- state str
- Status of the connection.
- id String
- The provider-assigned unique ID for this managed resource.
- interface
Endpoint StringId - Interface endpoint ID that is created from the specified service endpoint ID.
- state String
- Status of the connection.
Look up Existing StreamPrivatelinkEndpoint Resource
Get an existing StreamPrivatelinkEndpoint 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?: StreamPrivatelinkEndpointState, opts?: CustomResourceOptions): StreamPrivatelinkEndpoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dns_domain: Optional[str] = None,
dns_sub_domains: Optional[Sequence[str]] = None,
interface_endpoint_id: Optional[str] = None,
project_id: Optional[str] = None,
provider_name: Optional[str] = None,
region: Optional[str] = None,
service_endpoint_id: Optional[str] = None,
state: Optional[str] = None,
vendor: Optional[str] = None) -> StreamPrivatelinkEndpoint
func GetStreamPrivatelinkEndpoint(ctx *Context, name string, id IDInput, state *StreamPrivatelinkEndpointState, opts ...ResourceOption) (*StreamPrivatelinkEndpoint, error)
public static StreamPrivatelinkEndpoint Get(string name, Input<string> id, StreamPrivatelinkEndpointState? state, CustomResourceOptions? opts = null)
public static StreamPrivatelinkEndpoint get(String name, Output<String> id, StreamPrivatelinkEndpointState state, CustomResourceOptions options)
resources: _: type: mongodbatlas:StreamPrivatelinkEndpoint get: id: ${id}
- 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.
- Dns
Domain string - Domain name of Privatelink connected cluster.
- Dns
Sub List<string>Domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- Interface
Endpoint stringId - Interface endpoint ID that is created from the specified service endpoint ID.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- Provider
Name string - Provider where the Kafka cluster is deployed.
- Region string
- Domain name of Confluent cluster.
- Service
Endpoint stringId - Service Endpoint ID.
- State string
- Status of the connection.
- Vendor string
- Vendor who manages the Kafka cluster.
- Dns
Domain string - Domain name of Privatelink connected cluster.
- Dns
Sub []stringDomains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- Interface
Endpoint stringId - Interface endpoint ID that is created from the specified service endpoint ID.
- Project
Id string - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- Provider
Name string - Provider where the Kafka cluster is deployed.
- Region string
- Domain name of Confluent cluster.
- Service
Endpoint stringId - Service Endpoint ID.
- State string
- Status of the connection.
- Vendor string
- Vendor who manages the Kafka cluster.
- dns
Domain String - Domain name of Privatelink connected cluster.
- dns
Sub List<String>Domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- interface
Endpoint StringId - Interface endpoint ID that is created from the specified service endpoint ID.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- provider
Name String - Provider where the Kafka cluster is deployed.
- region String
- Domain name of Confluent cluster.
- service
Endpoint StringId - Service Endpoint ID.
- state String
- Status of the connection.
- vendor String
- Vendor who manages the Kafka cluster.
- dns
Domain string - Domain name of Privatelink connected cluster.
- dns
Sub string[]Domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- interface
Endpoint stringId - Interface endpoint ID that is created from the specified service endpoint ID.
- project
Id string - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- provider
Name string - Provider where the Kafka cluster is deployed.
- region string
- Domain name of Confluent cluster.
- service
Endpoint stringId - Service Endpoint ID.
- state string
- Status of the connection.
- vendor string
- Vendor who manages the Kafka cluster.
- dns_
domain str - Domain name of Privatelink connected cluster.
- dns_
sub_ Sequence[str]domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- interface_
endpoint_ strid - Interface endpoint ID that is created from the specified service endpoint ID.
- project_
id str - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- provider_
name str - Provider where the Kafka cluster is deployed.
- region str
- Domain name of Confluent cluster.
- service_
endpoint_ strid - Service Endpoint ID.
- state str
- Status of the connection.
- vendor str
- Vendor who manages the Kafka cluster.
- dns
Domain String - Domain name of Privatelink connected cluster.
- dns
Sub List<String>Domains - Sub-Domain name of Confluent cluster. These are typically your availability zones.
- interface
Endpoint StringId - Interface endpoint ID that is created from the specified service endpoint ID.
- project
Id String - Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
- provider
Name String - Provider where the Kafka cluster is deployed.
- region String
- Domain name of Confluent cluster.
- service
Endpoint StringId - Service Endpoint ID.
- state String
- Status of the connection.
- vendor String
- Vendor who manages the Kafka cluster.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlas
Terraform Provider.