import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This resource can manage the Service Template configuration. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@lbrlabs/pulumi-iosxe"; * * const example = new iosxe.ServiceTemplate("example", { * absoluteTimer: 45, * accessGroups: [{ * name: "ag1", * }], * description: "service_template_desc", * dnsAclPreauth: "dns_acl_name", * ianctivityTimer: 25, * inactivityTimerProbe: false, * interfaceTemplates: [{ * name: "template1", * }], * linksecPolicy: "must-secure", * redirectAppendClientMac: "00:01:00:01:00:01", * redirectAppendSwitchMac: "00:01:00:01:00:02", * redirectUrl: "valid_url", * redirectUrlMatchAcl: "acl_name", * redirectUrlMatchAction: "redirect-on-no-match", * servicePolicyQosInput: "input_qos", * servicePolicyQosOutput: "output_qos", * sgt: 57, * tags: [{ * name: "tag_name", * }], * tunnelCapwapName: "TUN1", * vlan: 27, * vnid: "12345", * voiceVlan: false, * }); * ``` * * ## Import * * ```sh * $ pulumi import iosxe:index/serviceTemplate:ServiceTemplate example "Cisco-IOS-XE-native:native/Cisco-IOS-XE-switch:service-template=MY_TEMPLATE" * ``` */ export declare class ServiceTemplate extends pulumi.CustomResource { /** * Get an existing ServiceTemplate 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?: ServiceTemplateState, opts?: pulumi.CustomResourceOptions): ServiceTemplate; /** * Returns true if the given object is an instance of ServiceTemplate. 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 ServiceTemplate; /** * Enter a value between 1 and 1073741823 - Range: `1`-`1073741823` */ readonly absoluteTimer: pulumi.Output; /** * Access list to be applied */ readonly accessGroups: pulumi.Output; /** * Enter a description */ readonly description: pulumi.Output; /** * A device name from the provider configuration. */ readonly device: pulumi.Output; /** * pre-authentication */ readonly dnsAclPreauth: pulumi.Output; /** * Enter a value between 1 and 65535 - Range: `1`-`65535` */ readonly ianctivityTimer: pulumi.Output; /** * ARP probe */ readonly inactivityTimerProbe: pulumi.Output; /** * Interface template to be applied */ readonly interfaceTemplates: pulumi.Output; /** * Set the link security policy - Choices: `must-not-secure`, `must-secure`, `should-secure` */ readonly linksecPolicy: pulumi.Output; /** * mdns policy to be applied */ readonly mdnsServicePolicy: pulumi.Output; /** * Specify a template name (maximum 48 characters) */ readonly name: pulumi.Output; /** * Append client Mac Address in redirect URL */ readonly redirectAppendClientMac: pulumi.Output; /** * Append switch Mac Address in redirect URL */ readonly redirectAppendSwitchMac: pulumi.Output; /** * Specify a valid URL */ readonly redirectUrl: pulumi.Output; /** * Specify the access list name */ readonly redirectUrlMatchAcl: pulumi.Output; /** * - Choices: `one-time-redirect`, `redirect-on-no-match` */ readonly redirectUrlMatchAction: pulumi.Output; /** * Configure input Qos policy */ readonly servicePolicyQosInput: pulumi.Output; /** * Configure output Qos policy */ readonly servicePolicyQosOutput: pulumi.Output; /** * SGT tag - Range: `2`-`65519` */ readonly sgt: pulumi.Output; /** * tag name */ readonly tags: pulumi.Output; /** * tunnel profile name */ readonly tunnelCapwapName: pulumi.Output; /** * Vlan to be applied - Range: `1`-`4094` */ readonly vlan: pulumi.Output; /** * Vnid to be applied */ readonly vnid: pulumi.Output; /** * Critical voice vlan */ readonly voiceVlan: pulumi.Output; /** * Create a ServiceTemplate 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?: ServiceTemplateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ServiceTemplate resources. */ export interface ServiceTemplateState { /** * Enter a value between 1 and 1073741823 - Range: `1`-`1073741823` */ absoluteTimer?: pulumi.Input; /** * Access list to be applied */ accessGroups?: pulumi.Input[]>; /** * Enter a description */ description?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * pre-authentication */ dnsAclPreauth?: pulumi.Input; /** * Enter a value between 1 and 65535 - Range: `1`-`65535` */ ianctivityTimer?: pulumi.Input; /** * ARP probe */ inactivityTimerProbe?: pulumi.Input; /** * Interface template to be applied */ interfaceTemplates?: pulumi.Input[]>; /** * Set the link security policy - Choices: `must-not-secure`, `must-secure`, `should-secure` */ linksecPolicy?: pulumi.Input; /** * mdns policy to be applied */ mdnsServicePolicy?: pulumi.Input; /** * Specify a template name (maximum 48 characters) */ name?: pulumi.Input; /** * Append client Mac Address in redirect URL */ redirectAppendClientMac?: pulumi.Input; /** * Append switch Mac Address in redirect URL */ redirectAppendSwitchMac?: pulumi.Input; /** * Specify a valid URL */ redirectUrl?: pulumi.Input; /** * Specify the access list name */ redirectUrlMatchAcl?: pulumi.Input; /** * - Choices: `one-time-redirect`, `redirect-on-no-match` */ redirectUrlMatchAction?: pulumi.Input; /** * Configure input Qos policy */ servicePolicyQosInput?: pulumi.Input; /** * Configure output Qos policy */ servicePolicyQosOutput?: pulumi.Input; /** * SGT tag - Range: `2`-`65519` */ sgt?: pulumi.Input; /** * tag name */ tags?: pulumi.Input[]>; /** * tunnel profile name */ tunnelCapwapName?: pulumi.Input; /** * Vlan to be applied - Range: `1`-`4094` */ vlan?: pulumi.Input; /** * Vnid to be applied */ vnid?: pulumi.Input; /** * Critical voice vlan */ voiceVlan?: pulumi.Input; } /** * The set of arguments for constructing a ServiceTemplate resource. */ export interface ServiceTemplateArgs { /** * Enter a value between 1 and 1073741823 - Range: `1`-`1073741823` */ absoluteTimer?: pulumi.Input; /** * Access list to be applied */ accessGroups?: pulumi.Input[]>; /** * Enter a description */ description?: pulumi.Input; /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * pre-authentication */ dnsAclPreauth?: pulumi.Input; /** * Enter a value between 1 and 65535 - Range: `1`-`65535` */ ianctivityTimer?: pulumi.Input; /** * ARP probe */ inactivityTimerProbe?: pulumi.Input; /** * Interface template to be applied */ interfaceTemplates?: pulumi.Input[]>; /** * Set the link security policy - Choices: `must-not-secure`, `must-secure`, `should-secure` */ linksecPolicy?: pulumi.Input; /** * mdns policy to be applied */ mdnsServicePolicy?: pulumi.Input; /** * Specify a template name (maximum 48 characters) */ name?: pulumi.Input; /** * Append client Mac Address in redirect URL */ redirectAppendClientMac?: pulumi.Input; /** * Append switch Mac Address in redirect URL */ redirectAppendSwitchMac?: pulumi.Input; /** * Specify a valid URL */ redirectUrl?: pulumi.Input; /** * Specify the access list name */ redirectUrlMatchAcl?: pulumi.Input; /** * - Choices: `one-time-redirect`, `redirect-on-no-match` */ redirectUrlMatchAction?: pulumi.Input; /** * Configure input Qos policy */ servicePolicyQosInput?: pulumi.Input; /** * Configure output Qos policy */ servicePolicyQosOutput?: pulumi.Input; /** * SGT tag - Range: `2`-`65519` */ sgt?: pulumi.Input; /** * tag name */ tags?: pulumi.Input[]>; /** * tunnel profile name */ tunnelCapwapName?: pulumi.Input; /** * Vlan to be applied - Range: `1`-`4094` */ vlan?: pulumi.Input; /** * Vnid to be applied */ vnid?: pulumi.Input; /** * Critical voice vlan */ voiceVlan?: pulumi.Input; }