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

mso.SchemaTemplateExternalEpgSubnet

Explore with Pulumi AI

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

    Create SchemaTemplateExternalEpgSubnet Resource

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

    Constructor syntax

    new SchemaTemplateExternalEpgSubnet(name: string, args: SchemaTemplateExternalEpgSubnetArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaTemplateExternalEpgSubnet(resource_name: str,
                                        args: SchemaTemplateExternalEpgSubnetArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaTemplateExternalEpgSubnet(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        external_epg_name: Optional[str] = None,
                                        ip: Optional[str] = None,
                                        schema_id: Optional[str] = None,
                                        template_name: Optional[str] = None,
                                        aggregates: Optional[Sequence[str]] = None,
                                        name: Optional[str] = None,
                                        schema_template_external_epg_subnet_id: Optional[str] = None,
                                        scopes: Optional[Sequence[str]] = None)
    func NewSchemaTemplateExternalEpgSubnet(ctx *Context, name string, args SchemaTemplateExternalEpgSubnetArgs, opts ...ResourceOption) (*SchemaTemplateExternalEpgSubnet, error)
    public SchemaTemplateExternalEpgSubnet(string name, SchemaTemplateExternalEpgSubnetArgs args, CustomResourceOptions? opts = null)
    public SchemaTemplateExternalEpgSubnet(String name, SchemaTemplateExternalEpgSubnetArgs args)
    public SchemaTemplateExternalEpgSubnet(String name, SchemaTemplateExternalEpgSubnetArgs args, CustomResourceOptions options)
    
    type: mso:SchemaTemplateExternalEpgSubnet
    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 SchemaTemplateExternalEpgSubnetArgs
    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 SchemaTemplateExternalEpgSubnetArgs
    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 SchemaTemplateExternalEpgSubnetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaTemplateExternalEpgSubnetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaTemplateExternalEpgSubnetArgs
    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 schemaTemplateExternalEpgSubnetResource = new Mso.SchemaTemplateExternalEpgSubnet("schemaTemplateExternalEpgSubnetResource", new()
    {
        ExternalEpgName = "string",
        Ip = "string",
        SchemaId = "string",
        TemplateName = "string",
        Aggregates = new[]
        {
            "string",
        },
        Name = "string",
        SchemaTemplateExternalEpgSubnetId = "string",
        Scopes = new[]
        {
            "string",
        },
    });
    
    example, err := mso.NewSchemaTemplateExternalEpgSubnet(ctx, "schemaTemplateExternalEpgSubnetResource", &mso.SchemaTemplateExternalEpgSubnetArgs{
    	ExternalEpgName: pulumi.String("string"),
    	Ip:              pulumi.String("string"),
    	SchemaId:        pulumi.String("string"),
    	TemplateName:    pulumi.String("string"),
    	Aggregates: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:                              pulumi.String("string"),
    	SchemaTemplateExternalEpgSubnetId: pulumi.String("string"),
    	Scopes: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var schemaTemplateExternalEpgSubnetResource = new SchemaTemplateExternalEpgSubnet("schemaTemplateExternalEpgSubnetResource", SchemaTemplateExternalEpgSubnetArgs.builder()
        .externalEpgName("string")
        .ip("string")
        .schemaId("string")
        .templateName("string")
        .aggregates("string")
        .name("string")
        .schemaTemplateExternalEpgSubnetId("string")
        .scopes("string")
        .build());
    
    schema_template_external_epg_subnet_resource = mso.SchemaTemplateExternalEpgSubnet("schemaTemplateExternalEpgSubnetResource",
        external_epg_name="string",
        ip="string",
        schema_id="string",
        template_name="string",
        aggregates=["string"],
        name="string",
        schema_template_external_epg_subnet_id="string",
        scopes=["string"])
    
    const schemaTemplateExternalEpgSubnetResource = new mso.SchemaTemplateExternalEpgSubnet("schemaTemplateExternalEpgSubnetResource", {
        externalEpgName: "string",
        ip: "string",
        schemaId: "string",
        templateName: "string",
        aggregates: ["string"],
        name: "string",
        schemaTemplateExternalEpgSubnetId: "string",
        scopes: ["string"],
    });
    
    type: mso:SchemaTemplateExternalEpgSubnet
    properties:
        aggregates:
            - string
        externalEpgName: string
        ip: string
        name: string
        schemaId: string
        schemaTemplateExternalEpgSubnetId: string
        scopes:
            - string
        templateName: string
    

    SchemaTemplateExternalEpgSubnet 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 SchemaTemplateExternalEpgSubnet resource accepts the following input properties:

    ExternalEpgName string
    Ip string
    SchemaId string
    TemplateName string
    Aggregates List<string>
    Name string
    SchemaTemplateExternalEpgSubnetId string
    Scopes List<string>
    ExternalEpgName string
    Ip string
    SchemaId string
    TemplateName string
    Aggregates []string
    Name string
    SchemaTemplateExternalEpgSubnetId string
    Scopes []string
    externalEpgName String
    ip String
    schemaId String
    templateName String
    aggregates List<String>
    name String
    schemaTemplateExternalEpgSubnetId String
    scopes List<String>
    externalEpgName string
    ip string
    schemaId string
    templateName string
    aggregates string[]
    name string
    schemaTemplateExternalEpgSubnetId string
    scopes string[]
    externalEpgName String
    ip String
    schemaId String
    templateName String
    aggregates List<String>
    name String
    schemaTemplateExternalEpgSubnetId String
    scopes List<String>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SchemaTemplateExternalEpgSubnet 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 SchemaTemplateExternalEpgSubnet Resource

    Get an existing SchemaTemplateExternalEpgSubnet 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?: SchemaTemplateExternalEpgSubnetState, opts?: CustomResourceOptions): SchemaTemplateExternalEpgSubnet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aggregates: Optional[Sequence[str]] = None,
            external_epg_name: Optional[str] = None,
            ip: Optional[str] = None,
            name: Optional[str] = None,
            schema_id: Optional[str] = None,
            schema_template_external_epg_subnet_id: Optional[str] = None,
            scopes: Optional[Sequence[str]] = None,
            template_name: Optional[str] = None) -> SchemaTemplateExternalEpgSubnet
    func GetSchemaTemplateExternalEpgSubnet(ctx *Context, name string, id IDInput, state *SchemaTemplateExternalEpgSubnetState, opts ...ResourceOption) (*SchemaTemplateExternalEpgSubnet, error)
    public static SchemaTemplateExternalEpgSubnet Get(string name, Input<string> id, SchemaTemplateExternalEpgSubnetState? state, CustomResourceOptions? opts = null)
    public static SchemaTemplateExternalEpgSubnet get(String name, Output<String> id, SchemaTemplateExternalEpgSubnetState state, CustomResourceOptions options)
    resources:  _:    type: mso:SchemaTemplateExternalEpgSubnet    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:
    Aggregates List<string>
    ExternalEpgName string
    Ip string
    Name string
    SchemaId string
    SchemaTemplateExternalEpgSubnetId string
    Scopes List<string>
    TemplateName string
    Aggregates []string
    ExternalEpgName string
    Ip string
    Name string
    SchemaId string
    SchemaTemplateExternalEpgSubnetId string
    Scopes []string
    TemplateName string
    aggregates List<String>
    externalEpgName String
    ip String
    name String
    schemaId String
    schemaTemplateExternalEpgSubnetId String
    scopes List<String>
    templateName String
    aggregates string[]
    externalEpgName string
    ip string
    name string
    schemaId string
    schemaTemplateExternalEpgSubnetId string
    scopes string[]
    templateName string
    aggregates List<String>
    externalEpgName String
    ip String
    name String
    schemaId String
    schemaTemplateExternalEpgSubnetId String
    scopes List<String>
    templateName String

    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