mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaTemplateExternalEpg
Explore with Pulumi AI
Data source for MSO Schema Template External End Point Group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaTemplateExternalEpg({
    schemaId: data.mso_schema.schema1.id,
    templateName: "Template1",
    externalEpgName: "ExternalEPG1",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_template_external_epg(schema_id=data["mso_schema"]["schema1"]["id"],
    template_name="Template1",
    external_epg_name="ExternalEPG1")
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.LookupSchemaTemplateExternalEpg(ctx, &mso.LookupSchemaTemplateExternalEpgArgs{
			SchemaId:        data.Mso_schema.Schema1.Id,
			TemplateName:    "Template1",
			ExternalEpgName: "ExternalEPG1",
		}, 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.GetSchemaTemplateExternalEpg.Invoke(new()
    {
        SchemaId = data.Mso_schema.Schema1.Id,
        TemplateName = "Template1",
        ExternalEpgName = "ExternalEPG1",
    });
});
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.GetSchemaTemplateExternalEpgArgs;
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.getSchemaTemplateExternalEpg(GetSchemaTemplateExternalEpgArgs.builder()
            .schemaId(data.mso_schema().schema1().id())
            .templateName("Template1")
            .externalEpgName("ExternalEPG1")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: mso:getSchemaTemplateExternalEpg
      arguments:
        schemaId: ${data.mso_schema.schema1.id}
        templateName: Template1
        externalEpgName: ExternalEPG1
Argument Reference
- schema_id- (Required) The schema ID of the External EPG.
- template_name- (Required) The template name of the External EPG.
- external_epg_name- (Required) The name of the External EPG.
Attribute Reference
- display_name- (Read-Only) The name of the External EPG as displayed on the MSO UI.
- external_epg_type- (Read-Only) The type of the External EPG.
- vrf_name- (Read-Only) The name of the VRF associated with the External EPG.
- vrf_schema_id- (Read-Only) The schema ID of the VRF associated with the External EPG.
- vrf_template_name- (Read-Only) The template name of the VRF associated with the External EPG.
- anp_name- (Read-Only) The name of the ANP associated with the External EPG.
- anp_schema_id- (Read-Only) The schema ID of the ANP associated with the External EPG.
- anp_template_name- (Read-Only) The template name of the ANP associated with the External EPG.
- l3out_name- (Read-Only) The name of the L3out associated with the External EPG.
- l3out_schema_id- (Read-Only) The schema ID of the L3out associated with the External EPG.
- l3out_template_name- (Read-Only) The template name of the L3out associated with the External EPG.
- selector_name- (Read-Only) The name of the External EPG selector.
- selector_ip- (Read-Only) The ip address of the External EPG selector.
- description- (Read-Only) The description of the External EPG selector.
Using getSchemaTemplateExternalEpg
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 getSchemaTemplateExternalEpg(args: GetSchemaTemplateExternalEpgArgs, opts?: InvokeOptions): Promise<GetSchemaTemplateExternalEpgResult>
function getSchemaTemplateExternalEpgOutput(args: GetSchemaTemplateExternalEpgOutputArgs, opts?: InvokeOptions): Output<GetSchemaTemplateExternalEpgResult>def get_schema_template_external_epg(external_epg_name: Optional[str] = None,
                                     id: Optional[str] = None,
                                     schema_id: Optional[str] = None,
                                     template_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetSchemaTemplateExternalEpgResult
def get_schema_template_external_epg_output(external_epg_name: Optional[pulumi.Input[str]] = None,
                                     id: Optional[pulumi.Input[str]] = None,
                                     schema_id: Optional[pulumi.Input[str]] = None,
                                     template_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetSchemaTemplateExternalEpgResult]func LookupSchemaTemplateExternalEpg(ctx *Context, args *LookupSchemaTemplateExternalEpgArgs, opts ...InvokeOption) (*LookupSchemaTemplateExternalEpgResult, error)
func LookupSchemaTemplateExternalEpgOutput(ctx *Context, args *LookupSchemaTemplateExternalEpgOutputArgs, opts ...InvokeOption) LookupSchemaTemplateExternalEpgResultOutput> Note: This function is named LookupSchemaTemplateExternalEpg in the Go SDK.
public static class GetSchemaTemplateExternalEpg 
{
    public static Task<GetSchemaTemplateExternalEpgResult> InvokeAsync(GetSchemaTemplateExternalEpgArgs args, InvokeOptions? opts = null)
    public static Output<GetSchemaTemplateExternalEpgResult> Invoke(GetSchemaTemplateExternalEpgInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchemaTemplateExternalEpgResult> getSchemaTemplateExternalEpg(GetSchemaTemplateExternalEpgArgs args, InvokeOptions options)
public static Output<GetSchemaTemplateExternalEpgResult> getSchemaTemplateExternalEpg(GetSchemaTemplateExternalEpgArgs args, InvokeOptions options)
fn::invoke:
  function: mso:index/getSchemaTemplateExternalEpg:getSchemaTemplateExternalEpg
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ExternalEpg stringName 
- SchemaId string
- TemplateName string
- Id string
- ExternalEpg stringName 
- SchemaId string
- TemplateName string
- Id string
- externalEpg StringName 
- schemaId String
- templateName String
- id String
- externalEpg stringName 
- schemaId string
- templateName string
- id string
- external_epg_ strname 
- schema_id str
- template_name str
- id str
- externalEpg StringName 
- schemaId String
- templateName String
- id String
getSchemaTemplateExternalEpg Result
The following output properties are available:
- AnpName string
- AnpSchema stringId 
- AnpTemplate stringName 
- Description string
- DisplayName string
- ExternalEpg stringName 
- ExternalEpg stringType 
- Id string
- L3outName string
- L3outSchema stringId 
- L3outTemplate stringName 
- SchemaId string
- SelectorIp string
- SelectorName string
- TemplateName string
- VrfName string
- VrfSchema stringId 
- VrfTemplate stringName 
- AnpName string
- AnpSchema stringId 
- AnpTemplate stringName 
- Description string
- DisplayName string
- ExternalEpg stringName 
- ExternalEpg stringType 
- Id string
- L3outName string
- L3outSchema stringId 
- L3outTemplate stringName 
- SchemaId string
- SelectorIp string
- SelectorName string
- TemplateName string
- VrfName string
- VrfSchema stringId 
- VrfTemplate stringName 
- anpName String
- anpSchema StringId 
- anpTemplate StringName 
- description String
- displayName String
- externalEpg StringName 
- externalEpg StringType 
- id String
- l3outName String
- l3outSchema StringId 
- l3outTemplate StringName 
- schemaId String
- selectorIp String
- selectorName String
- templateName String
- vrfName String
- vrfSchema StringId 
- vrfTemplate StringName 
- anpName string
- anpSchema stringId 
- anpTemplate stringName 
- description string
- displayName string
- externalEpg stringName 
- externalEpg stringType 
- id string
- l3outName string
- l3outSchema stringId 
- l3outTemplate stringName 
- schemaId string
- selectorIp string
- selectorName string
- templateName string
- vrfName string
- vrfSchema stringId 
- vrfTemplate stringName 
- anp_name str
- anp_schema_ strid 
- anp_template_ strname 
- description str
- display_name str
- external_epg_ strname 
- external_epg_ strtype 
- id str
- l3out_name str
- l3out_schema_ strid 
- l3out_template_ strname 
- schema_id str
- selector_ip str
- selector_name str
- template_name str
- vrf_name str
- vrf_schema_ strid 
- vrf_template_ strname 
- anpName String
- anpSchema StringId 
- anpTemplate StringName 
- description String
- displayName String
- externalEpg StringName 
- externalEpg StringType 
- id String
- l3outName String
- l3outSchema StringId 
- l3outTemplate StringName 
- schemaId String
- selectorIp String
- selectorName String
- templateName String
- vrfName String
- vrfSchema StringId 
- vrfTemplate StringName 
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.