1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. DeviceManagedNetworks
Cloudflare v6.1.1 published on Monday, Apr 21, 2025 by Pulumi

cloudflare.DeviceManagedNetworks

Explore with Pulumi AI

Deprecated: cloudflare.index/devicemanagednetworks.DeviceManagedNetworks has been deprecated in favor of cloudflare.index/zerotrustdevicemanagednetworks.ZeroTrustDeviceManagedNetworks

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  exampleZeroTrustDeviceManagedNetworks:
    type: cloudflare:ZeroTrustDeviceManagedNetworks
    name: example_zero_trust_device_managed_networks
    properties:
      accountId: 699d98642c564d2e855e9661899b7252
      config:
        tls_sockaddr: foo.bar:1234
        sha256: b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c
      name: managed-network-1
      type: tls
Copy

Create DeviceManagedNetworks Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DeviceManagedNetworks(name: string, args: DeviceManagedNetworksArgs, opts?: CustomResourceOptions);
@overload
def DeviceManagedNetworks(resource_name: str,
                          args: DeviceManagedNetworksArgs,
                          opts: Optional[ResourceOptions] = None)

@overload
def DeviceManagedNetworks(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          account_id: Optional[str] = None,
                          config: Optional[DeviceManagedNetworksConfigArgs] = None,
                          name: Optional[str] = None,
                          type: Optional[str] = None)
func NewDeviceManagedNetworks(ctx *Context, name string, args DeviceManagedNetworksArgs, opts ...ResourceOption) (*DeviceManagedNetworks, error)
public DeviceManagedNetworks(string name, DeviceManagedNetworksArgs args, CustomResourceOptions? opts = null)
public DeviceManagedNetworks(String name, DeviceManagedNetworksArgs args)
public DeviceManagedNetworks(String name, DeviceManagedNetworksArgs args, CustomResourceOptions options)
type: cloudflare:DeviceManagedNetworks
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DeviceManagedNetworksArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DeviceManagedNetworksArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DeviceManagedNetworksArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DeviceManagedNetworksArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DeviceManagedNetworksArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DeviceManagedNetworks Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DeviceManagedNetworks resource accepts the following input properties:

AccountId This property is required. string
Config This property is required. DeviceManagedNetworksConfig
The configuration object containing information for the WARP client to detect the managed network.
Name This property is required. string
The name of the device managed network. This name must be unique.
Type This property is required. string
The type of device managed network. Available values: "tls".
AccountId This property is required. string
Config This property is required. DeviceManagedNetworksConfigArgs
The configuration object containing information for the WARP client to detect the managed network.
Name This property is required. string
The name of the device managed network. This name must be unique.
Type This property is required. string
The type of device managed network. Available values: "tls".
accountId This property is required. String
config This property is required. DeviceManagedNetworksConfig
The configuration object containing information for the WARP client to detect the managed network.
name This property is required. String
The name of the device managed network. This name must be unique.
type This property is required. String
The type of device managed network. Available values: "tls".
accountId This property is required. string
config This property is required. DeviceManagedNetworksConfig
The configuration object containing information for the WARP client to detect the managed network.
name This property is required. string
The name of the device managed network. This name must be unique.
type This property is required. string
The type of device managed network. Available values: "tls".
account_id This property is required. str
config This property is required. DeviceManagedNetworksConfigArgs
The configuration object containing information for the WARP client to detect the managed network.
name This property is required. str
The name of the device managed network. This name must be unique.
type This property is required. str
The type of device managed network. Available values: "tls".
accountId This property is required. String
config This property is required. Property Map
The configuration object containing information for the WARP client to detect the managed network.
name This property is required. String
The name of the device managed network. This name must be unique.
type This property is required. String
The type of device managed network. Available values: "tls".

Outputs

All input properties are implicitly available as output properties. Additionally, the DeviceManagedNetworks resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
NetworkId string
API UUID.
Id string
The provider-assigned unique ID for this managed resource.
NetworkId string
API UUID.
id String
The provider-assigned unique ID for this managed resource.
networkId String
API UUID.
id string
The provider-assigned unique ID for this managed resource.
networkId string
API UUID.
id str
The provider-assigned unique ID for this managed resource.
network_id str
API UUID.
id String
The provider-assigned unique ID for this managed resource.
networkId String
API UUID.

Look up Existing DeviceManagedNetworks Resource

Get an existing DeviceManagedNetworks resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DeviceManagedNetworksState, opts?: CustomResourceOptions): DeviceManagedNetworks
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        config: Optional[DeviceManagedNetworksConfigArgs] = None,
        name: Optional[str] = None,
        network_id: Optional[str] = None,
        type: Optional[str] = None) -> DeviceManagedNetworks
func GetDeviceManagedNetworks(ctx *Context, name string, id IDInput, state *DeviceManagedNetworksState, opts ...ResourceOption) (*DeviceManagedNetworks, error)
public static DeviceManagedNetworks Get(string name, Input<string> id, DeviceManagedNetworksState? state, CustomResourceOptions? opts = null)
public static DeviceManagedNetworks get(String name, Output<String> id, DeviceManagedNetworksState state, CustomResourceOptions options)
resources:  _:    type: cloudflare:DeviceManagedNetworks    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AccountId string
Config DeviceManagedNetworksConfig
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".
AccountId string
Config DeviceManagedNetworksConfigArgs
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".
accountId String
config DeviceManagedNetworksConfig
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".
accountId string
config DeviceManagedNetworksConfig
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".
account_id str
config DeviceManagedNetworksConfigArgs
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".
accountId String
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".

Supporting Types

DeviceManagedNetworksConfig
, DeviceManagedNetworksConfigArgs

TlsSockaddr This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.
tls_sockaddr This property is required. str
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.
tlsSockaddr This property is required. 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.

Import

$ pulumi import cloudflare:index/deviceManagedNetworks:DeviceManagedNetworks example '<account_id>/<network_id>'
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.