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

mso logo
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

    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 string
    The unique name of the resource.
    args SchemaTemplateVrfArgs
    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 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 string
    The unique name of the resource.
    args SchemaTemplateVrfArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaTemplateVrfArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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,
    });
    
    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),
    })
    
    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());
    
    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)
    
    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,
    });
    
    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
    

    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:

    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
    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:

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet