sdwan.SystemMrfProfileParcel
Explore with Pulumi AI
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
- Enable
Migration stringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- Feature
Profile stringId - Feature Profile ID
- Migration
Bgp intCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- Name string
- The name of the profile parcel
- Region
Id int - Set region ID - Range:
1
-63
- Role string
- Set the role for router - Choices:
edge-router
,border-router
- Role
Variable string - Variable name
- Secondary
Region intId - Set secondary region ID - Range:
1
-63
- Secondary
Region stringId Variable - Variable name
- Description string
- The description of the profile parcel
- Enable
Migration stringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- Feature
Profile stringId - Feature Profile ID
- Migration
Bgp intCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- Name string
- The name of the profile parcel
- Region
Id int - Set region ID - Range:
1
-63
- Role string
- Set the role for router - Choices:
edge-router
,border-router
- Role
Variable string - Variable name
- Secondary
Region intId - Set secondary region ID - Range:
1
-63
- Secondary
Region stringId Variable - Variable name
- description String
- The description of the profile parcel
- enable
Migration StringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- feature
Profile StringId - Feature Profile ID
- migration
Bgp IntegerCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- name String
- The name of the profile parcel
- region
Id Integer - Set region ID - Range:
1
-63
- role String
- Set the role for router - Choices:
edge-router
,border-router
- role
Variable String - Variable name
- secondary
Region IntegerId - Set secondary region ID - Range:
1
-63
- secondary
Region StringId Variable - Variable name
- description string
- The description of the profile parcel
- enable
Migration stringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- feature
Profile stringId - Feature Profile ID
- migration
Bgp numberCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- name string
- The name of the profile parcel
- region
Id number - Set region ID - Range:
1
-63
- role string
- Set the role for router - Choices:
edge-router
,border-router
- role
Variable string - Variable name
- secondary
Region numberId - Set secondary region ID - Range:
1
-63
- secondary
Region stringId Variable - Variable name
- description str
- The description of the profile parcel
- enable_
migration_ strto_ mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- feature_
profile_ strid - Feature Profile ID
- migration_
bgp_ intcommunity - 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_ intid - Set secondary region ID - Range:
1
-63
- secondary_
region_ strid_ variable - Variable name
- description String
- The description of the profile parcel
- enable
Migration StringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- feature
Profile StringId - Feature Profile ID
- migration
Bgp NumberCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- name String
- The name of the profile parcel
- region
Id Number - Set region ID - Range:
1
-63
- role String
- Set the role for router - Choices:
edge-router
,border-router
- role
Variable String - Variable name
- secondary
Region NumberId - Set secondary region ID - Range:
1
-63
- secondary
Region StringId Variable - Variable name
Outputs
All input properties are implicitly available as output properties. Additionally, the SystemMrfProfileParcel resource produces the following output properties:
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.
- Description string
- The description of the profile parcel
- Enable
Migration stringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- Feature
Profile stringId - Feature Profile ID
- Migration
Bgp intCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- Name string
- The name of the profile parcel
- Region
Id int - Set region ID - Range:
1
-63
- Role string
- Set the role for router - Choices:
edge-router
,border-router
- Role
Variable string - Variable name
- Secondary
Region intId - Set secondary region ID - Range:
1
-63
- Secondary
Region stringId Variable - Variable name
- Version int
- The version of the profile parcel
- Description string
- The description of the profile parcel
- Enable
Migration stringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- Feature
Profile stringId - Feature Profile ID
- Migration
Bgp intCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- Name string
- The name of the profile parcel
- Region
Id int - Set region ID - Range:
1
-63
- Role string
- Set the role for router - Choices:
edge-router
,border-router
- Role
Variable string - Variable name
- Secondary
Region intId - Set secondary region ID - Range:
1
-63
- Secondary
Region stringId Variable - Variable name
- Version int
- The version of the profile parcel
- description String
- The description of the profile parcel
- enable
Migration StringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- feature
Profile StringId - Feature Profile ID
- migration
Bgp IntegerCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- name String
- The name of the profile parcel
- region
Id Integer - Set region ID - Range:
1
-63
- role String
- Set the role for router - Choices:
edge-router
,border-router
- role
Variable String - Variable name
- secondary
Region IntegerId - Set secondary region ID - Range:
1
-63
- secondary
Region StringId Variable - Variable name
- version Integer
- The version of the profile parcel
- description string
- The description of the profile parcel
- enable
Migration stringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- feature
Profile stringId - Feature Profile ID
- migration
Bgp numberCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- name string
- The name of the profile parcel
- region
Id number - Set region ID - Range:
1
-63
- role string
- Set the role for router - Choices:
edge-router
,border-router
- role
Variable string - Variable name
- secondary
Region numberId - Set secondary region ID - Range:
1
-63
- secondary
Region stringId Variable - Variable name
- version number
- The version of the profile parcel
- description str
- The description of the profile parcel
- enable_
migration_ strto_ mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- feature_
profile_ strid - Feature Profile ID
- migration_
bgp_ intcommunity - 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_ intid - Set secondary region ID - Range:
1
-63
- secondary_
region_ strid_ variable - Variable name
- version int
- The version of the profile parcel
- description String
- The description of the profile parcel
- enable
Migration StringTo Mrf - Enable migration mode to Multi-Region Fabric - Choices:
enabled
,enabled-from-bgp-core
- feature
Profile StringId - Feature Profile ID
- migration
Bgp NumberCommunity - Set BGP community during migration from BGP-core based network - Range:
1
-4294967295
- name String
- The name of the profile parcel
- region
Id Number - Set region ID - Range:
1
-63
- role String
- Set the role for router - Choices:
edge-router
,border-router
- role
Variable String - Variable name
- secondary
Region NumberId - Set secondary region ID - Range:
1
-63
- secondary
Region StringId Variable - 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.