mso 1.6.0 published on Thursday, Nov 6, 2025 by ciscodevnet
mso 1.6.0 published on Thursday, Nov 6, 2025 by ciscodevnet
Data source for MSO Schema Template External EPG Subnet.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const example = mso.getSchemaTemplateExternalEpgSubnet({
schemaId: schema1.id,
templateName: "Template1",
externalEpgName: "Internet",
ip: "30.1.1.0/24",
});
import pulumi
import pulumi_mso as mso
example = mso.get_schema_template_external_epg_subnet(schema_id=schema1["id"],
template_name="Template1",
external_epg_name="Internet",
ip="30.1.1.0/24")
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.LookupSchemaTemplateExternalEpgSubnet(ctx, &mso.LookupSchemaTemplateExternalEpgSubnetArgs{
SchemaId: schema1.Id,
TemplateName: "Template1",
ExternalEpgName: "Internet",
Ip: "30.1.1.0/24",
}, 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.GetSchemaTemplateExternalEpgSubnet.Invoke(new()
{
SchemaId = schema1.Id,
TemplateName = "Template1",
ExternalEpgName = "Internet",
Ip = "30.1.1.0/24",
});
});
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.GetSchemaTemplateExternalEpgSubnetArgs;
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.getSchemaTemplateExternalEpgSubnet(GetSchemaTemplateExternalEpgSubnetArgs.builder()
.schemaId(schema1.id())
.templateName("Template1")
.externalEpgName("Internet")
.ip("30.1.1.0/24")
.build());
}
}
variables:
example:
fn::invoke:
function: mso:getSchemaTemplateExternalEpgSubnet
arguments:
schemaId: ${schema1.id}
templateName: Template1
externalEpgName: Internet
ip: 30.1.1.0/24
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.ip- (Required) The IP range of the External EPG in CIDR notation.
Attribute Reference
name- (Read-Only) The name of Subnet.scope- (Read-Only) The scope of the subnet.aggregate- (Read-Only) The aggregate of the subnet.
Using getSchemaTemplateExternalEpgSubnet
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 getSchemaTemplateExternalEpgSubnet(args: GetSchemaTemplateExternalEpgSubnetArgs, opts?: InvokeOptions): Promise<GetSchemaTemplateExternalEpgSubnetResult>
function getSchemaTemplateExternalEpgSubnetOutput(args: GetSchemaTemplateExternalEpgSubnetOutputArgs, opts?: InvokeOptions): Output<GetSchemaTemplateExternalEpgSubnetResult>def get_schema_template_external_epg_subnet(external_epg_name: Optional[str] = None,
id: Optional[str] = None,
ip: Optional[str] = None,
schema_id: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSchemaTemplateExternalEpgSubnetResult
def get_schema_template_external_epg_subnet_output(external_epg_name: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
ip: Optional[pulumi.Input[str]] = None,
schema_id: Optional[pulumi.Input[str]] = None,
template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSchemaTemplateExternalEpgSubnetResult]func LookupSchemaTemplateExternalEpgSubnet(ctx *Context, args *LookupSchemaTemplateExternalEpgSubnetArgs, opts ...InvokeOption) (*LookupSchemaTemplateExternalEpgSubnetResult, error)
func LookupSchemaTemplateExternalEpgSubnetOutput(ctx *Context, args *LookupSchemaTemplateExternalEpgSubnetOutputArgs, opts ...InvokeOption) LookupSchemaTemplateExternalEpgSubnetResultOutput> Note: This function is named LookupSchemaTemplateExternalEpgSubnet in the Go SDK.
public static class GetSchemaTemplateExternalEpgSubnet
{
public static Task<GetSchemaTemplateExternalEpgSubnetResult> InvokeAsync(GetSchemaTemplateExternalEpgSubnetArgs args, InvokeOptions? opts = null)
public static Output<GetSchemaTemplateExternalEpgSubnetResult> Invoke(GetSchemaTemplateExternalEpgSubnetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSchemaTemplateExternalEpgSubnetResult> getSchemaTemplateExternalEpgSubnet(GetSchemaTemplateExternalEpgSubnetArgs args, InvokeOptions options)
public static Output<GetSchemaTemplateExternalEpgSubnetResult> getSchemaTemplateExternalEpgSubnet(GetSchemaTemplateExternalEpgSubnetArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSchemaTemplateExternalEpgSubnet:getSchemaTemplateExternalEpgSubnet
arguments:
# arguments dictionaryThe following arguments are supported:
- External
Epg stringName - Ip string
- Schema
Id string - Template
Name string - Id string
- External
Epg stringName - Ip string
- Schema
Id string - Template
Name string - Id string
- external
Epg StringName - ip String
- schema
Id String - template
Name String - id String
- external
Epg stringName - ip string
- schema
Id string - template
Name string - id string
- external_
epg_ strname - ip str
- schema_
id str - template_
name str - id str
- external
Epg StringName - ip String
- schema
Id String - template
Name String - id String
getSchemaTemplateExternalEpgSubnet Result
The following output properties are available:
- Aggregates List<string>
- External
Epg stringName - Id string
- Ip string
- Name string
- Schema
Id string - Scopes List<string>
- Template
Name string
- Aggregates []string
- External
Epg stringName - Id string
- Ip string
- Name string
- Schema
Id string - Scopes []string
- Template
Name string
- aggregates List<String>
- external
Epg StringName - id String
- ip String
- name String
- schema
Id String - scopes List<String>
- template
Name String
- aggregates string[]
- external
Epg stringName - id string
- ip string
- name string
- schema
Id string - scopes string[]
- template
Name string
- aggregates Sequence[str]
- external_
epg_ strname - id str
- ip str
- name str
- schema_
id str - scopes Sequence[str]
- template_
name str
- aggregates List<String>
- external
Epg StringName - id String
- ip String
- name String
- schema
Id String - scopes List<String>
- template
Name String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
msoTerraform Provider.
mso 1.6.0 published on Thursday, Nov 6, 2025 by ciscodevnet
