@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
188 lines (187 loc) • 7.01 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 `mist_org_network` with:
*
* Org Network can be imported by specifying the org_id and the network_id
*
* ```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>;
readonly gateway: pulumi.Output<string | undefined>;
readonly gateway6: pulumi.Output<string | undefined>;
readonly internalAccess: pulumi.Output<outputs.org.NetworkInternalAccess | undefined>;
/**
* Whether this network has direct internet access
*/
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>;
/**
* Whether to enable multicast support (only PIM-sparse mode is supported)
*/
readonly multicast: pulumi.Output<outputs.org.NetworkMulticast | undefined>;
readonly name: pulumi.Output<string>;
readonly orgId: pulumi.Output<string>;
/**
* For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
*/
readonly routedForNetworks: pulumi.Output<string[]>;
readonly subnet: pulumi.Output<string>;
readonly subnet6: pulumi.Output<string | undefined>;
/**
* Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
*/
readonly tenants: pulumi.Output<{
[key: string]: outputs.org.NetworkTenants;
} | undefined>;
readonly vlanId: pulumi.Output<string | undefined>;
/**
* Property key is the VPN name. Whether this network can be accessed from vpn
*/
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>;
gateway?: pulumi.Input<string>;
gateway6?: pulumi.Input<string>;
internalAccess?: pulumi.Input<inputs.org.NetworkInternalAccess>;
/**
* Whether this network has direct internet access
*/
internetAccess?: pulumi.Input<inputs.org.NetworkInternetAccess>;
/**
* Whether to allow clients in the network to talk to each other
*/
isolation?: pulumi.Input<boolean>;
/**
* Whether to enable multicast support (only PIM-sparse mode is supported)
*/
multicast?: pulumi.Input<inputs.org.NetworkMulticast>;
name?: pulumi.Input<string>;
orgId?: pulumi.Input<string>;
/**
* For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
*/
routedForNetworks?: pulumi.Input<pulumi.Input<string>[]>;
subnet?: pulumi.Input<string>;
subnet6?: pulumi.Input<string>;
/**
* Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
*/
tenants?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.NetworkTenants>;
}>;
vlanId?: pulumi.Input<string>;
/**
* Property key is the VPN name. Whether this network can be accessed from vpn
*/
vpnAccess?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.NetworkVpnAccess>;
}>;
}
/**
* The set of arguments for constructing a Network resource.
*/
export interface NetworkArgs {
/**
* Whether to disallow Mist Devices in the network
*/
disallowMistServices?: pulumi.Input<boolean>;
gateway?: pulumi.Input<string>;
gateway6?: pulumi.Input<string>;
internalAccess?: pulumi.Input<inputs.org.NetworkInternalAccess>;
/**
* Whether this network has direct internet access
*/
internetAccess?: pulumi.Input<inputs.org.NetworkInternetAccess>;
/**
* Whether to allow clients in the network to talk to each other
*/
isolation?: pulumi.Input<boolean>;
/**
* Whether to enable multicast support (only PIM-sparse mode is supported)
*/
multicast?: pulumi.Input<inputs.org.NetworkMulticast>;
name?: pulumi.Input<string>;
orgId: pulumi.Input<string>;
/**
* For a Network (usually LAN), it can be routable to other networks (e.g. OSPF)
*/
routedForNetworks?: pulumi.Input<pulumi.Input<string>[]>;
subnet: pulumi.Input<string>;
subnet6?: pulumi.Input<string>;
/**
* Property key must be the user/tenant name (i.e. "printer-1") or a Variable (i.e. "{{myvar}}")
*/
tenants?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.NetworkTenants>;
}>;
vlanId?: pulumi.Input<string>;
/**
* Property key is the VPN name. Whether this network can be accessed from vpn
*/
vpnAccess?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.NetworkVpnAccess>;
}>;
}