mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaSiteExternalEpgSelector
Explore with Pulumi AI
Data source for MSO Schema Site External End Point Group Selector.
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaSiteExternalEpgSelector({
    schemaId: data.mso_schema.schema1.id,
    templateName: "Template1",
    siteId: data.mso_site.site1.id,
    externalEpgName: "external_epg1",
    name: "second",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_site_external_epg_selector(schema_id=data["mso_schema"]["schema1"]["id"],
    template_name="Template1",
    site_id=data["mso_site"]["site1"]["id"],
    external_epg_name="external_epg1",
    name="second")
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.LookupSchemaSiteExternalEpgSelector(ctx, &mso.LookupSchemaSiteExternalEpgSelectorArgs{
			SchemaId:        data.Mso_schema.Schema1.Id,
			TemplateName:    "Template1",
			SiteId:          data.Mso_site.Site1.Id,
			ExternalEpgName: "external_epg1",
			Name:            "second",
		}, 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.GetSchemaSiteExternalEpgSelector.Invoke(new()
    {
        SchemaId = data.Mso_schema.Schema1.Id,
        TemplateName = "Template1",
        SiteId = data.Mso_site.Site1.Id,
        ExternalEpgName = "external_epg1",
        Name = "second",
    });
});
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.GetSchemaSiteExternalEpgSelectorArgs;
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.getSchemaSiteExternalEpgSelector(GetSchemaSiteExternalEpgSelectorArgs.builder()
            .schemaId(data.mso_schema().schema1().id())
            .templateName("Template1")
            .siteId(data.mso_site().site1().id())
            .externalEpgName("external_epg1")
            .name("second")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: mso:getSchemaSiteExternalEpgSelector
      arguments:
        schemaId: ${data.mso_schema.schema1.id}
        templateName: Template1
        siteId: ${data.mso_site.site1.id}
        externalEpgName: external_epg1
        name: second
Argument Reference
- schema_id- (Required) The schema ID under which the Selector is deployed.
- site_id- (Required) The site ID under which the Selector is deployed.
- template_name- (Required) The template name under which the Selector is deployed.
- external_epg_name- (Required) The name of the External EPG under which the Selector is deployed.
- name- (Required) The name of the Selector.
Attribute Reference
- ip- (Read-Only) The IP address of the Selector.
Using getSchemaSiteExternalEpgSelector
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 getSchemaSiteExternalEpgSelector(args: GetSchemaSiteExternalEpgSelectorArgs, opts?: InvokeOptions): Promise<GetSchemaSiteExternalEpgSelectorResult>
function getSchemaSiteExternalEpgSelectorOutput(args: GetSchemaSiteExternalEpgSelectorOutputArgs, opts?: InvokeOptions): Output<GetSchemaSiteExternalEpgSelectorResult>def get_schema_site_external_epg_selector(external_epg_name: Optional[str] = None,
                                          id: Optional[str] = None,
                                          name: Optional[str] = None,
                                          schema_id: Optional[str] = None,
                                          site_id: Optional[str] = None,
                                          template_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetSchemaSiteExternalEpgSelectorResult
def get_schema_site_external_epg_selector_output(external_epg_name: Optional[pulumi.Input[str]] = None,
                                          id: Optional[pulumi.Input[str]] = None,
                                          name: 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[GetSchemaSiteExternalEpgSelectorResult]func LookupSchemaSiteExternalEpgSelector(ctx *Context, args *LookupSchemaSiteExternalEpgSelectorArgs, opts ...InvokeOption) (*LookupSchemaSiteExternalEpgSelectorResult, error)
func LookupSchemaSiteExternalEpgSelectorOutput(ctx *Context, args *LookupSchemaSiteExternalEpgSelectorOutputArgs, opts ...InvokeOption) LookupSchemaSiteExternalEpgSelectorResultOutput> Note: This function is named LookupSchemaSiteExternalEpgSelector in the Go SDK.
public static class GetSchemaSiteExternalEpgSelector 
{
    public static Task<GetSchemaSiteExternalEpgSelectorResult> InvokeAsync(GetSchemaSiteExternalEpgSelectorArgs args, InvokeOptions? opts = null)
    public static Output<GetSchemaSiteExternalEpgSelectorResult> Invoke(GetSchemaSiteExternalEpgSelectorInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchemaSiteExternalEpgSelectorResult> getSchemaSiteExternalEpgSelector(GetSchemaSiteExternalEpgSelectorArgs args, InvokeOptions options)
public static Output<GetSchemaSiteExternalEpgSelectorResult> getSchemaSiteExternalEpgSelector(GetSchemaSiteExternalEpgSelectorArgs args, InvokeOptions options)
fn::invoke:
  function: mso:index/getSchemaSiteExternalEpgSelector:getSchemaSiteExternalEpgSelector
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ExternalEpg stringName 
- Name string
- SchemaId string
- SiteId string
- TemplateName string
- Id string
- ExternalEpg stringName 
- Name string
- SchemaId string
- SiteId string
- TemplateName string
- Id string
- externalEpg StringName 
- name String
- schemaId String
- siteId String
- templateName String
- id String
- externalEpg stringName 
- name string
- schemaId string
- siteId string
- templateName string
- id string
- external_epg_ strname 
- name str
- schema_id str
- site_id str
- template_name str
- id str
- externalEpg StringName 
- name String
- schemaId String
- siteId String
- templateName String
- id String
getSchemaSiteExternalEpgSelector Result
The following output properties are available:
- ExternalEpg stringName 
- Id string
- Ip string
- Name string
- SchemaId string
- SiteId string
- TemplateName string
- ExternalEpg stringName 
- Id string
- Ip string
- Name string
- SchemaId string
- SiteId string
- TemplateName string
- externalEpg StringName 
- id String
- ip String
- name String
- schemaId String
- siteId String
- templateName String
- externalEpg stringName 
- id string
- ip string
- name string
- schemaId string
- siteId string
- templateName string
- external_epg_ strname 
- id str
- ip str
- name str
- schema_id str
- site_id str
- template_name str
- externalEpg StringName 
- id String
- ip String
- name String
- schemaId String
- siteId String
- templateName String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.