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 dictionary
The following arguments are supported:
- External
Epg stringName - Schema
Id string - Template
Name string - Id string
- External
Epg stringName - Schema
Id string - Template
Name string - Id string
- external
Epg StringName - schema
Id String - template
Name String - id String
- external
Epg stringName - schema
Id string - template
Name string - id string
- external_
epg_ strname - schema_
id str - template_
name str - id str
- external
Epg StringName - schema
Id String - template
Name String - id String
getSchemaTemplateExternalEpg Result
The following output properties are available:
- Anp
Name string - Anp
Schema stringId - Anp
Template stringName - Description string
- Display
Name string - External
Epg stringName - External
Epg stringType - Id string
- L3out
Name string - L3out
Schema stringId - L3out
Template stringName - Schema
Id string - Selector
Ip string - Selector
Name string - Template
Name string - Vrf
Name string - Vrf
Schema stringId - Vrf
Template stringName
- Anp
Name string - Anp
Schema stringId - Anp
Template stringName - Description string
- Display
Name string - External
Epg stringName - External
Epg stringType - Id string
- L3out
Name string - L3out
Schema stringId - L3out
Template stringName - Schema
Id string - Selector
Ip string - Selector
Name string - Template
Name string - Vrf
Name string - Vrf
Schema stringId - Vrf
Template stringName
- anp
Name String - anp
Schema StringId - anp
Template StringName - description String
- display
Name String - external
Epg StringName - external
Epg StringType - id String
- l3out
Name String - l3out
Schema StringId - l3out
Template StringName - schema
Id String - selector
Ip String - selector
Name String - template
Name String - vrf
Name String - vrf
Schema StringId - vrf
Template StringName
- anp
Name string - anp
Schema stringId - anp
Template stringName - description string
- display
Name string - external
Epg stringName - external
Epg stringType - id string
- l3out
Name string - l3out
Schema stringId - l3out
Template stringName - schema
Id string - selector
Ip string - selector
Name string - template
Name string - vrf
Name string - vrf
Schema stringId - vrf
Template 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
- anp
Name String - anp
Schema StringId - anp
Template StringName - description String
- display
Name String - external
Epg StringName - external
Epg StringType - id String
- l3out
Name String - l3out
Schema StringId - l3out
Template StringName - schema
Id String - selector
Ip String - selector
Name 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.