1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustDeviceIpProfiles
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi

    Accepted Permissions

    • Zero Trust Read
    • Zero Trust Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustDeviceIpProfiles = cloudflare.getZeroTrustDeviceIpProfiles({
        accountId: "account_id",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_device_ip_profiles = cloudflare.get_zero_trust_device_ip_profiles(account_id="account_id")
    
    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.GetZeroTrustDeviceIpProfiles(ctx, &cloudflare.LookupZeroTrustDeviceIpProfilesArgs{
    			AccountId: pulumi.StringRef("account_id"),
    		}, 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 exampleZeroTrustDeviceIpProfiles = Cloudflare.Index.GetZeroTrustDeviceIpProfiles.Invoke(new()
        {
            AccountId = "account_id",
        });
    
    });
    
    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.GetZeroTrustDeviceIpProfilesArgs;
    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 exampleZeroTrustDeviceIpProfiles = CloudflareFunctions.getZeroTrustDeviceIpProfiles(GetZeroTrustDeviceIpProfilesArgs.builder()
                .accountId("account_id")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustDeviceIpProfiles:
        fn::invoke:
          function: cloudflare:getZeroTrustDeviceIpProfiles
          arguments:
            accountId: account_id
    

    Using getZeroTrustDeviceIpProfiles

    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 getZeroTrustDeviceIpProfiles(args: GetZeroTrustDeviceIpProfilesArgs, opts?: InvokeOptions): Promise<GetZeroTrustDeviceIpProfilesResult>
    function getZeroTrustDeviceIpProfilesOutput(args: GetZeroTrustDeviceIpProfilesOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDeviceIpProfilesResult>
    def get_zero_trust_device_ip_profiles(account_id: Optional[str] = None,
                                          max_items: Optional[int] = None,
                                          per_page: Optional[int] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetZeroTrustDeviceIpProfilesResult
    def get_zero_trust_device_ip_profiles_output(account_id: Optional[pulumi.Input[str]] = None,
                                          max_items: Optional[pulumi.Input[int]] = None,
                                          per_page: Optional[pulumi.Input[int]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDeviceIpProfilesResult]
    func LookupZeroTrustDeviceIpProfiles(ctx *Context, args *LookupZeroTrustDeviceIpProfilesArgs, opts ...InvokeOption) (*LookupZeroTrustDeviceIpProfilesResult, error)
    func LookupZeroTrustDeviceIpProfilesOutput(ctx *Context, args *LookupZeroTrustDeviceIpProfilesOutputArgs, opts ...InvokeOption) LookupZeroTrustDeviceIpProfilesResultOutput

    > Note: This function is named LookupZeroTrustDeviceIpProfiles in the Go SDK.

    public static class GetZeroTrustDeviceIpProfiles 
    {
        public static Task<GetZeroTrustDeviceIpProfilesResult> InvokeAsync(GetZeroTrustDeviceIpProfilesArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustDeviceIpProfilesResult> Invoke(GetZeroTrustDeviceIpProfilesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustDeviceIpProfilesResult> getZeroTrustDeviceIpProfiles(GetZeroTrustDeviceIpProfilesArgs args, InvokeOptions options)
    public static Output<GetZeroTrustDeviceIpProfilesResult> getZeroTrustDeviceIpProfiles(GetZeroTrustDeviceIpProfilesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustDeviceIpProfiles:getZeroTrustDeviceIpProfiles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    PerPage int
    The number of IP profiles to return per page.
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    PerPage int
    The number of IP profiles to return per page.
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    perPage Integer
    The number of IP profiles to return per page.
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    perPage number
    The number of IP profiles to return per page.
    account_id str
    max_items int
    Max items to fetch, default: 1000
    per_page int
    The number of IP profiles to return per page.
    accountId String
    maxItems Number
    Max items to fetch, default: 1000
    perPage Number
    The number of IP profiles to return per page.

    getZeroTrustDeviceIpProfiles Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    PerPage int
    The number of IP profiles to return per page.
    Results List<GetZeroTrustDeviceIpProfilesResult>
    The items returned by the data source
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    Id string
    The provider-assigned unique ID for this managed resource.
    PerPage int
    The number of IP profiles to return per page.
    Results []GetZeroTrustDeviceIpProfilesResult
    The items returned by the data source
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    id String
    The provider-assigned unique ID for this managed resource.
    perPage Integer
    The number of IP profiles to return per page.
    results List<GetZeroTrustDeviceIpProfilesResult>
    The items returned by the data source
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    id string
    The provider-assigned unique ID for this managed resource.
    perPage number
    The number of IP profiles to return per page.
    results GetZeroTrustDeviceIpProfilesResult[]
    The items returned by the data source
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    id str
    The provider-assigned unique ID for this managed resource.
    per_page int
    The number of IP profiles to return per page.
    results Sequence[GetZeroTrustDeviceIpProfilesResult]
    The items returned by the data source
    account_id str
    max_items int
    Max items to fetch, default: 1000
    id String
    The provider-assigned unique ID for this managed resource.
    perPage Number
    The number of IP profiles to return per page.
    results List<Property Map>
    The items returned by the data source
    accountId String
    maxItems Number
    Max items to fetch, default: 1000

    Supporting Types

    GetZeroTrustDeviceIpProfilesResult

    CreatedAt string
    The RFC3339Nano timestamp when the Device IP profile was created.
    Description string
    An optional description of the Device IP profile.
    Enabled bool
    Whether the Device IP profile is enabled.
    Id string
    The ID of the Device IP profile.
    Match string
    The wirefilter expression to match registrations. Available values: "identity.name", "identity.email", "identity.groups.id", "identity.groups.name", "identity.groups.email", "identity.saml_attributes".
    Name string
    A user-friendly name for the Device IP profile.
    Precedence int
    The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.
    SubnetId string
    The ID of the Subnet.
    UpdatedAt string
    The RFC3339Nano timestamp when the Device IP profile was last updated.
    CreatedAt string
    The RFC3339Nano timestamp when the Device IP profile was created.
    Description string
    An optional description of the Device IP profile.
    Enabled bool
    Whether the Device IP profile is enabled.
    Id string
    The ID of the Device IP profile.
    Match string
    The wirefilter expression to match registrations. Available values: "identity.name", "identity.email", "identity.groups.id", "identity.groups.name", "identity.groups.email", "identity.saml_attributes".
    Name string
    A user-friendly name for the Device IP profile.
    Precedence int
    The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.
    SubnetId string
    The ID of the Subnet.
    UpdatedAt string
    The RFC3339Nano timestamp when the Device IP profile was last updated.
    createdAt String
    The RFC3339Nano timestamp when the Device IP profile was created.
    description String
    An optional description of the Device IP profile.
    enabled Boolean
    Whether the Device IP profile is enabled.
    id String
    The ID of the Device IP profile.
    match String
    The wirefilter expression to match registrations. Available values: "identity.name", "identity.email", "identity.groups.id", "identity.groups.name", "identity.groups.email", "identity.saml_attributes".
    name String
    A user-friendly name for the Device IP profile.
    precedence Integer
    The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.
    subnetId String
    The ID of the Subnet.
    updatedAt String
    The RFC3339Nano timestamp when the Device IP profile was last updated.
    createdAt string
    The RFC3339Nano timestamp when the Device IP profile was created.
    description string
    An optional description of the Device IP profile.
    enabled boolean
    Whether the Device IP profile is enabled.
    id string
    The ID of the Device IP profile.
    match string
    The wirefilter expression to match registrations. Available values: "identity.name", "identity.email", "identity.groups.id", "identity.groups.name", "identity.groups.email", "identity.saml_attributes".
    name string
    A user-friendly name for the Device IP profile.
    precedence number
    The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.
    subnetId string
    The ID of the Subnet.
    updatedAt string
    The RFC3339Nano timestamp when the Device IP profile was last updated.
    created_at str
    The RFC3339Nano timestamp when the Device IP profile was created.
    description str
    An optional description of the Device IP profile.
    enabled bool
    Whether the Device IP profile is enabled.
    id str
    The ID of the Device IP profile.
    match str
    The wirefilter expression to match registrations. Available values: "identity.name", "identity.email", "identity.groups.id", "identity.groups.name", "identity.groups.email", "identity.saml_attributes".
    name str
    A user-friendly name for the Device IP profile.
    precedence int
    The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.
    subnet_id str
    The ID of the Subnet.
    updated_at str
    The RFC3339Nano timestamp when the Device IP profile was last updated.
    createdAt String
    The RFC3339Nano timestamp when the Device IP profile was created.
    description String
    An optional description of the Device IP profile.
    enabled Boolean
    Whether the Device IP profile is enabled.
    id String
    The ID of the Device IP profile.
    match String
    The wirefilter expression to match registrations. Available values: "identity.name", "identity.email", "identity.groups.id", "identity.groups.name", "identity.groups.email", "identity.saml_attributes".
    name String
    A user-friendly name for the Device IP profile.
    precedence Number
    The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.
    subnetId String
    The ID of the Subnet.
    updatedAt String
    The RFC3339Nano timestamp when the Device IP profile was last updated.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.15.0
    published on Saturday, May 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.