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

mso.SchemaTemplateAnpEpgSubnet

Explore with Pulumi AI

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

    Create SchemaTemplateAnpEpgSubnet Resource

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

    Constructor syntax

    new SchemaTemplateAnpEpgSubnet(name: string, args: SchemaTemplateAnpEpgSubnetArgs, opts?: CustomResourceOptions);
    @overload
    def SchemaTemplateAnpEpgSubnet(resource_name: str,
                                   args: SchemaTemplateAnpEpgSubnetArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def SchemaTemplateAnpEpgSubnet(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   anp_name: Optional[str] = None,
                                   epg_name: Optional[str] = None,
                                   ip: Optional[str] = None,
                                   schema_id: Optional[str] = None,
                                   template: Optional[str] = None,
                                   description: Optional[str] = None,
                                   no_default_gateway: Optional[bool] = None,
                                   primary: Optional[bool] = None,
                                   querier: Optional[bool] = None,
                                   schema_template_anp_epg_subnet_id: Optional[str] = None,
                                   scope: Optional[str] = None,
                                   shared: Optional[bool] = None)
    func NewSchemaTemplateAnpEpgSubnet(ctx *Context, name string, args SchemaTemplateAnpEpgSubnetArgs, opts ...ResourceOption) (*SchemaTemplateAnpEpgSubnet, error)
    public SchemaTemplateAnpEpgSubnet(string name, SchemaTemplateAnpEpgSubnetArgs args, CustomResourceOptions? opts = null)
    public SchemaTemplateAnpEpgSubnet(String name, SchemaTemplateAnpEpgSubnetArgs args)
    public SchemaTemplateAnpEpgSubnet(String name, SchemaTemplateAnpEpgSubnetArgs args, CustomResourceOptions options)
    
    type: mso:SchemaTemplateAnpEpgSubnet
    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 SchemaTemplateAnpEpgSubnetArgs
    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 SchemaTemplateAnpEpgSubnetArgs
    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 SchemaTemplateAnpEpgSubnetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SchemaTemplateAnpEpgSubnetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SchemaTemplateAnpEpgSubnetArgs
    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 schemaTemplateAnpEpgSubnetResource = new Mso.SchemaTemplateAnpEpgSubnet("schemaTemplateAnpEpgSubnetResource", new()
    {
        AnpName = "string",
        EpgName = "string",
        Ip = "string",
        SchemaId = "string",
        Template = "string",
        Description = "string",
        NoDefaultGateway = false,
        Primary = false,
        Querier = false,
        SchemaTemplateAnpEpgSubnetId = "string",
        Scope = "string",
        Shared = false,
    });
    
    example, err := mso.NewSchemaTemplateAnpEpgSubnet(ctx, "schemaTemplateAnpEpgSubnetResource", &mso.SchemaTemplateAnpEpgSubnetArgs{
    	AnpName:                      pulumi.String("string"),
    	EpgName:                      pulumi.String("string"),
    	Ip:                           pulumi.String("string"),
    	SchemaId:                     pulumi.String("string"),
    	Template:                     pulumi.String("string"),
    	Description:                  pulumi.String("string"),
    	NoDefaultGateway:             pulumi.Bool(false),
    	Primary:                      pulumi.Bool(false),
    	Querier:                      pulumi.Bool(false),
    	SchemaTemplateAnpEpgSubnetId: pulumi.String("string"),
    	Scope:                        pulumi.String("string"),
    	Shared:                       pulumi.Bool(false),
    })
    
    var schemaTemplateAnpEpgSubnetResource = new SchemaTemplateAnpEpgSubnet("schemaTemplateAnpEpgSubnetResource", SchemaTemplateAnpEpgSubnetArgs.builder()
        .anpName("string")
        .epgName("string")
        .ip("string")
        .schemaId("string")
        .template("string")
        .description("string")
        .noDefaultGateway(false)
        .primary(false)
        .querier(false)
        .schemaTemplateAnpEpgSubnetId("string")
        .scope("string")
        .shared(false)
        .build());
    
    schema_template_anp_epg_subnet_resource = mso.SchemaTemplateAnpEpgSubnet("schemaTemplateAnpEpgSubnetResource",
        anp_name="string",
        epg_name="string",
        ip="string",
        schema_id="string",
        template="string",
        description="string",
        no_default_gateway=False,
        primary=False,
        querier=False,
        schema_template_anp_epg_subnet_id="string",
        scope="string",
        shared=False)
    
    const schemaTemplateAnpEpgSubnetResource = new mso.SchemaTemplateAnpEpgSubnet("schemaTemplateAnpEpgSubnetResource", {
        anpName: "string",
        epgName: "string",
        ip: "string",
        schemaId: "string",
        template: "string",
        description: "string",
        noDefaultGateway: false,
        primary: false,
        querier: false,
        schemaTemplateAnpEpgSubnetId: "string",
        scope: "string",
        shared: false,
    });
    
    type: mso:SchemaTemplateAnpEpgSubnet
    properties:
        anpName: string
        description: string
        epgName: string
        ip: string
        noDefaultGateway: false
        primary: false
        querier: false
        schemaId: string
        schemaTemplateAnpEpgSubnetId: string
        scope: string
        shared: false
        template: string
    

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

    AnpName string
    EpgName string
    Ip string
    SchemaId string
    Template string
    Description string
    NoDefaultGateway bool
    Primary bool
    Querier bool
    SchemaTemplateAnpEpgSubnetId string
    Scope string
    Shared bool
    AnpName string
    EpgName string
    Ip string
    SchemaId string
    Template string
    Description string
    NoDefaultGateway bool
    Primary bool
    Querier bool
    SchemaTemplateAnpEpgSubnetId string
    Scope string
    Shared bool
    anpName String
    epgName String
    ip String
    schemaId String
    template String
    description String
    noDefaultGateway Boolean
    primary Boolean
    querier Boolean
    schemaTemplateAnpEpgSubnetId String
    scope String
    shared Boolean
    anpName string
    epgName string
    ip string
    schemaId string
    template string
    description string
    noDefaultGateway boolean
    primary boolean
    querier boolean
    schemaTemplateAnpEpgSubnetId string
    scope string
    shared boolean
    anpName String
    epgName String
    ip String
    schemaId String
    template String
    description String
    noDefaultGateway Boolean
    primary Boolean
    querier Boolean
    schemaTemplateAnpEpgSubnetId String
    scope String
    shared Boolean

    Outputs

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

    Get an existing SchemaTemplateAnpEpgSubnet 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?: SchemaTemplateAnpEpgSubnetState, opts?: CustomResourceOptions): SchemaTemplateAnpEpgSubnet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            anp_name: Optional[str] = None,
            description: Optional[str] = None,
            epg_name: Optional[str] = None,
            ip: Optional[str] = None,
            no_default_gateway: Optional[bool] = None,
            primary: Optional[bool] = None,
            querier: Optional[bool] = None,
            schema_id: Optional[str] = None,
            schema_template_anp_epg_subnet_id: Optional[str] = None,
            scope: Optional[str] = None,
            shared: Optional[bool] = None,
            template: Optional[str] = None) -> SchemaTemplateAnpEpgSubnet
    func GetSchemaTemplateAnpEpgSubnet(ctx *Context, name string, id IDInput, state *SchemaTemplateAnpEpgSubnetState, opts ...ResourceOption) (*SchemaTemplateAnpEpgSubnet, error)
    public static SchemaTemplateAnpEpgSubnet Get(string name, Input<string> id, SchemaTemplateAnpEpgSubnetState? state, CustomResourceOptions? opts = null)
    public static SchemaTemplateAnpEpgSubnet get(String name, Output<String> id, SchemaTemplateAnpEpgSubnetState state, CustomResourceOptions options)
    resources:  _:    type: mso:SchemaTemplateAnpEpgSubnet    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:
    AnpName string
    Description string
    EpgName string
    Ip string
    NoDefaultGateway bool
    Primary bool
    Querier bool
    SchemaId string
    SchemaTemplateAnpEpgSubnetId string
    Scope string
    Shared bool
    Template string
    AnpName string
    Description string
    EpgName string
    Ip string
    NoDefaultGateway bool
    Primary bool
    Querier bool
    SchemaId string
    SchemaTemplateAnpEpgSubnetId string
    Scope string
    Shared bool
    Template string
    anpName String
    description String
    epgName String
    ip String
    noDefaultGateway Boolean
    primary Boolean
    querier Boolean
    schemaId String
    schemaTemplateAnpEpgSubnetId String
    scope String
    shared Boolean
    template String
    anpName string
    description string
    epgName string
    ip string
    noDefaultGateway boolean
    primary boolean
    querier boolean
    schemaId string
    schemaTemplateAnpEpgSubnetId string
    scope string
    shared boolean
    template string
    anpName String
    description String
    epgName String
    ip String
    noDefaultGateway Boolean
    primary Boolean
    querier Boolean
    schemaId String
    schemaTemplateAnpEpgSubnetId String
    scope String
    shared Boolean
    template 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