mso 1.5.2 published on Friday, Aug 8, 2025 by ciscodevnet
mso.getSchemaTemplateVrf
Explore with Pulumi AI
Data source for Schema Template VRF on Cisco Nexus Dashboard Orchestrator (NDO).
GUI Information
Location
- Manage > Tenant Template > Application > VRF
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const exampleVrf = mso.getSchemaTemplateVrf({
schemaId: data.mso_schema.example_schema.id,
template: "example_schema_template",
name: "example_vrf",
});
import pulumi
import pulumi_mso as mso
example_vrf = mso.get_schema_template_vrf(schema_id=data["mso_schema"]["example_schema"]["id"],
template="example_schema_template",
name="example_vrf")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/mso/mso"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mso.LookupSchemaTemplateVrf(ctx, &mso.LookupSchemaTemplateVrfArgs{
SchemaId: data.Mso_schema.Example_schema.Id,
Template: "example_schema_template",
Name: "example_vrf",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mso = Pulumi.Mso;
return await Deployment.RunAsync(() =>
{
var exampleVrf = Mso.GetSchemaTemplateVrf.Invoke(new()
{
SchemaId = data.Mso_schema.Example_schema.Id,
Template = "example_schema_template",
Name = "example_vrf",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mso.MsoFunctions;
import com.pulumi.mso.inputs.GetSchemaTemplateVrfArgs;
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) {
final var exampleVrf = MsoFunctions.getSchemaTemplateVrf(GetSchemaTemplateVrfArgs.builder()
.schemaId(data.mso_schema().example_schema().id())
.template("example_schema_template")
.name("example_vrf")
.build());
}
}
variables:
exampleVrf:
fn::invoke:
function: mso:getSchemaTemplateVrf
arguments:
schemaId: ${data.mso_schema.example_schema.id}
template: example_schema_template
name: example_vrf
Argument Reference
schema_id
- (Required) The unique ID of the Schema.template
- (Required) The name of the Template associated with the Schema.name
- (Required) The name of the VRF.
Attribute Reference
uuid
- (Read-Only) The NDO UUID of the VRF.display_name
- (Read-Only) The name of the VRF as displayed on the NDO/MSO UI.layer3_multicast
- (Read-Only) Whether L3 multicast is enabled.vzany
- (Read-Only) Whether vzany is enabled.ip_data_plane_learning
- (Read-Only) Whether IP data plane learning is enabled.preferred_group
- (Read-Only) Whether to preferred group is enabled.description
- (Read-Only) The description of the VRF.site_aware_policy_enforcement
- (Read-Only) Whether site aware policy enforcement mode is enabled.rendezvous_points
- (Read-Only) The list of Rendezvous Points. This attribute is supported in NDO v3.0(1) and higher.rendezvous_points.ip_address
- (Read-Only) The IP Address of the Rendezvous Point.rendezvous_points.type
- (Read-Only) The type of the Rendezvous Point.rendezvous_points.route_map_policy_multicast_uuid
- (Read-Only) The UUID of the Route Map Policy for Multicast associated with the Rendezvous Point.
Using getSchemaTemplateVrf
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSchemaTemplateVrf(args: GetSchemaTemplateVrfArgs, opts?: InvokeOptions): Promise<GetSchemaTemplateVrfResult>
function getSchemaTemplateVrfOutput(args: GetSchemaTemplateVrfOutputArgs, opts?: InvokeOptions): Output<GetSchemaTemplateVrfResult>
def get_schema_template_vrf(id: Optional[str] = None,
name: Optional[str] = None,
schema_id: Optional[str] = None,
template: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaTemplateVrfResult
def get_schema_template_vrf_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
schema_id: Optional[pulumi.Input[str]] = None,
template: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchemaTemplateVrfResult]
func LookupSchemaTemplateVrf(ctx *Context, args *LookupSchemaTemplateVrfArgs, opts ...InvokeOption) (*LookupSchemaTemplateVrfResult, error)
func LookupSchemaTemplateVrfOutput(ctx *Context, args *LookupSchemaTemplateVrfOutputArgs, opts ...InvokeOption) LookupSchemaTemplateVrfResultOutput
> Note: This function is named LookupSchemaTemplateVrf
in the Go SDK.
public static class GetSchemaTemplateVrf
{
public static Task<GetSchemaTemplateVrfResult> InvokeAsync(GetSchemaTemplateVrfArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaTemplateVrfResult> Invoke(GetSchemaTemplateVrfInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchemaTemplateVrfResult> getSchemaTemplateVrf(GetSchemaTemplateVrfArgs args, InvokeOptions options)
public static Output<GetSchemaTemplateVrfResult> getSchemaTemplateVrf(GetSchemaTemplateVrfArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSchemaTemplateVrf:getSchemaTemplateVrf
arguments:
# arguments dictionary
The following arguments are supported:
getSchemaTemplateVrf Result
The following output properties are available:
- Description string
- Display
Name string - Id string
- Ip
Data stringPlane Learning - Layer3Multicast bool
- Name string
- Preferred
Group bool - Rendezvous
Points List<GetSchema Template Vrf Rendezvous Point> - Schema
Id string - Site
Aware boolPolicy Enforcement - Template string
- Uuid string
- Vzany bool
- Description string
- Display
Name string - Id string
- Ip
Data stringPlane Learning - Layer3Multicast bool
- Name string
- Preferred
Group bool - Rendezvous
Points []GetSchema Template Vrf Rendezvous Point - Schema
Id string - Site
Aware boolPolicy Enforcement - Template string
- Uuid string
- Vzany bool
- description String
- display
Name String - id String
- ip
Data StringPlane Learning - layer3Multicast Boolean
- name String
- preferred
Group Boolean - rendezvous
Points List<GetSchema Template Vrf Rendezvous Point> - schema
Id String - site
Aware BooleanPolicy Enforcement - template String
- uuid String
- vzany Boolean
- description string
- display
Name string - id string
- ip
Data stringPlane Learning - layer3Multicast boolean
- name string
- preferred
Group boolean - rendezvous
Points GetSchema Template Vrf Rendezvous Point[] - schema
Id string - site
Aware booleanPolicy Enforcement - template string
- uuid string
- vzany boolean
- description str
- display_
name str - id str
- ip_
data_ strplane_ learning - layer3_
multicast bool - name str
- preferred_
group bool - rendezvous_
points Sequence[GetSchema Template Vrf Rendezvous Point] - schema_
id str - site_
aware_ boolpolicy_ enforcement - template str
- uuid str
- vzany bool
- description String
- display
Name String - id String
- ip
Data StringPlane Learning - layer3Multicast Boolean
- name String
- preferred
Group Boolean - rendezvous
Points List<Property Map> - schema
Id String - site
Aware BooleanPolicy Enforcement - template String
- uuid String
- vzany Boolean
Supporting Types
GetSchemaTemplateVrfRendezvousPoint
- Ip
Address string - Route
Map stringPolicy Multicast Uuid - Type string
- Ip
Address string - Route
Map stringPolicy Multicast Uuid - Type string
- ip
Address String - route
Map StringPolicy Multicast Uuid - type String
- ip
Address string - route
Map stringPolicy Multicast Uuid - type string
- ip_
address str - route_
map_ strpolicy_ multicast_ uuid - type str
- ip
Address String - route
Map StringPolicy Multicast Uuid - type String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.