mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaSiteExternalEpg
Explore with Pulumi AI
Data source for MSO Schema Site External End Point Group.
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaSiteExternalEpg({
schemaId: data.mso_schema.schema1.id,
templateName: "Template1",
siteId: data.mso_site.site1.id,
externalEpgName: "external_epg_1",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_site_external_epg(schema_id=data["mso_schema"]["schema1"]["id"],
template_name="Template1",
site_id=data["mso_site"]["site1"]["id"],
external_epg_name="external_epg_1")
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.LookupSchemaSiteExternalEpg(ctx, &mso.LookupSchemaSiteExternalEpgArgs{
SchemaId: data.Mso_schema.Schema1.Id,
TemplateName: "Template1",
SiteId: data.Mso_site.Site1.Id,
ExternalEpgName: "external_epg_1",
}, 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.GetSchemaSiteExternalEpg.Invoke(new()
{
SchemaId = data.Mso_schema.Schema1.Id,
TemplateName = "Template1",
SiteId = data.Mso_site.Site1.Id,
ExternalEpgName = "external_epg_1",
});
});
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.GetSchemaSiteExternalEpgArgs;
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.getSchemaSiteExternalEpg(GetSchemaSiteExternalEpgArgs.builder()
.schemaId(data.mso_schema().schema1().id())
.templateName("Template1")
.siteId(data.mso_site().site1().id())
.externalEpgName("external_epg_1")
.build());
}
}
variables:
example:
fn::invoke:
function: mso:getSchemaSiteExternalEpg
arguments:
schemaId: ${data.mso_schema.schema1.id}
templateName: Template1
siteId: ${data.mso_site.site1.id}
externalEpgName: external_epg_1
Argument Reference
schema_id
- (Required) The schema ID under which the External EPG is deployed.site_id
- (Required) The site ID under which the External EPG is deployed.template_name
- (Required) The template name under which the External EPG is deployed.external_epg_name
- (Required) The name of the External EPG.
Attribute Reference
l3out_name
- (Read-Only) The name of the L3Out.l3out_schema_id
- (Read-Only) The schema ID of the L3out.l3out_template_name
- (Read-Only) The template name of the L3out.l3out_dn
- (Read-Only) The DN of the L3out.
Using getSchemaSiteExternalEpg
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 getSchemaSiteExternalEpg(args: GetSchemaSiteExternalEpgArgs, opts?: InvokeOptions): Promise<GetSchemaSiteExternalEpgResult>
function getSchemaSiteExternalEpgOutput(args: GetSchemaSiteExternalEpgOutputArgs, opts?: InvokeOptions): Output<GetSchemaSiteExternalEpgResult>
def get_schema_site_external_epg(external_epg_name: Optional[str] = None,
id: Optional[str] = None,
schema_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaSiteExternalEpgResult
def get_schema_site_external_epg_output(external_epg_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
schema_id: Optional[pulumi.Input[str]] = None,
site_id: Optional[pulumi.Input[str]] = None,
template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchemaSiteExternalEpgResult]
func LookupSchemaSiteExternalEpg(ctx *Context, args *LookupSchemaSiteExternalEpgArgs, opts ...InvokeOption) (*LookupSchemaSiteExternalEpgResult, error)
func LookupSchemaSiteExternalEpgOutput(ctx *Context, args *LookupSchemaSiteExternalEpgOutputArgs, opts ...InvokeOption) LookupSchemaSiteExternalEpgResultOutput
> Note: This function is named LookupSchemaSiteExternalEpg
in the Go SDK.
public static class GetSchemaSiteExternalEpg
{
public static Task<GetSchemaSiteExternalEpgResult> InvokeAsync(GetSchemaSiteExternalEpgArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaSiteExternalEpgResult> Invoke(GetSchemaSiteExternalEpgInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchemaSiteExternalEpgResult> getSchemaSiteExternalEpg(GetSchemaSiteExternalEpgArgs args, InvokeOptions options)
public static Output<GetSchemaSiteExternalEpgResult> getSchemaSiteExternalEpg(GetSchemaSiteExternalEpgArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSchemaSiteExternalEpg:getSchemaSiteExternalEpg
arguments:
# arguments dictionary
The following arguments are supported:
- External
Epg stringName - Schema
Id string - Site
Id string - Template
Name string - Id string
- External
Epg stringName - Schema
Id string - Site
Id string - Template
Name string - Id string
- external
Epg StringName - schema
Id String - site
Id String - template
Name String - id String
- external
Epg stringName - schema
Id string - site
Id string - template
Name string - id string
- external_
epg_ strname - schema_
id str - site_
id str - template_
name str - id str
- external
Epg StringName - schema
Id String - site
Id String - template
Name String - id String
getSchemaSiteExternalEpg Result
The following output properties are available:
- External
Epg stringName - Id string
- L3out
Dn string - L3out
Name string - L3out
Schema stringId - L3out
Template stringName - Schema
Id string - Site
Id string - Template
Name string
- External
Epg stringName - Id string
- L3out
Dn string - L3out
Name string - L3out
Schema stringId - L3out
Template stringName - Schema
Id string - Site
Id string - Template
Name string
- external
Epg StringName - id String
- l3out
Dn String - l3out
Name String - l3out
Schema StringId - l3out
Template StringName - schema
Id String - site
Id String - template
Name String
- external
Epg stringName - id string
- l3out
Dn string - l3out
Name string - l3out
Schema stringId - l3out
Template stringName - schema
Id string - site
Id string - template
Name string
- external_
epg_ strname - id str
- l3out_
dn str - l3out_
name str - l3out_
schema_ strid - l3out_
template_ strname - schema_
id str - site_
id str - template_
name str
- external
Epg StringName - id String
- l3out
Dn String - l3out
Name String - l3out
Schema StringId - l3out
Template StringName - schema
Id String - site
Id String - template
Name String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.