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

mso logo
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

    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 string
    The unique name of the resource.
    args SchemaTemplateExternalEpgArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args SchemaTemplateExternalEpgArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaTemplateExternalEpgArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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",
    });
    
    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"),
    })
    
    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());
    
    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")
    
    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",
    });
    
    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
    

    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:

    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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.
    mso logo
    mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet