mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaTemplateL3out
Explore with Pulumi AI
Data source for MSO Schema Template L3Out.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaTemplateL3out({
schemaId: data.mso_schema.schema1.id,
templateName: "Template1",
l3outName: "Internet_L3Out",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_template_l3out(schema_id=data["mso_schema"]["schema1"]["id"],
template_name="Template1",
l3out_name="Internet_L3Out")
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.LookupSchemaTemplateL3out(ctx, &mso.LookupSchemaTemplateL3outArgs{
SchemaId: data.Mso_schema.Schema1.Id,
TemplateName: "Template1",
L3outName: "Internet_L3Out",
}, 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 example = Mso.GetSchemaTemplateL3out.Invoke(new()
{
SchemaId = data.Mso_schema.Schema1.Id,
TemplateName = "Template1",
L3outName = "Internet_L3Out",
});
});
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.GetSchemaTemplateL3outArgs;
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 example = MsoFunctions.getSchemaTemplateL3out(GetSchemaTemplateL3outArgs.builder()
.schemaId(data.mso_schema().schema1().id())
.templateName("Template1")
.l3outName("Internet_L3Out")
.build());
}
}
variables:
example:
fn::invoke:
function: mso:getSchemaTemplateL3out
arguments:
schemaId: ${data.mso_schema.schema1.id}
templateName: Template1
l3outName: Internet_L3Out
Argument Reference
schema_id
- (Required) The schema ID of the L3out.template_name
- (Required) The template name of the L3out.l3out_name
- (Required) The name of the L3Out.
Attribute Reference
display_name
- (Read-Only) The name of the L3out as displayed on the MSO UI.vrf_name
- (Read-Only) The name of the VRF associated with the L3out.vrf_schema_id
- (Read-Only) The schema ID of the VRF associated with the L3out.vrf_template_name
- (Read-Only) The template name of the VRF associated with the L3out.description
- (Read-Only) The description of the L3out.
Using getSchemaTemplateL3out
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 getSchemaTemplateL3out(args: GetSchemaTemplateL3outArgs, opts?: InvokeOptions): Promise<GetSchemaTemplateL3outResult>
function getSchemaTemplateL3outOutput(args: GetSchemaTemplateL3outOutputArgs, opts?: InvokeOptions): Output<GetSchemaTemplateL3outResult>
def get_schema_template_l3out(id: Optional[str] = None,
l3out_name: Optional[str] = None,
schema_id: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaTemplateL3outResult
def get_schema_template_l3out_output(id: Optional[pulumi.Input[str]] = None,
l3out_name: Optional[pulumi.Input[str]] = None,
schema_id: Optional[pulumi.Input[str]] = None,
template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchemaTemplateL3outResult]
func LookupSchemaTemplateL3out(ctx *Context, args *LookupSchemaTemplateL3outArgs, opts ...InvokeOption) (*LookupSchemaTemplateL3outResult, error)
func LookupSchemaTemplateL3outOutput(ctx *Context, args *LookupSchemaTemplateL3outOutputArgs, opts ...InvokeOption) LookupSchemaTemplateL3outResultOutput
> Note: This function is named LookupSchemaTemplateL3out
in the Go SDK.
public static class GetSchemaTemplateL3out
{
public static Task<GetSchemaTemplateL3outResult> InvokeAsync(GetSchemaTemplateL3outArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaTemplateL3outResult> Invoke(GetSchemaTemplateL3outInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchemaTemplateL3outResult> getSchemaTemplateL3out(GetSchemaTemplateL3outArgs args, InvokeOptions options)
public static Output<GetSchemaTemplateL3outResult> getSchemaTemplateL3out(GetSchemaTemplateL3outArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSchemaTemplateL3out:getSchemaTemplateL3out
arguments:
# arguments dictionary
The following arguments are supported:
- L3out
Name string - Schema
Id string - Template
Name string - Id string
- L3out
Name string - Schema
Id string - Template
Name string - Id string
- l3out
Name String - schema
Id String - template
Name String - id String
- l3out
Name string - schema
Id string - template
Name string - id string
- l3out_
name str - schema_
id str - template_
name str - id str
- l3out
Name String - schema
Id String - template
Name String - id String
getSchemaTemplateL3out Result
The following output properties are available:
- Description string
- Display
Name string - Id string
- L3out
Name string - Schema
Id string - Template
Name string - Vrf
Name string - Vrf
Schema stringId - Vrf
Template stringName
- Description string
- Display
Name string - Id string
- L3out
Name string - Schema
Id string - Template
Name string - Vrf
Name string - Vrf
Schema stringId - Vrf
Template stringName
- description String
- display
Name String - id String
- l3out
Name String - schema
Id String - template
Name String - vrf
Name String - vrf
Schema StringId - vrf
Template StringName
- description string
- display
Name string - id string
- l3out
Name string - schema
Id string - template
Name string - vrf
Name string - vrf
Schema stringId - vrf
Template stringName
- description str
- display_
name str - id str
- l3out_
name str - schema_
id str - template_
name str - vrf_
name str - vrf_
schema_ strid - vrf_
template_ strname
- description String
- display
Name String - id String
- l3out
Name String - schema
Id String - template
Name String - vrf
Name String - vrf
Schema StringId - vrf
Template StringName
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.