Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Accepted Permissions
Zero Trust ReadZero Trust Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDeviceIpProfile = cloudflare.getZeroTrustDeviceIpProfile({
accountId: "account_id",
profileId: "profile_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_device_ip_profile = cloudflare.get_zero_trust_device_ip_profile(account_id="account_id",
profile_id="profile_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.GetZeroTrustDeviceIpProfile(ctx, &cloudflare.LookupZeroTrustDeviceIpProfileArgs{
AccountId: pulumi.StringRef("account_id"),
ProfileId: pulumi.StringRef("profile_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 exampleZeroTrustDeviceIpProfile = Cloudflare.Index.GetZeroTrustDeviceIpProfile.Invoke(new()
{
AccountId = "account_id",
ProfileId = "profile_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.GetZeroTrustDeviceIpProfileArgs;
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 exampleZeroTrustDeviceIpProfile = CloudflareFunctions.getZeroTrustDeviceIpProfile(GetZeroTrustDeviceIpProfileArgs.builder()
.accountId("account_id")
.profileId("profile_id")
.build());
}
}
variables:
exampleZeroTrustDeviceIpProfile:
fn::invoke:
function: cloudflare:getZeroTrustDeviceIpProfile
arguments:
accountId: account_id
profileId: profile_id
Using getZeroTrustDeviceIpProfile
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 getZeroTrustDeviceIpProfile(args: GetZeroTrustDeviceIpProfileArgs, opts?: InvokeOptions): Promise<GetZeroTrustDeviceIpProfileResult>
function getZeroTrustDeviceIpProfileOutput(args: GetZeroTrustDeviceIpProfileOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDeviceIpProfileResult>def get_zero_trust_device_ip_profile(account_id: Optional[str] = None,
filter: Optional[GetZeroTrustDeviceIpProfileFilter] = None,
profile_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustDeviceIpProfileResult
def get_zero_trust_device_ip_profile_output(account_id: Optional[pulumi.Input[str]] = None,
filter: Optional[pulumi.Input[GetZeroTrustDeviceIpProfileFilterArgs]] = None,
profile_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDeviceIpProfileResult]func LookupZeroTrustDeviceIpProfile(ctx *Context, args *LookupZeroTrustDeviceIpProfileArgs, opts ...InvokeOption) (*LookupZeroTrustDeviceIpProfileResult, error)
func LookupZeroTrustDeviceIpProfileOutput(ctx *Context, args *LookupZeroTrustDeviceIpProfileOutputArgs, opts ...InvokeOption) LookupZeroTrustDeviceIpProfileResultOutput> Note: This function is named LookupZeroTrustDeviceIpProfile in the Go SDK.
public static class GetZeroTrustDeviceIpProfile
{
public static Task<GetZeroTrustDeviceIpProfileResult> InvokeAsync(GetZeroTrustDeviceIpProfileArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustDeviceIpProfileResult> Invoke(GetZeroTrustDeviceIpProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustDeviceIpProfileResult> getZeroTrustDeviceIpProfile(GetZeroTrustDeviceIpProfileArgs args, InvokeOptions options)
public static Output<GetZeroTrustDeviceIpProfileResult> getZeroTrustDeviceIpProfile(GetZeroTrustDeviceIpProfileArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustDeviceIpProfile:getZeroTrustDeviceIpProfile
arguments:
# arguments dictionaryThe following arguments are supported:
- Account
Id string - Filter
Get
Zero Trust Device Ip Profile Filter - Profile
Id string
- Account
Id string - Filter
Get
Zero Trust Device Ip Profile Filter - Profile
Id string
- account
Id String - filter
Get
Zero Trust Device Ip Profile Filter - profile
Id String
- account
Id string - filter
Get
Zero Trust Device Ip Profile Filter - profile
Id string
- account
Id String - filter Property Map
- profile
Id String
getZeroTrustDeviceIpProfile Result
The following output properties are available:
- Created
At 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 this resource.
- 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.
- Subnet
Id string - The ID of the Subnet.
- Updated
At string - The RFC3339Nano timestamp when the Device IP profile was last updated.
- Account
Id string - Filter
Get
Zero Trust Device Ip Profile Filter - Profile
Id string
- Created
At 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 this resource.
- 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.
- Subnet
Id string - The ID of the Subnet.
- Updated
At string - The RFC3339Nano timestamp when the Device IP profile was last updated.
- Account
Id string - Filter
Get
Zero Trust Device Ip Profile Filter - Profile
Id string
- created
At 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 this resource.
- 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.
- subnet
Id String - The ID of the Subnet.
- updated
At String - The RFC3339Nano timestamp when the Device IP profile was last updated.
- account
Id String - filter
Get
Zero Trust Device Ip Profile Filter - profile
Id String
- created
At 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 this resource.
- 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.
- subnet
Id string - The ID of the Subnet.
- updated
At string - The RFC3339Nano timestamp when the Device IP profile was last updated.
- account
Id string - filter
Get
Zero Trust Device Ip Profile Filter - profile
Id string
- 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 this resource.
- 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.
- account_
id str - filter
Get
Zero Trust Device Ip Profile Filter - profile_
id str
- created
At 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 this resource.
- 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.
- subnet
Id String - The ID of the Subnet.
- updated
At String - The RFC3339Nano timestamp when the Device IP profile was last updated.
- account
Id String - filter Property Map
- profile
Id String
Supporting Types
GetZeroTrustDeviceIpProfileFilter
- Per
Page int - The number of IP profiles to return per page.
- Per
Page int - The number of IP profiles to return per page.
- per
Page Integer - The number of IP profiles to return per page.
- per
Page number - The number of IP profiles to return per page.
- per_
page int - The number of IP profiles to return per page.
- per
Page Number - The number of IP profiles to return per page.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
