@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
259 lines • 8.69 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* This resource manages the WAN Assurance Networks.
*
* The Networks are used in the `servicePolicies` from the Gateway configuration, Gateway templates or HUB Profiles
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as junipermist from "@pulumi/juniper-mist";
*
* const networkOne = new junipermist.org.Network("network_one", {
* orgId: terraformTest.id,
* name: "network_one",
* subnet: "10.4.0.0/24",
* disallowMistServices: false,
* });
* ```
*
* ## Import
*
* Using `pulumi import`, import `junipermist.org.Network` with:
* Org Network can be imported by specifying the orgId and the networkId
*
* ```sh
* $ pulumi import junipermist:org/network:Network network_one 17b46405-3a6d-4715-8bb4-6bb6d06f316a.d3c42998-9012-4859-9743-6b9bee475309
* ```
*/
export declare class Network extends pulumi.CustomResource {
/**
* Get an existing Network 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<pulumi.ID>, state?: NetworkState, opts?: pulumi.CustomResourceOptions): Network;
/**
* Returns true if the given object is an instance of Network. 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 Network;
/**
* Whether to disallow Mist Devices in the network
*/
readonly disallowMistServices: pulumi.Output<boolean>;
/**
* IPv4 gateway address for this network
*/
readonly gateway: pulumi.Output<string | undefined>;
/**
* IPv6 gateway address for this network
*/
readonly gateway6: pulumi.Output<string | undefined>;
/**
* Internal access settings for this network
*/
readonly internalAccess: pulumi.Output<outputs.org.NetworkInternalAccess | undefined>;
/**
* Direct internet access and NAT settings for this network
*/
readonly internetAccess: pulumi.Output<outputs.org.NetworkInternetAccess | undefined>;
/**
* Whether to allow clients in the network to talk to each other
*/
readonly isolation: pulumi.Output<boolean | undefined>;
/**
* Settings for multicast routing on this network
*/
readonly multicast: pulumi.Output<outputs.org.NetworkMulticast | undefined>;
/**
* Display name of the organization network
*/
readonly name: pulumi.Output<string>;
/**
* Organization that owns this network
*/
readonly orgId: pulumi.Output<string>;
/**
* Other network names this network can route to, for example through BGP, OSPF or static routes
*/
readonly routedForNetworks: pulumi.Output<string[]>;
/**
* IPv4 subnet CIDR for this network
*/
readonly subnet: pulumi.Output<string>;
/**
* IPv6 subnet CIDR for this network
*/
readonly subnet6: pulumi.Output<string | undefined>;
/**
* Tenant address mappings associated with this network
*/
readonly tenants: pulumi.Output<{
[key: string]: outputs.org.NetworkTenants;
} | undefined>;
/**
* VLAN ID or variable associated with this network
*/
readonly vlanId: pulumi.Output<string | undefined>;
/**
* VPN access settings keyed by VPN name for this network
*/
readonly vpnAccess: pulumi.Output<{
[key: string]: outputs.org.NetworkVpnAccess;
} | undefined>;
/**
* Create a Network 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: NetworkArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Network resources.
*/
export interface NetworkState {
/**
* Whether to disallow Mist Devices in the network
*/
disallowMistServices?: pulumi.Input<boolean | undefined>;
/**
* IPv4 gateway address for this network
*/
gateway?: pulumi.Input<string | undefined>;
/**
* IPv6 gateway address for this network
*/
gateway6?: pulumi.Input<string | undefined>;
/**
* Internal access settings for this network
*/
internalAccess?: pulumi.Input<inputs.org.NetworkInternalAccess | undefined>;
/**
* Direct internet access and NAT settings for this network
*/
internetAccess?: pulumi.Input<inputs.org.NetworkInternetAccess | undefined>;
/**
* Whether to allow clients in the network to talk to each other
*/
isolation?: pulumi.Input<boolean | undefined>;
/**
* Settings for multicast routing on this network
*/
multicast?: pulumi.Input<inputs.org.NetworkMulticast | undefined>;
/**
* Display name of the organization network
*/
name?: pulumi.Input<string | undefined>;
/**
* Organization that owns this network
*/
orgId?: pulumi.Input<string | undefined>;
/**
* Other network names this network can route to, for example through BGP, OSPF or static routes
*/
routedForNetworks?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* IPv4 subnet CIDR for this network
*/
subnet?: pulumi.Input<string | undefined>;
/**
* IPv6 subnet CIDR for this network
*/
subnet6?: pulumi.Input<string | undefined>;
/**
* Tenant address mappings associated with this network
*/
tenants?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.NetworkTenants>;
} | undefined>;
/**
* VLAN ID or variable associated with this network
*/
vlanId?: pulumi.Input<string | undefined>;
/**
* VPN access settings keyed by VPN name for this network
*/
vpnAccess?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.NetworkVpnAccess>;
} | undefined>;
}
/**
* The set of arguments for constructing a Network resource.
*/
export interface NetworkArgs {
/**
* Whether to disallow Mist Devices in the network
*/
disallowMistServices?: pulumi.Input<boolean | undefined>;
/**
* IPv4 gateway address for this network
*/
gateway?: pulumi.Input<string | undefined>;
/**
* IPv6 gateway address for this network
*/
gateway6?: pulumi.Input<string | undefined>;
/**
* Internal access settings for this network
*/
internalAccess?: pulumi.Input<inputs.org.NetworkInternalAccess | undefined>;
/**
* Direct internet access and NAT settings for this network
*/
internetAccess?: pulumi.Input<inputs.org.NetworkInternetAccess | undefined>;
/**
* Whether to allow clients in the network to talk to each other
*/
isolation?: pulumi.Input<boolean | undefined>;
/**
* Settings for multicast routing on this network
*/
multicast?: pulumi.Input<inputs.org.NetworkMulticast | undefined>;
/**
* Display name of the organization network
*/
name?: pulumi.Input<string | undefined>;
/**
* Organization that owns this network
*/
orgId: pulumi.Input<string>;
/**
* Other network names this network can route to, for example through BGP, OSPF or static routes
*/
routedForNetworks?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* IPv4 subnet CIDR for this network
*/
subnet: pulumi.Input<string>;
/**
* IPv6 subnet CIDR for this network
*/
subnet6?: pulumi.Input<string | undefined>;
/**
* Tenant address mappings associated with this network
*/
tenants?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.NetworkTenants>;
} | undefined>;
/**
* VLAN ID or variable associated with this network
*/
vlanId?: pulumi.Input<string | undefined>;
/**
* VPN access settings keyed by VPN name for this network
*/
vpnAccess?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.NetworkVpnAccess>;
} | undefined>;
}
//# sourceMappingURL=network.d.ts.map