@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
145 lines (144 loc) • 5.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* This resource can manage a Service Switchport Feature.
* - Minimum SD-WAN Manager version: `20.12.0`
*
* ## Import
*
* The `pulumi import` command can be used, for example:
*
* Expected import identifier with the format: "service_switchport_feature_id,feature_profile_id"
*
* ```sh
* $ pulumi import sdwan:index/serviceSwitchportFeature:ServiceSwitchportFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
* ```
*/
export declare class ServiceSwitchportFeature extends pulumi.CustomResource {
/**
* Get an existing ServiceSwitchportFeature 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?: ServiceSwitchportFeatureState, opts?: pulumi.CustomResourceOptions): ServiceSwitchportFeature;
/**
* Returns true if the given object is an instance of ServiceSwitchportFeature. 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 ServiceSwitchportFeature;
/**
* Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: `0`-`1000000` - Default value: `300`
*/
readonly ageOutTime: pulumi.Output<number | undefined>;
/**
* Variable name
*/
readonly ageOutTimeVariable: pulumi.Output<string | undefined>;
/**
* The description of the Feature
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Feature Profile ID
*/
readonly featureProfileId: pulumi.Output<string>;
/**
* Interface name: GigabitEthernet0/<>/<> when present
*/
readonly interfaces: pulumi.Output<outputs.ServiceSwitchportFeatureInterface[] | undefined>;
/**
* The name of the Feature
*/
readonly name: pulumi.Output<string>;
/**
* Add static MAC address entries for interface
*/
readonly staticMacAddresses: pulumi.Output<outputs.ServiceSwitchportFeatureStaticMacAddress[] | undefined>;
/**
* The version of the Feature
*/
readonly version: pulumi.Output<number>;
/**
* Create a ServiceSwitchportFeature 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: ServiceSwitchportFeatureArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ServiceSwitchportFeature resources.
*/
export interface ServiceSwitchportFeatureState {
/**
* Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: `0`-`1000000` - Default value: `300`
*/
ageOutTime?: pulumi.Input<number>;
/**
* Variable name
*/
ageOutTimeVariable?: pulumi.Input<string>;
/**
* The description of the Feature
*/
description?: pulumi.Input<string>;
/**
* Feature Profile ID
*/
featureProfileId?: pulumi.Input<string>;
/**
* Interface name: GigabitEthernet0/<>/<> when present
*/
interfaces?: pulumi.Input<pulumi.Input<inputs.ServiceSwitchportFeatureInterface>[]>;
/**
* The name of the Feature
*/
name?: pulumi.Input<string>;
/**
* Add static MAC address entries for interface
*/
staticMacAddresses?: pulumi.Input<pulumi.Input<inputs.ServiceSwitchportFeatureStaticMacAddress>[]>;
/**
* The version of the Feature
*/
version?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a ServiceSwitchportFeature resource.
*/
export interface ServiceSwitchportFeatureArgs {
/**
* Set when a MAC table entry ages out (0 to disable, 10-1000000 otherwise) - Range: `0`-`1000000` - Default value: `300`
*/
ageOutTime?: pulumi.Input<number>;
/**
* Variable name
*/
ageOutTimeVariable?: pulumi.Input<string>;
/**
* The description of the Feature
*/
description?: pulumi.Input<string>;
/**
* Feature Profile ID
*/
featureProfileId: pulumi.Input<string>;
/**
* Interface name: GigabitEthernet0/<>/<> when present
*/
interfaces?: pulumi.Input<pulumi.Input<inputs.ServiceSwitchportFeatureInterface>[]>;
/**
* The name of the Feature
*/
name?: pulumi.Input<string>;
/**
* Add static MAC address entries for interface
*/
staticMacAddresses?: pulumi.Input<pulumi.Input<inputs.ServiceSwitchportFeatureStaticMacAddress>[]>;
}