import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare class DockerNetwork extends pulumi.CustomResource { /** * Get an existing DockerNetwork resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DockerNetworkState, opts?: pulumi.CustomResourceOptions): DockerNetwork; /** * Returns true if the given object is an instance of DockerNetwork. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DockerNetwork; /** * Whether standalone containers may attach to this Swarm overlay network. */ readonly attachable: pulumi.Output; /** * Name of a config-only network from which to copy configuration. */ readonly configFrom: pulumi.Output; /** * Whether this is a config-only network that contains only configuration for other networks. */ readonly configOnly: pulumi.Output; readonly dockerNetworkId: pulumi.Output; /** * Driver used by the Docker network (e.g., bridge, overlay, macvlan, host, null). */ readonly driver: pulumi.Output; /** * Whether IPv4 is enabled on the Docker network. */ readonly enableIpv4: pulumi.Output; /** * Whether IPv6 is enabled on the Docker network. */ readonly enableIpv6: pulumi.Output; /** * ID of the Portainer environment (Docker host or Swarm) where the network is created. */ readonly endpointId: pulumi.Output; /** * Whether the network is a Swarm ingress network used for the routing mesh. */ readonly ingress: pulumi.Output; /** * Whether the network is restricted to internal use only (no external connectivity). */ readonly internal: pulumi.Output; /** * List of IPAM configuration blocks defining subnets, gateways, and IP ranges. */ readonly ipamConfigs: pulumi.Output; /** * IPAM driver used to allocate IP addresses for the Docker network. */ readonly ipamDriver: pulumi.Output; /** * Driver-specific options passed to the IPAM driver. */ readonly ipamOptions: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Key/value labels attached to the Docker network. */ readonly labels: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Name of the Docker network. */ readonly name: pulumi.Output; /** * Driver-specific options passed to the Docker network driver. */ readonly options: pulumi.Output<{ [key: string]: string; } | undefined>; /** * ID of the Portainer resource control associated with this Docker network. */ readonly resourceControlId: pulumi.Output; /** * Scope of the Docker network (local, global, or swarm). */ readonly scope: pulumi.Output; /** * Swarm node ID where the network operation is targeted, when applicable. */ readonly swarmNodeId: pulumi.Output; /** * Create a DockerNetwork resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DockerNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DockerNetwork resources. */ export interface DockerNetworkState { /** * Whether standalone containers may attach to this Swarm overlay network. */ attachable?: pulumi.Input; /** * Name of a config-only network from which to copy configuration. */ configFrom?: pulumi.Input; /** * Whether this is a config-only network that contains only configuration for other networks. */ configOnly?: pulumi.Input; dockerNetworkId?: pulumi.Input; /** * Driver used by the Docker network (e.g., bridge, overlay, macvlan, host, null). */ driver?: pulumi.Input; /** * Whether IPv4 is enabled on the Docker network. */ enableIpv4?: pulumi.Input; /** * Whether IPv6 is enabled on the Docker network. */ enableIpv6?: pulumi.Input; /** * ID of the Portainer environment (Docker host or Swarm) where the network is created. */ endpointId?: pulumi.Input; /** * Whether the network is a Swarm ingress network used for the routing mesh. */ ingress?: pulumi.Input; /** * Whether the network is restricted to internal use only (no external connectivity). */ internal?: pulumi.Input; /** * List of IPAM configuration blocks defining subnets, gateways, and IP ranges. */ ipamConfigs?: pulumi.Input[] | undefined>; /** * IPAM driver used to allocate IP addresses for the Docker network. */ ipamDriver?: pulumi.Input; /** * Driver-specific options passed to the IPAM driver. */ ipamOptions?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Key/value labels attached to the Docker network. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Name of the Docker network. */ name?: pulumi.Input; /** * Driver-specific options passed to the Docker network driver. */ options?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * ID of the Portainer resource control associated with this Docker network. */ resourceControlId?: pulumi.Input; /** * Scope of the Docker network (local, global, or swarm). */ scope?: pulumi.Input; /** * Swarm node ID where the network operation is targeted, when applicable. */ swarmNodeId?: pulumi.Input; } /** * The set of arguments for constructing a DockerNetwork resource. */ export interface DockerNetworkArgs { /** * Whether standalone containers may attach to this Swarm overlay network. */ attachable?: pulumi.Input; /** * Name of a config-only network from which to copy configuration. */ configFrom?: pulumi.Input; /** * Whether this is a config-only network that contains only configuration for other networks. */ configOnly?: pulumi.Input; dockerNetworkId?: pulumi.Input; /** * Driver used by the Docker network (e.g., bridge, overlay, macvlan, host, null). */ driver?: pulumi.Input; /** * Whether IPv4 is enabled on the Docker network. */ enableIpv4?: pulumi.Input; /** * Whether IPv6 is enabled on the Docker network. */ enableIpv6?: pulumi.Input; /** * ID of the Portainer environment (Docker host or Swarm) where the network is created. */ endpointId: pulumi.Input; /** * Whether the network is a Swarm ingress network used for the routing mesh. */ ingress?: pulumi.Input; /** * Whether the network is restricted to internal use only (no external connectivity). */ internal?: pulumi.Input; /** * List of IPAM configuration blocks defining subnets, gateways, and IP ranges. */ ipamConfigs?: pulumi.Input[] | undefined>; /** * IPAM driver used to allocate IP addresses for the Docker network. */ ipamDriver?: pulumi.Input; /** * Driver-specific options passed to the IPAM driver. */ ipamOptions?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Key/value labels attached to the Docker network. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Name of the Docker network. */ name?: pulumi.Input; /** * Driver-specific options passed to the Docker network driver. */ options?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Scope of the Docker network (local, global, or swarm). */ scope?: pulumi.Input; /** * Swarm node ID where the network operation is targeted, when applicable. */ swarmNodeId?: pulumi.Input; } //# sourceMappingURL=dockerNetwork.d.ts.map