@pulumi/juniper-mist
Version:
A Pulumi package for creating and managing Juniper Mist resources.
550 lines • 20.8 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* This resource manages the Switch Device Profiles.
*
* A Switch Device Profile is a configuration profile that defines the attributes of a switch device in a network. It includes settings for port configurations, VLANs, routing, and other switch-specific options. Switch Device Profiles are used to create consistent configurations across switch devices.
*
* The Switch Device Profile can be assigned to a switch with the `junipermist.org.DeviceprofileAssign` resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as junipermist from "@pulumi/juniper-mist";
*
* const deviceprofileSwitchOne = new junipermist.org.DeviceprofileSwitch("deviceprofile_switch_one", {
* name: "deviceprofile_switch_one",
* orgId: terraformTest.id,
* });
* ```
*/
export declare class DeviceprofileSwitch extends pulumi.CustomResource {
/**
* Get an existing DeviceprofileSwitch 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?: DeviceprofileSwitchState, opts?: pulumi.CustomResourceOptions): DeviceprofileSwitch;
/**
* Returns true if the given object is an instance of DeviceprofileSwitch. 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 DeviceprofileSwitch;
/**
* ACL policy defaults provided by this switch profile
*/
readonly aclPolicies: pulumi.Output<outputs.org.DeviceprofileSwitchAclPolicy[] | undefined>;
/**
* ACL tags available to switch access policies in this profile
*/
readonly aclTags: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchAclTags;
} | undefined>;
/**
* Additional CLI configuration commands provided by this switch profile
*/
readonly additionalConfigCmds: pulumi.Output<string[] | undefined>;
/**
* DHCP snooping defaults provided by this switch profile
*/
readonly dhcpSnooping: pulumi.Output<outputs.org.DeviceprofileSwitchDhcpSnooping | undefined>;
/**
* DHCP server defaults provided by this switch profile
*/
readonly dhcpdConfig: pulumi.Output<outputs.org.DeviceprofileSwitchDhcpdConfig | undefined>;
/**
* DNS servers provided by this switch profile
*/
readonly dnsServers: pulumi.Output<string[]>;
/**
* DNS search suffixes provided by this switch profile
*/
readonly dnsSuffixes: pulumi.Output<string[]>;
/**
* EVPN defaults applied by this switch profile
*/
readonly evpnConfig: pulumi.Output<outputs.org.DeviceprofileSwitchEvpnConfig | undefined>;
/**
* Additional IPv4 route defaults in this switch profile
*/
readonly extraRoutes: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchExtraRoutes;
} | undefined>;
/**
* Additional IPv6 route defaults in this switch profile
*/
readonly extraRoutes6: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchExtraRoutes6;
} | undefined>;
/**
* IoT port defaults provided by this switch profile
*/
readonly iotConfig: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchIotConfig;
} | undefined>;
/**
* Management IP addressing defaults in this switch profile
*/
readonly ipConfig: pulumi.Output<outputs.org.DeviceprofileSwitchIpConfig | undefined>;
/**
* Mist NAC defaults applied by this switch profile
*/
readonly mistNac: pulumi.Output<outputs.org.DeviceprofileSwitchMistNac | undefined>;
/**
* Display name of the switch profile
*/
readonly name: pulumi.Output<string>;
/**
* Layer 3 networks configured by this switch profile
*/
readonly networks: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchNetworks;
} | undefined>;
/**
* NTP servers provided by this switch profile
*/
readonly ntpServers: pulumi.Output<string[]>;
/**
* Out-of-band management IP defaults in this switch profile
*/
readonly oobIpConfig: pulumi.Output<outputs.org.DeviceprofileSwitchOobIpConfig | undefined>;
/**
* Organization that owns this switch profile
*/
readonly orgId: pulumi.Output<string>;
/**
* OSPF area defaults provided by this switch profile
*/
readonly ospfAreas: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchOspfAreas;
} | undefined>;
/**
* Property key is the network name. Defines the additional IP Addresses configured on the device.
*/
readonly otherIpConfigs: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchOtherIpConfigs;
} | undefined>;
/**
* Per-port wired defaults provided by this switch profile
*/
readonly portConfig: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchPortConfig;
} | undefined>;
/**
* Port mirroring defaults provided by this switch profile
*/
readonly portMirroring: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchPortMirroring;
} | undefined>;
/**
* Reusable switch port usage profiles provided by this switch profile
*/
readonly portUsages: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchPortUsages;
} | undefined>;
/**
* RADIUS authentication and accounting defaults in this switch profile
*/
readonly radiusConfig: pulumi.Output<outputs.org.DeviceprofileSwitchRadiusConfig | undefined>;
/**
* Remote syslog defaults provided by this switch profile
*/
readonly remoteSyslog: pulumi.Output<outputs.org.DeviceprofileSwitchRemoteSyslog | undefined>;
/**
* Routing policy defaults applied by this switch profile
*/
readonly routingPolicies: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchRoutingPolicies;
} | undefined>;
/**
* Site where this switch profile is defined, when scoped to a site
*/
readonly siteId: pulumi.Output<string | undefined>;
/**
* SNMP defaults provided by this switch profile
*/
readonly snmpConfig: pulumi.Output<outputs.org.DeviceprofileSwitchSnmpConfig | undefined>;
/**
* Spanning Tree Protocol defaults provided by this switch profile
*/
readonly stpConfig: pulumi.Output<outputs.org.DeviceprofileSwitchStpConfig | undefined>;
/**
* Management-plane defaults provided by this switch profile
*/
readonly switchMgmt: pulumi.Output<outputs.org.DeviceprofileSwitchSwitchMgmt | undefined>;
/**
* Device type discriminator for switch profiles
*/
readonly type: pulumi.Output<string>;
/**
* Whether to use it for snmp / syslog / tacplus / radius
*/
readonly useRouterIdAsSourceIp: pulumi.Output<boolean | undefined>;
/**
* VRF defaults applied by this switch profile
*/
readonly vrfConfig: pulumi.Output<outputs.org.DeviceprofileSwitchVrfConfig | undefined>;
/**
* VRF instances configured by this switch profile
*/
readonly vrfInstances: pulumi.Output<{
[key: string]: outputs.org.DeviceprofileSwitchVrfInstances;
} | undefined>;
/**
* VRRP defaults applied by this switch profile
*/
readonly vrrpConfig: pulumi.Output<outputs.org.DeviceprofileSwitchVrrpConfig | undefined>;
/**
* Create a DeviceprofileSwitch 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: DeviceprofileSwitchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DeviceprofileSwitch resources.
*/
export interface DeviceprofileSwitchState {
/**
* ACL policy defaults provided by this switch profile
*/
aclPolicies?: pulumi.Input<pulumi.Input<inputs.org.DeviceprofileSwitchAclPolicy>[] | undefined>;
/**
* ACL tags available to switch access policies in this profile
*/
aclTags?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchAclTags>;
} | undefined>;
/**
* Additional CLI configuration commands provided by this switch profile
*/
additionalConfigCmds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* DHCP snooping defaults provided by this switch profile
*/
dhcpSnooping?: pulumi.Input<inputs.org.DeviceprofileSwitchDhcpSnooping | undefined>;
/**
* DHCP server defaults provided by this switch profile
*/
dhcpdConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchDhcpdConfig | undefined>;
/**
* DNS servers provided by this switch profile
*/
dnsServers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* DNS search suffixes provided by this switch profile
*/
dnsSuffixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* EVPN defaults applied by this switch profile
*/
evpnConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchEvpnConfig | undefined>;
/**
* Additional IPv4 route defaults in this switch profile
*/
extraRoutes?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchExtraRoutes>;
} | undefined>;
/**
* Additional IPv6 route defaults in this switch profile
*/
extraRoutes6?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchExtraRoutes6>;
} | undefined>;
/**
* IoT port defaults provided by this switch profile
*/
iotConfig?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchIotConfig>;
} | undefined>;
/**
* Management IP addressing defaults in this switch profile
*/
ipConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchIpConfig | undefined>;
/**
* Mist NAC defaults applied by this switch profile
*/
mistNac?: pulumi.Input<inputs.org.DeviceprofileSwitchMistNac | undefined>;
/**
* Display name of the switch profile
*/
name?: pulumi.Input<string | undefined>;
/**
* Layer 3 networks configured by this switch profile
*/
networks?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchNetworks>;
} | undefined>;
/**
* NTP servers provided by this switch profile
*/
ntpServers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Out-of-band management IP defaults in this switch profile
*/
oobIpConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchOobIpConfig | undefined>;
/**
* Organization that owns this switch profile
*/
orgId?: pulumi.Input<string | undefined>;
/**
* OSPF area defaults provided by this switch profile
*/
ospfAreas?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchOspfAreas>;
} | undefined>;
/**
* Property key is the network name. Defines the additional IP Addresses configured on the device.
*/
otherIpConfigs?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchOtherIpConfigs>;
} | undefined>;
/**
* Per-port wired defaults provided by this switch profile
*/
portConfig?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchPortConfig>;
} | undefined>;
/**
* Port mirroring defaults provided by this switch profile
*/
portMirroring?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchPortMirroring>;
} | undefined>;
/**
* Reusable switch port usage profiles provided by this switch profile
*/
portUsages?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchPortUsages>;
} | undefined>;
/**
* RADIUS authentication and accounting defaults in this switch profile
*/
radiusConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchRadiusConfig | undefined>;
/**
* Remote syslog defaults provided by this switch profile
*/
remoteSyslog?: pulumi.Input<inputs.org.DeviceprofileSwitchRemoteSyslog | undefined>;
/**
* Routing policy defaults applied by this switch profile
*/
routingPolicies?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchRoutingPolicies>;
} | undefined>;
/**
* Site where this switch profile is defined, when scoped to a site
*/
siteId?: pulumi.Input<string | undefined>;
/**
* SNMP defaults provided by this switch profile
*/
snmpConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchSnmpConfig | undefined>;
/**
* Spanning Tree Protocol defaults provided by this switch profile
*/
stpConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchStpConfig | undefined>;
/**
* Management-plane defaults provided by this switch profile
*/
switchMgmt?: pulumi.Input<inputs.org.DeviceprofileSwitchSwitchMgmt | undefined>;
/**
* Device type discriminator for switch profiles
*/
type?: pulumi.Input<string | undefined>;
/**
* Whether to use it for snmp / syslog / tacplus / radius
*/
useRouterIdAsSourceIp?: pulumi.Input<boolean | undefined>;
/**
* VRF defaults applied by this switch profile
*/
vrfConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchVrfConfig | undefined>;
/**
* VRF instances configured by this switch profile
*/
vrfInstances?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchVrfInstances>;
} | undefined>;
/**
* VRRP defaults applied by this switch profile
*/
vrrpConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchVrrpConfig | undefined>;
}
/**
* The set of arguments for constructing a DeviceprofileSwitch resource.
*/
export interface DeviceprofileSwitchArgs {
/**
* ACL policy defaults provided by this switch profile
*/
aclPolicies?: pulumi.Input<pulumi.Input<inputs.org.DeviceprofileSwitchAclPolicy>[] | undefined>;
/**
* ACL tags available to switch access policies in this profile
*/
aclTags?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchAclTags>;
} | undefined>;
/**
* Additional CLI configuration commands provided by this switch profile
*/
additionalConfigCmds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* DHCP snooping defaults provided by this switch profile
*/
dhcpSnooping?: pulumi.Input<inputs.org.DeviceprofileSwitchDhcpSnooping | undefined>;
/**
* DHCP server defaults provided by this switch profile
*/
dhcpdConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchDhcpdConfig | undefined>;
/**
* DNS servers provided by this switch profile
*/
dnsServers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* DNS search suffixes provided by this switch profile
*/
dnsSuffixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* EVPN defaults applied by this switch profile
*/
evpnConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchEvpnConfig | undefined>;
/**
* Additional IPv4 route defaults in this switch profile
*/
extraRoutes?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchExtraRoutes>;
} | undefined>;
/**
* Additional IPv6 route defaults in this switch profile
*/
extraRoutes6?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchExtraRoutes6>;
} | undefined>;
/**
* IoT port defaults provided by this switch profile
*/
iotConfig?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchIotConfig>;
} | undefined>;
/**
* Management IP addressing defaults in this switch profile
*/
ipConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchIpConfig | undefined>;
/**
* Mist NAC defaults applied by this switch profile
*/
mistNac?: pulumi.Input<inputs.org.DeviceprofileSwitchMistNac | undefined>;
/**
* Display name of the switch profile
*/
name?: pulumi.Input<string | undefined>;
/**
* Layer 3 networks configured by this switch profile
*/
networks?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchNetworks>;
} | undefined>;
/**
* NTP servers provided by this switch profile
*/
ntpServers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
/**
* Out-of-band management IP defaults in this switch profile
*/
oobIpConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchOobIpConfig | undefined>;
/**
* Organization that owns this switch profile
*/
orgId: pulumi.Input<string>;
/**
* OSPF area defaults provided by this switch profile
*/
ospfAreas?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchOspfAreas>;
} | undefined>;
/**
* Property key is the network name. Defines the additional IP Addresses configured on the device.
*/
otherIpConfigs?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchOtherIpConfigs>;
} | undefined>;
/**
* Per-port wired defaults provided by this switch profile
*/
portConfig?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchPortConfig>;
} | undefined>;
/**
* Port mirroring defaults provided by this switch profile
*/
portMirroring?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchPortMirroring>;
} | undefined>;
/**
* Reusable switch port usage profiles provided by this switch profile
*/
portUsages?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchPortUsages>;
} | undefined>;
/**
* RADIUS authentication and accounting defaults in this switch profile
*/
radiusConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchRadiusConfig | undefined>;
/**
* Remote syslog defaults provided by this switch profile
*/
remoteSyslog?: pulumi.Input<inputs.org.DeviceprofileSwitchRemoteSyslog | undefined>;
/**
* Routing policy defaults applied by this switch profile
*/
routingPolicies?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchRoutingPolicies>;
} | undefined>;
/**
* Site where this switch profile is defined, when scoped to a site
*/
siteId?: pulumi.Input<string | undefined>;
/**
* SNMP defaults provided by this switch profile
*/
snmpConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchSnmpConfig | undefined>;
/**
* Spanning Tree Protocol defaults provided by this switch profile
*/
stpConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchStpConfig | undefined>;
/**
* Management-plane defaults provided by this switch profile
*/
switchMgmt?: pulumi.Input<inputs.org.DeviceprofileSwitchSwitchMgmt | undefined>;
/**
* Device type discriminator for switch profiles
*/
type: pulumi.Input<string>;
/**
* Whether to use it for snmp / syslog / tacplus / radius
*/
useRouterIdAsSourceIp?: pulumi.Input<boolean | undefined>;
/**
* VRF defaults applied by this switch profile
*/
vrfConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchVrfConfig | undefined>;
/**
* VRF instances configured by this switch profile
*/
vrfInstances?: pulumi.Input<{
[key: string]: pulumi.Input<inputs.org.DeviceprofileSwitchVrfInstances>;
} | undefined>;
/**
* VRRP defaults applied by this switch profile
*/
vrrpConfig?: pulumi.Input<inputs.org.DeviceprofileSwitchVrrpConfig | undefined>;
}
//# sourceMappingURL=deviceprofileSwitch.d.ts.map