1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDeviceManagedNetworksList
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.getZeroTrustDeviceManagedNetworksList

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustDeviceManagedNetworksList = cloudflare.getZeroTrustDeviceManagedNetworksList({
        accountId: "699d98642c564d2e855e9661899b7252",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_device_managed_networks_list = cloudflare.get_zero_trust_device_managed_networks_list(account_id="699d98642c564d2e855e9661899b7252")
    
    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.LookupZeroTrustDeviceManagedNetworksList(ctx, &cloudflare.LookupZeroTrustDeviceManagedNetworksListArgs{
    			AccountId: "699d98642c564d2e855e9661899b7252",
    		}, 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 exampleZeroTrustDeviceManagedNetworksList = Cloudflare.GetZeroTrustDeviceManagedNetworksList.Invoke(new()
        {
            AccountId = "699d98642c564d2e855e9661899b7252",
        });
    
    });
    
    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.GetZeroTrustDeviceManagedNetworksListArgs;
    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 exampleZeroTrustDeviceManagedNetworksList = CloudflareFunctions.getZeroTrustDeviceManagedNetworksList(GetZeroTrustDeviceManagedNetworksListArgs.builder()
                .accountId("699d98642c564d2e855e9661899b7252")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustDeviceManagedNetworksList:
        fn::invoke:
          function: cloudflare:getZeroTrustDeviceManagedNetworksList
          arguments:
            accountId: 699d98642c564d2e855e9661899b7252
    

    Using getZeroTrustDeviceManagedNetworksList

    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 getZeroTrustDeviceManagedNetworksList(args: GetZeroTrustDeviceManagedNetworksListArgs, opts?: InvokeOptions): Promise<GetZeroTrustDeviceManagedNetworksListResult>
    function getZeroTrustDeviceManagedNetworksListOutput(args: GetZeroTrustDeviceManagedNetworksListOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDeviceManagedNetworksListResult>
    def get_zero_trust_device_managed_networks_list(account_id: Optional[str] = None,
                                                    max_items: Optional[int] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetZeroTrustDeviceManagedNetworksListResult
    def get_zero_trust_device_managed_networks_list_output(account_id: Optional[pulumi.Input[str]] = None,
                                                    max_items: Optional[pulumi.Input[int]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDeviceManagedNetworksListResult]
    func LookupZeroTrustDeviceManagedNetworksList(ctx *Context, args *LookupZeroTrustDeviceManagedNetworksListArgs, opts ...InvokeOption) (*LookupZeroTrustDeviceManagedNetworksListResult, error)
    func LookupZeroTrustDeviceManagedNetworksListOutput(ctx *Context, args *LookupZeroTrustDeviceManagedNetworksListOutputArgs, opts ...InvokeOption) LookupZeroTrustDeviceManagedNetworksListResultOutput

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

    public static class GetZeroTrustDeviceManagedNetworksList 
    {
        public static Task<GetZeroTrustDeviceManagedNetworksListResult> InvokeAsync(GetZeroTrustDeviceManagedNetworksListArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustDeviceManagedNetworksListResult> Invoke(GetZeroTrustDeviceManagedNetworksListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustDeviceManagedNetworksListResult> getZeroTrustDeviceManagedNetworksList(GetZeroTrustDeviceManagedNetworksListArgs args, InvokeOptions options)
    public static Output<GetZeroTrustDeviceManagedNetworksListResult> getZeroTrustDeviceManagedNetworksList(GetZeroTrustDeviceManagedNetworksListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustDeviceManagedNetworksList:getZeroTrustDeviceManagedNetworksList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    AccountId string
    MaxItems int
    Max items to fetch, default: 1000
    accountId String
    maxItems Integer
    Max items to fetch, default: 1000
    accountId string
    maxItems number
    Max items to fetch, default: 1000
    account_id str
    max_items int
    Max items to fetch, default: 1000
    accountId String
    maxItems Number
    Max items to fetch, default: 1000

    getZeroTrustDeviceManagedNetworksList Result

    The following output properties are available:

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

    Supporting Types

    GetZeroTrustDeviceManagedNetworksListResult

    Config GetZeroTrustDeviceManagedNetworksListResultConfig
    The configuration object containing information for the WARP client to detect the managed network.
    Name string
    The name of the device managed network. This name must be unique.
    NetworkId string
    API UUID.
    Type string
    The type of device managed network. Available values: "tls".
    Config GetZeroTrustDeviceManagedNetworksListResultConfig
    The configuration object containing information for the WARP client to detect the managed network.
    Name string
    The name of the device managed network. This name must be unique.
    NetworkId string
    API UUID.
    Type string
    The type of device managed network. Available values: "tls".
    config GetZeroTrustDeviceManagedNetworksListResultConfig
    The configuration object containing information for the WARP client to detect the managed network.
    name String
    The name of the device managed network. This name must be unique.
    networkId String
    API UUID.
    type String
    The type of device managed network. Available values: "tls".
    config GetZeroTrustDeviceManagedNetworksListResultConfig
    The configuration object containing information for the WARP client to detect the managed network.
    name string
    The name of the device managed network. This name must be unique.
    networkId string
    API UUID.
    type string
    The type of device managed network. Available values: "tls".
    config GetZeroTrustDeviceManagedNetworksListResultConfig
    The configuration object containing information for the WARP client to detect the managed network.
    name str
    The name of the device managed network. This name must be unique.
    network_id str
    API UUID.
    type str
    The type of device managed network. Available values: "tls".
    config Property Map
    The configuration object containing information for the WARP client to detect the managed network.
    name String
    The name of the device managed network. This name must be unique.
    networkId String
    API UUID.
    type String
    The type of device managed network. Available values: "tls".

    GetZeroTrustDeviceManagedNetworksListResultConfig

    Sha256 string
    The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.
    TlsSockaddr string
    A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.
    Sha256 string
    The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.
    TlsSockaddr string
    A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.
    sha256 String
    The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.
    tlsSockaddr String
    A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.
    sha256 string
    The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.
    tlsSockaddr string
    A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.
    sha256 str
    The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.
    tls_sockaddr str
    A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.
    sha256 String
    The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.
    tlsSockaddr String
    A network address of the form "host:port" that the WARP client will use to detect the presence of a TLS host.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi