mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaSiteAnpEpgStaticLeaf
Explore with Pulumi AI
Data source for MSO Schema Site Application Network Profiles End Point Group Static Leaf.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaSiteAnpEpgStaticLeaf({
schemaId: data.mso_schema.schema1.id,
templateName: "Template1",
siteId: data.mso_site.site1.id,
anpName: "ANP",
epgName: "Web",
path: "topology/pod-1/paths-103/pathep-[eth1/111]",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_site_anp_epg_static_leaf(schema_id=data["mso_schema"]["schema1"]["id"],
template_name="Template1",
site_id=data["mso_site"]["site1"]["id"],
anp_name="ANP",
epg_name="Web",
path="topology/pod-1/paths-103/pathep-[eth1/111]")
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.LookupSchemaSiteAnpEpgStaticLeaf(ctx, &mso.LookupSchemaSiteAnpEpgStaticLeafArgs{
SchemaId: data.Mso_schema.Schema1.Id,
TemplateName: "Template1",
SiteId: data.Mso_site.Site1.Id,
AnpName: "ANP",
EpgName: "Web",
Path: "topology/pod-1/paths-103/pathep-[eth1/111]",
}, 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.GetSchemaSiteAnpEpgStaticLeaf.Invoke(new()
{
SchemaId = data.Mso_schema.Schema1.Id,
TemplateName = "Template1",
SiteId = data.Mso_site.Site1.Id,
AnpName = "ANP",
EpgName = "Web",
Path = "topology/pod-1/paths-103/pathep-[eth1/111]",
});
});
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.GetSchemaSiteAnpEpgStaticLeafArgs;
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.getSchemaSiteAnpEpgStaticLeaf(GetSchemaSiteAnpEpgStaticLeafArgs.builder()
.schemaId(data.mso_schema().schema1().id())
.templateName("Template1")
.siteId(data.mso_site().site1().id())
.anpName("ANP")
.epgName("Web")
.path("topology/pod-1/paths-103/pathep-[eth1/111]")
.build());
}
}
variables:
example:
fn::invoke:
function: mso:getSchemaSiteAnpEpgStaticLeaf
arguments:
schemaId: ${data.mso_schema.schema1.id}
templateName: Template1
siteId: ${data.mso_site.site1.id}
anpName: ANP
epgName: Web
path: topology/pod-1/paths-103/pathep-[eth1/111]
Argument Reference
schema_id
- (Required) The schema ID under which the Static Leaf is deployed.site_id
- (Required) The site ID under which the Static Leaf is deployed.template_name
- (Required) The template name under which the Static Leaf is deployed.anp_name
- (Required) The ANP name under which the Static Leaf is deployed.epg_name
- (Required) The EPG name under which the Static Leaf is deployed.path
- (Required) The Path of the Static Leaf.
Attribute Reference
port_encap_vlan
- (Read-Only) The port encapsulation VLAN ID of the Static Leaf.
Using getSchemaSiteAnpEpgStaticLeaf
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 getSchemaSiteAnpEpgStaticLeaf(args: GetSchemaSiteAnpEpgStaticLeafArgs, opts?: InvokeOptions): Promise<GetSchemaSiteAnpEpgStaticLeafResult>
function getSchemaSiteAnpEpgStaticLeafOutput(args: GetSchemaSiteAnpEpgStaticLeafOutputArgs, opts?: InvokeOptions): Output<GetSchemaSiteAnpEpgStaticLeafResult>
def get_schema_site_anp_epg_static_leaf(anp_name: Optional[str] = None,
epg_name: Optional[str] = None,
id: Optional[str] = None,
path: Optional[str] = None,
schema_id: Optional[str] = None,
site_id: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaSiteAnpEpgStaticLeafResult
def get_schema_site_anp_epg_static_leaf_output(anp_name: Optional[pulumi.Input[str]] = None,
epg_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
path: 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[GetSchemaSiteAnpEpgStaticLeafResult]
func LookupSchemaSiteAnpEpgStaticLeaf(ctx *Context, args *LookupSchemaSiteAnpEpgStaticLeafArgs, opts ...InvokeOption) (*LookupSchemaSiteAnpEpgStaticLeafResult, error)
func LookupSchemaSiteAnpEpgStaticLeafOutput(ctx *Context, args *LookupSchemaSiteAnpEpgStaticLeafOutputArgs, opts ...InvokeOption) LookupSchemaSiteAnpEpgStaticLeafResultOutput
> Note: This function is named LookupSchemaSiteAnpEpgStaticLeaf
in the Go SDK.
public static class GetSchemaSiteAnpEpgStaticLeaf
{
public static Task<GetSchemaSiteAnpEpgStaticLeafResult> InvokeAsync(GetSchemaSiteAnpEpgStaticLeafArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaSiteAnpEpgStaticLeafResult> Invoke(GetSchemaSiteAnpEpgStaticLeafInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchemaSiteAnpEpgStaticLeafResult> getSchemaSiteAnpEpgStaticLeaf(GetSchemaSiteAnpEpgStaticLeafArgs args, InvokeOptions options)
public static Output<GetSchemaSiteAnpEpgStaticLeafResult> getSchemaSiteAnpEpgStaticLeaf(GetSchemaSiteAnpEpgStaticLeafArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSchemaSiteAnpEpgStaticLeaf:getSchemaSiteAnpEpgStaticLeaf
arguments:
# arguments dictionary
The following arguments are supported:
getSchemaSiteAnpEpgStaticLeaf Result
The following output properties are available:
- Anp
Name string - Epg
Name string - Id string
- Path string
- Port
Encap doubleVlan - Schema
Id string - Site
Id string - Template
Name string
- Anp
Name string - Epg
Name string - Id string
- Path string
- Port
Encap float64Vlan - Schema
Id string - Site
Id string - Template
Name string
- anp
Name String - epg
Name String - id String
- path String
- port
Encap DoubleVlan - schema
Id String - site
Id String - template
Name String
- anp
Name string - epg
Name string - id string
- path string
- port
Encap numberVlan - schema
Id string - site
Id string - template
Name string
- anp_
name str - epg_
name str - id str
- path str
- port_
encap_ floatvlan - schema_
id str - site_
id str - template_
name str
- anp
Name String - epg
Name String - id String
- path String
- port
Encap NumberVlan - 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.