confluentcloud.getIpAddresses
Explore with Pulumi AI
Note:
confluentcloud.getIpAddresses
data source is available in Preview for early adopters. Preview features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions.
Preview features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Preview features. Preview features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Preview features at any time in Confluent’s sole discretion.
confluentcloud.getIpAddresses
describes IP Addresses data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const main = confluentcloud.getIpAddresses({
filter: {
clouds: ["AWS"],
regions: [
"us-east-1",
"us-east-2",
],
services: ["KAFKA"],
addressTypes: ["EGRESS"],
},
});
export const ipAddresses = main.then(main => main.ipAddresses);
import pulumi
import pulumi_confluentcloud as confluentcloud
main = confluentcloud.get_ip_addresses(filter=confluentcloud.GetIpAddressesFilterArgs(
clouds=["AWS"],
regions=[
"us-east-1",
"us-east-2",
],
services=["KAFKA"],
address_types=["EGRESS"],
))
pulumi.export("ipAddresses", main.ip_addresses)
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
main, err := confluentcloud.GetIpAddresses(ctx, &confluentcloud.GetIpAddressesArgs{
Filter: confluentcloud.GetIpAddressesFilter{
Clouds: []string{
"AWS",
},
Regions: []string{
"us-east-1",
"us-east-2",
},
Services: []string{
"KAFKA",
},
AddressTypes: []string{
"EGRESS",
},
},
}, nil)
if err != nil {
return err
}
ctx.Export("ipAddresses", main.IpAddresses)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var main = ConfluentCloud.GetIpAddresses.Invoke(new()
{
Filter = new ConfluentCloud.Inputs.GetIpAddressesFilterInputArgs
{
Clouds = new[]
{
"AWS",
},
Regions = new[]
{
"us-east-1",
"us-east-2",
},
Services = new[]
{
"KAFKA",
},
AddressTypes = new[]
{
"EGRESS",
},
},
});
return new Dictionary<string, object?>
{
["ipAddresses"] = main.Apply(getIpAddressesResult => getIpAddressesResult.IpAddresses),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.ConfluentcloudFunctions;
import com.pulumi.confluentcloud.inputs.GetIpAddressesArgs;
import com.pulumi.confluentcloud.inputs.GetIpAddressesFilterArgs;
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 main = ConfluentcloudFunctions.getIpAddresses(GetIpAddressesArgs.builder()
.filter(GetIpAddressesFilterArgs.builder()
.clouds("AWS")
.regions(
"us-east-1",
"us-east-2")
.services("KAFKA")
.addressTypes("EGRESS")
.build())
.build());
ctx.export("ipAddresses", main.applyValue(getIpAddressesResult -> getIpAddressesResult.ipAddresses()));
}
}
variables:
main:
fn::invoke:
Function: confluentcloud:getIpAddresses
Arguments:
filter:
clouds:
- AWS
regions:
- us-east-1
- us-east-2
services:
- KAFKA
addressTypes:
- EGRESS
outputs:
ipAddresses: ${main.ipAddresses}
Using getIpAddresses
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 getIpAddresses(args: GetIpAddressesArgs, opts?: InvokeOptions): Promise<GetIpAddressesResult>
function getIpAddressesOutput(args: GetIpAddressesOutputArgs, opts?: InvokeOptions): Output<GetIpAddressesResult>
def get_ip_addresses(filter: Optional[GetIpAddressesFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetIpAddressesResult
def get_ip_addresses_output(filter: Optional[pulumi.Input[GetIpAddressesFilterArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIpAddressesResult]
func GetIpAddresses(ctx *Context, args *GetIpAddressesArgs, opts ...InvokeOption) (*GetIpAddressesResult, error)
func GetIpAddressesOutput(ctx *Context, args *GetIpAddressesOutputArgs, opts ...InvokeOption) GetIpAddressesResultOutput
> Note: This function is named GetIpAddresses
in the Go SDK.
public static class GetIpAddresses
{
public static Task<GetIpAddressesResult> InvokeAsync(GetIpAddressesArgs args, InvokeOptions? opts = null)
public static Output<GetIpAddressesResult> Invoke(GetIpAddressesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIpAddressesResult> getIpAddresses(GetIpAddressesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: confluentcloud:index/getIpAddresses:getIpAddresses
arguments:
# arguments dictionary
The following arguments are supported:
getIpAddresses Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Addresses List<Pulumi.Confluent Cloud. Outputs. Get Ip Addresses Ip Address> - (List of Object) List of schemas. Each schema object exports the following attributes:
- Filter
Pulumi.
Confluent Cloud. Outputs. Get Ip Addresses Filter
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Addresses []GetIp Addresses Ip Address - (List of Object) List of schemas. Each schema object exports the following attributes:
- Filter
Get
Ip Addresses Filter
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Addresses List<GetIp Addresses Ip Address> - (List of Object) List of schemas. Each schema object exports the following attributes:
- filter
Get
Ip Addresses Filter
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Addresses GetIp Addresses Ip Address[] - (List of Object) List of schemas. Each schema object exports the following attributes:
- filter
Get
Ip Addresses Filter
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
addresses Sequence[GetIp Addresses Ip Address] - (List of Object) List of schemas. Each schema object exports the following attributes:
- filter
Get
Ip Addresses Filter
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Addresses List<Property Map> - (List of Object) List of schemas. Each schema object exports the following attributes:
- filter Property Map
Supporting Types
GetIpAddressesFilter
- Address
Types List<string> - A list of address types to filter by. Accepted values are:
EGRESS
,INGRESS
. - Clouds List<string>
- A list of clouds to filter by. Accepted values are:
AWS
,AZURE
, andGCP
. - Regions List<string>
- A list of regions to filter by.
- Services List<string>
- A list of services to filter by. Accepted values are:
CONNECT
,KAFKA
.
- Address
Types []string - A list of address types to filter by. Accepted values are:
EGRESS
,INGRESS
. - Clouds []string
- A list of clouds to filter by. Accepted values are:
AWS
,AZURE
, andGCP
. - Regions []string
- A list of regions to filter by.
- Services []string
- A list of services to filter by. Accepted values are:
CONNECT
,KAFKA
.
- address
Types List<String> - A list of address types to filter by. Accepted values are:
EGRESS
,INGRESS
. - clouds List<String>
- A list of clouds to filter by. Accepted values are:
AWS
,AZURE
, andGCP
. - regions List<String>
- A list of regions to filter by.
- services List<String>
- A list of services to filter by. Accepted values are:
CONNECT
,KAFKA
.
- address
Types string[] - A list of address types to filter by. Accepted values are:
EGRESS
,INGRESS
. - clouds string[]
- A list of clouds to filter by. Accepted values are:
AWS
,AZURE
, andGCP
. - regions string[]
- A list of regions to filter by.
- services string[]
- A list of services to filter by. Accepted values are:
CONNECT
,KAFKA
.
- address_
types Sequence[str] - A list of address types to filter by. Accepted values are:
EGRESS
,INGRESS
. - clouds Sequence[str]
- A list of clouds to filter by. Accepted values are:
AWS
,AZURE
, andGCP
. - regions Sequence[str]
- A list of regions to filter by.
- services Sequence[str]
- A list of services to filter by. Accepted values are:
CONNECT
,KAFKA
.
- address
Types List<String> - A list of address types to filter by. Accepted values are:
EGRESS
,INGRESS
. - clouds List<String>
- A list of clouds to filter by. Accepted values are:
AWS
,AZURE
, andGCP
. - regions List<String>
- A list of regions to filter by.
- services List<String>
- A list of services to filter by. Accepted values are:
CONNECT
,KAFKA
.
GetIpAddressesIpAddress
- Address
Type string - (Required Integer) Whether the address is used for egress or ingress.
- Api
Version string - (Required String) An API Version of the schema version of the IP Address, for example,
networking/v1
. - Cloud string
- (Required String) The cloud service provider in which the address exists.
- Ip
Prefix string - (Required String) The IP Address range.
- Kind string
- (Required String) A kind of the Kafka cluster, for example,
IpAddress
. - Region string
- (Required Integer) The region/location where the IP Address is in use.
- Services List<string>
- (Required List of Strings) The service types that will use the address.
- Address
Type string - (Required Integer) Whether the address is used for egress or ingress.
- Api
Version string - (Required String) An API Version of the schema version of the IP Address, for example,
networking/v1
. - Cloud string
- (Required String) The cloud service provider in which the address exists.
- Ip
Prefix string - (Required String) The IP Address range.
- Kind string
- (Required String) A kind of the Kafka cluster, for example,
IpAddress
. - Region string
- (Required Integer) The region/location where the IP Address is in use.
- Services []string
- (Required List of Strings) The service types that will use the address.
- address
Type String - (Required Integer) Whether the address is used for egress or ingress.
- api
Version String - (Required String) An API Version of the schema version of the IP Address, for example,
networking/v1
. - cloud String
- (Required String) The cloud service provider in which the address exists.
- ip
Prefix String - (Required String) The IP Address range.
- kind String
- (Required String) A kind of the Kafka cluster, for example,
IpAddress
. - region String
- (Required Integer) The region/location where the IP Address is in use.
- services List<String>
- (Required List of Strings) The service types that will use the address.
- address
Type string - (Required Integer) Whether the address is used for egress or ingress.
- api
Version string - (Required String) An API Version of the schema version of the IP Address, for example,
networking/v1
. - cloud string
- (Required String) The cloud service provider in which the address exists.
- ip
Prefix string - (Required String) The IP Address range.
- kind string
- (Required String) A kind of the Kafka cluster, for example,
IpAddress
. - region string
- (Required Integer) The region/location where the IP Address is in use.
- services string[]
- (Required List of Strings) The service types that will use the address.
- address_
type str - (Required Integer) Whether the address is used for egress or ingress.
- api_
version str - (Required String) An API Version of the schema version of the IP Address, for example,
networking/v1
. - cloud str
- (Required String) The cloud service provider in which the address exists.
- ip_
prefix str - (Required String) The IP Address range.
- kind str
- (Required String) A kind of the Kafka cluster, for example,
IpAddress
. - region str
- (Required Integer) The region/location where the IP Address is in use.
- services Sequence[str]
- (Required List of Strings) The service types that will use the address.
- address
Type String - (Required Integer) Whether the address is used for egress or ingress.
- api
Version String - (Required String) An API Version of the schema version of the IP Address, for example,
networking/v1
. - cloud String
- (Required String) The cloud service provider in which the address exists.
- ip
Prefix String - (Required String) The IP Address range.
- kind String
- (Required String) A kind of the Kafka cluster, for example,
IpAddress
. - region String
- (Required Integer) The region/location where the IP Address is in use.
- services List<String>
- (Required List of Strings) The service types that will use the address.
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluent
Terraform Provider.