Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getAddressMaps
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleAddressMaps = cloudflare.getAddressMaps({
accountId: "258def64c72dae45f3e4c8516e2111f2",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_address_maps = cloudflare.get_address_maps(account_id="258def64c72dae45f3e4c8516e2111f2")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.LookupAddressMaps(ctx, &cloudflare.LookupAddressMapsArgs{
AccountId: "258def64c72dae45f3e4c8516e2111f2",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleAddressMaps = Cloudflare.GetAddressMaps.Invoke(new()
{
AccountId = "258def64c72dae45f3e4c8516e2111f2",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetAddressMapsArgs;
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 exampleAddressMaps = CloudflareFunctions.getAddressMaps(GetAddressMapsArgs.builder()
.accountId("258def64c72dae45f3e4c8516e2111f2")
.build());
}
}
variables:
exampleAddressMaps:
fn::invoke:
function: cloudflare:getAddressMaps
arguments:
accountId: 258def64c72dae45f3e4c8516e2111f2
Using getAddressMaps
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 getAddressMaps(args: GetAddressMapsArgs, opts?: InvokeOptions): Promise<GetAddressMapsResult>
function getAddressMapsOutput(args: GetAddressMapsOutputArgs, opts?: InvokeOptions): Output<GetAddressMapsResult>
def get_address_maps(account_id: Optional[str] = None,
max_items: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetAddressMapsResult
def get_address_maps_output(account_id: Optional[pulumi.Input[str]] = None,
max_items: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAddressMapsResult]
func LookupAddressMaps(ctx *Context, args *LookupAddressMapsArgs, opts ...InvokeOption) (*LookupAddressMapsResult, error)
func LookupAddressMapsOutput(ctx *Context, args *LookupAddressMapsOutputArgs, opts ...InvokeOption) LookupAddressMapsResultOutput
> Note: This function is named LookupAddressMaps
in the Go SDK.
public static class GetAddressMaps
{
public static Task<GetAddressMapsResult> InvokeAsync(GetAddressMapsArgs args, InvokeOptions? opts = null)
public static Output<GetAddressMapsResult> Invoke(GetAddressMapsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAddressMapsResult> getAddressMaps(GetAddressMapsArgs args, InvokeOptions options)
public static Output<GetAddressMapsResult> getAddressMaps(GetAddressMapsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getAddressMaps:getAddressMaps
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - Identifier of a Cloudflare account.
- max_
items int - Max items to fetch, default: 1000
getAddressMaps Result
The following output properties are available:
- Account
Id string - Identifier of a Cloudflare account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Address Maps Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Account
Id string - Identifier of a Cloudflare account.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Address Maps Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- account
Id String - Identifier of a Cloudflare account.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Address Maps Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- account
Id string - Identifier of a Cloudflare account.
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Address Maps Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- account_
id str - Identifier of a Cloudflare account.
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Address Maps Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- account
Id String - Identifier of a Cloudflare account.
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
Supporting Types
GetAddressMapsResult
- Can
Delete bool - If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps.
- Can
Modify boolIps - If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps.
- Created
At string - Default
Sni string - If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.
- Description string
- An optional description field which may be used to describe the types of IPs or zones on the map.
- Enabled bool
- Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled.
- Id string
- Identifier of an Address Map.
- Modified
At string
- Can
Delete bool - If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps.
- Can
Modify boolIps - If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps.
- Created
At string - Default
Sni string - If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.
- Description string
- An optional description field which may be used to describe the types of IPs or zones on the map.
- Enabled bool
- Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled.
- Id string
- Identifier of an Address Map.
- Modified
At string
- can
Delete Boolean - If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps.
- can
Modify BooleanIps - If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps.
- created
At String - default
Sni String - If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.
- description String
- An optional description field which may be used to describe the types of IPs or zones on the map.
- enabled Boolean
- Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled.
- id String
- Identifier of an Address Map.
- modified
At String
- can
Delete boolean - If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps.
- can
Modify booleanIps - If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps.
- created
At string - default
Sni string - If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.
- description string
- An optional description field which may be used to describe the types of IPs or zones on the map.
- enabled boolean
- Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled.
- id string
- Identifier of an Address Map.
- modified
At string
- can_
delete bool - If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps.
- can_
modify_ boolips - If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps.
- created_
at str - default_
sni str - If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.
- description str
- An optional description field which may be used to describe the types of IPs or zones on the map.
- enabled bool
- Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled.
- id str
- Identifier of an Address Map.
- modified_
at str
- can
Delete Boolean - If set to false, then the Address Map cannot be deleted via API. This is true for Cloudflare-managed maps.
- can
Modify BooleanIps - If set to false, then the IPs on the Address Map cannot be modified via the API. This is true for Cloudflare-managed maps.
- created
At String - default
Sni String - If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.
- description String
- An optional description field which may be used to describe the types of IPs or zones on the map.
- enabled Boolean
- Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled.
- id String
- Identifier of an Address Map.
- modified
At String
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.