1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. SystemMrfProfileParcel
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

sdwan.SystemMrfProfileParcel

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

    This resource can manage a System MRF profile parcel.

    • Minimum SD-WAN Manager version: 20.12.0

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = new sdwan.SystemMrfProfileParcel("example", {
        name: "Example",
        description: "My Example",
        featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        regionId: 1,
        secondaryRegionId: 2,
        role: "edge-router",
        enableMigrationToMrf: "enabled",
        migrationBgpCommunity: 100,
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.SystemMrfProfileParcel("example",
        name="Example",
        description="My Example",
        feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        region_id=1,
        secondary_region_id=2,
        role="edge-router",
        enable_migration_to_mrf="enabled",
        migration_bgp_community=100)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sdwan.NewSystemMrfProfileParcel(ctx, "example", &sdwan.SystemMrfProfileParcelArgs{
    			Name:                  pulumi.String("Example"),
    			Description:           pulumi.String("My Example"),
    			FeatureProfileId:      pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
    			RegionId:              pulumi.Int(1),
    			SecondaryRegionId:     pulumi.Int(2),
    			Role:                  pulumi.String("edge-router"),
    			EnableMigrationToMrf:  pulumi.String("enabled"),
    			MigrationBgpCommunity: pulumi.Int(100),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sdwan = Pulumi.Sdwan;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Sdwan.SystemMrfProfileParcel("example", new()
        {
            Name = "Example",
            Description = "My Example",
            FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
            RegionId = 1,
            SecondaryRegionId = 2,
            Role = "edge-router",
            EnableMigrationToMrf = "enabled",
            MigrationBgpCommunity = 100,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.SystemMrfProfileParcel;
    import com.pulumi.sdwan.SystemMrfProfileParcelArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new SystemMrfProfileParcel("example", SystemMrfProfileParcelArgs.builder()        
                .name("Example")
                .description("My Example")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .regionId(1)
                .secondaryRegionId(2)
                .role("edge-router")
                .enableMigrationToMrf("enabled")
                .migrationBgpCommunity(100)
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:SystemMrfProfileParcel
        properties:
          name: Example
          description: My Example
          featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
          regionId: 1
          secondaryRegionId: 2
          role: edge-router
          enableMigrationToMrf: enabled
          migrationBgpCommunity: 100
    

    Create SystemMrfProfileParcel Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SystemMrfProfileParcel(name: string, args?: SystemMrfProfileParcelArgs, opts?: CustomResourceOptions);
    @overload
    def SystemMrfProfileParcel(resource_name: str,
                               args: Optional[SystemMrfProfileParcelArgs] = None,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def SystemMrfProfileParcel(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               description: Optional[str] = None,
                               enable_migration_to_mrf: Optional[str] = None,
                               feature_profile_id: Optional[str] = None,
                               migration_bgp_community: Optional[int] = None,
                               name: Optional[str] = None,
                               region_id: Optional[int] = None,
                               role: Optional[str] = None,
                               role_variable: Optional[str] = None,
                               secondary_region_id: Optional[int] = None,
                               secondary_region_id_variable: Optional[str] = None)
    func NewSystemMrfProfileParcel(ctx *Context, name string, args *SystemMrfProfileParcelArgs, opts ...ResourceOption) (*SystemMrfProfileParcel, error)
    public SystemMrfProfileParcel(string name, SystemMrfProfileParcelArgs? args = null, CustomResourceOptions? opts = null)
    public SystemMrfProfileParcel(String name, SystemMrfProfileParcelArgs args)
    public SystemMrfProfileParcel(String name, SystemMrfProfileParcelArgs args, CustomResourceOptions options)
    
    type: sdwan:SystemMrfProfileParcel
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SystemMrfProfileParcelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SystemMrfProfileParcelArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SystemMrfProfileParcelArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SystemMrfProfileParcelArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SystemMrfProfileParcelArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var systemMrfProfileParcelResource = new Sdwan.SystemMrfProfileParcel("systemMrfProfileParcelResource", new()
    {
        Description = "string",
        EnableMigrationToMrf = "string",
        FeatureProfileId = "string",
        MigrationBgpCommunity = 0,
        Name = "string",
        RegionId = 0,
        Role = "string",
        RoleVariable = "string",
        SecondaryRegionId = 0,
        SecondaryRegionIdVariable = "string",
    });
    
    example, err := sdwan.NewSystemMrfProfileParcel(ctx, "systemMrfProfileParcelResource", &sdwan.SystemMrfProfileParcelArgs{
    	Description:               pulumi.String("string"),
    	EnableMigrationToMrf:      pulumi.String("string"),
    	FeatureProfileId:          pulumi.String("string"),
    	MigrationBgpCommunity:     pulumi.Int(0),
    	Name:                      pulumi.String("string"),
    	RegionId:                  pulumi.Int(0),
    	Role:                      pulumi.String("string"),
    	RoleVariable:              pulumi.String("string"),
    	SecondaryRegionId:         pulumi.Int(0),
    	SecondaryRegionIdVariable: pulumi.String("string"),
    })
    
    var systemMrfProfileParcelResource = new SystemMrfProfileParcel("systemMrfProfileParcelResource", SystemMrfProfileParcelArgs.builder()
        .description("string")
        .enableMigrationToMrf("string")
        .featureProfileId("string")
        .migrationBgpCommunity(0)
        .name("string")
        .regionId(0)
        .role("string")
        .roleVariable("string")
        .secondaryRegionId(0)
        .secondaryRegionIdVariable("string")
        .build());
    
    system_mrf_profile_parcel_resource = sdwan.SystemMrfProfileParcel("systemMrfProfileParcelResource",
        description="string",
        enable_migration_to_mrf="string",
        feature_profile_id="string",
        migration_bgp_community=0,
        name="string",
        region_id=0,
        role="string",
        role_variable="string",
        secondary_region_id=0,
        secondary_region_id_variable="string")
    
    const systemMrfProfileParcelResource = new sdwan.SystemMrfProfileParcel("systemMrfProfileParcelResource", {
        description: "string",
        enableMigrationToMrf: "string",
        featureProfileId: "string",
        migrationBgpCommunity: 0,
        name: "string",
        regionId: 0,
        role: "string",
        roleVariable: "string",
        secondaryRegionId: 0,
        secondaryRegionIdVariable: "string",
    });
    
    type: sdwan:SystemMrfProfileParcel
    properties:
        description: string
        enableMigrationToMrf: string
        featureProfileId: string
        migrationBgpCommunity: 0
        name: string
        regionId: 0
        role: string
        roleVariable: string
        secondaryRegionId: 0
        secondaryRegionIdVariable: string
    

    SystemMrfProfileParcel Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SystemMrfProfileParcel resource accepts the following input properties:

    Description string
    The description of the profile parcel
    EnableMigrationToMrf string
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    FeatureProfileId string
    Feature Profile ID
    MigrationBgpCommunity int
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    Name string
    The name of the profile parcel
    RegionId int
    Set region ID - Range: 1-63
    Role string
    Set the role for router - Choices: edge-router, border-router
    RoleVariable string
    Variable name
    SecondaryRegionId int
    Set secondary region ID - Range: 1-63
    SecondaryRegionIdVariable string
    Variable name
    Description string
    The description of the profile parcel
    EnableMigrationToMrf string
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    FeatureProfileId string
    Feature Profile ID
    MigrationBgpCommunity int
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    Name string
    The name of the profile parcel
    RegionId int
    Set region ID - Range: 1-63
    Role string
    Set the role for router - Choices: edge-router, border-router
    RoleVariable string
    Variable name
    SecondaryRegionId int
    Set secondary region ID - Range: 1-63
    SecondaryRegionIdVariable string
    Variable name
    description String
    The description of the profile parcel
    enableMigrationToMrf String
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    featureProfileId String
    Feature Profile ID
    migrationBgpCommunity Integer
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    name String
    The name of the profile parcel
    regionId Integer
    Set region ID - Range: 1-63
    role String
    Set the role for router - Choices: edge-router, border-router
    roleVariable String
    Variable name
    secondaryRegionId Integer
    Set secondary region ID - Range: 1-63
    secondaryRegionIdVariable String
    Variable name
    description string
    The description of the profile parcel
    enableMigrationToMrf string
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    featureProfileId string
    Feature Profile ID
    migrationBgpCommunity number
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    name string
    The name of the profile parcel
    regionId number
    Set region ID - Range: 1-63
    role string
    Set the role for router - Choices: edge-router, border-router
    roleVariable string
    Variable name
    secondaryRegionId number
    Set secondary region ID - Range: 1-63
    secondaryRegionIdVariable string
    Variable name
    description str
    The description of the profile parcel
    enable_migration_to_mrf str
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    feature_profile_id str
    Feature Profile ID
    migration_bgp_community int
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    name str
    The name of the profile parcel
    region_id int
    Set region ID - Range: 1-63
    role str
    Set the role for router - Choices: edge-router, border-router
    role_variable str
    Variable name
    secondary_region_id int
    Set secondary region ID - Range: 1-63
    secondary_region_id_variable str
    Variable name
    description String
    The description of the profile parcel
    enableMigrationToMrf String
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    featureProfileId String
    Feature Profile ID
    migrationBgpCommunity Number
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    name String
    The name of the profile parcel
    regionId Number
    Set region ID - Range: 1-63
    role String
    Set the role for router - Choices: edge-router, border-router
    roleVariable String
    Variable name
    secondaryRegionId Number
    Set secondary region ID - Range: 1-63
    secondaryRegionIdVariable String
    Variable name

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SystemMrfProfileParcel resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the profile parcel
    Id string
    The provider-assigned unique ID for this managed resource.
    Version int
    The version of the profile parcel
    id String
    The provider-assigned unique ID for this managed resource.
    version Integer
    The version of the profile parcel
    id string
    The provider-assigned unique ID for this managed resource.
    version number
    The version of the profile parcel
    id str
    The provider-assigned unique ID for this managed resource.
    version int
    The version of the profile parcel
    id String
    The provider-assigned unique ID for this managed resource.
    version Number
    The version of the profile parcel

    Look up Existing SystemMrfProfileParcel Resource

    Get an existing SystemMrfProfileParcel resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SystemMrfProfileParcelState, opts?: CustomResourceOptions): SystemMrfProfileParcel
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            enable_migration_to_mrf: Optional[str] = None,
            feature_profile_id: Optional[str] = None,
            migration_bgp_community: Optional[int] = None,
            name: Optional[str] = None,
            region_id: Optional[int] = None,
            role: Optional[str] = None,
            role_variable: Optional[str] = None,
            secondary_region_id: Optional[int] = None,
            secondary_region_id_variable: Optional[str] = None,
            version: Optional[int] = None) -> SystemMrfProfileParcel
    func GetSystemMrfProfileParcel(ctx *Context, name string, id IDInput, state *SystemMrfProfileParcelState, opts ...ResourceOption) (*SystemMrfProfileParcel, error)
    public static SystemMrfProfileParcel Get(string name, Input<string> id, SystemMrfProfileParcelState? state, CustomResourceOptions? opts = null)
    public static SystemMrfProfileParcel get(String name, Output<String> id, SystemMrfProfileParcelState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    The description of the profile parcel
    EnableMigrationToMrf string
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    FeatureProfileId string
    Feature Profile ID
    MigrationBgpCommunity int
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    Name string
    The name of the profile parcel
    RegionId int
    Set region ID - Range: 1-63
    Role string
    Set the role for router - Choices: edge-router, border-router
    RoleVariable string
    Variable name
    SecondaryRegionId int
    Set secondary region ID - Range: 1-63
    SecondaryRegionIdVariable string
    Variable name
    Version int
    The version of the profile parcel
    Description string
    The description of the profile parcel
    EnableMigrationToMrf string
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    FeatureProfileId string
    Feature Profile ID
    MigrationBgpCommunity int
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    Name string
    The name of the profile parcel
    RegionId int
    Set region ID - Range: 1-63
    Role string
    Set the role for router - Choices: edge-router, border-router
    RoleVariable string
    Variable name
    SecondaryRegionId int
    Set secondary region ID - Range: 1-63
    SecondaryRegionIdVariable string
    Variable name
    Version int
    The version of the profile parcel
    description String
    The description of the profile parcel
    enableMigrationToMrf String
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    featureProfileId String
    Feature Profile ID
    migrationBgpCommunity Integer
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    name String
    The name of the profile parcel
    regionId Integer
    Set region ID - Range: 1-63
    role String
    Set the role for router - Choices: edge-router, border-router
    roleVariable String
    Variable name
    secondaryRegionId Integer
    Set secondary region ID - Range: 1-63
    secondaryRegionIdVariable String
    Variable name
    version Integer
    The version of the profile parcel
    description string
    The description of the profile parcel
    enableMigrationToMrf string
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    featureProfileId string
    Feature Profile ID
    migrationBgpCommunity number
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    name string
    The name of the profile parcel
    regionId number
    Set region ID - Range: 1-63
    role string
    Set the role for router - Choices: edge-router, border-router
    roleVariable string
    Variable name
    secondaryRegionId number
    Set secondary region ID - Range: 1-63
    secondaryRegionIdVariable string
    Variable name
    version number
    The version of the profile parcel
    description str
    The description of the profile parcel
    enable_migration_to_mrf str
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    feature_profile_id str
    Feature Profile ID
    migration_bgp_community int
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    name str
    The name of the profile parcel
    region_id int
    Set region ID - Range: 1-63
    role str
    Set the role for router - Choices: edge-router, border-router
    role_variable str
    Variable name
    secondary_region_id int
    Set secondary region ID - Range: 1-63
    secondary_region_id_variable str
    Variable name
    version int
    The version of the profile parcel
    description String
    The description of the profile parcel
    enableMigrationToMrf String
    Enable migration mode to Multi-Region Fabric - Choices: enabled, enabled-from-bgp-core
    featureProfileId String
    Feature Profile ID
    migrationBgpCommunity Number
    Set BGP community during migration from BGP-core based network - Range: 1-4294967295
    name String
    The name of the profile parcel
    regionId Number
    Set region ID - Range: 1-63
    role String
    Set the role for router - Choices: edge-router, border-router
    roleVariable String
    Variable name
    secondaryRegionId Number
    Set secondary region ID - Range: 1-63
    secondaryRegionIdVariable String
    Variable name
    version Number
    The version of the profile parcel

    Import

    $ pulumi import sdwan:index/systemMrfProfileParcel:SystemMrfProfileParcel example "f6b2c44c-693c-4763-b010-895aa3d236bd"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi