1. Packages
  2. Mso Provider
  3. API Docs
  4. SchemaTemplateVrf
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

mso.SchemaTemplateVrf

Explore with Pulumi AI

Create SchemaTemplateVrf Resource

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

Constructor syntax

new SchemaTemplateVrf(name: string, args: SchemaTemplateVrfArgs, opts?: CustomResourceOptions);
@overload
def SchemaTemplateVrf(resource_name: str,
                      args: SchemaTemplateVrfArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def SchemaTemplateVrf(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      display_name: Optional[str] = None,
                      schema_id: Optional[str] = None,
                      template: Optional[str] = None,
                      description: Optional[str] = None,
                      ip_data_plane_learning: Optional[str] = None,
                      layer3_multicast: Optional[bool] = None,
                      name: Optional[str] = None,
                      preferred_group: Optional[bool] = None,
                      schema_template_vrf_id: Optional[str] = None,
                      site_aware_policy_enforcement: Optional[bool] = None,
                      vzany: Optional[bool] = None)
func NewSchemaTemplateVrf(ctx *Context, name string, args SchemaTemplateVrfArgs, opts ...ResourceOption) (*SchemaTemplateVrf, error)
public SchemaTemplateVrf(string name, SchemaTemplateVrfArgs args, CustomResourceOptions? opts = null)
public SchemaTemplateVrf(String name, SchemaTemplateVrfArgs args)
public SchemaTemplateVrf(String name, SchemaTemplateVrfArgs args, CustomResourceOptions options)
type: mso:SchemaTemplateVrf
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateVrfArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SchemaTemplateVrfArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateVrfArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateVrfArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SchemaTemplateVrfArgs
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 schemaTemplateVrfResource = new Mso.SchemaTemplateVrf("schemaTemplateVrfResource", new()
{
    DisplayName = "string",
    SchemaId = "string",
    Template = "string",
    Description = "string",
    IpDataPlaneLearning = "string",
    Layer3Multicast = false,
    Name = "string",
    PreferredGroup = false,
    SchemaTemplateVrfId = "string",
    SiteAwarePolicyEnforcement = false,
    Vzany = false,
});
Copy
example, err := mso.NewSchemaTemplateVrf(ctx, "schemaTemplateVrfResource", &mso.SchemaTemplateVrfArgs{
	DisplayName:                pulumi.String("string"),
	SchemaId:                   pulumi.String("string"),
	Template:                   pulumi.String("string"),
	Description:                pulumi.String("string"),
	IpDataPlaneLearning:        pulumi.String("string"),
	Layer3Multicast:            pulumi.Bool(false),
	Name:                       pulumi.String("string"),
	PreferredGroup:             pulumi.Bool(false),
	SchemaTemplateVrfId:        pulumi.String("string"),
	SiteAwarePolicyEnforcement: pulumi.Bool(false),
	Vzany:                      pulumi.Bool(false),
})
Copy
var schemaTemplateVrfResource = new SchemaTemplateVrf("schemaTemplateVrfResource", SchemaTemplateVrfArgs.builder()
    .displayName("string")
    .schemaId("string")
    .template("string")
    .description("string")
    .ipDataPlaneLearning("string")
    .layer3Multicast(false)
    .name("string")
    .preferredGroup(false)
    .schemaTemplateVrfId("string")
    .siteAwarePolicyEnforcement(false)
    .vzany(false)
    .build());
Copy
schema_template_vrf_resource = mso.SchemaTemplateVrf("schemaTemplateVrfResource",
    display_name="string",
    schema_id="string",
    template="string",
    description="string",
    ip_data_plane_learning="string",
    layer3_multicast=False,
    name="string",
    preferred_group=False,
    schema_template_vrf_id="string",
    site_aware_policy_enforcement=False,
    vzany=False)
Copy
const schemaTemplateVrfResource = new mso.SchemaTemplateVrf("schemaTemplateVrfResource", {
    displayName: "string",
    schemaId: "string",
    template: "string",
    description: "string",
    ipDataPlaneLearning: "string",
    layer3Multicast: false,
    name: "string",
    preferredGroup: false,
    schemaTemplateVrfId: "string",
    siteAwarePolicyEnforcement: false,
    vzany: false,
});
Copy
type: mso:SchemaTemplateVrf
properties:
    description: string
    displayName: string
    ipDataPlaneLearning: string
    layer3Multicast: false
    name: string
    preferredGroup: false
    schemaId: string
    schemaTemplateVrfId: string
    siteAwarePolicyEnforcement: false
    template: string
    vzany: false
Copy

SchemaTemplateVrf Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SchemaTemplateVrf resource accepts the following input properties:

DisplayName This property is required. string
SchemaId This property is required. string
Template This property is required. string
Description string
IpDataPlaneLearning string
Layer3Multicast bool
Name string
PreferredGroup bool
SchemaTemplateVrfId string
SiteAwarePolicyEnforcement bool
Vzany bool
DisplayName This property is required. string
SchemaId This property is required. string
Template This property is required. string
Description string
IpDataPlaneLearning string
Layer3Multicast bool
Name string
PreferredGroup bool
SchemaTemplateVrfId string
SiteAwarePolicyEnforcement bool
Vzany bool
displayName This property is required. String
schemaId This property is required. String
template This property is required. String
description String
ipDataPlaneLearning String
layer3Multicast Boolean
name String
preferredGroup Boolean
schemaTemplateVrfId String
siteAwarePolicyEnforcement Boolean
vzany Boolean
displayName This property is required. string
schemaId This property is required. string
template This property is required. string
description string
ipDataPlaneLearning string
layer3Multicast boolean
name string
preferredGroup boolean
schemaTemplateVrfId string
siteAwarePolicyEnforcement boolean
vzany boolean
display_name This property is required. str
schema_id This property is required. str
template This property is required. str
description str
ip_data_plane_learning str
layer3_multicast bool
name str
preferred_group bool
schema_template_vrf_id str
site_aware_policy_enforcement bool
vzany bool
displayName This property is required. String
schemaId This property is required. String
template This property is required. String
description String
ipDataPlaneLearning String
layer3Multicast Boolean
name String
preferredGroup Boolean
schemaTemplateVrfId String
siteAwarePolicyEnforcement Boolean
vzany Boolean

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing SchemaTemplateVrf Resource

Get an existing SchemaTemplateVrf 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?: SchemaTemplateVrfState, opts?: CustomResourceOptions): SchemaTemplateVrf
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        ip_data_plane_learning: Optional[str] = None,
        layer3_multicast: Optional[bool] = None,
        name: Optional[str] = None,
        preferred_group: Optional[bool] = None,
        schema_id: Optional[str] = None,
        schema_template_vrf_id: Optional[str] = None,
        site_aware_policy_enforcement: Optional[bool] = None,
        template: Optional[str] = None,
        vzany: Optional[bool] = None) -> SchemaTemplateVrf
func GetSchemaTemplateVrf(ctx *Context, name string, id IDInput, state *SchemaTemplateVrfState, opts ...ResourceOption) (*SchemaTemplateVrf, error)
public static SchemaTemplateVrf Get(string name, Input<string> id, SchemaTemplateVrfState? state, CustomResourceOptions? opts = null)
public static SchemaTemplateVrf get(String name, Output<String> id, SchemaTemplateVrfState state, CustomResourceOptions options)
resources:  _:    type: mso:SchemaTemplateVrf    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.

Package Details

Repository
mso ciscodevnet/terraform-provider-mso
License
Notes
This Pulumi package is based on the mso Terraform Provider.