1. Packages
  2. Mso Provider
  3. API Docs
  4. SchemaTemplateExternalEpg
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

mso.SchemaTemplateExternalEpg

Explore with Pulumi AI

Create SchemaTemplateExternalEpg Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new SchemaTemplateExternalEpg(name: string, args: SchemaTemplateExternalEpgArgs, opts?: CustomResourceOptions);
@overload
def SchemaTemplateExternalEpg(resource_name: str,
                              args: SchemaTemplateExternalEpgArgs,
                              opts: Optional[ResourceOptions] = None)

@overload
def SchemaTemplateExternalEpg(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              external_epg_name: Optional[str] = None,
                              vrf_name: Optional[str] = None,
                              template_name: Optional[str] = None,
                              schema_id: Optional[str] = None,
                              display_name: Optional[str] = None,
                              l3out_template_name: Optional[str] = None,
                              schema_template_external_epg_id: Optional[str] = None,
                              include_in_preferred_group: Optional[bool] = None,
                              l3out_name: Optional[str] = None,
                              l3out_schema_id: Optional[str] = None,
                              anp_name: Optional[str] = None,
                              description: Optional[str] = None,
                              external_epg_type: Optional[str] = None,
                              selector_ip: Optional[str] = None,
                              selector_name: Optional[str] = None,
                              site_ids: Optional[Sequence[str]] = None,
                              anp_template_name: Optional[str] = None,
                              anp_schema_id: Optional[str] = None,
                              vrf_schema_id: Optional[str] = None,
                              vrf_template_name: Optional[str] = None)
func NewSchemaTemplateExternalEpg(ctx *Context, name string, args SchemaTemplateExternalEpgArgs, opts ...ResourceOption) (*SchemaTemplateExternalEpg, error)
public SchemaTemplateExternalEpg(string name, SchemaTemplateExternalEpgArgs args, CustomResourceOptions? opts = null)
public SchemaTemplateExternalEpg(String name, SchemaTemplateExternalEpgArgs args)
public SchemaTemplateExternalEpg(String name, SchemaTemplateExternalEpgArgs args, CustomResourceOptions options)
type: mso:SchemaTemplateExternalEpg
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. SchemaTemplateExternalEpgArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var schemaTemplateExternalEpgResource = new Mso.SchemaTemplateExternalEpg("schemaTemplateExternalEpgResource", new()
{
    ExternalEpgName = "string",
    VrfName = "string",
    TemplateName = "string",
    SchemaId = "string",
    DisplayName = "string",
    L3outTemplateName = "string",
    SchemaTemplateExternalEpgId = "string",
    IncludeInPreferredGroup = false,
    L3outName = "string",
    L3outSchemaId = "string",
    AnpName = "string",
    Description = "string",
    ExternalEpgType = "string",
    SelectorIp = "string",
    SelectorName = "string",
    SiteIds = new[]
    {
        "string",
    },
    AnpTemplateName = "string",
    AnpSchemaId = "string",
    VrfSchemaId = "string",
    VrfTemplateName = "string",
});
Copy
example, err := mso.NewSchemaTemplateExternalEpg(ctx, "schemaTemplateExternalEpgResource", &mso.SchemaTemplateExternalEpgArgs{
	ExternalEpgName:             pulumi.String("string"),
	VrfName:                     pulumi.String("string"),
	TemplateName:                pulumi.String("string"),
	SchemaId:                    pulumi.String("string"),
	DisplayName:                 pulumi.String("string"),
	L3outTemplateName:           pulumi.String("string"),
	SchemaTemplateExternalEpgId: pulumi.String("string"),
	IncludeInPreferredGroup:     pulumi.Bool(false),
	L3outName:                   pulumi.String("string"),
	L3outSchemaId:               pulumi.String("string"),
	AnpName:                     pulumi.String("string"),
	Description:                 pulumi.String("string"),
	ExternalEpgType:             pulumi.String("string"),
	SelectorIp:                  pulumi.String("string"),
	SelectorName:                pulumi.String("string"),
	SiteIds: pulumi.StringArray{
		pulumi.String("string"),
	},
	AnpTemplateName: pulumi.String("string"),
	AnpSchemaId:     pulumi.String("string"),
	VrfSchemaId:     pulumi.String("string"),
	VrfTemplateName: pulumi.String("string"),
})
Copy
var schemaTemplateExternalEpgResource = new SchemaTemplateExternalEpg("schemaTemplateExternalEpgResource", SchemaTemplateExternalEpgArgs.builder()
    .externalEpgName("string")
    .vrfName("string")
    .templateName("string")
    .schemaId("string")
    .displayName("string")
    .l3outTemplateName("string")
    .schemaTemplateExternalEpgId("string")
    .includeInPreferredGroup(false)
    .l3outName("string")
    .l3outSchemaId("string")
    .anpName("string")
    .description("string")
    .externalEpgType("string")
    .selectorIp("string")
    .selectorName("string")
    .siteIds("string")
    .anpTemplateName("string")
    .anpSchemaId("string")
    .vrfSchemaId("string")
    .vrfTemplateName("string")
    .build());
Copy
schema_template_external_epg_resource = mso.SchemaTemplateExternalEpg("schemaTemplateExternalEpgResource",
    external_epg_name="string",
    vrf_name="string",
    template_name="string",
    schema_id="string",
    display_name="string",
    l3out_template_name="string",
    schema_template_external_epg_id="string",
    include_in_preferred_group=False,
    l3out_name="string",
    l3out_schema_id="string",
    anp_name="string",
    description="string",
    external_epg_type="string",
    selector_ip="string",
    selector_name="string",
    site_ids=["string"],
    anp_template_name="string",
    anp_schema_id="string",
    vrf_schema_id="string",
    vrf_template_name="string")
Copy
const schemaTemplateExternalEpgResource = new mso.SchemaTemplateExternalEpg("schemaTemplateExternalEpgResource", {
    externalEpgName: "string",
    vrfName: "string",
    templateName: "string",
    schemaId: "string",
    displayName: "string",
    l3outTemplateName: "string",
    schemaTemplateExternalEpgId: "string",
    includeInPreferredGroup: false,
    l3outName: "string",
    l3outSchemaId: "string",
    anpName: "string",
    description: "string",
    externalEpgType: "string",
    selectorIp: "string",
    selectorName: "string",
    siteIds: ["string"],
    anpTemplateName: "string",
    anpSchemaId: "string",
    vrfSchemaId: "string",
    vrfTemplateName: "string",
});
Copy
type: mso:SchemaTemplateExternalEpg
properties:
    anpName: string
    anpSchemaId: string
    anpTemplateName: string
    description: string
    displayName: string
    externalEpgName: string
    externalEpgType: string
    includeInPreferredGroup: false
    l3outName: string
    l3outSchemaId: string
    l3outTemplateName: string
    schemaId: string
    schemaTemplateExternalEpgId: string
    selectorIp: string
    selectorName: string
    siteIds:
        - string
    templateName: string
    vrfName: string
    vrfSchemaId: string
    vrfTemplateName: string
Copy

SchemaTemplateExternalEpg Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The SchemaTemplateExternalEpg resource accepts the following input properties:

DisplayName This property is required. string
ExternalEpgName This property is required. string
SchemaId This property is required. string
TemplateName This property is required. string
VrfName This property is required. string
AnpName string
AnpSchemaId string
AnpTemplateName string
Description string
ExternalEpgType string
IncludeInPreferredGroup bool
L3outName string
L3outSchemaId string
L3outTemplateName string
SchemaTemplateExternalEpgId string
SelectorIp string
SelectorName string
SiteIds List<string>
VrfSchemaId string
VrfTemplateName string
DisplayName This property is required. string
ExternalEpgName This property is required. string
SchemaId This property is required. string
TemplateName This property is required. string
VrfName This property is required. string
AnpName string
AnpSchemaId string
AnpTemplateName string
Description string
ExternalEpgType string
IncludeInPreferredGroup bool
L3outName string
L3outSchemaId string
L3outTemplateName string
SchemaTemplateExternalEpgId string
SelectorIp string
SelectorName string
SiteIds []string
VrfSchemaId string
VrfTemplateName string
displayName This property is required. String
externalEpgName This property is required. String
schemaId This property is required. String
templateName This property is required. String
vrfName This property is required. String
anpName String
anpSchemaId String
anpTemplateName String
description String
externalEpgType String
includeInPreferredGroup Boolean
l3outName String
l3outSchemaId String
l3outTemplateName String
schemaTemplateExternalEpgId String
selectorIp String
selectorName String
siteIds List<String>
vrfSchemaId String
vrfTemplateName String
displayName This property is required. string
externalEpgName This property is required. string
schemaId This property is required. string
templateName This property is required. string
vrfName This property is required. string
anpName string
anpSchemaId string
anpTemplateName string
description string
externalEpgType string
includeInPreferredGroup boolean
l3outName string
l3outSchemaId string
l3outTemplateName string
schemaTemplateExternalEpgId string
selectorIp string
selectorName string
siteIds string[]
vrfSchemaId string
vrfTemplateName string
display_name This property is required. str
external_epg_name This property is required. str
schema_id This property is required. str
template_name This property is required. str
vrf_name This property is required. str
anp_name str
anp_schema_id str
anp_template_name str
description str
external_epg_type str
include_in_preferred_group bool
l3out_name str
l3out_schema_id str
l3out_template_name str
schema_template_external_epg_id str
selector_ip str
selector_name str
site_ids Sequence[str]
vrf_schema_id str
vrf_template_name str
displayName This property is required. String
externalEpgName This property is required. String
schemaId This property is required. String
templateName This property is required. String
vrfName This property is required. String
anpName String
anpSchemaId String
anpTemplateName String
description String
externalEpgType String
includeInPreferredGroup Boolean
l3outName String
l3outSchemaId String
l3outTemplateName String
schemaTemplateExternalEpgId String
selectorIp String
selectorName String
siteIds List<String>
vrfSchemaId String
vrfTemplateName String

Outputs

All input properties are implicitly available as output properties. Additionally, the SchemaTemplateExternalEpg resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing SchemaTemplateExternalEpg Resource

Get an existing SchemaTemplateExternalEpg resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: SchemaTemplateExternalEpgState, opts?: CustomResourceOptions): SchemaTemplateExternalEpg
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        anp_name: Optional[str] = None,
        anp_schema_id: Optional[str] = None,
        anp_template_name: Optional[str] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        external_epg_name: Optional[str] = None,
        external_epg_type: Optional[str] = None,
        include_in_preferred_group: Optional[bool] = None,
        l3out_name: Optional[str] = None,
        l3out_schema_id: Optional[str] = None,
        l3out_template_name: Optional[str] = None,
        schema_id: Optional[str] = None,
        schema_template_external_epg_id: Optional[str] = None,
        selector_ip: Optional[str] = None,
        selector_name: Optional[str] = None,
        site_ids: Optional[Sequence[str]] = None,
        template_name: Optional[str] = None,
        vrf_name: Optional[str] = None,
        vrf_schema_id: Optional[str] = None,
        vrf_template_name: Optional[str] = None) -> SchemaTemplateExternalEpg
func GetSchemaTemplateExternalEpg(ctx *Context, name string, id IDInput, state *SchemaTemplateExternalEpgState, opts ...ResourceOption) (*SchemaTemplateExternalEpg, error)
public static SchemaTemplateExternalEpg Get(string name, Input<string> id, SchemaTemplateExternalEpgState? state, CustomResourceOptions? opts = null)
public static SchemaTemplateExternalEpg get(String name, Output<String> id, SchemaTemplateExternalEpgState state, CustomResourceOptions options)
resources:  _:    type: mso:SchemaTemplateExternalEpg    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:

Package Details

Repository
mso ciscodevnet/terraform-provider-mso
License
Notes
This Pulumi package is based on the mso Terraform Provider.