mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaTemplateAnpEpg
Explore with Pulumi AI
Data source for MSO Schema Template Application Network Profiles Endpoint Group (EPG).
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaTemplateAnpEpg({
schemaId: data.mso_schema.schema1.id,
templateName: "Template1",
anpName: "ANP",
name: "mso_epg1",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_template_anp_epg(schema_id=data["mso_schema"]["schema1"]["id"],
template_name="Template1",
anp_name="ANP",
name="mso_epg1")
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.LookupSchemaTemplateAnpEpg(ctx, &mso.LookupSchemaTemplateAnpEpgArgs{
SchemaId: data.Mso_schema.Schema1.Id,
TemplateName: "Template1",
AnpName: "ANP",
Name: "mso_epg1",
}, 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.GetSchemaTemplateAnpEpg.Invoke(new()
{
SchemaId = data.Mso_schema.Schema1.Id,
TemplateName = "Template1",
AnpName = "ANP",
Name = "mso_epg1",
});
});
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.GetSchemaTemplateAnpEpgArgs;
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.getSchemaTemplateAnpEpg(GetSchemaTemplateAnpEpgArgs.builder()
.schemaId(data.mso_schema().schema1().id())
.templateName("Template1")
.anpName("ANP")
.name("mso_epg1")
.build());
}
}
variables:
example:
fn::invoke:
function: mso:getSchemaTemplateAnpEpg
arguments:
schemaId: ${data.mso_schema.schema1.id}
templateName: Template1
anpName: ANP
name: mso_epg1
Argument Reference
schema_id
- (Required) The schema ID of the EPG.template_name
- (Required) The template name of the EPG.anp_name
- (Required) The name of the ANP.name
- (Required) The name of the EPG.
Attribute Reference
bd_name
- (Read-Only) The name of the BD associated with the EPG.bd_schema_id
- (Read-Only) The schema ID of the BD associated with the EPG.bd_template_name
- (Read-Only) The template name of the BD associated with the EPG.vrf_name
- (Read-Only) The name of the VRF associated with the EPG.vrf_schema_id
- (Read-Only) The schema ID of the VRF associated with the EPG.vrf_template_name
- (Read-Only) The template name of the VRF associated with the EPG.display_name
- (Read-Only) The name of the EPG as displayed on the MSO UI.description
- (Read-Only) The description of the EPG.useg_epg
- (Read-Only) Whether the EPG is a uSeg EPG.intra_epg
- (Read-Only) Whether intra EPG isolation is enforced.intersite_multicast_source
- (Read-Only) Whether intersite multicast source is enabled.proxy_arp
- (Read-Only) Whether Proxy ARP is enabled.preferred_group
- (Read-Only) Whether the EPG is added to preferred group.epg_type
- (Read-Only) The type of the EPG.access_type
- (Read-Only) The access type of the EPG.deployment_type
- (Read-Only) The deployment type of the EPG.service_type
- (Read-Only) The service type of the EPG.custom_service_type
- (Read-Only) The custom service type of the EPG.
Using getSchemaTemplateAnpEpg
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 getSchemaTemplateAnpEpg(args: GetSchemaTemplateAnpEpgArgs, opts?: InvokeOptions): Promise<GetSchemaTemplateAnpEpgResult>
function getSchemaTemplateAnpEpgOutput(args: GetSchemaTemplateAnpEpgOutputArgs, opts?: InvokeOptions): Output<GetSchemaTemplateAnpEpgResult>
def get_schema_template_anp_epg(anp_name: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
schema_id: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaTemplateAnpEpgResult
def get_schema_template_anp_epg_output(anp_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,
template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchemaTemplateAnpEpgResult]
func LookupSchemaTemplateAnpEpg(ctx *Context, args *LookupSchemaTemplateAnpEpgArgs, opts ...InvokeOption) (*LookupSchemaTemplateAnpEpgResult, error)
func LookupSchemaTemplateAnpEpgOutput(ctx *Context, args *LookupSchemaTemplateAnpEpgOutputArgs, opts ...InvokeOption) LookupSchemaTemplateAnpEpgResultOutput
> Note: This function is named LookupSchemaTemplateAnpEpg
in the Go SDK.
public static class GetSchemaTemplateAnpEpg
{
public static Task<GetSchemaTemplateAnpEpgResult> InvokeAsync(GetSchemaTemplateAnpEpgArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaTemplateAnpEpgResult> Invoke(GetSchemaTemplateAnpEpgInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSchemaTemplateAnpEpgResult> getSchemaTemplateAnpEpg(GetSchemaTemplateAnpEpgArgs args, InvokeOptions options)
public static Output<GetSchemaTemplateAnpEpgResult> getSchemaTemplateAnpEpg(GetSchemaTemplateAnpEpgArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSchemaTemplateAnpEpg:getSchemaTemplateAnpEpg
arguments:
# arguments dictionary
The following arguments are supported:
- Anp
Name string - Name string
- Schema
Id string - Template
Name string - Id string
- Anp
Name string - Name string
- Schema
Id string - Template
Name string - Id string
- anp
Name String - name String
- schema
Id String - template
Name String - id String
- anp
Name string - name string
- schema
Id string - template
Name string - id string
- anp_
name str - name str
- schema_
id str - template_
name str - id str
- anp
Name String - name String
- schema
Id String - template
Name String - id String
getSchemaTemplateAnpEpg Result
The following output properties are available:
- Access
Type string - Anp
Name string - Bd
Name string - Bd
Schema stringId - Bd
Template stringName - Custom
Service stringType - Deployment
Type string - Description string
- Display
Name string - Epg
Type string - Id string
- Intersite
Multicast boolSource - Intra
Epg string - Name string
- Preferred
Group bool - Proxy
Arp bool - Schema
Id string - Service
Type string - Template
Name string - Useg
Epg bool - Vrf
Name string - Vrf
Schema stringId - Vrf
Template stringName
- Access
Type string - Anp
Name string - Bd
Name string - Bd
Schema stringId - Bd
Template stringName - Custom
Service stringType - Deployment
Type string - Description string
- Display
Name string - Epg
Type string - Id string
- Intersite
Multicast boolSource - Intra
Epg string - Name string
- Preferred
Group bool - Proxy
Arp bool - Schema
Id string - Service
Type string - Template
Name string - Useg
Epg bool - Vrf
Name string - Vrf
Schema stringId - Vrf
Template stringName
- access
Type String - anp
Name String - bd
Name String - bd
Schema StringId - bd
Template StringName - custom
Service StringType - deployment
Type String - description String
- display
Name String - epg
Type String - id String
- intersite
Multicast BooleanSource - intra
Epg String - name String
- preferred
Group Boolean - proxy
Arp Boolean - schema
Id String - service
Type String - template
Name String - useg
Epg Boolean - vrf
Name String - vrf
Schema StringId - vrf
Template StringName
- access
Type string - anp
Name string - bd
Name string - bd
Schema stringId - bd
Template stringName - custom
Service stringType - deployment
Type string - description string
- display
Name string - epg
Type string - id string
- intersite
Multicast booleanSource - intra
Epg string - name string
- preferred
Group boolean - proxy
Arp boolean - schema
Id string - service
Type string - template
Name string - useg
Epg boolean - vrf
Name string - vrf
Schema stringId - vrf
Template stringName
- access_
type str - anp_
name str - bd_
name str - bd_
schema_ strid - bd_
template_ strname - custom_
service_ strtype - deployment_
type str - description str
- display_
name str - epg_
type str - id str
- intersite_
multicast_ boolsource - intra_
epg str - name str
- preferred_
group bool - proxy_
arp bool - schema_
id str - service_
type str - template_
name str - useg_
epg bool - vrf_
name str - vrf_
schema_ strid - vrf_
template_ strname
- access
Type String - anp
Name String - bd
Name String - bd
Schema StringId - bd
Template StringName - custom
Service StringType - deployment
Type String - description String
- display
Name String - epg
Type String - id String
- intersite
Multicast BooleanSource - intra
Epg String - name String
- preferred
Group Boolean - proxy
Arp Boolean - schema
Id String - service
Type String - template
Name String - useg
Epg Boolean - 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.