mso.SchemaTemplateAnpEpgSubnet
Explore with Pulumi AI
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
- NoDefault boolGateway 
- Primary bool
- Querier bool
- SchemaTemplate stringAnp Epg Subnet Id 
- Scope string
- bool
- AnpName string
- EpgName string
- Ip string
- SchemaId string
- Template string
- Description string
- NoDefault boolGateway 
- Primary bool
- Querier bool
- SchemaTemplate stringAnp Epg Subnet Id 
- Scope string
- bool
- anpName String
- epgName String
- ip String
- schemaId String
- template String
- description String
- noDefault BooleanGateway 
- primary Boolean
- querier Boolean
- schemaTemplate StringAnp Epg Subnet Id 
- scope String
- Boolean
- anpName string
- epgName string
- ip string
- schemaId string
- template string
- description string
- noDefault booleanGateway 
- primary boolean
- querier boolean
- schemaTemplate stringAnp Epg Subnet Id 
- scope string
- boolean
- anp_name str
- epg_name str
- ip str
- schema_id str
- template str
- description str
- no_default_ boolgateway 
- primary bool
- querier bool
- schema_template_ stranp_ epg_ subnet_ id 
- scope str
- bool
- anpName String
- epgName String
- ip String
- schemaId String
- template String
- description String
- noDefault BooleanGateway 
- primary Boolean
- querier Boolean
- schemaTemplate StringAnp Epg Subnet Id 
- scope String
- 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) -> SchemaTemplateAnpEpgSubnetfunc 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.
- AnpName string
- Description string
- EpgName string
- Ip string
- NoDefault boolGateway 
- Primary bool
- Querier bool
- SchemaId string
- SchemaTemplate stringAnp Epg Subnet Id 
- Scope string
- bool
- Template string
- AnpName string
- Description string
- EpgName string
- Ip string
- NoDefault boolGateway 
- Primary bool
- Querier bool
- SchemaId string
- SchemaTemplate stringAnp Epg Subnet Id 
- Scope string
- bool
- Template string
- anpName String
- description String
- epgName String
- ip String
- noDefault BooleanGateway 
- primary Boolean
- querier Boolean
- schemaId String
- schemaTemplate StringAnp Epg Subnet Id 
- scope String
- Boolean
- template String
- anpName string
- description string
- epgName string
- ip string
- noDefault booleanGateway 
- primary boolean
- querier boolean
- schemaId string
- schemaTemplate stringAnp Epg Subnet Id 
- scope string
- boolean
- template string
- anp_name str
- description str
- epg_name str
- ip str
- no_default_ boolgateway 
- primary bool
- querier bool
- schema_id str
- schema_template_ stranp_ epg_ subnet_ id 
- scope str
- bool
- template str
- anpName String
- description String
- epgName String
- ip String
- noDefault BooleanGateway 
- primary Boolean
- querier Boolean
- schemaId String
- schemaTemplate StringAnp Epg Subnet Id 
- scope String
- Boolean
- template String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the msoTerraform Provider.