Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getAddressMap
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleAddressMap = cloudflare.getAddressMap({
accountId: "258def64c72dae45f3e4c8516e2111f2",
addressMapId: "055817b111884e0227e1be16a0be6ee0",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_address_map = cloudflare.get_address_map(account_id="258def64c72dae45f3e4c8516e2111f2",
address_map_id="055817b111884e0227e1be16a0be6ee0")
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.LookupAddressMap(ctx, &cloudflare.LookupAddressMapArgs{
AccountId: "258def64c72dae45f3e4c8516e2111f2",
AddressMapId: pulumi.StringRef("055817b111884e0227e1be16a0be6ee0"),
}, 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 exampleAddressMap = Cloudflare.GetAddressMap.Invoke(new()
{
AccountId = "258def64c72dae45f3e4c8516e2111f2",
AddressMapId = "055817b111884e0227e1be16a0be6ee0",
});
});
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.GetAddressMapArgs;
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 exampleAddressMap = CloudflareFunctions.getAddressMap(GetAddressMapArgs.builder()
.accountId("258def64c72dae45f3e4c8516e2111f2")
.addressMapId("055817b111884e0227e1be16a0be6ee0")
.build());
}
}
variables:
exampleAddressMap:
fn::invoke:
function: cloudflare:getAddressMap
arguments:
accountId: 258def64c72dae45f3e4c8516e2111f2
addressMapId: 055817b111884e0227e1be16a0be6ee0
Using getAddressMap
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 getAddressMap(args: GetAddressMapArgs, opts?: InvokeOptions): Promise<GetAddressMapResult>
function getAddressMapOutput(args: GetAddressMapOutputArgs, opts?: InvokeOptions): Output<GetAddressMapResult>
def get_address_map(account_id: Optional[str] = None,
address_map_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAddressMapResult
def get_address_map_output(account_id: Optional[pulumi.Input[str]] = None,
address_map_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAddressMapResult]
func LookupAddressMap(ctx *Context, args *LookupAddressMapArgs, opts ...InvokeOption) (*LookupAddressMapResult, error)
func LookupAddressMapOutput(ctx *Context, args *LookupAddressMapOutputArgs, opts ...InvokeOption) LookupAddressMapResultOutput
> Note: This function is named LookupAddressMap
in the Go SDK.
public static class GetAddressMap
{
public static Task<GetAddressMapResult> InvokeAsync(GetAddressMapArgs args, InvokeOptions? opts = null)
public static Output<GetAddressMapResult> Invoke(GetAddressMapInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAddressMapResult> getAddressMap(GetAddressMapArgs args, InvokeOptions options)
public static Output<GetAddressMapResult> getAddressMap(GetAddressMapArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getAddressMap:getAddressMap
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - Identifier of a Cloudflare account.
- Address
Map stringId - Identifier of an Address Map.
- Account
Id string - Identifier of a Cloudflare account.
- Address
Map stringId - Identifier of an Address Map.
- account
Id String - Identifier of a Cloudflare account.
- address
Map StringId - Identifier of an Address Map.
- account
Id string - Identifier of a Cloudflare account.
- address
Map stringId - Identifier of an Address Map.
- account_
id str - Identifier of a Cloudflare account.
- address_
map_ strid - Identifier of an Address Map.
- account
Id String - Identifier of a Cloudflare account.
- address
Map StringId - Identifier of an Address Map.
getAddressMap Result
The following output properties are available:
- Account
Id string - Identifier of a Cloudflare account.
- 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.
- Ips
List<Get
Address Map Ip> - The set of IPs on the Address Map.
- Memberships
List<Get
Address Map Membership> - Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership.
- Modified
At string - Address
Map stringId - Identifier of an Address Map.
- Account
Id string - Identifier of a Cloudflare account.
- 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.
- Ips
[]Get
Address Map Ip - The set of IPs on the Address Map.
- Memberships
[]Get
Address Map Membership - Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership.
- Modified
At string - Address
Map stringId - Identifier of an Address Map.
- account
Id String - Identifier of a Cloudflare account.
- 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.
- ips
List<Get
Address Map Ip> - The set of IPs on the Address Map.
- memberships
List<Get
Address Map Membership> - Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership.
- modified
At String - address
Map StringId - Identifier of an Address Map.
- account
Id string - Identifier of a Cloudflare account.
- 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.
- ips
Get
Address Map Ip[] - The set of IPs on the Address Map.
- memberships
Get
Address Map Membership[] - Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership.
- modified
At string - address
Map stringId - Identifier of an Address Map.
- account_
id str - Identifier of a Cloudflare account.
- 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.
- ips
Sequence[Get
Address Map Ip] - The set of IPs on the Address Map.
- memberships
Sequence[Get
Address Map Membership] - Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership.
- modified_
at str - address_
map_ strid - Identifier of an Address Map.
- account
Id String - Identifier of a Cloudflare account.
- 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.
- ips List<Property Map>
- The set of IPs on the Address Map.
- memberships List<Property Map>
- Zones and Accounts which will be assigned IPs on this Address Map. A zone membership will take priority over an account membership.
- modified
At String - address
Map StringId - Identifier of an Address Map.
Supporting Types
GetAddressMapIp
- created_
at str - ip str
- An IPv4 or IPv6 address.
GetAddressMapMembership
- Can
Delete bool - Controls whether the membership can be deleted via the API or not.
- Created
At string - Identifier string
- The identifier for the membership (eg. a zone or account tag).
- Kind string
- The type of the membership. Available values: "zone", "account".
- Can
Delete bool - Controls whether the membership can be deleted via the API or not.
- Created
At string - Identifier string
- The identifier for the membership (eg. a zone or account tag).
- Kind string
- The type of the membership. Available values: "zone", "account".
- can
Delete Boolean - Controls whether the membership can be deleted via the API or not.
- created
At String - identifier String
- The identifier for the membership (eg. a zone or account tag).
- kind String
- The type of the membership. Available values: "zone", "account".
- can
Delete boolean - Controls whether the membership can be deleted via the API or not.
- created
At string - identifier string
- The identifier for the membership (eg. a zone or account tag).
- kind string
- The type of the membership. Available values: "zone", "account".
- can_
delete bool - Controls whether the membership can be deleted via the API or not.
- created_
at str - identifier str
- The identifier for the membership (eg. a zone or account tag).
- kind str
- The type of the membership. Available values: "zone", "account".
- can
Delete Boolean - Controls whether the membership can be deleted via the API or not.
- created
At String - identifier String
- The identifier for the membership (eg. a zone or account tag).
- kind String
- The type of the membership. Available values: "zone", "account".
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.