UNPKG

@pulumi/sdwan

Version:

A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1

197 lines (196 loc) 6.18 kB
import * as pulumi from "@pulumi/pulumi"; /** * This resource can manage a System MRF Feature. * - Minimum SD-WAN Manager version: `20.12.0` * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sdwan from "@pulumi/sdwan"; * * const example = new sdwan.SystemMrfFeature("example", { * name: "Example", * description: "My Example", * featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac", * regionId: 1, * secondaryRegionId: 2, * role: "edge-router", * enableMigrationToMrf: "enabled", * migrationBgpCommunity: 100, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Expected import identifier with the format: "system_mrf_feature_id,feature_profile_id" * * ```sh * $ pulumi import sdwan:index/systemMrfFeature:SystemMrfFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac" * ``` */ export declare class SystemMrfFeature extends pulumi.CustomResource { /** * Get an existing SystemMrfFeature 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?: SystemMrfFeatureState, opts?: pulumi.CustomResourceOptions): SystemMrfFeature; /** * Returns true if the given object is an instance of SystemMrfFeature. 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 SystemMrfFeature; /** * The description of the Feature */ readonly description: pulumi.Output<string | undefined>; /** * Enable migration mode to Multi-Region Fabric - Choices: `enabled`, `enabled-from-bgp-core` */ readonly enableMigrationToMrf: pulumi.Output<string | undefined>; /** * Feature Profile ID */ readonly featureProfileId: pulumi.Output<string>; /** * Set BGP community during migration from BGP-core based network - Range: `1`-`4294967295` */ readonly migrationBgpCommunity: pulumi.Output<number | undefined>; /** * The name of the Feature */ readonly name: pulumi.Output<string>; /** * Set region ID - Range: `1`-`63` */ readonly regionId: pulumi.Output<number | undefined>; /** * Set the role for router - Choices: `edge-router`, `border-router` */ readonly role: pulumi.Output<string | undefined>; /** * Variable name */ readonly roleVariable: pulumi.Output<string | undefined>; /** * Set secondary region ID - Range: `1`-`63` */ readonly secondaryRegionId: pulumi.Output<number | undefined>; /** * Variable name */ readonly secondaryRegionIdVariable: pulumi.Output<string | undefined>; /** * The version of the Feature */ readonly version: pulumi.Output<number>; /** * Create a SystemMrfFeature 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: SystemMrfFeatureArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SystemMrfFeature resources. */ export interface SystemMrfFeatureState { /** * The description of the Feature */ description?: pulumi.Input<string>; /** * Enable migration mode to Multi-Region Fabric - Choices: `enabled`, `enabled-from-bgp-core` */ enableMigrationToMrf?: pulumi.Input<string>; /** * Feature Profile ID */ featureProfileId?: pulumi.Input<string>; /** * Set BGP community during migration from BGP-core based network - Range: `1`-`4294967295` */ migrationBgpCommunity?: pulumi.Input<number>; /** * The name of the Feature */ name?: pulumi.Input<string>; /** * Set region ID - Range: `1`-`63` */ regionId?: pulumi.Input<number>; /** * Set the role for router - Choices: `edge-router`, `border-router` */ role?: pulumi.Input<string>; /** * Variable name */ roleVariable?: pulumi.Input<string>; /** * Set secondary region ID - Range: `1`-`63` */ secondaryRegionId?: pulumi.Input<number>; /** * Variable name */ secondaryRegionIdVariable?: pulumi.Input<string>; /** * The version of the Feature */ version?: pulumi.Input<number>; } /** * The set of arguments for constructing a SystemMrfFeature resource. */ export interface SystemMrfFeatureArgs { /** * The description of the Feature */ description?: pulumi.Input<string>; /** * Enable migration mode to Multi-Region Fabric - Choices: `enabled`, `enabled-from-bgp-core` */ enableMigrationToMrf?: pulumi.Input<string>; /** * Feature Profile ID */ featureProfileId: pulumi.Input<string>; /** * Set BGP community during migration from BGP-core based network - Range: `1`-`4294967295` */ migrationBgpCommunity?: pulumi.Input<number>; /** * The name of the Feature */ name?: pulumi.Input<string>; /** * Set region ID - Range: `1`-`63` */ regionId?: pulumi.Input<number>; /** * Set the role for router - Choices: `edge-router`, `border-router` */ role?: pulumi.Input<string>; /** * Variable name */ roleVariable?: pulumi.Input<string>; /** * Set secondary region ID - Range: `1`-`63` */ secondaryRegionId?: pulumi.Input<number>; /** * Variable name */ secondaryRegionIdVariable?: pulumi.Input<string>; }